/*! * jquery javascript library v1.5.1 * http://jquery.com/ * * copyright 2011, john resig * dual licensed under the mit or gpl version 2 licenses. * http://jquery.org/license * * includes sizzle.js * http://sizzlejs.com/ * copyright 2011, the dojo foundation * released under the mit, bsd, and gpl licenses. * * date: wed feb 23 13:55:29 2011 -0500 */ (function (a, b) { function cg(a) { return d.iswindow(a) ? a : a.nodetype === 9 ? a.defaultview || a.parentwindow : !1 } function cd(a) { if (!bz[a]) { var b = d("<" + a + ">").appendto("body"), c = b.css("display"); b.remove(); if (c === "none" || c === "") c = "block"; bz[a] = c } return bz[a] } function cc(a, b) { var c = {}; d.each(cb.concat.apply([], cb.slice(0, b)), function () { c[this] = a }); return c } function by() { try { return new a.activexobject("microsoft.xmlhttp") } catch (b) { } } function bx() { try { return new a.xmlhttprequest } catch (b) { } } function bw() { d(a).unload(function () { for (var a in bu) bu[a](0, 1) }) } function bq(a, c) { a.datafilter && (c = a.datafilter(c, a.datatype)); var e = a.datatypes, f = {}, g, h, i = e.length, j, k = e[0], l, m, n, o, p; for (g = 1; g < i; g++) { if (g === 1) for (h in a.converters) typeof h === "string" && (f[h.tolowercase()] = a.converters[h]); l = k, k = e[g]; if (k === "*") k = l; else if (l !== "*" && l !== k) { m = l + " " + k, n = f[m] || f["* " + k]; if (!n) { p = b; for (o in f) { j = o.split(" "); if (j[0] === l || j[0] === "*") { p = f[j[1] + " " + k]; if (p) { o = f[o], o === !0 ? n = p : p === !0 && (n = o); break } } } } !n && !p && d.error("no conversion from " + m.replace(" ", " to ")), n !== !0 && (c = n ? n(c) : p(o(c))) } } return c } function bp(a, c, d) { var e = a.contents, f = a.datatypes, g = a.responsefields, h, i, j, k; for (i in g) i in d && (c[g[i]] = d[i]); while (f[0] === "*") f.shift(), h === b && (h = a.mimetype || c.getresponseheader("content-type")); if (h) for (i in e) if (e[i] && e[i].test(h)) { f.unshift(i); break } if (f[0] in d) j = f[0]; else { for (i in d) { if (!f[0] || a.converters[i + " " + f[0]]) { j = i; break } k || (k = i) } j = j || k } if (j) { j !== f[0] && f.unshift(j); return d[j] } } function bo(a, b, c, e) { if (d.isarray(b) && b.length) d.each(b, function (b, f) { c || bq.test(a) ? e(a, f) : bo(a + "[" + (typeof f === "object" || d.isarray(f) ? b : "") + "]", f, c, e) }); else if (c || b == null || typeof b !== "object") e(a, b); else if (d.isarray(b) || d.isemptyobject(b)) e(a, ""); else for (var f in b) bo(a + "[" + f + "]", b[f], c, e) } function bn(a, c, d, e, f, g) { f = f || c.datatypes[0], g = g || {}, g[f] = !0; var h = a[f], i = 0, j = h ? h.length : 0, k = a === bh, l; for (; i < j && (k || !l); i++) l = h[i](c, d, e), typeof l === "string" && (!k || g[l] ? l = b : (c.datatypes.unshift(l), l = bn(a, c, d, e, l, g))); (k || !l) && !g["*"] && (l = bn(a, c, d, e, "*", g)); return l } function bm(a) { return function (b, c) { typeof b !== "string" && (c = b, b = "*"); if (d.isfunction(c)) { var e = b.tolowercase().split(bb), f = 0, g = e.length, h, i, j; for (; f < g; f++) h = e[f], j = /^\+/.test(h), j && (h = h.substr(1) || "*"), i = a[h] = a[h] || [], i[j ? "unshift" : "push"](c) } } } function bo(a, b, c) { var e = b === "width" ? bi : bj, f = b === "width" ? a.offsetwidth : a.offsetheight; if (c === "border") return f; d.each(e, function () { c || (f -= parsefloat(d.css(a, "padding" + this)) || 0), c === "margin" ? f += parsefloat(d.css(a, "margin" + this)) || 0 : f -= parsefloat(d.css(a, "border" + this + "width")) || 0 }); return f } function ba(a, b) { b.src ? d.ajax({ url: b.src, async: !1, datatype: "script" }) : d.globaleval(b.text || b.textcontent || b.innerhtml || ""), b.parentnode && b.parentnode.removechild(b) } function _(a) { return "getelementsbytagname" in a ? a.getelementsbytagname("*") : "queryselectorall" in a ? a.queryselectorall("*") : [] } function $(a, b) { if (b.nodetype === 1) { var c = b.nodename.tolowercase(); b.clearattributes(), b.mergeattributes(a); if (c === "object") b.outerhtml = a.outerhtml; else if (c !== "input" || a.type !== "checkbox" && a.type !== "radio") { if (c === "option") b.selected = a.defaultselected; else if (c === "input" || c === "textarea") b.defaultvalue = a.defaultvalue } else a.checked && (b.defaultchecked = b.checked = a.checked), b.value !== a.value && (b.value = a.value); b.removeattribute(d.expando) } } function z(a, b) { if (b.nodetype === 1 && d.hasdata(a)) { var c = d.expando, e = d.data(a), f = d.data(b, e); if (e = e[c]) { var g = e.events; f = f[c] = d.extend({}, e); if (g) { delete f.handle, f.events = {}; for (var h in g) for (var i = 0, j = g[h].length; i < j; i++) d.event.add(b, h + (g[h][i].namespace ? "." : "") + g[h][i].namespace, g[h][i], g[h][i].data) } } } } function y(a, b) { return d.nodename(a, "table") ? a.getelementsbytagname("tbody")[0] || a.appendchild(a.ownerdocument.createelement("tbody")) : a } function o(a, b, c) { if (d.isfunction(b)) return d.grep(a, function (a, d) { var e = !!b.call(a, d, a); return e === c }); if (b.nodetype) return d.grep(a, function (a, d) { return a === b === c }); if (typeof b === "string") { var e = d.grep(a, function (a) { return a.nodetype === 1 }); if (j.test(b)) return d.filter(b, e, !c); b = d.filter(b, e) } return d.grep(a, function (a, e) { return d.inarray(a, b) >= 0 === c }) } function n(a) { return !a || !a.parentnode || a.parentnode.nodetype === 11 } function f(a, b) { return (a && a !== "*" ? a + "." : "") + b.replace(r, "`").replace(s, "&") } function e(a) { var b, c, e, f, g, h, i, j, k, l, m, n, o, q = [], r = [], s = d._data(this, "events"); if (a.livefired !== this && s && s.live && !a.target.disabled && (!a.button || a.type !== "click")) { a.namespace && (n = new regexp("(^|\\.)" + a.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)")), a.livefired = this; var t = s.live.slice(0); for (i = 0; i < t.length; i++) g = t[i], g.origtype.replace(p, "") === a.type ? r.push(g.selector) : t.splice(i--, 1); f = d(a.target).closest(r, a.currenttarget); for (j = 0, k = f.length; j < k; j++) { m = f[j]; for (i = 0; i < t.length; i++) { g = t[i]; if (m.selector === g.selector && (!n || n.test(g.namespace)) && !m.elem.disabled) { h = m.elem, e = null; if (g.pretype === "mouseenter" || g.pretype === "mouseleave") a.type = g.pretype, e = d(a.relatedtarget).closest(g.selector)[0]; (!e || e !== h) && q.push({ elem: h, handleobj: g, level: m.level }) } } } for (j = 0, k = q.length; j < k; j++) { f = q[j]; if (c && f.level > c) break; a.currenttarget = f.elem, a.data = f.handleobj.data, a.handleobj = f.handleobj, o = f.handleobj.orighandler.apply(f.elem, arguments); if (o === !1 || a.ispropagationstopped()) { c = f.level, o === !1 && (b = !1); if (a.isimmediatepropagationstopped()) break } } return b } } function c(a, c, e) { var f = d.extend({}, e[0]); f.type = a, f.originalevent = {}, f.livefired = b, d.event.handle.call(c, f), f.isdefaultprevented() && e[0].preventdefault() } function w() { return !0 } function v() { return !1 } function g(a) { for (var b in a) if (b !== "tojson") return !1; return !0 } function f(a, c, f) { if (f === b && a.nodetype === 1) { f = a.getattribute("data-" + c); if (typeof f === "string") { try { f = f === "true" ? !0 : f === "false" ? !1 : f === "null" ? null : d.isnan(f) ? e.test(f) ? d.parsejson(f) : f : parsefloat(f) } catch (g) { } d.data(a, c, f) } else f = b } return f } var c = a.document, d = function () { function i() { if (!d.isready) { try { c.documentelement.doscroll("left") } catch (a) { settimeout(i, 1); return } d.ready() } } var d = function (a, b) { return new d.fn.init(a, b, g) }, e = a.jquery, f = a.$, g, h = /^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]+)$)/, i = /\s/, j = /^\s+/, k = /\s+$/, l = /\d/, m = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, n = /^[\],:{}\s]*$/, o = /\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g, p = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g, q = /(?:^|:|,)(?:\s*\[)+/g, r = /(webkit)[ \/]([\w.]+)/, s = /(opera)(?:.*version)?[ \/]([\w.]+)/, t = /(msie) ([\w.]+)/, u = /(mozilla)(?:.*? rv:([\w.]+))?/, v = navigator.useragent, w, x = !1, y, z = "then done fail isresolved isrejected promise".split(" "), a, b = object.prototype.tostring, c = object.prototype.hasownproperty, d = array.prototype.push, e = array.prototype.slice, f = string.prototype.trim, g = array.prototype.indexof, h = {}; d.fn = d.prototype = { constructor: d, init: function (a, e, f) { var g, i, j, k; if (!a) return this; if (a.nodetype) { this.context = this[0] = a, this.length = 1; return this } if (a === "body" && !e && c.body) { this.context = c, this[0] = c.body, this.selector = "body", this.length = 1; return this } if (typeof a === "string") { g = h.exec(a); if (!g || !g[1] && e) return !e || e.jquery ? (e || f).find(a) : this.constructor(e).find(a); if (g[1]) { e = e instanceof d ? e[0] : e, k = e ? e.ownerdocument || e : c, j = m.exec(a), j ? d.isplainobject(e) ? (a = [c.createelement(j[1])], d.fn.attr.call(a, e, !0)) : a = [k.createelement(j[1])] : (j = d.buildfragment([g[1]], [k]), a = (j.cacheable ? d.clone(j.fragment) : j.fragment).childnodes); return d.merge(this, a) } i = c.getelementbyid(g[2]); if (i && i.parentnode) { if (i.id !== g[2]) return f.find(a); this.length = 1, this[0] = i } this.context = c, this.selector = a; return this } if (d.isfunction(a)) return f.ready(a); a.selector !== b && (this.selector = a.selector, this.context = a.context); return d.makearray(a, this) }, selector: "", jquery: "1.5.1", length: 0, size: function () { return this.length }, toarray: function () { return e.call(this, 0) }, get: function (a) { return a == null ? this.toarray() : a < 0 ? this[this.length + a] : this[a] }, pushstack: function (a, b, c) { var e = this.constructor(); d.isarray(a) ? d.apply(e, a) : d.merge(e, a), e.prevobject = this, e.context = this.context, b === "find" ? e.selector = this.selector + (this.selector ? " " : "") + c : b && (e.selector = this.selector + "." + b + "(" + c + ")"); return e }, each: function (a, b) { return d.each(this, a, b) }, ready: function (a) { d.bindready(), y.done(a); return this }, eq: function (a) { return a === -1 ? this.slice(a) : this.slice(a, +a + 1) }, first: function () { return this.eq(0) }, last: function () { return this.eq(-1) }, slice: function () { return this.pushstack(e.apply(this, arguments), "slice", e.call(arguments).join(",")) }, map: function (a) { return this.pushstack(d.map(this, function (b, c) { return a.call(b, c, b) })) }, end: function () { return this.prevobject || this.constructor(null) }, push: d, sort: [].sort, splice: [].splice }, d.fn.init.prototype = d.fn, d.extend = d.fn.extend = function () { var a, c, e, f, g, h, i = arguments[0] || {}, j = 1, k = arguments.length, l = !1; typeof i === "boolean" && (l = i, i = arguments[1] || {}, j = 2), typeof i !== "object" && !d.isfunction(i) && (i = {}), k === j && (i = this, --j); for (; j < k; j++) if ((a = arguments[j]) != null) for (c in a) { e = i[c], f = a[c]; if (i === f) continue; l && f && (d.isplainobject(f) || (g = d.isarray(f))) ? (g ? (g = !1, h = e && d.isarray(e) ? e : []) : h = e && d.isplainobject(e) ? e : {}, i[c] = d.extend(l, h, f)) : f !== b && (i[c] = f) } return i }, d.extend({ noconflict: function (b) { a.$ = f, b && (a.jquery = e); return d }, isready: !1, readywait: 1, ready: function (a) { a === !0 && d.readywait--; if (!d.readywait || a !== !0 && !d.isready) { if (!c.body) return settimeout(d.ready, 1); d.isready = !0; if (a !== !0 && --d.readywait > 0) return; y.resolvewith(c, [d]), d.fn.trigger && d(c).trigger("ready").unbind("ready") } }, bindready: function () { if (!x) { x = !0; if (c.readystate === "complete") return settimeout(d.ready, 1); if (c.addeventlistener) c.addeventlistener("domcontentloaded", a, !1), a.addeventlistener("load", d.ready, !1); else if (c.attachevent) { c.attachevent("onreadystatechange", a), a.attachevent("onload", d.ready); var b = !1; try { b = a.frameelement == null } catch (e) { } c.documentelement.doscroll && b && i() } } }, isfunction: function (a) { return d.type(a) === "function" }, isarray: array.isarray || function (a) { return d.type(a) === "array" }, iswindow: function (a) { return a && typeof a === "object" && "setinterval" in a }, isnan: function (a) { return a == null || !l.test(a) || isnan(a) }, type: function (a) { return a == null ? string(a) : h[b.call(a)] || "object" }, isplainobject: function (a) { if (!a || d.type(a) !== "object" || a.nodetype || d.iswindow(a)) return !1; if (a.constructor && !c.call(a, "constructor") && !c.call(a.constructor.prototype, "isprototypeof")) return !1; var c; for (c in a) { } return c === b || c.call(a, c) }, isemptyobject: function (a) { for (var b in a) return !1; return !0 }, error: function (a) { throw a }, parsejson: function (b) { if (typeof b !== "string" || !b) return null; b = d.trim(b); if (n.test(b.replace(o, "@").replace(p, "]").replace(q, ""))) return a.json && a.json.parse ? a.json.parse(b) : (new function("return " + b))(); d.error("invalid json: " + b) }, parsexml: function (b, c, e) { a.domparser ? (e = new domparser, c = e.parsefromstring(b, "text/xml")) : (c = new activexobject("microsoft.xmldom"), c.async = "false", c.loadxml(b)), e = c.documentelement, (!e || !e.nodename || e.nodename === "parsererror") && d.error("invalid xml: " + b); return c }, noop: function () { }, globaleval: function (a) { if (a && i.test(a)) { var b = c.head || c.getelementsbytagname("head")[0] || c.documentelement, e = c.createelement("script"); d.support.scripteval() ? e.appendchild(c.createtextnode(a)) : e.text = a, b.insertbefore(e, b.firstchild), b.removechild(e) } }, nodename: function (a, b) { return a.nodename && a.nodename.touppercase() === b.touppercase() }, each: function (a, c, e) { var f, g = 0, h = a.length, i = h === b || d.isfunction(a); if (e) { if (i) { for (f in a) if (c.apply(a[f], e) === !1) break } else for (; g < h; ) if (c.apply(a[g++], e) === !1) break } else if (i) { for (f in a) if (c.call(a[f], f, a[f]) === !1) break } else for (var j = a[0]; g < h && c.call(j, g, j) !== !1; j = a[++g]) { } return a }, trim: f ? function (a) { return a == null ? "" : f.call(a) } : function (a) { return a == null ? "" : (a + "").replace(j, "").replace(k, "") }, makearray: function (a, b) { var c = b || []; if (a != null) { var e = d.type(a); a.length == null || e === "string" || e === "function" || e === "regexp" || d.iswindow(a) ? d.call(c, a) : d.merge(c, a) } return c }, inarray: function (a, b) { if (b.indexof) return b.indexof(a); for (var c = 0, d = b.length; c < d; c++) if (b[c] === a) return c; return -1 }, merge: function (a, c) { var d = a.length, e = 0; if (typeof c.length === "number") for (var f = c.length; e < f; e++) a[d++] = c[e]; else while (c[e] !== b) a[d++] = c[e++]; a.length = d; return a }, grep: function (a, b, c) { var d = [], e; c = !!c; for (var f = 0, g = a.length; f < g; f++) e = !!b(a[f], f), c !== e && d.push(a[f]); return d }, map: function (a, b, c) { var d = [], e; for (var f = 0, g = a.length; f < g; f++) e = b(a[f], f, c), e != null && (d[d.length] = e); return d.concat.apply([], d) }, guid: 1, proxy: function (a, c, e) { arguments.length === 2 && (typeof c === "string" ? (e = a, a = e[c], c = b) : c && !d.isfunction(c) && (e = c, c = b)), !c && a && (c = function () { return a.apply(e || this, arguments) }), a && (c.guid = a.guid = a.guid || c.guid || d.guid++); return c }, access: function (a, c, e, f, g, h) { var i = a.length; if (typeof c === "object") { for (var j in c) d.access(a, j, c[j], f, g, e); return a } if (e !== b) { f = !h && f && d.isfunction(e); for (var k = 0; k < i; k++) g(a[k], c, f ? e.call(a[k], k, g(a[k], c)) : e, h); return a } return i ? g(a[0], c) : b }, now: function () { return (new date).gettime() }, _deferred: function () { var a = [], b, c, e, f = { done: function () { if (!e) { var c = arguments, g, h, i, j, k; b && (k = b, b = 0); for (g = 0, h = c.length; g < h; g++) i = c[g], j = d.type(i), j === "array" ? f.done.apply(f, i) : j === "function" && a.push(i); k && f.resolvewith(k[0], k[1]) } return this }, resolvewith: function (d, f) { if (!e && !b && !c) { c = 1; try { while (a[0]) a.shift().apply(d, f) } catch (g) { throw g } finally { b = [d, f], c = 0 } } return this }, resolve: function () { f.resolvewith(d.isfunction(this.promise) ? this.promise() : this, arguments); return this }, isresolved: function () { return c || b }, cancel: function () { e = 1, a = []; return this } }; return f }, deferred: function (a) { var b = d._deferred(), c = d._deferred(), e; d.extend(b, { then: function (a, c) { b.done(a).fail(c); return this }, fail: c.done, rejectwith: c.resolvewith, reject: c.resolve, isrejected: c.isresolved, promise: function (a) { if (a == null) { if (e) return e; e = a = {} } var c = z.length; while (c--) a[z[c]] = b[z[c]]; return a } }), b.done(c.cancel).fail(b.cancel), delete b.cancel, a && a.call(b, b); return b }, when: function (a) { var b = arguments.length, c = b <= 1 && a && d.isfunction(a.promise) ? a : d.deferred(), e = c.promise(); if (b > 1) { var f = e.call(arguments, 0), g = b, h = function (a) { return function (b) { f[a] = arguments.length > 1 ? e.call(arguments, 0) : b, --g || c.resolvewith(e, f) } }; while (b--) a = f[b], a && d.isfunction(a.promise) ? a.promise().then(h(b), c.reject) : --g; g || c.resolvewith(e, f) } else c !== a && c.resolve(a); return e }, uamatch: function (a) { a = a.tolowercase(); var b = r.exec(a) || s.exec(a) || t.exec(a) || a.indexof("compatible") < 0 && u.exec(a) || []; return { browser: b[1] || "", version: b[2] || "0"} }, sub: function () { function a(b, c) { return new a.fn.init(b, c) } d.extend(!0, a, this), a.superclass = this, a.fn = a.prototype = this(), a.fn.constructor = a, a.subclass = this.subclass, a.fn.init = function b(b, c) { c && c instanceof d && !(c instanceof a) && (c = a(c)); return d.fn.init.call(this, b, c, e) }, a.fn.init.prototype = a.fn; var e = a(c); return a }, browser: {} }), y = d._deferred(), d.each("boolean number string function array date regexp object".split(" "), function (a, b) { h["[object " + b + "]"] = b.tolowercase() }), w = d.uamatch(v), w.browser && (d.browser[w.browser] = !0, d.browser.version = w.version), d.browser.webkit && (d.browser.safari = !0), g && (d.inarray = function (a, b) { return g.call(b, a) }), i.test(" ") && (j = /^[\s\xa0]+/, k = /[\s\xa0]+$/), g = d(c), c.addeventlistener ? a = function () { c.removeeventlistener("domcontentloaded", a, !1), d.ready() } : c.attachevent && (a = function () { c.readystate === "complete" && (c.detachevent("onreadystatechange", a), d.ready()) }); return d } (); (function () { d.support = {}; var b = c.createelement("div"); b.style.display = "none", b.innerhtml = "
a"; var e = b.getelementsbytagname("*"), f = b.getelementsbytagname("a")[0], g = c.createelement("select"), h = g.appendchild(c.createelement("option")), i = b.getelementsbytagname("input")[0]; if (e && e.length && f) { d.support = { leadingwhitespace: b.firstchild.nodetype === 3, tbody: !b.getelementsbytagname("tbody").length, htmlserialize: !!b.getelementsbytagname("link").length, style: /red/.test(f.getattribute("style")), hrefnormalized: f.getattribute("href") === "/a", opacity: /^0.55$/.test(f.style.opacity), cssfloat: !!f.style.cssfloat, checkon: i.value === "on", optselected: h.selected, deleteexpando: !0, optdisabled: !1, checkclone: !1, nocloneevent: !0, noclonechecked: !0, boxmodel: null, inlineblockneedslayout: !1, shrinkwrapblocks: !1, reliablehiddenoffsets: !0 }, i.checked = !0, d.support.noclonechecked = i.clonenode(!0).checked, g.disabled = !0, d.support.optdisabled = !h.disabled; var j = null; d.support.scripteval = function () { if (j === null) { var b = c.documentelement, e = c.createelement("script"), f = "script" + d.now(); try { e.appendchild(c.createtextnode("window." + f + "=1;")) } catch (g) { } b.insertbefore(e, b.firstchild), a[f] ? (j = !0, delete a[f]) : j = !1, b.removechild(e), b = e = f = null } return j }; try { delete b.test } catch (k) { d.support.deleteexpando = !1 } !b.addeventlistener && b.attachevent && b.fireevent && (b.attachevent("onclick", function l() { d.support.nocloneevent = !1, b.detachevent("onclick", l) }), b.clonenode(!0).fireevent("onclick")), b = c.createelement("div"), b.innerhtml = ""; var m = c.createdocumentfragment(); m.appendchild(b.firstchild), d.support.checkclone = m.clonenode(!0).clonenode(!0).lastchild.checked, d(function () { var a = c.createelement("div"), b = c.getelementsbytagname("body")[0]; if (b) { a.style.width = a.style.paddingleft = "1px", b.appendchild(a), d.boxmodel = d.support.boxmodel = a.offsetwidth === 2, "zoom" in a.style && (a.style.display = "inline", a.style.zoom = 1, d.support.inlineblockneedslayout = a.offsetwidth === 2, a.style.display = "", a.innerhtml = "
", d.support.shrinkwrapblocks = a.offsetwidth !== 2), a.innerhtml = "
t
"; var e = a.getelementsbytagname("td"); d.support.reliablehiddenoffsets = e[0].offsetheight === 0, e[0].style.display = "", e[1].style.display = "none", d.support.reliablehiddenoffsets = d.support.reliablehiddenoffsets && e[0].offsetheight === 0, a.innerhtml = "", b.removechild(a).style.display = "none", a = e = null } }); var n = function (a) { var b = c.createelement("div"); a = "on" + a; if (!b.attachevent) return !0; var d = a in b; d || (b.setattribute(a, "return;"), d = typeof b[a] === "function"), b = null; return d }; d.support.submitbubbles = n("submit"), d.support.changebubbles = n("change"), b = e = f = null } })(); var e = /^(?:\{.*\}|\[.*\])$/; d.extend({ cache: {}, uuid: 0, expando: "jquery" + (d.fn.jquery + math.random()).replace(/\d/g, ""), nodata: { embed: !0, object: "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", applet: !0 }, hasdata: function (a) { a = a.nodetype ? d.cache[a[d.expando]] : a[d.expando]; return !!a && !g(a) }, data: function (a, c, e, f) { if (d.acceptdata(a)) { var g = d.expando, h = typeof c === "string", i, j = a.nodetype, k = j ? d.cache : a, l = j ? a[d.expando] : a[d.expando] && d.expando; if ((!l || f && l && !k[l][g]) && h && e === b) return; l || (j ? a[d.expando] = l = ++d.uuid : l = d.expando), k[l] || (k[l] = {}, j || (k[l].tojson = d.noop)); if (typeof c === "object" || typeof c === "function") f ? k[l][g] = d.extend(k[l][g], c) : k[l] = d.extend(k[l], c); i = k[l], f && (i[g] || (i[g] = {}), i = i[g]), e !== b && (i[c] = e); if (c === "events" && !i[c]) return i[g] && i[g].events; return h ? i[c] : i } }, removedata: function (b, c, e) { if (d.acceptdata(b)) { var f = d.expando, h = b.nodetype, i = h ? d.cache : b, j = h ? b[d.expando] : d.expando; if (!i[j]) return; if (c) { var k = e ? i[j][f] : i[j]; if (k) { delete k[c]; if (!g(k)) return } } if (e) { delete i[j][f]; if (!g(i[j])) return } var l = i[j][f]; d.support.deleteexpando || i != a ? delete i[j] : i[j] = null, l ? (i[j] = {}, h || (i[j].tojson = d.noop), i[j][f] = l) : h && (d.support.deleteexpando ? delete b[d.expando] : b.removeattribute ? b.removeattribute(d.expando) : b[d.expando] = null) } }, _data: function (a, b, c) { return d.data(a, b, c, !0) }, acceptdata: function (a) { if (a.nodename) { var b = d.nodata[a.nodename.tolowercase()]; if (b) return b !== !0 && a.getattribute("classid") === b } return !0 } }), d.fn.extend({ data: function (a, c) { var e = null; if (typeof a === "undefined") { if (this.length) { e = d.data(this[0]); if (this[0].nodetype === 1) { var g = this[0].attributes, h; for (var i = 0, j = g.length; i < j; i++) h = g[i].name, h.indexof("data-") === 0 && (h = h.substr(5), f(this[0], h, e[h])) } } return e } if (typeof a === "object") return this.each(function () { d.data(this, a) }); var k = a.split("."); k[1] = k[1] ? "." + k[1] : ""; if (c === b) { e = this.triggerhandler("getdata" + k[1] + "!", [k[0]]), e === b && this.length && (e = d.data(this[0], a), e = f(this[0], a, e)); return e === b && k[1] ? this.data(k[0]) : e } return this.each(function () { var b = d(this), e = [k[0], c]; b.triggerhandler("setdata" + k[1] + "!", e), d.data(this, a, c), b.triggerhandler("changedata" + k[1] + "!", e) }) }, removedata: function (a) { return this.each(function () { d.removedata(this, a) }) } }), d.extend({ queue: function (a, b, c) { if (a) { b = (b || "fx") + "queue"; var e = d._data(a, b); if (!c) return e || []; !e || d.isarray(c) ? e = d._data(a, b, d.makearray(c)) : e.push(c); return e } }, dequeue: function (a, b) { b = b || "fx"; var c = d.queue(a, b), e = c.shift(); e === "inprogress" && (e = c.shift()), e && (b === "fx" && c.unshift("inprogress"), e.call(a, function () { d.dequeue(a, b) })), c.length || d.removedata(a, b + "queue", !0) } }), d.fn.extend({ queue: function (a, c) { typeof a !== "string" && (c = a, a = "fx"); if (c === b) return d.queue(this[0], a); return this.each(function (b) { var e = d.queue(this, a, c); a === "fx" && e[0] !== "inprogress" && d.dequeue(this, a) }) }, dequeue: function (a) { return this.each(function () { d.dequeue(this, a) }) }, delay: function (a, b) { a = d.fx ? d.fx.speeds[a] || a : a, b = b || "fx"; return this.queue(b, function () { var c = this; settimeout(function () { d.dequeue(c, b) }, a) }) }, clearqueue: function (a) { return this.queue(a || "fx", []) } }); var h = /[\n\t\r]/g, i = /\s+/, j = /\r/g, k = /^(?:href|src|style)$/, l = /^(?:button|input)$/i, m = /^(?:button|input|object|select|textarea)$/i, n = /^a(?:rea)?$/i, o = /^(?:radio|checkbox)$/i; d.props = { "for": "htmlfor", "class": "classname", readonly: "readonly", maxlength: "maxlength", cellspacing: "cellspacing", rowspan: "rowspan", colspan: "colspan", tabindex: "tabindex", usemap: "usemap", frameborder: "frameborder" }, d.fn.extend({ attr: function (a, b) { return d.access(this, a, b, !0, d.attr) }, removeattr: function (a, b) { return this.each(function () { d.attr(this, a, ""), this.nodetype === 1 && this.removeattribute(a) }) }, addclass: function (a) { if (d.isfunction(a)) return this.each(function (b) { var c = d(this); c.addclass(a.call(this, b, c.attr("class"))) }); if (a && typeof a === "string") { var b = (a || "").split(i); for (var c = 0, e = this.length; c < e; c++) { var f = this[c]; if (f.nodetype === 1) if (f.classname) { var g = " " + f.classname + " ", h = f.classname; for (var j = 0, k = b.length; j < k; j++) g.indexof(" " + b[j] + " ") < 0 && (h += " " + b[j]); f.classname = d.trim(h) } else f.classname = a } } return this }, removeclass: function (a) { if (d.isfunction(a)) return this.each(function (b) { var c = d(this); c.removeclass(a.call(this, b, c.attr("class"))) }); if (a && typeof a === "string" || a === b) { var c = (a || "").split(i); for (var e = 0, f = this.length; e < f; e++) { var g = this[e]; if (g.nodetype === 1 && g.classname) if (a) { var j = (" " + g.classname + " ").replace(h, " "); for (var k = 0, l = c.length; k < l; k++) j = j.replace(" " + c[k] + " ", " "); g.classname = d.trim(j) } else g.classname = "" } } return this }, toggleclass: function (a, b) { var c = typeof a, e = typeof b === "boolean"; if (d.isfunction(a)) return this.each(function (c) { var e = d(this); e.toggleclass(a.call(this, c, e.attr("class"), b), b) }); return this.each(function () { if (c === "string") { var f, g = 0, h = d(this), j = b, k = a.split(i); while (f = k[g++]) j = e ? j : !h.hasclass(f), h[j ? "addclass" : "removeclass"](f) } else if (c === "undefined" || c === "boolean") this.classname && d._data(this, "__classname__", this.classname), this.classname = this.classname || a === !1 ? "" : d._data(this, "__classname__") || "" }) }, hasclass: function (a) { var b = " " + a + " "; for (var c = 0, d = this.length; c < d; c++) if ((" " + this[c].classname + " ").replace(h, " ").indexof(b) > -1) return !0; return !1 }, val: function (a) { if (!arguments.length) { var c = this[0]; if (c) { if (d.nodename(c, "option")) { var e = c.attributes.value; return !e || e.specified ? c.value : c.text } if (d.nodename(c, "select")) { var f = c.selectedindex, g = [], h = c.options, i = c.type === "select-one"; if (f < 0) return null; for (var k = i ? f : 0, l = i ? f + 1 : h.length; k < l; k++) { var m = h[k]; if (m.selected && (d.support.optdisabled ? !m.disabled : m.getattribute("disabled") === null) && (!m.parentnode.disabled || !d.nodename(m.parentnode, "optgroup"))) { a = d(m).val(); if (i) return a; g.push(a) } } if (i && !g.length && h.length) return d(h[f]).val(); return g } if (o.test(c.type) && !d.support.checkon) return c.getattribute("value") === null ? "on" : c.value; return (c.value || "").replace(j, "") } return b } var n = d.isfunction(a); return this.each(function (b) { var c = d(this), e = a; if (this.nodetype === 1) { n && (e = a.call(this, b, c.val())), e == null ? e = "" : typeof e === "number" ? e += "" : d.isarray(e) && (e = d.map(e, function (a) { return a == null ? "" : a + "" })); if (d.isarray(e) && o.test(this.type)) this.checked = d.inarray(c.val(), e) >= 0; else if (d.nodename(this, "select")) { var f = d.makearray(e); d("option", this).each(function () { this.selected = d.inarray(d(this).val(), f) >= 0 }), f.length || (this.selectedindex = -1) } else this.value = e } }) } }), d.extend({ attrfn: { val: !0, css: !0, html: !0, text: !0, data: !0, width: !0, height: !0, offset: !0 }, attr: function (a, c, e, f) { if (!a || a.nodetype === 3 || a.nodetype === 8 || a.nodetype === 2) return b; if (f && c in d.attrfn) return d(a)[c](e); var g = a.nodetype !== 1 || !d.isxmldoc(a), h = e !== b; c = g && d.props[c] || c; if (a.nodetype === 1) { var i = k.test(c); if (c === "selected" && !d.support.optselected) { var j = a.parentnode; j && (j.selectedindex, j.parentnode && j.parentnode.selectedindex) } if ((c in a || a[c] !== b) && g && !i) { h && (c === "type" && l.test(a.nodename) && a.parentnode && d.error("type property can't be changed"), e === null ? a.nodetype === 1 && a.removeattribute(c) : a[c] = e); if (d.nodename(a, "form") && a.getattributenode(c)) return a.getattributenode(c).nodevalue; if (c === "tabindex") { var o = a.getattributenode("tabindex"); return o && o.specified ? o.value : m.test(a.nodename) || n.test(a.nodename) && a.href ? 0 : b } return a[c] } if (!d.support.style && g && c === "style") { h && (a.style.csstext = "" + e); return a.style.csstext } h && a.setattribute(c, "" + e); if (!a.attributes[c] && (a.hasattribute && !a.hasattribute(c))) return b; var p = !d.support.hrefnormalized && g && i ? a.getattribute(c, 2) : a.getattribute(c); return p === null ? b : p } h && (a[c] = e); return a[c] } }); var p = /\.(.*)$/, q = /^(?:textarea|input|select)$/i, r = /\./g, s = / /g, t = /[^\w\s.|`]/g, u = function (a) { return a.replace(t, "\\$&") }; d.event = { add: function (c, e, f, g) { if (c.nodetype !== 3 && c.nodetype !== 8) { try { d.iswindow(c) && (c !== a && !c.frameelement) && (c = a) } catch (h) { } if (f === !1) f = v; else if (!f) return; var i, j; f.handler && (i = f, f = i.handler), f.guid || (f.guid = d.guid++); var k = d._data(c); if (!k) return; var l = k.events, m = k.handle; l || (k.events = l = {}), m || (k.handle = m = function () { return typeof d !== "undefined" && !d.event.triggered ? d.event.handle.apply(m.elem, arguments) : b }), m.elem = c, e = e.split(" "); var n, o = 0, p; while (n = e[o++]) { j = i ? d.extend({}, i) : { handler: f, data: g }, n.indexof(".") > -1 ? (p = n.split("."), n = p.shift(), j.namespace = p.slice(0).sort().join(".")) : (p = [], j.namespace = ""), j.type = n, j.guid || (j.guid = f.guid); var q = l[n], r = d.event.special[n] || {}; if (!q) { q = l[n] = []; if (!r.setup || r.setup.call(c, g, p, m) === !1) c.addeventlistener ? c.addeventlistener(n, m, !1) : c.attachevent && c.attachevent("on" + n, m) } r.add && (r.add.call(c, j), j.handler.guid || (j.handler.guid = f.guid)), q.push(j), d.event.global[n] = !0 } c = null } }, global: {}, remove: function (a, c, e, f) { if (a.nodetype !== 3 && a.nodetype !== 8) { e === !1 && (e = v); var g, h, i, j, k = 0, l, m, n, o, p, q, r, s = d.hasdata(a) && d._data(a), t = s && s.events; if (!s || !t) return; c && c.type && (e = c.handler, c = c.type); if (!c || typeof c === "string" && c.charat(0) === ".") { c = c || ""; for (h in t) d.event.remove(a, h + c); return } c = c.split(" "); while (h = c[k++]) { r = h, q = null, l = h.indexof(".") < 0, m = [], l || (m = h.split("."), h = m.shift(), n = new regexp("(^|\\.)" + d.map(m.slice(0).sort(), u).join("\\.(?:.*\\.)?") + "(\\.|$)")), p = t[h]; if (!p) continue; if (!e) { for (j = 0; j < p.length; j++) { q = p[j]; if (l || n.test(q.namespace)) d.event.remove(a, r, q.handler, j), p.splice(j--, 1) } continue } o = d.event.special[h] || {}; for (j = f || 0; j < p.length; j++) { q = p[j]; if (e.guid === q.guid) { if (l || n.test(q.namespace)) f == null && p.splice(j--, 1), o.remove && o.remove.call(a, q); if (f != null) break } } if (p.length === 0 || f != null && p.length === 1) (!o.teardown || o.teardown.call(a, m) === !1) && d.removeevent(a, h, s.handle), g = null, delete t[h] } if (d.isemptyobject(t)) { var w = s.handle; w && (w.elem = null), delete s.events, delete s.handle, d.isemptyobject(s) && d.removedata(a, b, !0) } } }, trigger: function (a, c, e) { var f = a.type || a, g = arguments[3]; if (!g) { a = typeof a === "object" ? a[d.expando] ? a : d.extend(d.event(f), a) : d.event(f), f.indexof("!") >= 0 && (a.type = f = f.slice(0, -1), a.exclusive = !0), e || (a.stoppropagation(), d.event.global[f] && d.each(d.cache, function () { var b = d.expando, e = this[b]; e && e.events && e.events[f] && d.event.trigger(a, c, e.handle.elem) })); if (!e || e.nodetype === 3 || e.nodetype === 8) return b; a.result = b, a.target = e, c = d.makearray(c), c.unshift(a) } a.currenttarget = e; var h = d._data(e, "handle"); h && h.apply(e, c); var i = e.parentnode || e.ownerdocument; try { e && e.nodename && d.nodata[e.nodename.tolowercase()] || e["on" + f] && e["on" + f].apply(e, c) === !1 && (a.result = !1, a.preventdefault()) } catch (j) { } if (!a.ispropagationstopped() && i) d.event.trigger(a, c, i, !0); else if (!a.isdefaultprevented()) { var k, l = a.target, m = f.replace(p, ""), n = d.nodename(l, "a") && m === "click", o = d.event.special[m] || {}; if ((!o._default || o._default.call(e, a) === !1) && !n && !(l && l.nodename && d.nodata[l.nodename.tolowercase()])) { try { l[m] && (k = l["on" + m], k && (l["on" + m] = null), d.event.triggered = !0, l[m]()) } catch (q) { } k && (l["on" + m] = k), d.event.triggered = !1 } } }, handle: function (c) { var e, f, g, h, i, j = [], k = d.makearray(arguments); c = k[0] = d.event.fix(c || a.event), c.currenttarget = this, e = c.type.indexof(".") < 0 && !c.exclusive, e || (g = c.type.split("."), c.type = g.shift(), j = g.slice(0).sort(), h = new regexp("(^|\\.)" + j.join("\\.(?:.*\\.)?") + "(\\.|$)")), c.namespace = c.namespace || j.join("."), i = d._data(this, "events"), f = (i || {})[c.type]; if (i && f) { f = f.slice(0); for (var l = 0, m = f.length; l < m; l++) { var n = f[l]; if (e || h.test(n.namespace)) { c.handler = n.handler, c.data = n.data, c.handleobj = n; var o = n.handler.apply(this, k); o !== b && (c.result = o, o === !1 && (c.preventdefault(), c.stoppropagation())); if (c.isimmediatepropagationstopped()) break } } } return c.result }, props: "altkey attrchange attrname bubbles button cancelable charcode clientx clienty ctrlkey currenttarget data detail eventphase fromelement handler keycode layerx layery metakey newvalue offsetx offsety pagex pagey prevvalue relatednode relatedtarget screenx screeny shiftkey srcelement target toelement view wheeldelta which".split(" "), fix: function (a) { if (a[d.expando]) return a; var e = a; a = d.event(e); for (var f = this.props.length, g; f; ) g = this.props[--f], a[g] = e[g]; a.target || (a.target = a.srcelement || c), a.target.nodetype === 3 && (a.target = a.target.parentnode), !a.relatedtarget && a.fromelement && (a.relatedtarget = a.fromelement === a.target ? a.toelement : a.fromelement); if (a.pagex == null && a.clientx != null) { var h = c.documentelement, i = c.body; a.pagex = a.clientx + (h && h.scrollleft || i && i.scrollleft || 0) - (h && h.clientleft || i && i.clientleft || 0), a.pagey = a.clienty + (h && h.scrolltop || i && i.scrolltop || 0) - (h && h.clienttop || i && i.clienttop || 0) } a.which == null && (a.charcode != null || a.keycode != null) && (a.which = a.charcode != null ? a.charcode : a.keycode), !a.metakey && a.ctrlkey && (a.metakey = a.ctrlkey), !a.which && a.button !== b && (a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0); return a }, guid: 1e8, proxy: d.proxy, special: { ready: { setup: d.bindready, teardown: d.noop }, live: { add: function (a) { d.event.add(this, f(a.origtype, a.selector), d.extend({}, a, { handler: e, guid: a.handler.guid })) }, remove: function (a) { d.event.remove(this, f(a.origtype, a.selector), a) } }, beforeunload: { setup: function (a, b, c) { d.iswindow(this) && (this.onbeforeunload = c) }, teardown: function (a, b) { this.onbeforeunload === b && (this.onbeforeunload = null) } }} }, d.removeevent = c.removeeventlistener ? function (a, b, c) { a.removeeventlistener && a.removeeventlistener(b, c, !1) } : function (a, b, c) { a.detachevent && a.detachevent("on" + b, c) }, d.event = function (a) { if (!this.preventdefault) return new d.event(a); a && a.type ? (this.originalevent = a, this.type = a.type, this.isdefaultprevented = a.defaultprevented || a.returnvalue === !1 || a.getpreventdefault && a.getpreventdefault() ? w : v) : this.type = a, this.timestamp = d.now(), this[d.expando] = !0 }, d.event.prototype = { preventdefault: function () { this.isdefaultprevented = w; var a = this.originalevent; a && (a.preventdefault ? a.preventdefault() : a.returnvalue = !1) }, stoppropagation: function () { this.ispropagationstopped = w; var a = this.originalevent; a && (a.stoppropagation && a.stoppropagation(), a.cancelbubble = !0) }, stopimmediatepropagation: function () { this.isimmediatepropagationstopped = w, this.stoppropagation() }, isdefaultprevented: v, ispropagationstopped: v, isimmediatepropagationstopped: v }; var x = function (a) { var b = a.relatedtarget; try { if (b !== c && !b.parentnode) return; while (b && b !== this) b = b.parentnode; b !== this && (a.type = a.data, d.event.handle.apply(this, arguments)) } catch (e) { } }, y = function (a) { a.type = a.data, d.event.handle.apply(this, arguments) }; d.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function (a, b) { d.event.special[a] = { setup: function (c) { d.event.add(this, b, c && c.selector ? y : x, a) }, teardown: function (a) { d.event.remove(this, b, a && a.selector ? y : x) } } }), d.support.submitbubbles || (d.event.special.submit = { setup: function (a, b) { if (this.nodename && this.nodename.tolowercase() !== "form") d.event.add(this, "click.specialsubmit", function (a) { var b = a.target, c = b.type; (c === "submit" || c === "image") && d(b).closest("form").length && c("submit", this, arguments) }), d.event.add(this, "keypress.specialsubmit", function (a) { var b = a.target, c = b.type; (c === "text" || c === "password") && d(b).closest("form").length && a.keycode === 13 && c("submit", this, arguments) }); else return !1 }, teardown: function (a) { d.event.remove(this, ".specialsubmit") } }); if (!d.support.changebubbles) { var z, a = function (a) { var b = a.type, c = a.value; b === "radio" || b === "checkbox" ? c = a.checked : b === "select-multiple" ? c = a.selectedindex > -1 ? d.map(a.options, function (a) { return a.selected }).join("-") : "" : a.nodename.tolowercase() === "select" && (c = a.selectedindex); return c }, b = function b(a) { var c = a.target, e, f; if (q.test(c.nodename) && !c.readonly) { e = d._data(c, "_change_data"), f = a(c), (a.type !== "focusout" || c.type !== "radio") && d._data(c, "_change_data", f); if (e === b || f === e) return; if (e != null || f) a.type = "change", a.livefired = b, d.event.trigger(a, arguments[1], c) } }; d.event.special.change = { filters: { focusout: b, beforedeactivate: b, click: function (a) { var b = a.target, c = b.type; (c === "radio" || c === "checkbox" || b.nodename.tolowercase() === "select") && b.call(this, a) }, keydown: function (a) { var b = a.target, c = b.type; (a.keycode === 13 && b.nodename.tolowercase() !== "textarea" || a.keycode === 32 && (c === "checkbox" || c === "radio") || c === "select-multiple") && b.call(this, a) }, beforeactivate: function (a) { var b = a.target; d._data(b, "_change_data", a(b)) } }, setup: function (a, b) { if (this.type === "file") return !1; for (var c in z) d.event.add(this, c + ".specialchange", z[c]); return q.test(this.nodename) }, teardown: function (a) { d.event.remove(this, ".specialchange"); return q.test(this.nodename) } }, z = d.event.special.change.filters, z.focus = z.beforeactivate } c.addeventlistener && d.each({ focus: "focusin", blur: "focusout" }, function (a, b) { function c(a) { a = d.event.fix(a), a.type = b; return d.event.handle.call(this, a) } d.event.special[b] = { setup: function () { this.addeventlistener(a, c, !0) }, teardown: function () { this.removeeventlistener(a, c, !0) } } }), d.each(["bind", "one"], function (a, c) { d.fn[c] = function (a, e, f) { if (typeof a === "object") { for (var g in a) this[c](g, e, a[g], f); return this } if (d.isfunction(e) || e === !1) f = e, e = b; var h = c === "one" ? d.proxy(f, function (a) { d(this).unbind(a, h); return f.apply(this, arguments) }) : f; if (a === "unload" && c !== "one") this.one(a, e, f); else for (var i = 0, j = this.length; i < j; i++) d.event.add(this[i], a, h, e); return this } }), d.fn.extend({ unbind: function (a, b) { if (typeof a !== "object" || a.preventdefault) for (var e = 0, f = this.length; e < f; e++) d.event.remove(this[e], a, b); else for (var c in a) this.unbind(c, a[c]); return this }, delegate: function (a, b, c, d) { return this.live(b, c, d, a) }, undelegate: function (a, b, c) { return arguments.length === 0 ? this.unbind("live") : this.die(b, null, c, a) }, trigger: function (a, b) { return this.each(function () { d.event.trigger(a, b, this) }) }, triggerhandler: function (a, b) { if (this[0]) { var c = d.event(a); c.preventdefault(), c.stoppropagation(), d.event.trigger(c, b, this[0]); return c.result } }, toggle: function (a) { var b = arguments, c = 1; while (c < b.length) d.proxy(a, b[c++]); return this.click(d.proxy(a, function (e) { var f = (d._data(this, "lasttoggle" + a.guid) || 0) % c; d._data(this, "lasttoggle" + a.guid, f + 1), e.preventdefault(); return b[f].apply(this, arguments) || !1 })) }, hover: function (a, b) { return this.mouseenter(a).mouseleave(b || a) } }); var d = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" }; d.each(["live", "die"], function (a, c) { d.fn[c] = function (a, e, f, g) { var h, i = 0, j, k, l, m = g || this.selector, n = g ? this : d(this.context); if (typeof a === "object" && !a.preventdefault) { for (var o in a) n[c](o, e, a[o], m); return this } d.isfunction(e) && (f = e, e = b), a = (a || "").split(" "); while ((h = a[i++]) != null) { j = p.exec(h), k = "", j && (k = j[0], h = h.replace(p, "")); if (h === "hover") { a.push("mouseenter" + k, "mouseleave" + k); continue } l = h, h === "focus" || h === "blur" ? (a.push(d[h] + k), h = h + k) : h = (d[h] || h) + k; if (c === "live") for (var q = 0, r = n.length; q < r; q++) d.event.add(n[q], "live." + f(h, m), { data: e, selector: m, handler: f, origtype: h, orighandler: f, pretype: l }); else n.unbind("live." + f(h, m), f) } return this } }), d.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".split(" "), function (a, b) { d.fn[b] = function (a, c) { c == null && (c = a, a = null); return arguments.length > 0 ? this.bind(b, a, c) : this.trigger(b) }, d.attrfn && (d.attrfn[b] = !0) }), function () { function u(a, b, c, d, e, f) { for (var g = 0, h = d.length; g < h; g++) { var i = d[g]; if (i) { var j = !1; i = i[a]; while (i) { if (i.sizcache === c) { j = d[i.sizset]; break } if (i.nodetype === 1) { f || (i.sizcache = c, i.sizset = g); if (typeof b !== "string") { if (i === b) { j = !0; break } } else if (k.filter(b, [i]).length > 0) { j = i; break } } i = i[a] } d[g] = j } } } function t(a, b, c, d, e, f) { for (var g = 0, h = d.length; g < h; g++) { var i = d[g]; if (i) { var j = !1; i = i[a]; while (i) { if (i.sizcache === c) { j = d[i.sizset]; break } i.nodetype === 1 && !f && (i.sizcache = c, i.sizset = g); if (i.nodename.tolowercase() === b) { j = i; break } i = i[a] } d[g] = j } } } var a = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e = 0, f = object.prototype.tostring, g = !1, h = !0, i = /\\/g, j = /\w/; [0, 0].sort(function () { h = !1; return 0 }); var k = function (b, d, e, g) { e = e || [], d = d || c; var h = d; if (d.nodetype !== 1 && d.nodetype !== 9) return []; if (!b || typeof b !== "string") return e; var i, j, n, o, q, r, s, t, u = !0, w = k.isxml(d), x = [], y = b; do { a.exec(""), i = a.exec(y); if (i) { y = i[3], x.push(i[1]); if (i[2]) { o = i[3]; break } } } while (i); if (x.length > 1 && m.exec(b)) if (x.length === 2 && l.relative[x[0]]) j = v(x[0] + x[1], d); else { j = l.relative[x[0]] ? [d] : k(x.shift(), d); while (x.length) b = x.shift(), l.relative[b] && (b += x.shift()), j = v(b, j) } else { !g && x.length > 1 && d.nodetype === 9 && !w && l.match.id.test(x[0]) && !l.match.id.test(x[x.length - 1]) && (q = k.find(x.shift(), d, w), d = q.expr ? k.filter(q.expr, q.set)[0] : q.set[0]); if (d) { q = g ? { expr: x.pop(), set: p(g)} : k.find(x.pop(), x.length === 1 && (x[0] === "~" || x[0] === "+") && d.parentnode ? d.parentnode : d, w), j = q.expr ? k.filter(q.expr, q.set) : q.set, x.length > 0 ? n = p(j) : u = !1; while (x.length) r = x.pop(), s = r, l.relative[r] ? s = x.pop() : r = "", s == null && (s = d), l.relative[r](n, s, w) } else n = x = [] } n || (n = j), n || k.error(r || b); if (f.call(n) === "[object array]") if (u) if (d && d.nodetype === 1) for (t = 0; n[t] != null; t++) n[t] && (n[t] === !0 || n[t].nodetype === 1 && k.contains(d, n[t])) && e.push(j[t]); else for (t = 0; n[t] != null; t++) n[t] && n[t].nodetype === 1 && e.push(j[t]); else e.push.apply(e, n); else p(n, e); o && (k(o, h, e, g), k.uniquesort(e)); return e }; k.uniquesort = function (a) { if (r) { g = h, a.sort(r); if (g) for (var b = 1; b < a.length; b++) a[b] === a[b - 1] && a.splice(b--, 1) } return a }, k.matches = function (a, b) { return k(a, null, null, b) }, k.matchesselector = function (a, b) { return k(b, null, null, [a]).length > 0 }, k.find = function (a, b, c) { var d; if (!a) return []; for (var e = 0, f = l.order.length; e < f; e++) { var g, h = l.order[e]; if (g = l.leftmatch[h].exec(a)) { var j = g[1]; g.splice(1, 1); if (j.substr(j.length - 1) !== "\\") { g[1] = (g[1] || "").replace(i, ""), d = l.find[h](g, b, c); if (d != null) { a = a.replace(l.match[h], ""); break } } } } d || (d = typeof b.getelementsbytagname !== "undefined" ? b.getelementsbytagname("*") : []); return { set: d, expr: a} }, k.filter = function (a, c, d, e) { var f, g, h = a, i = [], j = c, m = c && c[0] && k.isxml(c[0]); while (a && c.length) { for (var n in l.filter) if ((f = l.leftmatch[n].exec(a)) != null && f[2]) { var o, p, q = l.filter[n], r = f[1]; g = !1, f.splice(1, 1); if (r.substr(r.length - 1) === "\\") continue; j === i && (i = []); if (l.prefilter[n]) { f = l.prefilter[n](f, j, d, i, e, m); if (f) { if (f === !0) continue } else g = o = !0 } if (f) for (var s = 0; (p = j[s]) != null; s++) if (p) { o = q(p, f, s, j); var t = e ^ !!o; d && o != null ? t ? g = !0 : j[s] = !1 : t && (i.push(p), g = !0) } if (o !== b) { d || (j = i), a = a.replace(l.match[n], ""); if (!g) return []; break } } if (a === h) if (g == null) k.error(a); else break; h = a } return j }, k.error = function (a) { throw "syntax error, unrecognized expression: " + a }; var l = k.selectors = { order: ["id", "name", "tag"], match: { id: /#((?:[\w\u00c0-\uffff\-]|\\.)+)/, class: /\.((?:[\w\u00c0-\uffff\-]|\\.)+)/, name: /\[name=['"]*((?:[\w\u00c0-\uffff\-]|\\.)+)['"]*\]/, attr: /\[\s*((?:[\w\u00c0-\uffff\-]|\\.)+)\s*(?:(\s?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uffff\-]|\\.)*)|)|)\s*\]/, tag: /^((?:[\w\u00c0-\uffff\*\-]|\\.)+)/, child: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, pos: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, pseudo: /:((?:[\w\u00c0-\uffff\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ }, leftmatch: {}, attrmap: { "class": "classname", "for": "htmlfor" }, attrhandle: { href: function (a) { return a.getattribute("href") }, type: function (a) { return a.getattribute("type") } }, relative: { "+": function (a, b) { var c = typeof b === "string", d = c && !j.test(b), e = c && !d; d && (b = b.tolowercase()); for (var f = 0, g = a.length, h; f < g; f++) if (h = a[f]) { while ((h = h.previoussibling) && h.nodetype !== 1) { } a[f] = e || h && h.nodename.tolowercase() === b ? h || !1 : h === b } e && k.filter(b, a, !0) }, ">": function (a, b) { var c, d = typeof b === "string", e = 0, f = a.length; if (d && !j.test(b)) { b = b.tolowercase(); for (; e < f; e++) { c = a[e]; if (c) { var g = c.parentnode; a[e] = g.nodename.tolowercase() === b ? g : !1 } } } else { for (; e < f; e++) c = a[e], c && (a[e] = d ? c.parentnode : c.parentnode === b); d && k.filter(b, a, !0) } }, "": function (a, b, c) { var d, f = e++, g = u; typeof b === "string" && !j.test(b) && (b = b.tolowercase(), d = b, g = t), g("parentnode", b, f, a, d, c) }, "~": function (a, b, c) { var d, f = e++, g = u; typeof b === "string" && !j.test(b) && (b = b.tolowercase(), d = b, g = t), g("previoussibling", b, f, a, d, c) } }, find: { id: function (a, b, c) { if (typeof b.getelementbyid !== "undefined" && !c) { var d = b.getelementbyid(a[1]); return d && d.parentnode ? [d] : [] } }, name: function (a, b) { if (typeof b.getelementsbyname !== "undefined") { var c = [], d = b.getelementsbyname(a[1]); for (var e = 0, f = d.length; e < f; e++) d[e].getattribute("name") === a[1] && c.push(d[e]); return c.length === 0 ? null : c } }, tag: function (a, b) { if (typeof b.getelementsbytagname !== "undefined") return b.getelementsbytagname(a[1]) } }, prefilter: { class: function (a, b, c, d, e, f) { a = " " + a[1].replace(i, "") + " "; if (f) return a; for (var g = 0, h; (h = b[g]) != null; g++) h && (e ^ (h.classname && (" " + h.classname + " ").replace(/[\t\n\r]/g, " ").indexof(a) >= 0) ? c || d.push(h) : c && (b[g] = !1)); return !1 }, id: function (a) { return a[1].replace(i, "") }, tag: function (a, b) { return a[1].replace(i, "").tolowercase() }, child: function (a) { if (a[1] === "nth") { a[2] || k.error(a[0]), a[2] = a[2].replace(/^\+|\s*/g, ""); var b = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2] === "even" && "2n" || a[2] === "odd" && "2n+1" || !/\d/.test(a[2]) && "0n+" + a[2] || a[2]); a[2] = b[1] + (b[2] || 1) - 0, a[3] = b[3] - 0 } else a[2] && k.error(a[0]); a[0] = e++; return a }, attr: function (a, b, c, d, e, f) { var g = a[1] = a[1].replace(i, ""); !f && l.attrmap[g] && (a[1] = l.attrmap[g]), a[4] = (a[4] || a[5] || "").replace(i, ""), a[2] === "~=" && (a[4] = " " + a[4] + " "); return a }, pseudo: function (b, c, d, e, f) { if (b[1] === "not") if ((a.exec(b[3]) || "").length > 1 || /^\w/.test(b[3])) b[3] = k(b[3], null, null, c); else { var g = k.filter(b[3], c, d, !0 ^ f); d || e.push.apply(e, g); return !1 } else if (l.match.pos.test(b[0]) || l.match.child.test(b[0])) return !0; return b }, pos: function (a) { a.unshift(!0); return a } }, filters: { enabled: function (a) { return a.disabled === !1 && a.type !== "hidden" }, disabled: function (a) { return a.disabled === !0 }, checked: function (a) { return a.checked === !0 }, selected: function (a) { a.parentnode && a.parentnode.selectedindex; return a.selected === !0 }, parent: function (a) { return !!a.firstchild }, empty: function (a) { return !a.firstchild }, has: function (a, b, c) { return !!k(c[3], a).length }, header: function (a) { return /h\d/i.test(a.nodename) }, text: function (a) { return "text" === a.getattribute("type") }, radio: function (a) { return "radio" === a.type }, checkbox: function (a) { return "checkbox" === a.type }, file: function (a) { return "file" === a.type }, password: function (a) { return "password" === a.type }, submit: function (a) { return "submit" === a.type }, image: function (a) { return "image" === a.type }, reset: function (a) { return "reset" === a.type }, button: function (a) { return "button" === a.type || a.nodename.tolowercase() === "button" }, input: function (a) { return /input|select|textarea|button/i.test(a.nodename) } }, setfilters: { first: function (a, b) { return b === 0 }, last: function (a, b, c, d) { return b === d.length - 1 }, even: function (a, b) { return b % 2 === 0 }, odd: function (a, b) { return b % 2 === 1 }, lt: function (a, b, c) { return b < c[3] - 0 }, gt: function (a, b, c) { return b > c[3] - 0 }, nth: function (a, b, c) { return c[3] - 0 === b }, eq: function (a, b, c) { return c[3] - 0 === b } }, filter: { pseudo: function (a, b, c, d) { var e = b[1], f = l.filters[e]; if (f) return f(a, c, b, d); if (e === "contains") return (a.textcontent || a.innertext || k.gettext([a]) || "").indexof(b[3]) >= 0; if (e === "not") { var g = b[3]; for (var h = 0, i = g.length; h < i; h++) if (g[h] === a) return !1; return !0 } k.error(e) }, child: function (a, b) { var c = b[1], d = a; switch (c) { case "only": case "first": while (d = d.previoussibling) if (d.nodetype === 1) return !1; if (c === "first") return !0; d = a; case "last": while (d = d.nextsibling) if (d.nodetype === 1) return !1; return !0; case "nth": var e = b[2], f = b[3]; if (e === 1 && f === 0) return !0; var g = b[0], h = a.parentnode; if (h && (h.sizcache !== g || !a.nodeindex)) { var i = 0; for (d = h.firstchild; d; d = d.nextsibling) d.nodetype === 1 && (d.nodeindex = ++i); h.sizcache = g } var j = a.nodeindex - f; return e === 0 ? j === 0 : j % e === 0 && j / e >= 0 } }, id: function (a, b) { return a.nodetype === 1 && a.getattribute("id") === b }, tag: function (a, b) { return b === "*" && a.nodetype === 1 || a.nodename.tolowercase() === b }, class: function (a, b) { return (" " + (a.classname || a.getattribute("class")) + " ").indexof(b) > -1 }, attr: function (a, b) { var c = b[1], d = l.attrhandle[c] ? l.attrhandle[c](a) : a[c] != null ? a[c] : a.getattribute(c), e = d + "", f = b[2], g = b[4]; return d == null ? f === "!=" : f === "=" ? e === g : f === "*=" ? e.indexof(g) >= 0 : f === "~=" ? (" " + e + " ").indexof(g) >= 0 : g ? f === "!=" ? e !== g : f === "^=" ? e.indexof(g) === 0 : f === "$=" ? e.substr(e.length - g.length) === g : f === "|=" ? e === g || e.substr(0, g.length + 1) === g + "-" : !1 : e && d !== !1 }, pos: function (a, b, c, d) { var e = b[2], f = l.setfilters[e]; if (f) return f(a, c, b, d) } } }, m = l.match.pos, n = function (a, b) { return "\\" + (b - 0 + 1) }; for (var o in l.match) l.match[o] = new regexp(l.match[o].source + /(?![^\[]*\])(?![^\(]*\))/.source), l.leftmatch[o] = new regexp(/(^(?:.|\r|\n)*?)/.source + l.match[o].source.replace(/\\(\d+)/g, n)); var p = function (a, b) { a = array.prototype.slice.call(a, 0); if (b) { b.push.apply(b, a); return b } return a }; try { array.prototype.slice.call(c.documentelement.childnodes, 0)[0].nodetype } catch (q) { p = function (a, b) { var c = 0, d = b || []; if (f.call(a) === "[object array]") array.prototype.push.apply(d, a); else if (typeof a.length === "number") for (var e = a.length; c < e; c++) d.push(a[c]); else for (; a[c]; c++) d.push(a[c]); return d } } var r, s; c.documentelement.comparedocumentposition ? r = function (a, b) { if (a === b) { g = !0; return 0 } if (!a.comparedocumentposition || !b.comparedocumentposition) return a.comparedocumentposition ? -1 : 1; return a.comparedocumentposition(b) & 4 ? -1 : 1 } : (r = function (a, b) { var c, d, e = [], f = [], h = a.parentnode, i = b.parentnode, j = h; if (a === b) { g = !0; return 0 } if (h === i) return s(a, b); if (!h) return -1; if (!i) return 1; while (j) e.unshift(j), j = j.parentnode; j = i; while (j) f.unshift(j), j = j.parentnode; c = e.length, d = f.length; for (var k = 0; k < c && k < d; k++) if (e[k] !== f[k]) return s(e[k], f[k]); return k === c ? s(a, f[k], -1) : s(e[k], b, 1) }, s = function (a, b, c) { if (a === b) return c; var d = a.nextsibling; while (d) { if (d === b) return -1; d = d.nextsibling } return 1 }), k.gettext = function (a) { var b = "", c; for (var d = 0; a[d]; d++) c = a[d], c.nodetype === 3 || c.nodetype === 4 ? b += c.nodevalue : c.nodetype !== 8 && (b += k.gettext(c.childnodes)); return b }, function () { var a = c.createelement("div"), d = "script" + (new date).gettime(), e = c.documentelement; a.innerhtml = "", e.insertbefore(a, e.firstchild), c.getelementbyid(d) && (l.find.id = function (a, c, d) { if (typeof c.getelementbyid !== "undefined" && !d) { var e = c.getelementbyid(a[1]); return e ? e.id === a[1] || typeof e.getattributenode !== "undefined" && e.getattributenode("id").nodevalue === a[1] ? [e] : b : [] } }, l.filter.id = function (a, b) { var c = typeof a.getattributenode !== "undefined" && a.getattributenode("id"); return a.nodetype === 1 && c && c.nodevalue === b }), e.removechild(a), e = a = null } (), function () { var a = c.createelement("div"); a.appendchild(c.createcomment("")), a.getelementsbytagname("*").length > 0 && (l.find.tag = function (a, b) { var c = b.getelementsbytagname(a[1]); if (a[1] === "*") { var d = []; for (var e = 0; c[e]; e++) c[e].nodetype === 1 && d.push(c[e]); c = d } return c }), a.innerhtml = "", a.firstchild && typeof a.firstchild.getattribute !== "undefined" && a.firstchild.getattribute("href") !== "#" && (l.attrhandle.href = function (a) { return a.getattribute("href", 2) }), a = null } (), c.queryselectorall && function () { var a = k, b = c.createelement("div"), d = "__sizzle__"; b.innerhtml = "

"; if (!b.queryselectorall || b.queryselectorall(".test").length !== 0) { k = function (b, e, f, g) { e = e || c; if (!g && !k.isxml(e)) { var h = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b); if (h && (e.nodetype === 1 || e.nodetype === 9)) { if (h[1]) return p(e.getelementsbytagname(b), f); if (h[2] && l.find.class && e.getelementsbyclassname) return p(e.getelementsbyclassname(h[2]), f) } if (e.nodetype === 9) { if (b === "body" && e.body) return p([e.body], f); if (h && h[3]) { var i = e.getelementbyid(h[3]); if (!i || !i.parentnode) return p([], f); if (i.id === h[3]) return p([i], f) } try { return p(e.queryselectorall(b), f) } catch (j) { } } else if (e.nodetype === 1 && e.nodename.tolowercase() !== "object") { var m = e, n = e.getattribute("id"), o = n || d, q = e.parentnode, r = /^\s*[+~]/.test(b); n ? o = o.replace(/'/g, "\\$&") : e.setattribute("id", o), r && q && (e = e.parentnode); try { if (!r || q) return p(e.queryselectorall("[id='" + o + "'] " + b), f) } catch (s) { } finally { n || m.removeattribute("id") } } } return a(b, e, f, g) }; for (var e in a) k[e] = a[e]; b = null } } (), function () { var a = c.documentelement, b = a.matchesselector || a.mozmatchesselector || a.webkitmatchesselector || a.msmatchesselector, d = !1; try { b.call(c.documentelement, "[test!='']:sizzle") } catch (e) { d = !0 } b && (k.matchesselector = function (a, c) { c = c.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); if (!k.isxml(a)) try { if (d || !l.match.pseudo.test(c) && !/!=/.test(c)) return b.call(a, c) } catch (e) { } return k(c, null, null, [a]).length > 0 }) } (), function () { var a = c.createelement("div"); a.innerhtml = "
"; if (a.getelementsbyclassname && a.getelementsbyclassname("e").length !== 0) { a.lastchild.classname = "e"; if (a.getelementsbyclassname("e").length === 1) return; l.order.splice(1, 0, "class"), l.find.class = function (a, b, c) { if (typeof b.getelementsbyclassname !== "undefined" && !c) return b.getelementsbyclassname(a[1]) }, a = null } } (), c.documentelement.contains ? k.contains = function (a, b) { return a !== b && (a.contains ? a.contains(b) : !0) } : c.documentelement.comparedocumentposition ? k.contains = function (a, b) { return !!(a.comparedocumentposition(b) & 16) } : k.contains = function () { return !1 }, k.isxml = function (a) { var b = (a ? a.ownerdocument || a : 0).documentelement; return b ? b.nodename !== "html" : !1 }; var v = function (a, b) { var c, d = [], e = "", f = b.nodetype ? [b] : b; while (c = l.match.pseudo.exec(a)) e += c[0], a = a.replace(l.match.pseudo, ""); a = l.relative[a] ? a + "*" : a; for (var g = 0, h = f.length; g < h; g++) k(a, f[g], d); return k.filter(e, d) }; d.find = k, d.expr = k.selectors, d.expr[":"] = d.expr.filters, d.unique = k.uniquesort, d.text = k.gettext, d.isxmldoc = k.isxml, d.contains = k.contains } (); var g = /until$/, h = /^(?:parents|prevuntil|prevall)/, i = /,/, j = /^.[^:#\[\.,]*$/, k = array.prototype.slice, l = d.expr.match.pos, m = { children: !0, contents: !0, next: !0, prev: !0 }; d.fn.extend({ find: function (a) { var b = this.pushstack("", "find", a), c = 0; for (var e = 0, f = this.length; e < f; e++) { c = b.length, d.find(a, this[e], b); if (e > 0) for (var g = c; g < b.length; g++) for (var h = 0; h < c; h++) if (b[h] === b[g]) { b.splice(g--, 1); break } } return b }, has: function (a) { var b = d(a); return this.filter(function () { for (var a = 0, c = b.length; a < c; a++) if (d.contains(this, b[a])) return !0 }) }, not: function (a) { return this.pushstack(o(this, a, !1), "not", a) }, filter: function (a) { return this.pushstack(o(this, a, !0), "filter", a) }, is: function (a) { return !!a && d.filter(a, this).length > 0 }, closest: function (a, b) { var c = [], e, f, g = this[0]; if (d.isarray(a)) { var h, i, j = {}, k = 1; if (g && a.length) { for (e = 0, f = a.length; e < f; e++) i = a[e], j[i] || (j[i] = d.expr.match.pos.test(i) ? d(i, b || this.context) : i); while (g && g.ownerdocument && g !== b) { for (i in j) h = j[i], (h.jquery ? h.index(g) > -1 : d(g).is(h)) && c.push({ selector: i, elem: g, level: k }); g = g.parentnode, k++ } } return c } var l = l.test(a) ? d(a, b || this.context) : null; for (e = 0, f = this.length; e < f; e++) { g = this[e]; while (g) { if (l ? l.index(g) > -1 : d.find.matchesselector(g, a)) { c.push(g); break } g = g.parentnode; if (!g || !g.ownerdocument || g === b) break } } c = c.length > 1 ? d.unique(c) : c; return this.pushstack(c, "closest", a) }, index: function (a) { if (!a || typeof a === "string") return d.inarray(this[0], a ? d(a) : this.parent().children()); return d.inarray(a.jquery ? a[0] : a, this) }, add: function (a, b) { var c = typeof a === "string" ? d(a, b) : d.makearray(a), e = d.merge(this.get(), c); return this.pushstack(n(c[0]) || n(e[0]) ? e : d.unique(e)) }, andself: function () { return this.add(this.prevobject) } }), d.each({ parent: function (a) { var b = a.parentnode; return b && b.nodetype !== 11 ? b : null }, parents: function (a) { return d.dir(a, "parentnode") }, parentsuntil: function (a, b, c) { return d.dir(a, "parentnode", c) }, next: function (a) { return d.nth(a, 2, "nextsibling") }, prev: function (a) { return d.nth(a, 2, "previoussibling") }, nextall: function (a) { return d.dir(a, "nextsibling") }, prevall: function (a) { return d.dir(a, "previoussibling") }, nextuntil: function (a, b, c) { return d.dir(a, "nextsibling", c) }, prevuntil: function (a, b, c) { return d.dir(a, "previoussibling", c) }, siblings: function (a) { return d.sibling(a.parentnode.firstchild, a) }, children: function (a) { return d.sibling(a.firstchild) }, contents: function (a) { return d.nodename(a, "iframe") ? a.contentdocument || a.contentwindow.document : d.makearray(a.childnodes) } }, function (a, b) { d.fn[a] = function (c, e) { var f = d.map(this, b, c), g = k.call(arguments); g.test(a) || (e = c), e && typeof e === "string" && (f = d.filter(e, f)), f = this.length > 1 && !m[a] ? d.unique(f) : f, (this.length > 1 || i.test(e)) && h.test(a) && (f = f.reverse()); return this.pushstack(f, a, g.join(",")) } }), d.extend({ filter: function (a, b, c) { c && (a = ":not(" + a + ")"); return b.length === 1 ? d.find.matchesselector(b[0], a) ? [b[0]] : [] : d.find.matches(a, b) }, dir: function (a, c, e) { var f = [], g = a[c]; while (g && g.nodetype !== 9 && (e === b || g.nodetype !== 1 || !d(g).is(e))) g.nodetype === 1 && f.push(g), g = g[c]; return f }, nth: function (a, b, c, d) { b = b || 1; var e = 0; for (; a; a = a[c]) if (a.nodetype === 1 && ++e === b) break; return a }, sibling: function (a, b) { var c = []; for (; a; a = a.nextsibling) a.nodetype === 1 && a !== b && c.push(a); return c } }); var p = / jquery\d+="(?:\d+|null)"/g, q = /^\s+/, r = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, s = /<([\w:]+)/, t = /", ""], legend: [1, "
", "
"], thead: [1, "", "
"], tr: [2, "", "
"], td: [3, "", "
"], col: [2, "", "
"], area: [1, "", ""], _default: [0, "", ""] }; x.optgroup = x.option, x.tbody = x.tfoot = x.colgroup = x.caption = x.thead, x.th = x.td, d.support.htmlserialize || (x._default = [1, "div
", "
"]), d.fn.extend({ text: function (a) { if (d.isfunction(a)) return this.each(function (b) { var c = d(this); c.text(a.call(this, b, c.text())) }); if (typeof a !== "object" && a !== b) return this.empty().append((this[0] && this[0].ownerdocument || c).createtextnode(a)); return d.text(this) }, wrapall: function (a) { if (d.isfunction(a)) return this.each(function (b) { d(this).wrapall(a.call(this, b)) }); if (this[0]) { var b = d(a, this[0].ownerdocument).eq(0).clone(!0); this[0].parentnode && b.insertbefore(this[0]), b.map(function () { var a = this; while (a.firstchild && a.firstchild.nodetype === 1) a = a.firstchild; return a }).append(this) } return this }, wrapinner: function (a) { if (d.isfunction(a)) return this.each(function (b) { d(this).wrapinner(a.call(this, b)) }); return this.each(function () { var b = d(this), c = b.contents(); c.length ? c.wrapall(a) : b.append(a) }) }, wrap: function (a) { return this.each(function () { d(this).wrapall(a) }) }, unwrap: function () { return this.parent().each(function () { d.nodename(this, "body") || d(this).replacewith(this.childnodes) }).end() }, append: function () { return this.dommanip(arguments, !0, function (a) { this.nodetype === 1 && this.appendchild(a) }) }, prepend: function () { return this.dommanip(arguments, !0, function (a) { this.nodetype === 1 && this.insertbefore(a, this.firstchild) }) }, before: function () { if (this[0] && this[0].parentnode) return this.dommanip(arguments, !1, function (a) { this.parentnode.insertbefore(a, this) }); if (arguments.length) { var a = d(arguments[0]); a.push.apply(a, this.toarray()); return this.pushstack(a, "before", arguments) } }, after: function () { if (this[0] && this[0].parentnode) return this.dommanip(arguments, !1, function (a) { this.parentnode.insertbefore(a, this.nextsibling) }); if (arguments.length) { var a = this.pushstack(this, "after", arguments); a.push.apply(a, d(arguments[0]).toarray()); return a } }, remove: function (a, b) { for (var c = 0, e; (e = this[c]) != null; c++) if (!a || d.filter(a, [e]).length) !b && e.nodetype === 1 && (d.cleandata(e.getelementsbytagname("*")), d.cleandata([e])), e.parentnode && e.parentnode.removechild(e); return this }, empty: function () { for (var a = 0, b; (b = this[a]) != null; a++) { b.nodetype === 1 && d.cleandata(b.getelementsbytagname("*")); while (b.firstchild) b.removechild(b.firstchild) } return this }, clone: function (a, b) { a = a == null ? !1 : a, b = b == null ? a : b; return this.map(function () { return d.clone(this, a, b) }) }, html: function (a) { if (a === b) return this[0] && this[0].nodetype === 1 ? this[0].innerhtml.replace(p, "") : null; if (typeof a !== "string" || v.test(a) || !d.support.leadingwhitespace && q.test(a) || x[(s.exec(a) || ["", ""])[1].tolowercase()]) d.isfunction(a) ? this.each(function (b) { var c = d(this); c.html(a.call(this, b, c.html())) }) : this.empty().append(a); else { a = a.replace(r, "<$1>"); try { for (var c = 0, e = this.length; c < e; c++) this[c].nodetype === 1 && (d.cleandata(this[c].getelementsbytagname("*")), this[c].innerhtml = a) } catch (f) { this.empty().append(a) } } return this }, replacewith: function (a) { if (this[0] && this[0].parentnode) { if (d.isfunction(a)) return this.each(function (b) { var c = d(this), e = c.html(); c.replacewith(a.call(this, b, e)) }); typeof a !== "string" && (a = d(a).detach()); return this.each(function () { var b = this.nextsibling, c = this.parentnode; d(this).remove(), b ? d(b).before(a) : d(c).append(a) }) } return this.pushstack(d(d.isfunction(a) ? a() : a), "replacewith", a) }, detach: function (a) { return this.remove(a, !0) }, dommanip: function (a, c, e) { var f, g, h, i, j = a[0], k = []; if (!d.support.checkclone && arguments.length === 3 && typeof j === "string" && w.test(j)) return this.each(function () { d(this).dommanip(a, c, e, !0) }); if (d.isfunction(j)) return this.each(function (f) { var g = d(this); a[0] = j.call(this, f, c ? g.html() : b), g.dommanip(a, c, e) }); if (this[0]) { i = j && j.parentnode, d.support.parentnode && i && i.nodetype === 11 && i.childnodes.length === this.length ? f = { fragment: i} : f = d.buildfragment(a, this, k), h = f.fragment, h.childnodes.length === 1 ? g = h = h.firstchild : g = h.firstchild; if (g) { c = c && d.nodename(g, "tr"); for (var l = 0, m = this.length, n = m - 1; l < m; l++) e.call(c ? y(this[l], g) : this[l], f.cacheable || m > 1 && l < n ? d.clone(h, !0, !0) : h) } k.length && d.each(k, ba) } return this } }), d.buildfragment = function (a, b, e) { var f, g, h, i = b && b[0] ? b[0].ownerdocument || b[0] : c; a.length === 1 && typeof a[0] === "string" && a[0].length < 512 && i === c && a[0].charat(0) === "<" && !v.test(a[0]) && (d.support.checkclone || !w.test(a[0])) && (g = !0, h = d.fragments[a[0]], h && (h !== 1 && (f = h))), f || (f = i.createdocumentfragment(), d.clean(a, i, f, e)), g && (d.fragments[a[0]] = h ? f : 1); return { fragment: f, cacheable: g} }, d.fragments = {}, d.each({ appendto: "append", prependto: "prepend", insertbefore: "before", insertafter: "after", replaceall: "replacewith" }, function (a, b) { d.fn[a] = function (c) { var e = [], f = d(c), g = this.length === 1 && this[0].parentnode; if (g && g.nodetype === 11 && g.childnodes.length === 1 && f.length === 1) { f[b](this[0]); return this } for (var h = 0, i = f.length; h < i; h++) { var j = (h > 0 ? this.clone(!0) : this).get(); d(f[h])[b](j), e = e.concat(j) } return this.pushstack(e, a, f.selector) } }), d.extend({ clone: function (a, b, c) { var e = a.clonenode(!0), f, g, h; if ((!d.support.nocloneevent || !d.support.noclonechecked) && (a.nodetype === 1 || a.nodetype === 11) && !d.isxmldoc(a)) { $(a, e), f = _(a), g = _(e); for (h = 0; f[h]; ++h) $(f[h], g[h]) } if (b) { z(a, e); if (c) { f = _(a), g = _(e); for (h = 0; f[h]; ++h) z(f[h], g[h]) } } return e }, clean: function (a, b, e, f) { b = b || c, typeof b.createelement === "undefined" && (b = b.ownerdocument || b[0] && b[0].ownerdocument || c); var g = []; for (var h = 0, i; (i = a[h]) != null; h++) { typeof i === "number" && (i += ""); if (!i) continue; if (typeof i !== "string" || u.test(i)) { if (typeof i === "string") { i = i.replace(r, "<$1>"); var j = (s.exec(i) || ["", ""])[1].tolowercase(), k = x[j] || x._default, l = k[0], m = b.createelement("div"); m.innerhtml = k[1] + i + k[2]; while (l--) m = m.lastchild; if (!d.support.tbody) { var n = t.test(i), o = j === "table" && !n ? m.firstchild && m.firstchild.childnodes : k[1] === "" && !n ? m.childnodes : []; for (var p = o.length - 1; p >= 0; --p) d.nodename(o[p], "tbody") && !o[p].childnodes.length && o[p].parentnode.removechild(o[p]) } !d.support.leadingwhitespace && q.test(i) && m.insertbefore(b.createtextnode(q.exec(i)[0]), m.firstchild), i = m.childnodes } } else i = b.createtextnode(i); i.nodetype ? g.push(i) : g = d.merge(g, i) } if (e) for (h = 0; g[h]; h++) !f || !d.nodename(g[h], "script") || g[h].type && g[h].type.tolowercase() !== "text/javascript" ? (g[h].nodetype === 1 && g.splice.apply(g, [h + 1, 0].concat(d.makearray(g[h].getelementsbytagname("script")))), e.appendchild(g[h])) : f.push(g[h].parentnode ? g[h].parentnode.removechild(g[h]) : g[h]); return g }, cleandata: function (a) { var b, c, e = d.cache, f = d.expando, g = d.event.special, h = d.support.deleteexpando; for (var i = 0, j; (j = a[i]) != null; i++) { if (j.nodename && d.nodata[j.nodename.tolowercase()]) continue; c = j[d.expando]; if (c) { b = e[c] && e[c][f]; if (b && b.events) { for (var k in b.events) g[k] ? d.event.remove(j, k) : d.removeevent(j, k, b.handle); b.handle && (b.handle.elem = null) } h ? delete j[d.expando] : j.removeattribute && j.removeattribute(d.expando), delete e[c] } } } }); var bb = /alpha\([^)]*\)/i, bc = /opacity=([^)]*)/, bd = /-([a-z])/ig, be = /([a-z])/g, bf = /^-?\d+(?:px)?$/i, bg = /^-?\d/, bh = { position: "absolute", visibility: "hidden", display: "block" }, bi = ["left", "right"], bj = ["top", "bottom"], bk, bl, bm, bn = function (a, b) { return b.touppercase() }; d.fn.css = function (a, c) { if (arguments.length === 2 && c === b) return this; return d.access(this, a, c, !0, function (a, c, e) { return e !== b ? d.style(a, c, e) : d.css(a, c) }) }, d.extend({ csshooks: { opacity: { get: function (a, b) { if (b) { var c = bk(a, "opacity", "opacity"); return c === "" ? "1" : c } return a.style.opacity } } }, cssnumber: { zindex: !0, fontweight: !0, opacity: !0, zoom: !0, lineheight: !0 }, cssprops: { "float": d.support.cssfloat ? "cssfloat" : "stylefloat" }, style: function (a, c, e, f) { if (a && a.nodetype !== 3 && a.nodetype !== 8 && a.style) { var g, h = d.camelcase(c), i = a.style, j = d.csshooks[h]; c = d.cssprops[h] || h; if (e === b) { if (j && "get" in j && (g = j.get(a, !1, f)) !== b) return g; return i[c] } if (typeof e === "number" && isnan(e) || e == null) return; typeof e === "number" && !d.cssnumber[h] && (e += "px"); if (!j || !("set" in j) || (e = j.set(a, e)) !== b) try { i[c] = e } catch (k) { } } }, css: function (a, c, e) { var f, g = d.camelcase(c), h = d.csshooks[g]; c = d.cssprops[g] || g; if (h && "get" in h && (f = h.get(a, !0, e)) !== b) return f; if (bk) return bk(a, c, g) }, swap: function (a, b, c) { var d = {}; for (var e in b) d[e] = a.style[e], a.style[e] = b[e]; c.call(a); for (e in b) a.style[e] = d[e] }, camelcase: function (a) { return a.replace(bd, bn) } }), d.curcss = d.css, d.each(["height", "width"], function (a, b) { d.csshooks[b] = { get: function (a, c, e) { var f; if (c) { a.offsetwidth !== 0 ? f = bo(a, b, e) : d.swap(a, bh, function () { f = bo(a, b, e) }); if (f <= 0) { f = bk(a, b, b), f === "0px" && bm && (f = bm(a, b, b)); if (f != null) return f === "" || f === "auto" ? "0px" : f } if (f < 0 || f == null) { f = a.style[b]; return f === "" || f === "auto" ? "0px" : f } return typeof f === "string" ? f : f + "px" } }, set: function (a, b) { if (!bf.test(b)) return b; b = parsefloat(b); if (b >= 0) return b + "px" } } }), d.support.opacity || (d.csshooks.opacity = { get: function (a, b) { return bc.test((b && a.currentstyle ? a.currentstyle.filter : a.style.filter) || "") ? parsefloat(regexp.$1) / 100 + "" : b ? "1" : "" }, set: function (a, b) { var c = a.style; c.zoom = 1; var e = d.isnan(b) ? "" : "alpha(opacity=" + b * 100 + ")", f = c.filter || ""; c.filter = bb.test(f) ? f.replace(bb, e) : c.filter + " " + e } }), c.defaultview && c.defaultview.getcomputedstyle && (bl = function (a, c, e) { var f, g, h; e = e.replace(be, "-$1").tolowercase(); if (!(g = a.ownerdocument.defaultview)) return b; if (h = g.getcomputedstyle(a, null)) f = h.getpropertyvalue(e), f === "" && !d.contains(a.ownerdocument.documentelement, a) && (f = d.style(a, e)); return f }), c.documentelement.currentstyle && (bm = function (a, b) { var c, d = a.currentstyle && a.currentstyle[b], e = a.runtimestyle && a.runtimestyle[b], f = a.style; !bf.test(d) && bg.test(d) && (c = f.left, e && (a.runtimestyle.left = a.currentstyle.left), f.left = b === "fontsize" ? "1em" : d || 0, d = f.pixelleft + "px", f.left = c, e && (a.runtimestyle.left = e)); return d === "" ? "auto" : d }), bk = bl || bm, d.expr && d.expr.filters && (d.expr.filters.hidden = function (a) { var b = a.offsetwidth, c = a.offsetheight; return b === 0 && c === 0 || !d.support.reliablehiddenoffsets && (a.style.display || d.css(a, "display")) === "none" }, d.expr.filters.visible = function (a) { return !d.expr.filters.hidden(a) }); var bp = /%20/g, bq = /\[\]$/, br = /\r?\n/g, bs = /#.*$/, bt = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, bu = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, bv = /(?:^file|^widget|\-extension):$/, bw = /^(?:get|head)$/, bx = /^\/\//, by = /\?/, bz = /)<[^<]*)*<\/script>/gi, ba = /^(?:select|textarea)/i, bb = /\s+/, bc = /([?&])_=[^&]*/, bd = /(^|\-)([a-z])/g, be = function (a, b, c) { return b + c.touppercase() }, bf = /^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/, bg = d.fn.load, bh = {}, bi = {}, bj, bk; try { bj = c.location.href } catch (bl) { bj = c.createelement("a"), bj.href = "", bj = bj.href } bk = bf.exec(bj.tolowercase()), d.fn.extend({ load: function (a, c, e) { if (typeof a !== "string" && bg) return bg.apply(this, arguments); if (!this.length) return this; var f = a.indexof(" "); if (f >= 0) { var g = a.slice(f, a.length); a = a.slice(0, f) } var h = "get"; c && (d.isfunction(c) ? (e = c, c = b) : typeof c === "object" && (c = d.param(c, d.ajaxsettings.traditional), h = "post")); var i = this; d.ajax({ url: a, type: h, datatype: "html", data: c, complete: function (a, b, c) { c = a.responsetext, a.isresolved() && (a.done(function (a) { c = a }), i.html(g ? d("
").append(c.replace(bz, "")).find(g) : c)), e && i.each(e, [c, b, a]) } }); return this }, serialize: function () { return d.param(this.serializearray()) }, serializearray: function () { return this.map(function () { return this.elements ? d.makearray(this.elements) : this }).filter(function () { return this.name && !this.disabled && (this.checked || ba.test(this.nodename) || bu.test(this.type)) }).map(function (a, b) { var c = d(this).val(); return c == null ? null : d.isarray(c) ? d.map(c, function (a, c) { return { name: b.name, value: a.replace(br, "\r\n")} }) : { name: b.name, value: c.replace(br, "\r\n")} }).get() } }), d.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "), function (a, b) { d.fn[b] = function (a) { return this.bind(b, a) } }), d.each(["get", "post"], function (a, c) { d[c] = function (a, e, f, g) { d.isfunction(e) && (g = g || f, f = e, e = b); return d.ajax({ type: c, url: a, data: e, success: f, datatype: g }) } }), d.extend({ getscript: function (a, c) { return d.get(a, b, c, "script") }, getjson: function (a, b, c) { return d.get(a, b, c, "json") }, ajaxsetup: function (a, b) { b ? d.extend(!0, a, d.ajaxsettings, b) : (b = a, a = d.extend(!0, d.ajaxsettings, b)); for (var c in { context: 1, url: 1 }) c in b ? a[c] = b[c] : c in d.ajaxsettings && (a[c] = d.ajaxsettings[c]); return a }, ajaxsettings: { url: bj, islocal: bv.test(bk[1]), global: !0, type: "get", contenttype: "application/x-www-form-urlencoded", processdata: !0, async: !0, accepts: { xml: "application/xml, text/xml", html: "text/html", text: "text/plain", json: "application/json, text/javascript", "*": "*/*" }, contents: { xml: /xml/, html: /html/, json: /json/ }, responsefields: { xml: "responsexml", text: "responsetext" }, converters: { "* text": a.string, "text html": !0, "text json": d.parsejson, "text xml": d.parsexml} }, ajaxprefilter: bm(bh), ajaxtransport: bm(bi), ajax: function (a, c) { function v(a, c, l, n) { if (r !== 2) { r = 2, p && cleartimeout(p), o = b, m = n || "", u.readystate = a ? 4 : 0; var q, t, v, w = l ? bp(e, u, l) : b, x, y; if (a >= 200 && a < 300 || a === 304) { if (e.ifmodified) { if (x = u.getresponseheader("last-modified")) d.lastmodified[k] = x; if (y = u.getresponseheader("etag")) d.etag[k] = y } if (a === 304) c = "notmodified", q = !0; else try { t = bq(e, w), c = "success", q = !0 } catch (z) { c = "parsererror", v = z } } else { v = c; if (!c || a) c = "error", a < 0 && (a = 0) } u.status = a, u.statustext = c, q ? h.resolvewith(f, [t, c, u]) : h.rejectwith(f, [u, c, v]), u.statuscode(j), j = b, s && g.trigger("ajax" + (q ? "success" : "error"), [u, e, q ? t : v]), i.resolvewith(f, [u, c]), s && (g.trigger("ajaxcomplete", [u, e]), --d.active || d.event.trigger("ajaxstop")) } } typeof a === "object" && (c = a, a = b), c = c || {}; var e = d.ajaxsetup({}, c), f = e.context || e, g = f !== e && (f.nodetype || f instanceof d) ? d(f) : d.event, h = d.deferred(), i = d._deferred(), j = e.statuscode || {}, k, l = {}, m, n, o, p, q, r = 0, s, t, u = { readystate: 0, setrequestheader: function (a, b) { r || (l[a.tolowercase().replace(bd, be)] = b); return this }, getallresponseheaders: function () { return r === 2 ? m : null }, getresponseheader: function (a) { var c; if (r === 2) { if (!n) { n = {}; while (c = bt.exec(m)) n[c[1].tolowercase()] = c[2] } c = n[a.tolowercase()] } return c === b ? null : c }, overridemimetype: function (a) { r || (e.mimetype = a); return this }, abort: function (a) { a = a || "abort", o && o.abort(a), v(0, a); return this } }; h.promise(u), u.success = u.done, u.error = u.fail, u.complete = i.done, u.statuscode = function (a) { if (a) { var b; if (r < 2) for (b in a) j[b] = [j[b], a[b]]; else b = a[u.status], u.then(b, b) } return this }, e.url = ((a || e.url) + "").replace(bs, "").replace(bx, bk[1] + "//"), e.datatypes = d.trim(e.datatype || "*").tolowercase().split(bb), e.crossdomain || (q = bf.exec(e.url.tolowercase()), e.crossdomain = q && (q[1] != bk[1] || q[2] != bk[2] || (q[3] || (q[1] === "http:" ? 80 : 443)) != (bk[3] || (bk[1] === "http:" ? 80 : 443)))), e.data && e.processdata && typeof e.data !== "string" && (e.data = d.param(e.data, e.traditional)), bn(bh, e, c, u); if (r === 2) return !1; s = e.global, e.type = e.type.touppercase(), e.hascontent = !bw.test(e.type), s && d.active++ === 0 && d.event.trigger("ajaxstart"); if (!e.hascontent) { e.data && (e.url += (by.test(e.url) ? "&" : "?") + e.data), k = e.url; if (e.cache === !1) { var w = d.now(), x = e.url.replace(bc, "$1_=" + w); e.url = x + (x === e.url ? (by.test(e.url) ? "&" : "?") + "_=" + w : "") } } if (e.data && e.hascontent && e.contenttype !== !1 || c.contenttype) l["content-type"] = e.contenttype; e.ifmodified && (k = k || e.url, d.lastmodified[k] && (l["if-modified-since"] = d.lastmodified[k]), d.etag[k] && (l["if-none-match"] = d.etag[k])), l.accept = e.datatypes[0] && e.accepts[e.datatypes[0]] ? e.accepts[e.datatypes[0]] + (e.datatypes[0] !== "*" ? ", */*; q=0.01" : "") : e.accepts["*"]; for (t in e.headers) u.setrequestheader(t, e.headers[t]); if (e.beforesend && (e.beforesend.call(f, u, e) === !1 || r === 2)) { u.abort(); return !1 } for (t in { success: 1, error: 1, complete: 1 }) u[t](e[t]); o = bn(bi, e, c, u); if (o) { u.readystate = 1, s && g.trigger("ajaxsend", [u, e]), e.async && e.timeout > 0 && (p = settimeout(function () { u.abort("timeout") }, e.timeout)); try { r = 1, o.send(l, v) } catch (y) { status < 2 ? v(-1, y) : d.error(y) } } else v(-1, "no transport"); return u }, param: function (a, c) { var e = [], f = function (a, b) { b = d.isfunction(b) ? b() : b, e[e.length] = encodeuricomponent(a) + "=" + encodeuricomponent(b) }; c === b && (c = d.ajaxsettings.traditional); if (d.isarray(a) || a.jquery && !d.isplainobject(a)) d.each(a, function () { f(this.name, this.value) }); else for (var g in a) bo(g, a[g], c, f); return e.join("&").replace(bp, "+") } }), d.extend({ active: 0, lastmodified: {}, etag: {} }); var br = d.now(), bs = /(\=)\?(&|$)|()\?\?()/i; d.ajaxsetup({ jsonp: "callback", jsonpcallback: function () { return d.expando + "_" + br++ } }), d.ajaxprefilter("json jsonp", function (b, c, e) { var f = typeof b.data === "string"; if (b.datatypes[0] === "jsonp" || c.jsonpcallback || c.jsonp != null || b.jsonp !== !1 && (bs.test(b.url) || f && bs.test(b.data))) { var g, h = b.jsonpcallback = d.isfunction(b.jsonpcallback) ? b.jsonpcallback() : b.jsonpcallback, i = a[h], j = b.url, k = b.data, l = "$1" + h + "$2", m = function () { a[h] = i, g && d.isfunction(i) && a[h](g[0]) }; b.jsonp !== !1 && (j = j.replace(bs, l), b.url === j && (f && (k = k.replace(bs, l)), b.data === k && (j += (/\?/.test(j) ? "&" : "?") + b.jsonp + "=" + h))), b.url = j, b.data = k, a[h] = function (a) { g = [a] }, e.then(m, m), b.converters["script json"] = function () { g || d.error(h + " was not called"); return g[0] }, b.datatypes[0] = "json"; return "script" } }), d.ajaxsetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /javascript|ecmascript/ }, converters: { "text script": function (a) { d.globaleval(a); return a } } }), d.ajaxprefilter("script", function (a) { a.cache === b && (a.cache = !1), a.crossdomain && (a.type = "get", a.global = !1) }), d.ajaxtransport("script", function (a) { if (a.crossdomain) { var d, e = c.head || c.getelementsbytagname("head")[0] || c.documentelement; return { send: function (f, g) { d = c.createelement("script"), d.async = "async", a.scriptcharset && (d.charset = a.scriptcharset), d.src = a.url, d.onload = d.onreadystatechange = function (a, c) { if (!d.readystate || /loaded|complete/.test(d.readystate)) d.onload = d.onreadystatechange = null, e && d.parentnode && e.removechild(d), d = b, c || g(200, "success") }, e.insertbefore(d, e.firstchild) }, abort: function () { d && d.onload(0, 1) } } } }); var bt = d.now(), bu, bv; d.ajaxsettings.xhr = a.activexobject ? function () { return !this.islocal && bx() || by() } : bx, bv = d.ajaxsettings.xhr(), d.support.ajax = !!bv, d.support.cors = bv && "withcredentials" in bv, bv = b, d.support.ajax && d.ajaxtransport(function (a) { if (!a.crossdomain || d.support.cors) { var c; return { send: function (e, f) { var g = a.xhr(), h, i; a.username ? g.open(a.type, a.url, a.async, a.username, a.password) : g.open(a.type, a.url, a.async); if (a.xhrfields) for (i in a.xhrfields) g[i] = a.xhrfields[i]; a.mimetype && g.overridemimetype && g.overridemimetype(a.mimetype), (!a.crossdomain || a.hascontent) && !e["x-requested-with"] && (e["x-requested-with"] = "xmlhttprequest"); try { for (i in e) g.setrequestheader(i, e[i]) } catch (j) { } g.send(a.hascontent && a.data || null), c = function (e, i) { var j, k, l, m, n; try { if (c && (i || g.readystate === 4)) { c = b, h && (g.onreadystatechange = d.noop, delete bu[h]); if (i) g.readystate !== 4 && g.abort(); else { j = g.status, l = g.getallresponseheaders(), m = {}, n = g.responsexml, n && n.documentelement && (m.xml = n), m.text = g.responsetext; try { k = g.statustext } catch (o) { k = "" } j || !a.islocal || a.crossdomain ? j === 1223 && (j = 204) : j = m.text ? 200 : 404 } } } catch (p) { i || f(-1, p) } m && f(j, k, m, l) }, a.async && g.readystate !== 4 ? (bu || (bu = {}, bw()), h = bt++, g.onreadystatechange = bu[h] = c) : c() }, abort: function () { c && c(0, 1) } } } }); var bz = {}, b$ = /^(?:toggle|show|hide)$/, b_ = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, ca, cb = [["height", "margintop", "marginbottom", "paddingtop", "paddingbottom"], ["width", "marginleft", "marginright", "paddingleft", "paddingright"], ["opacity"]]; d.fn.extend({ show: function (a, b, c) { var e, f; if (a || a === 0) return this.animate(cc("show", 3), a, b, c); for (var g = 0, h = this.length; g < h; g++) e = this[g], f = e.style.display, !d._data(e, "olddisplay") && f === "none" && (f = e.style.display = ""), f === "" && d.css(e, "display") === "none" && d._data(e, "olddisplay", cd(e.nodename)); for (g = 0; g < h; g++) { e = this[g], f = e.style.display; if (f === "" || f === "none") e.style.display = d._data(e, "olddisplay") || "" } return this }, hide: function (a, b, c) { if (a || a === 0) return this.animate(cc("hide", 3), a, b, c); for (var e = 0, f = this.length; e < f; e++) { var g = d.css(this[e], "display"); g !== "none" && !d._data(this[e], "olddisplay") && d._data(this[e], "olddisplay", g) } for (e = 0; e < f; e++) this[e].style.display = "none"; return this }, _toggle: d.fn.toggle, toggle: function (a, b, c) { var e = typeof a === "boolean"; d.isfunction(a) && d.isfunction(b) ? this._toggle.apply(this, arguments) : a == null || e ? this.each(function () { var b = e ? a : d(this).is(":hidden"); d(this)[b ? "show" : "hide"]() }) : this.animate(cc("toggle", 3), a, b, c); return this }, fadeto: function (a, b, c, d) { return this.filter(":hidden").css("opacity", 0).show().end().animate({ opacity: b }, a, c, d) }, animate: function (a, b, c, e) { var f = d.speed(b, c, e); if (d.isemptyobject(a)) return this.each(f.complete); return this[f.queue === !1 ? "each" : "queue"](function () { var b = d.extend({}, f), c, e = this.nodetype === 1, g = e && d(this).is(":hidden"), h = this; for (c in a) { var i = d.camelcase(c); c !== i && (a[i] = a[c], delete a[c], c = i); if (a[c] === "hide" && g || a[c] === "show" && !g) return b.complete.call(this); if (e && (c === "height" || c === "width")) { b.overflow = [this.style.overflow, this.style.overflowx, this.style.overflowy]; if (d.css(this, "display") === "inline" && d.css(this, "float") === "none") if (d.support.inlineblockneedslayout) { var j = cd(this.nodename); j === "inline" ? this.style.display = "inline-block" : (this.style.display = "inline", this.style.zoom = 1) } else this.style.display = "inline-block" } d.isarray(a[c]) && ((b.specialeasing = b.specialeasing || {})[c] = a[c][1], a[c] = a[c][0]) } b.overflow != null && (this.style.overflow = "hidden"), b.curanim = d.extend({}, a), d.each(a, function (c, e) { var f = new d.fx(h, b, c); if (b$.test(e)) f[e === "toggle" ? g ? "show" : "hide" : e](a); else { var i = b_.exec(e), j = f.cur(); if (i) { var k = parsefloat(i[2]), l = i[3] || (d.cssnumber[c] ? "" : "px"); l !== "px" && (d.style(h, c, (k || 1) + l), j = (k || 1) / f.cur() * j, d.style(h, c, j + l)), i[1] && (k = (i[1] === "-=" ? -1 : 1) * k + j), f.custom(j, k, l) } else f.custom(j, e, "") } }); return !0 }) }, stop: function (a, b) { var c = d.timers; a && this.queue([]), this.each(function () { for (var a = c.length - 1; a >= 0; a--) c[a].elem === this && (b && c[a](!0), c.splice(a, 1)) }), b || this.dequeue(); return this } }), d.each({ slidedown: cc("show", 1), slideup: cc("hide", 1), slidetoggle: cc("toggle", 1), fadein: { opacity: "show" }, fadeout: { opacity: "hide" }, fadetoggle: { opacity: "toggle"} }, function (a, b) { d.fn[a] = function (a, c, d) { return this.animate(b, a, c, d) } }), d.extend({ speed: function (a, b, c) { var e = a && typeof a === "object" ? d.extend({}, a) : { complete: c || !c && b || d.isfunction(a) && a, duration: a, easing: c && b || b && !d.isfunction(b) && b }; e.duration = d.fx.off ? 0 : typeof e.duration === "number" ? e.duration : e.duration in d.fx.speeds ? d.fx.speeds[e.duration] : d.fx.speeds._default, e.old = e.complete, e.complete = function () { e.queue !== !1 && d(this).dequeue(), d.isfunction(e.old) && e.old.call(this) }; return e }, easing: { linear: function (a, b, c, d) { return c + d * a }, swing: function (a, b, c, d) { return (-math.cos(a * math.pi) / 2 + .5) * d + c } }, timers: [], fx: function (a, b, c) { this.options = b, this.elem = a, this.prop = c, b.orig || (b.orig = {}) } }), d.fx.prototype = { update: function () { this.options.step && this.options.step.call(this.elem, this.now, this), (d.fx.step[this.prop] || d.fx.step._default)(this) }, cur: function () { if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) return this.elem[this.prop]; var a, b = d.css(this.elem, this.prop); return isnan(a = parsefloat(b)) ? !b || b === "auto" ? 0 : b : a }, custom: function (a, b, c) { function g(a) { return e.step(a) } var e = this, f = d.fx; this.starttime = d.now(), this.start = a, this.end = b, this.unit = c || this.unit || (d.cssnumber[this.prop] ? "" : "px"), this.now = this.start, this.pos = this.state = 0, g.elem = this.elem, g() && d.timers.push(g) && !ca && (ca = setinterval(f.tick, f.interval)) }, show: function () { this.options.orig[this.prop] = d.style(this.elem, this.prop), this.options.show = !0, this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()), d(this.elem).show() }, hide: function () { this.options.orig[this.prop] = d.style(this.elem, this.prop), this.options.hide = !0, this.custom(this.cur(), 0) }, step: function (a) { var b = d.now(), c = !0; if (a || b >= this.options.duration + this.starttime) { this.now = this.end, this.pos = this.state = 1, this.update(), this.options.curanim[this.prop] = !0; for (var e in this.options.curanim) this.options.curanim[e] !== !0 && (c = !1); if (c) { if (this.options.overflow != null && !d.support.shrinkwrapblocks) { var f = this.elem, g = this.options; d.each(["", "x", "y"], function (a, b) { f.style["overflow" + b] = g.overflow[a] }) } this.options.hide && d(this.elem).hide(); if (this.options.hide || this.options.show) for (var h in this.options.curanim) d.style(this.elem, h, this.options.orig[h]); this.options.complete.call(this.elem) } return !1 } var i = b - this.starttime; this.state = i / this.options.duration; var j = this.options.specialeasing && this.options.specialeasing[this.prop], k = this.options.easing || (d.easing.swing ? "swing" : "linear"); this.pos = d.easing[j || k](this.state, i, 0, 1, this.options.duration), this.now = this.start + (this.end - this.start) * this.pos, this.update(); return !0 } }, d.extend(d.fx, { tick: function () { var a = d.timers; for (var b = 0; b < a.length; b++) a[b]() || a.splice(b--, 1); a.length || d.fx.stop() }, interval: 13, stop: function () { clearinterval(ca), ca = null }, speeds: { slow: 600, fast: 200, _default: 400 }, step: { opacity: function (a) { d.style(a.elem, "opacity", a.now) }, _default: function (a) { a.elem.style && a.elem.style[a.prop] != null ? a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? math.max(0, a.now) : a.now) + a.unit : a.elem[a.prop] = a.now } } }), d.expr && d.expr.filters && (d.expr.filters.animated = function (a) { return d.grep(d.timers, function (b) { return a === b.elem }).length }); var ce = /^t(?:able|d|h)$/i, cf = /^(?:body|html)$/i; "getboundingclientrect" in c.documentelement ? d.fn.offset = function (a) { var b = this[0], c; if (a) return this.each(function (b) { d.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return d.offset.bodyoffset(b); try { c = b.getboundingclientrect() } catch (e) { } var f = b.ownerdocument, g = f.documentelement; if (!c || !d.contains(g, b)) return c ? { top: c.top, left: c.left} : { top: 0, left: 0 }; var h = f.body, i = cg(f), j = g.clienttop || h.clienttop || 0, k = g.clientleft || h.clientleft || 0, l = i.pageyoffset || d.support.boxmodel && g.scrolltop || h.scrolltop, m = i.pagexoffset || d.support.boxmodel && g.scrollleft || h.scrollleft, n = c.top + l - j, o = c.left + m - k; return { top: n, left: o} } : d.fn.offset = function (a) { var b = this[0]; if (a) return this.each(function (b) { d.offset.setoffset(this, a, b) }); if (!b || !b.ownerdocument) return null; if (b === b.ownerdocument.body) return d.offset.bodyoffset(b); d.offset.initialize(); var c, e = b.offsetparent, f = b, g = b.ownerdocument, h = g.documentelement, i = g.body, j = g.defaultview, k = j ? j.getcomputedstyle(b, null) : b.currentstyle, l = b.offsettop, m = b.offsetleft; while ((b = b.parentnode) && b !== i && b !== h) { if (d.offset.supportsfixedposition && k.position === "fixed") break; c = j ? j.getcomputedstyle(b, null) : b.currentstyle, l -= b.scrolltop, m -= b.scrollleft, b === e && (l += b.offsettop, m += b.offsetleft, d.offset.doesnotaddborder && (!d.offset.doesaddborderfortableandcells || !ce.test(b.nodename)) && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), f = e, e = b.offsetparent), d.offset.subtractsborderforoverflownotvisible && c.overflow !== "visible" && (l += parsefloat(c.bordertopwidth) || 0, m += parsefloat(c.borderleftwidth) || 0), k = c } if (k.position === "relative" || k.position === "static") l += i.offsettop, m += i.offsetleft; d.offset.supportsfixedposition && k.position === "fixed" && (l += math.max(h.scrolltop, i.scrolltop), m += math.max(h.scrollleft, i.scrollleft)); return { top: l, left: m} }, d.offset = { initialize: function () { var a = c.body, b = c.createelement("div"), e, f, g, h, i = parsefloat(d.css(a, "margintop")) || 0, j = "
"; d.extend(b.style, { position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden" }), b.innerhtml = j, a.insertbefore(b, a.firstchild), e = b.firstchild, f = e.firstchild, h = e.nextsibling.firstchild.firstchild, this.doesnotaddborder = f.offsettop !== 5, this.doesaddborderfortableandcells = h.offsettop === 5, f.style.position = "fixed", f.style.top = "20px", this.supportsfixedposition = f.offsettop === 20 || f.offsettop === 15, f.style.position = f.style.top = "", e.style.overflow = "hidden", e.style.position = "relative", this.subtractsborderforoverflownotvisible = f.offsettop === -5, this.doesnotincludemargininbodyoffset = a.offsettop !== i, a.removechild(b), a = b = e = f = g = h = null, d.offset.initialize = d.noop }, bodyoffset: function (a) { var b = a.offsettop, c = a.offsetleft; d.offset.initialize(), d.offset.doesnotincludemargininbodyoffset && (b += parsefloat(d.css(a, "margintop")) || 0, c += parsefloat(d.css(a, "marginleft")) || 0); return { top: b, left: c} }, setoffset: function (a, b, c) { var e = d.css(a, "position"); e === "static" && (a.style.position = "relative"); var f = d(a), g = f.offset(), h = d.css(a, "top"), i = d.css(a, "left"), j = e === "absolute" && d.inarray("auto", [h, i]) > -1, k = {}, l = {}, m, n; j && (l = f.position()), m = j ? l.top : parseint(h, 10) || 0, n = j ? l.left : parseint(i, 10) || 0, d.isfunction(b) && (b = b.call(a, c, g)), b.top != null && (k.top = b.top - g.top + m), b.left != null && (k.left = b.left - g.left + n), "using" in b ? b.using.call(a, k) : f.css(k) } }, d.fn.extend({ position: function () { if (!this[0]) return null; var a = this[0], b = this.offsetparent(), c = this.offset(), e = cf.test(b[0].nodename) ? { top: 0, left: 0} : b.offset(); c.top -= parsefloat(d.css(a, "margintop")) || 0, c.left -= parsefloat(d.css(a, "marginleft")) || 0, e.top += parsefloat(d.css(b[0], "bordertopwidth")) || 0, e.left += parsefloat(d.css(b[0], "borderleftwidth")) || 0; return { top: c.top - e.top, left: c.left - e.left} }, offsetparent: function () { return this.map(function () { var a = this.offsetparent || c.body; while (a && (!cf.test(a.nodename) && d.css(a, "position") === "static")) a = a.offsetparent; return a }) } }), d.each(["left", "top"], function (a, c) { var e = "scroll" + c; d.fn[e] = function (c) { var f = this[0], g; if (!f) return null; if (c !== b) return this.each(function () { g = cg(this), g ? g.scrollto(a ? d(g).scrollleft() : c, a ? c : d(g).scrolltop()) : this[e] = c }); g = cg(f); return g ? "pagexoffset" in g ? g[a ? "pageyoffset" : "pagexoffset"] : d.support.boxmodel && g.document.documentelement[e] || g.document.body[e] : f[e] } }), d.each(["height", "width"], function (a, c) { var e = c.tolowercase(); d.fn["inner" + c] = function () { return this[0] ? parsefloat(d.css(this[0], e, "padding")) : null }, d.fn["outer" + c] = function (a) { return this[0] ? parsefloat(d.css(this[0], e, a ? "margin" : "border")) : null }, d.fn[e] = function (a) { var f = this[0]; if (!f) return a == null ? null : this; if (d.isfunction(a)) return this.each(function (b) { var c = d(this); c[e](a.call(this, b, c[e]())) }); if (d.iswindow(f)) { var g = f.document.documentelement["client" + c]; return f.document.compatmode === "css1compat" && g || f.document.body["client" + c] || g } if (f.nodetype === 9) return math.max(f.documentelement["client" + c], f.body["scroll" + c], f.documentelement["scroll" + c], f.body["offset" + c], f.documentelement["offset" + c]); if (a === b) { var h = d.css(f, e), i = parsefloat(h); return d.isnan(i) ? h : i } return this.css(e, typeof a === "string" ? a : a + "px") } }), a.jquery = a.$ = d })(window);