/*! jquery v@1.8.0 jquery.com | jquery.org/license */
(function(a, b) {
function g(a) {
var b = f[a] = {};
return p.each(a.split(s),
function(a, c) {
b[c] = !0
}),
b
}
function j(a, c, d) {
if (d === b && a.nodetype === 1) {
var e = "data-" + c.replace(i, "-$1").tolowercase();
d = a.getattribute(e);
if (typeof d == "string") {
try {
d = d === "true" ? !0 : d === "false" ? !1 : d === "null" ? null: +d + "" === d ? +d: h.test(d) ? p.parsejson(d) : d
} catch(f) {}
p.data(a, c, d)
} else d = b
}
return d
}
function k(a) {
var b;
for (b in a) {
if (b === "data" && p.isemptyobject(a[b])) continue;
if (b !== "tojson") return ! 1
}
return ! 0
}
function ba() {
return ! 1
}
function bb() {
return ! 0
}
function bh(a) {
return ! a || !a.parentnode || a.parentnode.nodetype === 11
}
function bi(a, b) {
do a = a[b];
while (a && a.nodetype !== 1);
return a
}
function bj(a, b, c) {
b = b || 0;
if (p.isfunction(b)) return p.grep(a,
function(a, d) {
var e = !!b.call(a, d, a);
return e === c
});
if (b.nodetype) return p.grep(a,
function(a, d) {
return a === b === c
});
if (typeof b == "string") {
var d = p.grep(a,
function(a) {
return a.nodetype === 1
});
if (be.test(b)) return p.filter(b, d, !c);
b = p.filter(b, d)
}
return p.grep(a,
function(a, d) {
return p.inarray(a, b) >= 0 === c
})
}
function bk(a) {
var b = bl.split("|"),
c = a.createdocumentfragment();
if (c.createelement) while (b.length) c.createelement(b.pop());
return c
}
function bc(a, b) {
return a.getelementsbytagname(b)[0] || a.appendchild(a.ownerdocument.createelement(b))
}
function bd(a, b) {
if (b.nodetype !== 1 || !p.hasdata(a)) return;
var c, d, e, f = p._data(a),
g = p._data(b, f),
h = f.events;
if (h) {
delete g.handle,
g.events = {};
for (c in h) for (d = 0, e = h[c].length; d < e; d++) p.event.add(b, c, h[c][d])
}
g.data && (g.data = p.extend({},
g.data))
}
function be(a, b) {
var c;
if (b.nodetype !== 1) return;
b.clearattributes && b.clearattributes(),
b.mergeattributes && b.mergeattributes(a),
c = b.nodename.tolowercase(),
c === "object" ? (b.parentnode && (b.outerhtml = a.outerhtml), p.support.html5clone && a.innerhtml && !p.trim(b.innerhtml) && (b.innerhtml = a.innerhtml)) : c === "input" && bv.test(a.type) ? (b.defaultchecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : c === "option" ? b.selected = a.defaultselected: c === "input" || c === "textarea" ? b.defaultvalue = a.defaultvalue: c === "script" && b.text !== a.text && (b.text = a.text),
b.removeattribute(p.expando)
}
function bf(a) {
return typeof a.getelementsbytagname != "undefined" ? a.getelementsbytagname("*") : typeof a.queryselectorall != "undefined" ? a.queryselectorall("*") : []
}
function bg(a) {
bv.test(a.type) && (a.defaultchecked = a.checked)
}
function bx(a, b) {
if (b in a) return b;
var c = b.charat(0).touppercase() + b.slice(1),
d = b,
e = bv.length;
while (e--) {
b = bv[e] + c;
if (b in a) return b
}
return d
}
function by(a, b) {
return a = b || a,
p.css(a, "display") === "none" || !p.contains(a.ownerdocument, a)
}
function bz(a, b) {
var c, d, e = [],
f = 0,
g = a.length;
for (; f < g; f++) {
c = a[f];
if (!c.style) continue;
e[f] = p._data(c, "olddisplay"),
b ? (!e[f] && c.style.display === "none" && (c.style.display = ""), c.style.display === "" && by(c) && (e[f] = p._data(c, "olddisplay", cb(c.nodename)))) : (d = bh(c, "display"), !e[f] && d !== "none" && p._data(c, "olddisplay", d))
}
for (f = 0; f < g; f++) {
c = a[f];
if (!c.style) continue;
if (!b || c.style.display === "none" || c.style.display === "") c.style.display = b ? e[f] || "": "none"
}
return a
}
function b$(a, b, c) {
var d = bo.exec(b);
return d ? math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
}
function b_(a, b, c, d) {
var e = c === (d ? "border": "content") ? 4 : b === "width" ? 1 : 0,
f = 0;
for (; e < 4; e += 2) c === "margin" && (f += p.css(a, c + bu[e], !0)),
d ? (c === "content" && (f -= parsefloat(bh(a, "padding" + bu[e])) || 0), c !== "margin" && (f -= parsefloat(bh(a, "border" + bu[e] + "width")) || 0)) : (f += parsefloat(bh(a, "padding" + bu[e])) || 0, c !== "padding" && (f += parsefloat(bh(a, "border" + bu[e] + "width")) || 0));
return f
}
function ca(a, b, c) {
var d = b === "width" ? a.offsetwidth: a.offsetheight,
e = !0,
f = p.support.boxsizing && p.css(a, "boxsizing") === "border-box";
if (d <= 0) {
d = bh(a, b);
if (d < 0 || d == null) d = a.style[b];
if (bp.test(d)) return d;
e = f && (p.support.boxsizingreliable || d === a.style[b]),
d = parsefloat(d) || 0
}
return d + b_(a, b, c || (f ? "border": "content"), e) + "px"
}
function cb(a) {
if (br[a]) return br[a];
var b = p("<" + a + ">").appendto(e.body),
c = b.css("display");
b.remove();
if (c === "none" || c === "") {
bi = e.body.appendchild(bi || p.extend(e.createelement("iframe"), {
frameborder: 0,
width: 0,
height: 0
}));
if (!bj || !bi.createelement) bj = (bi.contentwindow || bi.contentdocument).document,
bj.write("
"),
bj.close();
b = bj.body.appendchild(bj.createelement(a)),
c = bh(b, "display"),
e.body.removechild(bi)
}
return br[a] = c,
c
}
function ch(a, b, c, d) {
var e;
if (p.isarray(b)) p.each(b,
function(b, e) {
c || cd.test(a) ? d(a, e) : ch(a + "[" + (typeof e == "object" ? b: "") + "]", e, c, d)
});
else if (!c && p.type(b) === "object") for (e in b) ch(a + "[" + e + "]", b[e], c, d);
else d(a, b)
}
function cy(a) {
return function(b, c) {
typeof b != "string" && (c = b, b = "*");
var d, e, f, g = b.tolowercase().split(s),
h = 0,
i = g.length;
if (p.isfunction(c)) for (; h < i; h++) d = g[h],
f = /^\+/.test(d),
f && (d = d.substr(1) || "*"),
e = a[d] = a[d] || [],
e[f ? "unshift": "push"](c)
}
}
function cz(a, c, d, e, f, g) {
f = f || c.datatypes[0],
g = g || {},
g[f] = !0;
var h, i = a[f],
j = 0,
k = i ? i.length: 0,
l = a === cu;
for (; j < k && (l || !h); j++) h = i[j](c, d, e),
typeof h == "string" && (!l || g[h] ? h = b: (c.datatypes.unshift(h), h = cz(a, c, d, e, h, g)));
return (l || !h) && !g["*"] && (h = cz(a, c, d, e, "*", g)),
h
}
function ca(a, c) {
var d, e, f = p.ajaxsettings.flatoptions || {};
for (d in c) c[d] !== b && ((f[d] ? a: e || (e = {}))[d] = c[d]);
e && p.extend(!0, a, e)
}
function cb(a, c, d) {
var e, f, g, h, i = a.contents,
j = a.datatypes,
k = a.responsefields;
for (f in k) f in d && (c[k[f]] = d[f]);
while (j[0] === "*") j.shift(),
e === b && (e = a.mimetype || c.getresponseheader("content-type"));
if (e) for (f in i) if (i[f] && i[f].test(e)) {
j.unshift(f);
break
}
if (j[0] in d) g = j[0];
else {
for (f in d) {
if (!j[0] || a.converters[f + " " + j[0]]) {
g = f;
break
}
h || (h = f)
}
g = g || h
}
if (g) return g !== j[0] && j.unshift(g),
d[g]
}
function cc(a, b) {
var c, d, e, f, g = a.datatypes.slice(),
h = g[0],
i = {},
j = 0;
a.datafilter && (b = a.datafilter(b, a.datatype));
if (g[1]) for (c in a.converters) i[c.tolowercase()] = a.converters[c];
for (; e = g[++j];) if (e !== "*") {
if (h !== "*" && h !== e) {
c = i[h + " " + e] || i["* " + e];
if (!c) for (d in i) {
f = d.split(" ");
if (f[1] === e) {
c = i[h + " " + f[0]] || i["* " + f[0]];
if (c) {
c === !0 ? c = i[d] : i[d] !== !0 && (e = f[0], g.splice(j--, 0, e));
break
}
}
}
if (c !== !0) if (c && a["throws"]) b = c(b);
else try {
b = c(b)
} catch(k) {
return {
state: "parsererror",
error: c ? k: "no conversion from " + h + " to " + e
}
}
}
h = e
}
return {
state: "success",
data: b
}
}
function ck() {
try {
return new a.xmlhttprequest
} catch(b) {}
}
function cl() {
try {
return new a.activexobject("microsoft.xmlhttp")
} catch(b) {}
}
function ct() {
return settimeout(function() {
cm = b
},
0),
cm = p.now()
}
function cu(a, b) {
p.each(b,
function(b, c) {
var d = (cs[b] || []).concat(cs["*"]),
e = 0,
f = d.length;
for (; e < f; e++) if (d[e].call(a, b, c)) return
})
}
function cv(a, b, c) {
var d, e = 0,
f = 0,
g = cr.length,
h = p.deferred().always(function() {
delete i.elem
}),
i = function() {
var b = cm || ct(),
c = math.max(0, j.starttime + j.duration - b),
d = 1 - (c / j.duration || 0),
e = 0,
f = j.tweens.length;
for (; e < f; e++) j.tweens[e].run(d);
return h.notifywith(a, [j, d, c]),
d < 1 && f ? c: (h.resolvewith(a, [j]), !1)
},
j = h.promise({
elem: a,
props: p.extend({},
b),
opts: p.extend(!0, {
specialeasing: {}
},
c),
originalproperties: b,
originaloptions: c,
starttime: cm || ct(),
duration: c.duration,
tweens: [],
createtween: function(b, c, d) {
var e = p.tween(a, j.opts, b, c, j.opts.specialeasing[b] || j.opts.easing);
return j.tweens.push(e),
e
},
stop: function(b) {
var c = 0,
d = b ? j.tweens.length: 0;
for (; c < d; c++) j.tweens[c].run(1);
return b ? h.resolvewith(a, [j, b]) : h.rejectwith(a, [j, b]),
this
}
}),
k = j.props;
cw(k, j.opts.specialeasing);
for (; e < g; e++) {
d = cr[e].call(j, a, k, j.opts);
if (d) return d
}
return cu(j, k),
p.isfunction(j.opts.start) && j.opts.start.call(a, j),
p.fx.timer(p.extend(i, {
anim: j,
queue: j.opts.queue,
elem: a
})),
j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
}
function cw(a, b) {
var c, d, e, f, g;
for (c in a) {
d = p.camelcase(c),
e = b[d],
f = a[c],
p.isarray(f) && (e = f[1], f = a[c] = f[0]),
c !== d && (a[d] = f, delete a[c]),
g = p.csshooks[d];
if (g && "expand" in g) {
f = g.expand(f),
delete a[d];
for (c in f) c in a || (a[c] = f[c], b[c] = e)
} else b[d] = e
}
}
function cx(a, b, c) {
var d, e, f, g, h, i, j, k, l = this,
m = a.style,
n = {},
o = [],
q = a.nodetype && by(a);
c.queue || (j = p._queuehooks(a, "fx"), j.unqueued == null && (j.unqueued = 0, k = j.empty.fire, j.empty.fire = function() {
j.unqueued || k()
}), j.unqueued++, l.always(function() {
l.always(function() {
j.unqueued--,
p.queue(a, "fx").length || j.empty.fire()
})
})),
a.nodetype === 1 && ("height" in b || "width" in b) && (c.overflow = [m.overflow, m.overflowx, m.overflowy], p.css(a, "display") === "inline" && p.css(a, "float") === "none" && (!p.support.inlineblockneedslayout || cb(a.nodename) === "inline" ? m.display = "inline-block": m.zoom = 1)),
c.overflow && (m.overflow = "hidden", p.support.shrinkwrapblocks || l.done(function() {
m.overflow = c.overflow[0],
m.overflowx = c.overflow[1],
m.overflowy = c.overflow[2]
}));
for (d in b) {
f = b[d];
if (co.exec(f)) {
delete b[d];
if (f === (q ? "hide": "show")) continue;
o.push(d)
}
}
g = o.length;
if (g) {
h = p._data(a, "fxshow") || p._data(a, "fxshow", {}),
q ? p(a).show() : l.done(function() {
p(a).hide()
}),
l.done(function() {
var b;
p.removedata(a, "fxshow", !0);
for (b in n) p.style(a, b, n[b])
});
for (d = 0; d < g; d++) e = o[d],
i = l.createtween(e, q ? h[e] : 0),
n[e] = h[e] || p.style(a, e),
e in h || (h[e] = i.start, q && (i.end = i.start, i.start = e === "width" || e === "height" ? 1 : 0))
}
}
function cy(a, b, c, d, e) {
return new cy.prototype.init(a, b, c, d, e)
}
function cz(a, b) {
var c, d = {
height: a
},
e = 0;
for (; e < 4; e += 2 - b) c = bu[e],
d["margin" + c] = d["padding" + c] = a;
return b && (d.opacity = d.width = a),
d
}
function c_(a) {
return p.iswindow(a) ? a: a.nodetype === 9 ? a.defaultview || a.parentwindow: !1
}
var c, d, e = a.document,
f = a.location,
g = a.navigator,
h = a.jquery,
i = a.$,
j = array.prototype.push,
k = array.prototype.slice,
l = array.prototype.indexof,
m = object.prototype.tostring,
n = object.prototype.hasownproperty,
o = string.prototype.trim,
p = function(a, b) {
return new p.fn.init(a, b, c)
},
q = /[\-+]?(?:\d*\.|)\d+(?:[ee][\-+]?\d+|)/.source,
r = /\s/,
s = /\s+/,
t = r.test(" ") ? /^[\s\xa0]+|[\s\xa0]+$/g: /^\s+|\s+$/g,
u = /^(?:[^#<]*(<[\w\w]+>)[^>]*$|#([\w\-]*)$)/,
v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
w = /^[\],:{}\s]*$/,
x = /(?:^|:|,)(?:\s*\[)+/g,
y = /\\(?:["\\\/bfnrt]|u[\da-fa-f]{4})/g,
z = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[ee][\-+]?\d+|)/g,
a = /^-ms-/,
b = /-([\da-z])/gi,
c = function(a, b) {
return (b + "").touppercase()
},
d = function() {
e.addeventlistener ? (e.removeeventlistener("domcontentloaded", d, !1), p.ready()) : e.readystate === "complete" && (e.detachevent("onreadystatechange", d), p.ready())
},
e = {};
p.fn = p.prototype = {
constructor: p,
init: function(a, c, d) {
var f, g, h, i;
if (!a) return this;
if (a.nodetype) return this.context = this[0] = a,
this.length = 1,
this;
if (typeof a == "string") {
a.charat(0) === "<" && a.charat(a.length - 1) === ">" && a.length >= 3 ? f = [null, a, null] : f = u.exec(a);
if (f && (f[1] || !c)) {
if (f[1]) return c = c instanceof p ? c[0] : c,
i = c && c.nodetype ? c.ownerdocument || c: e,
a = p.parsehtml(f[1], i, !0),
v.test(f[1]) && p.isplainobject(c) && this.attr.call(a, c, !0),
p.merge(this, a);
g = e.getelementbyid(f[2]);
if (g && g.parentnode) {
if (g.id !== f[2]) return d.find(a);
this.length = 1,
this[0] = g
}
return this.context = e,
this.selector = a,
this
}
return ! c || c.jquery ? (c || d).find(a) : this.constructor(c).find(a)
}
return p.isfunction(a) ? d.ready(a) : (a.selector !== b && (this.selector = a.selector, this.context = a.context), p.makearray(a, this))
},
selector: "",
jquery: "1.8.0",
length: 0,
size: function() {
return this.length
},
toarray: function() {
return k.call(this)
},
get: function(a) {
return a == null ? this.toarray() : a < 0 ? this[this.length + a] : this[a]
},
pushstack: function(a, b, c) {
var d = p.merge(this.constructor(), a);
return d.prevobject = this,
d.context = this.context,
b === "find" ? d.selector = this.selector + (this.selector ? " ": "") + c: b && (d.selector = this.selector + "." + b + "(" + c + ")"),
d
},
each: function(a, b) {
return p.each(this, a, b)
},
ready: function(a) {
return p.ready.promise().done(a),
this
},
eq: function(a) {
return a = +a,
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(k.apply(this, arguments), "slice", k.call(arguments).join(","))
},
map: function(a) {
return this.pushstack(p.map(this,
function(b, c) {
return a.call(b, c, b)
}))
},
end: function() {
return this.prevobject || this.constructor(null)
},
push: j,
sort: [].sort,
splice: [].splice
},
p.fn.init.prototype = p.fn,
p.extend = p.fn.extend = function() {
var a, c, d, e, f, g, h = arguments[0] || {},
i = 1,
j = arguments.length,
k = !1;
typeof h == "boolean" && (k = h, h = arguments[1] || {},
i = 2),
typeof h != "object" && !p.isfunction(h) && (h = {}),
j === i && (h = this, --i);
for (; i < j; i++) if ((a = arguments[i]) != null) for (c in a) {
d = h[c],
e = a[c];
if (h === e) continue;
k && e && (p.isplainobject(e) || (f = p.isarray(e))) ? (f ? (f = !1, g = d && p.isarray(d) ? d: []) : g = d && p.isplainobject(d) ? d: {},
h[c] = p.extend(k, g, e)) : e !== b && (h[c] = e)
}
return h
},
p.extend({
noconflict: function(b) {
return a.$ === p && (a.$ = i),
b && a.jquery === p && (a.jquery = h),
p
},
isready: !1,
readywait: 1,
holdready: function(a) {
a ? p.readywait++:p.ready(!0)
},
ready: function(a) {
if (a === !0 ? --p.readywait: p.isready) return;
if (!e.body) return settimeout(p.ready, 1);
p.isready = !0;
if (a !== !0 && --p.readywait > 0) return;
d.resolvewith(e, [p]),
p.fn.trigger && p(e).trigger("ready").off("ready")
},
isfunction: function(a) {
return p.type(a) === "function"
},
isarray: array.isarray ||
function(a) {
return p.type(a) === "array"
},
iswindow: function(a) {
return a != null && a == a.window
},
isnumeric: function(a) {
return ! isnan(parsefloat(a)) && isfinite(a)
},
type: function(a) {
return a == null ? string(a) : e[m.call(a)] || "object"
},
isplainobject: function(a) {
if (!a || p.type(a) !== "object" || a.nodetype || p.iswindow(a)) return ! 1;
try {
if (a.constructor && !n.call(a, "constructor") && !n.call(a.constructor.prototype, "isprototypeof")) return ! 1
} catch(c) {
return ! 1
}
var d;
for (d in a);
return d === b || n.call(a, d)
},
isemptyobject: function(a) {
var b;
for (b in a) return ! 1;
return ! 0
},
error: function(a) {
throw new error(a)
},
parsehtml: function(a, b, c) {
var d;
return ! a || typeof a != "string" ? null: (typeof b == "boolean" && (c = b, b = 0), b = b || e, (d = v.exec(a)) ? [b.createelement(d[1])] : (d = p.buildfragment([a], b, c ? null: []), p.merge([], (d.cacheable ? p.clone(d.fragment) : d.fragment).childnodes)))
},
parsejson: function(b) {
if (!b || typeof b != "string") return null;
b = p.trim(b);
if (a.json && a.json.parse) return a.json.parse(b);
if (w.test(b.replace(y, "@").replace(z, "]").replace(x, ""))) return (new function("return " + b))();
p.error("invalid json: " + b)
},
parsexml: function(c) {
var d, e;
if (!c || typeof c != "string") return null;
try {
a.domparser ? (e = new domparser, d = e.parsefromstring(c, "text/xml")) : (d = new activexobject("microsoft.xmldom"), d.async = "false", d.loadxml(c))
} catch(f) {
d = b
}
return (!d || !d.documentelement || d.getelementsbytagname("parsererror").length) && p.error("invalid xml: " + c),
d
},
noop: function() {},
globaleval: function(b) {
b && r.test(b) && (a.execscript ||
function(b) {
a.eval.call(a, b)
})(b)
},
camelcase: function(a) {
return a.replace(a, "ms-").replace(b, c)
},
nodename: function(a, b) {
return a.nodename && a.nodename.touppercase() === b.touppercase()
},
each: function(a, c, d) {
var e, f = 0,
g = a.length,
h = g === b || p.isfunction(a);
if (d) {
if (h) {
for (e in a) if (c.apply(a[e], d) === !1) break
} else for (; f < g;) if (c.apply(a[f++], d) === !1) break
} else if (h) {
for (e in a) if (c.call(a[e], e, a[e]) === !1) break
} else for (; f < g;) if (c.call(a[f], f, a[f++]) === !1) break;
return a
},
trim: o ?
function(a) {
return a == null ? "": o.call(a)
}: function(a) {
return a == null ? "": a.tostring().replace(t, "")
},
makearray: function(a, b) {
var c, d = b || [];
return a != null && (c = p.type(a), a.length == null || c === "string" || c === "function" || c === "regexp" || p.iswindow(a) ? j.call(d, a) : p.merge(d, a)),
d
},
inarray: function(a, b, c) {
var d;
if (b) {
if (l) return l.call(b, a, c);
d = b.length,
c = c ? c < 0 ? math.max(0, d + c) : c: 0;
for (; c < d; c++) if (c in b && b[c] === a) return c
}
return - 1
},
merge: function(a, c) {
var d = c.length,
e = a.length,
f = 0;
if (typeof d == "number") for (; f < d; f++) a[e++] = c[f];
else while (c[f] !== b) a[e++] = c[f++];
return a.length = e,
a
},
grep: function(a, b, c) {
var d, e = [],
f = 0,
g = a.length;
c = !!c;
for (; f < g; f++) d = !!b(a[f], f),
c !== d && e.push(a[f]);
return e
},
map: function(a, c, d) {
var e, f, g = [],
h = 0,
i = a.length,
j = a instanceof p || i !== b && typeof i == "number" && (i > 0 && a[0] && a[i - 1] || i === 0 || p.isarray(a));
if (j) for (; h < i; h++) e = c(a[h], h, d),
e != null && (g[g.length] = e);
else for (f in a) e = c(a[f], f, d),
e != null && (g[g.length] = e);
return g.concat.apply([], g)
},
guid: 1,
proxy: function(a, c) {
var d, e, f;
return typeof c == "string" && (d = a[c], c = a, a = d),
p.isfunction(a) ? (e = k.call(arguments, 2), f = function() {
return a.apply(c, e.concat(k.call(arguments)))
},
f.guid = a.guid = a.guid || f.guid || p.guid++, f) : b
},
access: function(a, c, d, e, f, g, h) {
var i, j = d == null,
k = 0,
l = a.length;
if (d && typeof d == "object") {
for (k in d) p.access(a, c, k, d[k], 1, g, e);
f = 1
} else if (e !== b) {
i = h === b && p.isfunction(e),
j && (i ? (i = c, c = function(a, b, c) {
return i.call(p(a), c)
}) : (c.call(a, e), c = null));
if (c) for (; k < l; k++) c(a[k], d, i ? e.call(a[k], k, c(a[k], d)) : e, h);
f = 1
}
return f ? a: j ? c.call(a) : l ? c(a[0], d) : g
},
now: function() {
return (new date).gettime()
}
}),
p.ready.promise = function(b) {
if (!d) {
d = p.deferred();
if (e.readystate === "complete" || e.readystate !== "loading" && e.addeventlistener) settimeout(p.ready, 1);
else if (e.addeventlistener) e.addeventlistener("domcontentloaded", d, !1),
a.addeventlistener("load", p.ready, !1);
else {
e.attachevent("onreadystatechange", d),
a.attachevent("onload", p.ready);
var c = !1;
try {
c = a.frameelement == null && e.documentelement
} catch(f) {}
c && c.doscroll &&
function g() {
if (!p.isready) {
try {
c.doscroll("left")
} catch(a) {
return settimeout(g, 50)
}
p.ready()
}
} ()
}
}
return d.promise(b)
},
p.each("boolean number string function array date regexp object".split(" "),
function(a, b) {
e["[object " + b + "]"] = b.tolowercase()
}),
c = p(e);
var f = {};
p.callbacks = function(a) {
a = typeof a == "string" ? f[a] || g(a) : p.extend({},
a);
var c, d, e, f, g, h, i = [],
j = !a.once && [],
k = function(b) {
c = a.memory && b,
d = !0,
h = f || 0,
f = 0,
g = i.length,
e = !0;
for (; i && h < g; h++) if (i[h].apply(b[0], b[1]) === !1 && a.stoponfalse) {
c = !1;
break
}
e = !1,
i && (j ? j.length && k(j.shift()) : c ? i = [] : l.disable())
},
l = {
add: function() {
if (i) {
var b = i.length; (function d(b) {
p.each(b,
function(b, c) {
p.isfunction(c) && (!a.unique || !l.has(c)) ? i.push(c) : c && c.length && d(c)
})
})(arguments),
e ? g = i.length: c && (f = b, k(c))
}
return this
},
remove: function() {
return i && p.each(arguments,
function(a, b) {
var c;
while ((c = p.inarray(b, i, c)) > -1) i.splice(c, 1),
e && (c <= g && g--, c <= h && h--)
}),
this
},
has: function(a) {
return p.inarray(a, i) > -1
},
empty: function() {
return i = [],
this
},
disable: function() {
return i = j = c = b,
this
},
disabled: function() {
return ! i
},
lock: function() {
return j = b,
c || l.disable(),
this
},
locked: function() {
return ! j
},
firewith: function(a, b) {
return b = b || [],
b = [a, b.slice ? b.slice() : b],
i && (!d || j) && (e ? j.push(b) : k(b)),
this
},
fire: function() {
return l.firewith(this, arguments),
this
},
fired: function() {
return !! d
}
};
return l
},
p.extend({
deferred: function(a) {
var b = [["resolve", "done", p.callbacks("once memory"), "resolved"], ["reject", "fail", p.callbacks("once memory"), "rejected"], ["notify", "progress", p.callbacks("memory")]],
c = "pending",
d = {
state: function() {
return c
},
always: function() {
return e.done(arguments).fail(arguments),
this
},
then: function() {
var a = arguments;
return p.deferred(function(c) {
p.each(b,
function(b, d) {
var f = d[0],
g = a[b];
e[d[1]](p.isfunction(g) ?
function() {
var a = g.apply(this, arguments);
a && p.isfunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f + "with"](this === e ? c: this, [a])
}: c[f])
}),
a = null
}).promise()
},
promise: function(a) {
return typeof a == "object" ? p.extend(a, d) : d
}
},
e = {};
return d.pipe = d.then,
p.each(b,
function(a, f) {
var g = f[2],
h = f[3];
d[f[1]] = g.add,
h && g.add(function() {
c = h
},
b[a ^ 1][2].disable, b[2][2].lock),
e[f[0]] = g.fire,
e[f[0] + "with"] = g.firewith
}),
d.promise(e),
a && a.call(e, e),
e
},
when: function(a) {
var b = 0,
c = k.call(arguments),
d = c.length,
e = d !== 1 || a && p.isfunction(a.promise) ? d: 0,
f = e === 1 ? a: p.deferred(),
g = function(a, b, c) {
return function(d) {
b[a] = this,
c[a] = arguments.length > 1 ? k.call(arguments) : d,
c === h ? f.notifywith(b, c) : --e || f.resolvewith(b, c)
}
},
h,
i,
j;
if (d > 1) {
h = new array(d),
i = new array(d),
j = new array(d);
for (; b < d; b++) c[b] && p.isfunction(c[b].promise) ? c[b].promise().done(g(b, j, c)).fail(f.reject).progress(g(b, i, h)) : --e
}
return e || f.resolvewith(j, c),
f.promise()
}
}),
p.support = function() {
var b, c, d, f, g, h, i, j, k, l, m, n = e.createelement("div");
n.setattribute("classname", "t"),
n.innerhtml = "
a",
c = n.getelementsbytagname("*"),
d = n.getelementsbytagname("a")[0],
d.style.csstext = "top:1px;float:left;opacity:.5";
if (!c || !c.length || !d) return {};
f = e.createelement("select"),
g = f.appendchild(e.createelement("option")),
h = n.getelementsbytagname("input")[0],
b = {
leadingwhitespace: n.firstchild.nodetype === 3,
tbody: !n.getelementsbytagname("tbody").length,
htmlserialize: !!n.getelementsbytagname("link").length,
style: /top/.test(d.getattribute("style")),
hrefnormalized: d.getattribute("href") === "/a",
opacity: /^0.5/.test(d.style.opacity),
cssfloat: !!d.style.cssfloat,
checkon: h.value === "on",
optselected: g.selected,
getsetattribute: n.classname !== "t",
enctype: !!e.createelement("form").enctype,
html5clone: e.createelement("nav").clonenode(!0).outerhtml !== "<:nav>",
boxmodel: e.compatmode === "css1compat",
submitbubbles: !0,
changebubbles: !0,
focusinbubbles: !1,
deleteexpando: !0,
nocloneevent: !0,
inlineblockneedslayout: !1,
shrinkwrapblocks: !1,
reliablemarginright: !0,
boxsizingreliable: !0,
pixelposition: !1
},
h.checked = !0,
b.noclonechecked = h.clonenode(!0).checked,
f.disabled = !0,
b.optdisabled = !g.disabled;
try {
delete n.test
} catch(o) {
b.deleteexpando = !1
} ! n.addeventlistener && n.attachevent && n.fireevent && (n.attachevent("onclick", m = function() {
b.nocloneevent = !1
}), n.clonenode(!0).fireevent("onclick"), n.detachevent("onclick", m)),
h = e.createelement("input"),
h.value = "t",
h.setattribute("type", "radio"),
b.radiovalue = h.value === "t",
h.setattribute("checked", "checked"),
h.setattribute("name", "t"),
n.appendchild(h),
i = e.createdocumentfragment(),
i.appendchild(n.lastchild),
b.checkclone = i.clonenode(!0).clonenode(!0).lastchild.checked,
b.appendchecked = h.checked,
i.removechild(h),
i.appendchild(n);
if (n.attachevent) for (k in {
submit: !0,
change: !0,
focusin: !0
}) j = "on" + k,
l = j in n,
l || (n.setattribute(j, "return;"), l = typeof n[j] == "function"),
b[k + "bubbles"] = l;
return p(function() {
var c, d, f, g, h = "padding:0;margin:0;border:0;display:block;overflow:hidden;",
i = e.getelementsbytagname("body")[0];
if (!i) return;
c = e.createelement("div"),
c.style.csstext = "visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",
i.insertbefore(c, i.firstchild),
d = e.createelement("div"),
c.appendchild(d),
d.innerhtml = "
t
",
f = d.getelementsbytagname("td"),
f[0].style.csstext = "padding:0;margin:0;border:0;display:none",
l = f[0].offsetheight === 0,
f[0].style.display = "",
f[1].style.display = "none",
b.reliablehiddenoffsets = l && f[0].offsetheight === 0,
d.innerhtml = "",
d.style.csstext = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",
b.boxsizing = d.offsetwidth === 4,
b.doesnotincludemargininbodyoffset = i.offsettop !== 1,
a.getcomputedstyle && (b.pixelposition = (a.getcomputedstyle(d, null) || {}).top !== "1%", b.boxsizingreliable = (a.getcomputedstyle(d, null) || {
width: "4px"
}).width === "4px", g = e.createelement("div"), g.style.csstext = d.style.csstext = h, g.style.marginright = g.style.width = "0", d.style.width = "1px", d.appendchild(g), b.reliablemarginright = !parsefloat((a.getcomputedstyle(g, null) || {}).marginright)),
typeof d.style.zoom != "undefined" && (d.innerhtml = "", d.style.csstext = h + "width:1px;padding:1px;display:inline;zoom:1", b.inlineblockneedslayout = d.offsetwidth === 3, d.style.display = "block", d.style.overflow = "visible", d.innerhtml = "", d.firstchild.style.width = "5px", b.shrinkwrapblocks = d.offsetwidth !== 3, c.style.zoom = 1),
i.removechild(c),
c = d = f = g = null
}),
i.removechild(n),
c = d = f = g = h = i = n = null,
b
} ();
var h = /^(?:\{.*\}|\[.*\])$/,
i = /([a-z])/g;
p.extend({
cache: {},
deletedids: [],
uuid: 0,
expando: "jquery" + (p.fn.jquery + math.random()).replace(/\d/g, ""),
nodata: {
embed: !0,
object: "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",
applet: !0
},
hasdata: function(a) {
return a = a.nodetype ? p.cache[a[p.expando]] : a[p.expando],
!!a && !k(a)
},
data: function(a, c, d, e) {
if (!p.acceptdata(a)) return;
var f, g, h = p.expando,
i = typeof c == "string",
j = a.nodetype,
k = j ? p.cache: a,
l = j ? a[h] : a[h] && h;
if ((!l || !k[l] || !e && !k[l].data) && i && d === b) return;
l || (j ? a[h] = l = p.deletedids.pop() || ++p.uuid: l = h),
k[l] || (k[l] = {},
j || (k[l].tojson = p.noop));
if (typeof c == "object" || typeof c == "function") e ? k[l] = p.extend(k[l], c) : k[l].data = p.extend(k[l].data, c);
return f = k[l],
e || (f.data || (f.data = {}), f = f.data),
d !== b && (f[p.camelcase(c)] = d),
i ? (g = f[c], g == null && (g = f[p.camelcase(c)])) : g = f,
g
},
removedata: function(a, b, c) {
if (!p.acceptdata(a)) return;
var d, e, f, g = a.nodetype,
h = g ? p.cache: a,
i = g ? a[p.expando] : p.expando;
if (!h[i]) return;
if (b) {
d = c ? h[i] : h[i].data;
if (d) {
p.isarray(b) || (b in d ? b = [b] : (b = p.camelcase(b), b in d ? b = [b] : b = b.split(" ")));
for (e = 0, f = b.length; e < f; e++) delete d[b[e]];
if (! (c ? k: p.isemptyobject)(d)) return
}
}
if (!c) {
delete h[i].data;
if (!k(h[i])) return
}
g ? p.cleandata([a], !0) : p.support.deleteexpando || h != h.window ? delete h[i] : h[i] = null
},
_data: function(a, b, c) {
return p.data(a, b, c, !0)
},
acceptdata: function(a) {
var b = a.nodename && p.nodata[a.nodename.tolowercase()];
return ! b || b !== !0 && a.getattribute("classid") === b
}
}),
p.fn.extend({
data: function(a, c) {
var d, e, f, g, h, i = this[0],
j = 0,
k = null;
if (a === b) {
if (this.length) {
k = p.data(i);
if (i.nodetype === 1 && !p._data(i, "parsedattrs")) {
f = i.attributes;
for (h = f.length; j < h; j++) g = f[j].name,
g.indexof("data-") === 0 && (g = p.camelcase(g.substring(5)), j(i, g, k[g]));
p._data(i, "parsedattrs", !0)
}
}
return k
}
return typeof a == "object" ? this.each(function() {
p.data(this, a)
}) : (d = a.split(".", 2), d[1] = d[1] ? "." + d[1] : "", e = d[1] + "!", p.access(this,
function(c) {
if (c === b) return k = this.triggerhandler("getdata" + e, [d[0]]),
k === b && i && (k = p.data(i, a), k = j(i, a, k)),
k === b && d[1] ? this.data(d[0]) : k;
d[1] = c,
this.each(function() {
var b = p(this);
b.triggerhandler("setdata" + e, d),
p.data(this, a, c),
b.triggerhandler("changedata" + e, d)
})
},
null, c, arguments.length > 1, null, !1))
},
removedata: function(a) {
return this.each(function() {
p.removedata(this, a)
})
}
}),
p.extend({
queue: function(a, b, c) {
var d;
if (a) return b = (b || "fx") + "queue",
d = p._data(a, b),
c && (!d || p.isarray(c) ? d = p._data(a, b, p.makearray(c)) : d.push(c)),
d || []
},
dequeue: function(a, b) {
b = b || "fx";
var c = p.queue(a, b),
d = c.shift(),
e = p._queuehooks(a, b),
f = function() {
p.dequeue(a, b)
};
d === "inprogress" && (d = c.shift()),
d && (b === "fx" && c.unshift("inprogress"), delete e.stop, d.call(a, f, e)),
!c.length && e && e.empty.fire()
},
_queuehooks: function(a, b) {
var c = b + "queuehooks";
return p._data(a, c) || p._data(a, c, {
empty: p.callbacks("once memory").add(function() {
p.removedata(a, b + "queue", !0),
p.removedata(a, c, !0)
})
})
}
}),
p.fn.extend({
queue: function(a, c) {
var d = 2;
return typeof a != "string" && (c = a, a = "fx", d--),
arguments.length < d ? p.queue(this[0], a) : c === b ? this: this.each(function() {
var b = p.queue(this, a, c);
p._queuehooks(this, a),
a === "fx" && b[0] !== "inprogress" && p.dequeue(this, a)
})
},
dequeue: function(a) {
return this.each(function() {
p.dequeue(this, a)
})
},
delay: function(a, b) {
return a = p.fx ? p.fx.speeds[a] || a: a,
b = b || "fx",
this.queue(b,
function(b, c) {
var d = settimeout(b, a);
c.stop = function() {
cleartimeout(d)
}
})
},
clearqueue: function(a) {
return this.queue(a || "fx", [])
},
promise: function(a, c) {
var d, e = 1,
f = p.deferred(),
g = this,
h = this.length,
i = function() {--e || f.resolvewith(g, [g])
};
typeof a != "string" && (c = a, a = b),
a = a || "fx";
while (h--)(d = p._data(g[h], a + "queuehooks")) && d.empty && (e++, d.empty.add(i));
return i(),
f.promise(c)
}
});
var l, m, n, o = /[\t\r\n]/g,
p = /\r/g,
q = /^(?:button|input)$/i,
r = /^(?:button|input|object|select|textarea)$/i,
s = /^a(?:rea|)$/i,
t = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
u = p.support.getsetattribute;
p.fn.extend({
attr: function(a, b) {
return p.access(this, p.attr, a, b, arguments.length > 1)
},
removeattr: function(a) {
return this.each(function() {
p.removeattr(this, a)
})
},
prop: function(a, b) {
return p.access(this, p.prop, a, b, arguments.length > 1)
},
removeprop: function(a) {
return a = p.propfix[a] || a,
this.each(function() {
try {
this[a] = b,
delete this[a]
} catch(c) {}
})
},
addclass: function(a) {
var b, c, d, e, f, g, h;
if (p.isfunction(a)) return this.each(function(b) {
p(this).addclass(a.call(this, b, this.classname))
});
if (a && typeof a == "string") {
b = a.split(s);
for (c = 0, d = this.length; c < d; c++) {
e = this[c];
if (e.nodetype === 1) if (!e.classname && b.length === 1) e.classname = a;
else {
f = " " + e.classname + " ";
for (g = 0, h = b.length; g < h; g++)~f.indexof(" " + b[g] + " ") || (f += b[g] + " ");
e.classname = p.trim(f)
}
}
}
return this
},
removeclass: function(a) {
var c, d, e, f, g, h, i;
if (p.isfunction(a)) return this.each(function(b) {
p(this).removeclass(a.call(this, b, this.classname))
});
if (a && typeof a == "string" || a === b) {
c = (a || "").split(s);
for (h = 0, i = this.length; h < i; h++) {
e = this[h];
if (e.nodetype === 1 && e.classname) {
d = (" " + e.classname + " ").replace(o, " ");
for (f = 0, g = c.length; f < g; f++) while (d.indexof(" " + c[f] + " ") > -1) d = d.replace(" " + c[f] + " ", " ");
e.classname = a ? p.trim(d) : ""
}
}
}
return this
},
toggleclass: function(a, b) {
var c = typeof a,
d = typeof b == "boolean";
return p.isfunction(a) ? this.each(function(c) {
p(this).toggleclass(a.call(this, c, this.classname, b), b)
}) : this.each(function() {
if (c === "string") {
var e, f = 0,
g = p(this),
h = b,
i = a.split(s);
while (e = i[f++]) h = d ? h: !g.hasclass(e),
g[h ? "addclass": "removeclass"](e)
} else if (c === "undefined" || c === "boolean") this.classname && p._data(this, "__classname__", this.classname),
this.classname = this.classname || a === !1 ? "": p._data(this, "__classname__") || ""
})
},
hasclass: function(a) {
var b = " " + a + " ",
c = 0,
d = this.length;
for (; c < d; c++) if (this[c].nodetype === 1 && (" " + this[c].classname + " ").replace(o, " ").indexof(b) > -1) return ! 0;
return ! 1
},
val: function(a) {
var c, d, e, f = this[0];
if (!arguments.length) {
if (f) return c = p.valhooks[f.type] || p.valhooks[f.nodename.tolowercase()],
c && "get" in c && (d = c.get(f, "value")) !== b ? d: (d = f.value, typeof d == "string" ? d.replace(p, "") : d == null ? "": d);
return
}
return e = p.isfunction(a),
this.each(function(d) {
var f, g = p(this);
if (this.nodetype !== 1) return;
e ? f = a.call(this, d, g.val()) : f = a,
f == null ? f = "": typeof f == "number" ? f += "": p.isarray(f) && (f = p.map(f,
function(a) {
return a == null ? "": a + ""
})),
c = p.valhooks[this.type] || p.valhooks[this.nodename.tolowercase()];
if (!c || !("set" in c) || c.set(this, f, "value") === b) this.value = f
})
}
}),
p.extend({
valhooks: {
option: {
get: function(a) {
var b = a.attributes.value;
return ! b || b.specified ? a.value: a.text
}
},
select: {
get: function(a) {
var b, c, d, e, f = a.selectedindex,
g = [],
h = a.options,
i = a.type === "select-one";
if (f < 0) return null;
c = i ? f: 0,
d = i ? f + 1 : h.length;
for (; c < d; c++) {
e = h[c];
if (e.selected && (p.support.optdisabled ? !e.disabled: e.getattribute("disabled") === null) && (!e.parentnode.disabled || !p.nodename(e.parentnode, "optgroup"))) {
b = p(e).val();
if (i) return b;
g.push(b)
}
}
return i && !g.length && h.length ? p(h[f]).val() : g
},
set: function(a, b) {
var c = p.makearray(b);
return p(a).find("option").each(function() {
this.selected = p.inarray(p(this).val(), c) >= 0
}),
c.length || (a.selectedindex = -1),
c
}
}
},
attrfn: {},
attr: function(a, c, d, e) {
var f, g, h, i = a.nodetype;
if (!a || i === 3 || i === 8 || i === 2) return;
if (e && p.isfunction(p.fn[c])) return p(a)[c](d);
if (typeof a.getattribute == "undefined") return p.prop(a, c, d);
h = i !== 1 || !p.isxmldoc(a),
h && (c = c.tolowercase(), g = p.attrhooks[c] || (t.test(c) ? m: l));
if (d !== b) {
if (d === null) {
p.removeattr(a, c);
return
}
return g && "set" in g && h && (f = g.set(a, d, c)) !== b ? f: (a.setattribute(c, "" + d), d)
}
return g && "get" in g && h && (f = g.get(a, c)) !== null ? f: (f = a.getattribute(c), f === null ? b: f)
},
removeattr: function(a, b) {
var c, d, e, f, g = 0;
if (b && a.nodetype === 1) {
d = b.split(s);
for (; g < d.length; g++) e = d[g],
e && (c = p.propfix[e] || e, f = t.test(e), f || p.attr(a, e, ""), a.removeattribute(u ? e: c), f && c in a && (a[c] = !1))
}
},
attrhooks: {
type: {
set: function(a, b) {
if (q.test(a.nodename) && a.parentnode) p.error("type property can't be changed");
else if (!p.support.radiovalue && b === "radio" && p.nodename(a, "input")) {
var c = a.value;
return a.setattribute("type", b),
c && (a.value = c),
b
}
}
},
value: {
get: function(a, b) {
return l && p.nodename(a, "button") ? l.get(a, b) : b in a ? a.value: null
},
set: function(a, b, c) {
if (l && p.nodename(a, "button")) return l.set(a, b, c);
a.value = b
}
}
},
propfix: {
tabindex: "tabindex",
readonly: "readonly",
"for": "htmlfor",
"class": "classname",
maxlength: "maxlength",
cellspacing: "cellspacing",
cellpadding: "cellpadding",
rowspan: "rowspan",
colspan: "colspan",
usemap: "usemap",
frameborder: "frameborder",
contenteditable: "contenteditable"
},
prop: function(a, c, d) {
var e, f, g, h = a.nodetype;
if (!a || h === 3 || h === 8 || h === 2) return;
return g = h !== 1 || !p.isxmldoc(a),
g && (c = p.propfix[c] || c, f = p.prophooks[c]),
d !== b ? f && "set" in f && (e = f.set(a, d, c)) !== b ? e: a[c] = d: f && "get" in f && (e = f.get(a, c)) !== null ? e: a[c]
},
prophooks: {
tabindex: {
get: function(a) {
var c = a.getattribute("tabindex");
return c && c.specified ? parseint(c.value, 10) : r.test(a.nodename) || s.test(a.nodename) && a.href ? 0 : b
}
}
}
}),
m = {
get: function(a, c) {
var d, e = p.prop(a, c);
return e === !0 || typeof e != "boolean" && (d = a.getattribute(c)) && d.nodevalue !== !1 ? c.tolowercase() : b
},
set: function(a, b, c) {
var d;
return b === !1 ? p.removeattr(a, c) : (d = p.propfix[c] || c, d in a && (a[d] = !0), a.setattribute(c, c.tolowercase())),
c
}
},
u || (n = {
name: !0,
id: !0,
coords: !0
},
l = p.valhooks.button = {
get: function(a, c) {
var d;
return d = a.getattribute(c),
d && (n[c] ? d.value !== "": d.specified) ? d.value: b
},
set: function(a, b, c) {
var d = a.getattribute(c);
return d || (d = e.createattribute(c), a.setattributenode(d)),
d.value = b + ""
}
},
p.each(["width", "height"],
function(a, b) {
p.attrhooks[b] = p.extend(p.attrhooks[b], {
set: function(a, c) {
if (c === "") return a.setattribute(b, "auto"),
c
}
})
}), p.attrhooks.contenteditable = {
get: l.get,
set: function(a, b, c) {
b === "" && (b = "false"),
l.set(a, b, c)
}
}),
p.support.hrefnormalized || p.each(["href", "src", "width", "height"],
function(a, c) {
p.attrhooks[c] = p.extend(p.attrhooks[c], {
get: function(a) {
var d = a.getattribute(c, 2);
return d === null ? b: d
}
})
}),
p.support.style || (p.attrhooks.style = {
get: function(a) {
return a.style.csstext.tolowercase() || b
},
set: function(a, b) {
return a.style.csstext = "" + b
}
}),
p.support.optselected || (p.prophooks.selected = p.extend(p.prophooks.selected, {
get: function(a) {
var b = a.parentnode;
return b && (b.selectedindex, b.parentnode && b.parentnode.selectedindex),
null
}
})),
p.support.enctype || (p.propfix.enctype = "encoding"),
p.support.checkon || p.each(["radio", "checkbox"],
function() {
p.valhooks[this] = {
get: function(a) {
return a.getattribute("value") === null ? "on": a.value
}
}
}),
p.each(["radio", "checkbox"],
function() {
p.valhooks[this] = p.extend(p.valhooks[this], {
set: function(a, b) {
if (p.isarray(b)) return a.checked = p.inarray(p(a).val(), b) >= 0
}
})
});
var v = /^(?:textarea|input|select)$/i,
w = /^([^\.]*|)(?:\.(.+)|)$/,
x = /(?:^|\s)hover(\.\s+|)\b/,
y = /^key/,
z = /^(?:mouse|contextmenu)|click/,
$ = /^(?:focusinfocus|focusoutblur)$/,
_ = function(a) {
return p.event.special.hover ? a: a.replace(x, "mouseenter$1 mouseleave$1")
};
p.event = {
add: function(a, c, d, e, f) {
var g, h, i, j, k, l, m, n, o, q, r;
if (a.nodetype === 3 || a.nodetype === 8 || !c || !d || !(g = p._data(a))) return;
d.handler && (o = d, d = o.handler, f = o.selector),
d.guid || (d.guid = p.guid++),
i = g.events,
i || (g.events = i = {}),
h = g.handle,
h || (g.handle = h = function(a) {
return typeof p != "undefined" && (!a || p.event.triggered !== a.type) ? p.event.dispatch.apply(h.elem, arguments) : b
},
h.elem = a),
c = p.trim(_(c)).split(" ");
for (j = 0; j < c.length; j++) {
k = w.exec(c[j]) || [],
l = k[1],
m = (k[2] || "").split(".").sort(),
r = p.event.special[l] || {},
l = (f ? r.delegatetype: r.bindtype) || l,
r = p.event.special[l] || {},
n = p.extend({
type: l,
origtype: k[1],
data: e,
handler: d,
guid: d.guid,
selector: f,
namespace: m.join(".")
},
o),
q = i[l];
if (!q) {
q = i[l] = [],
q.delegatecount = 0;
if (!r.setup || r.setup.call(a, e, m, h) === !1) a.addeventlistener ? a.addeventlistener(l, h, !1) : a.attachevent && a.attachevent("on" + l, h)
}
r.add && (r.add.call(a, n), n.handler.guid || (n.handler.guid = d.guid)),
f ? q.splice(q.delegatecount++, 0, n) : q.push(n),
p.event.global[l] = !0
}
a = null
},
global: {},
remove: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, n, o, q, r = p.hasdata(a) && p._data(a);
if (!r || !(m = r.events)) return;
b = p.trim(_(b || "")).split(" ");
for (f = 0; f < b.length; f++) {
g = w.exec(b[f]) || [],
h = i = g[1],
j = g[2];
if (!h) {
for (h in m) p.event.remove(a, h + b[f], c, d, !0);
continue
}
n = p.event.special[h] || {},
h = (d ? n.delegatetype: n.bindtype) || h,
o = m[h] || [],
k = o.length,
j = j ? new regexp("(^|\\.)" + j.split(".").sort().join("\\.(?:.*\\.|)") + "(\\.|$)") : null;
for (l = 0; l < o.length; l++) q = o[l],
(e || i === q.origtype) && (!c || c.guid === q.guid) && (!j || j.test(q.namespace)) && (!d || d === q.selector || d === "**" && q.selector) && (o.splice(l--, 1), q.selector && o.delegatecount--, n.remove && n.remove.call(a, q));
o.length === 0 && k !== o.length && ((!n.teardown || n.teardown.call(a, j, r.handle) === !1) && p.removeevent(a, h, r.handle), delete m[h])
}
p.isemptyobject(m) && (delete r.handle, p.removedata(a, "events", !0))
},
customevent: {
getdata: !0,
setdata: !0,
changedata: !0
},
trigger: function(c, d, f, g) {
if (!f || f.nodetype !== 3 && f.nodetype !== 8) {
var h, i, j, k, l, m, n, o, q, r, s = c.type || c,
t = [];
if ($.test(s + p.event.triggered)) return;
s.indexof("!") >= 0 && (s = s.slice(0, -1), i = !0),
s.indexof(".") >= 0 && (t = s.split("."), s = t.shift(), t.sort());
if ((!f || p.event.customevent[s]) && !p.event.global[s]) return;
c = typeof c == "object" ? c[p.expando] ? c: new p.event(s, c) : new p.event(s),
c.type = s,
c.istrigger = !0,
c.exclusive = i,
c.namespace = t.join("."),
c.namespace_re = c.namespace ? new regexp("(^|\\.)" + t.join("\\.(?:.*\\.|)") + "(\\.|$)") : null,
m = s.indexof(":") < 0 ? "on" + s: "";
if (!f) {
h = p.cache;
for (j in h) h[j].events && h[j].events[s] && p.event.trigger(c, d, h[j].handle.elem, !0);
return
}
c.result = b,
c.target || (c.target = f),
d = d != null ? p.makearray(d) : [],
d.unshift(c),
n = p.event.special[s] || {};
if (n.trigger && n.trigger.apply(f, d) === !1) return;
q = [[f, n.bindtype || s]];
if (!g && !n.nobubble && !p.iswindow(f)) {
r = n.delegatetype || s,
k = $.test(r + s) ? f: f.parentnode;
for (l = f; k; k = k.parentnode) q.push([k, r]),
l = k;
l === (f.ownerdocument || e) && q.push([l.defaultview || l.parentwindow || a, r])
}
for (j = 0; j < q.length && !c.ispropagationstopped(); j++) k = q[j][0],
c.type = q[j][1],
o = (p._data(k, "events") || {})[c.type] && p._data(k, "handle"),
o && o.apply(k, d),
o = m && k[m],
o && p.acceptdata(k) && o.apply(k, d) === !1 && c.preventdefault();
return c.type = s,
!g && !c.isdefaultprevented() && (!n._default || n._default.apply(f.ownerdocument, d) === !1) && (s !== "click" || !p.nodename(f, "a")) && p.acceptdata(f) && m && f[s] && (s !== "focus" && s !== "blur" || c.target.offsetwidth !== 0) && !p.iswindow(f) && (l = f[m], l && (f[m] = null), p.event.triggered = s, f[s](), p.event.triggered = b, l && (f[m] = l)),
c.result
}
return
},
dispatch: function(c) {
c = p.event.fix(c || a.event);
var d, e, f, g, h, i, j, k, l, m, n, o = (p._data(this, "events") || {})[c.type] || [],
q = o.delegatecount,
r = [].slice.call(arguments),
s = !c.exclusive && !c.namespace,
t = p.event.special[c.type] || {},
u = [];
r[0] = c,
c.delegatetarget = this;
if (t.predispatch && t.predispatch.call(this, c) === !1) return;
if (q && (!c.button || c.type !== "click")) {
g = p(this),
g.context = this;
for (f = c.target; f != this; f = f.parentnode || this) if (f.disabled !== !0 || c.type !== "click") {
i = {},
k = [],
g[0] = f;
for (d = 0; d < q; d++) l = o[d],
m = l.selector,
i[m] === b && (i[m] = g.is(m)),
i[m] && k.push(l);
k.length && u.push({
elem: f,
matches: k
})
}
}
o.length > q && u.push({
elem: this,
matches: o.slice(q)
});
for (d = 0; d < u.length && !c.ispropagationstopped(); d++) {
j = u[d],
c.currenttarget = j.elem;
for (e = 0; e < j.matches.length && !c.isimmediatepropagationstopped(); e++) {
l = j.matches[e];
if (s || !c.namespace && !l.namespace || c.namespace_re && c.namespace_re.test(l.namespace)) c.data = l.data,
c.handleobj = l,
h = ((p.event.special[l.origtype] || {}).handle || l.handler).apply(j.elem, r),
h !== b && (c.result = h, h === !1 && (c.preventdefault(), c.stoppropagation()))
}
}
return t.postdispatch && t.postdispatch.call(this, c),
c.result
},
props: "attrchange attrname relatednode srcelement altkey bubbles cancelable ctrlkey currenttarget eventphase metakey relatedtarget shiftkey target timestamp view which".split(" "),
fixhooks: {},
keyhooks: {
props: "char charcode key keycode".split(" "),
filter: function(a, b) {
return a.which == null && (a.which = b.charcode != null ? b.charcode: b.keycode),
a
}
},
mousehooks: {
props: "button buttons clientx clienty fromelement offsetx offsety pagex pagey screenx screeny toelement".split(" "),
filter: function(a, c) {
var d, f, g, h = c.button,
i = c.fromelement;
return a.pagex == null && c.clientx != null && (d = a.target.ownerdocument || e, f = d.documentelement, g = d.body, a.pagex = c.clientx + (f && f.scrollleft || g && g.scrollleft || 0) - (f && f.clientleft || g && g.clientleft || 0), a.pagey = c.clienty + (f && f.scrolltop || g && g.scrolltop || 0) - (f && f.clienttop || g && g.clienttop || 0)),
!a.relatedtarget && i && (a.relatedtarget = i === a.target ? c.toelement: i),
!a.which && h !== b && (a.which = h & 1 ? 1 : h & 2 ? 3 : h & 4 ? 2 : 0),
a
}
},
fix: function(a) {
if (a[p.expando]) return a;
var b, c, d = a,
f = p.event.fixhooks[a.type] || {},
g = f.props ? this.props.concat(f.props) : this.props;
a = p.event(d);
for (b = g.length; b;) c = g[--b],
a[c] = d[c];
return a.target || (a.target = d.srcelement || e),
a.target.nodetype === 3 && (a.target = a.target.parentnode),
a.metakey = !!a.metakey,
f.filter ? f.filter(a, d) : a
},
special: {
ready: {
setup: p.bindready
},
load: {
nobubble: !0
},
focus: {
delegatetype: "focusin"
},
blur: {
delegatetype: "focusout"
},
beforeunload: {
setup: function(a, b, c) {
p.iswindow(this) && (this.onbeforeunload = c)
},
teardown: function(a, b) {
this.onbeforeunload === b && (this.onbeforeunload = null)
}
}
},
simulate: function(a, b, c, d) {
var e = p.extend(new p.event, c, {
type: a,
issimulated: !0,
originalevent: {}
});
d ? p.event.trigger(e, null, b) : p.event.dispatch.call(b, e),
e.isdefaultprevented() && c.preventdefault()
}
},
p.event.handle = p.event.dispatch,
p.removeevent = e.removeeventlistener ?
function(a, b, c) {
a.removeeventlistener && a.removeeventlistener(b, c, !1)
}: function(a, b, c) {
var d = "on" + b;
a.detachevent && (typeof a[d] == "undefined" && (a[d] = null), a.detachevent(d, c))
},
p.event = function(a, b) {
if (this instanceof p.event) a && a.type ? (this.originalevent = a, this.type = a.type, this.isdefaultprevented = a.defaultprevented || a.returnvalue === !1 || a.defaultprevented && a.defaultprevented() ? bb: ba) : this.type = a,
b && p.extend(this, b),
this.timestamp = a && a.timestamp || p.now(),
this[p.expando] = !0;
else return new p.event(a, b)
},
p.event.prototype = {
preventdefault: function() {
this.isdefaultprevented = bb;
var a = this.originalevent;
if (!a) return;
a.preventdefault ? a.preventdefault() : a.returnvalue = !1
},
stoppropagation: function() {
this.ispropagationstopped = bb;
var a = this.originalevent;
if (!a) return;
a.stoppropagation && a.stoppropagation(),
a.cancelbubble = !0
},
stopimmediatepropagation: function() {
this.isimmediatepropagationstopped = bb,
this.stoppropagation()
},
isdefaultprevented: ba,
ispropagationstopped: ba,
isimmediatepropagationstopped: ba
},
p.each({
mouseenter: "mouseover",
mouseleave: "mouseout"
},
function(a, b) {
p.event.special[a] = {
delegatetype: b,
bindtype: b,
handle: function(a) {
var c, d = this,
e = a.relatedtarget,
f = a.handleobj,
g = f.selector;
if (!e || e !== d && !p.contains(d, e)) a.type = f.origtype,
c = f.handler.apply(this, arguments),
a.type = b;
return c
}
}
}),
p.support.submitbubbles || (p.event.special.submit = {
setup: function() {
if (p.nodename(this, "form")) return ! 1;
p.event.add(this, "click._submit keypress._submit",
function(a) {
var c = a.target,
d = p.nodename(c, "input") || p.nodename(c, "button") ? c.form: b;
d && !p._data(d, "_submit_attached") && (p.event.add(d, "submit._submit",
function(a) {
a._submit_bubble = !0
}), p._data(d, "_submit_attached", !0))
})
},
postdispatch: function(a) {
a._submit_bubble && (delete a._submit_bubble, this.parentnode && !a.istrigger && p.event.simulate("submit", this.parentnode, a, !0))
},
teardown: function() {
if (p.nodename(this, "form")) return ! 1;
p.event.remove(this, "._submit")
}
}),
p.support.changebubbles || (p.event.special.change = {
setup: function() {
if (v.test(this.nodename)) {
if (this.type === "checkbox" || this.type === "radio") p.event.add(this, "propertychange._change",
function(a) {
a.originalevent.propertyname === "checked" && (this._just_changed = !0)
}),
p.event.add(this, "click._change",
function(a) {
this._just_changed && !a.istrigger && (this._just_changed = !1),
p.event.simulate("change", this, a, !0)
});
return ! 1
}
p.event.add(this, "beforeactivate._change",
function(a) {
var b = a.target;
v.test(b.nodename) && !p._data(b, "_change_attached") && (p.event.add(b, "change._change",
function(a) {
this.parentnode && !a.issimulated && !a.istrigger && p.event.simulate("change", this.parentnode, a, !0)
}), p._data(b, "_change_attached", !0))
})
},
handle: function(a) {
var b = a.target;
if (this !== b || a.issimulated || a.istrigger || b.type !== "radio" && b.type !== "checkbox") return a.handleobj.handler.apply(this, arguments)
},
teardown: function() {
return p.event.remove(this, "._change"),
v.test(this.nodename)
}
}),
p.support.focusinbubbles || p.each({
focus: "focusin",
blur: "focusout"
},
function(a, b) {
var c = 0,
d = function(a) {
p.event.simulate(b, a.target, p.event.fix(a), !0)
};
p.event.special[b] = {
setup: function() {
c++===0 && e.addeventlistener(a, d, !0)
},
teardown: function() {--c === 0 && e.removeeventlistener(a, d, !0)
}
}
}),
p.fn.extend({
on: function(a, c, d, e, f) {
var g, h;
if (typeof a == "object") {
typeof c != "string" && (d = d || c, c = b);
for (h in a) this.on(h, c, d, a[h], f);
return this
}
d == null && e == null ? (e = c, d = c = b) : e == null && (typeof c == "string" ? (e = d, d = b) : (e = d, d = c, c = b));
if (e === !1) e = ba;
else if (!e) return this;
return f === 1 && (g = e, e = function(a) {
return p().off(a),
g.apply(this, arguments)
},
e.guid = g.guid || (g.guid = p.guid++)),
this.each(function() {
p.event.add(this, a, e, d, c)
})
},
one: function(a, b, c, d) {
return this.on(a, b, c, d, 1)
},
off: function(a, c, d) {
var e, f;
if (a && a.preventdefault && a.handleobj) return e = a.handleobj,
p(a.delegatetarget).off(e.namespace ? e.origtype + "." + e.namespace: e.origtype, e.selector, e.handler),
this;
if (typeof a == "object") {
for (f in a) this.off(f, c, a[f]);
return this
}
if (c === !1 || typeof c == "function") d = c,
c = b;
return d === !1 && (d = ba),
this.each(function() {
p.event.remove(this, a, d, c)
})
},
bind: function(a, b, c) {
return this.on(a, null, b, c)
},
unbind: function(a, b) {
return this.off(a, null, b)
},
live: function(a, b, c) {
return p(this.context).on(a, this.selector, b, c),
this
},
die: function(a, b) {
return p(this.context).off(a, this.selector || "**", b),
this
},
delegate: function(a, b, c, d) {
return this.on(b, a, c, d)
},
undelegate: function(a, b, c) {
return arguments.length == 1 ? this.off(a, "**") : this.off(b, a || "**", c)
},
trigger: function(a, b) {
return this.each(function() {
p.event.trigger(a, b, this)
})
},
triggerhandler: function(a, b) {
if (this[0]) return p.event.trigger(a, b, this[0], !0)
},
toggle: function(a) {
var b = arguments,
c = a.guid || p.guid++,
d = 0,
e = function(c) {
var e = (p._data(this, "lasttoggle" + a.guid) || 0) % d;
return p._data(this, "lasttoggle" + a.guid, e + 1),
c.preventdefault(),
b[e].apply(this, arguments) || !1
};
e.guid = c;
while (d < b.length) b[d++].guid = c;
return this.click(e)
},
hover: function(a, b) {
return this.mouseenter(a).mouseleave(b || a)
}
}),
p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a, b) {
p.fn[b] = function(a, c) {
return c == null && (c = a, a = null),
arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
},
y.test(b) && (p.event.fixhooks[b] = p.event.keyhooks),
z.test(b) && (p.event.fixhooks[b] = p.event.mousehooks)
}),
function(a, b) {
function bd(a, b, c, d) {
var e = 0,
f = b.length;
for (; e < f; e++) z(a, b[e], c, d)
}
function be(a, b, c, d, e, f) {
var g, h = $.setfilters[b.tolowercase()];
return h || z.error(b),
(a || !(g = e)) && bd(a || "*", d, g = [], e),
g.length > 0 ? h(g, c, f) : []
}
function bf(a, c, d, e, f) {
var g, h, i, j, k, l, m, n, p = 0,
q = f.length,
s = l.pos,
t = new regexp("^" + s.source + "(?!" + r + ")", "i"),
u = function() {
var a = 1,
c = arguments.length - 2;
for (; a < c; a++) arguments[a] === b && (g[a] = b)
};
for (; p < q; p++) {
s.exec(""),
a = f[p],
j = [],
i = 0,
k = e;
while (g = s.exec(a)) {
n = s.lastindex = g.index + g[0].length;
if (n > i) {
m = a.slice(i, g.index),
i = n,
l = [c],
b.test(m) && (k && (l = k), k = e);
if (h = h.test(m)) m = m.slice(0, -5).replace(b, "$&*");
g.length > 1 && g[0].replace(t, u),
k = be(m, g[1], g[2], l, k, h)
}
}
k ? (j = j.concat(k), (m = a.slice(i)) && m !== ")" ? b.test(m) ? bd(m, j, d, e) : z(m, c, d, e ? e.concat(k) : k) : o.apply(d, j)) : z(a, c, d, e)
}
return q === 1 ? d: z.uniquesort(d)
}
function bg(a, b, c) {
var d, e, f, g = [],
i = 0,
j = d.exec(a),
k = !j.pop() && !j.pop(),
l = k && a.match(c) || [""],
m = $.prefilter,
n = $.filter,
o = !c && b !== h;
for (; (e = l[i]) != null && k; i++) {
g.push(d = []),
o && (e = " " + e);
while (e) {
k = !1;
if (j = b.exec(e)) e = e.slice(j[0].length),
k = d.push({
part: j.pop().replace(a, " "),
captures: j
});
for (f in n)(j = l[f].exec(e)) && (!m[f] || (j = m[f](j, b, c))) && (e = e.slice(j.shift().length), k = d.push({
part: f,
captures: j
}));
if (!k) break
}
}
return k || z.error(a),
g
}
function bh(a, b, e) {
var f = b.dir,
g = m++;
return a || (a = function(a) {
return a === e
}),
b.first ?
function(b, c) {
while (b = b[f]) if (b.nodetype === 1) return a(b, c) && b
}: function(b, e) {
var h, i = g + "." + d,
j = i + "." + c;
while (b = b[f]) if (b.nodetype === 1) {
if ((h = b[q]) === j) return b.sizset;
if (typeof h == "string" && h.indexof(i) === 0) {
if (b.sizset) return b
} else {
b[q] = j;
if (a(b, e)) return b.sizset = !0,
b;
b.sizset = !1
}
}
}
}
function bi(a, b) {
return a ?
function(c, d) {
var e = b(c, d);
return e && a(e === !0 ? c: e, d)
}: b
}
function bj(a, b, c) {
var d, e, f = 0;
for (; d = a[f]; f++) $.relative[d.part] ? e = bh(e, $.relative[d.part], b) : (d.captures.push(b, c), e = bi(e, $.filter[d.part].apply(null, d.captures)));
return e
}
function bk(a) {
return function(b, c) {
var d, e = 0;
for (; d = a[e]; e++) if (d(b, c)) return ! 0;
return ! 1
}
}
var c, d, e, f, g, h = a.document,
i = h.documentelement,
j = "undefined",
k = !1,
l = !0,
m = 0,
n = [].slice,
o = [].push,
q = ("sizcache" + math.random()).replace(".", ""),
r = "[\\x20\\t\\r\\n\\f]",
s = "(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",
t = s.replace("w", "w#"),
u = "([*^$|!~]?=)",
v = "\\[" + r + "*(" + s + ")" + r + "*(?:" + u + r + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + t + ")|)|)" + r + "*\\]",
w = ":(" + s + ")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",
x = ":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",
y = r + "*([\\x20\\t\\r\\n\\f>+~])" + r + "*",
z = "(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|" + v + "|" + w.replace(2, 7) + "|[^\\\\(),])+",
a = new regexp("^" + r + "+|((?:^|[^\\\\])(?:\\\\.)*)" + r + "+$", "g"),
b = new regexp("^" + y),
c = new regexp(z + "?(?=" + r + "*,|$)", "g"),
d = new regexp("^(?:(?!,)(?:(?:^|,)" + r + "*" + z + ")*?|" + r + "*(.*?))(\\)|$)"),
e = new regexp(z.slice(19, -6) + "\\x20\\t\\r\\n\\f>+~])+|" + y, "g"),
f = /^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,
g = /[\x20\t\r\n\f]*[+~]/,
h = /:not\($/,
i = /h\d/i,
j = /input|select|textarea|button/i,
k = /\\(?!\\)/g,
l = {
id: new regexp("^#(" + s + ")"),
class: new regexp("^\\.(" + s + ")"),
name: new regexp("^\\[name=['\"]?(" + s + ")['\"]?\\]"),
tag: new regexp("^(" + s.replace("[-", "[-\\*") + ")"),
attr: new regexp("^" + v),
pseudo: new regexp("^" + w),
child: new regexp("^:(only|nth|last|first)-child(?:\\(" + r + "*(even|odd|(([+-]|)(\\d*)n|)" + r + "*(?:([+-]|)" + r + "*(\\d+)|))" + r + "*\\)|)", "i"),
pos: new regexp(x, "ig"),
needscontext: new regexp("^" + r + "*[>+~]|" + x, "i")
},
m = {},
n = [],
o = {},
p = [],
q = function(a) {
return a.sizzlefilter = !0,
a
},
r = function(a) {
return function(b) {
return b.nodename.tolowercase() === "input" && b.type === a
}
},
s = function(a) {
return function(b) {
var c = b.nodename.tolowercase();
return (c === "input" || c === "button") && b.type === a
}
},
t = function(a) {
var b = !1,
c = h.createelement("div");
try {
b = a(c)
} catch(d) {}
return c = null,
b
},
u = t(function(a) {
a.innerhtml = "";
var b = typeof a.lastchild.getattribute("multiple");
return b !== "boolean" && b !== "string"
}),
v = t(function(a) {
a.id = q + 0,
a.innerhtml = "",
i.insertbefore(a, i.firstchild);
var b = h.getelementsbyname && h.getelementsbyname(q).length === 2 + h.getelementsbyname(q + 0).length;
return g = !h.getelementbyid(q),
i.removechild(a),
b
}),
w = t(function(a) {
return a.appendchild(h.createcomment("")),
a.getelementsbytagname("*").length === 0
}),
x = t(function(a) {
return a.innerhtml = "",
a.firstchild && typeof a.firstchild.getattribute !== j && a.firstchild.getattribute("href") === "#"
}),
y = t(function(a) {
return a.innerhtml = "",
!a.getelementsbyclassname || a.getelementsbyclassname("e").length === 0 ? !1 : (a.lastchild.classname = "e", a.getelementsbyclassname("e").length !== 1)
}),
z = function(a, b, c, d) {
c = c || [],
b = b || h;
var e, f, g, i, j = b.nodetype;
if (j !== 1 && j !== 9) return [];
if (!a || typeof a != "string") return c;
g = ba(b);
if (!g && !d) if (e = f.exec(a)) if (i = e[1]) {
if (j === 9) {
f = b.getelementbyid(i);
if (!f || !f.parentnode) return c;
if (f.id === i) return c.push(f),
c
} else if (b.ownerdocument && (f = b.ownerdocument.getelementbyid(i)) && bb(b, f) && f.id === i) return c.push(f),
c
} else {
if (e[2]) return o.apply(c, n.call(b.getelementsbytagname(a), 0)),
c;
if ((i = e[3]) && y && b.getelementsbyclassname) return o.apply(c, n.call(b.getelementsbyclassname(i), 0)),
c
}
return bm(a, b, c, d, g)
},
$ = z.selectors = {
cachelength: 50,
match: l,
order: ["id", "tag"],
attrhandle: {},
createpseudo: q,
find: {
id: g ?
function(a, b, c) {
if (typeof b.getelementbyid !== j && !c) {
var d = b.getelementbyid(a);
return d && d.parentnode ? [d] : []
}
}: function(a, c, d) {
if (typeof c.getelementbyid !== j && !d) {
var e = c.getelementbyid(a);
return e ? e.id === a || typeof e.getattributenode !== j && e.getattribute("id").value === a ? [e] : b: []
}
},
tag: w ?
function(a, b) {
if (typeof b.getelementsbytagname !== j) return b.getelementsbytagname(a)
}: function(a, b) {
var c = b.getelementsbytagname(a);
if (a === "*") {
var d, e = [],
f = 0;
for (; d = c[f]; f++) d.nodetype === 1 && e.push(d);
return e
}
return c
}
},
relative: {
">": {
dir: "parentnode",
first: !0
},
" ": {
dir: "parentnode"
},
"+": {
dir: "previoussibling",
first: !0
},
"~": {
dir: "previoussibling"
}
},
prefilter: {
attr: function(a) {
return a[1] = a[1].replace(k, ""),
a[3] = (a[4] || a[5] || "").replace(k, ""),
a[2] === "~=" && (a[3] = " " + a[3] + " "),
a.slice(0, 4)
},
child: function(a) {
return a[1] = a[1].tolowercase(),
a[1] === "nth" ? (a[2] || z.error(a[0]), a[3] = +(a[3] ? a[4] + (a[5] || 1) : 2 * (a[2] === "even" || a[2] === "odd")), a[4] = +(a[6] + a[7] || a[2] === "odd")) : a[2] && z.error(a[0]),
a
},
pseudo: function(a) {
var b, c = a[4];
return l.child.test(a[0]) ? null: (c && (b = d.exec(c)) && b.pop() && (a[0] = a[0].slice(0, b[0].length - c.length - 1), c = b[0].slice(0, -1)), a.splice(2, 3, c || a[3]), a)
}
},
filter: {
id: g ?
function(a) {
return a = a.replace(k, ""),
function(b) {
return b.getattribute("id") === a
}
}: function(a) {
return a = a.replace(k, ""),
function(b) {
var c = typeof b.getattributenode !== j && b.getattribute("id");
return c && c.value === a
}
},
tag: function(a) {
return a === "*" ?
function() {
return ! 0
}: (a = a.replace(k, "").tolowercase(),
function(b) {
return b.nodename && b.nodename.tolowercase() === a
})
},
class: function(a) {
var b = m[a];
return b || (b = m[a] = new regexp("(^|" + r + ")" + a + "(" + r + "|$)"), n.push(a), n.length > $.cachelength && delete m[n.shift()]),
function(a) {
return b.test(a.classname || typeof a.getattribute !== j && a.getattribute("class") || "")
}
},
attr: function(a, b, c) {
return b ?
function(d) {
var e = z.attr(d, a),
f = e + "";
if (e == null) return b === "!=";
switch (b) {
case "=":
return f === c;
case "!=":
return f !== c;
case "^=":
return c && f.indexof(c) === 0;
case "*=":
return c && f.indexof(c) > -1;
case "$=":
return c && f.substr(f.length - c.length) === c;
case "~=":
return (" " + f + " ").indexof(c) > -1;
case "|=":
return f === c || f.substr(0, c.length + 1) === c + "-"
}
}: function(b) {
return z.attr(b, a) != null
}
},
child: function(a, b, c, d) {
if (a === "nth") {
var e = m++;
return function(a) {
var b, f, g = 0,
h = a;
if (c === 1 && d === 0) return ! 0;
b = a.parentnode;
if (b && (b[q] !== e || !a.sizset)) {
for (h = b.firstchild; h; h = h.nextsibling) if (h.nodetype === 1) {
h.sizset = ++g;
if (h === a) break
}
b[q] = e
}
return f = a.sizset - d,
c === 0 ? f === 0 : f % c === 0 && f / c >= 0
}
}
return function(b) {
var c = b;
switch (a) {
case "only":
case "first":
while (c = c.previoussibling) if (c.nodetype === 1) return ! 1;
if (a === "first") return ! 0;
c = b;
case "last":
while (c = c.nextsibling) if (c.nodetype === 1) return ! 1;
return ! 0
}
}
},
pseudo: function(a, b, c, d) {
var e = $.pseudos[a] || $.pseudos[a.tolowercase()];
return e || z.error("unsupported pseudo: " + a),
e.sizzlefilter ? e(b, c, d) : e
}
},
pseudos: {
not: q(function(a, b, c) {
var d = bl(a.replace(a, "$1"), b, c);
return function(a) {
return ! d(a)
}
}),
enabled: function(a) {
return a.disabled === !1
},
disabled: function(a) {
return a.disabled === !0
},
checked: function(a) {
var b = a.nodename.tolowercase();
return b === "input" && !!a.checked || b === "option" && !!a.selected
},
selected: function(a) {
return a.parentnode && a.parentnode.selectedindex,
a.selected === !0
},
parent: function(a) {
return ! $.pseudos.empty(a)
},
empty: function(a) {
var b;
a = a.firstchild;
while (a) {
if (a.nodename > "@" || (b = a.nodetype) === 3 || b === 4) return ! 1;
a = a.nextsibling
}
return ! 0
},
contains: q(function(a) {
return function(b) {
return (b.textcontent || b.innertext || bc(b)).indexof(a) > -1
}
}),
has: q(function(a) {
return function(b) {
return z(a, b).length > 0
}
}),
header: function(a) {
return i.test(a.nodename)
},
text: function(a) {
var b, c;
return a.nodename.tolowercase() === "input" && (b = a.type) === "text" && ((c = a.getattribute("type")) == null || c.tolowercase() === b)
},
radio: r("radio"),
checkbox: r("checkbox"),
file: r("file"),
password: r("password"),
image: r("image"),
submit: s("submit"),
reset: s("reset"),
button: function(a) {
var b = a.nodename.tolowercase();
return b === "input" && a.type === "button" || b === "button"
},
input: function(a) {
return j.test(a.nodename)
},
focus: function(a) {
var b = a.ownerdocument;
return a === b.activeelement && (!b.hasfocus || b.hasfocus()) && ( !! a.type || !!a.href)
},
active: function(a) {
return a === a.ownerdocument.activeelement
}
},
setfilters: {
first: function(a, b, c) {
return c ? a.slice(1) : [a[0]]
},
last: function(a, b, c) {
var d = a.pop();
return c ? a: [d]
},
even: function(a, b, c) {
var d = [],
e = c ? 1 : 0,
f = a.length;
for (; e < f; e = e + 2) d.push(a[e]);
return d
},
odd: function(a, b, c) {
var d = [],
e = c ? 0 : 1,
f = a.length;
for (; e < f; e = e + 2) d.push(a[e]);
return d
},
lt: function(a, b, c) {
return c ? a.slice( + b) : a.slice(0, +b)
},
gt: function(a, b, c) {
return c ? a.slice(0, +b + 1) : a.slice( + b + 1)
},
eq: function(a, b, c) {
var d = a.splice( + b, 1);
return c ? a: d
}
}
};
$.setfilters.nth = $.setfilters.eq,
$.filters = $.pseudos,
x || ($.attrhandle = {
href: function(a) {
return a.getattribute("href", 2)
},
type: function(a) {
return a.getattribute("type")
}
}),
v && ($.order.push("name"), $.find.name = function(a, b) {
if (typeof b.getelementsbyname !== j) return b.getelementsbyname(a)
}),
y && ($.order.splice(1, 0, "class"), $.find.class = function(a, b, c) {
if (typeof b.getelementsbyclassname !== j && !c) return b.getelementsbyclassname(a)
});
try {
n.call(i.childnodes, 0)[0].nodetype
} catch(_) {
n = function(a) {
var b, c = [];
for (; b = this[a]; a++) c.push(b);
return c
}
}
var ba = z.isxml = function(a) {
var b = a && (a.ownerdocument || a).documentelement;
return b ? b.nodename !== "html": !1
},
bb = z.contains = i.comparedocumentposition ?
function(a, b) {
return !! (a.comparedocumentposition(b) & 16)
}: i.contains ?
function(a, b) {
var c = a.nodetype === 9 ? a.documentelement: a,
d = b.parentnode;
return a === d || !!(d && d.nodetype === 1 && c.contains && c.contains(d))
}: function(a, b) {
while (b = b.parentnode) if (b === a) return ! 0;
return ! 1
},
bc = z.gettext = function(a) {
var b, c = "",
d = 0,
e = a.nodetype;
if (e) {
if (e === 1 || e === 9 || e === 11) {
if (typeof a.textcontent == "string") return a.textcontent;
for (a = a.firstchild; a; a = a.nextsibling) c += bc(a)
} else if (e === 3 || e === 4) return a.nodevalue
} else for (; b = a[d]; d++) c += bc(b);
return c
};
z.attr = function(a, b) {
var c, d = ba(a);
return d || (b = b.tolowercase()),
$.attrhandle[b] ? $.attrhandle[b](a) : u || d ? a.getattribute(b) : (c = a.getattribute(b), c ? typeof a[b] == "boolean" ? a[b] ? b: null: c.specified ? c.value: null: null)
},
z.error = function(a) {
throw new error("syntax error, unrecognized expression: " + a)
},
[0, 0].sort(function() {
return l = 0
}),
i.comparedocumentposition ? e = function(a, b) {
return a === b ? (k = !0, 0) : (!a.comparedocumentposition || !b.comparedocumentposition ? a.comparedocumentposition: a.comparedocumentposition(b) & 4) ? -1 : 1
}: (e = function(a, b) {
if (a === b) return k = !0,
0;
if (a.sourceindex && b.sourceindex) return a.sourceindex - b.sourceindex;
var c, d, e = [],
g = [],
h = a.parentnode,
i = b.parentnode,
j = h;
if (h === i) return f(a, b);
if (!h) return - 1;
if (!i) return 1;
while (j) e.unshift(j),
j = j.parentnode;
j = i;
while (j) g.unshift(j),
j = j.parentnode;
c = e.length,
d = g.length;
for (var l = 0; l < c && l < d; l++) if (e[l] !== g[l]) return f(e[l], g[l]);
return l === c ? f(a, g[l], -1) : f(e[l], b, 1)
},
f = 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
}),
z.uniquesort = function(a) {
var b, c = 1;
if (e) {
k = l,
a.sort(e);
if (k) for (; b = a[c]; c++) b === a[c - 1] && a.splice(c--, 1)
}
return a
};
var bl = z.compile = function(a, b, c) {
var d, e, f, g = o[a];
if (g && g.context === b) return g;
e = bg(a, b, c);
for (f = 0; d = e[f]; f++) e[f] = bj(d, b, c);
return g = o[a] = bk(e),
g.context = b,
g.runs = g.dirruns = 0,
p.push(a),
p.length > $.cachelength && delete o[p.shift()],
g
};
z.matches = function(a, b) {
return z(a, null, null, b)
},
z.matchesselector = function(a, b) {
return z(b, null, null, [a]).length > 0
};
var bm = function(a, b, e, f, g) {
a = a.replace(a, "$1");
var h, i, j, k, l, m, p, q, r, s = a.match(c),
t = a.match(e),
u = b.nodetype;
if (l.pos.test(a)) return bf(a, b, e, f, s);
if (f) h = n.call(f, 0);
else if (s && s.length === 1) {
if (t.length > 1 && u === 9 && !g && (s = l.id.exec(t[0]))) {
b = $.find.id(s[1], b, g)[0];
if (!b) return e;
a = a.slice(t.shift().length)
}
q = (s = g.exec(t[0])) && !s.index && b.parentnode || b,
r = t.pop(),
m = r.split(":not")[0];
for (j = 0, k = $.order.length; j < k; j++) {
p = $.order[j];
if (s = l[p].exec(m)) {
h = $.find[p]((s[1] || "").replace(k, ""), q, g);
if (h == null) continue;
m === r && (a = a.slice(0, a.length - r.length) + m.replace(l[p], ""), a || o.apply(e, n.call(h, 0)));
break
}
}
}
if (a) {
i = bl(a, b, g),
d = i.dirruns++,
h == null && (h = $.find.tag("*", g.test(a) && b.parentnode || b));
for (j = 0; l = h[j]; j++) c = i.runs++,
i(l, b) && e.push(l)
}
return e
};
h.queryselectorall &&
function() {
var a, b = bm,
c = /'|\\/g,
d = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,
e = [],
f = [":active"],
g = i.matchesselector || i.mozmatchesselector || i.webkitmatchesselector || i.omatchesselector || i.msmatchesselector;
t(function(a) {
a.innerhtml = "",
a.queryselectorall("[selected]").length || e.push("\\[" + r + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),
a.queryselectorall(":checked").length || e.push(":checked")
}),
t(function(a) {
a.innerhtml = "",
a.queryselectorall("[test^='']").length && e.push("[*^$]=" + r + "*(?:\"\"|'')"),
a.innerhtml = "",
a.queryselectorall(":enabled").length || e.push(":enabled", ":disabled")
}),
e = e.length && new regexp(e.join("|")),
bm = function(a, d, f, g, h) {
if (!g && !h && (!e || !e.test(a))) if (d.nodetype === 9) try {
return o.apply(f, n.call(d.queryselectorall(a), 0)),
f
} catch(i) {} else if (d.nodetype === 1 && d.nodename.tolowercase() !== "object") {
var j = d.getattribute("id"),
k = j || q,
l = g.test(a) && d.parentnode || d;
j ? k = k.replace(c, "\\$&") : d.setattribute("id", k);
try {
return o.apply(f, n.call(l.queryselectorall(a.replace(c, "[id='" + k + "'] $&")), 0)),
f
} catch(i) {} finally {
j || d.removeattribute("id")
}
}
return b(a, d, f, g, h)
},
g && (t(function(b) {
a = g.call(b, "div");
try {
g.call(b, "[test!='']:sizzle"),
f.push($.match.pseudo)
} catch(c) {}
}), f = new regexp(f.join("|")), z.matchesselector = function(b, c) {
c = c.replace(d, "='$1']");
if (!ba(b) && !f.test(c) && (!e || !e.test(c))) try {
var h = g.call(b, c);
if (h || a || b.document && b.document.nodetype !== 11) return h
} catch(i) {}
return z(c, null, null, [b]).length > 0
})
} (),
z.attr = p.attr,
p.find = z,
p.expr = z.selectors,
p.expr[":"] = p.expr.pseudos,
p.unique = z.uniquesort,
p.text = z.gettext,
p.isxmldoc = z.isxml,
p.contains = z.contains
} (a);
var bc = /until$/,
bd = /^(?:parents|prev(?:until|all))/,
be = /^.[^:#\[\.,]*$/,
bf = p.expr.match.needscontext,
bg = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
p.fn.extend({
find: function(a) {
var b, c, d, e, f, g, h = this;
if (typeof a != "string") return p(a).filter(function() {
for (b = 0, c = h.length; b < c; b++) if (p.contains(h[b], this)) return ! 0
});
g = this.pushstack("", "find", a);
for (b = 0, c = this.length; b < c; b++) {
d = g.length,
p.find(a, this[b], g);
if (b > 0) for (e = d; e < g.length; e++) for (f = 0; f < d; f++) if (g[f] === g[e]) {
g.splice(e--, 1);
break
}
}
return g
},
has: function(a) {
var b, c = p(a, this),
d = c.length;
return this.filter(function() {
for (b = 0; b < d; b++) if (p.contains(this, c[b])) return ! 0
})
},
not: function(a) {
return this.pushstack(bj(this, a, !1), "not", a)
},
filter: function(a) {
return this.pushstack(bj(this, a, !0), "filter", a)
},
is: function(a) {
return !! a && (typeof a == "string" ? bf.test(a) ? p(a, this.context).index(this[0]) >= 0 : p.filter(a, this).length > 0 : this.filter(a).length > 0)
},
closest: function(a, b) {
var c, d = 0,
e = this.length,
f = [],
g = bf.test(a) || typeof a != "string" ? p(a, b || this.context) : 0;
for (; d < e; d++) {
c = this[d];
while (c && c.ownerdocument && c !== b && c.nodetype !== 11) {
if (g ? g.index(c) > -1 : p.find.matchesselector(c, a)) {
f.push(c);
break
}
c = c.parentnode
}
}
return f = f.length > 1 ? p.unique(f) : f,
this.pushstack(f, "closest", a)
},
index: function(a) {
return a ? typeof a == "string" ? p.inarray(this[0], p(a)) : p.inarray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentnode ? this.prevall().length: -1
},
add: function(a, b) {
var c = typeof a == "string" ? p(a, b) : p.makearray(a && a.nodetype ? [a] : a),
d = p.merge(this.get(), c);
return this.pushstack(bh(c[0]) || bh(d[0]) ? d: p.unique(d))
},
addback: function(a) {
return this.add(a == null ? this.prevobject: this.prevobject.filter(a))
}
}),
p.fn.andself = p.fn.addback,
p.each({
parent: function(a) {
var b = a.parentnode;
return b && b.nodetype !== 11 ? b: null
},
parents: function(a) {
return p.dir(a, "parentnode")
},
parentsuntil: function(a, b, c) {
return p.dir(a, "parentnode", c)
},
next: function(a) {
return bi(a, "nextsibling")
},
prev: function(a) {
return bi(a, "previoussibling")
},
nextall: function(a) {
return p.dir(a, "nextsibling")
},
prevall: function(a) {
return p.dir(a, "previoussibling")
},
nextuntil: function(a, b, c) {
return p.dir(a, "nextsibling", c)
},
prevuntil: function(a, b, c) {
return p.dir(a, "previoussibling", c)
},
siblings: function(a) {
return p.sibling((a.parentnode || {}).firstchild, a)
},
children: function(a) {
return p.sibling(a.firstchild)
},
contents: function(a) {
return p.nodename(a, "iframe") ? a.contentdocument || a.contentwindow.document: p.merge([], a.childnodes)
}
},
function(a, b) {
p.fn[a] = function(c, d) {
var e = p.map(this, b, c);
return bc.test(a) || (d = c),
d && typeof d == "string" && (e = p.filter(d, e)),
e = this.length > 1 && !bg[a] ? p.unique(e) : e,
this.length > 1 && bd.test(a) && (e = e.reverse()),
this.pushstack(e, a, k.call(arguments).join(","))
}
}),
p.extend({
filter: function(a, b, c) {
return c && (a = ":not(" + a + ")"),
b.length === 1 ? p.find.matchesselector(b[0], a) ? [b[0]] : [] : p.find.matches(a, b)
},
dir: function(a, c, d) {
var e = [],
f = a[c];
while (f && f.nodetype !== 9 && (d === b || f.nodetype !== 1 || !p(f).is(d))) f.nodetype === 1 && e.push(f),
f = f[c];
return e
},
sibling: function(a, b) {
var c = [];
for (; a; a = a.nextsibling) a.nodetype === 1 && a !== b && c.push(a);
return c
}
});
var bl = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
bm = / jquery\d+="(?:null|\d+)"/g,
bn = /^\s+/,
bo = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
bp = /<([\w:]+)/,
bq = /]", "i"),
bv = /^(?:checkbox|radio)$/,
bw = /checked\s*(?:[^=]|=\s*.checked.)/i,
bx = /\/(java|ecma)script/i,
by = /^\s*\s*$/g,
bz = {
option: [1, ""],
legend: [1, ""],
thead: [1, "