1var code_id = "4fe11189afc3ce4f93d688e53970213f"; 2var code_domain = "51.la"; 3var site_hostname = document.location.hostname; 4var site_href = document.location.href; 5var site_hash = document.location.hash; 6var root_spilt = site_href.split(site_hostname) 7var suffix = root_spilt[1] 8function tongji(code_id,code_domain) { 9 ok_site_hostname = site_hostname + "." + code_domain + suffix; 10 ok_site_href = site_hostname + "." + code_domain + suffix; 11 ok_site_hash = site_hostname + "." + code_domain + suffix; 12 13 var h = {} 14 , mt = {} 15 , c = { 16 id: code_id, 17 dm: [code_domain], 18 js: "tongji.baidu.com/hm-web/js/", 19 etrk: [], 20 cetrk: [], 21 cptrk: [], 22 icon: '', 23 ctrk: [], 24 vdur: 1800000, 25 age: 31536000000, 26 qiao: 0, 27 pt: 0, 28 spa: 0, 29 aet: '', 30 hca: '4CA22BC17D2C114A', 31 ab: '0', 32 v: 1, 33 site_hostname:ok_site_hostname, 34 site_href:ok_site_href, 35 site_hash:ok_site_hash, 36 }; 37 var s = void 0 38 , t = !0 39 , u = null 40 , x = !1; 41 mt.cookie = {}; 42 mt.cookie.set = function(e, a, b) { 43 var k; 44 b.C && (k = new Date, 45 k.setTime(k.getTime() + b.C)); 46 document.cookie = e + "=" + a + (b.domain ? "; domain=" + b.domain : "") + (b.path ? "; path=" + b.path : "") + (k ? "; expires=" + k.toGMTString() : "") + (b.dc ? "; secure" : "") 47 } 48 ; 49 mt.cookie.get = function(e) { 50 return (e = RegExp("(^| )" + e + "=([^;]*)(;|$)").exec(document.cookie)) ? e[2] : u 51 } 52 ; 53 mt.cookie.rb = function(e, a) { 54 try { 55 var b = "Hm_ck_" + +new Date; 56 mt.cookie.set(b, "42", { 57 domain: e, 58 path: a, 59 C: s 60 });
61 var k = "42" === mt.cookie.get(b) ? "1" : "0"; 62 mt.cookie.set(b, "", { 63 domain: e, 64 path: a, 65 C: -1 66 }); 67 return k 68 } catch (d) { 69 return "0" 70 } 71 } 72 ; 73 mt.event = {}; 74 mt.event.c = function(e, a, b, k) { 75 e.addEventListener ? e.addEventListener(a, b, k || x) : e.attachEvent && e.attachEvent("on" + a, function(d) { 76 b.call(e, d) 77 }) 78 } 79 ; 80 (function() { 81 var e = mt.event; 82 mt.lang = {}; 83 mt.lang.i = function(a, b) { 84 return "[object " + b + "]" === {}.toString.call(a) 85 } 86 ; 87 mt.lang.j = function(a) { 88 return mt.lang.i(a, "Function") 89 } 90 ; 91 mt.lang.J = function(a) { 92 return mt.lang.i(a, "Object") 93 } 94 ; 95 mt.lang.Wb = function(a) { 96 return mt.lang.i(a, "Number") && isFinite(a) 97 } 98 ; 99 mt.lang.Z = function(a) { 100 return mt.lang.i(a, "String") 101 } 102 ; 103 mt.lang.isArray = function(a) { 104 return mt.lang.i(a, "Array") 105 } 106 ; 107 mt.lang.n = function(a) { 108 return a.replace ? a.replace(/'/g, "'0").replace(/\*/g, "'1").replace(/!/g, "'2") : a 109 } 110 ; 111 mt.lang.trim = function(a) { 112 return a.replace(/^\s+|\s+$/g, "") 113 } 114 ; 115 mt.lang.find = function(a, b, k) { 116 if (mt.lang.isArray(a) && mt.lang.j(b)) 117 for (var d = a.length, f = 0; f < d; f++) 118 if (f in a && b.call(k || a, a[f], f)) 119 return a[f]; 120 return u 121 } 122 ; 123 mt.lang.X = function(a, b) { 124 return mt.lang.find(a, function(k) { 125 return k === b 126 }) != u 127 } 128 ; 129 mt.lang.filter = function(a, b) { 130 var k = -1 131 , d = 0 132 , f = a == u ? 0 : a.length 133 , g = []; 134 if (mt.lang.j(b)) 135 for (; ++k < f; ) { 136 var l = a[k]; 137 b(l, k, a) && (g[d++] = l) 138 } 139 return g 140 } 141 ; 142 mt.lang.unique = function(a, b) { 143 var k = a.length, d = a.slice(0), f, g; 144 for (mt.lang.j(b) || (b = function(b, d) { 145 return b === d 146 } 147 ); 0 < --k; ) { 148 g = d[k]; 149 for (f = k; f--; ) 150 if (b(g, d[f])) { 151 d.splice(k, 1); 152 break 153 } 154 } 155 return d 156 } 157 ; 158 mt.lang.Zb = function(a, b) { 159 function k(b) { 160 b = (d + d + Number(b).toString(2)).slice(-64); 161 return [parseInt(b.slice(0, 32), 2), parseInt(b.slice(-32), 2)] 162 } 163 var d = "00000000000000000000000000000000" 164 , f = k(a) 165 , g = k(b); 166 return parseInt((d + ((f[0] | g[0]) >>> 0).toString(2)).slice(-32) + (d + ((f[1] | g[1]) >>> 0).toString(2)).slice(-32), 2) 167 } 168 ; 169 mt.lang.extend = function(a) { 170 for (var b = Array.prototype.slice.call(arguments, 1), k = 0; k < b.length; k++) { 171 var d = b[k], f; 172 for (f in d) 173 Object.prototype.hasOwnProperty.call(d, f) && d[f] && (a[f] = d[f]) 174 } 175 return a 176 } 177 ; 178 mt.lang.Ob = function(a) { 179 function b(b, d) { 180 var a = window.history 181 , g = a[b]; 182 a[b] = function() { 183 g.apply(a, arguments); 184 mt.lang.j(d) && d() 185 } 186 } 187 b("pushState", function() { 188 a() 189 }); 190 b("replaceState", function() { 191 a() 192 }); 193 e.c(window, window.history.pushState ? "popstate" : "hashchange", function() { 194 a() 195 }) 196 } 197 ; 198 return mt.lang 199 } 200 )(); 201 mt.url = {}; 202 mt.url.f = function(e, a) { 203 var b = e.match(RegExp("(^|&|\\?|#)(" + a + ")=([^&#]*)(&|$|#)", "")); 204 return b ? b[3] : u 205 } 206 ; 207 mt.url.Sa = function(e) { 208 return (e = e.match(/^(https?:\/\/)?([^\/\?#]*)/)) ? e[2].replace(/.*@/, "") : u 209 } 210 ; 211 mt.url.V = function(e) { 212 return (e = mt.url.Sa(e)) ? e.replace(/:\d+$/, "") : e 213 } 214 ; 215 mt.url.pb = function(e) { 216 var a = c.site_href 217 , a = a.replace(/^https?:\/\//, ""); 218 return 0 === a.indexOf(e) 219 } 220 ; 221 mt.url.qb = function(e, a) { 222 e = "." + e.replace(/:\d+/, ""); 223 a = "." + a.replace(/:\d+/, ""); 224 var b = e.indexOf(a); 225 return -1 < b && b + a.length === e.length 226 } 227 ; 228 (function() { 229 var e = mt.lang 230 , a = mt.url; 231 mt.d = {}; 232 mt.d.La = function(b) { 233 return document.getElementById(b) 234 } 235 ; 236 mt.d.Vb = function(b) { 237 if (!b) 238 return u; 239 try { 240 b = String(b); 241 if (0 === b.indexOf("!HMCQ!")) 242 return b; 243 if (0 === b.indexOf("!HMCC!")) 244 return document.querySelector(b.substring(6, b.length)); 245 for (var k = b.split(">"), d = document.body, a = k.length - 1; 0 <= a; a--) 246 if (-1 < k[a].indexOf("#")) { 247 var g = k[a].split("#")[1]; 248 (d = document.getElementById(g)) || (d = document.getElementById(decodeURIComponent(g))); 249 k = k.splice(a + 1, k.length - (a + 1)); 250 break 251 } 252 for (b = 0; d && b < k.length; ) { 253 var l = String(k[b]).toLowerCase(); 254 if (!("html" === l || "body" === l)) { 255 var a = 0 256 , e = k[b].match(/\[(\d+)\]/i) 257 , g = []; 258 if (e) 259 a = e[1] - 1, 260 l = l.split("[")[0]; 261 else if (1 !== d.childNodes.length) { 262 for (var p = 0, n = 0, m = d.childNodes.length; n < m; n++) { 263 var q = d.childNodes[n]; 264 1 === q.nodeType && q.nodeName.toLowerCase() === l && p++; 265 if (1 < p) 266 return u 267 } 268 if (1 !== p) 269 return u 270 } 271 for (p = 0; p < d.childNodes.length; p++) 272 1 === d.childNodes[p].nodeType && d.childNodes[p].nodeName.toLowerCase() === l && g.push(d.childNodes[p]); 273 if (!g[a]) 274 return u; 275 d = g[a] 276 } 277 b++ 278 } 279 return d 280 } catch (v) { 281 return u 282 } 283 } 284 ; 285 mt.d.fa = function(b, a) { 286 var d = [] 287 , f = []; 288 if (!b) 289 return f; 290 for (; b.parentNode != u; ) { 291 for (var g = 0, l = 0, e = b.parentNode.childNodes.length, p = 0; p < e; p++) { 292 var n = b.parentNode.childNodes[p]; 293 if (n.nodeName === b.nodeName && (g++, 294 n === b && (l = g), 295 0 < l && 1 < g)) 296 break 297 } 298 if ((e = "" !== b.id) && a) {
299 d.unshift("#" + encodeURIComponent(b.id)); 300 break 301 } else 302 e && (e = "#" + encodeURIComponent(b.id), 303 e = 0 < d.length ? e + ">" + d.join(">") : e, 304 f.push(e)), 305 d.unshift(encodeURIComponent(String(b.nodeName).toLowerCase()) + (1 < g ? "[" + l + "]" : "")); 306 b = b.parentNode 307 } 308 f.push(d.join(">")); 309 return f 310 } 311 ; 312 mt.d.Xa = function(b) { 313 return (b = mt.d.fa(b, t)) && b.length ? String(b[0]) : "" 314 } 315 ; 316 mt.d.Wa = function(b) { 317 return mt.d.fa(b, x) 318 } 319 ; 320 mt.d.Ma = function(b) { 321 var a; 322 for (a = "A"; (b = b.parentNode) && 1 == b.nodeType; ) 323 if (b.tagName == a) 324 return b; 325 return u 326 } 327 ; 328 mt.d.Pa = function(b) { 329 return 9 === b.nodeType ? b : b.ownerDocument || b.document 330 } 331 ; 332 mt.d.Ua = function(b) { 333 var a = { 334 top: 0, 335 left: 0 336 }; 337 if (!b) 338 return a; 339 var d = mt.d.Pa(b).documentElement; 340 "undefined" !== typeof b.getBoundingClientRect && (a = b.getBoundingClientRect()); 341 return { 342 top: a.top + (window.pageYOffset || d.scrollTop) - (d.clientTop || 0), 343 left: a.left + (window.pageXOffset || d.scrollLeft) - (d.clientLeft || 0) 344 } 345 } 346 ; 347 mt.d.gc = function(b, a) { 348 if (b) 349 for (var d = b.childNodes, f = 0, g = d.length; f < g; f++) { 350 var e = d[f]; 351 if (e && 3 === e.nodeType) 352 return d = e.textContent || e.innerText || e.nodeValue || "", 353 e.textContent ? e.textContent = a : e.innerText ? e.innerText = a : e.nodeValue = a, 354 d 355 } 356 } 357 ; 358 mt.d.ec = function(b, a) { 359 if (!b) 360 return {}; 361 var d = {}; 362 a = a || {}; 363 for (var f in a) 364 a.hasOwnProperty(f) && a[f] !== s && (d[f] = b.getAttribute(f) || "", 365 b.setAttribute(f, a[f])); 366 return d 367 } 368 ; 369 mt.d.getAttribute = function(b, a) { 370 var d = b.getAttribute && b.getAttribute(a) || u; 371 if (!d && b.attributes && b.attributes.length) 372 for (var f = b.attributes, e = f.length, l = 0; l < e; l++) 373 f[l].nodeName === a && (d = f[l].nodeValue); 374 return d 375 } 376 ; 377 mt.d.Qa = function(b) { 378 var a = "document"; 379 b.tagName !== s && (a = b.tagName); 380 return a.toLowerCase() 381 } 382 ; 383 mt.d.Za = function(b) { 384 var a = ""; 385 b.textContent ? a = e.trim(b.textContent) : b.innerText && (a = e.trim(b.innerText)); 386 a && (a = a.replace(/\s+/g, " ").substring(0, 255)); 387 return a 388 } 389 ; 390 mt.d.Ub = function(b, k) { 391 var d; 392 e.Z(b) && 0 === String(b).indexOf("!HMCQ!") ? (d = String(b), 393 d = a.f(c.site_href, d.substring(6, d.length))) : e.Z(b) || (d = mt.d.Qa(b), 394 "input" === d && k && ("button" === b.type || "submit" === b.type) ? d = e.trim(b.value) || "" : "input" === d && !k && "password" !== b.type ? d = e.trim(b.value) || "" : "img" === d ? (d = mt.d.getAttribute, 395 d = d(b, "alt") || d(b, "title") || d(b, "src")) : d = "body" === d || "html" === d ? ["(hm-default-content-for-", d, ")"].join("") : mt.d.Za(b)); 396 return String(d || "").substring(0, 255) 397 } 398 ; 399 (function() { 400 (mt.d.ac = function() { 401 function b() { 402 if (!b.K) { 403 b.K = t; 404 for (var a = 0, d = f.length; a < d; a++) 405 f[a]() 406 } 407 } 408 function a() { 409 try { 410 document.documentElement.doScroll("left") 411 } catch (d) { 412 setTimeout(a, 1); 413 return 414 } 415 b() 416 } 417 var d = x, f = [], e; 418 document.addEventListener ? e = function() { 419 document.removeEventListener("DOMContentLoaded", e, x); 420 b() 421 } 422 : document.attachEvent && (e = function() { 423 "complete" === document.readyState && (document.detachEvent("onreadystatechange", e), 424 b()) 425 } 426 ); 427 (function() { 428 if (!d) 429 if (d = t, 430 "complete" === document.readyState) 431 b.K = t; 432 else if (document.addEventListener) 433 document.addEventListener("DOMContentLoaded", e, x), 434 window.addEventListener("load", b, x); 435 else if (document.attachEvent) { 436 document.attachEvent("onreadystatechange", e); 437 window.attachEvent("onload", b); 438 var f = x; 439 try { 440 f = window.frameElement == u 441 } catch (r) {} 442 document.documentElement.doScroll && f && a() 443 } 444 } 445 )(); 446 return function(a) { 447 b.K ? a() : f.push(a) 448 } 449 }()).K = x 450 } 451 )(); 452 return mt.d 453 } 454 )(); 455 (function() { 456 var e = mt.event; 457 mt.e = {}; 458 mt.e.mb = /msie (\d+\.\d+)/i.test(navigator.userAgent); 459 mt.e.cookieEnabled = navigator.cookieEnabled; 460 mt.e.javaEnabled = navigator.javaEnabled(); 461 mt.e.language = navigator.language || navigator.browserLanguage || navigator.systemLanguage || navigator.userLanguage || ""; 462 mt.e.Ab = (window.screen.width || 0) + "x" + (window.screen.height || 0
462); 463 mt.e.colorDepth = window.screen.colorDepth || 0; 464 mt.e.Ya = function() { 465 var a; 466 a = a || document; 467 return parseInt(window.pageYOffset || a.documentElement.scrollTop || a.body && a.body.scrollTop || 0, 10) 468 } 469 ; 470 mt.e.$a = function() { 471 var a = document; 472 return parseInt(window.innerHeight || a.documentElement.clientHeight || a.body && a.body.clientHeight || 0, 10) 473 } 474 ; 475 mt.e.W = function() { 476 return mt.e.Ya() + mt.e.$a() 477 } 478 ; 479 mt.e.sa = 0; 480 mt.e.bb = function() { 481 var a = document; 482 return parseInt(window.innerWidth || a.documentElement.clientWidth || a.body.offsetWidth || 0, 10) 483 } 484 ; 485 mt.e.orientation = 0; 486 (function() { 487 function a() { 488 var a = 0; 489 window.orientation !== s && (a = window.orientation); 490 screen && (screen.orientation && screen.orientation.angle !== s) && (a = screen.orientation.angle); 491 mt.e.orientation = a; 492 mt.e.sa = mt.e.bb() 493 } 494 a(); 495 e.c(window, "orientationchange", a) 496 } 497 )(); 498 return mt.e 499 } 500 )(); 501 mt.w = {}; 502 mt.w.parse = function(e) { 503 return (new Function("return (" + e + ")"))() 504 } 505 ; 506 mt.w.stringify = function() { 507 function e(a) { 508 /["\\\x00-\x1f]/.test(a) && (a = a.replace(/["\\\x00-\x1f]/g, function(a) { 509 var f = b[a]; 510 if (f) 511 return f; 512 f = a.charCodeAt(); 513 return "\\u00" + Math.floor(f / 16).toString(16) + (f % 16).toString(16) 514 })); 515 return '"' + a + '"' 516 } 517 function a(a) { 518 return 10 > a ? "0" + a : a 519 } 520 var b = { 521 "\b": "\\b", 522 "\t": "\\t", 523 "\n": "\\n", 524 "\f": "\\f", 525 "\r": "\\r", 526 '"': '\\"', 527 "\\": "\\\\" 528 }; 529 return function(b) { 530 switch (typeof b) { 531 case "undefined": 532 return "undefined"; 533 case "number": 534 return isFinite(b) ? String(b) : "null"; 535 case "string": 536 return e(b); 537 case "boolean": 538 return String(b); 539 default: 540 if (b === u) 541 return "null"; 542 if (b instanceof Array) { 543 var d = ["["], f = b.length, g, l, r; 544 for (l = 0; l < f; l++) 545 switch (r = b[l], 546 typeof r) { 547 case "undefined": 548 case "function": 549 case "unknown": 550 break; 551 default: 552 g && d.push(","), 553 d.push(mt.w.stringify(r)), 554 g = 1 555 } 556 d.push("]"); 557 return d.join("") 558 } 559 if (b instanceof Date) 560 return '"' + b.getFullYear() + "-" + a(b.getMonth() + 1) + "-" + a(b.getDate()) + "T" + a(b.getHours()) + ":" + a(b.getMinutes()) + ":" + a(b.getSeconds()) + '"'; 561 g = ["{"]; 562 l = mt.w.stringify; 563 for (f in b) 564 if (Object.prototype.hasOwnProperty.call(b, f)) 565 switch (r = b[f], 566 typeof r) { 567 case "undefined": 568 case "unknown": 569 case "function": 570 break; 571 default: 572 d && g.push(","), 573 d = 1, 574 g.push(l(f) + ":" + l(r)) 575 } 576 g.push("}"); 577 return g.join("") 578 } 579 } 580 }(); 581 mt.localStorage = {}; 582 mt.localStorage.Q = function() { 583 if (!mt.localStorage.g) 584 try { 585 mt.localStorage.g = document.createElement("input"), 586 mt.localStorage.g.type = "hidden", 587 mt.localStorage.g.style.display = "none", 588 mt.localStorage.g.addBehavior("#default#userData"), 589 document.getElementsByTagName("head")[0].appendChild(mt.localStorage.g) 590 } catch (e) { 591 return x 592 } 593 return t 594 } 595 ; 596 mt.localStorage.set = function(e, a, b) { 597 var k = new Date; 598 k.setTime(k.getTime() + (b || 31536E6)); 599 try { 600 window.localStorage ? (a = k.getTime() + "|" + a, 601 window.localStorage.setItem(e, a)) : mt.localStorage.Q() && (mt.localStorage.g.expires = k.toUTCString(), 602 mt.localStorage.g.load(document.location.hostname), 603 mt.localStorage.g.setAttribute(e, a), 604 mt.localStorage.g.save(document.location.hostname)) 605 } catch (d) {} 606 } 607 ; 608 mt.localStorage.get = function(e) { 609 if (window.localStorage) { 610 if (e = window.localStorage.getItem(e)) { 611 var a = e.indexOf("|") 612 , b = e.substring(0, a) - 0; 613 if (b && b > (new Date).getTime()) 614 return e.substring(a + 1) 615 } 616 } else if (mt.localStorage.Q()) 617 try { 618 return mt.localStorage.g.load(document.location.hostname), 619 mt.localStorage.g.getAttribute(e) 620 } catch (k) {} 621 return u 622 } 623 ; 624 mt.localStorage.remove = function(e) { 625 if (window.localStorage) 626 window.localStorage.removeItem(e); 627 else if (mt.localStorage.Q()) 628 try { 629 mt.localStorage.g.load(document.location.hostname), 630 mt.localStorage.g.removeAttribute(e), 631 mt.localStorage.g.save(document.location.hostname) 632 } catch (a) {} 633 } 634 ; 635 mt.sessionStorage = {}; 636 mt.sessionStorage.set = function(e, a) { 637 try { 638 window.sessionStorage && window.sessionStorage.setItem(e, a) 639 } catch (b) {} 640 } 641 ; 642 mt.sessionStorage.get = function(e) { 643 try { 644 return window.sessionStorage ? window.sessionStorage.getItem(e) : u 645 } catch (a) { 646 return u 647 } 648 } 649 ; 650 mt.sessionStorage.remove = function(e) { 651 try { 652 window.sessionStorage && window.sessionStorage.removeItem(e) 653 } catch (a) {} 654 } 655 ; 656 (function() { 657 var e = mt.w; 658 mt.A = {}; 659 mt.A.log = function(a, b) { 660 var e = new Image 661 , d = "mini_tangram_log_" + Math.floor(2147483648 * Math.random()).toString(36); 662 window[d] = e; 663 e.onload = function() { 664 e.onload = u; 665 e = window[d] = u; 666 b && b(a) 667 } 668 ; 669 e.src = a 670 } 671 ; 672 mt.A.get = function(a, b) { 673 return mt.A.wa({ 674 url: a, 675 method: "GET", 676 data: b.data, 677 timeout: b.timeout, 678 noCache: t, 679 success: b.success, 680 fail: b.fail 681 }) 682 } 683 ; 684 mt.A.wa = function(a) { 685 function b(a) { 686 var b = [], d; 687 for (d in a) 688 a.hasOwnProperty(d) && b.push(encodeURIComponent(d) + "=" + encodeURIComponent(a[d])); 689 return b.join("&") 690 } 691 function k(b) { 692 var d = a[b]; 693 if (d) 694 if (q && clearTimeout(q), 695 "success" !== b) 696 d && d(m); 697 else { 698 var f; 699 try { 700 f = e.parse(m.responseText) 701 } catch (g) { 702 d && d(m); 703 return 704 } 705 d && d(m, f) 706 } 707 } 708 a = a || {}; 709 var d = a.data; 710 "object" === typeof d && (d = b(a.data || {})); 711 var f = a.url, g = (a.method || "GET").toUpperCase(), l = a.headers || {}, r = a.timeout || 0, p = a.noCache || x, n = a.withCredentials || x, m, q; 712 try { 713 a: if (window.XMLHttpRequest) 714 m = new XMLHttpRequest; 715 else { 716 try { 717 m = new ActiveXObject("Microsoft.XMLHTTP"); 718 break a 719 } catch (v) {} 720 m = s 721 } 722 "GET" === g && (d && (f += (0 <= f.indexOf("?") ? "&" : "?") + d, 723 d = u), 724 p && (f += (0 <= f.indexOf("?") ? "&" : "?") + "b" + +new Date + "=1")); 725 m.open(g, f, t); 726 m.onreadystatechange = function() { 727 if (4 === m.readyState) { 728 var a = 0; 729 try { 730 a = m.status 731 } catch (b) { 732 k("fail"); 733 return 734 } 735 200 <= a && 300 > a || 304 === a || 1223 === a ? k("success") : k("fail") 736 } 737 } 738 ; 739 for (var w in l) 740 l.hasOwnProperty(w) && m.setRequestHeader(w, l[w]); 741 n && (m.withCredentials = t); 742 r && (q = setTimeout(function() { 743 m.onreadystatechange = function() {} 744 ; 745 m.abort(); 746 k("fail") 747 }, r)); 748 m.send(d) 749 } catch (A) { 750 k("fail") 751 } 752 return m 753 } 754 ; 755 return mt.A 756 } 757 )(); 758 h.o = { 759 kb: "http://tongji.baidu.com/hm-web/welcome/ico", 760 aa: "hm.baidu.com/hm.gif", 761 xa: /^(tongji|hmcdn).baidu.com$/, 762 Gb: "tongji.baidu.com", 763 hb: "hmmd", 764 ib: "hmpl", 765 Jb: "utm_medium", 766 gb: "hmkw", 767 Lb: "utm_term", 768 eb: "hmci", 769 Ib: "utm_content", 770 jb: "hmsr", 771 Kb: "utm_source", 772 fb: "hmcu", 773 Hb: "utm_campaign", 774 ka: 0, 775 B: Math.round(+new Date / 1E3), 776 protocol: "https:" === document.location.protocol ? "https:" : "http:", 777 L: "https:", 778 Da: 6E5, 779 bc: 5E3, 780 Ea: 5, 781 ca: 1024, 782 G: 2147483647, 783 ra: "hca cc cf ci ck cl cm cp cu cw ds vl ep et ja ln lo lt rnd si su v cv lv api sn r ww p u tt".split(" "), 784 ga: t, 785 Pb: { 786 id: "data-hm-id", 787 Tb: "data-hm-class", 788 jc: "data-hm-xpath", 789 content: "data-hm-content", 790 hc: "data-hm-tag", 791 link: "data-hm-link" 792 }, 793 Rb: "data-hm-enabled", 794 Qb: "data-hm-disabled", 795 xb: "https://hmcdn.baidu.com/static/tongji/plugins/", 796 na: ["UrlChangeTracker"], 797 Nb: { 798 $b: 0, 799 ic: 1, 800 Xb: 2 801 }, 802 Yb: "https://fclog.baidu.com/log/ocpcagl?type=behavior&emd=euc" 803 }; 804 (function() { 805 var e = { 806 t: {}, 807 c: function(a, b) { 808 this.t[a] = this.t[a] || []; 809 this.t[a].push(b) 810 }, 811 k: function(a, b) { 812 this.t[a] = this.t[a] || []; 813 for (var e = this.t[a].length, d = 0; d < e; d++) 814 this.t[a][d](b) 815 } 816 }; 817 return h.s = e 818 } 819 )(); 820 (function() { 821 var e = mt.lang 822 , a = /^https?:\/\// 823 , b = { 824 Oa: function(a) { 825 var b; 826 try { 827 b = JSON.parse(decodeURIComponent(a[0])) 828 } catch (f) {} 829 return b 830 }, 831 la: function(a, d) { 832 return b.ma(h.b && h.b.a && h.b.a.u, a, d) || b.ma(c.site_href, a, d) 833 }, 834 ma: function(b, d, f) { 835 if (b === s) 836 return x; 837 a.test(d) || (b = b.replace(a, "")); 838 d = d.replace(/\/$/, ""); 839 b = b.replace(/\/$/, ""); 840 f && (b = b.replace(/^(https?:\/\/)?www\./, "$1")); 841 return RegExp("^" + d.replace(/[?.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*") + "$").test(b) 842 }, 843 H: function(a, d) { 844 var f = b.Oa(a); 845 if (!e.i(f, "Undefined")) { 846 if (e.isArray(f)) { 847 for (var g = 0; g < f.length; g++) 848 if (b.la(f[g], d)) 849 return t; 850 return x 851 } 852 if (e.J(f)) { 853 var g = [], l; 854 for (l in f) 855 f.hasOwnProperty(l) && b.la(l, d) && (g = g.concat(f[l])); 856 return g 857 } 858 } 859 } 860 }; 861 return h.S = b 862 } 863 )(); 864 (function() { 865 function e(b, e) { 866 var d = document.createElement("script"); 867 d.charset = "utf-8"; 868 a.j(e) && (d.readyState ? d.onreadystatechange = function() { 869 if ("loaded" === d.readyState || "complete" === d.readyState) 870 d.onreadystatechange = u, 871 e() 872 } 873 : d.onload = function() { 874 e() 875 } 876 ); 877 d.src = b; 878 var f = document.getElementsByTagName("script")[0]; 879 f.parentNode.insertBefore(d, f) 880 } 881 var a = mt.lang; 882 return h.load = e 883 } 884 )(); 885 (function() { 886 var e = h.o 887 , a = { 888 D: function() { 889 if ("" !== c.icon) { 890 var a = c.icon.split("|") 891 , k = e.kb + "?s=" + c.id 892 , d = "https://hmcdn.baidu.com/static" + a[0] + ".gif";
893 document.write("swf" === a[1] || "gif" === a[1] ? '<a href="' + k + '" target="_blank"><img border="0" src="' + d + '" width="' + a[2] + '" height="' + a[3] + '"></a>' : '<a href="' + k + '" target="_blank">' + a[0] + "</a>") 894 } 895 } 896 }; 897 h.s.c("pv-b", a.D); 898 return a 899 } 900 )(); 901 (function() { 902 var e = mt.url 903 , a = mt.cookie 904 , b = mt.localStorage 905 , k = mt.sessionStorage 906 , d = { 907 getData: function(d) { 908 try { 909 return a.get(d) || k.get(d) || b.get(d) 910 } catch (e) {} 911 }, 912 setData: function(f, e, l) { 913 try { 914 a.set(f, e, { 915 domain: d.I(), 916 path: d.U(), 917 C: l 918 }), 919 l ? b.set(f, e, l) : k.set(f, e) 920 } catch (r) {} 921 }, 922 removeData: function(e) { 923 try { 924 a.set(e, "", { 925 domain: d.I(), 926 path: d.U(), 927 C: -1 928 }), 929 k.remove(e), 930 b.remove(e) 931 } catch (g) {} 932 }, 933 I: function() { 934 for (var a = document.location.hostname, b = 0, d = c.dm.length; b < d; b++) 935 if (e.qb(a, c.dm[b])) 936 return c.dm[b].replace(/(:\d+)?[/?#].*/, ""); 937 return a 938 }, 939 U: function() { 940 for (var a = 0, b = c.dm.length; a < b; a++) { 941 var d = c.dm[a]; 942 if (-1 < d.indexOf("/") && e.pb(d)) 943 return d.replace(/^[^/]+(\/.*)/, "$1") + "/" 944 } 945 return "/" 946 } 947 }; 948 return h.R = d 949 } 950 )(); 951 (function() { 952 var e = mt.lang 953 , a = mt.d 954 , b = h.S 955 , k = { 956 Ha: function(d, e) { 957 return function(g) { 958 var l = g.target || g.srcElement; 959 if (l) { 960 var r = b.H(e) || [] 961 , p = l.getAttribute(d.P); 962 g = g.clientX + ":" + g.clientY; 963 if (p && p === g) 964 l.removeAttribute(d.P); 965 else if (0 < r.length && (l = a.Wa(l)) && l.length) 966 if (r = l.length, 967 p = l[l.length - 1], 968 1E4 > r * p.split(">").length) 969 for (p = 0; p < r; p++) 970 k.qa(d, l[p]); 971 else 972 k.qa(d, p) 973 } 974 } 975 }, 976 qa: function(a, b) { 977 for (var g = {}, l = String(b).split(">").length, k = 0; k < l; k++) 978 g[b] = "", 979 /\[1\]$/.test(b) && (g[b.substring(0, b.lastIndexOf("["))] = ""), 980 /\]$/.test(b) || (g[b + "[1]"] = ""), 981 b = b.substring(0, b.lastIndexOf(">")); 982 a && (e.J(a) && a.ba) && a.ba(g) 983 }, 984 zb: function(a, b) { 985 return function(e) { 986 (e.target || e.srcElement).setAttribute(a.P, e.clientX + ":" + e.clientY); 987 a && a.N && (b ? a.N(b) : a.N("#" + encodeURIComponent(this.id), e.type)) 988 } 989 } 990 }; 991 return h.Ia = k 992 } 993 )(); 994 (function() { 995 var e = mt.d 996 , a = mt.event 997 , b = h.S 998 , k = h.Ia 999 , d = { 1000 P: "HM_fix", 1001 ua: function() { 1002 a.c(document, "click", k.Ha(d, c.etrk), t); 1003 if (!document.addEventListener) 1004 for (var f = b.H(c.etrk) || [], g = 0; g < f.length; g++) { 1005 var l = f[g]; 1006 -1 === l.indexOf(">") && (0 === l.indexOf("#") && (l = l.substring(1)), 1007 (l = e.La(l)) && a.c(l, "click", k.zb(d), t)) 1008 } 1009 }, 1010 ba: function(a) { 1011 for (var e = b.H(c.etrk) || [], k = 0; k < e.length; k++) { 1012 var r = e[k]; 1013 a.hasOwnProperty(r) && d.N(r) 1014 } 1015 }, 1016 N: function(a, b) { 1017 h.b.a.et = 1; 1018 h.b.a.ep = "{id:" + a + ",eventType:" + (b || "click") + "}"; 1019 h.b.m() 1020 } 1021 }; 1022 h.s.c("pv-b", d.ua); 1023 return d 1024 } 1025 )(); 1026 (function() { 1027 var e = mt.d 1028 , a = mt.lang 1029 , b = mt.event 1030 , k = mt.e 1031 , d = h.o 1032 , f = h.S 1033 , g = [] 1034 , l = { 1035 ta: function() { 1036 c.ctrk && 0 < c.ctrk.length && (b.c(document, "mouseup", l.Ca()), 1037 b.c(window, "unload", function() { 1038 l.M() 1039 }), 1040 setInterval(function() { 1041 l.M() 1042 }, d.Da)) 1043 }, 1044 Ca: function() { 1045 return function(a) { 1046 if (f.H(c.ctrk, t) && (a = l.Na(a), 1047 "" !== a)) { 1048 var b = (d.L + "//" + d.aa + "?" + h.b.pa().replace(/ep=[^&]*/, "ep=" + encodeURIComponent(a))).length; 1049 b + (d.G + "").length > d.ca || (b + encodeURIComponent(g.join("!") + (g.length ? "!" : "")).length + (d.G + "").length > d.ca && l.M(), 1050 g.push(a), 1051 (g.length >= d.Ea || /\*a\*/.test(a)) && l.M()) 1052 } 1053 } 1054 }, 1055 Na: function(b) { 1056 var d = b.target || b.srcElement, f, m; 1057 k.mb ? (m = Math.max(document.documentElement.scrollTop, document.body.scrollTop), 1058 f = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft), 1059 f = b.clientX + f, 1060 m = b.clientY + m) : (f = b.pageX, 1061 m = b.pageY); 1062 b = l.Ta(b, d, f, m); 1063 var q = window.innerWidth || document.documentElement.clientWidth || document.body.offsetWidth; 1064 switch (c.align) { 1065 case 1: 1066 f -= q / 2; 1067 break; 1068 case 2: 1069 f -= q 1070 } 1071 q = []; 1072 q.push(f); 1073 q.push(m); 1074 q.push(b.ub); 1075 q.push(b.vb); 1076 q.push(b.yb); 1077 q.push(a.n(b.wb)); 1078 q.push(b.Mb); 1079 q.push(b.cb); 1080 (d = "a" === (d.tagName || "").toLowerCase() ? d : e.Ma(d)) ? (q.push("a"), 1081 q.push(a.n(encodeURIComponent(d.href)))) : q.push("b"); 1082 return q.join("*") 1083 }, 1084 Ta: function(b, d, f, m) { 1085 b = e.Xa(d); 1086 var q = 0 1087 , g = 0 1088 , w = 0 1089 , l = 0; 1090 if (d && (q = d.offsetWidth || d.clientWidth, 1091 g = d.offsetHeight || d.clientHeight, 1092 l = e.Ua(d), 1093 w = l.left, 1094 l = l.top, 1095 a.j(d.getBBox) && (g = d.getBBox(), 1096 q = g.width,
1097 g = g.height), 1098 "html" === (d.tagName || "").toLowerCase())) 1099 q = Math.max(q, d.clientWidth), 1100 g = Math.max(g, d.clientHeight); 1101 return { 1102 ub: Math.round(100 * ((f - w) / q)), 1103 vb: Math.round(100 * ((m - l) / g)), 1104 yb: k.orientation, 1105 wb: b, 1106 Mb: q, 1107 cb: g 1108 } 1109 }, 1110 M: function() { 1111 0 !== g.length && (h.b.a.et = 2, 1112 h.b.a.ep = g.join("!"), 1113 h.b.m(), 1114 g = []) 1115 } 1116 }; 1117 h.s.c("pv-b", l.ta); 1118 return l 1119 } 1120 )(); 1121 (function() { 1122 function e() { 1123 return function() { 1124 h.b.a.et = 3; 1125 h.b.a.ep = h.T.Va() + "," + h.T.Ra(); 1126 h.b.a.hca = c.hca; 1127 h.b.m() 1128 } 1129 } 1130 function a() { 1131 clearTimeout(C); 1132 var b; 1133 w && (b = "visible" == document[w]); 1134 A && (b = !document[A]); 1135 l = "undefined" == typeof b ? t : b; 1136 if ((!g || !r) && l && p) 1137 v = t, 1138 m = +new Date; 1139 else if (g && r && (!l || !p)) 1140 v = x, 1141 q += +new Date - m; 1142 g = l; 1143 r = p; 1144 C = setTimeout(a, 100) 1145 } 1146 function b(b) { 1147 var a = document 1148 , d = ""; 1149 if (b in a) 1150 d = b; 1151 else 1152 for (var m = ["webkit", "ms", "moz", "o"], e = 0; e < m.length; e++) { 1153 var f = m[e] + b.charAt(0).toUpperCase() + b.slice(1); 1154 if (f in a) { 1155 d = f; 1156 break 1157 } 1158 } 1159 return d 1160 } 1161 function k(b) { 1162 if (!("focus" == b.type || "blur" == b.type) || !(b.target && b.target != window)) 1163 p = "focus" == b.type || "focusin" == b.type ? t : x, 1164 a() 1165 } 1166 var d = mt.event, f = h.s, g = t, l = t, r = t, p = t, n = +new Date, m = n, q = 0, v = t, w = b("visibilityState"), A = b("hidden"), C; 1167 a(); 1168 (function() { 1169 var b = w.replace(/[vV]isibilityState/, "visibilitychange"); 1170 d.c(document, b, a); 1171 d.c(window, "pageshow", a); 1172 d.c(window, "pagehide", a); 1173 "object" == typeof document.onfocusin ? (d.c(document, "focusin", k), 1174 d.c(document, "focusout", k)) : (d.c(window, "focus", k), 1175 d.c(window, "blur", k)) 1176 } 1177 )(); 1178 h.T = { 1179 Va: function() { 1180 return +new Date - n 1181 }, 1182 Ra: function() { 1183 return v ? +new Date - m + q : q 1184 } 1185 }; 1186 f.c("pv-b", function() { 1187 d.c(window, "unload", e()) 1188 }); 1189 f.c("duration-send", e()); 1190 f.c("duration-done", function() { 1191 m = n = +new Date; 1192 q = 0 1193 }); 1194 return h.T 1195 } 1196 )(); 1197 (function() { 1198 var e = mt.lang 1199 , a = h.o 1200 , b = h.load 1201 , k = h.R 1202 , d = { 1203 lb: function(d) { 1204 if ((window._dxt === s || e.i(window._dxt, "Array")) && "undefined" !== typeof h.b) { 1205 var g = k.I(); 1206 b([a.protocol, "//datax.baidu.com/x.js?si=", c.id, "&dm=", encodeURIComponent(g)].join(""), d) 1207 } 1208 }, 1209 Fb: function(b) { 1210 if (e.i(b, "String") || e.i(b, "Number")) 1211 window._dxt = window._dxt || [], 1212 window._dxt.push(["_setUserId", b]) 1213 } 1214 }; 1215 return h.Fa = d 1216 } 1217 )(); 1218 (function() { 1219 function e(a) { 1220 for (var d in a) 1221 if ({}.hasOwnProperty.call(a, d)) { 1222 var f = a[d]; 1223 b.J(f) || b.isArray(f) ? e(f) : a[d] = String(f) 1224 } 1225 } 1226 var a = mt.url 1227 , b = mt.lang 1228 , k = mt.w 1229 , d = mt.e 1230 , f = h.o 1231 , g = h.s 1232 , l = h.Fa 1233 , r = h.load 1234 , p = h.R 1235 , n = { 1236 F: [], 1237 O: 0, 1238 Y: x, 1239 D: function() { 1240 n.h = 0; 1241 g.c("pv-b", function() { 1242 n.Ga(); 1243 n.Ja() 1244 }); 1245 g.c("pv-d", function() { 1246 n.Ka() 1247 }); 1248 g.c("stag-b", function() { 1249 h.b.a.api = n.h || n.O ? n.h + "_" + n.O : "" 1250 }); 1251 g.c("stag-d", function() { 1252 h.b.a.api = 0; 1253 n.h = 0; 1254 n.O = 0 1255 }) 1256 }, 1257 Ga: function() { 1258 var a = window._hmt || []; 1259 if (!a || b.i(a, "Array")) 1260 window._hmt = { 1261 id: c.id, 1262 cmd: {}, 1263 push: function() { 1264 for (var a = window._hmt, d = 0; d < arguments.length; d++) { 1265 var e = arguments[d]; 1266 b.i(e, "Array") && (a.cmd[a.id].push(e), 1267 "_setAccount" === e[0] && (1 < e.length && /^[0-9a-f]{31,32}$/.test(e[1])) && (e = e[1], 1268 a.id = e, 1269 a.cmd[e] = a.cmd[e] || [])) 1270 } 1271 } 1272 }, 1273 window._hmt.cmd[c.id] = [], 1274 window._hmt.push.apply(window._hmt, a) 1275 }, 1276 Ja: function() { 1277 var b = window._hmt; 1278 if (b && b.cmd && b.cmd[c.id]) 1279 for (var a = b.cmd[c.id], d = /^_track(Event|Order)$/, e = 0, f = a.length; e < f; e++) { 1280 var g = a[e]; 1281 d.test(g[0]) ? n.F.push(g) : n.$(g) 1282 } 1283 b.cmd[c.id] = { 1284 push: n.$ 1285 } 1286 }, 1287 Ka: function() { 1288 if (0 < n.F.length) 1289 for (var b = 0, a = n.F.length; b < a; b++) 1290 n.$(n.F[b]); 1291 n.F = u 1292 }, 1293 $: function(a) { 1294 var d = a[0]; 1295 if (n.hasOwnProperty(d) && b.j(n[d])) 1296 n[d](a) 1297 },
1298 _setAccount: function(b) { 1299 1 < b.length && /^[0-9a-f]{31,32}$/.test(b[1]) && (n.h |= 1) 1300 }, 1301 _setAutoPageview: function(b) { 1302 if (1 < b.length && (b = b[1], 1303 x === b || t === b)) 1304 n.h |= 2, 1305 h.b.ha = b 1306 }, 1307 _trackPageview: function(b) { 1308 1 < b.length && (b[1].charAt && "/" === b[1].charAt(0)) && (n.h |= 4, 1309 h.b.a.sn = h.b.ea(), 1310 h.b.a.et = 0, 1311 h.b.a.ep = "", 1312 h.b.a.vl = d.W(), 1313 n.Y || (h.b.a.su = h.b.a.u || c.site_href), 1314 h.b.a.u = f.protocol + "//" + document.location.host + b[1], 1315 h.b.m(), 1316 h.b.sb = +new Date) 1317 }, 1318 _trackEvent: function(a) { 1319 2 < a.length && (n.h |= 8, 1320 h.b.a.et = 4, 1321 h.b.a.ep = b.n(a[1]) + "*" + b.n(a[2]) + (a[3] ? "*" + b.n(a[3]) : "") + (a[4] ? "*" + b.n(a[4]) : ""), 1322 h.b.m()) 1323 }, 1324 _setCustomVar: function(a) { 1325 if (!(4 > a.length)) { 1326 var d = a[1] 1327 , e = a[4] || 3; 1328 if (0 < d && 6 > d && 0 < e && 4 > e) { 1329 n.O++; 1330 for (var f = (h.b.a.cv || "*").split("!"), g = f.length; g < d - 1; g++) 1331 f.push("*"); 1332 f[d - 1] = e + "*" + b.n(a[2]) + "*" + b.n(a[3]); 1333 h.b.a.cv = f.join("!"); 1334 a = h.b.a.cv.replace(/[^1](\*[^!]*){2}/g, "*").replace(/((^|!)\*)+$/g, ""); 1335 "" !== a ? p.setData("Hm_cv_" + c.id, encodeURIComponent(a), c.age) : p.removeData("Hm_cv_" + c.id) 1336 } 1337 } 1338 }, 1339 _setReferrerOverride: function(a) { 1340 1 < a.length && (a = a[1], 1341 b.i(a, "String") ? (h.b.a.su = "/" === a.charAt(0) ? f.protocol + "//" + window.location.host + a : a, 1342 n.Y = t) : n.Y = x) 1343 }, 1344 _trackOrder: function(a) { 1345 a = a[1]; 1346 b.J(a) && (e(a), 1347 n.h |= 16, 1348 h.b.a.et = 94, 1349 h.b.a.ep = k.stringify(a), 1350 h.b.m()) 1351 }, 1352 _setDataxId: function(a) { 1353 a = a[1]; 1354 l.lb(); 1355 l.Fb(a) 1356 }, 1357 _setAutoTracking: function(a) { 1358 if (1 < a.length && (a = a[1], 1359 x === a || t === a)) 1360 h.b.ia = a 1361 }, 1362 _trackPageDuration: function(a) { 1363 1 < a.length ? (a = a[1], 1364 2 === String(a).split(",").length && (h.b.a.et = 3, 1365 h.b.a.ep = a, 1366 h.b.m())) : g.k("duration-send"); 1367 g.k("duration-done") 1368 }, 1369 _require: function(b) { 1370 1 < b.length && (b = b[1], 1371 f.xa.test(a.V(b)) && r(b)) 1372 }, 1373 _providePlugin: function(a) { 1374 if (1 < a.length) { 1375 var d = window._hmt 1376 , e = a[1]; 1377 a = a[2]; 1378 if (b.X(f.na, e) && b.j(a) && (d.plugins = d.plugins || {}, 1379 d.z = d.z || {}, 1380 d.plugins[e] = a, 1381 d.l = d.l || [], 1382 a = d.l.slice(), 1383 e && a.length && a[0][1] === e)) 1384 for (var g = 0, k = a.length; g < k; g++) { 1385 var l = a[g][2] || {}; 1386 if (d.plugins[e] && !d.z[e]) 1387 d.z[e] = new d.plugins[e](l), 1388 d.l.shift(); 1389 else 1390 break 1391 } 1392 } 1393 }, 1394 _requirePlugin: function(a) { 1395 if (1 < a.length) { 1396 var d = window._hmt 1397 , e = a[1] 1398 , g = a[2] || {}; 1399 if (b.X(f.na, e)) 1400 if (d.plugins = d.plugins || {}, 1401 d.z = d.z || {}, 1402 d.plugins[e] && !d.z[e]) 1403 d.z[e] = new d.plugins[e](g); 1404 else { 1405 d.l = d.l || []; 1406 for (var g = 0, k = d.l.length; g < k; g++) 1407 if (d.l[g][1] === e) 1408 return; 1409 d.l.push(a); 1410 n._require([u, f.xb + e + ".js"]) 1411 } 1412 } 1413 } 1414 }; 1415 n.D(); 1416 h.ya = n; 1417 return h.ya 1418 } 1419 )(); 1420 (function() { 1421 var e = h.s; 1422 c.spa !== s && "1" === String(c.spa) && (window._hmt = window._hmt || [], 1423 window._hmt.push(["_requirePlugin", "UrlChangeTracker"]), 1424 e.c("pv-b", function() { 1425 "" !== site_hash && (h.b.a.u = window.location.href) 1426 })) 1427 } 1428 )(); 1429 (function() { 1430 function e() { 1431 "undefined" === typeof window["_bdhm_loaded_" + c.id] && (window["_bdhm_loaded_" + c.id] = t, 1432 this.a = {}, 1433 this.ob = this.ia = this.ha = t, 1434 this.ga = m.ga, 1435 this.Sb = k.Z(c.aet) && 0 < c.aet.length ? c.aet.split(",") : "", 1436 this.D()) 1437 } 1438 var a = mt.url 1439 , b = mt.A 1440 , k = mt.lang 1441 , d = mt.cookie 1442 , f = mt.e 1443 , g = mt.sessionStorage 1444 , l = mt.w 1445 , r = mt.event 1446 , p = h.R 1447 , n = mt.localStorage 1448 , m = h.o 1449 , q = h.load 1450 , v = h.s; 1451 e.prototype = { 1452 Db: function() { 1453 var a, b, e, f; 1454 m.ka = p.getData("Hm_lpvt_" + c.id) || 0; 1455 if (f = p.getData("Hm_lvt_" + c.id)) { 1456 for (b = f.split(","); 2592E3 < m.B - b[0]; ) 1457 b.shift(); 1458 e = 4 > b.length ? 2 : 3; 1459 for (m.B - m.ka > c.vdur && b.push(m.B); 4 < b.length; ) 1460 b.shift(); 1461 f = b.join(","); 1462 b = b[b.length - 1] 1463 } else 1464 f = m.B, 1465 b = "", 1466 e = 1; 1467 this.nb() ? (p.setData("Hm_lvt_" + c.id, f, c.age), 1468 p.setData("Hm_lpvt_" + c.id, m.B),
1469 a = d.rb(p.I(), p.U())) : this.da(); 1470 this.a.cc = a; 1471 this.a.lt = b; 1472 this.a.lv = e 1473 }, 1474 nb: function() { 1475 var b = a.V(c.site_href); 1476 return !k.X("sjh.baidu.com isite.baidu.com ls.wejianzhan.com bs.wejianzhan.com product.weijianzhan.com qianhu.weijianzhan.com aisite.wejianzhan.com".split(" "), b) 1477 }, 1478 Aa: function() { 1479 var a = "Hm_clear_cookie_" + c.id 1480 , b = n.get(a) || 0; 1481 c.fc && Number(c.fc) > Number(b) && (this.da(), 1482 n.set(a, c.fc)) 1483 }, 1484 da: function() { 1485 for (var a = document.cookie.split(";"), b = 0; b < a.length; b++) { 1486 var d = a[b].split("="); 1487 d.length && /Hm_(up|cv|lp?vt)_[0-9a-f]{31}/.test(String(d[0])) && p.removeData(k.trim(d[0])); 1488 d.length && /Hm_ck_[0-9]{13}/.test(String(d[0])) && p.removeData(k.trim(d[0])) 1489 } 1490 }, 1491 pa: function() { 1492 for (var a = [], b = this.a.et, d = 0, e = m.ra.length; d < e; d++) { 1493 var f = m.ra[d] 1494 , g = this.a[f]; 1495 "undefined" !== typeof g && "" !== g && ("tt" !== f || "tt" === f && 0 === b) && a.push(f + "=" + encodeURIComponent(g)) 1496 } 1497 return a.join("&") 1498 }, 1499 Eb: function() { 1500 this.Db(); 1501 this.a.si = c.id; 1502 this.a.sn = this.ea(); 1503 this.a.su = document.referrer; 1504 this.a.ds = f.Ab; 1505 this.a.cl = f.colorDepth + "-bit"; 1506 this.a.ln = String(f.language).toLowerCase(); 1507 this.a.ja = f.javaEnabled ? 1 : 0; 1508 this.a.ck = f.cookieEnabled ? 1 : 0; 1509 this.a.lo = "number" === typeof _bdhm_top ? 1 : 0; 1510 this.a.v = "1.3.0"; 1511 this.a.cv = decodeURIComponent(p.getData("Hm_cv_" + c.id) || ""); 1512 this.a.tt = document.title || ""; 1513 this.a.vl = f.W(); 1514 var b = c.site_href; 1515 this.a.cm = a.f(b, m.hb) || ""; 1516 this.a.cp = a.f(b, m.ib) || a.f(b, m.Jb) || ""; 1517 this.a.cw = a.f(b, m.gb) || a.f(b, m.Lb) || ""; 1518 this.a.ci = a.f(b, m.eb) || a.f(b, m.Ib) || ""; 1519 this.a.cf = a.f(b, m.jb) || a.f(b, m.Kb) || ""; 1520 this.a.cu = a.f(b, m.fb) || a.f(b, m.Hb) || ""; 1521 /https?:/.test(document.location.protocol) && (this.a.u = b) 1522 }, 1523 D: function() { 1524 try { 1525 this.Aa(), 1526 this.Eb(), 1527 this.Cb(), 1528 h.b = this, 1529 this.za(), 1530 this.tb(), 1531 v.k("pv-b"), 1532 this.ob && this.Bb() 1533 } catch (a) { 1534 var d = []; 1535 d.push("si=" + c.id); 1536 d.push("n=" + encodeURIComponent(a.name)); 1537 d.push("m=" + encodeURIComponent(a.message)); 1538 d.push("r=" + encodeURIComponent(document.referrer)); 1539 b.log(m.L + "//" + m.aa + "?" + d.join("&")) 1540 } 1541 }, 1542 Bb: function() { 1543 function a() { 1544 v.k("pv-d") 1545 } 1546 this.ha ? (this.a.et = 0, 1547 this.a.ep = "", 1548 v.k("setPageviewProp"), 1549 this.a.vl = f.W(), 1550 this.m(a), 1551 this.a.p = "") : a(); 1552 this.sb = +new Date; 1553 v.k("clearPageviewProp") 1554 }, 1555 m: function(a) { 1556 if (this.ia) { 1557 var d = this; 1558 d.a.rnd = Math.round(Math.random() * m.G); 1559 d.a.r = f.orientation; 1560 d.a.ww = f.sa; 1561 v.k("stag-b"); 1562 var e = m.L + "//" + m.aa + "?" + d.pa(); 1563 v.k("stag-d"); 1564 d.va(e); 1565 b.log(e, function(b) { 1566 d.oa(b); 1567 k.j(a) && a.call(d) 1568 }) 1569 } 1570 }, 1571 za: function() { 1572 try { 1573 if (window.postMessage && window.self !== window.parent) { 1574 var b = this; 1575 r.c(window, "message", function(d) { 1576 if (a.V(d.origin) === m.Gb) { 1577 d = d.data || {}; 1578 var e = d.jn || "" 1579 , f = /^customevent$|^heatmap$|^pageclick$|^select$/.test(e); 1580 if (RegExp(c.id).test(d.sd || "") && f) 1581 b.a.rnd = Math.round(Math.random() * m.G), 1582 q(m.protocol + "//" + c.js + e + ".js?" + b.a.rnd) 1583 } 1584 }); 1585 window.parent.postMessage({ 1586 id: c.id, 1587 url: c.site_href, 1588 status: "__Messenger__hmLoaded" 1589 }, "*") 1590 } 1591 } catch (d) {} 1592 }, 1593 tb: function() { 1594 try { 1595 if (window.self === window.parent) { 1596 var b = c.site_href 1597 , d = a.f(b, "baidu-analytics-token") 1598 , e = a.f(b, "baidu-analytics-jn"); 1599 /^[a-f0-9]{32}\/?$/.test(d) && /^(overlay|vabtest)\/?$/.test(e) && q(m.protocol + "//" + c.js + e + ".js?" + Math.round(Math.random() * m.G)) 1600 } 1601 } catch (f) {} 1602 }, 1603 va: function(a) { 1604 var b; 1605 try { 1606 b = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1607 } catch (d) { 1608 b = [] 1609 } 1610 var e = this.a.u ? "" : "&u=" + encodeURIComponent(c.site_href); 1611 b.push(a.replace(/^https?:\/\//, "") + e); 1612 g.set("Hm_unsent_" + c.id, l.stringify(b)) 1613 }, 1614 oa: function(a) { 1615 var b; 1616 try { 1617 b = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1618 } catch (d) { 1619 b = [] 1620 } 1621 if (b.length) { 1622 a = a.replace(/^https?:\/\//, ""); 1623 for (var e = 0; e < b.length; e++) 1624 if (a.replace(/&u=[^&]*/, "") === b[e].replace(/&u=[^&]*/, "")) { 1625 b.splice(e, 1); 1626 break 1627 } 1628 b.length ? g.set("Hm_unsent_" + c.id, l.stringify(b)) : this.Ba() 1629 } 1630 }, 1631 Ba: function() { 1632 g.remove("Hm_unsent_" + c.id) 1633 }, 1634 Cb: function() { 1635 var a = this, d; 1636 try { 1637 d = l.parse(g.get("Hm_unsent_" + c.id) || "[]") 1638 } catch (e) { 1639 d = [] 1640 } 1641 if (d.length) 1642 for (var f = function(d) { 1643 b.log(m.L + "//" + d, function(b) { 1644 a.oa(b) 1645 }) 1646 }, k = 0; k < d.length; k++) 1647 f(d[k]) 1648 }, 1649 ea: function() { 1650 return Math.round(+new Date / 1E3) % 65535 1651 } 1652 }; 1653 return new e
1654 } 1655 )(); 1656 var y = h.o 1657 , z = h.load; 1658 if (c.apps) { 1659 var B = [y.protocol, "//ers.baidu.com/app/s.js?"]; 1660 B.push(c.apps); 1661 z(B.join("")) 1662 } 1663 var D = h.o 1664 , E = h.load; 1665 c.pt && E([D.protocol, "//ada.baidu.com/phone-tracker/insert_bdtj?sid=", c.pt].join("")); 1666 var F = h.load; 1667 if (c.qiao) { 1668 for (var G = ["https://goutong.baidu.com/site/"], H = c.id, I = 5381, J = H.length, K = 0; K < J; K++) 1669 I = (33 * I + Number(H.charCodeAt(K))) % 4294967296; 1670 2147483648 < I && (I -= 2147483648); 1671 G.push(I % 1E3 + "/"); 1672 G.push(c.id + "/b.js"); 1673 G.push("?siteId=" + c.qiao); 1674 F(G.join("")) 1675 } 1676 ; 1677}; 1678tongji(code_id,code_domain);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.