var interwords = {
confirm: "确认",
cancel: "取消",
close: "关闭",
def: "缺省",
again: "请重新尝试操作!",
norecord: "没有数据记录",
addrecord: "请先在网站后台添加数据记录",
nodata: "没有数据",
specialChar: '不能含有“;/?:@=&<>"#%{}|\\^~[]`”特殊字符。',
loading: "加载中...",
error: "出错啦",
antistop: "请输入关键词",
keyword: "请输入关键字",
beijing: "北京市",
myriad: "万",
prompt: "温馨提示:",
auth: {}
};
interwords.auth.operationNoPer = "对不起,您无权限做此操作!",
interwords.auth.viewNoPer = "对不起,您无权限访问该页面!",
interwords.auth.bakHome = "返回首页",
interwords.jumpPlaceholder = "请输入页码";
window.siteIsPc = !0,
window.foreignList = JSON.parse(document.getElementById("h_foreignList").value),
window.tenant = JSON.parse(document.getElementById("h_tenant").value);
var qrcodeDomain = document.getElementById("h_qrcodeDomain").value;
window.commonShortUrl = "" == qrcodeDomain ? "" : qrcodeDomain + "/",
window.upgradeVersion = document.getElementById("h_upgradeVersion").value;
var isxinnet = document.getElementById("h_isxinnet").value;
window.noredirectCookieName = "_noredirect";
var visittrack_siteId = document.getElementById("h_visittrack_siteId").value
, visittrack_url = ""
, gatherScripts = ""
, unittype = window.tenant.unittype;
window.globalObj = {},
window.globalObj.isOpenSSL = "true" == document.getElementById("h_isOpenSSL").value,
"100009" != unittype && "100084" != unittype && "100007" != unittype && (window.intelligetJump = document.getElementById("h_intelligetJump") ? document.getElementById("h_intelligetJump").value : {}),
"100001" == unittype && (window.getMultilingual = document.getElementById("h_getMultilingual") ? document.getElementById("h_getMultilingual").value : {});
try {
var domainArr = window.location.hostname.split(".")
, preDomain = domainArr[domainArr.length - 2] + "." + domainArr[domainArr.length - 1];
/(com|cn|org|net|xin|edu|ac)\..*/.test(preDomain) && (preDomain = domainArr[domainArr.length - 3] + "." + domainArr[domainArr.length - 2] + "." + domainArr[domainArr.length - 1]),
document.domain = preDomain
} catch (e) {}
var isStaticedDemo = window.isStaticedDemo || !1;
window._isLoaded = !1,
window.sendLevel = /(.+\.make\..+)|(.+\.oper\..+)|(.+\..*site\.yun300\.cn)/;
var getParentWindow = function() {
try {
return parent.zqceparentaaaa || parent
} catch (e) {
return window
}
};
function getStaticHost() {
var e = "static."
, t = window.location.hostname;
return null == window.tenant ? t : sendLevel.test(t) || "1" != tenant.cdnFlag ? t : t.startWith("www.") ? t.replace("www.", e) : e + t
}
function getHost() {
var e = window.location.hostname;
return sendLevel.test(e) ? e : e.startWith("www.") ? e.replace("www.", "") : e
}
function getImgRepositoryHost() {
var e = window.globalObj.getProtocol()
, t = "img01."
, n = window.location.hostname;
return null == tenant ? e + n : sendLevel.test(n) || "1" != tenant.cdnFlag ? e + n : n.startWith("www.") ? e + n.replace("www.", t) : e + t + n
}
function injectScript(e, t, n, i) {
if (void 0 === i && (i = 0),
i >= t.length)
n();
else {
var r = e.createElement("script");
r.type = "text/javascript",
r.src = t[i],
r.onload = r.onreadystatechange = function() {
r.readyState && "loaded" != r.readyState && "complete" != r.readyState || t[i] && (t[i] = null,
injectScript(e, t, n, i + 1))
}
,
e.getElementsByTagName("head")[0].appendChild(r)
}
}
function isFrontEnv() {
return !(null != getParentWindow().$LAB && "object" == typeof getParentWindow().$LAB)
}
window.globalObj = window.globalObj || {},
function() {
var e, t;
t = "",
window.globalObj.getProtocol = function() {
return t || (t = "//"),
t
}
,
window.globalObj.getProtocolHead = function() {
return e || (e = location.protocol.substring(0, location.protocol.length - 1)),
e
}
}(),
String.prototype.endWith = function(e) {
return !(null == e || "" == e || 0 == this.length || e.length > this.length) && this.substring(this.length - e.length) == e
}
,
String.prototype.startWith = function(e) {
return !(null == e || "" == e || 0 == this.length || e.length > this.length) && this.substr(0, e.length) == e
}
;
var $define = function(e, t, n) {
$control.isArray(e) && e.unshift("jquery"),
$control.isArray(t) && t.unshift("jquery"),
define(e, t, n)
}, $compCl = function() {
var n = {}
, t = [];
return {
addComp: function(e, t) {
t.init && (n[e] = t.init)
},
initAll: function(e) {
e({
requireJsAry: t,
initFuncs: n
})
},
getAllInitFunc: function() {
return n
},
getAllRequire: function() {
return t
},
getScope: function(e) {
return 1 <= $("#c_" + e).length ? $("#c_" + e) : $("#comp_" + e)
}
}
}(), $control = {
refreshAll: function() {
$compCl.initAll(function(e) {
var n = e.initFuncs;
e.requireJsAry;
!function i() {
for (var e in n)
try {
n[e].init()
} catch (t) {
window.console && window.console.log("exec-comp name:" + e)
}
}()
})
},
refreshById: function(e) {
var t, n = $compCl.getAllInitFunc()[e];
try {
t = n.init
} catch (i) {}
return t instanceof Function && n.init(),
n
},
isArray: function(e) {
return "[object Array]" === Object.prototype.toString.call(e)
}
}, _compIndex = 0, $comp = function(e) {
var o = e;
o.noDataFlag === undefined || "true" !== o.noDataFlag.toString() ? (_compIndex++,
require(["utils"], function(e) {
require(o.lib, function(e) {
var t, n, i = $compCl.getScope(o.id), r = !1;
i.is(":hidden") && isFrontEnv() && (t = i.closest(".p_box003")).length && (t.css("visibility", "hidden"),
r = !0,
t.hasClass("active") ? n = !0 : t.addClass("active")),
e._params = o,
e.scope = i,
e.init(),
r && (t.css("visibility", "visible"),
n || t.removeClass("active")),
i.attr("loaded", "true"),
$compCl.addComp(o.id, {
init: e
}),
sendLevel.test(window.location.hostname) || i.find("[domain-src]").each(function() {
-1 == $(this).attr("src").indexOf(window.globalObj.getProtocol()) && $(this).attr("src", getImgRepositoryHost() + $(this).attr("src")),
$(this).removeAttr("domain-src")
}),
window.onmessage = function(e) {
var t = (e = e || event).data;
if (t.name = "dialogIframe") {
var n = $("div[id^='c_']");
"singleRow" == t.htmlType && (n.width("100%"),
n.css("top", "0px"),
n.css("left", "0px")),
$("body").addClass("js-dialogIframe")
}
}
,
_compIndex--,
e._params.complete && e._params.complete(),
0 == _compIndex && $.allComplete && $.allComplete(),
_isLoaded && 0 == _compIndex && require(["wgt_readyload"], function(e) {
e.lazyImg({
defObj: "body"
}),
e.setCompPostion()
})
})
})) : $compCl.getScope(o.id).attr("loaded", "true")
}, $compDebug = -1 != document.location.search.indexOf("DEBUGJS=TRUE"), requirejs, require, define;
!function(global) {
var req, s, head, baseElement, dataMain, src, interactiveScript, currentlyAddingScript, mainScript, subPath, version = "2.1.11", commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm, cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, jsSuffixRegExp = /\.js$/, currDirRegExp = /^\.\//, op = Object.prototype, ostring = op.toString, hasOwn = op.hasOwnProperty, ap = Array.prototype, apsp = ap.splice, isBrowser = !("undefined" == typeof window || "undefined" == typeof navigator || !window.document), isWebWorker = !isBrowser && "undefined" != typeof importScripts, readyRegExp = isBrowser && "PLAYSTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/, defContextName = "_", isOpera = "undefined" != typeof opera && "[object Opera]" === opera.toString(), contexts = {}, cfg = {}, globalDefQueue = [], useInteractive = !1;
function isFunction(e) {
return "[object Function]" === ostring.call(e)
}
function isArray(e) {
return "[object Array]" === ostring.call(e)
}
function each(e, t) {
var n;
if (e)
for (n = 0; n < e.length && (!e[n] || !t(e[n], n, e)); n += 1)
;
}
function eachReverse(e, t) {
var n;
if (e)
for (n = e.length - 1; -1 < n && (!e[n] || !t(e[n], n, e)); n -= 1)
;
}
function hasProp(e, t) {
return hasOwn.call(e, t)
}
function getOwn(e, t) {
return hasProp(e, t) && e[t]
}
function eachProp(e, t) {
var n;
for (n in e)
if (hasProp(e, n) && t(e[n], n))
break
}
function mixin(n, e, i, r) {
return e && eachProp(e, function(e, t) {
!i && hasProp(n, t) || (!r || "object" != typeof e || !e || isArray(e) || isFunction(e) || e instanceof RegExp ? n[t] = e : (n[t] || (n[t] = {}),
mixin(n[t], e, i, r)))
}),
n
}
function bind(e, t) {
return function() {
return t.apply(e, arguments)
}
}
function scripts() {
return document.getElementsByTagName("script")
}
function defaultOnError(e) {
throw e
}
function getGlobal(e) {
if (!e)
return e;
var t = global;
return each(e.split("."), function(e) {
t = t[e]
}),
t
}
function makeError(e, t, n, i) {
var r = new Error(t + "\nhttp://cecece/docs/errors.html#" + e);
return r.requireType = e,
r.requireModules = i,
n && (r.originalError = n),
r
}
if (void 0 === define) {
if (void 0 !== requirejs) {
if (isFunction(requirejs))
return;
cfg = requirejs,
requirejs = undefined
}
void 0 === require || isFunction(require) || (cfg = require,
require = undefined),
req = requirejs = function(e, t, n, i) {
var r, o, a = defContextName;
return isArray(e) || "string" == typeof e || (o = e,
isArray(t) ? (e = t,
t = n,
n = i) : e = []),
o && o.context && (a = o.context),
(r = getOwn(contexts, a)) || (r = contexts[a] = req.s.newContext(a)),
o && r.configure(o),
r.require(e, t, n)
}
,
req.config = function(e) {
return req(e)
}
,
req.nextTick = "undefined" != typeof setTimeout ? function(e) {
setTimeout(e, 4)
}
: function(e) {
e()
}
,
require || (require = req),
req.version = version,
req.jsExtRegExp = /^\/|:|\?|\.js$/,
req.isBrowser = isBrowser,
s = req.s = {
contexts: contexts,
newContext: newContext
},
req({}),
each(["toUrl", "undef", "defined", "specified"], function(t) {
req[t] = function() {
var e = contexts[defContextName];
return e.require[t].apply(e, arguments)
}
}),
isBrowser && (head = s.head = document.getElementsByTagName("head")[0],
baseElement = document.getElementsByTagName("base")[0],
baseElement && (head = s.head = baseElement.parentNode)),
req.onError = defaultOnError,
req.createNode = function(e, t, n) {
var i = e.xhtml ? document.createElementNS("http://www.w3.org/1999/xhtml", "html:script") : document.createElement("script");
return i.type = e.scriptType || "text/javascript",
i.charset = "utf-8",
i.async = !0,
i
}
,
req.collectionAllRequireSJs = [],
req.load = function(e, t, n) {
var i, r = e && e.config || {};
if (isBrowser)
return (i = req.createNode(r, t, n)).setAttribute("data-requirecontext", e.contextName),
i.setAttribute("data-requiremodule", t),
!i.attachEvent || i.attachEvent.toString && i.attachEvent.toString().indexOf("[native code") < 0 || isOpera ? (i.addEventListener("load", e.onScriptLoad, !1),
i.addEventListener("error", e.onScriptError, !1)) : (useInteractive = !0,
i.attachEvent("onreadystatechange", e.onScriptLoad)),
$compDebug || -1 == n.indexOf("jquery.datePicker.js") && -1 == n.indexOf("ckeditor.js") && -1 == n.indexOf("/cjgj/") && (n = n.replace(/.{1}js$/, ".min.js")),
-1 != n.indexOf("v=") || isStaticedDemo || (-1 != n.indexOf("?") && "0" != upgradeVersion ? n += "&v=" + upgradeVersion : n += "?v=" + upgradeVersion),
2 == tenant.cdnFlag && location.hostname == tenant.domain && -1 == n.indexOf("viewType=") && (-1 != n.indexOf("?") ? n += "&viewType=1" : n += "?viewType=1"),
i.src = n,
currentlyAddingScript = i,
baseElement ? head.insertBefore(i, baseElement) : head.appendChild(i),
currentlyAddingScript = null,
i;
if (isWebWorker)
try {
importScripts(n),
e.completeLoad(t)
} catch (o) {
e.onError(makeError("importscripts", "importScripts failed for " + t + " at " + n, o, [t]))
}
}
,
isBrowser && !cfg.skipDataMain && eachReverse(scripts(), function(e) {
if (head || (head = e.parentNode),
dataMain = e.getAttribute("data-main"))
return mainScript = dataMain,
cfg.baseUrl || (mainScript = (src = mainScript.split("/")).pop(),
subPath = src.length ? src.join("/") + "/" : "./",
cfg.baseUrl = subPath),
mainScript = mainScript.replace(jsSuffixRegExp, ""),
req.jsExtRegExp.test(mainScript) && (mainScript = dataMain),
cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript],
!0
}),
define = function(e, n, t) {
var i, r;
"string" != typeof e && (t = n,
n = e,
e = null),
isArray(n) || (t = n,
n = null),
!n && isFunction(t) && (n = [],
t.length && (t.toString().replace(commentRegExp, "").replace(cjsRequireRegExp, function(e, t) {
n.push(t)
}),
n = (1 === t.length ? ["require"] : ["require", "exports", "module"]).concat(n))),
useInteractive && (i = currentlyAddingScript || getInteractiveScript()) && (e || (e = i.getAttribute("data-requiremodule")),
r = contexts[i.getAttribute("data-requirecontext")]),
(r ? r.defQueue : globalDefQueue).push([e, n, t])
}
,
define.amd = !1,
define.zqamd = !0,
req.exec = function(text) {
return eval(text)
}
,
req(cfg)
}
function newContext(l) {
var n, e, p, u, c, y = {
waitSeconds: 7,
baseUrl: "./",
paths: {},
bundles: {},
pkgs: {},
shim: {},
config: {}
}, d = {}, f = {}, i = {}, h = [], m = {}, r = {}, g = {}, v = 1, b = 1;
function w(e, t, n) {
var i, r, o, a, s, l, u, c, d, f, p = t && t.split("/"), h = p, m = y.map, g = m && m["*"];
if (e && "." === e.charAt(0) && (t ? (h = p.slice(0, p.length - 1),
l = (e = e.split("/")).length - 1,
y.nodeIdCompat && jsSuffixRegExp.test(e[l]) && (e[l] = e[l].replace(jsSuffixRegExp, "")),
function v(e) {
var t, n, i = e.length;
for (t = 0; t < i; t++)
if ("." === (n = e[t]))
e.splice(t, 1),
t -= 1;
else if (".." === n) {
if (1 === t && (".." === e[2] || ".." === e[0]))
break;
0 < t && (e.splice(t - 1, 2),
t -= 2)
}
}(e = h.concat(e)),
e = e.join("/")) : 0 === e.indexOf("./") && (e = e.substring(2))),
n && m && (p || g)) {
e: for (o = (r = e.split("/")).length; 0 < o; o -= 1) {
if (s = r.slice(0, o).join("/"),
p)
for (a = p.length; 0 < a; a -= 1)
if ((i = getOwn(m, p.slice(0, a).join("/"))) && (i = getOwn(i, s))) {
u = i,
c = o;
break e
}
!d && g && getOwn(g, s) && (d = getOwn(g, s),
f = o)
}
!u && d && (u = d,
c = f),
u && (r.splice(0, c, u),
e = r.join("/"))
}
return getOwn(y.pkgs, e) || e
}
function x(t) {
isBrowser && each(scripts(), function(e) {
if (e.getAttribute("data-requiremodule") === t && e.getAttribute("data-requirecontext") === p.contextName)
return e.parentNode.removeChild(e),
!0
})
}
function C(e) {
var t = getOwn(y.paths, e);
if (t && isArray(t) && 1 < t.length)
return t.shift(),
p.require.undef(e),
p.require([e]),
!0
}
function T(e) {
var t, n = e ? e.indexOf("!") : -1;
return -1 < n && (t = e.substring(0, n),
e = e.substring(n + 1, e.length)),
[t, e]
}
function E(e, t, n, i) {
var r, o, a, s, l = null, u = t ? t.name : null, c = e, d = !0, f = "";
return e || (d = !1,
e = "_@r" + (v += 1)),
l = (s = T(e))[0],
e = s[1],
l && (l = w(l, u, i),
o = getOwn(m, l)),
e && (l ? f = o && o.normalize ? o.normalize(e, function(e) {
return w(e, u, i)
}) : w(e, u, i) : (l = (s = T(f = w(e, u, i)))[0],
f = s[1],
n = !0,
r = p.nameToUrl(f))),
{
prefix: l,
name: f,
parentMap: t,
unnormalized: !!(a = !l || o || n ? "" : "_unnormalized" + (b += 1)),
url: r,
originalName: c,
isDefine: d,
id: (l ? l + "!" + f : f) + a
}
}
function _(e) {
var t = e.id
, n = getOwn(d, t);
return n || (n = d[t] = new p.Module(e)),
n
}
function k(e, t, n) {
var i = e.id
, r = getOwn(d, i);
!hasProp(m, i) || r && !r.defineEmitComplete ? (r = _(e)).error && "error" === t ? n(r.error) : r.on(t, n) : "defined" === t && n(m[i])
}
function S(n, e) {
var t = n.requireModules
, i = !1;
e ? e(n) : (each(t, function(e) {
var t = getOwn(d, e);
t && (t.error = n,
t.events.error && (i = !0,
t.emit("error", n)))
}),
i || req.onError(n))
}
function j() {
globalDefQueue.length && (apsp.apply(h, [h.length, 0].concat(globalDefQueue)),
globalDefQueue = [])
}
function N(e) {
delete d[e],
delete f[e]
}
function q() {
var e, i, t = 1e3 * y.waitSeconds, r = t && p.startTime + t < (new Date).getTime(), o = [], a = [], s = !1, l = !0;
if (!n) {
if (n = !0,
eachProp(f, function(e) {
var t = e.map
, n = t.id;
if (e.enabled && (t.isDefine || a.push(e),
!e.error))
if (!e.inited && r)
C(n) ? s = i = !0 : (o.push(n),
x(n));
else if (!e.inited && e.fetched && t.isDefine && (s = !0,
!t.prefix))
return l = !1
}),
r && o.length)
return (e = makeError("timeout", "Load timeout for modules: " + o, null, o)).contextName = p.contextName,
S(e);
l && each(a, function(e) {
!function s(r, o, a) {
var e = r.map.id;
r.error ? r.emit("error", r.error) : (o[e] = !0,
each(r.depMaps, function(e, t) {
var n = e.id
, i = getOwn(d, n);
!i || r.depMatched[t] || a[n] || (getOwn(o, n) ? (r.defineDep(t, m[n]),
r.check()) : s(i, o, a))
}),
a[e] = !0)
}(e, {}, {})
}),
r && !i || !s || !isBrowser && !isWebWorker || c || (c = setTimeout(function() {
c = 0,
q()
}, 50)),
n = !1
}
}
function a(e) {
hasProp(m, e[0]) || _(E(e[0], null, !0)).init(e[1], e[2])
}
function o(e, t, n, i) {
e.detachEvent && !isOpera ? i && e.detachEvent(i, t) : e.removeEventListener(n, t, !1)
}
function s(e) {
var t = e.currentTarget || e.srcElement;
return o(t, p.onScriptLoad, "load", "onreadystatechange"),
o(t, p.onScriptError, "error"),
{
node: t,
id: t && t.getAttribute("data-requiremodule")
}
}
function A() {
var e;
for (j(); h.length; ) {
if (null === (e = h.shift())[0])
return S(makeError("mismatch", "Mismatched anonymous define() module: " + e[e.length - 1]));
a(e)
}
}
return u = {
require: function(e) {
return e.require ? e.require : e.require = p.makeRequire(e.map)
},
exports: function(e) {
if (e.usingExports = !0,
e.map.isDefine)
return e.exports ? m[e.map.id] = e.exports : e.exports = m[e.map.id] = {}
},
module: function(e) {
return e.module ? e.module : e.module = {
id: e.map.id,
uri: e.map.url,
config: function() {
return getOwn(y.config, e.map.id) || {}
},
exports: e.exports || (e.exports = {})
}
}
},
(e = function(e) {
this.events = getOwn(i, e.id) || {},
this.map = e,
this.shim = getOwn(y.shim, e.id),
this.depExports = [],
this.depMaps = [],
this.depMatched = [],
this.pluginMaps = {},
this.depCount = 0
}
).prototype = {
init: function(e, t, n, i) {
i = i || {},
this.inited || (this.factory = t,
n ? this.on("error", n) : this.events.error && (n = bind(this, function(e) {
this.emit("error", e)
})),
this.depMaps = e && e.slice(0),
this.errback = n,
this.inited = !0,
this.ignore = i.ignore,
i.enabled || this.enabled ? this.enable() : this.check())
},
defineDep: function(e, t) {
this.depMatched[e] || (this.depMatched[e] = !0,
this.depCount -= 1,
this.depExports[e] = t)
},
fetch: function() {
if (!this.fetched) {
this.fetched = !0,
p.startTime = (new Date).getTime();
var e = this.map;
if (!this.shim)
return e.prefix ? this.callPlugin() : this.load();
p.makeRequire(this.map, {
enableBuildCallback: !0
})(this.shim.deps || [], bind(this, function() {
return e.prefix ? this.callPlugin() : this.load()
}))
}
},
load: function() {
var e = this.map.url;
r[e] || (r[e] = !0,
p.load(this.map.id, e))
},
check: function() {
if (this.enabled && !this.enabling) {
var e, t, n = this.map.id, i = this.depExports, r = this.exports, o = this.factory;
if (this.inited) {
if (this.error)
this.emit("error", this.error);
else if (!this.defining) {
if (this.defining = !0,
this.depCount < 1 && !this.defined) {
if (isFunction(o)) {
if (this.events.error && this.map.isDefine || req.onError !== defaultOnError)
try {
r = p.execCb(n, o, i, r)
} catch (a) {
e = a
}
else
r = p.execCb(n, o, i, r);
if (this.map.isDefine && r === undefined && ((t = this.module) ? r = t.exports : this.usingExports && (r = this.exports)),
e)
return e.requireMap = this.map,
e.requireModules = this.map.isDefine ? [this.map.id] : null,
e.requireType = this.map.isDefine ? "define" : "require",
S(this.error = e)
} else
r = o;
this.exports = r,
this.map.isDefine && !this.ignore && (m[n] = r,
req.onResourceLoad && req.onResourceLoad(p, this.map, this.depMaps)),
N(n),
this.defined = !0
}
this.defining = !1,
this.defined && !this.defineEmitted && (this.defineEmitted = !0,
this.emit("defined", this.exports),
this.defineEmitComplete = !0)
}
} else
this.fetch()
}
},
callPlugin: function() {
var l = this.map
, u = l.id
, e = E(l.prefix);
this.depMaps.push(e),
k(e, "defined", bind(this, function(e) {
var a, t, n, i = getOwn(g, this.map.id), r = this.map.name, o = this.map.parentMap ? this.map.parentMap.name : null, s = p.makeRequire(l.parentMap, {
enableBuildCallback: !0
});
return this.map.unnormalized ? (e.normalize && (r = e.normalize(r, function(e) {
return w(e, o, !0)
}) || ""),
k(t = E(l.prefix + "!" + r, this.map.parentMap), "defined", bind(this, function(e) {
this.init([], function() {
return e
}, null, {
enabled: !0,
ignore: !0
})
})),
void ((n = getOwn(d, t.id)) && (this.depMaps.push(t),
this.events.error && n.on("error", bind(this, function(e) {
this.emit("error", e)
})),
n.enable()))) : i ? (this.map.url = p.nameToUrl(i),
void this.load()) : ((a = bind(this, function(e) {
this.init([], function() {
return e
}, null, {
enabled: !0
})
})).error = bind(this, function(e) {
this.inited = !0,
(this.error = e).requireModules = [u],
eachProp(d, function(e) {
0 === e.map.id.indexOf(u + "_unnormalized") && N(e.map.id)
}),
S(e)
}),
a.fromText = bind(this, function(e, t) {
var n = l.name
, i = E(n)
, r = useInteractive;
t && (e = t),
r && (useInteractive = !1),
_(i),
hasProp(y.config, u) && (y.config[n] = y.config[u]);
try {
req.exec(e)
} catch (o) {
return S(makeError("fromtexteval", "fromText eval for " + u + " failed: " + o, o, [u]))
}
r && (useInteractive = !0),
this.depMaps.push(i),
p.completeLoad(n),
s([n], a)
}),
void e.load(l.name, s, a, y))
})),
p.enable(e, this),
this.pluginMaps[e.id] = e
},
enable: function() {
(f[this.map.id] = this).enabled = !0,
this.enabling = !0,
each(this.depMaps, bind(this, function(e, t) {
var n, i, r;
if ("string" == typeof e) {
if (e = E(e, this.map.isDefine ? this.map : this.map.parentMap, !1, !this.skipMap),
this.depMaps[t] = e,
r = getOwn(u, e.id))
return void (this.depExports[t] = r(this));
this.depCount += 1,
k(e, "defined", bind(this, function(e) {
this.defineDep(t, e),
this.check()
})),
this.errback && k(e, "error", bind(this, this.errback))
}
n = e.id,
i = d[n],
hasProp(u, n) || !i || i.enabled || p.enable(e, this)
})),
eachProp(this.pluginMaps, bind(this, function(e) {
var t = getOwn(d, e.id);
t && !t.enabled && p.enable(e, this)
})),
this.enabling = !1,
this.check()
},
on: function(e, t) {
var n = this.events[e];
n || (n = this.events[e] = []),
n.push(t)
},
emit: function(e, t) {
each(this.events[e], function(e) {
e(t)
}),
"error" === e && delete this.events[e]
}
},
(p = {
config: y,
contextName: l,
registry: d,
defined: m,
urlFetched: r,
defQueue: h,
Module: e,
makeModuleMap: E,
nextTick: req.nextTick,
onError: S,
configure: function(e) {
e.baseUrl && "/" !== e.baseUrl.charAt(e.baseUrl.length - 1) && (e.baseUrl += "/");
var n = y.shim
, i = {
paths: !0,
bundles: !0,
config: !0,
map: !0
};
eachProp(e, function(e, t) {
i[t] ? (y[t] || (y[t] = {}),
mixin(y[t], e, !0, !0)) : y[t] = e
}),
e.bundles && eachProp(e.bundles, function(e, t) {
each(e, function(e) {
e !== t && (g[e] = t)
})
}),
e.shim && (eachProp(e.shim, function(e, t) {
isArray(e) && (e = {
deps: e
}),
!e.exports && !e.init || e.exportsFn || (e.exportsFn = p.makeShimExports(e)),
n[t] = e
}),
y.shim = n),
e.packages && each(e.packages, function(e) {
var t;
t = (e = "string" == typeof e ? {
name: e
} : e).name,
e.location && (y.paths[t] = e.location),
y.pkgs[t] = e.name + "/" + (e.main || "main").replace(currDirRegExp, "").replace(jsSuffixRegExp, "")
}),
eachProp(d, function(e, t) {
e.inited || e.map.unnormalized || (e.map = E(t))
}),
(e.deps || e.callback) && p.require(e.deps || [], e.callback)
},
makeShimExports: function(t) {
return function n() {
var e;
return t.init && (e = t.init.apply(global, arguments)),
e || t.exports && getGlobal(t.exports)
}
},
makeRequire: function(o, a) {
function s(e, t, n) {
var i, r;
return a.enableBuildCallback && t && isFunction(t) && (t.__requireJsBuild = !0),
"string" == typeof e ? isFunction(t) ? S(makeError("requireargs", "Invalid require call"), n) : o && hasProp(u, e) ? u[e](d[o.id]) : req.get ? req.get(p, e, o, s) : (i = E(e, o, !1, !0).id,
hasProp(m, i) ? m[i] : S(makeError("notloaded", 'Module name "' + i + '" has not been loaded yet for context: ' + l + (o ? "" : ". Use require([])")))) : (A(),
p.nextTick(function() {
A(),
(r = _(E(null, o))).skipMap = a.skipMap,
r.init(e, t, n, {
enabled: !0
}),
q()
}),
s)
}
return a = a || {},
mixin(s, {
isBrowser: isBrowser,
toUrl: function(e) {
var t, n = e.lastIndexOf("."), i = e.split("/")[0];
return -1 !== n && (!("." === i || ".." === i) || 1 < n) && (t = e.substring(n, e.length),
e = e.substring(0, n)),
p.nameToUrl(w(e, o && o.id, !0), t, !0)
},
defined: function(e) {
return hasProp(m, E(e, o, !1, !0).id)
},
specified: function(e) {
return e = E(e, o, !1, !0).id,
hasProp(m, e) || hasProp(d, e)
}
}),
o || (s.undef = function(n) {
j();
var e = E(n, o, !0)
, t = getOwn(d, n);
x(n),
delete m[n],
delete r[e.url],
delete i[n],
eachReverse(h, function(e, t) {
e[0] === n && h.splice(t, 1)
}),
t && (t.events.defined && (i[n] = t.events),
N(n))
}
),
s
},
enable: function(e) {
getOwn(d, e.id) && _(e).enable()
},
completeLoad: function(e) {
var t, n, i, r = getOwn(y.shim, e) || {}, o = r.exports;
for (j(); h.length; ) {
if (null === (n = h.shift())[0]) {
if (n[0] = e,
t)
break;
t = !0
} else
n[0] === e && (t = !0);
a(n)
}
if (i = getOwn(d, e),
!t && !hasProp(m, e) && i && !i.inited) {
if (!(!y.enforceDefine || o && getGlobal(o)))
return C(e) ? void 0 : S(makeError("nodefine", "No define call for " + e, null, [e]));
a([e, r.deps || [], r.exportsFn])
}
q()
},
nameToUrl: function(e, t, n) {
var i, r, o, a, s, l, u = getOwn(y.pkgs, e);
if (u && (e = u),
l = getOwn(g, e))
return p.nameToUrl(l, t, n);
if (req.jsExtRegExp.test(e))
a = e + (t || "");
else {
for (i = y.paths,
o = (r = e.split("/")).length; 0 < o; o -= 1)
if (s = getOwn(i, r.slice(0, o).join("/"))) {
isArray(s) && (s = s[0]),
r.splice(0, o, s);
break
}
a = r.join("/"),
a = ("/" === (a += t || (/^data\:|\?/.test(a) || n ? "" : ".js")).charAt(0) || a.match(/^[\w\+\.\-]+:/) ? "" : y.baseUrl) + a
}
return y.urlArgs ? a + (-1 === a.indexOf("?") ? "?" : "&") + y.urlArgs : a
},
load: function(e, t) {
req.load(p, e, t)
},
execCb: function(e, t, n, i) {
return t.apply(i, n)
},
onScriptLoad: function(e) {
if ("load" === e.type || readyRegExp.test((e.currentTarget || e.srcElement).readyState)) {
interactiveScript = null;
var t = s(e);
p.completeLoad(t.id)
}
},
onScriptError: function(e) {
var t = s(e);
if (!C(t.id))
return S(makeError("scripterror", "Script error for: " + t.id, e, [t.id]))
}
}).require = p.makeRequire(),
p
}
function getInteractiveScript() {
return interactiveScript && "interactive" === interactiveScript.readyState || eachReverse(scripts(), function(e) {
if ("interactive" === e.readyState)
return interactiveScript = e
}),
interactiveScript
}
}(this);
var FOP = {}
, wgtCommonPath = "wgt/frontPlugin/"
, wgtlib = "wgt/coreLibs/"
, needStatic = 2 == tenant.cdnFlag && location.hostname == tenant.domain;
require.config({
baseUrl: window.isStaticedDemo ? "../../public/" : needStatic ? "//static.yun300.cn/public/" : window.globalObj.getProtocol() + getStaticHost() + "/public/",
waitSeconds: 8e3,
shim: {
bMap: {
exports: "bMap"
}
},
paths: {
utils: wgtlib + "utils",
wgt_util: wgtCommonPath + "wgt_util",
wgt_etree: wgtCommonPath + "wgt_etree",
wgt_etree_cross: wgtCommonPath + "wgt_etree_cross",
wgt_lazyload: wgtCommonPath + "wgt_lazyload",
wgt_readyload: wgtCommonPath + "wgt_readyload",
"jquery.adFocus": wgtCommonPath + "jquery.adFocus",
"jquery.carouselPic": wgtCommonPath + "jquery.carouselPic",
"jquery.mobileAdFocus": wgtCommonPath + "jquery.mobileAdFocus",
swiper: wgtCommonPath + "swiper",
velocity: wgtCommonPath + "velocity",
"jquery.overEllipsis": wgtCommonPath + "jquery.overEllipsis",
"jquery.easyZoom": wgtCommonPath + "jquery.easyZoom",
"jquery.dialogMgr": wgtCommonPath + "jquery.dialogMgr",
"jquery.formValidate": wgtCommonPath + "jquery.formValidate",
ckeditor: wgtCommonPath + "ckeditor/ckeditor",
"jquery.datePicker": wgtCommonPath + "DatePicker-LQ/js/jquery.datePicker",
"jquery.searchList": wgtCommonPath + "jqueryFn/jquery.searchList",
third_baiduMap: window.globalObj.getProtocol() + "api.map.baidu.com/getscript?v=1.4",
third_baiduMap_2: window.globalObj.getProtocol() + "api.map.baidu.com/getscript?v=2.0&ak=kszsXMCsNwN4RVovrRfGbHIeV9G5p8GP&services=&t=20170912191900",
bMap: window.globalObj.getProtocol() + "api.map.baidu.com/api?v=2.0&ak=kszsXMCsNwN4RVovrRfGbHIeV9G5p8GP&s=1&services=&t=20170912191900",
async: wgtCommonPath + "async",
"jquery.baidumap": wgtCommonPath + "jquery.baidumap",
"jquery.qrcode": wgtCommonPath + "jquery.qrcode",
paging: wgtCommonPath + "paging",
frontPaging: wgtCommonPath + "jquery.frontPaging",
"jquery.fileDownload": wgtCommonPath + "jquery.fileDownload",
dotdotdot: wgtCommonPath + "jquery.dotdotdot",
tmpl: wgtCommonPath + "jquery.tmpl",
etreeCrossApart: wgtCommonPath + "jquery.etreeCrossApart",
etreeApart: wgtCommonPath + "jquery.etreeApart",
ks3jssdk: wgtCommonPath + "ks3jssdk",
ufile: wgtCommonPath + "ufile",
sparkMd5: wgtCommonPath + "spark-md5-3.0.0",
"jquery.region": wgtCommonPath + "jquery.region",
regionJsonData: wgtCommonPath + "regionJsonData",
"jquery.marquee": wgtCommonPath + "jquery.marquee",
"jquery.regionNew": wgtCommonPath + "jquery.regionNew",
regionJsonDataNew: "js/common/metaCountryData",
foreignRegionJsonData: "js/common/foreignMetaCountryData",
"foreignRegionJsonData-HN": "js/common/foreignMetaCountryData-HN",
globalTelCode: "js/common/global_tel_code",
afterLoad: "wgt/coreLibs/afterLoad",
md5: wgtCommonPath + "jquery.md5",
xadFocus: wgtCommonPath + "xadFocus",
xcategory: wgtCommonPath + "xcategory",
"jquery.counter": wgtCommonPath + "jquery.counter",
"jquery.message": wgtCommonPath + "jquery.message",
"jquery.confirm": wgtCommonPath + "jquery.confirm",
"jquery.mediaQuery": wgtCommonPath + "jquery.mediaQuery",
"swiper4.4.2": wgtCommonPath + "swiper4.4.2",
bootstrap: wgtCommonPath + "bootstrap",
adFocus: "m/wgt/frontPlugin/jquery.adFocus",
"jquery.share": wgtCommonPath + "iShare",
audio: wgtCommonPath + "audio",
clipboard: wgtCommonPath + "clipboard",
"jquery.regionTreeSelect": wgtCommonPath + "jquery.regionTreeSelect",
leftTime: wgtCommonPath + "leftTime",
mobiscroll: "m/wgt/frontPlugin/mobiscroll",
multipleSelect: wgtCommonPath + "multipleSelect/multipleSelect",
laydate: wgtCommonPath + "laydate/laydate",
"exif-js": wgtCommonPath + "exif",
compressImg: wgtCommonPath + "compressImg",
pdf: wgtCommonPath + "pdfjs/build/pdf",
region_entry: wgtCommonPath + "entry/region_zh_CN",
yntree: wgtCommonPath + "yntree",
sdkStatistics: wgtCommonPath + "sdkStatistics",
sdkStatisticsNew: wgtCommonPath + "sdkStatisticsNew",
sensorsdataNew: wgtCommonPath + "sensorsdataNew",
sha1: wgtCommonPath + "sha1",
css: wgtCommonPath + "css"
}
}),
window.crosswiseMalposition = function() {
if (!window.isCWMP && isFrontEnv()) {
window.isCWMP = !0;
var t = $()
, e = $(".pagebox").children("div[id^='w_wbox']").children(".w_wbox").children("div[id^='content_box']").children("div[id^='c_'],div[id^='w_']");
t = t.add(e);
var n = $("div[data-animation]", "div[id^='c_'],div[id^='w_']").filter("div[animated='true']");
t = t.add(n);
var i = $("div[id^='w_fbox']").children(".w_fbox").children("div").children("div[id^='content_box']").children("div[id^='c_'],div[id^='w_']").not("div[animated]").not("div[id*='ads_banner']");
t = t.add(i);
var r = $("div[id^='w_sfbox']>div>.e_fbox>.e_box>div[id^='content_box']").children("div[id^='c_'],div[id^='w_']").not("div[animated]").not("div[id*='ads_banner']");
t = t.add(r);
var o = $("div[id^='w_sfbox']>div>.e_fbox>div[id$='footer']").filter(".p_footer").filter("div[id^='content_box']").children("div[id^='c_'],div[id^='w_']").not("div[animated]").not("div[id*='ads_banner']");
t = t.add(o);
var a = $("div[id^='w_cbox']").children(".w_cbox").children("div").children("div[id^='content_box']").children("div[id^='c_'],div[id^='w_']").not("div[animated]");
t = t.add(a);
var s = $("div[id^='w_bbox']").children(".w_bbox").children("div[id^='content_box']").children("div[id^='c_'],div[id^='w_']");
t = t.add(s),
$(window).resize(function(e) {
isFrontEnv() && h(t)
});
var l = 1920;
if (1 <= $("div[id^='w_wbox'],div[id^='w_bbox']").length || 1 <= $("div[id^='w_fbox'],div[id^='w_sfbox']").length || 1 <= $("div[id^='w_cbox']").length) {
var u = $("div[id^='w_wbox'],div[id^='w_bbox']").eq(0)
, c = $("div[id^='w_cbox']").eq(0)
, d = $("div[id^='w_fbox'],div[id^='w_sfbox']").eq(0)
, f = 1 <= u.length ? u : 1 <= c.length ? c : d
, p = f[0].style.width;
f[0].style.width = null,
(l = f.outerWidth(!0) || $("div[id^='w_fbox']").outerWidth(!0) || $("div[id^='w_sfbox']").outerWidth(!0)) < f.width() && (l = f.width()),
f.css("width", p)
}
h(t),
t.filter("div[data-animation]", "div[id^='c_'],div[id^='w_']").on("FR_ANIMATED", function() {
var e = $(this);
setTimeout(function t(e) {
return function() {
h(e)
}
}(e), 500)
})
}
function h(o) {
document.documentElement.clientWidth;
o.each(function(e) {
var t = o.eq(e);
if (t.closest("div[id^='w_wbox'],div[id^='w_bbox']").length < 1 && t.closest("div[id^='w_fbox'],div[id^='w_sfbox']").length < 1 && t.closest("div[id^='w_cbox']").length < 1)
return !0;
var n = document.documentElement.clientWidth;
null == t.attr("originaled") && (t.attr("compOrinalWidth", t.outerWidth(!0)),
t.attr("compOrinalLeft", parseInt(t.css("left"))),
t.attr("originaled", "true"));
var i = (l - n) / 2
, r = (null == t.attr("compOrinalLeft") ? parseInt(t.css("left")) || t.offset().left : parseInt(t.attr("compOrinalLeft"))) - i;
r = Math.floor(r),
t.css("left", r)
})
}
}
;
var readyFun = function() {
_isLoaded = !0,
jQuery.fn.__ceverPC,
$(".main").length,
$(".main").length,
$(".pagebox").length,
$(".pagebox").length,
require(["wgt_readyload"], function(n) {
n.ready(function(e) {
var t = $("div[id^='c_']");
isFrontEnv() && t.css({
overflow: "visible"
}),
n.removeCache(e),
n.setCompPostion(),
$(window).trigger("resize.fullPageResize"),
n.lazyImg({
defObj: "body"
}),
$("body").trigger("FR_LOADED"),
n.ainimate({
defObj: "body"
}),
window.compLoaded = !0
})
}),
$("div[id^='w_'],div[id^='c_']").on("scroll", function(e) {
require(["wgt_readyload"], function(t) {
t.ready(function(e) {
t.lazyImg({
defObj: "body"
})
})
})
}),
$("body").on("ND_RefreshComp", function(e) {
require(["wgt_readyload"], function(t) {
t.ready(function(e) {
t.lazyImg({
defObj: "body"
})
})
})
}),
$("body").on("ND_RefreshCompNew", function(e, t) {
require(["wgt_readyload"], function(e) {
e.ready(function() {
e.lazyImg(t)
})
})
}),
$("body").on("DESIGN_TRANK", function(e, n) {
require(["wgt_readyload"], function(t) {
t.ready(function(e) {
t.removeCache(e),
t.setCompPostion(),
t.lazyImg({
defObj: "body"
}),
t.ainimate(n)
})
})
}),
$("a[href^='#'][target='_self']").click(function(e) {
var t = $(this).attr("href");
if (-1 != t.indexOf("$$1")) {
var n = t.substring(0, t.length - 3);
$("html,body").animate({
scrollTop: $(n).offset().top
}),
e.preventDefault()
} else {
n = t.substring(0, t.length - 3);
$("html,body").animate({
scrollTop: $(n).offset().top
}, 0),
e.preventDefault()
}
}),
window.isStaticedDemo || require(["afterLoad"], function(e) {
e.init()
})
};
window.addEventListener ? window.addEventListener("load", readyFun) : window.attachEvent && window.attachEvent("onload", readyFun),
function(e, t) {
"object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function(e) {
if (!e.document)
throw new Error("jQuery requires a window with a document");
return t(e)
}
: t(e)
}("undefined" != typeof window ? window : this, function(m, e) {
var d = []
, c = d.slice
, h = d.concat
, s = d.push
, r = d.indexOf
, n = {}
, t = n.toString
, g = n.hasOwnProperty
, v = {}
, _ = function(e, t) {
return new _.fn.init(e,t)
}
, i = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
, o = /^-ms-/
, a = /-([\da-z])/gi
, l = function(e, t) {
return t.toUpperCase()
};
function u(e) {
var t = e.length
, n = _.type(e);
return "function" !== n && !_.isWindow(e) && (!(1 !== e.nodeType || !t) || ("array" === n || 0 === t || "number" == typeof t && 0 < t && t - 1 in e))
}
_.fn = _.prototype = {
jquery: "8.8.8",
__ceverPC: !0,
constructor: _,
selector: "",
length: 0,
toArray: function() {
return c.call(this)
},
get: function(e) {
return null != e ? e < 0 ? this[e + this.length] : this[e] : c.call(this)
},
pushStack: function(e) {
var t = _.merge(this.constructor(), e);
return t.prevObject = this,
t.context = this.context,
t
},
each: function(e, t) {
return _.each(this, e, t)
},
map: function(n) {
return this.pushStack(_.map(this, function(e, t) {
return n.call(e, t, e)
}))
},
slice: function() {
return this.pushStack(c.apply(this, arguments))
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
eq: function(e) {
var t = this.length
, n = +e + (e < 0 ? t : 0);
return this.pushStack(0 <= n && n < t ? [this[n]] : [])
},
end: function() {
return this.prevObject || this.constructor(null)
},
push: s,
sort: d.sort,
splice: d.splice
},
_.extend = _.fn.extend = function() {
var e, t, n, i, r, o, a = arguments[0] || {}, s = 1, l = arguments.length, u = !1;
for ("boolean" == typeof a && (u = a,
a = arguments[s] || {},
s++),
"object" == typeof a || _.isFunction(a) || (a = {}),
s === l && (a = this,
s--); s < l; s++)
if (null != (r = arguments[s]))
for (i in r)
e = a[i],
a !== (n = r[i]) && (u && n && (_.isPlainObject(n) || (t = _.isArray(n))) ? (o = t ? (t = !1,
e && _.isArray(e) ? e : []) : e && _.isPlainObject(e) ? e : {},
a[i] = _.extend(u, o, n)) : n !== undefined && (a[i] = n));
return a
}
,
_.extend({
expando: "jQuery" + ("8.8.8" + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(e) {
throw new Error(e)
},
noop: function() {},
isFunction: function(e) {
return "function" === _.type(e)
},
isArray: Array.isArray || function(e) {
return "array" === _.type(e)
}
,
isWindow: function(e) {
return null != e && e == e.window
},
isNumeric: function(e) {
return !_.isArray(e) && 0 <= e - parseFloat(e)
},
isEmptyObject: function(e) {
var t;
for (t in e)
return !1;
return !0
},
isPlainObject: function(e) {
var t;
if (!e || "object" !== _.type(e) || e.nodeType || _.isWindow(e))
return !1;
try {
if (e.constructor && !g.call(e, "constructor") && !g.call(e.constructor.prototype, "isPrototypeOf"))
return !1
} catch (n) {
return !1
}
if (v.ownLast)
for (t in e)
return g.call(e, t);
for (t in e)
;
return t === undefined || g.call(e, t)
},
type: function(e) {
return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? n[t.call(e)] || "object" : typeof e
},
globalEval: function(e) {
e && _.trim(e) && (m.execScript || function(e) {
m.eval.call(m, e)
}
)(e)
},
camelCase: function(e) {
return e.replace(o, "ms-").replace(a, l)
},
nodeName: function(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
},
each: function(e, t, n) {
var i = 0
, r = e.length
, o = u(e);
if (n) {
if (o)
for (; i < r && !1 !== t.apply(e[i], n); i++)
;
else
for (i in e)
if (!1 === t.apply(e[i], n))
break
} else if (o)
for (; i < r && !1 !== t.call(e[i], i, e[i]); i++)
;
else
for (i in e)
if (!1 === t.call(e[i], i, e[i]))
break;
return e
},
trim: function(e) {
return null == e ? "" : (e + "").replace(i, "")
},
makeArray: function(e, t) {
var n = t || [];
return null != e && (u(Object(e)) ? _.merge(n, "string" == typeof e ? [e] : e) : s.call(n, e)),
n
},
inArray: function(e, t, n) {
var i;
if (t) {
if (r)
return r.call(t, e, n);
for (i = t.length,
n = n ? n < 0 ? Math.max(0, i + n) : n : 0; n < i; n++)
if (n in t && t[n] === e)
return n
}
return -1
},
merge: function(e, t) {
for (var n = +t.length, i = 0, r = e.length; i < n; )
e[r++] = t[i++];
if (n != n)
for (; t[i] !== undefined; )
e[r++] = t[i++];
return e.length = r,
e
},
grep: function(e, t, n) {
for (var i = [], r = 0, o = e.length, a = !n; r < o; r++)
!t(e[r], r) !== a && i.push(e[r]);
return i
},
map: function(e, t, n) {
var i, r = 0, o = e.length, a = [];
if (u(e))
for (; r < o; r++)
null != (i = t(e[r], r, n)) && a.push(i);
else
for (r in e)
null != (i = t(e[r], r, n)) && a.push(i);
return h.apply([], a)
},
guid: 1,
proxy: function(e, t) {
var n, i, r;
return "string" == typeof t && (r = e[t],
t = e,
e = r),
_.isFunction(e) ? (n = c.call(arguments, 2),
(i = function() {
return e.apply(t || this, n.concat(c.call(arguments)))
}
).guid = e.guid = e.guid || _.guid++,
i) : undefined
},
now: function() {
return +new Date
},
support: v
}),
_.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(e, t) {
n["[object " + t + "]"] = t.toLowerCase()
});
var f = function(n) {
var e, m, w, o, i, g, d, v, x, u, c, y, C, r, b, T, a, s, E, _ = "sizzle" + -new Date, k = n.document, S = 0, f = 0, l = re(), p = re(), h = re(), j = function(e, t) {
return e === t && (c = !0),
0
}, N = typeof undefined, q = {}.hasOwnProperty, t = [], A = t.pop, $ = t.push, P = t.push, D = t.slice, O = t.indexOf || function(e) {
for (var t = 0, n = this.length; t < n; t++)
if (this[t] === e)
return t;
return -1
}
, L = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", M = "[\\x20\\t\\r\\n\\f]", H = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", F = H.replace("w", "w#"), R = "\\[" + M + "*(" + H + ")(?:" + M + "*([*^$|!~]?=)" + M + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + F + "))|)" + M + "*\\]", B = ":(" + H + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + R + ")*)|.*)\\)|)", I = new RegExp("^" + M + "+|((?:^|[^\\\\])(?:\\\\.)*)" + M + "+$","g"), W = new RegExp("^" + M + "*," + M + "*"), z = new RegExp("^" + M + "*([>+~]|" + M + ")" + M + "*"), X = new RegExp("=" + M + "*([^\\]'\"]*?)" + M + "*\\]","g"), U = new RegExp(B), G = new RegExp("^" + F + "$"), J = {
ID: new RegExp("^#(" + H + ")"),
CLASS: new RegExp("^\\.(" + H + ")"),
TAG: new RegExp("^(" + H.replace("w", "w*") + ")"),
ATTR: new RegExp("^" + R),
PSEUDO: new RegExp("^" + B),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + M + "*(even|odd|(([+-]|)(\\d*)n|)" + M + "*(?:([+-]|)" + M + "*(\\d+)|))" + M + "*\\)|)","i"),
bool: new RegExp("^(?:" + L + ")$","i"),
needsContext: new RegExp("^" + M + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + M + "*((?:-\\d)?\\d*)" + M + "*\\)|)(?=[^-]|$)","i")
}, V = /^(?:input|select|textarea|button)$/i, Q = /^h\d$/i, Y = /^[^{]+\{\s*\[native \w/, K = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Z = /[+~]/, ee = /'|\\/g, te = new RegExp("\\\\([\\da-f]{1,6}" + M + "?|(" + M + ")|.)","ig"), ne = function(e, t, n) {
var i = "0x" + t - 65536;
return i != i || n ? t : i < 0 ? String.fromCharCode(i + 65536) : String.fromCharCode(i >> 10 | 55296, 1023 & i | 56320)
};
try {
P.apply(t = D.call(k.childNodes), k.childNodes),
t[k.childNodes.length].nodeType
} catch (we) {
P = {
apply: t.length ? function(e, t) {
$.apply(e, D.call(t))
}
: function(e, t) {
for (var n = e.length, i = 0; e[n++] = t[i++]; )
;
e.length = n - 1
}
}
}
function ie(e, t, n, i) {
var r, o, a, s, l, u, c, d, f, p;
if ((t ? t.ownerDocument || t : k) !== C && y(t),
n = n || [],
!e || "string" != typeof e)
return n;
if (1 !== (s = (t = t || C).nodeType) && 9 !== s)
return [];
if (b && !i) {
if (r = K.exec(e))
if (a = r[1]) {
if (9 === s) {
if (!(o = t.getElementById(a)) || !o.parentNode)
return n;
if (o.id === a)
return n.push(o),
n
} else if (t.ownerDocument && (o = t.ownerDocument.getElementById(a)) && E(t, o) && o.id === a)
return n.push(o),
n
} else {
if (r[2])
return P.apply(n, t.getElementsByTagName(e)),
n;
if ((a = r[3]) && m.getElementsByClassName && t.getElementsByClassName)
return P.apply(n, t.getElementsByClassName(a)),
n
}
if (m.qsa && (!T || !T.test(e))) {
if (d = c = _,
f = t,
p = 9 === s && e,
1 === s && "object" !== t.nodeName.toLowerCase()) {
for (u = g(e),
(c = t.getAttribute("id")) ? d = c.replace(ee, "\\$&") : t.setAttribute("id", d),
d = "[id='" + d + "'] ",
l = u.length; l--; )
u[l] = d + he(u[l]);
f = Z.test(e) && fe(t.parentNode) || t,
p = u.join(",")
}
if (p)
try {
return P.apply(n, f.querySelectorAll(p)),
n
} catch (h) {} finally {
c || t.removeAttribute("id")
}
}
}
return v(e.replace(I, "$1"), t, n, i)
}
function re() {
var n = [];
return function i(e, t) {
return n.push(e + " ") > w.cacheLength && delete i[n.shift()],
i[e + " "] = t
}
}
function oe(e) {
return e[_] = !0,
e
}
function ae(e) {
var t = C.createElement("div");
try {
return !!e(t)
} catch (we) {
return !1
} finally {
t.parentNode && t.parentNode.removeChild(t),
t = null
}
}
function se(e, t) {
for (var n = e.split("|"), i = e.length; i--; )
w.attrHandle[n[i]] = t
}
function le(e, t) {
var n = t && e
, i = n && 1 === e.nodeType && 1 === t.nodeType && (~t.sourceIndex || 1 << 31) - (~e.sourceIndex || 1 << 31);
if (i)
return i;
if (n)
for (; n = n.nextSibling; )
if (n === t)
return -1;
return e ? 1 : -1
}
function ue(t) {
return function(e) {
return "input" === e.nodeName.toLowerCase() && e.type === t
}
}
function ce(n) {
return function(e) {
var t = e.nodeName.toLowerCase();
return ("input" === t || "button" === t) && e.type === n
}
}
function de(a) {
return oe(function(o) {
return o = +o,
oe(function(e, t) {
for (var n, i = a([], e.length, o), r = i.length; r--; )
e[n = i[r]] && (e[n] = !(t[n] = e[n]))
})
})
}
function fe(e) {
return e && typeof e.getElementsByTagName !== N && e
}
for (e in m = ie.support = {},
i = ie.isXML = function(e) {
var t = e && (e.ownerDocument || e).documentElement;
return !!t && "HTML" !== t.nodeName
}
,
y = ie.setDocument = function(e) {
var t, l = e ? e.ownerDocument || e : k, n = l.defaultView;
return l !== C && 9 === l.nodeType && l.documentElement ? (r = (C = l).documentElement,
b = !i(l),
n && n !== n.top && (n.addEventListener ? n.addEventListener("unload", function() {
y()
}, !1) : n.attachEvent && n.attachEvent("onunload", function() {
y()
})),
m.attributes = ae(function(e) {
return e.className = "i",
!e.getAttribute("className")
}),
m.getElementsByTagName = ae(function(e) {
return e.appendChild(l.createComment("")),
!e.getElementsByTagName("*").length
}),
m.getElementsByClassName = Y.test(l.getElementsByClassName) && ae(function(e) {
return e.innerHTML = "
",
e.firstChild.className = "i",
2 === e.getElementsByClassName("i").length
}),
m.getById = ae(function(e) {
return r.appendChild(e).id = _,
!l.getElementsByName || !l.getElementsByName(_).length
}),
m.getById ? (w.find.ID = function(e, t) {
if (typeof t.getElementById !== N && b) {
var n = t.getElementById(e);
return n && n.parentNode ? [n] : []
}
}
,
w.filter.ID = function(e) {
var t = e.replace(te, ne);
return function(e) {
return e.getAttribute("id") === t
}
}
) : (delete w.find.ID,
w.filter.ID = function(e) {
var n = e.replace(te, ne);
return function(e) {
var t = typeof e.getAttributeNode !== N && e.getAttributeNode("id");
return t && t.value === n
}
}
),
w.find.TAG = m.getElementsByTagName ? function(e, t) {
if (typeof t.getElementsByTagName !== N)
return t.getElementsByTagName(e)
}
: function(e, t) {
var n, i = [], r = 0, o = t.getElementsByTagName(e);
if ("*" !== e)
return o;
for (; n = o[r++]; )
1 === n.nodeType && i.push(n);
return i
}
,
w.find.CLASS = m.getElementsByClassName && function(e, t) {
if (typeof t.getElementsByClassName !== N && b)
return t.getElementsByClassName(e)
}
,
a = [],
T = [],
(m.qsa = Y.test(l.querySelectorAll)) && (ae(function(e) {
e.innerHTML = "",
e.querySelectorAll("[msallowclip^='']").length && T.push("[*^$]=" + M + "*(?:''|\"\")"),
e.querySelectorAll("[selected]").length || T.push("\\[" + M + "*(?:value|" + L + ")"),
e.querySelectorAll(":checked").length || T.push(":checked")
}),
ae(function(e) {
var t = l.createElement("input");
t.setAttribute("type", "hidden"),
e.appendChild(t).setAttribute("name", "D"),
e.querySelectorAll("[name=d]").length && T.push("name" + M + "*[*^$|!~]?="),
e.querySelectorAll(":enabled").length || T.push(":enabled", ":disabled"),
e.querySelectorAll("*,:x"),
T.push(",.*:")
})),
(m.matchesSelector = Y.test(s = r.matches || r.webkitMatchesSelector || r.mozMatchesSelector || r.oMatchesSelector || r.msMatchesSelector)) && ae(function(e) {
m.disconnectedMatch = s.call(e, "div"),
s.call(e, "[s!='']:x"),
a.push("!=", B)
}),
T = T.length && new RegExp(T.join("|")),
a = a.length && new RegExp(a.join("|")),
t = Y.test(r.compareDocumentPosition),
E = t || Y.test(r.contains) ? function(e, t) {
var n = 9 === e.nodeType ? e.documentElement : e
, i = t && t.parentNode;
return e === i || !(!i || 1 !== i.nodeType || !(n.contains ? n.contains(i) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(i)))
}
: function(e, t) {
if (t)
for (; t = t.parentNode; )
if (t === e)
return !0;
return !1
}
,
j = t ? function(e, t) {
if (e === t)
return c = !0,
0;
var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
return n || (1 & (n = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !m.sortDetached && t.compareDocumentPosition(e) === n ? e === l || e.ownerDocument === k && E(k, e) ? -1 : t === l || t.ownerDocument === k && E(k, t) ? 1 : u ? O.call(u, e) - O.call(u, t) : 0 : 4 & n ? -1 : 1)
}
: function(e, t) {
if (e === t)
return c = !0,
0;
var n, i = 0, r = e.parentNode, o = t.parentNode, a = [e], s = [t];
if (!r || !o)
return e === l ? -1 : t === l ? 1 : r ? -1 : o ? 1 : u ? O.call(u, e) - O.call(u, t) : 0;
if (r === o)
return le(e, t);
for (n = e; n = n.parentNode; )
a.unshift(n);
for (n = t; n = n.parentNode; )
s.unshift(n);
for (; a[i] === s[i]; )
i++;
return i ? le(a[i], s[i]) : a[i] === k ? -1 : s[i] === k ? 1 : 0
}
,
l) : C
}
,
ie.matches = function(e, t) {
return ie(e, null, null, t)
}
,
ie.matchesSelector = function(e, t) {
if ((e.ownerDocument || e) !== C && y(e),
t = t.replace(X, "='$1']"),
m.matchesSelector && b && (!a || !a.test(t)) && (!T || !T.test(t)))
try {
var n = s.call(e, t);
if (n || m.disconnectedMatch || e.document && 11 !== e.document.nodeType)
return n
} catch (we) {}
return 0 < ie(t, C, null, [e]).length
}
,
ie.contains = function(e, t) {
return (e.ownerDocument || e) !== C && y(e),
E(e, t)
}
,
ie.attr = function(e, t) {
(e.ownerDocument || e) !== C && y(e);
var n = w.attrHandle[t.toLowerCase()]
, i = n && q.call(w.attrHandle, t.toLowerCase()) ? n(e, t, !b) : undefined;
return i !== undefined ? i : m.attributes || !b ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
}
,
ie.error = function(e) {
throw new Error("Syntax error, unrecognized expression: " + e)
}
,
ie.uniqueSort = function(e) {
var t, n = [], i = 0, r = 0;
if (c = !m.detectDuplicates,
u = !m.sortStable && e.slice(0),
e.sort(j),
c) {
for (; t = e[r++]; )
t === e[r] && (i = n.push(r));
for (; i--; )
e.splice(n[i], 1)
}
return u = null,
e
}
,
o = ie.getText = function(e) {
var t, n = "", i = 0, r = e.nodeType;
if (r) {
if (1 === r || 9 === r || 11 === r) {
if ("string" == typeof e.textContent)
return e.textContent;
for (e = e.firstChild; e; e = e.nextSibling)
n += o(e)
} else if (3 === r || 4 === r)
return e.nodeValue
} else
for (; t = e[i++]; )
n += o(t);
return n
}
,
(w = ie.selectors = {
cacheLength: 50,
createPseudo: oe,
match: J,
attrHandle: {},
find: {},
relative: {
">": {
dir: "parentNode",
first: !0
},
" ": {
dir: "parentNode"
},
"+": {
dir: "previousSibling",
first: !0
},
"~": {
dir: "previousSibling"
}
},
preFilter: {
ATTR: function(e) {
return e[1] = e[1].replace(te, ne),
e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne),
"~=" === e[2] && (e[3] = " " + e[3] + " "),
e.slice(0, 4)
},
CHILD: function(e) {
return e[1] = e[1].toLowerCase(),
"nth" === e[1].slice(0, 3) ? (e[3] || ie.error(e[0]),
e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])),
e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && ie.error(e[0]),
e
},
PSEUDO: function(e) {
var t, n = !e[6] && e[2];
return J.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && U.test(n) && (t = g(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t),
e[2] = n.slice(0, t)),
e.slice(0, 3))
}
},
filter: {
TAG: function(e) {
var t = e.replace(te, ne).toLowerCase();
return "*" === e ? function() {
return !0
}
: function(e) {
return e.nodeName && e.nodeName.toLowerCase() === t
}
},
CLASS: function(e) {
var t = l[e + " "];
return t || (t = new RegExp("(^|" + M + ")" + e + "(" + M + "|$)")) && l(e, function(e) {
return t.test("string" == typeof e.className && e.className || typeof e.getAttribute !== N && e.getAttribute("class") || "")
})
},
ATTR: function(n, i, r) {
return function(e) {
var t = ie.attr(e, n);
return null == t ? "!=" === i : !i || (t += "",
"=" === i ? t === r : "!=" === i ? t !== r : "^=" === i ? r && 0 === t.indexOf(r) : "*=" === i ? r && -1 < t.indexOf(r) : "$=" === i ? r && t.slice(-r.length) === r : "~=" === i ? -1 < (" " + t + " ").indexOf(r) : "|=" === i && (t === r || t.slice(0, r.length + 1) === r + "-"))
}
},
CHILD: function(p, e, t, h, m) {
var g = "nth" !== p.slice(0, 3)
, v = "last" !== p.slice(-4)
, y = "of-type" === e;
return 1 === h && 0 === m ? function(e) {
return !!e.parentNode
}
: function(e, t, n) {
var i, r, o, a, s, l, u = g !== v ? "nextSibling" : "previousSibling", c = e.parentNode, d = y && e.nodeName.toLowerCase(), f = !n && !y;
if (c) {
if (g) {
for (; u; ) {
for (o = e; o = o[u]; )
if (y ? o.nodeName.toLowerCase() === d : 1 === o.nodeType)
return !1;
l = u = "only" === p && !l && "nextSibling"
}
return !0
}
if (l = [v ? c.firstChild : c.lastChild],
v && f) {
for (s = (i = (r = c[_] || (c[_] = {}))[p] || [])[0] === S && i[1],
a = i[0] === S && i[2],
o = s && c.childNodes[s]; o = ++s && o && o[u] || (a = s = 0) || l.pop(); )
if (1 === o.nodeType && ++a && o === e) {
r[p] = [S, s, a];
break
}
} else if (f && (i = (e[_] || (e[_] = {}))[p]) && i[0] === S)
a = i[1];
else
for (; (o = ++s && o && o[u] || (a = s = 0) || l.pop()) && ((y ? o.nodeName.toLowerCase() !== d : 1 !== o.nodeType) || !++a || (f && ((o[_] || (o[_] = {}))[p] = [S, a]),
o !== e)); )
;
return (a -= m) === h || a % h == 0 && 0 <= a / h
}
}
},
PSEUDO: function(e, o) {
var t, a = w.pseudos[e] || w.setFilters[e.toLowerCase()] || ie.error("unsupported pseudo: " + e);
return a[_] ? a(o) : 1 < a.length ? (t = [e, e, "", o],
w.setFilters.hasOwnProperty(e.toLowerCase()) ? oe(function(e, t) {
for (var n, i = a(e, o), r = i.length; r--; )
e[n = O.call(e, i[r])] = !(t[n] = i[r])
}) : function(e) {
return a(e, 0, t)
}
) : a
}
},
pseudos: {
not: oe(function(e) {
var i = []
, r = []
, s = d(e.replace(I, "$1"));
return s[_] ? oe(function(e, t, n, i) {
for (var r, o = s(e, null, i, []), a = e.length; a--; )
(r = o[a]) && (e[a] = !(t[a] = r))
}) : function(e, t, n) {
return i[0] = e,
s(i, null, n, r),
!r.pop()
}
}),
has: oe(function(t) {
return function(e) {
return 0 < ie(t, e).length
}
}),
contains: oe(function(t) {
return function(e) {
return -1 < (e.textContent || e.innerText || o(e)).indexOf(t)
}
}),
lang: oe(function(n) {
return G.test(n || "") || ie.error("unsupported lang: " + n),
n = n.replace(te, ne).toLowerCase(),
function(e) {
var t;
do {
if (t = b ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang"))
return (t = t.toLowerCase()) === n || 0 === t.indexOf(n + "-")
} while ((e = e.parentNode) && 1 === e.nodeType);
return !1
}
}),
target: function(e) {
var t = n.location && n.location.hash;
return t && t.slice(1) === e.id
},
root: function(e) {
return e === r
},
focus: function(e) {
return e === C.activeElement && (!C.hasFocus || C.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
},
enabled: function(e) {
return !1 === e.disabled
},
disabled: function(e) {
return !0 === e.disabled
},
checked: function(e) {
var t = e.nodeName.toLowerCase();
return "input" === t && !!e.checked || "option" === t && !!e.selected
},
selected: function(e) {
return e.parentNode && e.parentNode.selectedIndex,
!0 === e.selected
},
empty: function(e) {
for (e = e.firstChild; e; e = e.nextSibling)
if (e.nodeType < 6)
return !1;
return !0
},
parent: function(e) {
return !w.pseudos.empty(e)
},
header: function(e) {
return Q.test(e.nodeName)
},
input: function(e) {
return V.test(e.nodeName)
},
button: function(e) {
var t = e.nodeName.toLowerCase();
return "input" === t && "button" === e.type || "button" === t
},
text: function(e) {
var t;
return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase())
},
first: de(function() {
return [0]
}),
last: de(function(e, t) {
return [t - 1]
}),
eq: de(function(e, t, n) {
return [n < 0 ? n + t : n]
}),
even: de(function(e, t) {
for (var n = 0; n < t; n += 2)
e.push(n);
return e
}),
odd: de(function(e, t) {
for (var n = 1; n < t; n += 2)
e.push(n);
return e
}),
lt: de(function(e, t, n) {
for (var i = n < 0 ? n + t : n; 0 <= --i; )
e.push(i);
return e
}),
gt: de(function(e, t, n) {
for (var i = n < 0 ? n + t : n; ++i < t; )
e.push(i);
return e
})
}
}).pseudos.nth = w.pseudos.eq,
{
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
})
w.pseudos[e] = ue(e);
for (e in {
submit: !0,
reset: !0
})
w.pseudos[e] = ce(e);
function pe() {}
function he(e) {
for (var t = 0, n = e.length, i = ""; t < n; t++)
i += e[t].value;
return i
}
function me(a, e, t) {
var s = e.dir
, l = t && "parentNode" === s
, u = f++;
return e.first ? function(e, t, n) {
for (; e = e[s]; )
if (1 === e.nodeType || l)
return a(e, t, n)
}
: function(e, t, n) {
var i, r, o = [S, u];
if (n) {
for (; e = e[s]; )
if ((1 === e.nodeType || l) && a(e, t, n))
return !0
} else
for (; e = e[s]; )
if (1 === e.nodeType || l) {
if ((i = (r = e[_] || (e[_] = {}))[s]) && i[0] === S && i[1] === u)
return o[2] = i[2];
if ((r[s] = o)[2] = a(e, t, n))
return !0
}
}
}
function ge(r) {
return 1 < r.length ? function(e, t, n) {
for (var i = r.length; i--; )
if (!r[i](e, t, n))
return !1;
return !0
}
: r[0]
}
function ve(e, t, n, i, r) {
for (var o, a = [], s = 0, l = e.length, u = null != t; s < l; s++)
(o = e[s]) && (n && !n(o, i, r) || (a.push(o),
u && t.push(s)));
return a
}
function ye(h, m, g, v, y, e) {
return v && !v[_] && (v = ye(v)),
y && !y[_] && (y = ye(y, e)),
oe(function(e, t, n, i) {
var r, o, a, s = [], l = [], u = t.length, c = e || function p(e, t, n) {
for (var i = 0, r = t.length; i < r; i++)
ie(e, t[i], n);
return n
}(m || "*", n.nodeType ? [n] : n, []), d = !h || !e && m ? c : ve(c, s, h, n, i), f = g ? y || (e ? h : u || v) ? [] : t : d;
if (g && g(d, f, n, i),
v)
for (r = ve(f, l),
v(r, [], n, i),
o = r.length; o--; )
(a = r[o]) && (f[l[o]] = !(d[l[o]] = a));
if (e) {
if (y || h) {
if (y) {
for (r = [],
o = f.length; o--; )
(a = f[o]) && r.push(d[o] = a);
y(null, f = [], r, i)
}
for (o = f.length; o--; )
(a = f[o]) && -1 < (r = y ? O.call(e, a) : s[o]) && (e[r] = !(t[r] = a))
}
} else
f = ve(f === t ? f.splice(u, f.length) : f),
y ? y(null, t, f, i) : P.apply(t, f)
})
}
function be(e) {
for (var i, t, n, r = e.length, o = w.relative[e[0].type], a = o || w.relative[" "], s = o ? 1 : 0, l = me(function(e) {
return e === i
}, a, !0), u = me(function(e) {
return -1 < O.call(i, e)
}, a, !0), c = [function(e, t, n) {
return !o && (n || t !== x) || ((i = t).nodeType ? l(e, t, n) : u(e, t, n))
}
]; s < r; s++)
if (t = w.relative[e[s].type])
c = [me(ge(c), t)];
else {
if ((t = w.filter[e[s].type].apply(null, e[s].matches))[_]) {
for (n = ++s; n < r && !w.relative[e[n].type]; n++)
;
return ye(1 < s && ge(c), 1 < s && he(e.slice(0, s - 1).concat({
value: " " === e[s - 2].type ? "*" : ""
})).replace(I, "$1"), t, s < n && be(e.slice(s, n)), n < r && be(e = e.slice(n)), n < r && he(e))
}
c.push(t)
}
return ge(c)
}
return pe.prototype = w.filters = w.pseudos,
w.setFilters = new pe,
g = ie.tokenize = function(e, t) {
var n, i, r, o, a, s, l, u = p[e + " "];
if (u)
return t ? 0 : u.slice(0);
for (a = e,
s = [],
l = w.preFilter; a; ) {
for (o in n && !(i = W.exec(a)) || (i && (a = a.slice(i[0].length) || a),
s.push(r = [])),
n = !1,
(i = z.exec(a)) && (n = i.shift(),
r.push({
value: n,
type: i[0].replace(I, " ")
}),
a = a.slice(n.length)),
w.filter)
!(i = J[o].exec(a)) || l[o] && !(i = l[o](i)) || (n = i.shift(),
r.push({
value: n,
type: o,
matches: i
}),
a = a.slice(n.length));
if (!n)
break
}
return t ? a.length : a ? ie.error(e) : p(e, s).slice(0)
}
,
d = ie.compile = function(e, t) {
var n, i = [], r = [], o = h[e + " "];
if (!o) {
for (t || (t = g(e)),
n = t.length; n--; )
(o = be(t[n]))[_] ? i.push(o) : r.push(o);
(o = h(e, function a(g, v) {
var y = 0 < v.length
, b = 0 < g.length
, e = function(e, t, n, i, r) {
var o, a, s, l = 0, u = "0", c = e && [], d = [], f = x, p = e || b && w.find.TAG("*", r), h = S += null == f ? 1 : Math.random() || .1, m = p.length;
for (r && (x = t !== C && t); u !== m && null != (o = p[u]); u++) {
if (b && o) {
for (a = 0; s = g[a++]; )
if (s(o, t, n)) {
i.push(o);
break
}
r && (S = h)
}
y && ((o = !s && o) && l--,
e && c.push(o))
}
if (l += u,
y && u !== l) {
for (a = 0; s = v[a++]; )
s(c, d, t, n);
if (e) {
if (0 < l)
for (; u--; )
c[u] || d[u] || (d[u] = A.call(i));
d = ve(d)
}
P.apply(i, d),
r && !e && 0 < d.length && 1 < l + v.length && ie.uniqueSort(i)
}
return r && (S = h,
x = f),
c
};
return y ? oe(e) : e
}(r, i))).selector = e
}
return o
}
,
v = ie.select = function(e, t, n, i) {
var r, o, a, s, l, u = "function" == typeof e && e, c = !i && g(e = u.selector || e);
if (n = n || [],
1 === c.length) {
if (2 < (o = c[0] = c[0].slice(0)).length && "ID" === (a = o[0]).type && m.getById && 9 === t.nodeType && b && w.relative[o[1].type]) {
if (!(t = (w.find.ID(a.matches[0].replace(te, ne), t) || [])[0]))
return n;
u && (t = t.parentNode),
e = e.slice(o.shift().value.length)
}
for (r = J.needsContext.test(e) ? 0 : o.length; r-- && (a = o[r],
!w.relative[s = a.type]); )
if ((l = w.find[s]) && (i = l(a.matches[0].replace(te, ne), Z.test(o[0].type) && fe(t.parentNode) || t))) {
if (o.splice(r, 1),
!(e = i.length && he(o)))
return P.apply(n, i),
n;
break
}
}
return (u || d(e, c))(i, t, !b, n, Z.test(e) && fe(t.parentNode) || t),
n
}
,
m.sortStable = _.split("").sort(j).join("") === _,
m.detectDuplicates = !!c,
y(),
m.sortDetached = ae(function(e) {
return 1 & e.compareDocumentPosition(C.createElement("div"))
}),
ae(function(e) {
return e.innerHTML = "",
"#" === e.firstChild.getAttribute("href")
}) || se("type|href|height|width", function(e, t, n) {
if (!n)
return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
}),
m.attributes && ae(function(e) {
return e.innerHTML = "",
e.firstChild.setAttribute("value", ""),
"" === e.firstChild.getAttribute("value")
}) || se("value", function(e, t, n) {
if (!n && "input" === e.nodeName.toLowerCase())
return e.defaultValue
}),
ae(function(e) {
return null == e.getAttribute("disabled")
}) || se(L, function(e, t, n) {
var i;
if (!n)
return !0 === e[t] ? t.toLowerCase() : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
}),
ie
}(m);
_.find = f,
_.expr = f.selectors,
_.expr[":"] = _.expr.pseudos,
_.unique = f.uniqueSort,
_.text = f.getText,
_.isXMLDoc = f.isXML,
_.contains = f.contains;
var p = _.expr.match.needsContext
, y = /^<(\w+)\s*\/?>(?:<\/\1>|)$/
, b = /^.[^:#\[\.,]*$/;
function w(e, n, i) {
if (_.isFunction(n))
return _.grep(e, function(e, t) {
return !!n.call(e, t, e) !== i
});
if (n.nodeType)
return _.grep(e, function(e) {
return e === n !== i
});
if ("string" == typeof n) {
if (b.test(n))
return _.filter(n, e, i);
n = _.filter(n, e)
}
return _.grep(e, function(e) {
return 0 <= _.inArray(e, n) !== i
})
}
_.filter = function(e, t, n) {
var i = t[0];
return n && (e = ":not(" + e + ")"),
1 === t.length && 1 === i.nodeType ? _.find.matchesSelector(i, e) ? [i] : [] : _.find.matches(e, _.grep(t, function(e) {
return 1 === e.nodeType
}))
}
,
_.fn.extend({
find: function(e) {
var t, n = [], i = this, r = i.length;
if ("string" != typeof e)
return this.pushStack(_(e).filter(function() {
for (t = 0; t < r; t++)
if (_.contains(i[t], this))
return !0
}));
for (t = 0; t < r; t++)
_.find(e, i[t], n);
return (n = this.pushStack(1 < r ? _.unique(n) : n)).selector = this.selector ? this.selector + " " + e : e,
n
},
filter: function(e) {
return this.pushStack(w(this, e || [], !1))
},
not: function(e) {
return this.pushStack(w(this, e || [], !0))
},
is: function(e) {
return !!w(this, "string" == typeof e && p.test(e) ? _(e) : e || [], !1).length
}
});
var x, C = m.document, T = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;
(_.fn.init = function(e, t) {
var n, i;
if (!e)
return this;
if ("string" != typeof e)
return e.nodeType ? (this.context = this[0] = e,
this.length = 1,
this) : _.isFunction(e) ? "undefined" != typeof x.ready ? x.ready(e) : e(_) : (e.selector !== undefined && (this.selector = e.selector,
this.context = e.context),
_.makeArray(e, this));
if (!(n = "<" === e.charAt(0) && ">" === e.charAt(e.length - 1) && 3 <= e.length ? [null, e, null] : T.exec(e)) || !n[1] && t)
return !t || t.jquery ? (t || x).find(e) : this.constructor(t).find(e);
if (n[1]) {
if (t = t instanceof _ ? t[0] : t,
_.merge(this, _.parseHTML(n[1], t && t.nodeType ? t.ownerDocument || t : C, !0)),
y.test(n[1]) && _.isPlainObject(t))
for (n in t)
_.isFunction(this[n]) ? this[n](t[n]) : this.attr(n, t[n]);
return this
}
if ((i = C.getElementById(n[2])) && i.parentNode) {
if (i.id !== n[2])
return x.find(e);
this.length = 1,
this[0] = i
}
return this.context = C,
this.selector = e,
this
}
).prototype = _.fn,
x = _(C);
var E = /^(?:parents|prev(?:Until|All))/
, k = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
function S(e, t) {
for (; (e = e[t]) && 1 !== e.nodeType; )
;
return e
}
_.extend({
dir: function(e, t, n) {
for (var i = [], r = e[t]; r && 9 !== r.nodeType && (n === undefined || 1 !== r.nodeType || !_(r).is(n)); )
1 === r.nodeType && i.push(r),
r = r[t];
return i
},
sibling: function(e, t) {
for (var n = []; e; e = e.nextSibling)
1 === e.nodeType && e !== t && n.push(e);
return n
}
}),
_.fn.extend({
has: function(e) {
var t, n = _(e, this), i = n.length;
return this.filter(function() {
for (t = 0; t < i; t++)
if (_.contains(this, n[t]))
return !0
})
},
closest: function(e, t) {
for (var n, i = 0, r = this.length, o = [], a = p.test(e) || "string" != typeof e ? _(e, t || this.context) : 0; i < r; i++)
for (n = this[i]; n && n !== t; n = n.parentNode)
if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && _.find.matchesSelector(n, e))) {
o.push(n);
break
}
return this.pushStack(1 < o.length ? _.unique(o) : o)
},
index: function(e) {
return e ? "string" == typeof e ? _.inArray(this[0], _(e)) : _.inArray(e.jquery ? e[0] : e, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
},
add: function(e, t) {
return this.pushStack(_.unique(_.merge(this.get(), _(e, t))))
},
addBack: function(e) {
return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
}
}),
_.each({
parent: function(e) {
var t = e.parentNode;
return t && 11 !== t.nodeType ? t : null
},
parents: function(e) {
return _.dir(e, "parentNode")
},
parentsUntil: function(e, t, n) {
return _.dir(e, "parentNode", n)
},
next: function(e) {
return S(e, "nextSibling")
},
prev: function(e) {
return S(e, "previousSibling")
},
nextAll: function(e) {
return _.dir(e, "nextSibling")
},
prevAll: function(e) {
return _.dir(e, "previousSibling")
},
nextUntil: function(e, t, n) {
return _.dir(e, "nextSibling", n)
},
prevUntil: function(e, t, n) {
return _.dir(e, "previousSibling", n)
},
siblings: function(e) {
return _.sibling((e.parentNode || {}).firstChild, e)
},
children: function(e) {
return _.sibling(e.firstChild)
},
contents: function(e) {
return _.nodeName(e, "iframe") ? e.contentDocument || e.contentWindow.document : _.merge([], e.childNodes)
}
}, function(i, r) {
_.fn[i] = function(e, t) {
var n = _.map(this, r, e);
return "Until" !== i.slice(-5) && (t = e),
t && "string" == typeof t && (n = _.filter(t, n)),
1 < this.length && (k[i] || (n = _.unique(n)),
E.test(i) && (n = n.reverse())),
this.pushStack(n)
}
});
var j, N = /\S+/g, q = {};
function A() {
C.addEventListener ? (C.removeEventListener("DOMContentLoaded", $, !1),
m.removeEventListener("load", $, !1)) : (C.detachEvent("onreadystatechange", $),
m.detachEvent("onload", $))
}
function $() {
(C.addEventListener || "load" === event.type || "complete" === C.readyState) && (A(),
_.ready())
}
_.Callbacks = function(r) {
r = "string" == typeof r ? q[r] || function f(e) {
var n = q[e] = {};
return _.each(e.match(N) || [], function(e, t) {
n[t] = !0
}),
n
}(r) : _.extend({}, r);
var o, t, n, a, i, s, l = [], u = !r.once && [], c = function(e) {
for (t = r.memory && e,
n = !0,
i = s || 0,
s = 0,
a = l.length,
o = !0; l && i < a; i++)
if (!1 === l[i].apply(e[0], e[1]) && r.stopOnFalse) {
t = !1;
break
}
o = !1,
l && (u ? u.length && c(u.shift()) : t ? l = [] : d.disable())
}, d = {
add: function() {
if (l) {
var e = l.length;
!function i(e) {
_.each(e, function(e, t) {
var n = _.type(t);
"function" === n ? r.unique && d.has(t) || l.push(t) : t && t.length && "string" !== n && i(t)
})
}(arguments),
o ? a = l.length : t && (s = e,
c(t))
}
return this
},
remove: function() {
return l && _.each(arguments, function(e, t) {
for (var n; -1 < (n = _.inArray(t, l, n)); )
l.splice(n, 1),
o && (n <= a && a--,
n <= i && i--)
}),
this
},
has: function(e) {
return e ? -1 < _.inArray(e, l) : !(!l || !l.length)
},
empty: function() {
return l = [],
a = 0,
this
},
disable: function() {
return l = u = t = undefined,
this
},
disabled: function() {
return !l
},
lock: function() {
return u = undefined,
t || d.disable(),
this
},
locked: function() {
return !u
},
fireWith: function(e, t) {
return !l || n && !u || (t = [e, (t = t || []).slice ? t.slice() : t],
o ? u.push(t) : c(t)),
this
},
fire: function() {
return d.fireWith(this, arguments),
this
},
fired: function() {
return !!n
}
};
return d
}
,
_.extend({
Deferred: function(e) {
var o = [["resolve", "done", _.Callbacks("once memory"), "resolved"], ["reject", "fail", _.Callbacks("once memory"), "rejected"], ["notify", "progress", _.Callbacks("memory")]]
, r = "pending"
, a = {
state: function() {
return r
},
always: function() {
return s.done(arguments).fail(arguments),
this
},
then: function() {
var r = arguments;
return _.Deferred(function(i) {
_.each(o, function(e, t) {
var n = _.isFunction(r[e]) && r[e];
s[t[1]](function() {
var e = n && n.apply(this, arguments);
e && _.isFunction(e.promise) ? e.promise().done(i.resolve).fail(i.reject).progress(i.notify) : i[t[0] + "With"](this === a ? i.promise() : this, n ? [e] : arguments)
})
}),
r = null
}).promise()
},
promise: function(e) {
return null != e ? _.extend(e, a) : a
}
}
, s = {};
return a.pipe = a.then,
_.each(o, function(e, t) {
var n = t[2]
, i = t[3];
a[t[1]] = n.add,
i && n.add(function() {
r = i
}, o[1 ^ e][2].disable, o[2][2].lock),
s[t[0]] = function() {
return s[t[0] + "With"](this === s ? a : this, arguments),
this
}
,
s[t[0] + "With"] = n.fireWith
}),
a.promise(s),
e && e.call(s, s),
s
},
when: function(e) {
var r, t, n, i = 0, o = c.call(arguments), a = o.length, s = 1 !== a || e && _.isFunction(e.promise) ? a : 0, l = 1 === s ? e : _.Deferred(), u = function(t, n, i) {
return function(e) {
n[t] = this,
i[t] = 1 < arguments.length ? c.call(arguments) : e,
i === r ? l.notifyWith(n, i) : --s || l.resolveWith(n, i)
}
};
if (1 < a)
for (r = new Array(a),
t = new Array(a),
n = new Array(a); i < a; i++)
o[i] && _.isFunction(o[i].promise) ? o[i].promise().done(u(i, n, o)).fail(l.reject).progress(u(i, t, r)) : --s;
return s || l.resolveWith(n, o),
l.promise()
}
}),
_.fn.ready = function(e) {
return _.ready.promise().done(e),
this
}
,
_.extend({
isReady: !1,
readyWait: 1,
holdReady: function(e) {
e ? _.readyWait++ : _.ready(!0)
},
ready: function(e) {
if (!0 === e ? !--_.readyWait : !_.isReady) {
if (!C.body)
return setTimeout(_.ready);
(_.isReady = !0) !== e && 0 < --_.readyWait || (j.resolveWith(C, [_]),
_.fn.triggerHandler && (_(C).triggerHandler("ready"),
_(C).off("ready")))
}
}
}),
_.ready.promise = function(e) {
if (!j)
if (j = _.Deferred(),
"complete" === C.readyState)
setTimeout(_.ready);
else if (C.addEventListener)
C.addEventListener("DOMContentLoaded", $, !1),
m.addEventListener("load", $, !1);
else {
C.attachEvent("onreadystatechange", $),
m.attachEvent("onload", $);
var t = !1;
try {
t = null == m.frameElement && C.documentElement
} catch (n) {}
t && t.doScroll && function i() {
if (!_.isReady) {
try {
t.doScroll("left")
} catch (n) {
return setTimeout(i, 50)
}
A(),
_.ready()
}
}()
}
return j.promise(e)
}
;
var P, D = typeof undefined;
for (P in _(v))
break;
v.ownLast = "0" !== P,
v.inlineBlockNeedsLayout = !1,
_(function() {
var e, t, n, i;
(n = C.getElementsByTagName("body")[0]) && n.style && (t = C.createElement("div"),
(i = C.createElement("div")).style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px",
n.appendChild(i).appendChild(t),
typeof t.style.zoom !== D && (t.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",
v.inlineBlockNeedsLayout = e = 3 === t.offsetWidth,
e && (n.style.zoom = 1)),
n.removeChild(i))
}),
function() {
var e = C.createElement("div");
if (null == v.deleteExpando) {
v.deleteExpando = !0;
try {
delete e.test
} catch (t) {
v.deleteExpando = !1
}
}
e = null
}(),
_.acceptData = function(e) {
var t = _.noData[(e.nodeName + " ").toLowerCase()]
, n = +e.nodeType || 1;
return (1 === n || 9 === n) && (!t || !0 !== t && e.getAttribute("classid") === t)
}
;
var O = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/
, L = /([A-Z])/g;
function M(e, t, n) {
if (n === undefined && 1 === e.nodeType) {
var i = "data-" + t.replace(L, "-$1").toLowerCase();
if ("string" == typeof (n = e.getAttribute(i))) {
try {
n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : O.test(n) ? _.parseJSON(n) : n)
} catch (r) {}
_.data(e, t, n)
} else
n = undefined
}
return n
}
function H(e) {
var t;
for (t in e)
if (("data" !== t || !_.isEmptyObject(e[t])) && "toJSON" !== t)
return !1;
return !0
}
function F(e, t, n, i) {
if (_.acceptData(e)) {
var r, o, a = _.expando, s = e.nodeType, l = s ? _.cache : e, u = s ? e[a] : e[a] && a;
if (u && l[u] && (i || l[u].data) || n !== undefined || "string" != typeof t)
return u || (u = s ? e[a] = d.pop() || _.guid++ : a),
l[u] || (l[u] = s ? {} : {
toJSON: _.noop
}),
"object" != typeof t && "function" != typeof t || (i ? l[u] = _.extend(l[u], t) : l[u].data = _.extend(l[u].data, t)),
o = l[u],
i || (o.data || (o.data = {}),
o = o.data),
n !== undefined && (o[_.camelCase(t)] = n),
"string" == typeof t ? null == (r = o[t]) && (r = o[_.camelCase(t)]) : r = o,
r
}
}
function R(e, t, n) {
if (_.acceptData(e)) {
var i, r, o = e.nodeType, a = o ? _.cache : e, s = o ? e[_.expando] : _.expando;
if (a[s]) {
if (t && (i = n ? a[s] : a[s].data)) {
r = (t = _.isArray(t) ? t.concat(_.map(t, _.camelCase)) : t in i ? [t] : (t = _.camelCase(t))in i ? [t] : t.split(" ")).length;
for (; r--; )
delete i[t[r]];
if (n ? !H(i) : !_.isEmptyObject(i))
return
}
(n || (delete a[s].data,
H(a[s]))) && (o ? _.cleanData([e], !0) : v.deleteExpando || a != a.window ? delete a[s] : a[s] = null)
}
}
}
_.extend({
cache: {},
noData: {
"applet ": !0,
"embed ": !0,
"object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
},
hasData: function(e) {
return !!(e = e.nodeType ? _.cache[e[_.expando]] : e[_.expando]) && !H(e)
},
data: function(e, t, n) {
return F(e, t, n)
},
removeData: function(e, t) {
return R(e, t)
},
_data: function(e, t, n) {
return F(e, t, n, !0)
},
_removeData: function(e, t) {
return R(e, t, !0)
}
}),
_.fn.extend({
data: function(e, t) {
var n, i, r, o = this[0], a = o && o.attributes;
if (e !== undefined)
return "object" == typeof e ? this.each(function() {
_.data(this, e)
}) : 1 < arguments.length ? this.each(function() {
_.data(this, e, t)
}) : o ? M(o, e, _.data(o, e)) : undefined;
if (this.length && (r = _.data(o),
1 === o.nodeType && !_._data(o, "parsedAttrs"))) {
for (n = a.length; n--; )
a[n] && 0 === (i = a[n].name).indexOf("data-") && M(o, i = _.camelCase(i.slice(5)), r[i]);
_._data(o, "parsedAttrs", !0)
}
return r
},
removeData: function(e) {
return this.each(function() {
_.removeData(this, e)
})
}
}),
_.extend({
queue: function(e, t, n) {
var i;
if (e)
return t = (t || "fx") + "queue",
i = _._data(e, t),
n && (!i || _.isArray(n) ? i = _._data(e, t, _.makeArray(n)) : i.push(n)),
i || []
},
dequeue: function(e, t) {
t = t || "fx";
var n = _.queue(e, t)
, i = n.length
, r = n.shift()
, o = _._queueHooks(e, t);
"inprogress" === r && (r = n.shift(),
i--),
r && ("fx" === t && n.unshift("inprogress"),
delete o.stop,
r.call(e, function() {
_.dequeue(e, t)
}, o)),
!i && o && o.empty.fire()
},
_queueHooks: function(e, t) {
var n = t + "queueHooks";
return _._data(e, n) || _._data(e, n, {
empty: _.Callbacks("once memory").add(function() {
_._removeData(e, t + "queue"),
_._removeData(e, n)
})
})
}
}),
_.fn.extend({
queue: function(t, n) {
var e = 2;
return "string" != typeof t && (n = t,
t = "fx",
e--),
arguments.length < e ? _.queue(this[0], t) : n === undefined ? this : this.each(function() {
var e = _.queue(this, t, n);
_._queueHooks(this, t),
"fx" === t && "inprogress" !== e[0] && _.dequeue(this, t)
})
},
dequeue: function(e) {
return this.each(function() {
_.dequeue(this, e)
})
},
clearQueue: function(e) {
return this.queue(e || "fx", [])
},
promise: function(e, t) {
var n, i = 1, r = _.Deferred(), o = this, a = this.length, s = function() {
--i || r.resolveWith(o, [o])
};
for ("string" != typeof e && (t = e,
e = undefined),
e = e || "fx"; a--; )
(n = _._data(o[a], e + "queueHooks")) && n.empty && (i++,
n.empty.add(s));
return s(),
r.promise(t)
}
});
var B = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source
, I = ["Top", "Right", "Bottom", "Left"]
, W = function(e, t) {
return e = t || e,
"none" === _.css(e, "display") || !_.contains(e.ownerDocument, e)
}
, z = _.access = function(e, t, n, i, r, o, a) {
var s = 0
, l = e.length
, u = null == n;
if ("object" === _.type(n))
for (s in r = !0,
n)
_.access(e, t, s, n[s], !0, o, a);
else if (i !== undefined && (r = !0,
_.isFunction(i) || (a = !0),
u && (t = a ? (t.call(e, i),
null) : (u = t,
function(e, t, n) {
return u.call(_(e), n)
}
)),
t))
for (; s < l; s++)
t(e[s], n, a ? i : i.call(e[s], s, t(e[s], n)));
return r ? e : u ? t.call(e) : l ? t(e[0], n) : o
}
, X = /^(?:checkbox|radio)$/i;
!function() {
var e = C.createElement("input")
, t = C.createElement("div")
, n = C.createDocumentFragment();
if (t.innerHTML = " a",
v.leadingWhitespace = 3 === t.firstChild.nodeType,
v.tbody = !t.getElementsByTagName("tbody").length,
v.htmlSerialize = !!t.getElementsByTagName("link").length,
v.html5Clone = "<:nav>" !== C.createElement("nav").cloneNode(!0).outerHTML,
e.type = "checkbox",
e.checked = !0,
n.appendChild(e),
v.appendChecked = e.checked,
t.innerHTML = "",
v.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue,
n.appendChild(t),
t.innerHTML = "",
v.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked,
v.noCloneEvent = !0,
t.attachEvent && (t.attachEvent("onclick", function() {
v.noCloneEvent = !1
}),
t.cloneNode(!0).click()),
null == v.deleteExpando) {
v.deleteExpando = !0;
try {
delete t.test
} catch (i) {
v.deleteExpando = !1
}
}
}(),
function() {
var e, t, n = C.createElement("div");
for (e in {
submit: !0,
change: !0,
focusin: !0
})
t = "on" + e,
(v[e + "Bubbles"] = t in m) || (n.setAttribute(t, "t"),
v[e + "Bubbles"] = !1 === n.attributes[t].expando);
n = null
}();
var U = /^(?:input|select|textarea)$/i
, G = /^key/
, J = /^(?:mouse|pointer|contextmenu)|click/
, V = /^(?:focusinfocus|focusoutblur)$/
, Q = /^([^.]*)(?:\.(.+)|)$/;
function Y() {
return !0
}
function K() {
return !1
}
function Z() {
try {
return C.activeElement
} catch (e) {}
}
function ee(e) {
var t = te.split("|")
, n = e.createDocumentFragment();
if (n.createElement)
for (; t.length; )
n.createElement(t.pop());
return n
}
_.event = {
global: {},
add: function(e, t, n, i, r) {
var o, a, s, l, u, c, d, f, p, h, m, g = _._data(e);
if (g) {
for (n.handler && (n = (l = n).handler,
r = l.selector),
n.guid || (n.guid = _.guid++),
(a = g.events) || (a = g.events = {}),
(c = g.handle) || ((c = g.handle = function(e) {
return typeof _ === D || e && _.event.triggered === e.type ? undefined : _.event.dispatch.apply(c.elem, arguments)
}
).elem = e),
s = (t = (t || "").match(N) || [""]).length; s--; )
p = m = (o = Q.exec(t[s]) || [])[1],
h = (o[2] || "").split(".").sort(),
p && (u = _.event.special[p] || {},
p = (r ? u.delegateType : u.bindType) || p,
u = _.event.special[p] || {},
d = _.extend({
type: p,
origType: m,
data: i,
handler: n,
guid: n.guid,
selector: r,
needsContext: r && _.expr.match.needsContext.test(r),
namespace: h.join(".")
}, l),
(f = a[p]) || ((f = a[p] = []).delegateCount = 0,
u.setup && !1 !== u.setup.call(e, i, h, c) || (e.addEventListener ? e.addEventListener(p, c, !1) : e.attachEvent && e.attachEvent("on" + p, c))),
u.add && (u.add.call(e, d),
d.handler.guid || (d.handler.guid = n.guid)),
r ? f.splice(f.delegateCount++, 0, d) : f.push(d),
_.event.global[p] = !0);
e = null
}
},
remove: function(e, t, n, i, r) {
var o, a, s, l, u, c, d, f, p, h, m, g = _.hasData(e) && _._data(e);
if (g && (c = g.events)) {
for (u = (t = (t || "").match(N) || [""]).length; u--; )
if (p = m = (s = Q.exec(t[u]) || [])[1],
h = (s[2] || "").split(".").sort(),
p) {
for (d = _.event.special[p] || {},
f = c[p = (i ? d.delegateType : d.bindType) || p] || [],
s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"),
l = o = f.length; o--; )
a = f[o],
!r && m !== a.origType || n && n.guid !== a.guid || s && !s.test(a.namespace) || i && i !== a.selector && ("**" !== i || !a.selector) || (f.splice(o, 1),
a.selector && f.delegateCount--,
d.remove && d.remove.call(e, a));
l && !f.length && (d.teardown && !1 !== d.teardown.call(e, h, g.handle) || _.removeEvent(e, p, g.handle),
delete c[p])
} else
for (p in c)
_.event.remove(e, p + t[u], n, i, !0);
_.isEmptyObject(c) && (delete g.handle,
_._removeData(e, "events"))
}
},
trigger: function(e, t, n, i) {
var r, o, a, s, l, u, c, d = [n || C], f = g.call(e, "type") ? e.type : e, p = g.call(e, "namespace") ? e.namespace.split(".") : [];
if (a = u = n = n || C,
3 !== n.nodeType && 8 !== n.nodeType && !V.test(f + _.event.triggered) && (0 <= f.indexOf(".") && (f = (p = f.split(".")).shift(),
p.sort()),
o = f.indexOf(":") < 0 && "on" + f,
(e = e[_.expando] ? e : new _.Event(f,"object" == typeof e && e)).isTrigger = i ? 2 : 3,
e.namespace = p.join("."),
e.namespace_re = e.namespace ? new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)") : null,
e.result = undefined,
e.target || (e.target = n),
t = null == t ? [e] : _.makeArray(t, [e]),
l = _.event.special[f] || {},
i || !l.trigger || !1 !== l.trigger.apply(n, t))) {
if (!i && !l.noBubble && !_.isWindow(n)) {
for (s = l.delegateType || f,
V.test(s + f) || (a = a.parentNode); a; a = a.parentNode)
d.push(a),
u = a;
u === (n.ownerDocument || C) && d.push(u.defaultView || u.parentWindow || m)
}
for (c = 0; (a = d[c++]) && !e.isPropagationStopped(); )
e.type = 1 < c ? s : l.bindType || f,
(r = (_._data(a, "events") || {})[e.type] && _._data(a, "handle")) && r.apply(a, t),
(r = o && a[o]) && r.apply && _.acceptData(a) && (e.result = r.apply(a, t),
!1 === e.result && e.preventDefault());
if (e.type = f,
!i && !e.isDefaultPrevented() && (!l._default || !1 === l._default.apply(d.pop(), t)) && _.acceptData(n) && o && n[f] && !_.isWindow(n)) {
(u = n[o]) && (n[o] = null),
_.event.triggered = f;
try {
n[f]()
} catch (h) {}
_.event.triggered = undefined,
u && (n[o] = u)
}
return e.result
}
},
dispatch: function(e) {
e = _.event.fix(e);
var t, n, i, r, o, a, s = c.call(arguments), l = (_._data(this, "events") || {})[e.type] || [], u = _.event.special[e.type] || {};
if ((s[0] = e).delegateTarget = this,
!u.preDispatch || !1 !== u.preDispatch.call(this, e)) {
for (a = _.event.handlers.call(this, e, l),
t = 0; (r = a[t++]) && !e.isPropagationStopped(); )
for (e.currentTarget = r.elem,
o = 0; (i = r.handlers[o++]) && !e.isImmediatePropagationStopped(); )
e.namespace_re && !e.namespace_re.test(i.namespace) || (e.handleObj = i,
e.data = i.data,
(n = ((_.event.special[i.origType] || {}).handle || i.handler).apply(r.elem, s)) !== undefined && !1 === (e.result = n) && (e.preventDefault(),
e.stopPropagation()));
return u.postDispatch && u.postDispatch.call(this, e),
e.result
}
},
handlers: function(e, t) {
var n, i, r, o, a = [], s = t.delegateCount, l = e.target;
if (s && l.nodeType && (!e.button || "click" !== e.type))
for (; l != this; l = l.parentNode || this)
if (1 === l.nodeType && (!0 !== l.disabled || "click" !== e.type)) {
for (r = [],
o = 0; o < s; o++)
r[n = (i = t[o]).selector + " "] === undefined && (r[n] = i.needsContext ? 0 <= _(n, this).index(l) : _.find(n, this, null, [l]).length),
r[n] && r.push(i);
r.length && a.push({
elem: l,
handlers: r
})
}
return s < t.length && a.push({
elem: this,
handlers: t.slice(s)
}),
a
},
fix: function(e) {
if (e[_.expando])
return e;
var t, n, i, r = e.type, o = e, a = this.fixHooks[r];
for (a || (this.fixHooks[r] = a = J.test(r) ? this.mouseHooks : G.test(r) ? this.keyHooks : {}),
i = a.props ? this.props.concat(a.props) : this.props,
e = new _.Event(o),
t = i.length; t--; )
e[n = i[t]] = o[n];
return e.target || (e.target = o.srcElement || C),
3 === e.target.nodeType && (e.target = e.target.parentNode),
e.metaKey = !!e.metaKey,
a.filter ? a.filter(e, o) : e
},
props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
fixHooks: {},
keyHooks: {
props: "char charCode key keyCode".split(" "),
filter: function(e, t) {
return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode),
e
}
},
mouseHooks: {
props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter: function(e, t) {
var n, i, r, o = t.button, a = t.fromElement;
return null == e.pageX && null != t.clientX && (r = (i = e.target.ownerDocument || C).documentElement,
n = i.body,
e.pageX = t.clientX + (r && r.scrollLeft || n && n.scrollLeft || 0) - (r && r.clientLeft || n && n.clientLeft || 0),
e.pageY = t.clientY + (r && r.scrollTop || n && n.scrollTop || 0) - (r && r.clientTop || n && n.clientTop || 0)),
!e.relatedTarget && a && (e.relatedTarget = a === e.target ? t.toElement : a),
e.which || o === undefined || (e.which = 1 & o ? 1 : 2 & o ? 3 : 4 & o ? 2 : 0),
e
}
},
special: {
load: {
noBubble: !0
},
focus: {
trigger: function() {
if (this !== Z() && this.focus)
try {
return this.focus(),
!1
} catch (e) {}
},
delegateType: "focusin"
},
blur: {
trigger: function() {
if (this === Z() && this.blur)
return this.blur(),
!1
},
delegateType: "focusout"
},
click: {
trigger: function() {
if (_.nodeName(this, "input") && "checkbox" === this.type && this.click)
return this.click(),
!1
},
_default: function(e) {
return _.nodeName(e.target, "a")
}
},
beforeunload: {
postDispatch: function(e) {
e.result !== undefined && e.originalEvent && (e.originalEvent.returnValue = e.result)
}
}
},
simulate: function(e, t, n, i) {
var r = _.extend(new _.Event, n, {
type: e,
isSimulated: !0,
originalEvent: {}
});
i ? _.event.trigger(r, null, t) : _.event.dispatch.call(t, r),
r.isDefaultPrevented() && n.preventDefault()
}
},
_.removeEvent = C.removeEventListener ? function(e, t, n) {
e.removeEventListener && e.removeEventListener(t, n, !1)
}
: function(e, t, n) {
var i = "on" + t;
e.detachEvent && (typeof e[i] === D && (e[i] = null),
e.detachEvent(i, n))
}
,
_.Event = function(e, t) {
if (!(this instanceof _.Event))
return new _.Event(e,t);
e && e.type ? (this.originalEvent = e,
this.type = e.type,
this.isDefaultPrevented = e.defaultPrevented || e.defaultPrevented === undefined && !1 === e.returnValue ? Y : K) : this.type = e,
t && _.extend(this, t),
this.timeStamp = e && e.timeStamp || _.now(),
this[_.expando] = !0
}
,
_.Event.prototype = {
isDefaultPrevented: K,
isPropagationStopped: K,
isImmediatePropagationStopped: K,
preventDefault: function() {
var e = this.originalEvent;
this.isDefaultPrevented = Y,
e && (e.preventDefault ? e.preventDefault() : e.returnValue = !1)
},
stopPropagation: function() {
var e = this.originalEvent;
this.isPropagationStopped = Y,
e && (e.stopPropagation && e.stopPropagation(),
e.cancelBubble = !0)
},
stopImmediatePropagation: function() {
var e = this.originalEvent;
this.isImmediatePropagationStopped = Y,
e && e.stopImmediatePropagation && e.stopImmediatePropagation(),
this.stopPropagation()
}
},
_.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, function(e, r) {
_.event.special[e] = {
delegateType: r,
bindType: r,
handle: function(e) {
var t, n = e.relatedTarget, i = e.handleObj;
return n && (n === this || _.contains(this, n)) || (e.type = i.origType,
t = i.handler.apply(this, arguments),
e.type = r),
t
}
}
}),
v.submitBubbles || (_.event.special.submit = {
setup: function() {
if (_.nodeName(this, "form"))
return !1;
_.event.add(this, "click._submit keypress._submit", function(e) {
var t = e.target
, n = _.nodeName(t, "input") || _.nodeName(t, "button") ? t.form : undefined;
n && !_._data(n, "submitBubbles") && (_.event.add(n, "submit._submit", function(e) {
e._submit_bubble = !0
}),
_._data(n, "submitBubbles", !0))
})
},
postDispatch: function(e) {
e._submit_bubble && (delete e._submit_bubble,
this.parentNode && !e.isTrigger && _.event.simulate("submit", this.parentNode, e, !0))
},
teardown: function() {
if (_.nodeName(this, "form"))
return !1;
_.event.remove(this, "._submit")
}
}),
v.changeBubbles || (_.event.special.change = {
setup: function() {
if (U.test(this.nodeName))
return "checkbox" !== this.type && "radio" !== this.type || (_.event.add(this, "propertychange._change", function(e) {
"checked" === e.originalEvent.propertyName && (this._just_changed = !0)
}),
_.event.add(this, "click._change", function(e) {
this._just_changed && !e.isTrigger && (this._just_changed = !1),
_.event.simulate("change", this, e, !0)
})),
!1;
_.event.add(this, "beforeactivate._change", function(e) {
var t = e.target;
U.test(t.nodeName) && !_._data(t, "changeBubbles") && (_.event.add(t, "change._change", function(e) {
!this.parentNode || e.isSimulated || e.isTrigger || _.event.simulate("change", this.parentNode, e, !0)
}),
_._data(t, "changeBubbles", !0))
})
},
handle: function(e) {
var t = e.target;
if (this !== t || e.isSimulated || e.isTrigger || "radio" !== t.type && "checkbox" !== t.type)
return e.handleObj.handler.apply(this, arguments)
},
teardown: function() {
return _.event.remove(this, "._change"),
!U.test(this.nodeName)
}
}),
v.focusinBubbles || _.each({
focus: "focusin",
blur: "focusout"
}, function(n, i) {
var r = function(e) {
_.event.simulate(i, e.target, _.event.fix(e), !0)
};
_.event.special[i] = {
setup: function() {
var e = this.ownerDocument || this
, t = _._data(e, i);
t || e.addEventListener(n, r, !0),
_._data(e, i, (t || 0) + 1)
},
teardown: function() {
var e = this.ownerDocument || this
, t = _._data(e, i) - 1;
t ? _._data(e, i, t) : (e.removeEventListener(n, r, !0),
_._removeData(e, i))
}
}
}),
_.fn.extend({
on: function(e, t, n, i, r) {
var o, a;
if ("object" == typeof e) {
for (o in "string" != typeof t && (n = n || t,
t = undefined),
e)
this.on(o, t, n, e[o], r);
return this
}
if (null == n && null == i ? (i = t,
n = t = undefined) : null == i && ("string" == typeof t ? (i = n,
n = undefined) : (i = n,
n = t,
t = undefined)),
!1 === i)
i = K;
else if (!i)
return this;
return 1 === r && (a = i,
(i = function(e) {
return _().off(e),
a.apply(this, arguments)
}
).guid = a.guid || (a.guid = _.guid++)),
this.each(function() {
_.event.add(this, e, i, n, t)
})
},
one: function(e, t, n, i) {
return this.on(e, t, n, i, 1)
},
off: function(e, t, n) {
var i, r;
if (e && e.preventDefault && e.handleObj)
return i = e.handleObj,
_(e.delegateTarget).off(i.namespace ? i.origType + "." + i.namespace : i.origType, i.selector, i.handler),
this;
if ("object" != typeof e)
return !1 !== t && "function" != typeof t || (n = t,
t = undefined),
!1 === n && (n = K),
this.each(function() {
_.event.remove(this, e, n, t)
});
for (r in e)
this.off(r, t, e[r]);
return this
},
trigger: function(e, t) {
return this.each(function() {
_.event.trigger(e, t, this)
})
},
triggerHandler: function(e, t) {
var n = this[0];
if (n)
return _.event.trigger(e, t, n, !0)
}
});
var te = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video"
, ne = / jQuery\d+="(?:null|\d+)"/g
, ie = new RegExp("<(?:" + te + ")[\\s/>]","i")
, re = /^\s+/
, oe = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi
, ae = /<([\w:]+)/
, se = /\s*$/g
, he = {
option: [1, ""],
legend: [1, ""],
area: [1, ""],
param: [1, ""],
thead: [1, ""],
tr: [2, ""],
col: [2, ""],
td: [3, ""],
_default: v.htmlSerialize ? [0, "", ""] : [1, "X", "
"]
}
, me = ee(C).appendChild(C.createElement("div"));
function ge(e, t) {
var n, i, r = 0, o = typeof e.getElementsByTagName !== D ? e.getElementsByTagName(t || "*") : typeof e.querySelectorAll !== D ? e.querySelectorAll(t || "*") : undefined;
if (!o)
for (o = [],
n = e.childNodes || e; null != (i = n[r]); r++)
!t || _.nodeName(i, t) ? o.push(i) : _.merge(o, ge(i, t));
return t === undefined || t && _.nodeName(e, t) ? _.merge([e], o) : o
}
function ve(e) {
X.test(e.type) && (e.defaultChecked = e.checked)
}
function ye(e, t) {
return _.nodeName(e, "table") && _.nodeName(11 !== t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e
}
function be(e) {
return e.type = (null !== _.find.attr(e, "type")) + "/" + e.type,
e
}
function we(e) {
var t = fe.exec(e.type);
return t ? e.type = t[1] : e.removeAttribute("type"),
e
}
function xe(e, t) {
for (var n, i = 0; null != (n = e[i]); i++)
_._data(n, "globalEval", !t || _._data(t[i], "globalEval"))
}
function Ce(e, t) {
if (1 === t.nodeType && _.hasData(e)) {
var n, i, r, o = _._data(e), a = _._data(t, o), s = o.events;
if (s)
for (n in delete a.handle,
a.events = {},
s)
for (i = 0,
r = s[n].length; i < r; i++)
_.event.add(t, n, s[n][i]);
a.data && (a.data = _.extend({}, a.data))
}
}
function Te(e, t) {
var n, i, r;
if (1 === t.nodeType) {
if (n = t.nodeName.toLowerCase(),
!v.noCloneEvent && t[_.expando]) {
for (i in (r = _._data(t)).events)
_.removeEvent(t, i, r.handle);
t.removeAttribute(_.expando)
}
"script" === n && t.text !== e.text ? (be(t).text = e.text,
we(t)) : "object" === n ? (t.parentNode && (t.outerHTML = e.outerHTML),
v.html5Clone && e.innerHTML && !_.trim(t.innerHTML) && (t.innerHTML = e.innerHTML)) : "input" === n && X.test(e.type) ? (t.defaultChecked = t.checked = e.checked,
t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultSelected = t.selected = e.defaultSelected : "input" !== n && "textarea" !== n || (t.defaultValue = e.defaultValue)
}
}
he.optgroup = he.option,
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead,
he.th = he.td,
_.extend({
clone: function(e, t, n) {
var i, r, o, a, s, l = _.contains(e.ownerDocument, e);
if (v.html5Clone || _.isXMLDoc(e) || !ie.test("<" + e.nodeName + ">") ? o = e.cloneNode(!0) : (me.innerHTML = e.outerHTML,
me.removeChild(o = me.firstChild)),
!(v.noCloneEvent && v.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || _.isXMLDoc(e)))
for (i = ge(o),
s = ge(e),
a = 0; null != (r = s[a]); ++a)
i[a] && Te(r, i[a]);
if (t)
if (n)
for (s = s || ge(e),
i = i || ge(o),
a = 0; null != (r = s[a]); a++)
Ce(r, i[a]);
else
Ce(e, o);
return 0 < (i = ge(o, "script")).length && xe(i, !l && ge(e, "script")),
i = s = r = null,
o
},
buildFragment: function(e, t, n, i) {
for (var r, o, a, s, l, u, c, d = e.length, f = ee(t), p = [], h = 0; h < d; h++)
if ((o = e[h]) || 0 === o)
if ("object" === _.type(o))
_.merge(p, o.nodeType ? [o] : o);
else if (le.test(o)) {
for (s = s || f.appendChild(t.createElement("div")),
l = (ae.exec(o) || ["", ""])[1].toLowerCase(),
c = he[l] || he._default,
s.innerHTML = c[1] + o.replace(oe, "<$1>$2>") + c[2],
r = c[0]; r--; )
s = s.lastChild;
if (!v.leadingWhitespace && re.test(o) && p.push(t.createTextNode(re.exec(o)[0])),
!v.tbody)
for (r = (o = "table" !== l || se.test(o) ? "" !== c[1] || se.test(o) ? 0 : s : s.firstChild) && o.childNodes.length; r--; )
_.nodeName(u = o.childNodes[r], "tbody") && !u.childNodes.length && o.removeChild(u);
for (_.merge(p, s.childNodes),
s.textContent = ""; s.firstChild; )
s.removeChild(s.firstChild);
s = f.lastChild
} else
p.push(t.createTextNode(o));
for (s && f.removeChild(s),
v.appendChecked || _.grep(ge(p, "input"), ve),
h = 0; o = p[h++]; )
if ((!i || -1 === _.inArray(o, i)) && (a = _.contains(o.ownerDocument, o),
s = ge(f.appendChild(o), "script"),
a && xe(s),
n))
for (r = 0; o = s[r++]; )
de.test(o.type || "") && n.push(o);
return s = null,
f
},
cleanData: function(e, t) {
for (var n, i, r, o, a = 0, s = _.expando, l = _.cache, u = v.deleteExpando, c = _.event.special; null != (n = e[a]); a++)
if ((t || _.acceptData(n)) && (o = (r = n[s]) && l[r])) {
if (o.events)
for (i in o.events)
c[i] ? _.event.remove(n, i) : _.removeEvent(n, i, o.handle);
l[r] && (delete l[r],
u ? delete n[s] : typeof n.removeAttribute !== D ? n.removeAttribute(s) : n[s] = null,
d.push(r))
}
}
}),
_.fn.extend({
text: function(e) {
return z(this, function(e) {
return e === undefined ? _.text(this) : this.empty().append((this[0] && this[0].ownerDocument || C).createTextNode(e))
}, null, e, arguments.length)
},
append: function() {
return this.domManip(arguments, function(e) {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || ye(this, e).appendChild(e)
})
},
prepend: function() {
return this.domManip(arguments, function(e) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var t = ye(this, e);
t.insertBefore(e, t.firstChild)
}
})
},
before: function() {
return this.domManip(arguments, function(e) {
this.parentNode && this.parentNode.insertBefore(e, this)
})
},
after: function() {
return this.domManip(arguments, function(e) {
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
})
},
remove: function(e, t) {
for (var n, i = e ? _.filter(e, this) : this, r = 0; null != (n = i[r]); r++)
t || 1 !== n.nodeType || _.cleanData(ge(n)),
n.parentNode && (t && _.contains(n.ownerDocument, n) && xe(ge(n, "script")),
n.parentNode.removeChild(n));
return this
},
empty: function() {
for (var e, t = 0; null != (e = this[t]); t++) {
for (1 === e.nodeType && _.cleanData(ge(e, !1)); e.firstChild; )
e.removeChild(e.firstChild);
e.options && _.nodeName(e, "select") && (e.options.length = 0)
}
return this
},
clone: function(e, t) {
return e = null != e && e,
t = null == t ? e : t,
this.map(function() {
return _.clone(this, e, t)
})
},
html: function(e) {
return z(this, function(e) {
var t = this[0] || {}
, n = 0
, i = this.length;
if (e === undefined)
return 1 === t.nodeType ? t.innerHTML.replace(ne, "") : undefined;
if ("string" == typeof e && !ue.test(e) && (v.htmlSerialize || !ie.test(e)) && (v.leadingWhitespace || !re.test(e)) && !he[(ae.exec(e) || ["", ""])[1].toLowerCase()]) {
e = e.replace(oe, "<$1>$2>");
try {
for (; n < i; n++)
1 === (t = this[n] || {}).nodeType && (_.cleanData(ge(t, !1)),
t.innerHTML = e);
t = 0
} catch (r) {}
}
t && this.empty().append(e)
}, null, e, arguments.length)
},
replaceWith: function() {
var t = arguments[0];
return this.domManip(arguments, function(e) {
t = this.parentNode,
_.cleanData(ge(this)),
t && t.replaceChild(e, this)
}),
t && (t.length || t.nodeType) ? this : this.remove()
},
detach: function(e) {
return this.remove(e, !0)
},
domManip: function(n, i) {
n = h.apply([], n);
var e, t, r, o, a, s, l = 0, u = this.length, c = this, d = u - 1, f = n[0], p = _.isFunction(f);
if (p || 1 < u && "string" == typeof f && !v.checkClone && ce.test(f))
return this.each(function(e) {
var t = c.eq(e);
p && (n[0] = f.call(this, e, t.html())),
t.domManip(n, i)
});
if (u && (e = (s = _.buildFragment(n, this[0].ownerDocument, !1, this)).firstChild,
1 === s.childNodes.length && (s = e),
e)) {
for (r = (o = _.map(ge(s, "script"), be)).length; l < u; l++)
t = s,
l !== d && (t = _.clone(t, !0, !0),
r && _.merge(o, ge(t, "script"))),
i.call(this[l], t, l);
if (r)
for (a = o[o.length - 1].ownerDocument,
_.map(o, we),
l = 0; l < r; l++)
t = o[l],
de.test(t.type || "") && !_._data(t, "globalEval") && _.contains(a, t) && (t.src ? _._evalUrl && _._evalUrl(t.src) : _.globalEval((t.text || t.textContent || t.innerHTML || "").replace(pe, "")));
s = e = null
}
return this
}
}),
_.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(e, a) {
_.fn[e] = function(e) {
for (var t, n = 0, i = [], r = _(e), o = r.length - 1; n <= o; n++)
t = n === o ? this : this.clone(!0),
_(r[n])[a](t),
s.apply(i, t.get());
return this.pushStack(i)
}
});
var Ee, _e, ke = {};
function Se(e, t) {
var n, i = _(t.createElement(e)).appendTo(t.body), r = m.getDefaultComputedStyle && (n = m.getDefaultComputedStyle(i[0])) ? n.display : _.css(i[0], "display");
return i.detach(),
r
}
function je(e) {
var t = C
, n = ke[e];
return n || ("none" !== (n = Se(e, t)) && n || ((t = ((Ee = (Ee || _("")).appendTo(t.documentElement))[0].contentWindow || Ee[0].contentDocument).document).write(),
t.close(),
n = Se(e, t),
Ee.detach()),
ke[e] = n),
n
}
v.shrinkWrapBlocks = function() {
return null != _e ? _e : (_e = !1,
(t = C.getElementsByTagName("body")[0]) && t.style ? (e = C.createElement("div"),
(n = C.createElement("div")).style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px",
t.appendChild(n).appendChild(e),
typeof e.style.zoom !== D && (e.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",
e.appendChild(C.createElement("div")).style.width = "5px",
_e = 3 !== e.offsetWidth),
t.removeChild(n),
_e) : void 0);
var e, t, n
}
;
var Ne, qe, Ae = /^margin/, $e = new RegExp("^(" + B + ")(?!px)[a-z%]+$","i"), Pe = /^(top|right|bottom|left)$/;
function De(t, n) {
return {
get: function() {
var e = t();
if (null != e) {
if (!e)
return (this.get = n).apply(this, arguments);
delete this.get
}
}
}
}
m.getComputedStyle ? (Ne = function(e) {
return e.ownerDocument.defaultView.getComputedStyle(e, null)
}
,
qe = function(e, t, n) {
var i, r, o, a, s = e.style;
return a = (n = n || Ne(e)) ? n.getPropertyValue(t) || n[t] : undefined,
n && ("" !== a || _.contains(e.ownerDocument, e) || (a = _.style(e, t)),
$e.test(a) && Ae.test(t) && (i = s.width,
r = s.minWidth,
o = s.maxWidth,
s.minWidth = s.maxWidth = s.width = a,
a = n.width,
s.width = i,
s.minWidth = r,
s.maxWidth = o)),
a === undefined ? a : a + ""
}
) : C.documentElement.currentStyle && (Ne = function(e) {
return e.currentStyle
}
,
qe = function(e, t, n) {
var i, r, o, a, s = e.style;
return null == (a = (n = n || Ne(e)) ? n[t] : undefined) && s && s[t] && (a = s[t]),
$e.test(a) && !Pe.test(t) && (i = s.left,
(o = (r = e.runtimeStyle) && r.left) && (r.left = e.currentStyle.left),
s.left = "fontSize" === t ? "1em" : a,
a = s.pixelLeft + "px",
s.left = i,
o && (r.left = o)),
a === undefined ? a : a + "" || "auto"
}
),
function() {
var e, t, n, r, o, a, s;
function i() {
var e, t, n, i;
(t = C.getElementsByTagName("body")[0]) && t.style && (e = C.createElement("div"),
(n = C.createElement("div")).style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px",
t.appendChild(n).appendChild(e),
e.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",
r = o = !1,
s = !0,
m.getComputedStyle && (r = "1%" !== (m.getComputedStyle(e, null) || {}).top,
o = "4px" === (m.getComputedStyle(e, null) || {
width: "4px"
}).width,
(i = e.appendChild(C.createElement("div"))).style.cssText = e.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",
i.style.marginRight = i.style.width = "0",
e.style.width = "1px",
s = !parseFloat((m.getComputedStyle(i, null) || {}).marginRight)),
e.innerHTML = "",
(i = e.getElementsByTagName("td"))[0].style.cssText = "margin:0;border:0;padding:0;display:none",
(a = 0 === i[0].offsetHeight) && (i[0].style.display = "",
i[1].style.display = "none",
a = 0 === i[0].offsetHeight),
t.removeChild(n))
}
(e = C.createElement("div")).innerHTML = " a",
(t = (n = e.getElementsByTagName("a")[0]) && n.style) && (t.cssText = "float:left;opacity:.5",
v.opacity = "0.5" === t.opacity,
v.cssFloat = !!t.cssFloat,
e.style.backgroundClip = "content-box",
e.cloneNode(!0).style.backgroundClip = "",
v.clearCloneStyle = "content-box" === e.style.backgroundClip,
v.boxSizing = "" === t.boxSizing || "" === t.MozBoxSizing || "" === t.WebkitBoxSizing,
_.extend(v, {
reliableHiddenOffsets: function() {
return null == a && i(),
a
},
boxSizingReliable: function() {
return null == o && i(),
o
},
pixelPosition: function() {
return null == r && i(),
r
},
reliableMarginRight: function() {
return null == s && i(),
s
}
}))
}(),
_.swap = function(e, t, n, i) {
var r, o, a = {};
for (o in t)
a[o] = e.style[o],
e.style[o] = t[o];
for (o in r = n.apply(e, i || []),
t)
e.style[o] = a[o];
return r
}
;
var Oe = /alpha\([^)]*\)/i
, Le = /opacity\s*=\s*([^)]*)/
, Me = /^(none|table(?!-c[ea]).+)/
, He = new RegExp("^(" + B + ")(.*)$","i")
, Fe = new RegExp("^([+-])=(" + B + ")","i")
, Re = {
position: "absolute",
visibility: "hidden",
display: "block"
}
, Be = {
letterSpacing: "0",
fontWeight: "400"
}
, Ie = ["Webkit", "O", "Moz", "ms"];
function We(e, t) {
if (t in e)
return t;
for (var n = t.charAt(0).toUpperCase() + t.slice(1), i = t, r = Ie.length; r--; )
if ((t = Ie[r] + n)in e)
return t;
return i
}
function ze(e, t) {
for (var n, i, r, o = [], a = 0, s = e.length; a < s; a++)
(i = e[a]).style && (o[a] = _._data(i, "olddisplay"),
n = i.style.display,
t ? (o[a] || "none" !== n || (i.style.display = ""),
"" === i.style.display && W(i) && (o[a] = _._data(i, "olddisplay", je(i.nodeName)))) : (r = W(i),
(n && "none" !== n || !r) && _._data(i, "olddisplay", r ? n : _.css(i, "display"))));
for (a = 0; a < s; a++)
(i = e[a]).style && (t && "none" !== i.style.display && "" !== i.style.display || (i.style.display = t ? o[a] || "" : "none"));
return e
}
function Xe(e, t, n) {
var i = He.exec(t);
return i ? Math.max(0, i[1] - (n || 0)) + (i[2] || "px") : t
}
function Ue(e, t, n, i, r) {
for (var o = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0, a = 0; o < 4; o += 2)
"margin" === n && (a += _.css(e, n + I[o], !0, r)),
i ? ("content" === n && (a -= _.css(e, "padding" + I[o], !0, r)),
"margin" !== n && (a -= _.css(e, "border" + I[o] + "Width", !0, r))) : (a += _.css(e, "padding" + I[o], !0, r),
"padding" !== n && (a += _.css(e, "border" + I[o] + "Width", !0, r)));
return a
}
function Ge(e, t, n) {
var i = !0
, r = "width" === t ? e.offsetWidth : e.offsetHeight
, o = Ne(e)
, a = v.boxSizing && "border-box" === _.css(e, "boxSizing", !1, o);
if (r <= 0 || null == r) {
if (((r = qe(e, t, o)) < 0 || null == r) && (r = e.style[t]),
$e.test(r))
return r;
i = a && (v.boxSizingReliable() || r === e.style[t]),
r = parseFloat(r) || 0
}
return r + Ue(e, t, n || (a ? "border" : "content"), i, o) + "px"
}
function Je(e, t, n, i, r) {
return new Je.prototype.init(e,t,n,i,r)
}
_.extend({
cssHooks: {
opacity: {
get: function(e, t) {
if (t) {
var n = qe(e, "opacity");
return "" === n ? "1" : n
}
}
}
},
cssNumber: {
columnCount: !0,
fillOpacity: !0,
flexGrow: !0,
flexShrink: !0,
fontWeight: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
widows: !0,
zIndex: !0,
zoom: !0
},
cssProps: {
"float": v.cssFloat ? "cssFloat" : "styleFloat"
},
style: function(e, t, n, i) {
if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
var r, o, a, s = _.camelCase(t), l = e.style;
if (t = _.cssProps[s] || (_.cssProps[s] = We(l, s)),
a = _.cssHooks[t] || _.cssHooks[s],
n === undefined)
return a && "get"in a && (r = a.get(e, !1, i)) !== undefined ? r : l[t];
if ("string" === (o = typeof n) && (r = Fe.exec(n)) && (n = (r[1] + 1) * r[2] + parseFloat(_.css(e, t)),
o = "number"),
null != n && n == n && ("number" !== o || _.cssNumber[s] || (n += "px"),
v.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (l[t] = "inherit"),
!(a && "set"in a && (n = a.set(e, n, i)) === undefined)))
try {
l[t] = n
} catch (u) {}
}
},
css: function(e, t, n, i) {
var r, o, a, s = _.camelCase(t);
return t = _.cssProps[s] || (_.cssProps[s] = We(e.style, s)),
(a = _.cssHooks[t] || _.cssHooks[s]) && "get"in a && (o = a.get(e, !0, n)),
o === undefined && (o = qe(e, t, i)),
"normal" === o && t in Be && (o = Be[t]),
"" === n || n ? (r = parseFloat(o),
!0 === n || _.isNumeric(r) ? r || 0 : o) : o
}
}),
_.each(["height", "width"], function(e, r) {
_.cssHooks[r] = {
get: function(e, t, n) {
if (t)
return Me.test(_.css(e, "display")) && 0 === e.offsetWidth ? _.swap(e, Re, function() {
return Ge(e, r, n)
}) : Ge(e, r, n)
},
set: function(e, t, n) {
var i = n && Ne(e);
return Xe(0, t, n ? Ue(e, r, n, v.boxSizing && "border-box" === _.css(e, "boxSizing", !1, i), i) : 0)
}
}
}),
v.opacity || (_.cssHooks.opacity = {
get: function(e, t) {
return Le.test((t && e.currentStyle ? e.currentStyle.filter : e.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : t ? "1" : ""
},
set: function(e, t) {
var n = e.style
, i = e.currentStyle
, r = _.isNumeric(t) ? "alpha(opacity=" + 100 * t + ")" : ""
, o = i && i.filter || n.filter || "";
((n.zoom = 1) <= t || "" === t) && "" === _.trim(o.replace(Oe, "")) && n.removeAttribute && (n.removeAttribute("filter"),
"" === t || i && !i.filter) || (n.filter = Oe.test(o) ? o.replace(Oe, r) : o + " " + r)
}
}),
_.cssHooks.marginRight = De(v.reliableMarginRight, function(e, t) {
if (t)
return _.swap(e, {
display: "inline-block"
}, qe, [e, "marginRight"])
}),
_.each({
margin: "",
padding: "",
border: "Width"
}, function(r, o) {
_.cssHooks[r + o] = {
expand: function(e) {
for (var t = 0, n = {}, i = "string" == typeof e ? e.split(" ") : [e]; t < 4; t++)
n[r + I[t] + o] = i[t] || i[t - 2] || i[0];
return n
}
},
Ae.test(r) || (_.cssHooks[r + o].set = Xe)
}),
_.fn.extend({
css: function(e, t) {
return z(this, function(e, t, n) {
var i, r, o = {}, a = 0;
if (_.isArray(t)) {
for (i = Ne(e),
r = t.length; a < r; a++)
o[t[a]] = _.css(e, t[a], !1, i);
return o
}
return n !== undefined ? _.style(e, t, n) : _.css(e, t)
}, e, t, 1 < arguments.length)
},
show: function() {
return ze(this, !0)
},
hide: function() {
return ze(this)
},
toggle: function(e) {
return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function() {
W(this) ? _(this).show() : _(this).hide()
})
}
}),
((_.Tween = Je).prototype = {
constructor: Je,
init: function(e, t, n, i, r, o) {
this.elem = e,
this.prop = n,
this.easing = r || "swing",
this.options = t,
this.start = this.now = this.cur(),
this.end = i,
this.unit = o || (_.cssNumber[n] ? "" : "px")
},
cur: function() {
var e = Je.propHooks[this.prop];
return e && e.get ? e.get(this) : Je.propHooks._default.get(this)
},
run: function(e) {
var t, n = Je.propHooks[this.prop];
return this.options.duration ? this.pos = t = _.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e,
this.now = (this.end - this.start) * t + this.start,
this.options.step && this.options.step.call(this.elem, this.now, this),
n && n.set ? n.set(this) : Je.propHooks._default.set(this),
this
}
}).init.prototype = Je.prototype,
(Je.propHooks = {
_default: {
get: function(e) {
var t;
return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = _.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0 : e.elem[e.prop]
},
set: function(e) {
_.fx.step[e.prop] ? _.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[_.cssProps[e.prop]] || _.cssHooks[e.prop]) ? _.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now
}
}
}).scrollTop = Je.propHooks.scrollLeft = {
set: function(e) {
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
}
},
_.easing = {
linear: function(e) {
return e
},
swing: function(e) {
return .5 - Math.cos(e * Math.PI) / 2
}
},
_.fx = Je.prototype.init,
_.fx.step = {};
var Ve, Qe, Ye, Ke, Ze, et, tt, nt = /^(?:toggle|show|hide)$/, it = new RegExp("^(?:([+-])=|)(" + B + ")([a-z%]*)$","i"), rt = /queueHooks$/, ot = [function tn(t, e, n) {
var i, r, o, a, s, l, u, c = this, d = {}, f = t.style, p = t.nodeType && W(t), h = _._data(t, "fxshow");
n.queue || (null == (s = _._queueHooks(t, "fx")).unqueued && (s.unqueued = 0,
l = s.empty.fire,
s.empty.fire = function() {
s.unqueued || l()
}
),
s.unqueued++,
c.always(function() {
c.always(function() {
s.unqueued--,
_.queue(t, "fx").length || s.empty.fire()
})
}));
1 === t.nodeType && ("height"in e || "width"in e) && (n.overflow = [f.overflow, f.overflowX, f.overflowY],
u = _.css(t, "display"),
"inline" === ("none" === u ? _._data(t, "olddisplay") || je(t.nodeName) : u) && "none" === _.css(t, "float") && (v.inlineBlockNeedsLayout && "inline" !== je(t.nodeName) ? f.zoom = 1 : f.display = "inline-block"));
n.overflow && (f.overflow = "hidden",
v.shrinkWrapBlocks() || c.always(function() {
f.overflow = n.overflow[0],
f.overflowX = n.overflow[1],
f.overflowY = n.overflow[2]
}));
for (i in e)
if (r = e[i],
nt.exec(r)) {
if (delete e[i],
o = o || "toggle" === r,
r === (p ? "hide" : "show")) {
if ("show" !== r || !h || h[i] === undefined)
continue;
p = !0
}
d[i] = h && h[i] || _.style(t, i)
} else
u = undefined;
if (_.isEmptyObject(d))
"inline" === ("none" === u ? je(t.nodeName) : u) && (f.display = u);
else
for (i in h ? "hidden"in h && (p = h.hidden) : h = _._data(t, "fxshow", {}),
o && (h.hidden = !p),
p ? _(t).show() : c.done(function() {
_(t).hide()
}),
c.done(function() {
var e;
for (e in _._removeData(t, "fxshow"),
d)
_.style(t, e, d[e])
}),
d)
a = ut(p ? h[i] : 0, i, c),
i in h || (h[i] = a.start,
p && (a.end = a.start,
a.start = "width" === i || "height" === i ? 1 : 0))
}
], at = {
"*": [function(e, t) {
var n = this.createTween(e, t)
, i = n.cur()
, r = it.exec(t)
, o = r && r[3] || (_.cssNumber[e] ? "" : "px")
, a = (_.cssNumber[e] || "px" !== o && +i) && it.exec(_.css(n.elem, e))
, s = 1
, l = 20;
if (a && a[3] !== o)
for (o = o || a[3],
r = r || [],
a = +i || 1; a /= s = s || ".5",
_.style(n.elem, e, a + o),
s !== (s = n.cur() / i) && 1 !== s && --l; )
;
return r && (a = n.start = +a || +i || 0,
n.unit = o,
n.end = r[1] ? a + (r[1] + 1) * r[2] : +r[2]),
n
}
]
};
function st() {
return setTimeout(function() {
Ve = undefined
}),
Ve = _.now()
}
function lt(e, t) {
var n, i = {
height: e
}, r = 0;
for (t = t ? 1 : 0; r < 4; r += 2 - t)
i["margin" + (n = I[r])] = i["padding" + n] = e;
return t && (i.opacity = i.width = e),
i
}
function ut(e, t, n) {
for (var i, r = (at[t] || []).concat(at["*"]), o = 0, a = r.length; o < a; o++)
if (i = r[o].call(n, t, e))
return i
}
function ct(o, e, t) {
var n, a, i = 0, r = ot.length, s = _.Deferred().always(function() {
delete l.elem
}), l = function() {
if (a)
return !1;
for (var e = Ve || st(), t = Math.max(0, u.startTime + u.duration - e), n = 1 - (t / u.duration || 0), i = 0, r = u.tweens.length; i < r; i++)
u.tweens[i].run(n);
return s.notifyWith(o, [u, n, t]),
n < 1 && r ? t : (s.resolveWith(o, [u]),
!1)
}, u = s.promise({
elem: o,
props: _.extend({}, e),
opts: _.extend(!0, {
specialEasing: {}
}, t),
originalProperties: e,
originalOptions: t,
startTime: Ve || st(),
duration: t.duration,
tweens: [],
createTween: function(e, t) {
var n = _.Tween(o, u.opts, e, t, u.opts.specialEasing[e] || u.opts.easing);
return u.tweens.push(n),
n
},
stop: function(e) {
var t = 0
, n = e ? u.tweens.length : 0;
if (a)
return this;
for (a = !0; t < n; t++)
u.tweens[t].run(1);
return e ? s.resolveWith(o, [u, e]) : s.rejectWith(o, [u, e]),
this
}
}), c = u.props;
for (!function d(e, t) {
var n, i, r, o, a;
for (n in e)
if (r = t[i = _.camelCase(n)],
o = e[n],
_.isArray(o) && (r = o[1],
o = e[n] = o[0]),
n !== i && (e[i] = o,
delete e[n]),
(a = _.cssHooks[i]) && "expand"in a)
for (n in o = a.expand(o),
delete e[i],
o)
n in e || (e[n] = o[n],
t[n] = r);
else
t[i] = r
}(c, u.opts.specialEasing); i < r; i++)
if (n = ot[i].call(u, o, c, u.opts))
return n;
return _.map(c, ut, u),
_.isFunction(u.opts.start) && u.opts.start.call(o, u),
_.fx.timer(_.extend(l, {
elem: o,
anim: u,
queue: u.opts.queue
})),
u.progress(u.opts.progress).done(u.opts.done, u.opts.complete).fail(u.opts.fail).always(u.opts.always)
}
_.Animation = _.extend(ct, {
tweener: function(e, t) {
for (var n, i = 0, r = (e = _.isFunction(e) ? (t = e,
["*"]) : e.split(" ")).length; i < r; i++)
n = e[i],
at[n] = at[n] || [],
at[n].unshift(t)
},
prefilter: function(e, t) {
t ? ot.unshift(e) : ot.push(e)
}
}),
_.speed = function(e, t, n) {
var i = e && "object" == typeof e ? _.extend({}, e) : {
complete: n || !n && t || _.isFunction(e) && e,
duration: e,
easing: n && t || t && !_.isFunction(t) && t
};
return i.duration = _.fx.off ? 0 : "number" == typeof i.duration ? i.duration : i.duration in _.fx.speeds ? _.fx.speeds[i.duration] : _.fx.speeds._default,
null != i.queue && !0 !== i.queue || (i.queue = "fx"),
i.old = i.complete,
i.complete = function() {
_.isFunction(i.old) && i.old.call(this),
i.queue && _.dequeue(this, i.queue)
}
,
i
}
,
_.fn.extend({
fadeTo: function(e, t, n, i) {
return this.filter(W).css("opacity", 0).show().end().animate({
opacity: t
}, e, n, i)
},
animate: function(t, e, n, i) {
var r = _.isEmptyObject(t)
, o = _.speed(e, n, i)
, a = function() {
var e = ct(this, _.extend({}, t), o);
(r || _._data(this, "finish")) && e.stop(!0)
};
return a.finish = a,
r || !1 === o.queue ? this.each(a) : this.queue(o.queue, a)
},
stop: function(r, e, o) {
var a = function(e) {
var t = e.stop;
delete e.stop,
t(o)
};
return "string" != typeof r && (o = e,
e = r,
r = undefined),
e && !1 !== r && this.queue(r || "fx", []),
this.each(function() {
var e = !0
, t = null != r && r + "queueHooks"
, n = _.timers
, i = _._data(this);
if (t)
i[t] && i[t].stop && a(i[t]);
else
for (t in i)
i[t] && i[t].stop && rt.test(t) && a(i[t]);
for (t = n.length; t--; )
n[t].elem !== this || null != r && n[t].queue !== r || (n[t].anim.stop(o),
e = !1,
n.splice(t, 1));
!e && o || _.dequeue(this, r)
})
},
finish: function(a) {
return !1 !== a && (a = a || "fx"),
this.each(function() {
var e, t = _._data(this), n = t[a + "queue"], i = t[a + "queueHooks"], r = _.timers, o = n ? n.length : 0;
for (t.finish = !0,
_.queue(this, a, []),
i && i.stop && i.stop.call(this, !0),
e = r.length; e--; )
r[e].elem === this && r[e].queue === a && (r[e].anim.stop(!0),
r.splice(e, 1));
for (e = 0; e < o; e++)
n[e] && n[e].finish && n[e].finish.call(this);
delete t.finish
})
}
}),
_.each(["toggle", "show", "hide"], function(e, i) {
var r = _.fn[i];
_.fn[i] = function(e, t, n) {
return null == e || "boolean" == typeof e ? r.apply(this, arguments) : this.animate(lt(i, !0), e, t, n)
}
}),
_.each({
slideDown: lt("show"),
slideUp: lt("hide"),
slideToggle: lt("toggle"),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
},
fadeToggle: {
opacity: "toggle"
}
}, function(e, i) {
_.fn[e] = function(e, t, n) {
return this.animate(i, e, t, n)
}
}),
_.timers = [],
_.fx.tick = function() {
var e, t = _.timers, n = 0;
for (Ve = _.now(); n < t.length; n++)
(e = t[n])() || t[n] !== e || t.splice(n--, 1);
t.length || _.fx.stop(),
Ve = undefined
}
,
_.fx.timer = function(e) {
_.timers.push(e),
e() ? _.fx.start() : _.timers.pop()
}
,
_.fx.interval = 13,
_.fx.start = function() {
Qe || (Qe = setInterval(_.fx.tick, _.fx.interval))
}
,
_.fx.stop = function() {
clearInterval(Qe),
Qe = null
}
,
_.fx.speeds = {
slow: 600,
fast: 200,
_default: 400
},
_.fn.delay = function(i, e) {
return i = _.fx && _.fx.speeds[i] || i,
e = e || "fx",
this.queue(e, function(e, t) {
var n = setTimeout(e, i);
t.stop = function() {
clearTimeout(n)
}
})
}
,
(Ke = C.createElement("div")).setAttribute("className", "t"),
Ke.innerHTML = " a",
et = Ke.getElementsByTagName("a")[0],
tt = (Ze = C.createElement("select")).appendChild(C.createElement("option")),
Ye = Ke.getElementsByTagName("input")[0],
et.style.cssText = "top:1px",
v.getSetAttribute = "t" !== Ke.className,
v.style = /top/.test(et.getAttribute("style")),
v.hrefNormalized = "/a" === et.getAttribute("href"),
v.checkOn = !!Ye.value,
v.optSelected = tt.selected,
v.enctype = !!C.createElement("form").enctype,
Ze.disabled = !0,
v.optDisabled = !tt.disabled,
(Ye = C.createElement("input")).setAttribute("value", ""),
v.input = "" === Ye.getAttribute("value"),
Ye.value = "t",
Ye.setAttribute("type", "radio"),
v.radioValue = "t" === Ye.value;
var dt = /\r/g;
_.fn.extend({
val: function(n) {
var i, e, r, t = this[0];
return arguments.length ? (r = _.isFunction(n),
this.each(function(e) {
var t;
1 === this.nodeType && (null == (t = r ? n.call(this, e, _(this).val()) : n) ? t = "" : "number" == typeof t ? t += "" : _.isArray(t) && (t = _.map(t, function(e) {
return null == e ? "" : e + ""
})),
(i = _.valHooks[this.type] || _.valHooks[this.nodeName.toLowerCase()]) && "set"in i && i.set(this, t, "value") !== undefined || (this.value = t))
})) : t ? (i = _.valHooks[t.type] || _.valHooks[t.nodeName.toLowerCase()]) && "get"in i && (e = i.get(t, "value")) !== undefined ? e : "string" == typeof (e = t.value) ? e.replace(dt, "") : null == e ? "" : e : void 0
}
}),
_.extend({
valHooks: {
option: {
get: function(e) {
var t = _.find.attr(e, "value");
return null != t ? t : _.trim(_.text(e))
}
},
select: {
get: function(e) {
for (var t, n, i = e.options, r = e.selectedIndex, o = "select-one" === e.type || r < 0, a = o ? null : [], s = o ? r + 1 : i.length, l = r < 0 ? s : o ? r : 0; l < s; l++)
if (((n = i[l]).selected || l === r) && (v.optDisabled ? !n.disabled : null === n.getAttribute("disabled")) && (!n.parentNode.disabled || !_.nodeName(n.parentNode, "optgroup"))) {
if (t = _(n).val(),
o)
return t;
a.push(t)
}
return a
},
set: function(e, t) {
for (var n, i, r = e.options, o = _.makeArray(t), a = r.length; a--; )
if (i = r[a],
0 <= _.inArray(_.valHooks.option.get(i), o))
try {
i.selected = n = !0
} catch (s) {
i.scrollHeight
}
else
i.selected = !1;
return n || (e.selectedIndex = -1),
r
}
}
}
}),
_.each(["radio", "checkbox"], function() {
_.valHooks[this] = {
set: function(e, t) {
if (_.isArray(t))
return e.checked = 0 <= _.inArray(_(e).val(), t)
}
},
v.checkOn || (_.valHooks[this].get = function(e) {
return null === e.getAttribute("value") ? "on" : e.value
}
)
});
var ft, pt, ht = _.expr.attrHandle, mt = /^(?:checked|selected)$/i, gt = v.getSetAttribute, vt = v.input;
_.fn.extend({
attr: function(e, t) {
return z(this, _.attr, e, t, 1 < arguments.length)
},
removeAttr: function(e) {
return this.each(function() {
_.removeAttr(this, e)
})
}
}),
_.extend({
attr: function(e, t, n) {
var i, r, o = e.nodeType;
if (e && 3 !== o && 8 !== o && 2 !== o)
return typeof e.getAttribute === D ? _.prop(e, t, n) : (1 === o && _.isXMLDoc(e) || (t = t.toLowerCase(),
i = _.attrHooks[t] || (_.expr.match.bool.test(t) ? pt : ft)),
n === undefined ? i && "get"in i && null !== (r = i.get(e, t)) ? r : null == (r = _.find.attr(e, t)) ? undefined : r : null !== n ? i && "set"in i && (r = i.set(e, n, t)) !== undefined ? r : (e.setAttribute(t, n + ""),
n) : void _.removeAttr(e, t))
},
removeAttr: function(e, t) {
var n, i, r = 0, o = t && t.match(N);
if (o && 1 === e.nodeType)
for (; n = o[r++]; )
i = _.propFix[n] || n,
_.expr.match.bool.test(n) ? vt && gt || !mt.test(n) ? e[i] = !1 : e[_.camelCase("default-" + n)] = e[i] = !1 : _.attr(e, n, ""),
e.removeAttribute(gt ? n : i)
},
attrHooks: {
type: {
set: function(e, t) {
if (!v.radioValue && "radio" === t && _.nodeName(e, "input")) {
var n = e.value;
return e.setAttribute("type", t),
n && (e.value = n),
t
}
}
}
}
}),
pt = {
set: function(e, t, n) {
return !1 === t ? _.removeAttr(e, n) : vt && gt || !mt.test(n) ? e.setAttribute(!gt && _.propFix[n] || n, n) : e[_.camelCase("default-" + n)] = e[n] = !0,
n
}
},
_.each(_.expr.match.bool.source.match(/\w+/g), function(e, t) {
var o = ht[t] || _.find.attr;
ht[t] = vt && gt || !mt.test(t) ? function(e, t, n) {
var i, r;
return n || (r = ht[t],
ht[t] = i,
i = null != o(e, t, n) ? t.toLowerCase() : null,
ht[t] = r),
i
}
: function(e, t, n) {
if (!n)
return e[_.camelCase("default-" + t)] ? t.toLowerCase() : null
}
}),
vt && gt || (_.attrHooks.value = {
set: function(e, t, n) {
if (!_.nodeName(e, "input"))
return ft && ft.set(e, t, n);
e.defaultValue = t
}
}),
gt || (ft = {
set: function(e, t, n) {
var i = e.getAttributeNode(n);
if (i || e.setAttributeNode(i = e.ownerDocument.createAttribute(n)),
i.value = t += "",
"value" === n || t === e.getAttribute(n))
return t
}
},
ht.id = ht.name = ht.coords = function(e, t, n) {
var i;
if (!n)
return (i = e.getAttributeNode(t)) && "" !== i.value ? i.value : null
}
,
_.valHooks.button = {
get: function(e, t) {
var n = e.getAttributeNode(t);
if (n && n.specified)
return n.value
},
set: ft.set
},
_.attrHooks.contenteditable = {
set: function(e, t, n) {
ft.set(e, "" !== t && t, n)
}
},
_.each(["width", "height"], function(e, n) {
_.attrHooks[n] = {
set: function(e, t) {
if ("" === t)
return e.setAttribute(n, "auto"),
t
}
}
})),
v.style || (_.attrHooks.style = {
get: function(e) {
return e.style.cssText || undefined
},
set: function(e, t) {
return e.style.cssText = t + ""
}
});
var yt = /^(?:input|select|textarea|button|object)$/i
, bt = /^(?:a|area)$/i;
_.fn.extend({
prop: function(e, t) {
return z(this, _.prop, e, t, 1 < arguments.length)
},
removeProp: function(t) {
return t = _.propFix[t] || t,
this.each(function() {
try {
this[t] = undefined,
delete this[t]
} catch (e) {}
})
}
}),
_.extend({
propFix: {
"for": "htmlFor",
"class": "className"
},
prop: function(e, t, n) {
var i, r, o = e.nodeType;
if (e && 3 !== o && 8 !== o && 2 !== o)
return (1 !== o || !_.isXMLDoc(e)) && (t = _.propFix[t] || t,
r = _.propHooks[t]),
n !== undefined ? r && "set"in r && (i = r.set(e, n, t)) !== undefined ? i : e[t] = n : r && "get"in r && null !== (i = r.get(e, t)) ? i : e[t]
},
propHooks: {
tabIndex: {
get: function(e) {
var t = _.find.attr(e, "tabindex");
return t ? parseInt(t, 10) : yt.test(e.nodeName) || bt.test(e.nodeName) && e.href ? 0 : -1
}
}
}
}),
v.hrefNormalized || _.each(["href", "src"], function(e, t) {
_.propHooks[t] = {
get: function(e) {
return e.getAttribute(t, 4)
}
}
}),
v.optSelected || (_.propHooks.selected = {
get: function(e) {
var t = e.parentNode;
return t && (t.selectedIndex,
t.parentNode && t.parentNode.selectedIndex),
null
}
}),
_.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
_.propFix[this.toLowerCase()] = this
}),
v.enctype || (_.propFix.enctype = "encoding");
var wt = /[\t\r\n\f]/g;
_.fn.extend({
addClass: function(t) {
var e, n, i, r, o, a, s = 0, l = this.length, u = "string" == typeof t && t;
if (_.isFunction(t))
return this.each(function(e) {
_(this).addClass(t.call(this, e, this.className))
});
if (u)
for (e = (t || "").match(N) || []; s < l; s++)
if (i = 1 === (n = this[s]).nodeType && (n.className ? (" " + n.className + " ").replace(wt, " ") : " ")) {
for (o = 0; r = e[o++]; )
i.indexOf(" " + r + " ") < 0 && (i += r + " ");
a = _.trim(i),
n.className !== a && (n.className = a)
}
return this
},
removeClass: function(t) {
var e, n, i, r, o, a, s = 0, l = this.length, u = 0 === arguments.length || "string" == typeof t && t;
if (_.isFunction(t))
return this.each(function(e) {
_(this).removeClass(t.call(this, e, this.className))
});
if (u)
for (e = (t || "").match(N) || []; s < l; s++)
if (i = 1 === (n = this[s]).nodeType && (n.className ? (" " + n.className + " ").replace(wt, " ") : "")) {
for (o = 0; r = e[o++]; )
for (; 0 <= i.indexOf(" " + r + " "); )
i = i.replace(" " + r + " ", " ");
a = t ? _.trim(i) : "",
n.className !== a && (n.className = a)
}
return this
},
toggleClass: function(r, t) {
var o = typeof r;
return "boolean" == typeof t && "string" === o ? t ? this.addClass(r) : this.removeClass(r) : _.isFunction(r) ? this.each(function(e) {
_(this).toggleClass(r.call(this, e, this.className, t), t)
}) : this.each(function() {
if ("string" === o)
for (var e, t = 0, n = _(this), i = r.match(N) || []; e = i[t++]; )
n.hasClass(e) ? n.removeClass(e) : n.addClass(e);
else
o !== D && "boolean" !== o || (this.className && _._data(this, "__className__", this.className),
this.className = this.className || !1 === r ? "" : _._data(this, "__className__") || "")
})
},
hasClass: function(e) {
for (var t = " " + e + " ", n = 0, i = this.length; n < i; n++)
if (1 === this[n].nodeType && 0 <= (" " + this[n].className + " ").replace(wt, " ").indexOf(t))
return !0;
return !1
}
}),
_.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(e, n) {
_.fn[n] = function(e, t) {
return 0 < arguments.length ? this.on(n, null, e, t) : this.trigger(n)
}
}),
_.fn.extend({
hover: function(e, t) {
return this.mouseenter(e).mouseleave(t || e)
},
bind: function(e, t, n) {
return this.on(e, null, t, n)
},
unbind: function(e, t) {
return this.off(e, null, t)
},
delegate: function(e, t, n, i) {
return this.on(t, e, n, i)
},
undelegate: function(e, t, n) {
return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
}
});
var xt = _.now()
, Ct = /\?/
, Tt = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
_.parseJSON = function(e) {
if (m.JSON && m.JSON.parse)
return m.JSON.parse(e + "");
var r, o = null, t = _.trim(e + "");
return t && !_.trim(t.replace(Tt, function(e, t, n, i) {
return r && t && (o = 0),
0 === o ? e : (r = n || t,
o += !i - !n,
"")
})) ? Function("return " + t)() : _.error("Invalid JSON: " + e)
}
,
_.parseXML = function(e) {
var t;
if (!e || "string" != typeof e)
return null;
try {
m.DOMParser ? t = (new DOMParser).parseFromString(e, "text/xml") : ((t = new ActiveXObject("Microsoft.XMLDOM")).async = "false",
t.loadXML(e))
} catch (n) {
t = undefined
}
return t && t.documentElement && !t.getElementsByTagName("parsererror").length || _.error("Invalid XML: " + e),
t
}
;
var Et, _t, kt = /#.*$/, St = /([?&])_=[^&]*/, jt = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm, Nt = /^(?:GET|HEAD)$/, qt = /^\/\//, At = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, $t = {}, Pt = {}, Dt = "*/".concat("*");
try {
_t = location.href
} catch (nn) {
(_t = C.createElement("a")).href = "",
_t = _t.href
}
function Ot(o) {
return function(e, t) {
"string" != typeof e && (t = e,
e = "*");
var n, i = 0, r = e.toLowerCase().match(N) || [];
if (_.isFunction(t))
for (; n = r[i++]; )
"+" === n.charAt(0) ? (n = n.slice(1) || "*",
(o[n] = o[n] || []).unshift(t)) : (o[n] = o[n] || []).push(t)
}
}
function Lt(t, r, o, a) {
var s = {}
, l = t === Pt;
function u(e) {
var i;
return s[e] = !0,
_.each(t[e] || [], function(e, t) {
var n = t(r, o, a);
return "string" != typeof n || l || s[n] ? l ? !(i = n) : void 0 : (r.dataTypes.unshift(n),
u(n),
!1)
}),
i
}
return u(r.dataTypes[0]) || !s["*"] && u("*")
}
function Mt(e, t) {
var n, i, r = _.ajaxSettings.flatOptions || {};
for (i in t)
t[i] !== undefined && ((r[i] ? e : n || (n = {}))[i] = t[i]);
return n && _.extend(!0, e, n),
e
}
Et = At.exec(_t.toLowerCase()) || [],
_.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
url: _t,
type: "GET",
isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et[1]),
global: !0,
processData: !0,
async: !0,
contentType: "application/x-www-form-urlencoded; charset=utf-8",
accepts: {
"*": Dt,
text: "text/plain",
html: "text/html",
xml: "application/xml, text/xml",
json: "application/json, text/javascript"
},
contents: {
xml: /xml/,
html: /html/,
json: /json/
},
responseFields: {
xml: "responseXML",
text: "responseText",
json: "responseJSON"
},
converters: {
"* text": String,
"text html": !0,
"text json": _.parseJSON,
"text xml": _.parseXML
},
flatOptions: {
url: !0,
context: !0
}
},
ajaxSetup: function(e, t) {
return t ? Mt(Mt(e, _.ajaxSettings), t) : Mt(_.ajaxSettings, e)
},
ajaxPrefilter: Ot($t),
ajaxTransport: Ot(Pt),
ajax: function(e, t) {
"object" == typeof e && (t = e,
e = undefined),
t = t || {};
var n, i, f, p, h, m, g, r, v = _.ajaxSetup({}, t), y = v.context || v, b = v.context && (y.nodeType || y.jquery) ? _(y) : _.event, w = _.Deferred(), x = _.Callbacks("once memory"), C = v.statusCode || {}, o = {}, a = {}, T = 0, s = "canceled", E = {
readyState: 0,
getResponseHeader: function(e) {
var t;
if (2 === T) {
if (!r)
for (r = {}; t = jt.exec(p); )
r[t[1].toLowerCase()] = t[2];
t = r[e.toLowerCase()]
}
return null == t ? null : t
},
getAllResponseHeaders: function() {
return 2 === T ? p : null
},
setRequestHeader: function(e, t) {
var n = e.toLowerCase();
return T || (e = a[n] = a[n] || e,
o[e] = t),
this
},
overrideMimeType: function(e) {
return T || (v.mimeType = e),
this
},
statusCode: function(e) {
var t;
if (e)
if (T < 2)
for (t in e)
C[t] = [C[t], e[t]];
else
E.always(e[E.status]);
return this
},
abort: function(e) {
var t = e || s;
return g && g.abort(t),
l(0, t),
this
}
};
if (w.promise(E).complete = x.add,
E.success = E.done,
E.error = E.fail,
v.url = ((e || v.url || _t) + "").replace(kt, "").replace(qt, Et[1] + "//"),
v.type = t.method || t.type || v.method || v.type,
v.dataTypes = _.trim(v.dataType || "*").toLowerCase().match(N) || [""],
null == v.crossDomain && (n = At.exec(v.url.toLowerCase()),
v.crossDomain = !(!n || n[1] === Et[1] && n[2] === Et[2] && (n[3] || ("http:" === n[1] ? "80" : "443")) === (Et[3] || ("http:" === Et[1] ? "80" : "443")))),
v.data && v.processData && "string" != typeof v.data && (v.data = _.param(v.data, v.traditional)),
Lt($t, v, t, E),
2 === T)
return E;
for (i in (m = v.global) && 0 == _.active++ && _.event.trigger("ajaxStart"),
v.type = v.type.toUpperCase(),
v.hasContent = !Nt.test(v.type),
f = v.url,
v.hasContent || (v.data && (f = v.url += (Ct.test(f) ? "&" : "?") + v.data,
delete v.data),
!1 === v.cache && (v.url = St.test(f) ? f.replace(St, "$1_=" + xt++) : f + (Ct.test(f) ? "&" : "?") + "_=" + xt++)),
v.ifModified && (_.lastModified[f] && E.setRequestHeader("If-Modified-Since", _.lastModified[f]),
_.etag[f] && E.setRequestHeader("If-None-Match", _.etag[f])),
(v.data && v.hasContent && !1 !== v.contentType || t.contentType) && E.setRequestHeader("Content-Type", v.contentType),
E.setRequestHeader("Accept", v.dataTypes[0] && v.accepts[v.dataTypes[0]] ? v.accepts[v.dataTypes[0]] + ("*" !== v.dataTypes[0] ? ", " + Dt + "; q=0.01" : "") : v.accepts["*"]),
v.headers)
E.setRequestHeader(i, v.headers[i]);
if (v.beforeSend && (!1 === v.beforeSend.call(y, E, v) || 2 === T))
return E.abort();
for (i in s = "abort",
{
success: 1,
error: 1,
complete: 1
})
E[i](v[i]);
if (g = Lt(Pt, v, t, E)) {
E.readyState = 1,
m && b.trigger("ajaxSend", [E, v]),
v.async && 0 < v.timeout && (h = setTimeout(function() {
E.abort("timeout")
}, v.timeout));
try {
T = 1,
g.send(o, l)
} catch (nn) {
if (!(T < 2))
throw nn;
l(-1, nn)
}
} else
l(-1, "No Transport");
function l(e, t, n, i) {
var r, o, a, s, l, u = t;
2 !== T && (T = 2,
h && clearTimeout(h),
g = undefined,
p = i || "",
E.readyState = 0 < e ? 4 : 0,
r = 200 <= e && e < 300 || 304 === e,
n && (s = function c(e, t, n) {
for (var i, r, o, a, s = e.contents, l = e.dataTypes; "*" === l[0]; )
l.shift(),
r === undefined && (r = e.mimeType || t.getResponseHeader("Content-Type"));
if (r)
for (a in s)
if (s[a] && s[a].test(r)) {
l.unshift(a);
break
}
if (l[0]in n)
o = l[0];
else {
for (a in n) {
if (!l[0] || e.converters[a + " " + l[0]]) {
o = a;
break
}
i || (i = a)
}
o = o || i
}
if (o)
return o !== l[0] && l.unshift(o),
n[o]
}(v, E, n)),
s = function d(e, t, n, i) {
var r, o, a, s, l, u = {}, c = e.dataTypes.slice();
if (c[1])
for (a in e.converters)
u[a.toLowerCase()] = e.converters[a];
for (o = c.shift(); o; )
if (e.responseFields[o] && (n[e.responseFields[o]] = t),
!l && i && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
l = o,
o = c.shift())
if ("*" === o)
o = l;
else if ("*" !== l && l !== o) {
if (!(a = u[l + " " + o] || u["* " + o]))
for (r in u)
if ((s = r.split(" "))[1] === o && (a = u[l + " " + s[0]] || u["* " + s[0]])) {
!0 === a ? a = u[r] : !0 !== u[r] && (o = s[0],
c.unshift(s[1]));
break
}
if (!0 !== a)
if (a && e["throws"])
t = a(t);
else
try {
t = a(t)
} catch (nn) {
return {
state: "parsererror",
error: a ? nn : "No conversion from " + l + " to " + o
}
}
}
return {
state: "success",
data: t
}
}(v, s, E, r),
r ? (v.ifModified && ((l = E.getResponseHeader("Last-Modified")) && (_.lastModified[f] = l),
(l = E.getResponseHeader("etag")) && (_.etag[f] = l)),
204 === e || "HEAD" === v.type ? u = "nocontent" : 304 === e ? u = "notmodified" : (u = s.state,
o = s.data,
r = !(a = s.error))) : (a = u,
!e && u || (u = "error",
e < 0 && (e = 0))),
E.status = e,
E.statusText = (t || u) + "",
r ? w.resolveWith(y, [o, u, E]) : w.rejectWith(y, [E, u, a]),
E.statusCode(C),
C = undefined,
m && b.trigger(r ? "ajaxSuccess" : "ajaxError", [E, v, r ? o : a]),
x.fireWith(y, [E, u]),
m && (b.trigger("ajaxComplete", [E, v]),
--_.active || _.event.trigger("ajaxStop")))
}
return E
},
getJSON: function(e, t, n) {
return _.get(e, t, n, "json")
},
getScript: function(e, t) {
return _.get(e, undefined, t, "script")
}
}),
_.each(["get", "post"], function(e, r) {
_[r] = function(e, t, n, i) {
return _.isFunction(t) && (i = i || n,
n = t,
t = undefined),
_.ajax({
url: e,
type: r,
dataType: i,
data: t,
success: n
})
}
}),
_.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(e, t) {
_.fn[t] = function(e) {
return this.on(t, e)
}
}),
_._evalUrl = function(e) {
return _.ajax({
url: e,
type: "GET",
dataType: "script",
async: !1,
global: !1,
"throws": !0
})
}
,
_.fn.extend({
wrapAll: function(t) {
if (_.isFunction(t))
return this.each(function(e) {
_(this).wrapAll(t.call(this, e))
});
if (this[0]) {
var e = _(t, this[0].ownerDocument).eq(0).clone(!0);
this[0].parentNode && e.insertBefore(this[0]),
e.map(function() {
for (var e = this; e.firstChild && 1 === e.firstChild.nodeType; )
e = e.firstChild;
return e
}).append(this)
}
return this
},
wrapInner: function(n) {
return _.isFunction(n) ? this.each(function(e) {
_(this).wrapInner(n.call(this, e))
}) : this.each(function() {
var e = _(this)
, t = e.contents();
t.length ? t.wrapAll(n) : e.append(n)
})
},
wrap: function(t) {
var n = _.isFunction(t);
return this.each(function(e) {
_(this).wrapAll(n ? t.call(this, e) : t)
})
},
unwrap: function() {
return this.parent().each(function() {
_.nodeName(this, "body") || _(this).replaceWith(this.childNodes)
}).end()
}
}),
_.expr.filters.hidden = function(e) {
return e.offsetWidth <= 0 && e.offsetHeight <= 0 || !v.reliableHiddenOffsets() && "none" === (e.style && e.style.display || _.css(e, "display"))
}
,
_.expr.filters.visible = function(e) {
return !_.expr.filters.hidden(e)
}
;
var Ht = /%20/g
, Ft = /\[\]$/
, Rt = /\r?\n/g
, Bt = /^(?:submit|button|image|reset|file)$/i
, It = /^(?:input|select|textarea|keygen)/i;
function Wt(n, e, i, r) {
var t;
if (_.isArray(e))
_.each(e, function(e, t) {
i || Ft.test(n) ? r(n, t) : Wt(n + "[" + ("object" == typeof t ? e : "") + "]", t, i, r)
});
else if (i || "object" !== _.type(e))
r(n, e);
else
for (t in e)
Wt(n + "[" + t + "]", e[t], i, r)
}
_.param = function(e, t) {
var n, i = [], r = function(e, t) {
t = _.isFunction(t) ? t() : null == t ? "" : t,
i[i.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t)
};
if (t === undefined && (t = _.ajaxSettings && _.ajaxSettings.traditional),
_.isArray(e) || e.jquery && !_.isPlainObject(e))
_.each(e, function() {
r(this.name, this.value)
});
else
for (n in e)
Wt(n, e[n], t, r);
return i.join("&").replace(Ht, "+")
}
,
_.fn.extend({
serialize: function() {
return _.param(this.serializeArray())
},
serializeArray: function() {
return this.map(function() {
var e = _.prop(this, "elements");
return e ? _.makeArray(e) : this
}).filter(function() {
var e = this.type;
return this.name && !_(this).is(":disabled") && It.test(this.nodeName) && !Bt.test(e) && (this.checked || !X.test(e))
}).map(function(e, t) {
var n = _(this).val();
return null == n ? null : _.isArray(n) ? _.map(n, function(e) {
return {
name: t.name,
value: e.replace(Rt, "\r\n")
}
}) : {
name: t.name,
value: n.replace(Rt, "\r\n")
}
}).get()
}
}),
_.ajaxSettings.xhr = m.ActiveXObject !== undefined ? function() {
return !this.isLocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && Gt() || function e() {
try {
return new m.ActiveXObject("Microsoft.XMLHTTP")
} catch (nn) {}
}()
}
: Gt;
var zt = 0
, Xt = {}
, Ut = _.ajaxSettings.xhr();
function Gt() {
try {
return new m.XMLHttpRequest
} catch (nn) {}
}
m.ActiveXObject && _(m).on("unload", function() {
for (var e in Xt)
Xt[e](undefined, !0)
}),
v.cors = !!Ut && "withCredentials"in Ut,
(Ut = v.ajax = !!Ut) && _.ajaxTransport(function(l) {
var u;
if (!l.crossDomain || v.cors)
return {
send: function(e, o) {
var t, a = l.xhr(), s = ++zt;
if (a.open(l.type, l.url, l.async, l.username, l.password),
l.xhrFields)
for (t in l.xhrFields)
a[t] = l.xhrFields[t];
for (t in l.mimeType && a.overrideMimeType && a.overrideMimeType(l.mimeType),
l.crossDomain || e["X-Requested-With"] || (e["X-Requested-With"] = "XMLHttpRequest"),
e)
e[t] !== undefined && a.setRequestHeader(t, e[t] + "");
a.send(l.hasContent && l.data || null),
u = function(e, t) {
var n, i, r;
if (u && (t || 4 === a.readyState))
if (delete Xt[s],
u = undefined,
a.onreadystatechange = _.noop,
t)
4 !== a.readyState && a.abort();
else {
r = {},
n = a.status,
"string" == typeof a.responseText && (r.text = a.responseText);
try {
i = a.statusText
} catch (nn) {
i = ""
}
n || !l.isLocal || l.crossDomain ? 1223 === n && (n = 204) : n = r.text ? 200 : 404
}
r && o(n, i, r, a.getAllResponseHeaders())
}
,
l.async ? 4 === a.readyState ? setTimeout(u) : a.onreadystatechange = Xt[s] = u : u()
},
abort: function() {
u && u(undefined, !0)
}
}
}),
_.ajaxSetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
script: /(?:java|ecma)script/
},
converters: {
"text script": function(e) {
return _.globalEval(e),
e
}
}
}),
_.ajaxPrefilter("script", function(e) {
e.cache === undefined && (e.cache = !1),
e.crossDomain && (e.type = "GET",
e.global = !1)
}),
_.ajaxTransport("script", function(t) {
if (t.crossDomain) {
var i, r = C.head || _("head")[0] || C.documentElement;
return {
send: function(e, n) {
(i = C.createElement("script")).async = !0,
t.scriptCharset && (i.charset = t.scriptCharset),
i.src = t.url,
i.onload = i.onreadystatechange = function(e, t) {
(t || !i.readyState || /loaded|complete/.test(i.readyState)) && (i.onload = i.onreadystatechange = null,
i.parentNode && i.parentNode.removeChild(i),
i = null,
t || n(200, "success"))
}
,
r.insertBefore(i, r.firstChild)
},
abort: function() {
i && i.onload(undefined, !0)
}
}
}
});
var Jt = []
, Vt = /(=)\?(?=&|$)|\?\?/;
_.ajaxSetup({
jsonp: "callback",
jsonpCallback: function() {
var e = Jt.pop() || _.expando + "_" + xt++;
return this[e] = !0,
e
}
}),
_.ajaxPrefilter("json jsonp", function(e, t, n) {
var i, r, o, a = !1 !== e.jsonp && (Vt.test(e.url) ? "url" : "string" == typeof e.data && !(e.contentType || "").indexOf("application/x-www-form-urlencoded") && Vt.test(e.data) && "data");
if (a || "jsonp" === e.dataTypes[0])
return i = e.jsonpCallback = _.isFunction(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback,
a ? e[a] = e[a].replace(Vt, "$1" + i) : !1 !== e.jsonp && (e.url += (Ct.test(e.url) ? "&" : "?") + e.jsonp + "=" + i),
e.converters["script json"] = function() {
return o || _.error(i + " was not called"),
o[0]
}
,
e.dataTypes[0] = "json",
r = m[i],
m[i] = function() {
o = arguments
}
,
n.always(function() {
m[i] = r,
e[i] && (e.jsonpCallback = t.jsonpCallback,
Jt.push(i)),
o && _.isFunction(r) && r(o[0]),
o = r = undefined
}),
"script"
}),
_.parseHTML = function(e, t, n) {
if (!e || "string" != typeof e)
return null;
"boolean" == typeof t && (n = t,
t = !1),
t = t || C;
var i = y.exec(e)
, r = !n && [];
return i ? [t.createElement(i[1])] : (i = _.buildFragment([e], t, r),
r && r.length && _(r).remove(),
_.merge([], i.childNodes))
}
;
var Qt = _.fn.load;
_.fn.load = function(e, t, n) {
if ("string" != typeof e && Qt)
return Qt.apply(this, arguments);
var i, r, o, a = this, s = e.indexOf(" ");
return 0 <= s && (i = _.trim(e.slice(s, e.length)),
e = e.slice(0, s)),
_.isFunction(t) ? (n = t,
t = undefined) : t && "object" == typeof t && (o = "POST"),
0 < a.length && _.ajax({
url: e,
type: o,
dataType: "html",
data: t
}).done(function(e) {
r = arguments,
a.html(i ? _("").append(_.parseHTML(e)).find(i) : e)
}).complete(n && function(e, t) {
a.each(n, r || [e.responseText, t, e])
}
),
this
}
,
_.expr.filters.animated = function(t) {
return _.grep(_.timers, function(e) {
return t === e.elem
}).length
}
;
var Yt = m.document.documentElement;
function Kt(e) {
return _.isWindow(e) ? e : 9 === e.nodeType && (e.defaultView || e.parentWindow)
}
_.offset = {
setOffset: function(e, t, n) {
var i, r, o, a, s, l, u = _.css(e, "position"), c = _(e), d = {};
"static" === u && (e.style.position = "relative"),
s = c.offset(),
o = _.css(e, "top"),
l = _.css(e, "left"),
r = ("absolute" === u || "fixed" === u) && -1 < _.inArray("auto", [o, l]) ? (a = (i = c.position()).top,
i.left) : (a = parseFloat(o) || 0,
parseFloat(l) || 0),
_.isFunction(t) && (t = t.call(e, n, s)),
null != t.top && (d.top = t.top - s.top + a),
null != t.left && (d.left = t.left - s.left + r),
"using"in t ? t.using.call(e, d) : c.css(d)
}
},
_.fn.extend({
offset: function(t) {
if (arguments.length)
return t === undefined ? this : this.each(function(e) {
_.offset.setOffset(this, t, e)
});
var e, n, i = {
top: 0,
left: 0
}, r = this[0], o = r && r.ownerDocument;
return o ? (e = o.documentElement,
_.contains(e, r) ? (typeof r.getBoundingClientRect !== D && (i = r.getBoundingClientRect()),
n = Kt(o),
{
top: i.top + (n.pageYOffset || e.scrollTop) - (e.clientTop || 0),
left: i.left + (n.pageXOffset || e.scrollLeft) - (e.clientLeft || 0)
}) : i) : void 0
},
position: function() {
if (this[0]) {
var e, t, n = {
top: 0,
left: 0
}, i = this[0];
return "fixed" === _.css(i, "position") ? t = i.getBoundingClientRect() : (e = this.offsetParent(),
t = this.offset(),
_.nodeName(e[0], "html") || (n = e.offset()),
n.top += _.css(e[0], "borderTopWidth", !0),
n.left += _.css(e[0], "borderLeftWidth", !0)),
{
top: t.top - n.top - _.css(i, "marginTop", !0),
left: t.left - n.left - _.css(i, "marginLeft", !0)
}
}
},
offsetParent: function() {
return this.map(function() {
for (var e = this.offsetParent || Yt; e && !_.nodeName(e, "html") && "static" === _.css(e, "position"); )
e = e.offsetParent;
return e || Yt
})
}
}),
_.each({
scrollLeft: "pageXOffset",
scrollTop: "pageYOffset"
}, function(t, r) {
var o = /Y/.test(r);
_.fn[t] = function(e) {
return z(this, function(e, t, n) {
var i = Kt(e);
if (n === undefined)
return i ? r in i ? i[r] : i.document.documentElement[t] : e[t];
i ? i.scrollTo(o ? _(i).scrollLeft() : n, o ? n : _(i).scrollTop()) : e[t] = n
}, t, e, arguments.length, null)
}
}),
_.each(["top", "left"], function(e, n) {
_.cssHooks[n] = De(v.pixelPosition, function(e, t) {
if (t)
return t = qe(e, n),
$e.test(t) ? _(e).position()[n] + "px" : t
})
}),
_.each({
Height: "height",
Width: "width"
}, function(o, a) {
_.each({
padding: "inner" + o,
content: a,
"": "outer" + o
}, function(i, e) {
_.fn[e] = function(e, t) {
var n = arguments.length && (i || "boolean" != typeof e)
, r = i || (!0 === e || !0 === t ? "margin" : "border");
return z(this, function(e, t, n) {
var i;
return _.isWindow(e) ? e.document.documentElement["client" + o] : 9 === e.nodeType ? (i = e.documentElement,
Math.max(e.body["scroll" + o], i["scroll" + o], e.body["offset" + o], i["offset" + o], i["client" + o])) : n === undefined ? _.css(e, t, r) : _.style(e, t, n, r)
}, a, n ? e : undefined, n, null)
}
})
}),
_.fn.size = function() {
return this.length
}
,
_.fn.andSelf = _.fn.addBack,
"function" == typeof define && define.zqamd && define("jquery", [], function() {
return _
});
var Zt = m.jQuery
, en = m.$;
return _.noConflict = function(e) {
return m.$ === _ && (m.$ = en),
e && m.jQuery === _ && (m.jQuery = Zt),
_
}
,
typeof e === D && (m.jQuery = m.$ = _),
_
});
var noMdArr = [115329, 40059, 35109, 35108]
, noPushArr = [115329, 40059, 144128, 35109, 35108];
function myBrowser() {
var e = navigator.userAgent
, t = !1;
(-1 < e.indexOf("Firefox") && (t = !0),
-1 < e.indexOf("Chrome") && (t = !0),
-1 < e.indexOf("Safari") && (t = !0),
-1 < e.indexOf("compatible") && -1 < e.indexOf("MSIE")) && (new RegExp("MSIE (\\d+\\.\\d+);").test(e),
10 === parseFloat(RegExp.$1) && (t = !0));
-1 < e.indexOf("Trident") && -1 < e.indexOf("rv:11.0") && (t = !0),
-1 < e.indexOf("Edge") && (t = !0),
-1 < e.indexOf("AppleWebKit") && (t = !0),
-1 < e.indexOf("se 2.x") && (t = !0);
try {
window.external.max_invoke("GetHotKey"),
t = !0
} catch (n) {}
return t
}
function checkBrowser() {
var e = new Date((new Date).toLocaleDateString()).getTime()
, t = Number(getCookie("checkBrowser"));
if (!myBrowser() && (0 == t || t < e)) {
$("body").append('
您的浏览器版本过低或该浏览器不支持,可能导致网站不能正常运行
为了您能正常使用网站功能,建议使用一下浏览器:
Google Chrome(推荐)、火狐浏览器(Firefox)、IE10、IE11、360安全浏览器(极速模式)、360极速浏览器、搜狗高速浏览器(高速模式)、遨游浏览器、Apple Safari
'),
setCookie("checkBrowser", +new Date),
$(".bclose,.bconfirm").click(function() {
$(".browserVersion").remove()
})
}
}
function handleImgSrc() {
$("img").each(function() {
var e, t = $(this).attr("src");
/_{\d*i}.*/.test(t) && (-1 < t.indexOf("?") && (e = t.split("?")[1]),
t = t.replace(/_{\d*i}.*/g, ""),
e && (t = t + "?" + e),
$(this).attr("src", t)),
/^\/\/repository/.test(t) && (t = t.substring(1),
$(this).attr("src", t)),
/^repository/.test(t) && (t = "/" + t,
$(this).attr("src", t))
})
}
function checkCompLoad() {
$("div[id^='c_']").each(function() {
-1 != $(this).html().indexOf("$comp(") || $(this).attr("loaded") || $(this).attr("loaded", "true")
})
}
function createXinNetAD() {
$('
').appendTo("body");
var t = $(".c_portalResXinNet_AD-01001");
t.find(".js_close").on("click", function(e) {
e.stopPropagation(),
t.find(".p_imgBox").hide()
}),
t.find(".p_imgBox").on("click", function(e) {
e.stopPropagation(),
window.open("https://www.ceurl.cn/qHSmnP1", "_blank")
})
}
function createXinNetLogo() {
$('
本站使用

模板建站 搭建
').appendTo("body"),
$(".c_portalResXinNet_logoInfo-01001").find(".p_imgBox").on("click", function(e) {
e.stopPropagation(),
window.open("https://www.ceurl.cn/qHSmnP1", "_blank")
})
}
function IsPC() {
for (var e = navigator.userAgent, t = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"], n = !0, i = 0; i < t.length; i++)
if (0 < e.indexOf(t[i])) {
n = !1;
break
}
return n
}
function getCookie(e) {
var t, n = new RegExp("(^| )" + e + "=([^;]*)(;|$)");
return (t = document.cookie.match(n)) ? unescape(t[2]) : null
}
function setCookie(e, t, n, i) {
var r = new Date;
r.setDate(r.getDate() + n),
document.cookie = e + "=" + escape(t) + (null == n ? "" : ";expires=" + r.toGMTString()) + (i ? ";path=" + i : "")
}
function mobileFoward(e) {
window.location.href = e
}
function getSettingMobileUrl() {
for (var e = document.getElementsByTagName("link"), t = 0; t < e.length; t++) {
var n = e[t];
if ("alternate" == n.rel)
return "" == n.href ? null : n.href
}
return null
}
function rand(e) {
var t = "0123456789abcdef"
, n = ""
, i = 0;
for (e = e || 32; i < e; i++)
n += t.charAt(Math.ceil(1e8 * Math.random()) % t.length);
return n
}
$(function() {
isFrontEnv() || window.parent.$("#mainIframe").trigger("load"),
window.crosswiseMalposition && window.crosswiseMalposition(),
$(".main").find(".w_sfbox-001 .p_wrapbox").show(),
checkBrowser()
}),
$(window).load(function() {
window.pageLoad = !0;
window.tenant.unittype,
window.tenant.templateCode;
checkCompLoad(),
handleImgSrc(),
isFrontEnv()
}),
isFrontEnv() && -1 == noMdArr.indexOf(Number(tenant.id)) && !window.noMd && $(window).load(function() {
require(["sdkStatisticsNew"], function(e) {})
}),
function() {
var e = (navigator.browserLanguage || navigator.language).toLowerCase();
try {
if (1 <= foreignList.length && !getParentWindow().VisualManager && !sendLevel.test(window.location.hostname)) {
var t = e.substring(0, 2);
"zh" == t && (t = "zh-cn" == e || "zh_cn" == e ? "zh_CN" : "zh_HN")
}
} catch (n) {}
}();
var unittype = window.tenant.unittype;
if ("100009" != unittype && "100084" != unittype && "100007" != unittype && null != tenant.mobileDomain && "" != tenant.mobileDomain && 6 == tenant.mobileStatus && null == getCookie(noredirectCookieName) && !getParentWindow().VisualManager) {
window.userAgent = navigator.userAgent,
window.mobileAgentReg = /(.*Android|.*iPhone)/;
var intelligetJumpObj = {};
if ("string" == typeof window.intelligetJump && /^{/.test(window.intelligetJump) ? intelligetJumpObj = JSON.parse(window.intelligetJump) : "object" == typeof window.intelligetJump && (intelligetJumpObj = window.intelligetJump),
intelligetJumpObj && "true" == intelligetJumpObj.identification && mobileAgentReg.test(userAgent) && 6 == tenant.mobileStatus) {
var path = window.location.pathname
, mobileTarget = getSettingMobileUrl();
try {
null != mobileTarget || "/" != path || null == tenant.mobileDomain || 8 == tenant.mobileStatus && 9 == tenant.mobileStatus || sendLevel.test(window.location.hostname) || (mobileTarget = window.globalObj.getProtocol() + tenant.mobileDomain)
} catch (e) {}
null != mobileTarget && "//" != mobileTarget && mobileFoward(mobileTarget)
}
}
for (var website = [100085, 110001, 120001, 130001, 111001, 121001, 150001, 140001, 141001, 130011, 160001, 161001, 170001, 100019, 181001, 100001, 100081], b = 0; b < website.length; b++)
if (window.tenant.unittype == website[b]) {
if (11 == tenant.status && !getCookie("_nofirst"))
try {
$.ajax({
url: "/toupgrade/online",
method: "get",
timeout: 200,
success: function(e) {
e && 200 == e.status || (setCookie("_nofirst", "true"),
window.location.href = "/toUpgradeOnline.jsp")
},
error: function(e) {
setCookie("_nofirst", "true"),
window.location.href = "/toUpgradeOnline.jsp"
}
})
} catch (error) {
setCookie("_nofirst", "true"),
window.location.href = "/toUpgradeOnline.jsp"
}
7 == tenant.status && (window.location.href = "/pauseing.jsp")
}
window.compLoaded = !1,
window.needRestCurrentComp = {},
window.addResetCompListener = function(e) {
$("#" + e).attr("comreset", "false"),
needRestCurrentComp[e] = !0
}
;
try {
function maxComp(e, t) {
var r = 0;
return e.each(function(e, t) {
var n = (t = $(t)).offset().top;
"fixed" == t.css("position") && (n = 0);
var i = t.outerHeight(!0) + n;
r < i && (r = i)
}),
r
}
function maxW(e, t) {
var r = 0;
return e.each(function(e, t) {
var n = (t = $(t)).offset().top;
"fixed" == t.css("position") && (n = 0);
var i = t.outerHeight(!0) + n;
r < i && (r = i)
}),
r
}
function setHeight() {
for (var e in needRestCurrentComp)
adjustInnerHeight(e);
var t = maxComp($("body").find(".pagebox").children("div[id^='c_']"))
, n = maxW($("body").find(".pagebox").children("div[id^='w_']"))
, i = n < t ? t : n
, r = $(".newyear_img .p_headBox").height() || 0;
r < i && (i -= r),
$(".pagebox").css("height", 0 < i ? i : $(document).height() - r)
}
function adjustInnerHeight(e) {
if (compLoaded) {
var t = $("#" + e);
if ("true" != t.attr("comreset")) {
var n = t.find("div[id^='c_'],div[id^='w_']");
n.removeClass("actives"),
n.each(function(e, t) {
$(t).parent().hasClass("active") ? ($(t).parent().css("height", t.scrollHeight),
$(t).css("height", t.scrollHeight),
$(t).addClass("actives"),
$(t).parent().trigger("FR_CHANGECOMPHEIGHT")) : $(t).parent().hasClass("p_box003") || $(t).parent().css("height", "0")
}),
t.attr("comreset")
}
}
}
$(function() {
$.isAbsStyle() && setInterval(setHeight, 300),
$("div").on("FR_CHANGECOMPHEIGHT", function() {
var e = $(this);
if ("absolute" == e.css("position"))
if (null != e.attr("id"))
if (0 != !e.attr("id").indexOf("c_") || 0 != !e.attr("id").indexOf("w_")) {
var t = maxW(e.find("div[id^='w_'],div[id^='c_']").filter(".actives")) - (e.outerHeight(!0) + e.offset().top);
e.css("height", e.outerHeight(!0) + t),
e.attr("comreset", "true"),
e.parent().trigger("FR_CHANGECOMPHEIGHT"),
e.parent().trigger("FR_CHANGECOMPHEIGHT")
} else
e.parent().trigger("FR_CHANGECOMPHEIGHT");
else
e.parent().trigger("FR_CHANGECOMPHEIGHT");
else
e.parent().trigger("FR_CHANGECOMPHEIGHT")
})
})
} catch (e) {}
function openNoPerDialog() {
require(["jquery.dialogMgr"], function() {
window.$.dialogMgr.create({
url: "/public/html/auth/no_oper-dialog.html"
})
})
}
!function() {
var e, t = !1, n = !($.isFlowStyle = function() {
return !1 === t && (e = $("body").attr("data-layout"),
t = !0),
"flow_noResponsive" == e
}
);
$.isAbsStyle = function() {
return !1 === n && (absLayout = $("body").attr("data-layout"),
n = !0),
absLayout === undefined
}
}(),
$(function() {
var t = document.createElement("script");
function n(i) {
for (var r = /only screen and \(max-width:\s?768px\)/, o = /only screen and (?!\(max-width:\s?768px\))/, a = /only screen and \(min-width:\s?769px\)/, s = /only screen and (?!\(min-width:\s?769px\))/, t = window.document.styleSheets, n = 0, l = t.length; n < l; n++) {
var u = t[n];
try {
c(u)
} catch (e) {}
}
function c(e) {
for (var t = 0; t < e.cssRules.length; t++) {
var n = e.cssRules[t];
n instanceof CSSMediaRule && ("pc" == i ? (o.test(n.media.mediaText) && (n.media.mediaText = n.media.mediaText.replace("screen", "tv")),
r.test(n.media.mediaText) && (n.media.mediaText = n.media.mediaText.replace("768", "20000"))) : (s.test(n.media.mediaText) && (n.media.mediaText = n.media.mediaText.replace("screen", "tv")),
a.test(n.media.mediaText) && (n.media.mediaText = n.media.mediaText.replace("769", "0")))),
n instanceof CSSImportRule && c(n.styleSheet)
}
}
}
if (t.setAttribute("type", "text/javascript"),
t.setAttribute("src", "/upload/response.js"),
document.body.appendChild(t),
t.onload = function() {
!0 !== window.isResponse && "true" !== window.isResponse || (window.siteIsPc ? n("mo") : n("pc"))
}
,
"100001" == window.tenant.unittype) {
var i = $("body").attr("data-pageid")
, r = (navigator.browserLanguage || navigator.language).toLowerCase()
, o = r.substring(0, 2);
if ("zh" == o && (o = "zh-cn" == r || "zh_cn" == r ? "zh_CN" : "zh_HN"),
0 <= window.location.href.indexOf("isHandleSwitch") && sessionStorage.setItem("noJump", !0),
"true" === sessionStorage.getItem("noJump") || !0 === sessionStorage.getItem("noJump"))
return;
if (window.tenant.language == o)
return;
var a = {};
"string" == typeof window.getMultilingual && /^{/.test(window.getMultilingual) ? a = JSON.parse(window.getMultilingual) : "object" == typeof window.getMultilingual && (a = window.getMultilingual),
a && "on" == a.switcher && (getParentWindow().VisualManager || sendLevel.test(window.location.hostname) || $.ajax({
url: "/common/ajax/homePage",
method: "get",
data: {
pageId: i
},
async: !1,
dataType: "html",
success: function(e) {
if ("true" == e) {
var t = a.website && JSON.parse(a.website);
t[o] && window.tenant.domain != t[o] && (window.location.href = "http://" + t[o])
}
},
error: function(e) {
return e
}
}))
}
}),
$(function() {
e = navigator.userAgent,
t = /(?:Windows Phone)/.test(e),
n = /(?:SymbianOS)/.test(e) || t,
i = /(?:Android)/.test(e),
r = /(?:Firefox)/.test(e),
/(?:Chrome|CriOS)/.test(e),
o = /(?:iPad|PlayBook)/.test(e) || i && !/(?:Mobile)/.test(e) || r && /(?:Tablet)/.test(e),
a = /(?:iPhone)/.test(e) && !o;
for (var e, t, n, i, r, o, a, s = !1, l = 0; l < $("script").length; l++)
/widgets_pageTurning\.min\.js$/.test($("script").eq(l).attr("src")) && (s = !0);
function u() {
isFrontEnv() || window.siteIsPc ? window.outerWidth == $(window).width() && $("div[id^=w_sfbox-]").width(window.outerWidth).filter(function() {
return "fixed" != $(this).css("position")
}).css("left", -$(".pagebox").offset().left) : $("div[id^=w_sfbox-]").width(640).filter(function() {
return "fixed" != $(this).css("position")
}).css("left", 0)
}
function c() {
if (window.siteIsPc) {
var e = $("div[id^=w_sfbox-]").width() ? window.innerWidth : $(window).width();
$("div[id^=w_wbox-],div[id^=w_cbox-],div[id^=w_bbox-],div[id^=w_fbox-]").width(e).filter(function() {
return "fixed" != $(this).css("position")
}).css("left", -$(".pagebox").offset().left)
}
}
$("div[id^=w_fbox-]").length && (s = !0),
$("div[id^=w_sfbox-]").length && (s = !0),
function() {
if (s) {
var e = $("body").css("overflow");
$("body").css("overflow", "hidden"),
c(),
u(),
$("body").css("overflow", e)
} else
c(),
u()
}(),
$(window).on("resize.fullPageResize", function() {
c(),
u()
}),
$("[id^=w_relationbtntab-]").each(function(e, t) {
var n = $(this).find(".p_relationbtntab.active").parent().index(".e_link")
, i = $(this).find(".p_box002>div").eq(n).css("overflow")
, r = $(this).attr("id");
"hidden" == i && addResetCompListener(r)
}),
$("body").on("click touchstart", ".w_relationbtntab>.p_box001>.e_link", function(e) {
var t = $t = $(this)
, n = $(this).closest(".w_relationbtntab")
, i = n.find(">.p_box001>.e_link")
, r = n.find(">.p_box002>.e_box");
t.siblings().find(".e_relationbtn").removeClass("active"),
t.find(".e_relationbtn").addClass("active"),
r.removeClass("active"),
r.eq(i.index(t)).addClass("active"),
$(this).trigger("tabEvent", r.eq(i.index(t)));
var o = $(this).index(".e_link")
, a = $(this).closest(".w_relationbtntab").find(".p_box002>div").eq(o)
, s = $(this).closest(".w_relationbtntab").parent().attr("id");
"hidden" == a.css("overflow") && addResetCompListener(s)
}).on("mouseenter", ".w_relationbtntab>.p_box001>.e_link", function(e) {
$(this).parent().attr("data-mouseovertoggle") && $(this).trigger("click")
}),
$("body").on("mouseover", '.w_relationbtntab>.p_box001[data-mouseovertoggle="true"]>.e_link', function(e) {
var t = $t = $(this)
, n = $(this).closest(".w_relationbtntab")
, i = n.find(">.p_box001>.e_link")
, r = n.find(">.p_box002>.e_box");
t.siblings().find(".e_relationbtn").removeClass("active"),
t.find(".e_relationbtn").addClass("active"),
r.removeClass("active"),
r.eq(i.index(t)).addClass("active"),
$(this).trigger("tabEvent", r.eq(i.index(t)));
var o = $(this).index(".e_link")
, a = $(this).closest(".w_relationbtntab").find(".p_box002>div").eq(o)
, s = $(this).closest(".w_relationbtntab").parent().attr("id");
"hidden" == a.css("overflow") && addResetCompListener(s)
}),
$("body").on("click", ".w_relationbtnbar>.e_link", function(e) {
var t = $(this);
t.siblings().find(".e_relationbtn").removeClass("active"),
t.find(".e_relationbtn").addClass("active")
}),
$(".p_cbox").each(function() {
$(this).attr("gScrolled", $(window).scrollTop())
}),
$(window).on("scroll", function() {
$(".p_cbox").each(function() {
var e, t, n, i, r;
e = $(this),
$(window),
t = e.attr("speed"),
n = e.attr("flag"),
i = $(window).scrollTop(),
r = (i - parseFloat(e.attr("gScrolled"))) * t,
e.find(">div").each(function() {
if ($(window).height() + $(window).scrollTop() > $(this).offset().top) {
var e = parseFloat($(this).css("background-position-y"));
"opposite" == n ? $(this).css("background-position-y", e - r) : "same" == n && $(this).css("background-position-y", e + r)
} else
$(this).css("background-position", "center center")
}),
e.attr("gScrolled", i)
})
})
});
if ("100084" != window.tenant.unittype && "100009" != window.tenant.unittype && isFrontEnv() && !window.noAuth) {
var qxurl = location.href.replace(location.origin, "");
"/" != qxurl && $.ajax({
url: "/comp/authtion.do",
method: "get",
data: {
url: qxurl
},
success: function(n) {
300 == n.status && "" != n.data && (window.location.href = n.data)
},
error: function(n) {}
})
}
isFrontEnv() && "zh_CN" == window.tenant.language && -1 == noPushArr.indexOf(Number(window.tenant.id)) && !window.noPush && $(window).load(function() {});