/* 百度V2.0的主文件
* 不需要引用当前文件,只需要加载BaiduApi_Load.js 配置文件即可
* 修正于2016-11-08
* 兼容IE6-IE11,火狐,谷歌,360等浏览器
* 部分功能如热力,海量标注需IE9或以上版本支持
*/
(function() {
function aa(a) {
throw a;
}
var j = void 0,
o = !0,
p = null,
q = !1;
function s() {
return function() { }
}
function ba(a) {
return function(b) {
this[a] = b
}
}
function t(a) {
return function() {
return this[a]
}
}
function ca(a) {
return function() {
return a
}
}
var da, ea = [];
function fa(a) {
return function() {
return ea[a].apply(this, arguments)
}
}
function ga(a, b) {
return ea[a] = b
}
var ha, x = ha = x || {
version: "1.3.4"
};
x.ba = "$BAIDU$";
window[x.ba] = window[x.ba] || {};
x.object = x.object || {};
x.extend = x.object.extend = function(a, b) {
for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c]);
return a
};
x.D = x.D || {};
x.D.$ = function(a) {
return "string" == typeof a || a instanceof String ? document.getElementById(a) : a && a.nodeName && (1 == a.nodeType || 9 == a.nodeType) ? a : p
};
x.$ = x.Ec = x.D.$;
x.D.U = function(a) {
a = x.D.$(a);
if (a === p) return a;
a.style.display = "none";
return a
};
x.U = x.D.U;
x.lang = x.lang || {};
x.lang.ug = function(a) {
return "[object String]" == Object.prototype.toString.call(a)
};
x.ug = x.lang.ug;
x.D.Qj = function(a) {
return x.lang.ug(a) ? document.getElementById(a) : a
};
x.Qj = x.D.Qj;
x.D.getElementsByClassName = function(a, b) {
var c;
if (a.getElementsByClassName) c = a.getElementsByClassName(b);
else {
var d = a;
d == p && (d = document);
c = [];
var d = d.getElementsByTagName("*"),
e = d.length,
f = RegExp("(^|\\s)" + b + "(\\s|$)"),
g, i;
for (i = g = 0; g < e; g++) f.test(d[g].className) && (c[i] = d[g], i++)
}
return c
};
x.getElementsByClassName = x.D.getElementsByClassName;
x.D.contains = function(a, b) {
var c = x.D.Qj,
a = c(a),
b = c(b);
return a.contains ? a != b && a.contains(b) : !!(a.compareDocumentPosition(b) & 16)
};
x.ea = x.ea || {};
/msie (\d+\.\d)/i.test(navigator.userAgent) && (x.ea.la = x.la = document.documentMode || +RegExp.$1);
var ia = {
cellpadding: "cellPadding",
cellspacing: "cellSpacing",
colspan: "colSpan",
rowspan: "rowSpan",
valign: "vAlign",
usemap: "useMap",
frameborder: "frameBorder"
};
8 > x.ea.la ? (ia["for"] = "htmlFor", ia["class"] = "className") : (ia.htmlFor = "for", ia.className = "class");
x.D.AG = ia;
x.D.oF = function(a, b, c) {
a = x.D.$(a);
if (a === p) return a;
if ("style" == b) a.style.cssText = c;
else {
b = x.D.AG[b] || b;
a.setAttribute(b, c)
}
return a
};
x.oF = x.D.oF;
x.D.pF = function(a, b) {
a = x.D.$(a);
if (a === p) return a;
for (var c in b) x.D.oF(a, c, b[c]);
return a
};
x.pF = x.D.pF;
x.Sk = x.Sk || {};
(function() {
var a = RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)", "g");
x.Sk.trim = function(b) {
return ("" + b).replace(a, "")
}
})();
x.trim = x.Sk.trim;
x.Sk.Ro = function(a, b) {
var a = "" + a,
c = Array.prototype.slice.call(arguments, 1),
d = Object.prototype.toString;
if (c.length) {
c = c.length == 1 ? b !== p && /\[object Array\]|\[object Object\]/.test(d.call(b)) ? b : c : c;
return a.replace(/#\{(.+?)\}/g, function(a, b) {
var g = c[b];
"[object Function]" == d.call(g) && (g = g(b));
return "undefined" == typeof g ? "" : g
})
}
return a
};
x.Ro = x.Sk.Ro;
x.D.Rb = function(a, b) {
a = x.D.$(a);
if (a === p) return a;
for (var c = a.className.split(/\s+/), d = b.split(/\s+/), e, f = d.length, g, i = 0; i < f; ++i) {
g = 0;
for (e = c.length; g < e; ++g) if (c[g] == d[i]) {
c.splice(g, 1);
break
}
}
a.className = c.join(" ");
return a
};
x.Rb = x.D.Rb;
x.D.Hx = function(a, b, c) {
a = x.D.$(a);
if (a === p) return a;
var d;
if (a.insertAdjacentHTML) a.insertAdjacentHTML(b, c);
else {
d = a.ownerDocument.createRange();
b = b.toUpperCase();
if (b == "AFTERBEGIN" || b == "BEFOREEND") {
d.selectNodeContents(a);
d.collapse(b == "AFTERBEGIN")
} else {
b = b == "BEFOREBEGIN";
d[b ? "setStartBefore" : "setEndAfter"](a);
d.collapse(b)
}
d.insertNode(d.createContextualFragment(c))
}
return a
};
x.Hx = x.D.Hx;
x.D.show = function(a) {
a = x.D.$(a);
if (a === p) return a;
a.style.display = "";
return a
};
x.show = x.D.show;
x.D.GD = function(a) {
a = x.D.$(a);
return a === p ? a : a.nodeType == 9 ? a : a.ownerDocument || a.document
};
x.D.Ta = function(a, b) {
a = x.D.$(a);
if (a === p) return a;
for (var c = b.split(/\s+/), d = a.className, e = " " + d + " ", f = 0, g = c.length; f < g; f++) e.indexOf(" " + c[f] + " ") < 0 && (d = d + (" " + c[f]));
a.className = d;
return a
};
x.Ta = x.D.Ta;
x.D.DB = x.D.DB || {};
x.D.Kl = x.D.Kl || [];
x.D.Kl.filter = function(a, b, c) {
for (var d = 0, e = x.D.Kl, f; f = e[d]; d++) if (f = f[c]) b = f(a, b);
return b
};
x.Sk.oO = function(a) {
return a.indexOf("-") < 0 && a.indexOf("_") < 0 ? a : a.replace(/[-_][^-_]/g, function(a) {
return a.charAt(1).toUpperCase()
})
};
x.D.D_ = function(a) {
x.D.$s(a, "expand") ? x.D.Rb(a, "expand") : x.D.Ta(a, "expand")
};
x.D.$s = function(a) {
if (arguments.length <= 0 || typeof a === "function") return this;
if (this.size() <= 0) return q;
var a = a.replace(/^\s+/g, "").replace(/\s+$/g, "").replace(/\s+/g, " "),
b = a.split(" "),
c;
x.forEach(this, function(a) {
for (var a = a.className, e = 0; e < b.length; e++) if (! ~(" " + a + " ").indexOf(" " + b[e] + " ")) {
c = q;
return
}
c !== q && (c = o)
});
return c
};
x.D.tj = function(a, b) {
var c = x.D,
a = c.$(a);
if (a === p) return a;
var b = x.Sk.oO(b),
d = a.style[b];
if (!d) var e = c.DB[b],
d = a.currentStyle || (x.ea.la ? a.style : getComputedStyle(a, p)),
d = e && e.get ? e.get(a, d) : d[e || b];
if (e = c.Kl) d = e.filter(b, d, "get");
return d
};
x.tj = x.D.tj;
/opera\/(\d+\.\d)/i.test(navigator.userAgent) && (x.ea.opera = +RegExp.$1);
x.ea.jM = /webkit/i.test(navigator.userAgent);
x.ea.kY = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent);
x.ea.uE = "CSS1Compat" == document.compatMode;
x.D.ha = function(a) {
a = x.D.$(a);
if (a ==