(function(E, v) {
function Fa(a, b, d) {
if (d === v && a.nodeType === 1) {
d = "data-" + b.replace(pb, "$1-$2").toLowerCase();
d = a.getAttribute(d);
if (typeof d === "string") {
try {
d = d === "true" ? true : d === "false" ? false
: d === "null" ? null : !c.isNaN(d) ? parseFloat(d)
: qb.test(d) ? c.parseJSON(d) : d
} catch (e) {
}
c.data(a, b, d)
} else
d = v
}
return d
}
function ra(a) {
for ( var b in a)
if (b !== "toJSON")
return false;
return true
}
function Ga(a, b, d) {
var e = b + "defer", f = b + "queue", g = b + "mark", i = c.data(a, e,
v, true);
if (i && (d === "queue" || !c.data(a, f, v, true))
&& (d === "mark" || !c.data(a, g, v, true)))
setTimeout(function() {
if (!c.data(a, f, v, true) && !c.data(a, g, v, true)) {
c.removeData(a, e, true);
i.resolve()
}
}, 0)
}
function V() {
return false
}
function ia() {
return true
}
function Ha(a, b, d) {
var e = c.extend({}, d[0]);
e.type = a;
e.originalEvent = {};
e.liveFired = v;
c.event.handle.call(b, e);
e.isDefaultPrevented() && d[0].preventDefault()
}
function rb(a) {
var b, d, e, f, g, i, l, m, o, s, A, G = [];
f = [];
g = c._data(this, "events");
if (!(a.liveFired === this || !g || !g.live || a.target.disabled || a.button
&& a.type === "click")) {
if (a.namespace)
A = RegExp("(^|\\.)"
+ a.namespace.split(".").join("\\.(?:.*\\.)?")
+ "(\\.|$)");
a.liveFired = this;
var F = g.live.slice(0);
for (l = 0; l < F.length; l++) {
g = F[l];
g.origType.replace(sa, "") === a.type ? f.push(g.selector) : F
.splice(l--, 1)
}
f = c(a.target).closest(f, a.currentTarget);
m = 0;
for (o = f.length; m < o; m++) {
s = f[m];
for (l = 0; l < F.length; l++) {
g = F[l];
if (s.selector === g.selector
&& (!A || A.test(g.namespace)) && !s.elem.disabled) {
i = s.elem;
e = null;
if (g.preType === "mouseenter"
|| g.preType === "mouseleave") {
a.type = g.preType;
if ((e = c(a.relatedTarget).closest(g.selector)[0])
&& c.contains(i, e))
e = i
}
if (!e || e !== i)
G.push({
elem : i,
handleObj : g,
level : s.level
})
}
}
}
m = 0;
for (o = G.length; m < o; m++) {
f = G[m];
if (d && f.level > d)
break;
a.currentTarget = f.elem;
a.data = f.handleObj.data;
a.handleObj = f.handleObj;
A = f.handleObj.origHandler.apply(f.elem, arguments);
if (A === false || a.isPropagationStopped()) {
d = f.level;
if (A === false)
b = false;
if (a.isImmediatePropagationStopped())
break
}
}
return b
}
}
function ja(a, b) {
return (a && a !== "*" ? a + "." : "")
+ b.replace(sb, "`").replace(tb, "&")
}
function Ia(a, b, d) {
b = b || 0;
if (c.isFunction(b))
return c.grep(a, function(f, g) {
return !!b.call(f, g, f) === d
});
else if (b.nodeType)
return c.grep(a, function(f) {
return f === b === d
});
else if (typeof b === "string") {
var e = c.grep(a, function(f) {
return f.nodeType === 1
});
if (ub.test(b))
return c.filter(b, e, !d);
else
b = c.filter(b, e)
}
return c.grep(a, function(f) {
return c.inArray(f, b) >= 0 === d
})
}
function Ja(a, b) {
if (!(b.nodeType !== 1 || !c.hasData(a))) {
var d = c.expando, e = c.data(a), f = c.data(b, e);
if (e = e[d]) {
var g = e.events;
f = f[d] = c.extend({}, e);
if (g) {
delete f.handle;
f.events = {};
for ( var i in g) {
d = 0;
for (e = g[i].length; d < e; d++)
c.event.add(b, i + (g[i][d].namespace ? "." : "")
+ g[i][d].namespace, g[i][d], g[i][d].data)
}
}
}
}
}
function Ka(a, b) {
var d;
if (b.nodeType === 1) {
b.clearAttributes && b.clearAttributes();
b.mergeAttributes && b.mergeAttributes(a);
d = b.nodeName.toLowerCase();
if (d === "object")
b.outerHTML = a.outerHTML;
else if (d === "input"
&& (a.type === "checkbox" || a.type === "radio")) {
if (a.checked)
b.defaultChecked = b.checked = a.checked;
if (b.value !== a.value)
b.value = a.value
} else if (d === "option")
b.selected = a.defaultSelected;
else if (d === "input" || d === "textarea")
b.defaultValue = a.defaultValue;
b.removeAttribute(c.expando)
}
}
function ka(a) {
return "getElementsByTagName" in a ? a.getElementsByTagName("*")
: "querySelectorAll" in a ? a.querySelectorAll("*") : []
}
function La(a) {
if (a.type === "checkbox" || a.type === "radio")
a.defaultChecked = a.checked
}
function Ma(a) {
if (c.nodeName(a, "input"))
La(a);
else
"getElementsByTagName" in a
&& c.grep(a.getElementsByTagName("input"), La)
}
function vb(a, b) {
b.src ? c.ajax({
url : b.src,
async : false,
dataType : "script"
}) : c.globalEval((b.text || b.textContent || b.innerHTML || "")
.replace(wb, "/*$0*/"));
b.parentNode && b.parentNode.removeChild(b)
}
function Na(a, b, d) {
var e = b === "width" ? a.offsetWidth : a.offsetHeight, f = b === "width" ? xb
: yb;
if (e > 0) {
d !== "border" && c.each(f, function() {
d || (e -= parseFloat(c.css(a, "padding" + this)) || 0);
if (d === "margin")
e += parseFloat(c.css(a, d + this)) || 0;
else
e -= parseFloat(c.css(a, "border" + this + "Width")) || 0
});
return e + "px"
}
e = aa(a, b, b);
if (e < 0 || e == null)
e = a.style[b] || 0;
e = parseFloat(e) || 0;
d && c.each(f, function() {
e += parseFloat(c.css(a, "padding" + this)) || 0;
if (d !== "padding")
e += parseFloat(c.css(a, "border" + this + "Width")) || 0;
if (d === "margin")
e += parseFloat(c.css(a, d + this)) || 0
});
return e + "px"
}
function Oa(a) {
return function(b, d) {
if (typeof b !== "string") {
d = b;
b = "*"
}
if (c.isFunction(d))
for ( var e = b.toLowerCase().split(Pa), f = 0, g = e.length, i, l; f < g; f++) {
i = e[f];
if (l = /^\+/.test(i))
i = i.substr(1) || "*";
i = a[i] = a[i] || [];
i[l ? "unshift" : "push"](d)
}
}
}
function la(a, b, d, e, f, g) {
f = f || b.dataTypes[0];
g = g || {};
g[f] = true;
f = a[f];
for ( var i = 0, l = f ? f.length : 0, m = a === ta, o; i < l
&& (m || !o); i++) {
o = f[i](b, d, e);
if (typeof o === "string")
if (!m || g[o])
o = v;
else {
b.dataTypes.unshift(o);
o = la(a, b, d, e, o, g)
}
}
if ((m || !o) && !g["*"])
o = la(a, b, d, e, "*", g);
return o
}
function ua(a, b, d, e) {
if (c.isArray(b))
c.each(b, function(g, i) {
d || zb.test(a) ? e(a, i) : ua(a + "["
+ (typeof i === "object" || c.isArray(i) ? g : "")
+ "]", i, d, e)
});
else if (!d && b != null && typeof b === "object")
for ( var f in b)
ua(a + "[" + f + "]", b[f], d, e);
else
e(a, b)
}
function Qa() {
try {
return new E.XMLHttpRequest
} catch (a) {
}
}
function Ra() {
setTimeout(Ab, 0);
return ma = c.now()
}
function Ab() {
ma = v
}
function ba(a, b) {
var d = {};
c.each(Sa.concat.apply([], Sa.slice(0, b)), function() {
d[this] = a
});
return d
}
function Ta(a) {
if (!va[a]) {
var b = y.body, d = c("<" + a + ">").appendTo(b), e = d
.css("display");
d.remove();
if (e === "none" || e === "") {
if (!Q) {
Q = y.createElement("iframe");
Q.frameBorder = Q.width = Q.height = 0
}
b.appendChild(Q);
if (!ca || !Q.createElement) {
ca = (Q.contentWindow || Q.contentDocument).document;
ca.write((y.compatMode === "CSS1Compat" ? ""
: "")
+ "
");
ca.close()
}
d = ca.createElement(a);
ca.body.appendChild(d);
e = c.css(d, "display");
b.removeChild(Q)
}
va[a] = e
}
return va[a]
}
function wa(a) {
return c.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView
|| a.parentWindow : false
}
var y = E.document, Bb = E.navigator, Cb = E.location, c = function() {
function a() {
if (!b.isReady) {
try {
y.documentElement.doScroll("left")
} catch (j) {
setTimeout(a, 1);
return
}
b.ready()
}
}
var b = function(j, t) {
return new b.fn.init(j, t, f)
}, d = E.jQuery, e = E.$, f, g = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, i = /\S/, l = /^\s+/, m = /\s+$/, o = /\d/, s = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, A = /^[\],:{}\s]*$/, G = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, F = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, H = /(?:^|:|,)(?:\s*\[)+/g, W = /(webkit)[ \/]([\w.]+)/, M = /(opera)(?:.*version)?[ \/]([\w.]+)/, N = /(msie) ([\w.]+)/, R = /(mozilla)(?:.*? rv:([\w.]+))?/, h = /-([a-z])/ig, k = function(
j, t) {
return t.toUpperCase()
}, p = Bb.userAgent, r, n, q = Object.prototype.toString, u = Object.prototype.hasOwnProperty, x = Array.prototype.push, B = Array.prototype.slice, O = String.prototype.trim, K = Array.prototype.indexOf, L = {};
b.fn = b.prototype = {
constructor : b,
init : function(j, t, z) {
var w;
if (!j)
return this;
if (j.nodeType) {
this.context = this[0] = j;
this.length = 1;
return this
}
if (j === "body" && !t && y.body) {
this.context = y;
this[0] = y.body;
this.selector = j;
this.length = 1;
return this
}
if (typeof j === "string")
if ((w = j.charAt(0) === "<"
&& j.charAt(j.length - 1) === ">" && j.length >= 3 ? [
null, j, null ]
: g.exec(j))
&& (w[1] || !t))
if (w[1]) {
z = (t = t instanceof b ? t[0] : t) ? t.ownerDocument
|| t
: y;
if (j = s.exec(j))
if (b.isPlainObject(t)) {
j = [ y.createElement(j[1]) ];
b.fn.attr.call(j, t, true)
} else
j = [ z.createElement(j[1]) ];
else {
j = b.buildFragment([ w[1] ], [ z ]);
j = (j.cacheable ? b.clone(j.fragment)
: j.fragment).childNodes
}
return b.merge(this, j)
} else {
if ((t = y.getElementById(w[2])) && t.parentNode) {
if (t.id !== w[2])
return z.find(j);
this.length = 1;
this[0] = t
}
this.context = y;
this.selector = j;
return this
}
else
return !t || t.jquery ? (t || z).find(j) : this
.constructor(t).find(j);
else if (b.isFunction(j))
return z.ready(j);
if (j.selector !== v) {
this.selector = j.selector;
this.context = j.context
}
return b.makeArray(j, this)
},
selector : "",
jquery : "1.6.2",
length : 0,
size : function() {
return this.length
},
toArray : function() {
return B.call(this, 0)
},
get : function(j) {
return j == null ? this.toArray() : j < 0 ? this[this.length
+ j] : this[j]
},
pushStack : function(j, t, z) {
var w = this.constructor();
b.isArray(j) ? x.apply(w, j) : b.merge(w, j);
w.prevObject = this;
w.context = this.context;
if (t === "find")
w.selector = this.selector + (this.selector ? " " : "") + z;
else if (t)
w.selector = this.selector + "." + t + "(" + z + ")";
return w
},
each : function(j, t) {
return b.each(this, j, t)
},
ready : function(j) {
b.bindReady();
r.done(j);
return this
},
eq : function(j) {
return j === -1 ? this.slice(j) : this.slice(j, +j + 1)
},
first : function() {
return this.eq(0)
},
last : function() {
return this.eq(-1)
},
slice : function() {
return this.pushStack(B.apply(this, arguments), "slice", B
.call(arguments).join(","))
},
map : function(j) {
return this.pushStack(b.map(this, function(t, z) {
return j.call(t, z, t)
}))
},
end : function() {
return this.prevObject || this.constructor(null)
},
push : x,
sort : [].sort,
splice : [].splice
};
b.fn.init.prototype = b.fn;
b.extend = b.fn.extend = function() {
var j, t, z, w, C, D = arguments[0] || {}, I = 1, J = arguments.length, S = false;
if (typeof D === "boolean") {
S = D;
D = arguments[1] || {};
I = 2
}
if (typeof D !== "object" && !b.isFunction(D))
D = {};
if (J === I) {
D = this;
--I
}
for (; I < J; I++)
if ((j = arguments[I]) != null)
for (t in j) {
z = D[t];
w = j[t];
if (D !== w)
if (S
&& w
&& (b.isPlainObject(w) || (C = b.isArray(w)))) {
if (C) {
C = false;
z = z && b.isArray(z) ? z : []
} else
z = z && b.isPlainObject(z) ? z : {};
D[t] = b.extend(S, z, w)
} else if (w !== v)
D[t] = w
}
return D
};
b
.extend({
noConflict : function(j) {
if (E.$ === b)
E.$ = e;
if (j && E.jQuery === b)
E.jQuery = d;
return b
},
isReady : false,
readyWait : 1,
holdReady : function(j) {
if (j)
b.readyWait++;
else
b.ready(true)
},
ready : function(j) {
if (j === true && !--b.readyWait || j !== true
&& !b.isReady) {
if (!y.body)
return setTimeout(b.ready, 1);
b.isReady = true;
if (!(j !== true && --b.readyWait > 0)) {
r.resolveWith(y, [ b ]);
b.fn.trigger
&& b(y).trigger("ready")
.unbind("ready")
}
}
},
bindReady : function() {
if (!r) {
r = b._Deferred();
if (y.readyState === "complete")
return setTimeout(b.ready, 1);
if (y.addEventListener) {
y
.addEventListener("DOMContentLoaded",
n, false);
E.addEventListener("load", b.ready, false)
} else if (y.attachEvent) {
y.attachEvent("onreadystatechange", n);
E.attachEvent("onload", b.ready);
var j = false;
try {
j = E.frameElement == null
} catch (t) {
}
y.documentElement.doScroll && j && a()
}
}
},
isFunction : function(j) {
return b.type(j) === "function"
},
isArray : Array.isArray || function(j) {
return b.type(j) === "array"
},
isWindow : function(j) {
return j && typeof j === "object" && "setInterval" in j
},
isNaN : function(j) {
return j == null || !o.test(j) || isNaN(j)
},
type : function(j) {
return j == null ? String(j) : L[q.call(j)] || "object"
},
isPlainObject : function(j) {
if (!j || b.type(j) !== "object" || j.nodeType
|| b.isWindow(j))
return false;
if (j.constructor
&& !u.call(j, "constructor")
&& !u.call(j.constructor.prototype,
"isPrototypeOf"))
return false;
for ( var t in j)
;
return t === v || u.call(j, t)
},
isEmptyObject : function(j) {
for ( var t in j)
return false;
return true
},
error : function(j) {
throw j;
},
parseJSON : function(j) {
if (typeof j !== "string" || !j)
return null;
j = b.trim(j);
if (E.JSON && E.JSON.parse)
return E.JSON.parse(j);
if (A.test(j.replace(G, "@").replace(F, "]").replace(H,
"")))
return (new Function("return " + j))();
b.error("Invalid JSON: " + j)
},
parseXML : function(j, t, z) {
if (E.DOMParser) {
z = new DOMParser;
t = z.parseFromString(j, "text/xml")
} else {
t = new ActiveXObject("Microsoft.XMLDOM");
t.async = "false";
t.loadXML(j)
}
z = t.documentElement;
if (!z || !z.nodeName || z.nodeName === "parsererror")
b.error("Invalid XML: " + j);
return t
},
noop : function() {
},
globalEval : function(j) {
if (j && i.test(j))
(E.execScript || function(t) {
E.eval.call(E, t)
})(j)
},
camelCase : function(j) {
return j.replace(h, k)
},
nodeName : function(j, t) {
return j.nodeName
&& j.nodeName.toUpperCase() === t.toUpperCase()
},
each : function(j, t, z) {
var w, C = 0, D = j.length, I = D === v
|| b.isFunction(j);
if (z)
if (I)
for (w in j) {
if (t.apply(j[w], z) === false)
break
}
else
for (; C < D;) {
if (t.apply(j[C++], z) === false)
break
}
else if (I)
for (w in j) {
if (t.call(j[w], w, j[w]) === false)
break
}
else
for (; C < D;)
if (t.call(j[C], C, j[C++]) === false)
break;
return j
},
trim : O ? function(j) {
return j == null ? "" : O.call(j)
} : function(j) {
return j == null ? "" : j.toString().replace(l, "")
.replace(m, "")
},
makeArray : function(j, t) {
var z = t || [];
if (j != null) {
var w = b.type(j);
j.length == null || w === "string"
|| w === "function" || w === "regexp"
|| b.isWindow(j) ? x.call(z, j) : b.merge(
z, j)
}
return z
},
inArray : function(j, t) {
if (K)
return K.call(t, j);
for ( var z = 0, w = t.length; z < w; z++)
if (t[z] === j)
return z;
return -1
},
merge : function(j, t) {
var z = j.length, w = 0;
if (typeof t.length === "number")
for ( var C = t.length; w < C; w++)
j[z++] = t[w];
else
for (; t[w] !== v;)
j[z++] = t[w++];
j.length = z;
return j
},
grep : function(j, t, z) {
var w = [], C;
z = !!z;
for ( var D = 0, I = j.length; D < I; D++) {
C = !!t(j[D], D);
z !== C && w.push(j[D])
}
return w
},
map : function(j, t, z) {
var w, C, D = [], I = 0, J = j.length;
if (j instanceof b
|| J !== v
&& typeof J === "number"
&& (J > 0 && j[0] && j[J - 1] || J === 0 || b
.isArray(j)))
for (; I < J; I++) {
w = t(j[I], I, z);
if (w != null)
D[D.length] = w
}
else
for (C in j) {
w = t(j[C], C, z);
if (w != null)
D[D.length] = w
}
return D.concat.apply([], D)
},
guid : 1,
proxy : function(j, t) {
if (typeof t === "string") {
var z = j[t];
t = j;
j = z
}
if (!b.isFunction(j))
return v;
var w = B.call(arguments, 2);
z = function() {
return j.apply(t, w.concat(B.call(arguments)))
};
z.guid = j.guid = j.guid || z.guid || b.guid++;
return z
},
access : function(j, t, z, w, C, D) {
var I = j.length;
if (typeof t === "object") {
for ( var J in t)
b.access(j, J, t[J], w, C, z);
return j
}
if (z !== v) {
w = !D && w && b.isFunction(z);
for (J = 0; J < I; J++)
C(j[J], t, w ? z.call(j[J], J, C(j[J], t)) : z,
D);
return j
}
return I ? C(j[0], t) : v
},
now : function() {
return (new Date).getTime()
},
uaMatch : function(j) {
j = j.toLowerCase();
j = W.exec(j) || M.exec(j) || N.exec(j)
|| j.indexOf("compatible") < 0 && R.exec(j)
|| [];
return {
browser : j[1] || "",
version : j[2] || "0"
}
},
sub : function() {
function j(z, w) {
return new j.fn.init(z, w)
}
b.extend(true, j, this);
j.superclass = this;
j.fn = j.prototype = this();
j.fn.constructor = j;
j.sub = this.sub;
j.fn.init = function(z, w) {
if (w && w instanceof b && !(w instanceof j))
w = j(w);
return b.fn.init.call(this, z, w, t)
};
j.fn.init.prototype = j.fn;
var t = j(y);
return j
},
browser : {}
});
b.each("Boolean Number String Function Array Date RegExp Object"
.split(" "), function(j, t) {
L["[object " + t + "]"] = t.toLowerCase()
});
p = b.uaMatch(p);
if (p.browser) {
b.browser[p.browser] = true;
b.browser.version = p.version
}
if (b.browser.webkit)
b.browser.safari = true;
if (i.test("\u00a0")) {
l = /^[\s\xA0]+/;
m = /[\s\xA0]+$/
}
f = b(y);
if (y.addEventListener)
n = function() {
y.removeEventListener("DOMContentLoaded", n, false);
b.ready()
};
else if (y.attachEvent)
n = function() {
if (y.readyState === "complete") {
y.detachEvent("onreadystatechange", n);
b.ready()
}
};
return b
}(), xa = "done fail isResolved isRejected promise then always pipe"
.split(" "), Ua = [].slice;
c.extend({
_Deferred : function() {
var a = [], b, d, e, f = {
done : function() {
if (!e) {
var g = arguments, i, l, m, o, s;
if (b) {
s = b;
b = 0
}
i = 0;
for (l = g.length; i < l; i++) {
m = g[i];
o = c.type(m);
if (o === "array")
f.done.apply(f, m);
else
o === "function" && a.push(m)
}
s && f.resolveWith(s[0], s[1])
}
return this
},
resolveWith : function(g, i) {
if (!e && !b && !d) {
i = i || [];
d = 1;
try {
for (; a[0];)
a.shift().apply(g, i)
} finally {
b = [ g, i ];
d = 0
}
}
return this
},
resolve : function() {
f.resolveWith(this, arguments);
return this
},
isResolved : function() {
return !!(d || b)
},
cancel : function() {
e = 1;
a = [];
return this
}
};
return f
},
Deferred : function(a) {
var b = c._Deferred(), d = c._Deferred(), e;
c.extend(b, {
then : function(f, g) {
b.done(f).fail(g);
return this
},
always : function() {
return b.done.apply(b, arguments).fail.apply(this,
arguments)
},
fail : d.done,
rejectWith : d.resolveWith,
reject : d.resolve,
isRejected : d.isResolved,
pipe : function(f, g) {
return c.Deferred(
function(i) {
c.each({
done : [ f, "resolve" ],
fail : [ g, "reject" ]
}, function(l, m) {
var o = m[0], s = m[1], A;
c.isFunction(o) ? b[l](function() {
(A = o.apply(this, arguments))
&& c.isFunction(A.promise) ? A
.promise().then(i.resolve,
i.reject) : i[s](A)
}) : b[l](i[s])
})
}).promise()
},
promise : function(f) {
if (f == null) {
if (e)
return e;
e = f = {}
}
for ( var g = xa.length; g--;)
f[xa[g]] = b[xa[g]];
return f
}
});
b.done(d.cancel).fail(b.cancel);
delete b.cancel;
a && a.call(b, b);
return b
},
when : function(a) {
function b(l) {
return function(m) {
d[l] = arguments.length > 1 ? Ua.call(arguments, 0) : m;
--g || i.resolveWith(i, Ua.call(d, 0))
}
}
var d = arguments, e = 0, f = d.length, g = f, i = f <= 1 && a
&& c.isFunction(a.promise) ? a : c.Deferred();
if (f > 1) {
for (; e < f; e++)
if (d[e] && c.isFunction(d[e].promise))
d[e].promise().then(b(e), i.reject);
else
--g;
g || i.resolveWith(i, d)
} else if (i !== a)
i.resolveWith(i, f ? [ a ] : []);
return i.promise()
}
});
c.support = function() {
var a = y.createElement("div"), b = y.documentElement, d, e, f, g, i, l;
a.setAttribute("className", "t");
a.innerHTML = " a ";
d = a.getElementsByTagName("*");
e = a.getElementsByTagName("a")[0];
if (!d || !d.length || !e)
return {};
f = y.createElement("select");
g = f.appendChild(y.createElement("option"));
d = a.getElementsByTagName("input")[0];
i = {
leadingWhitespace : a.firstChild.nodeType === 3,
tbody : !a.getElementsByTagName("tbody").length,
htmlSerialize : !!a.getElementsByTagName("link").length,
style : /top/.test(e.getAttribute("style")),
hrefNormalized : e.getAttribute("href") === "/a",
opacity : /^0.55$/.test(e.style.opacity),
cssFloat : !!e.style.cssFloat,
checkOn : d.value === "on",
optSelected : g.selected,
getSetAttribute : a.className !== "t",
submitBubbles : true,
changeBubbles : true,
focusinBubbles : false,
deleteExpando : true,
noCloneEvent : true,
inlineBlockNeedsLayout : false,
shrinkWrapBlocks : false,
reliableMarginRight : true
};
d.checked = true;
i.noCloneChecked = d.cloneNode(true).checked;
f.disabled = true;
i.optDisabled = !g.disabled;
try {
delete a.test
} catch (m) {
i.deleteExpando = false
}
if (!a.addEventListener && a.attachEvent && a.fireEvent) {
a.attachEvent("onclick", function() {
i.noCloneEvent = false
});
a.cloneNode(true).fireEvent("onclick")
}
d = y.createElement("input");
d.value = "t";
d.setAttribute("type", "radio");
i.radioValue = d.value === "t";
d.setAttribute("checked", "checked");
a.appendChild(d);
e = y.createDocumentFragment();
e.appendChild(a.firstChild);
i.checkClone = e.cloneNode(true).cloneNode(true).lastChild.checked;
a.innerHTML = "";
a.style.width = a.style.paddingLeft = "1px";
f = y.getElementsByTagName("body")[0];
e = y.createElement(f ? "div" : "body");
g = {
visibility : "hidden",
width : 0,
height : 0,
border : 0,
margin : 0
};
f && c.extend(g, {
position : "absolute",
left : -1E3,
top : -1E3
});
for (l in g)
e.style[l] = g[l];
e.appendChild(a);
b = f || b;
b.insertBefore(e, b.firstChild);
i.appendChecked = d.checked;
i.boxModel = a.offsetWidth === 2;
if ("zoom" in a.style) {
a.style.display = "inline";
a.style.zoom = 1;
i.inlineBlockNeedsLayout = a.offsetWidth === 2;
a.style.display = "";
a.innerHTML = "
";
i.shrinkWrapBlocks = a.offsetWidth !== 2
}
a.innerHTML = "";
f = a.getElementsByTagName("td");
d = f[0].offsetHeight === 0;
f[0].style.display = "";
f[1].style.display = "none";
i.reliableHiddenOffsets = d && f[0].offsetHeight === 0;
a.innerHTML = "";
if (y.defaultView && y.defaultView.getComputedStyle) {
d = y.createElement("div");
d.style.width = "0";
d.style.marginRight = "0";
a.appendChild(d);
i.reliableMarginRight = (parseInt((y.defaultView.getComputedStyle(
d, null) || {
marginRight : 0
}).marginRight, 10) || 0) === 0
}
e.innerHTML = "";
b.removeChild(e);
if (a.attachEvent)
for (l in {
submit : 1,
change : 1,
focusin : 1
}) {
b = "on" + l;
d = b in a;
if (!d) {
a.setAttribute(b, "return;");
d = typeof a[b] === "function"
}
i[l + "Bubbles"] = d
}
e = e = f = g = f = d = a = d = null;
return i
}();
c.boxModel = c.support.boxModel;
var qb = /^(?:\{.*\}|\[.*\])$/, pb = /([a-z])([A-Z])/g;
c
.extend({
cache : {},
uuid : 0,
expando : "jQuery"
+ (c.fn.jquery + Math.random()).replace(/\D/g, ""),
noData : {
embed : true,
object : "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
applet : true
},
hasData : function(a) {
a = a.nodeType ? c.cache[a[c.expando]] : a[c.expando];
return !!a && !ra(a)
},
data : function(a, b, d, e) {
if (c.acceptData(a)) {
var f = c.expando, g = typeof b === "string", i = a.nodeType, l = i ? c.cache
: a, m = i ? a[c.expando] : a[c.expando]
&& c.expando;
if (!((!m || e && m && !l[m][f]) && g && d === v)) {
if (!m)
if (i)
a[c.expando] = m = ++c.uuid;
else
m = c.expando;
if (!l[m]) {
l[m] = {};
if (!i)
l[m].toJSON = c.noop
}
if (typeof b === "object"
|| typeof b === "function")
if (e)
l[m][f] = c.extend(l[m][f], b);
else
l[m] = c.extend(l[m], b);
a = l[m];
if (e) {
a[f] || (a[f] = {});
a = a[f]
}
if (d !== v)
a[c.camelCase(b)] = d;
if (b === "events" && !a[b])
return a[f] && a[f].events;
return g ? a[c.camelCase(b)] || a[b] : a
}
}
},
removeData : function(a, b, d) {
if (c.acceptData(a)) {
var e = c.expando, f = a.nodeType, g = f ? c.cache : a, i = f ? a[c.expando]
: c.expando;
if (g[i]) {
if (b) {
var l = d ? g[i][e] : g[i];
if (l) {
delete l[b];
if (!ra(l))
return
}
}
if (d) {
delete g[i][e];
if (!ra(g[i]))
return
}
b = g[i][e];
if (c.support.deleteExpando || g != E)
delete g[i];
else
g[i] = null;
if (b) {
g[i] = {};
if (!f)
g[i].toJSON = c.noop;
g[i][e] = b
} else if (f)
if (c.support.deleteExpando)
delete a[c.expando];
else if (a.removeAttribute)
a.removeAttribute(c.expando);
else
a[c.expando] = null
}
}
},
_data : function(a, b, d) {
return c.data(a, b, d, true)
},
acceptData : function(a) {
if (a.nodeName) {
var b = c.noData[a.nodeName.toLowerCase()];
if (b)
return !(b === true || a.getAttribute("classid") !== b)
}
return true
}
});
c.fn
.extend({
data : function(a, b) {
var d = null;
if (typeof a === "undefined") {
if (this.length) {
d = c.data(this[0]);
if (this[0].nodeType === 1)
for ( var e = this[0].attributes, f, g = 0, i = e.length; g < i; g++) {
f = e[g].name;
if (f.indexOf("data-") === 0) {
f = c.camelCase(f.substring(5));
Fa(this[0], f, d[f])
}
}
}
return d
} else if (typeof a === "object")
return this.each(function() {
c.data(this, a)
});
var l = a.split(".");
l[1] = l[1] ? "." + l[1] : "";
if (b === v) {
d = this.triggerHandler("getData" + l[1] + "!",
[ l[0] ]);
if (d === v && this.length) {
d = c.data(this[0], a);
d = Fa(this[0], a, d)
}
return d === v && l[1] ? this.data(l[0]) : d
} else
return this.each(function() {
var m = c(this), o = [ l[0], b ];
m.triggerHandler("setData" + l[1] + "!", o);
c.data(this, a, b);
m.triggerHandler("changeData" + l[1] + "!", o)
})
},
removeData : function(a) {
return this.each(function() {
c.removeData(this, a)
})
}
});
c.extend({
_mark : function(a, b) {
if (a) {
b = (b || "fx") + "mark";
c.data(a, b, (c.data(a, b, v, true) || 0) + 1, true)
}
},
_unmark : function(a, b, d) {
if (a !== true) {
d = b;
b = a;
a = false
}
if (b) {
d = d || "fx";
var e = d + "mark";
if (a = a ? 0 : (c.data(b, e, v, true) || 1) - 1)
c.data(b, e, a, true);
else {
c.removeData(b, e, true);
Ga(b, d, "mark")
}
}
},
queue : function(a, b, d) {
if (a) {
b = (b || "fx") + "queue";
var e = c.data(a, b, v, true);
if (d)
if (!e || c.isArray(d))
e = c.data(a, b, c.makeArray(d), true);
else
e.push(d);
return e || []
}
},
dequeue : function(a, b) {
b = b || "fx";
var d = c.queue(a, b), e = d.shift();
if (e === "inprogress")
e = d.shift();
if (e) {
b === "fx" && d.unshift("inprogress");
e.call(a, function() {
c.dequeue(a, b)
})
}
if (!d.length) {
c.removeData(a, b + "queue", true);
Ga(a, b, "queue")
}
}
});
c.fn.extend({
queue : function(a, b) {
if (typeof a !== "string") {
b = a;
a = "fx"
}
if (b === v)
return c.queue(this[0], a);
return this.each(function() {
var d = c.queue(this, a, b);
a === "fx" && d[0] !== "inprogress" && c.dequeue(this, a)
})
},
dequeue : function(a) {
return this.each(function() {
c.dequeue(this, a)
})
},
delay : function(a, b) {
a = c.fx ? c.fx.speeds[a] || a : a;
b = b || "fx";
return this.queue(b, function() {
var d = this;
setTimeout(function() {
c.dequeue(d, b)
}, a)
})
},
clearQueue : function(a) {
return this.queue(a || "fx", [])
},
promise : function(a) {
function b() {
--g || d.resolveWith(e, [ e ])
}
if (typeof a !== "string")
a = v;
a = a || "fx";
var d = c.Deferred(), e = this, f = e.length, g = 1, i = a
+ "defer", l = a + "queue";
a = a + "mark";
for ( var m; f--;)
if (m = c.data(e[f], i, v, true)
|| (c.data(e[f], l, v, true) || c
.data(e[f], a, v, true))
&& c.data(e[f], i, c._Deferred(), true)) {
g++;
m.done(b)
}
b();
return d.promise()
}
});
var Va = /[\n\t\r]/g, ya = /\s+/, Db = /\r/g, Eb = /^(?:button|input)$/i, Fb = /^(?:button|input|object|select|textarea)$/i, Gb = /^a(?:rea)?$/i, Wa = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, Hb = /\:|^on/, X, Xa;
c.fn
.extend({
attr : function(a, b) {
return c.access(this, a, b, true, c.attr)
},
removeAttr : function(a) {
return this.each(function() {
c.removeAttr(this, a)
})
},
prop : function(a, b) {
return c.access(this, a, b, true, c.prop)
},
removeProp : function(a) {
a = c.propFix[a] || a;
return this.each(function() {
try {
this[a] = v;
delete this[a]
} catch (b) {
}
})
},
addClass : function(a) {
var b, d, e, f, g, i, l;
if (c.isFunction(a))
return this.each(function(m) {
c(this).addClass(a.call(this, m, this.className))
});
if (a && typeof a === "string") {
b = a.split(ya);
d = 0;
for (e = this.length; d < e; d++) {
f = this[d];
if (f.nodeType === 1)
if (!f.className && b.length === 1)
f.className = a;
else {
g = " " + f.className + " ";
i = 0;
for (l = b.length; i < l; i++)
~g.indexOf(" " + b[i] + " ")
|| (g += b[i] + " ");
f.className = c.trim(g)
}
}
}
return this
},
removeClass : function(a) {
var b, d, e, f, g, i, l;
if (c.isFunction(a))
return this.each(function(m) {
c(this)
.removeClass(
a.call(this, m, this.className))
});
if (a && typeof a === "string" || a === v) {
b = (a || "").split(ya);
d = 0;
for (e = this.length; d < e; d++) {
f = this[d];
if (f.nodeType === 1 && f.className)
if (a) {
g = (" " + f.className + " ").replace(Va,
" ");
i = 0;
for (l = b.length; i < l; i++)
g = g.replace(" " + b[i] + " ", " ");
f.className = c.trim(g)
} else
f.className = ""
}
}
return this
},
toggleClass : function(a, b) {
var d = typeof a, e = typeof b === "boolean";
if (c.isFunction(a))
return this.each(function(f) {
c(this).toggleClass(
a.call(this, f, this.className, b), b)
});
return this.each(function() {
if (d === "string")
for ( var f, g = 0, i = c(this), l = b, m = a
.split(ya); f = m[g++];) {
l = e ? l : !i.hasClass(f);
i[l ? "addClass" : "removeClass"](f)
}
else if (d === "undefined" || d === "boolean") {
this.className
&& c._data(this, "__className__",
this.className);
this.className = this.className || a === false ? ""
: c._data(this, "__className__") || ""
}
})
},
hasClass : function(a) {
a = " " + a + " ";
for ( var b = 0, d = this.length; b < d; b++)
if ((" " + this[b].className + " ").replace(Va, " ")
.indexOf(a) > -1)
return true;
return false
},
val : function(a) {
var b, d, e = this[0];
if (!arguments.length) {
if (e) {
if ((b = c.valHooks[e.nodeName.toLowerCase()]
|| c.valHooks[e.type])
&& "get" in b
&& (d = b.get(e, "value")) !== v)
return d;
d = e.value;
return typeof d === "string" ? d.replace(Db, "")
: d == null ? "" : d
}
return v
}
var f = c.isFunction(a);
return this.each(function(g) {
var i = c(this);
if (this.nodeType === 1) {
g = f ? a.call(this, g, i.val()) : a;
if (g == null)
g = "";
else if (typeof g === "number")
g += "";
else if (c.isArray(g))
g = c.map(g, function(l) {
return l == null ? "" : l + ""
});
b = c.valHooks[this.nodeName.toLowerCase()]
|| c.valHooks[this.type];
if (!b || !("set" in b)
|| b.set(this, g, "value") === v)
this.value = g
}
})
}
});
c
.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, d = a.selectedIndex, e = [], f = a.options;
a = a.type === "select-one";
if (d < 0)
return null;
for ( var g = a ? d : 0, i = a ? d + 1 : f.length; g < i; g++) {
b = f[g];
if (b.selected
&& (c.support.optDisabled ? !b.disabled
: b.getAttribute("disabled") === null)
&& (!b.parentNode.disabled || !c
.nodeName(b.parentNode,
"optgroup"))) {
b = c(b).val();
if (a)
return b;
e.push(b)
}
}
if (a && !e.length && f.length)
return c(f[d]).val();
return e
},
set : function(a, b) {
var d = c.makeArray(b);
c(a).find("option").each(
function() {
this.selected = c.inArray(
c(this).val(), d) >= 0
});
if (!d.length)
a.selectedIndex = -1;
return d
}
}
},
attrFn : {
val : true,
css : true,
html : true,
text : true,
data : true,
width : true,
height : true,
offset : true
},
attrFix : {
tabindex : "tabIndex"
},
attr : function(a, b, d, e) {
var f = a.nodeType;
if (!a || f === 3 || f === 8 || f === 2)
return v;
if (e && b in c.attrFn)
return c(a)[b](d);
if (!("getAttribute" in a))
return c.prop(a, b, d);
var g, i;
if (e = f !== 1 || !c.isXMLDoc(a)) {
b = c.attrFix[b] || b;
i = c.attrHooks[b];
if (!i)
if (Wa.test(b))
i = Xa;
else if (X && b !== "className"
&& (c.nodeName(a, "form") || Hb.test(b)))
i = X
}
if (d !== v)
if (d === null) {
c.removeAttr(a, b);
return v
} else if (i && "set" in i && e
&& (g = i.set(a, d, b)) !== v)
return g;
else {
a.setAttribute(b, "" + d);
return d
}
else if (i && "get" in i && e && (g = i.get(a, b)) !== null)
return g;
else {
g = a.getAttribute(b);
return g === null ? v : g
}
},
removeAttr : function(a, b) {
var d;
if (a.nodeType === 1) {
b = c.attrFix[b] || b;
if (c.support.getSetAttribute)
a.removeAttribute(b);
else {
c.attr(a, b, "");
a.removeAttributeNode(a.getAttributeNode(b))
}
if (Wa.test(b) && (d = c.propFix[b] || b) in a)
a[d] = false
}
},
attrHooks : {
type : {
set : function(a, b) {
if (Eb.test(a.nodeName) && a.parentNode)
c.error("type property can't be changed");
else if (!c.support.radioValue && b === "radio"
&& c.nodeName(a, "input")) {
var d = a.value;
a.setAttribute("type", b);
if (d)
a.value = d;
return b
}
}
},
tabIndex : {
get : function(a) {
var b = a.getAttributeNode("tabIndex");
return b && b.specified ? parseInt(b.value, 10)
: Fb.test(a.nodeName)
|| Gb.test(a.nodeName) && a.href ? 0
: v
}
},
value : {
get : function(a, b) {
if (X && c.nodeName(a, "button"))
return X.get(a, b);
return b in a ? a.value : null
},
set : function(a, b, d) {
if (X && c.nodeName(a, "button"))
return X.set(a, b, d);
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, b, d) {
var e = a.nodeType;
if (!a || e === 3 || e === 8 || e === 2)
return v;
var f, g;
if (e !== 1 || !c.isXMLDoc(a)) {
b = c.propFix[b] || b;
g = c.propHooks[b]
}
return d !== v ? g && "set" in g
&& (f = g.set(a, d, b)) !== v ? f : a[b] = d : g
&& "get" in g && (f = g.get(a, b)) !== v ? f : a[b]
},
propHooks : {}
});
Xa = {
get : function(a, b) {
return c.prop(a, b) ? b.toLowerCase() : v
},
set : function(a, b, d) {
if (b === false)
c.removeAttr(a, d);
else {
b = c.propFix[d] || d;
if (b in a)
a[b] = true;
a.setAttribute(d, d.toLowerCase())
}
return d
}
};
if (!c.support.getSetAttribute) {
c.attrFix = c.propFix;
X = c.attrHooks.name = c.attrHooks.title = c.valHooks.button = {
get : function(a, b) {
var d;
return (d = a.getAttributeNode(b)) && d.nodeValue !== "" ? d.nodeValue
: v
},
set : function(a, b, d) {
if (a = a.getAttributeNode(d))
return a.nodeValue = b
}
};
c.each([ "width", "height" ], function(a, b) {
c.attrHooks[b] = c.extend(c.attrHooks[b], {
set : function(d, e) {
if (e === "") {
d.setAttribute(b, "auto");
return e
}
}
})
})
}
c.support.hrefNormalized
|| c.each([ "href", "src", "width", "height" ], function(a, b) {
c.attrHooks[b] = c.extend(c.attrHooks[b], {
get : function(d) {
d = d.getAttribute(b, 2);
return d === null ? v : d
}
})
});
if (!c.support.style)
c.attrHooks.style = {
get : function(a) {
return a.style.cssText.toLowerCase() || v
},
set : function(a, b) {
return a.style.cssText = "" + b
}
};
if (!c.support.optSelected)
c.propHooks.selected = c.extend(c.propHooks.selected, {
get : function() {
}
});
c.support.checkOn || c.each([ "radio", "checkbox" ], function() {
c.valHooks[this] = {
get : function(a) {
return a.getAttribute("value") === null ? "on" : a.value
}
}
});
c.each([ "radio", "checkbox" ], function() {
c.valHooks[this] = c.extend(c.valHooks[this], {
set : function(a, b) {
if (c.isArray(b))
return a.checked = c.inArray(c(a).val(), b) >= 0
}
})
});
var sa = /\.(.*)$/, za = /^(?:textarea|input|select)$/i, sb = /\./g, tb = / /g, Ib = /[^\w\s.|`]/g, Jb = function(
a) {
return a.replace(Ib, "\\$&")
};
c.event = {
add : function(a, b, d, e) {
if (!(a.nodeType === 3 || a.nodeType === 8)) {
if (d === false)
d = V;
else if (!d)
return;
var f, g;
if (d.handler) {
f = d;
d = f.handler
}
if (!d.guid)
d.guid = c.guid++;
if (g = c._data(a)) {
var i = g.events, l = g.handle;
if (!i)
g.events = i = {};
if (!l)
g.handle = l = function(F) {
return typeof c !== "undefined"
&& (!F || c.event.triggered !== F.type) ? c.event.handle
.apply(l.elem, arguments)
: v
};
l.elem = a;
b = b.split(" ");
for ( var m, o = 0, s; m = b[o++];) {
g = f ? c.extend({}, f) : {
handler : d,
data : e
};
if (m.indexOf(".") > -1) {
s = m.split(".");
m = s.shift();
g.namespace = s.slice(0).sort().join(".")
} else {
s = [];
g.namespace = ""
}
g.type = m;
if (!g.guid)
g.guid = d.guid;
var A = i[m], G = c.event.special[m] || {};
if (!A) {
A = i[m] = [];
if (!G.setup || G.setup.call(a, e, s, l) === false)
if (a.addEventListener)
a.addEventListener(m, l, false);
else
a.attachEvent && a.attachEvent("on" + m, l)
}
if (G.add) {
G.add.call(a, g);
if (!g.handler.guid)
g.handler.guid = d.guid
}
A.push(g);
c.event.global[m] = true
}
a = null
}
}
},
global : {},
remove : function(a, b, d, e) {
if (!(a.nodeType === 3 || a.nodeType === 8)) {
if (d === false)
d = V;
var f, g, i = 0, l, m, o, s, A, G, F = c.hasData(a)
&& c._data(a), H = F && F.events;
if (F && H) {
if (b && b.type) {
d = b.handler;
b = b.type
}
if (!b || typeof b === "string" && b.charAt(0) === ".") {
b = b || "";
for (f in H)
c.event.remove(a, f + b)
} else {
for (b = b.split(" "); f = b[i++];) {
s = f;
l = f.indexOf(".") < 0;
m = [];
if (!l) {
m = f.split(".");
f = m.shift();
o = RegExp("(^|\\.)"
+ c.map(m.slice(0).sort(), Jb).join(
"\\.(?:.*\\.)?") + "(\\.|$)")
}
if (A = H[f])
if (d) {
s = c.event.special[f] || {};
for (g = e || 0; g < A.length; g++) {
G = A[g];
if (d.guid === G.guid) {
if (l || o.test(G.namespace)) {
e == null && A.splice(g--, 1);
s.remove && s.remove.call(a, G)
}
if (e != null)
break
}
}
if (A.length === 0 || e != null
&& A.length === 1) {
if (!s.teardown
|| s.teardown.call(a, m) === false)
c.removeEvent(a, f, F.handle);
delete H[f]
}
} else
for (g = 0; g < A.length; g++) {
G = A[g];
if (l || o.test(G.namespace)) {
c.event.remove(a, s, G.handler, g);
A.splice(g--, 1)
}
}
}
if (c.isEmptyObject(H)) {
if (b = F.handle)
b.elem = null;
delete F.events;
delete F.handle;
c.isEmptyObject(F) && c.removeData(a, v, true)
}
}
}
}
},
customEvent : {
getData : true,
setData : true,
changeData : true
},
trigger : function(a, b, d, e) {
var f = a.type || a, g = [], i;
if (f.indexOf("!") >= 0) {
f = f.slice(0, -1);
i = true
}
if (f.indexOf(".") >= 0) {
g = f.split(".");
f = g.shift();
g.sort()
}
if (!((!d || c.event.customEvent[f]) && !c.event.global[f])) {
a = typeof a === "object" ? a[c.expando] ? a
: new c.Event(f, a) : new c.Event(f);
a.type = f;
a.exclusive = i;
a.namespace = g.join(".");
a.namespace_re = RegExp("(^|\\.)" + g.join("\\.(?:.*\\.)?")
+ "(\\.|$)");
if (e || !d) {
a.preventDefault();
a.stopPropagation()
}
if (d) {
if (!(d.nodeType === 3 || d.nodeType === 8)) {
a.result = v;
a.target = d;
b = b != null ? c.makeArray(b) : [];
b.unshift(a);
g = d;
e = f.indexOf(":") < 0 ? "on" + f : "";
do {
i = c._data(g, "handle");
a.currentTarget = g;
i && i.apply(g, b);
if (e && c.acceptData(g) && g[e]
&& g[e].apply(g, b) === false) {
a.result = false;
a.preventDefault()
}
g = g.parentNode || g.ownerDocument
|| g === a.target.ownerDocument && E
} while (g && !a.isPropagationStopped());
if (!a.isDefaultPrevented()) {
var l;
g = c.event.special[f] || {};
if ((!g._default || g._default.call(
d.ownerDocument, a) === false)
&& !(f === "click" && c.nodeName(d, "a"))
&& c.acceptData(d)) {
try {
if (e && d[f]) {
if (l = d[e])
d[e] = null;
c.event.triggered = f;
d[f]()
}
} catch (m) {
}
if (l)
d[e] = l;
c.event.triggered = v
}
}
return a.result
}
} else
c.each(c.cache, function() {
var o = this[c.expando];
o && o.events && o.events[f]
&& c.event.trigger(a, b, o.handle.elem)
})
}
},
handle : function(a) {
a = c.event.fix(a || E.event);
var b = ((c._data(this, "events") || {})[a.type] || []).slice(0), d = !a.exclusive
&& !a.namespace, e = Array.prototype.slice.call(arguments,
0);
e[0] = a;
a.currentTarget = this;
for ( var f = 0, g = b.length; f < g; f++) {
var i = b[f];
if (d || a.namespace_re.test(i.namespace)) {
a.handler = i.handler;
a.data = i.data;
a.handleObj = i;
i = i.handler.apply(this, e);
if (i !== v) {
a.result = i;
if (i === false) {
a.preventDefault();
a.stopPropagation()
}
}
if (a.isImmediatePropagationStopped())
break
}
}
return a.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[c.expando])
return a;
var b = a;
a = c.Event(b);
for ( var d = this.props.length, e; d;) {
e = this.props[--d];
a[e] = b[e]
}
if (!a.target)
a.target = a.srcElement || y;
if (a.target.nodeType === 3)
a.target = a.target.parentNode;
if (!a.relatedTarget && a.fromElement)
a.relatedTarget = a.fromElement === a.target ? a.toElement
: a.fromElement;
if (a.pageX == null && a.clientX != null) {
d = a.target.ownerDocument || y;
b = d.documentElement;
d = d.body;
a.pageX = a.clientX
+ (b && b.scrollLeft || d && d.scrollLeft || 0)
- (b && b.clientLeft || d && d.clientLeft || 0);
a.pageY = a.clientY
+ (b && b.scrollTop || d && d.scrollTop || 0)
- (b && b.clientTop || d && d.clientTop || 0)
}
if (a.which == null && (a.charCode != null || a.keyCode != null))
a.which = a.charCode != null ? a.charCode : a.keyCode;
if (!a.metaKey && a.ctrlKey)
a.metaKey = a.ctrlKey;
if (!a.which && a.button !== v)
a.which = a.button & 1 ? 1 : a.button & 2 ? 3
: a.button & 4 ? 2 : 0;
return a
},
guid : 1E8,
proxy : c.proxy,
special : {
ready : {
setup : c.bindReady,
teardown : c.noop
},
live : {
add : function(a) {
c.event.add(this, ja(a.origType, a.selector), c.extend({},
a, {
handler : rb,
guid : a.handler.guid
}))
},
remove : function(a) {
c.event.remove(this, ja(a.origType, a.selector), a)
}
},
beforeunload : {
setup : function(a, b, d) {
if (c.isWindow(this))
this.onbeforeunload = d
},
teardown : function(a, b) {
if (this.onbeforeunload === b)
this.onbeforeunload = null
}
}
}
};
c.removeEvent = y.removeEventListener ? function(a, b, d) {
a.removeEventListener && a.removeEventListener(b, d, false)
} : function(a, b, d) {
a.detachEvent && a.detachEvent("on" + b, d)
};
c.Event = function(a, b) {
if (!this.preventDefault)
return new c.Event(a, b);
if (a && a.type) {
this.originalEvent = a;
this.type = a.type;
this.isDefaultPrevented = a.defaultPrevented
|| a.returnValue === false || a.getPreventDefault
&& a.getPreventDefault() ? ia : V
} else
this.type = a;
b && c.extend(this, b);
this.timeStamp = c.now();
this[c.expando] = true
};
c.Event.prototype = {
preventDefault : function() {
this.isDefaultPrevented = ia;
var a = this.originalEvent;
if (a)
if (a.preventDefault)
a.preventDefault();
else
a.returnValue = false
},
stopPropagation : function() {
this.isPropagationStopped = ia;
var a = this.originalEvent;
if (a) {
a.stopPropagation && a.stopPropagation();
a.cancelBubble = true
}
},
stopImmediatePropagation : function() {
this.isImmediatePropagationStopped = ia;
this.stopPropagation()
},
isDefaultPrevented : V,
isPropagationStopped : V,
isImmediatePropagationStopped : V
};
var Ya = function(a) {
var b = a.relatedTarget, d = false, e = a.type;
a.type = a.data;
if (b !== this) {
if (b)
d = c.contains(this, b);
if (!d) {
c.event.handle.apply(this, arguments);
a.type = e
}
}
}, Za = function(a) {
a.type = a.data;
c.event.handle.apply(this, arguments)
};
c.each({
mouseenter : "mouseover",
mouseleave : "mouseout"
}, function(a, b) {
c.event.special[a] = {
setup : function(d) {
c.event.add(this, b, d && d.selector ? Za : Ya, a)
},
teardown : function(d) {
c.event.remove(this, b, d && d.selector ? Za : Ya)
}
}
});
if (!c.support.submitBubbles)
c.event.special.submit = {
setup : function() {
if (c.nodeName(this, "form"))
return false;
else {
c.event.add(this, "click.specialSubmit", function(a) {
var b = a.target, d = b.type;
if ((d === "submit" || d === "image")
&& c(b).closest("form").length)
Ha("submit", this, arguments)
});
c.event.add(this, "keypress.specialSubmit", function(a) {
var b = a.target, d = b.type;
if ((d === "text" || d === "password")
&& c(b).closest("form").length
&& a.keyCode === 13)
Ha("submit", this, arguments)
})
}
},
teardown : function() {
c.event.remove(this, ".specialSubmit")
}
};
if (!c.support.changeBubbles) {
var ha, $a = function(a) {
var b = a.type, d = a.value;
if (b === "radio" || b === "checkbox")
d = a.checked;
else if (b === "select-multiple")
d = a.selectedIndex > -1 ? c.map(a.options, function(e) {
return e.selected
}).join("-") : "";
else if (c.nodeName(a, "select"))
d = a.selectedIndex;
return d
}, na = function(a, b) {
var d = a.target, e, f;
if (!(!za.test(d.nodeName) || d.readOnly)) {
e = c._data(d, "_change_data");
f = $a(d);
if (a.type !== "focusout" || d.type !== "radio")
c._data(d, "_change_data", f);
if (!(e === v || f === e))
if (e != null || f) {
a.type = "change";
a.liveFired = v;
c.event.trigger(a, b, d)
}
}
};
c.event.special.change = {
filters : {
focusout : na,
beforedeactivate : na,
click : function(a) {
var b = a.target, d = c.nodeName(b, "input") ? b.type : "";
if (d === "radio" || d === "checkbox"
|| c.nodeName(b, "select"))
na.call(this, a)
},
keydown : function(a) {
var b = a.target, d = c.nodeName(b, "input") ? b.type : "";
if (a.keyCode === 13 && !c.nodeName(b, "textarea")
|| a.keyCode === 32
&& (d === "checkbox" || d === "radio")
|| d === "select-multiple")
na.call(this, a)
},
beforeactivate : function(a) {
a = a.target;
c._data(a, "_change_data", $a(a))
}
},
setup : function() {
if (this.type === "file")
return false;
for ( var a in ha)
c.event.add(this, a + ".specialChange", ha[a]);
return za.test(this.nodeName)
},
teardown : function() {
c.event.remove(this, ".specialChange");
return za.test(this.nodeName)
}
};
ha = c.event.special.change.filters;
ha.focus = ha.beforeactivate
}
c.support.focusinBubbles || c.each({
focus : "focusin",
blur : "focusout"
}, function(a, b) {
function d(f) {
var g = c.event.fix(f);
g.type = b;
g.originalEvent = {};
c.event.trigger(g, null, g.target);
g.isDefaultPrevented() && f.preventDefault()
}
var e = 0;
c.event.special[b] = {
setup : function() {
e++ === 0 && y.addEventListener(a, d, true)
},
teardown : function() {
--e === 0 && y.removeEventListener(a, d, true)
}
}
});
c.each([ "bind", "one" ], function(a, b) {
c.fn[b] = function(d, e, f) {
var g;
if (typeof d === "object") {
for ( var i in d)
this[b](i, e, d[i], f);
return this
}
if (arguments.length === 2 || e === false) {
f = e;
e = v
}
if (b === "one") {
g = function(m) {
c(this).unbind(m, g);
return f.apply(this, arguments)
};
g.guid = f.guid || c.guid++
} else
g = f;
if (d === "unload" && b !== "one")
this.one(d, e, f);
else {
i = 0;
for ( var l = this.length; i < l; i++)
c.event.add(this[i], d, g, e)
}
return this
}
});
c.fn.extend({
unbind : function(a, b) {
if (typeof a === "object" && !a.preventDefault)
for ( var d in a)
this.unbind(d, a[d]);
else {
d = 0;
for ( var e = this.length; d < e; d++)
c.event.remove(this[d], a, b)
}
return this
},
delegate : function(a, b, d, e) {
return this.live(b, d, e, a)
},
undelegate : function(a, b, d) {
return arguments.length === 0 ? this.unbind("live") : this.die(b,
null, d, a)
},
trigger : function(a, b) {
return this.each(function() {
c.event.trigger(a, b, this)
})
},
triggerHandler : function(a, b) {
if (this[0])
return c.event.trigger(a, b, this[0], true)
},
toggle : function(a) {
var b = arguments, d = a.guid || c.guid++, e = 0, f = function(g) {
var i = (c.data(this, "lastToggle" + a.guid) || 0) % e;
c.data(this, "lastToggle" + a.guid, i + 1);
g.preventDefault();
return b[i].apply(this, arguments) || false
};
for (f.guid = d; e < b.length;)
b[e++].guid = d;
return this.click(f)
},
hover : function(a, b) {
return this.mouseenter(a).mouseleave(b || a)
}
});
var Aa = {
focus : "focusin",
blur : "focusout",
mouseenter : "mouseover",
mouseleave : "mouseout"
};
c.each([ "live", "die" ], function(a, b) {
c.fn[b] = function(d, e, f, g) {
var i = 0, l, m, o = g || this.selector, s = g ? this
: c(this.context);
if (typeof d === "object" && !d.preventDefault) {
for (l in d)
s[b](l, e, d[l], o);
return this
}
if (b === "die" && !d && g && g.charAt(0) === ".") {
s.unbind(g);
return this
}
if (e === false || c.isFunction(e)) {
f = e || V;
e = v
}
for (d = (d || "").split(" "); (g = d[i++]) != null;) {
l = sa.exec(g);
m = "";
if (l) {
m = l[0];
g = g.replace(sa, "")
}
if (g === "hover")
d.push("mouseenter" + m, "mouseleave" + m);
else {
l = g;
if (Aa[g]) {
d.push(Aa[g] + m);
g += m
} else
g = (Aa[g] || g) + m;
if (b === "live") {
m = 0;
for ( var A = s.length; m < A; m++)
c.event.add(s[m], "live." + ja(g, o), {
data : e,
selector : o,
handler : f,
origType : g,
origHandler : f,
preType : l
})
} else
s.unbind("live." + ja(g, o), f)
}
}
return this
}
});
c
.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) {
c.fn[b] = function(d, e) {
if (e == null) {
e = d;
d = null
}
return arguments.length > 0 ? this.bind(b, d, e)
: this.trigger(b)
};
if (c.attrFn)
c.attrFn[b] = true
});
(function() {
function a(h, k, p, r, n, q) {
n = 0;
for ( var u = r.length; n < u; n++) {
var x = r[n];
if (x) {
var B = false;
for (x = x[h]; x;) {
if (x.sizcache === p) {
B = r[x.sizset];
break
}
if (x.nodeType === 1 && !q) {
x.sizcache = p;
x.sizset = n
}
if (x.nodeName.toLowerCase() === k) {
B = x;
break
}
x = x[h]
}
r[n] = B
}
}
}
function b(h, k, p, r, n, q) {
n = 0;
for ( var u = r.length; n < u; n++) {
var x = r[n];
if (x) {
var B = false;
for (x = x[h]; x;) {
if (x.sizcache === p) {
B = r[x.sizset];
break
}
if (x.nodeType === 1) {
if (!q) {
x.sizcache = p;
x.sizset = n
}
if (typeof k !== "string") {
if (x === k) {
B = true;
break
}
} else if (o.filter(k, [ x ]).length > 0) {
B = x;
break
}
}
x = x[h]
}
r[n] = B
}
}
}
var d = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e = 0, f = Object.prototype.toString, g = false, i = true, l = /\\/g, m = /\W/;
[ 0, 0 ].sort(function() {
i = false;
return 0
});
var o = function(h, k, p, r) {
p = p || [];
var n = k = k || y;
if (k.nodeType !== 1 && k.nodeType !== 9)
return [];
if (!h || typeof h !== "string")
return p;
var q, u, x, B, O, K = true, L = o.isXML(k), j = [], t = h;
do {
d.exec("");
if (q = d.exec(t)) {
t = q[3];
j.push(q[1]);
if (q[2]) {
B = q[3];
break
}
}
} while (q);
if (j.length > 1 && A.exec(h))
if (j.length === 2 && s.relative[j[0]])
u = R(j[0] + j[1], k);
else
for (u = s.relative[j[0]] ? [ k ] : o(j.shift(), k); j.length;) {
h = j.shift();
if (s.relative[h])
h += j.shift();
u = R(h, u)
}
else {
if (!r && j.length > 1 && k.nodeType === 9 && !L
&& s.match.ID.test(j[0])
&& !s.match.ID.test(j[j.length - 1])) {
q = o.find(j.shift(), k, L);
k = q.expr ? o.filter(q.expr, q.set)[0] : q.set[0]
}
if (k) {
q = r ? {
expr : j.pop(),
set : H(r)
} : o.find(j.pop(),
j.length === 1 && (j[0] === "~" || j[0] === "+")
&& k.parentNode ? k.parentNode : k, L);
u = q.expr ? o.filter(q.expr, q.set) : q.set;
if (j.length > 0)
x = H(u);
else
K = false;
for (; j.length;) {
q = O = j.pop();
if (s.relative[O])
q = j.pop();
else
O = "";
if (q == null)
q = k;
s.relative[O](x, q, L)
}
} else
x = []
}
x || (x = u);
x || o.error(O || h);
if (f.call(x) === "[object Array]")
if (K)
if (k && k.nodeType === 1)
for (h = 0; x[h] != null; h++) {
if (x[h]
&& (x[h] === true || x[h].nodeType === 1
&& o.contains(k, x[h])))
p.push(u[h])
}
else
for (h = 0; x[h] != null; h++)
x[h] && x[h].nodeType === 1 && p.push(u[h]);
else
p.push.apply(p, x);
else
H(x, p);
if (B) {
o(B, n, p, r);
o.uniqueSort(p)
}
return p
};
o.uniqueSort = function(h) {
if (M) {
g = i;
h.sort(M);
if (g)
for ( var k = 1; k < h.length; k++)
h[k] === h[k - 1] && h.splice(k--, 1)
}
return h
};
o.matches = function(h, k) {
return o(h, null, null, k)
};
o.matchesSelector = function(h, k) {
return o(k, null, null, [ h ]).length > 0
};
o.find = function(h, k, p) {
var r;
if (!h)
return [];
for ( var n = 0, q = s.order.length; n < q; n++) {
var u, x = s.order[n];
if (u = s.leftMatch[x].exec(h)) {
var B = u[1];
u.splice(1, 1);
if (B.substr(B.length - 1) !== "\\") {
u[1] = (u[1] || "").replace(l, "");
r = s.find[x](u, k, p);
if (r != null) {
h = h.replace(s.match[x], "");
break
}
}
}
}
r
|| (r = typeof k.getElementsByTagName !== "undefined" ? k
.getElementsByTagName("*") : []);
return {
set : r,
expr : h
}
};
o.filter = function(h, k, p, r) {
for ( var n, q, u = h, x = [], B = k, O = k && k[0]
&& o.isXML(k[0]); h && k.length;) {
for ( var K in s.filter)
if ((n = s.leftMatch[K].exec(h)) != null && n[2]) {
var L, j, t = s.filter[K];
j = n[1];
q = false;
n.splice(1, 1);
if (j.substr(j.length - 1) !== "\\") {
if (B === x)
x = [];
if (s.preFilter[K])
if (n = s.preFilter[K](n, B, p, x, r, O)) {
if (n === true)
continue
} else
q = L = true;
if (n)
for ( var z = 0; (j = B[z]) != null; z++)
if (j) {
L = t(j, n, z, B);
var w = r ^ !!L;
if (p && L != null)
if (w)
q = true;
else
B[z] = false;
else if (w) {
x.push(j);
q = true
}
}
if (L !== v) {
p || (B = x);
h = h.replace(s.match[K], "");
if (!q)
return [];
break
}
}
}
if (h === u)
if (q == null)
o.error(h);
else
break;
u = h
}
return B
};
o.error = function(h) {
throw "Syntax error, unrecognized expression: " + h;
};
var s = o.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(h) {
return h.getAttribute("href")
},
type : function(h) {
return h.getAttribute("type")
}
},
relative : {
"+" : function(h, k) {
var p = typeof k === "string", r = p && !m.test(k);
p = p && !r;
if (r)
k = k.toLowerCase();
r = 0;
for ( var n = h.length, q; r < n; r++)
if (q = h[r]) {
for (; (q = q.previousSibling) && q.nodeType !== 1;)
;
h[r] = p || q && q.nodeName.toLowerCase() === k ? q || false
: q === k
}
p && o.filter(k, h, true)
},
">" : function(h, k) {
var p, r = typeof k === "string", n = 0, q = h.length;
if (r && !m.test(k))
for (k = k.toLowerCase(); n < q; n++) {
if (p = h[n]) {
p = p.parentNode;
h[n] = p.nodeName.toLowerCase() === k ? p
: false
}
}
else {
for (; n < q; n++)
if (p = h[n])
h[n] = r ? p.parentNode : p.parentNode === k;
r && o.filter(k, h, true)
}
},
"" : function(h, k, p) {
var r, n = e++, q = b;
if (typeof k === "string" && !m.test(k)) {
r = k = k.toLowerCase();
q = a
}
q("parentNode", k, n, h, r, p)
},
"~" : function(h, k, p) {
var r, n = e++, q = b;
if (typeof k === "string" && !m.test(k)) {
r = k = k.toLowerCase();
q = a
}
q("previousSibling", k, n, h, r, p)
}
},
find : {
ID : function(h, k, p) {
if (typeof k.getElementById !== "undefined" && !p)
return (h = k.getElementById(h[1])) && h.parentNode ? [ h ]
: []
},
NAME : function(h, k) {
if (typeof k.getElementsByName !== "undefined") {
for ( var p = [], r = k.getElementsByName(h[1]), n = 0, q = r.length; n < q; n++)
r[n].getAttribute("name") === h[1] && p.push(r[n]);
return p.length === 0 ? null : p
}
},
TAG : function(h, k) {
if (typeof k.getElementsByTagName !== "undefined")
return k.getElementsByTagName(h[1])
}
},
preFilter : {
CLASS : function(h, k, p, r, n, q) {
h = " " + h[1].replace(l, "") + " ";
if (q)
return h;
q = 0;
for ( var u; (u = k[q]) != null; q++)
if (u)
if (n
^ (u.className && (" " + u.className + " ")
.replace(/[\t\n\r]/g, " ").indexOf(
h) >= 0))
p || r.push(u);
else if (p)
k[q] = false;
return false
},
ID : function(h) {
return h[1].replace(l, "")
},
TAG : function(h) {
return h[1].replace(l, "").toLowerCase()
},
CHILD : function(h) {
if (h[1] === "nth") {
h[2] || o.error(h[0]);
h[2] = h[2].replace(/^\+|\s*/g, "");
var k = /(-?)(\d*)(?:n([+\-]?\d*))?/
.exec(h[2] === "even" && "2n" || h[2] === "odd"
&& "2n+1" || !/\D/.test(h[2]) && "0n+"
+ h[2] || h[2]);
h[2] = k[1] + (k[2] || 1) - 0;
h[3] = k[3] - 0
} else
h[2] && o.error(h[0]);
h[0] = e++;
return h
},
ATTR : function(h, k, p, r, n, q) {
k = h[1] = h[1].replace(l, "");
if (!q && s.attrMap[k])
h[1] = s.attrMap[k];
h[4] = (h[4] || h[5] || "").replace(l, "");
if (h[2] === "~=")
h[4] = " " + h[4] + " ";
return h
},
PSEUDO : function(h, k, p, r, n) {
if (h[1] === "not")
if ((d.exec(h[3]) || "").length > 1 || /^\w/.test(h[3]))
h[3] = o(h[3], null, null, k);
else {
h = o.filter(h[3], k, p, true ^ n);
p || r.push.apply(r, h);
return false
}
else if (s.match.POS.test(h[0]) || s.match.CHILD.test(h[0]))
return true;
return h
},
POS : function(h) {
h.unshift(true);
return h
}
},
filters : {
enabled : function(h) {
return h.disabled === false && h.type !== "hidden"
},
disabled : function(h) {
return h.disabled === true
},
checked : function(h) {
return h.checked === true
},
selected : function(h) {
return h.selected === true
},
parent : function(h) {
return !!h.firstChild
},
empty : function(h) {
return !h.firstChild
},
has : function(h, k, p) {
return !!o(p[3], h).length
},
header : function(h) {
return /h\d/i.test(h.nodeName)
},
text : function(h) {
var k = h.getAttribute("type"), p = h.type;
return h.nodeName.toLowerCase() === "input" && "text" === p
&& (k === p || k === null)
},
radio : function(h) {
return h.nodeName.toLowerCase() === "input"
&& "radio" === h.type
},
checkbox : function(h) {
return h.nodeName.toLowerCase() === "input"
&& "checkbox" === h.type
},
file : function(h) {
return h.nodeName.toLowerCase() === "input"
&& "file" === h.type
},
password : function(h) {
return h.nodeName.toLowerCase() === "input"
&& "password" === h.type
},
submit : function(h) {
var k = h.nodeName.toLowerCase();
return (k === "input" || k === "button")
&& "submit" === h.type
},
image : function(h) {
return h.nodeName.toLowerCase() === "input"
&& "image" === h.type
},
reset : function(h) {
var k = h.nodeName.toLowerCase();
return (k === "input" || k === "button")
&& "reset" === h.type
},
button : function(h) {
var k = h.nodeName.toLowerCase();
return k === "input" && "button" === h.type
|| k === "button"
},
input : function(h) {
return /input|select|textarea|button/i.test(h.nodeName)
},
focus : function(h) {
return h === h.ownerDocument.activeElement
}
},
setFilters : {
first : function(h, k) {
return k === 0
},
last : function(h, k, p, r) {
return k === r.length - 1
},
even : function(h, k) {
return k % 2 === 0
},
odd : function(h, k) {
return k % 2 === 1
},
lt : function(h, k, p) {
return k < p[3] - 0
},
gt : function(h, k, p) {
return k > p[3] - 0
},
nth : function(h, k, p) {
return p[3] - 0 === k
},
eq : function(h, k, p) {
return p[3] - 0 === k
}
},
filter : {
PSEUDO : function(h, k, p, r) {
var n = k[1], q = s.filters[n];
if (q)
return q(h, p, k, r);
else if (n === "contains")
return (h.textContent || h.innerText
|| o.getText([ h ]) || "").indexOf(k[3]) >= 0;
else if (n === "not") {
k = k[3];
p = 0;
for (r = k.length; p < r; p++)
if (k[p] === h)
return false;
return true
} else
o.error(n)
},
CHILD : function(h, k) {
var p = k[1], r = h;
switch (p) {
case "only":
case "first":
for (; r = r.previousSibling;)
if (r.nodeType === 1)
return false;
if (p === "first")
return true;
r = h;
case "last":
for (; r = r.nextSibling;)
if (r.nodeType === 1)
return false;
return true;
case "nth":
p = k[2];
var n = k[3];
if (p === 1 && n === 0)
return true;
var q = k[0], u = h.parentNode;
if (u && (u.sizcache !== q || !h.nodeIndex)) {
var x = 0;
for (r = u.firstChild; r; r = r.nextSibling)
if (r.nodeType === 1)
r.nodeIndex = ++x;
u.sizcache = q
}
r = h.nodeIndex - n;
return p === 0 ? r === 0 : r % p === 0 && r / p >= 0
}
},
ID : function(h, k) {
return h.nodeType === 1 && h.getAttribute("id") === k
},
TAG : function(h, k) {
return k === "*" && h.nodeType === 1
|| h.nodeName.toLowerCase() === k
},
CLASS : function(h, k) {
return (" " + (h.className || h.getAttribute("class")) + " ")
.indexOf(k) > -1
},
ATTR : function(h, k) {
var p = k[1];
p = s.attrHandle[p] ? s.attrHandle[p](h)
: h[p] != null ? h[p] : h.getAttribute(p);
var r = p + "", n = k[2], q = k[4];
return p == null ? n === "!="
: n === "=" ? r === q
: n === "*=" ? r.indexOf(q) >= 0
: n === "~=" ? (" " + r + " ")
.indexOf(q) >= 0
: !q ? r && p !== false
: n === "!=" ? r !== q
: n === "^=" ? r
.indexOf(q) === 0
: n === "$=" ? r
.substr(r.length
- q.length) === q
: n === "|=" ? r === q
|| r
.substr(
0,
q.length + 1) === q
+ "-"
: false
},
POS : function(h, k, p, r) {
var n = s.setFilters[k[2]];
if (n)
return n(h, p, k, r)
}
}
}, A = s.match.POS, G = function(h, k) {
return "\\" + (k - 0 + 1)
}, F;
for (F in s.match) {
s.match[F] = RegExp(s.match[F].source
+ /(?![^\[]*\])(?![^\(]*\))/.source);
s.leftMatch[F] = RegExp(/(^(?:.|\r|\n)*?)/.source
+ s.match[F].source.replace(/\\(\d+)/g, G))
}
var H = function(h, k) {
h = Array.prototype.slice.call(h, 0);
if (k) {
k.push.apply(k, h);
return k
}
return h
};
try {
Array.prototype.slice.call(y.documentElement.childNodes, 0)
} catch (W) {
H = function(h, k) {
var p = 0, r = k || [];
if (f.call(h) === "[object Array]")
Array.prototype.push.apply(r, h);
else if (typeof h.length === "number")
for ( var n = h.length; p < n; p++)
r.push(h[p]);
else
for (; h[p]; p++)
r.push(h[p]);
return r
}
}
var M, N;
if (y.documentElement.compareDocumentPosition)
M = function(h, k) {
if (h === k) {
g = true;
return 0
}
if (!h.compareDocumentPosition || !k.compareDocumentPosition)
return h.compareDocumentPosition ? -1 : 1;
return h.compareDocumentPosition(k) & 4 ? -1 : 1
};
else {
M = function(h, k) {
if (h === k) {
g = true;
return 0
} else if (h.sourceIndex && k.sourceIndex)
return h.sourceIndex - k.sourceIndex;
var p, r, n = [], q = [];
p = h.parentNode;
r = k.parentNode;
var u = p;
if (p === r)
return N(h, k);
else if (p) {
if (!r)
return 1
} else
return -1;
for (; u;) {
n.unshift(u);
u = u.parentNode
}
for (u = r; u;) {
q.unshift(u);
u = u.parentNode
}
p = n.length;
r = q.length;
for (u = 0; u < p && u < r; u++)
if (n[u] !== q[u])
return N(n[u], q[u]);
return u === p ? N(h, q[u], -1) : N(n[u], k, 1)
};
N = function(h, k, p) {
if (h === k)
return p;
for (h = h.nextSibling; h;) {
if (h === k)
return -1;
h = h.nextSibling
}
return 1
}
}
o.getText = function(h) {
for ( var k = "", p, r = 0; h[r]; r++) {
p = h[r];
if (p.nodeType === 3 || p.nodeType === 4)
k += p.nodeValue;
else if (p.nodeType !== 8)
k += o.getText(p.childNodes)
}
return k
};
(function() {
var h = y.createElement("div"), k = "script" + (new Date).getTime(), p = y.documentElement;
h.innerHTML = " ";
p.insertBefore(h, p.firstChild);
if (y.getElementById(k)) {
s.find.ID = function(r, n, q) {
if (typeof n.getElementById !== "undefined" && !q)
return (n = n.getElementById(r[1])) ? n.id === r[1]
|| typeof n.getAttributeNode !== "undefined"
&& n.getAttributeNode("id").nodeValue === r[1] ? [ n ]
: v
: []
};
s.filter.ID = function(r, n) {
var q = typeof r.getAttributeNode !== "undefined"
&& r.getAttributeNode("id");
return r.nodeType === 1 && q && q.nodeValue === n
}
}
p.removeChild(h);
p = h = null
})();
(function() {
var h = y.createElement("div");
h.appendChild(y.createComment(""));
if (h.getElementsByTagName("*").length > 0)
s.find.TAG = function(k, p) {
var r = p.getElementsByTagName(k[1]);
if (k[1] === "*") {
for ( var n = [], q = 0; r[q]; q++)
r[q].nodeType === 1 && n.push(r[q]);
r = n
}
return r
};
h.innerHTML = " ";
if (h.firstChild
&& typeof h.firstChild.getAttribute !== "undefined"
&& h.firstChild.getAttribute("href") !== "#")
s.attrHandle.href = function(k) {
return k.getAttribute("href", 2)
};
h = null
})();
y.querySelectorAll
&& function() {
var h = o, k = y.createElement("div");
k.innerHTML = "
";
if (!(k.querySelectorAll && k.querySelectorAll(".TEST").length === 0)) {
o = function(r, n, q, u) {
n = n || y;
if (!u && !o.isXML(n)) {
var x = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/
.exec(r);
if (x && (n.nodeType === 1 || n.nodeType === 9))
if (x[1])
return H(n.getElementsByTagName(r), q);
else if (x[2] && s.find.CLASS
&& n.getElementsByClassName)
return H(
n.getElementsByClassName(x[2]),
q);
if (n.nodeType === 9) {
if (r === "body" && n.body)
return H([ n.body ], q);
else if (x && x[3]) {
var B = n.getElementById(x[3]);
if (B && B.parentNode) {
if (B.id === x[3])
return H([ B ], q)
} else
return H([], q)
}
try {
return H(n.querySelectorAll(r), q)
} catch (O) {
}
} else if (n.nodeType === 1
&& n.nodeName.toLowerCase() !== "object") {
x = n;
var K = (B = n.getAttribute("id"))
|| "__sizzle__", L = n.parentNode, j = /^\s*[+~]/
.test(r);
if (B)
K = K.replace(/'/g, "\\$&");
else
n.setAttribute("id", K);
if (j && L)
n = n.parentNode;
try {
if (!j || L)
return H(n.querySelectorAll("[id='"
+ K + "'] " + r), q)
} catch (t) {
} finally {
B || x.removeAttribute("id")
}
}
}
return h(r, n, q, u)
};
for ( var p in h)
o[p] = h[p];
k = null
}
}();
(function() {
var h = y.documentElement, k = h.matchesSelector
|| h.mozMatchesSelector || h.webkitMatchesSelector
|| h.msMatchesSelector;
if (k) {
var p = !k.call(y.createElement("div"), "div"), r = false;
try {
k.call(y.documentElement, "[test!='']:sizzle")
} catch (n) {
r = true
}
o.matchesSelector = function(q, u) {
u = u.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
if (!o.isXML(q))
try {
if (r || !s.match.PSEUDO.test(u) && !/!=/.test(u)) {
var x = k.call(q, u);
if (x || !p || q.document
&& q.document.nodeType !== 11)
return x
}
} catch (B) {
}
return o(u, null, null, [ q ]).length > 0
}
}
})();
(function() {
var h = y.createElement("div");
h.innerHTML = "
";
if (!(!h.getElementsByClassName || h.getElementsByClassName("e").length === 0)) {
h.lastChild.className = "e";
if (h.getElementsByClassName("e").length !== 1) {
s.order.splice(1, 0, "CLASS");
s.find.CLASS = function(k, p, r) {
if (typeof p.getElementsByClassName !== "undefined"
&& !r)
return p.getElementsByClassName(k[1])
};
h = null
}
}
})();
o.contains = y.documentElement.contains ? function(h, k) {
return h !== k && (h.contains ? h.contains(k) : true)
} : y.documentElement.compareDocumentPosition ? function(h, k) {
return !!(h.compareDocumentPosition(k) & 16)
} : function() {
return false
};
o.isXML = function(h) {
return (h = (h ? h.ownerDocument || h : 0).documentElement) ? h.nodeName !== "HTML"
: false
};
var R = function(h, k) {
for ( var p, r = [], n = "", q = k.nodeType ? [ k ] : k; p = s.match.PSEUDO
.exec(h);) {
n += p[0];
h = h.replace(s.match.PSEUDO, "")
}
h = s.relative[h] ? h + "*" : h;
p = 0;
for ( var u = q.length; p < u; p++)
o(h, q[p], r);
return o.filter(n, r)
};
c.find = o;
c.expr = o.selectors;
c.expr[":"] = c.expr.filters;
c.unique = o.uniqueSort;
c.text = o.getText;
c.isXMLDoc = o.isXML;
c.contains = o.contains
})();
var Kb = /Until$/, Lb = /^(?:parents|prevUntil|prevAll)/, Mb = /,/, ub = /^.[^:#\[\.,]*$/, Nb = Array.prototype.slice, ab = c.expr.match.POS, Ob = {
children : true,
contents : true,
next : true,
prev : true
};
c.fn.extend({
find : function(a) {
var b = this, d, e;
if (typeof a !== "string")
return c(a).filter(function() {
d = 0;
for (e = b.length; d < e; d++)
if (c.contains(b[d], this))
return true
});
var f = this.pushStack("", "find", a), g, i, l;
d = 0;
for (e = this.length; d < e; d++) {
g = f.length;
c.find(a, this[d], f);
if (d > 0)
for (i = g; i < f.length; i++)
for (l = 0; l < g; l++)
if (f[l] === f[i]) {
f.splice(i--, 1);
break
}
}
return f
},
has : function(a) {
var b = c(a);
return this.filter(function() {
for ( var d = 0, e = b.length; d < e; d++)
if (c.contains(this, b[d]))
return true
})
},
not : function(a) {
return this.pushStack(Ia(this, a, false), "not", a)
},
filter : function(a) {
return this.pushStack(Ia(this, a, true), "filter", a)
},
is : function(a) {
return !!a
&& (typeof a === "string" ? c.filter(a, this).length > 0
: this.filter(a).length > 0)
},
closest : function(a, b) {
var d = [], e, f, g = this[0];
if (c.isArray(a)) {
var i, l = {}, m = 1;
if (g && a.length) {
e = 0;
for (f = a.length; e < f; e++) {
i = a[e];
l[i]
|| (l[i] = ab.test(i) ? c(i, b || this.context)
: i)
}
for (; g && g.ownerDocument && g !== b;) {
for (i in l) {
e = l[i];
if (e.jquery ? e.index(g) > -1 : c(g).is(e))
d.push({
selector : i,
elem : g,
level : m
})
}
g = g.parentNode;
m++
}
}
return d
}
i = ab.test(a) || typeof a !== "string" ? c(a, b || this.context)
: 0;
e = 0;
for (f = this.length; e < f; e++)
for (g = this[e]; g;)
if (i ? i.index(g) > -1 : c.find.matchesSelector(g, a)) {
d.push(g);
break
} else {
g = g.parentNode;
if (!g || !g.ownerDocument || g === b
|| g.nodeType === 11)
break
}
d = d.length > 1 ? c.unique(d) : d;
return this.pushStack(d, "closest", a)
},
index : function(a) {
if (!a || typeof a === "string")
return c.inArray(this[0], a ? c(a) : this.parent().children());
return c.inArray(a.jquery ? a[0] : a, this)
},
add : function(a, b) {
var d = typeof a === "string" ? c(a, b) : c.makeArray(a
&& a.nodeType ? [ a ] : a), e = c.merge(this.get(), d);
return this.pushStack(!d[0] || !d[0].parentNode
|| d[0].parentNode.nodeType === 11 || !e[0]
|| !e[0].parentNode || e[0].parentNode.nodeType === 11 ? e
: c.unique(e))
},
andSelf : function() {
return this.add(this.prevObject)
}
});
c.each({
parent : function(a) {
return (a = a.parentNode) && a.nodeType !== 11 ? a : null
},
parents : function(a) {
return c.dir(a, "parentNode")
},
parentsUntil : function(a, b, d) {
return c.dir(a, "parentNode", d)
},
next : function(a) {
return c.nth(a, 2, "nextSibling")
},
prev : function(a) {
return c.nth(a, 2, "previousSibling")
},
nextAll : function(a) {
return c.dir(a, "nextSibling")
},
prevAll : function(a) {
return c.dir(a, "previousSibling")
},
nextUntil : function(a, b, d) {
return c.dir(a, "nextSibling", d)
},
prevUntil : function(a, b, d) {
return c.dir(a, "previousSibling", d)
},
siblings : function(a) {
return c.sibling(a.parentNode.firstChild, a)
},
children : function(a) {
return c.sibling(a.firstChild)
},
contents : function(a) {
return c.nodeName(a, "iframe") ? a.contentDocument
|| a.contentWindow.document : c.makeArray(a.childNodes)
}
}, function(a, b) {
c.fn[a] = function(d, e) {
var f = c.map(this, b, d), g = Nb.call(arguments);
Kb.test(a) || (e = d);
if (e && typeof e === "string")
f = c.filter(e, f);
f = this.length > 1 && !Ob[a] ? c.unique(f) : f;
if ((this.length > 1 || Mb.test(e)) && Lb.test(a))
f = f.reverse();
return this.pushStack(f, a, g.join(","))
}
});
c.extend({
filter : function(a, b, d) {
if (d)
a = ":not(" + a + ")";
return b.length === 1 ? c.find.matchesSelector(b[0], a) ? [ b[0] ]
: [] : c.find.matches(a, b)
},
dir : function(a, b, d) {
var e = [];
for (a = a[b]; a && a.nodeType !== 9
&& (d === v || a.nodeType !== 1 || !c(a).is(d));) {
a.nodeType === 1 && e.push(a);
a = a[b]
}
return e
},
nth : function(a, b, d) {
b = b || 1;
for ( var e = 0; a; a = a[d])
if (a.nodeType === 1 && ++e === b)
break;
return a
},
sibling : function(a, b) {
for ( var d = []; a; a = a.nextSibling)
a.nodeType === 1 && a !== b && d.push(a);
return d
}
});
var Pb = / jQuery\d+="(?:\d+|null)"/g, Ba = /^\s+/, bb = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, cb = /<([\w:]+)/, Qb = /", "" ],
legend : [ 1, "", " " ],
thead : [ 1, "" ],
tr : [ 2, "" ],
td : [ 3, "" ],
col : [ 2, "" ],
area : [ 1, "", " " ],
_default : [ 0, "", "" ]
};
P.optgroup = P.option;
P.tbody = P.tfoot = P.colgroup = P.caption = P.thead;
P.th = P.td;
if (!c.support.htmlSerialize)
P._default = [ 1, "div", "
" ];
c.fn
.extend({
text : function(a) {
if (c.isFunction(a))
return this.each(function(b) {
var d = c(this);
d.text(a.call(this, b, d.text()))
});
if (typeof a !== "object" && a !== v)
return this.empty().append(
(this[0] && this[0].ownerDocument || y)
.createTextNode(a));
return c.text(this)
},
wrapAll : function(a) {
if (c.isFunction(a))
return this.each(function(d) {
c(this).wrapAll(a.call(this, d))
});
if (this[0]) {
var b = c(a, this[0].ownerDocument).eq(0).clone(true);
this[0].parentNode && b.insertBefore(this[0]);
b.map(
function() {
for ( var d = this; d.firstChild
&& d.firstChild.nodeType === 1;)
d = d.firstChild;
return d
}).append(this)
}
return this
},
wrapInner : function(a) {
if (c.isFunction(a))
return this.each(function(b) {
c(this).wrapInner(a.call(this, b))
});
return this.each(function() {
var b = c(this), d = b.contents();
d.length ? d.wrapAll(a) : b.append(a)
})
},
wrap : function(a) {
return this.each(function() {
c(this).wrapAll(a)
})
},
unwrap : function() {
return this.parent().each(
function() {
c.nodeName(this, "body")
|| c(this).replaceWith(this.childNodes)
}).end()
},
append : function() {
return this.domManip(arguments, true, function(a) {
this.nodeType === 1 && this.appendChild(a)
})
},
prepend : function() {
return this.domManip(arguments, true, function(a) {
this.nodeType === 1
&& this.insertBefore(a, this.firstChild)
})
},
before : function() {
if (this[0] && this[0].parentNode)
return this.domManip(arguments, false, function(b) {
this.parentNode.insertBefore(b, this)
});
else if (arguments.length) {
var a = c(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, false, function(b) {
this.parentNode.insertBefore(b, this.nextSibling)
});
else if (arguments.length) {
var a = this.pushStack(this, "after", arguments);
a.push.apply(a, c(arguments[0]).toArray());
return a
}
},
remove : function(a, b) {
for ( var d = 0, e; (e = this[d]) != null; d++)
if (!a || c.filter(a, [ e ]).length) {
if (!b && e.nodeType === 1) {
c.cleanData(e.getElementsByTagName("*"));
c.cleanData([ e ])
}
e.parentNode && e.parentNode.removeChild(e)
}
return this
},
empty : function() {
for ( var a = 0, b; (b = this[a]) != null; a++)
for (b.nodeType === 1
&& c.cleanData(b.getElementsByTagName("*")); b.firstChild;)
b.removeChild(b.firstChild);
return this
},
clone : function(a, b) {
a = a == null ? false : a;
b = b == null ? a : b;
return this.map(function() {
return c.clone(this, a, b)
})
},
html : function(a) {
if (a === v)
return this[0] && this[0].nodeType === 1 ? this[0].innerHTML
.replace(Pb, "")
: null;
else if (typeof a === "string" && !db.test(a)
&& (c.support.leadingWhitespace || !Ba.test(a))
&& !P[(cb.exec(a) || [ "", "" ])[1].toLowerCase()]) {
a = a.replace(bb, "<$1>$2>");
try {
for ( var b = 0, d = this.length; b < d; b++)
if (this[b].nodeType === 1) {
c.cleanData(this[b]
.getElementsByTagName("*"));
this[b].innerHTML = a
}
} catch (e) {
this.empty().append(a)
}
} else
c.isFunction(a) ? this.each(function(f) {
var g = c(this);
g.html(a.call(this, f, g.html()))
}) : this.empty().append(a);
return this
},
replaceWith : function(a) {
if (this[0] && this[0].parentNode) {
if (c.isFunction(a))
return this.each(function(b) {
var d = c(this), e = d.html();
d.replaceWith(a.call(this, b, e))
});
if (typeof a !== "string")
a = c(a).detach();
return this.each(function() {
var b = this.nextSibling, d = this.parentNode;
c(this).remove();
b ? c(b).before(a) : c(d).append(a)
})
} else
return this.length ? this.pushStack(
c(c.isFunction(a) ? a() : a), "replaceWith", a)
: this
},
detach : function(a) {
return this.remove(a, true)
},
domManip : function(a, b, d) {
var e, f, g, i = a[0], l = [];
if (!c.support.checkClone && arguments.length === 3
&& typeof i === "string" && eb.test(i))
return this.each(function() {
c(this).domManip(a, b, d, true)
});
if (c.isFunction(i))
return this.each(function(s) {
var A = c(this);
a[0] = i.call(this, s, b ? A.html() : v);
A.domManip(a, b, d)
});
if (this[0]) {
e = i && i.parentNode;
e = c.support.parentNode && e && e.nodeType === 11
&& e.childNodes.length === this.length ? {
fragment : e
} : c.buildFragment(a, this, l);
g = e.fragment;
if (f = g.childNodes.length === 1 ? g = g.firstChild
: g.firstChild) {
b = b && c.nodeName(f, "tr");
f = 0;
for ( var m = this.length, o = m - 1; f < m; f++)
d
.call(
b ? c
.nodeName(this[f],
"table") ? this[f]
.getElementsByTagName("tbody")[0]
|| this[f]
.appendChild(this[f].ownerDocument
.createElement("tbody"))
: this[f]
: this[f], e.cacheable
|| m > 1 && f < o ? c
.clone(g, true, true)
: g)
}
l.length && c.each(l, vb)
}
return this
}
});
c.buildFragment = function(a, b, d) {
var e, f, g, i;
if (b && b[0])
i = b[0].ownerDocument || b[0];
i.createDocumentFragment || (i = y);
if (a.length === 1 && typeof a[0] === "string" && a[0].length < 512
&& i === y && a[0].charAt(0) === "<" && !db.test(a[0])
&& (c.support.checkClone || !eb.test(a[0]))) {
f = true;
if ((g = c.fragments[a[0]]) && g !== 1)
e = g
}
if (!e) {
e = i.createDocumentFragment();
c.clean(a, i, e, d)
}
if (f)
c.fragments[a[0]] = g ? e : 1;
return {
fragment : e,
cacheable : f
}
};
c.fragments = {};
c.each({
appendTo : "append",
prependTo : "prepend",
insertBefore : "before",
insertAfter : "after",
replaceAll : "replaceWith"
}, function(a, b) {
c.fn[a] = function(d) {
var e = [];
d = c(d);
var f = this.length === 1 && this[0].parentNode;
if (f && f.nodeType === 11 && f.childNodes.length === 1
&& d.length === 1) {
d[b](this[0]);
return this
} else {
f = 0;
for ( var g = d.length; f < g; f++) {
var i = (f > 0 ? this.clone(true) : this).get();
c(d[f])[b](i);
e = e.concat(i)
}
return this.pushStack(e, a, d.selector)
}
}
});
c
.extend({
clone : function(a, b, d) {
var e = a.cloneNode(true), f, g, i;
if ((!c.support.noCloneEvent || !c.support.noCloneChecked)
&& (a.nodeType === 1 || a.nodeType === 11)
&& !c.isXMLDoc(a)) {
Ka(a, e);
f = ka(a);
g = ka(e);
for (i = 0; f[i]; ++i)
Ka(f[i], g[i])
}
if (b) {
Ja(a, e);
if (d) {
f = ka(a);
g = ka(e);
for (i = 0; f[i]; ++i)
Ja(f[i], g[i])
}
}
return e
},
clean : function(a, b, d, e) {
b = b || y;
if (typeof b.createElement === "undefined")
b = b.ownerDocument || b[0] && b[0].ownerDocument || y;
for ( var f = [], g, i = 0, l; (l = a[i]) != null; i++) {
if (typeof l === "number")
l += "";
if (l) {
if (typeof l === "string")
if (Rb.test(l)) {
l = l.replace(bb, "<$1>$2>");
g = (cb.exec(l) || [ "", "" ])[1]
.toLowerCase();
var m = P[g] || P._default, o = m[0], s = b
.createElement("div");
for (s.innerHTML = m[1] + l + m[2]; o--;)
s = s.lastChild;
if (!c.support.tbody) {
o = Qb.test(l);
m = g === "table" && !o ? s.firstChild
&& s.firstChild.childNodes
: m[1] === "" && !o ? s.childNodes
: [];
for (g = m.length - 1; g >= 0; --g)
c.nodeName(m[g], "tbody")
&& !m[g].childNodes.length
&& m[g].parentNode
.removeChild(m[g])
}
!c.support.leadingWhitespace
&& Ba.test(l)
&& s
.insertBefore(
b
.createTextNode(Ba
.exec(l)[0]),
s.firstChild);
l = s.childNodes
} else
l = b.createTextNode(l);
var A;
if (!c.support.appendChecked)
if (l[0] && typeof (A = l.length) === "number")
for (g = 0; g < A; g++)
Ma(l[g]);
else
Ma(l);
if (l.nodeType)
f.push(l);
else
f = c.merge(f, l)
}
}
if (d) {
a = function(G) {
return !G.type || Sb.test(G.type)
};
for (i = 0; f[i]; i++)
if (e
&& c.nodeName(f[i], "script")
&& (!f[i].type || f[i].type.toLowerCase() === "text/javascript"))
e.push(f[i].parentNode ? f[i].parentNode
.removeChild(f[i]) : f[i]);
else {
if (f[i].nodeType === 1) {
b = c.grep(f[i]
.getElementsByTagName("script"), a);
f.splice.apply(f, [ i + 1, 0 ].concat(b))
}
d.appendChild(f[i])
}
}
return f
},
cleanData : function(a) {
for ( var b, d, e = c.cache, f = c.expando, g = c.event.special, i = c.support.deleteExpando, l = 0, m; (m = a[l]) != null; l++)
if (!(m.nodeName && c.noData[m.nodeName.toLowerCase()]))
if (d = m[c.expando]) {
if ((b = e[d] && e[d][f]) && b.events) {
for ( var o in b.events)
g[o] ? c.event.remove(m, o) : c
.removeEvent(m, o, b.handle);
if (b.handle)
b.handle.elem = null
}
if (i)
delete m[c.expando];
else
m.removeAttribute
&& m.removeAttribute(c.expando);
delete e[d]
}
}
});
var fb = /alpha\([^)]*\)/i, Tb = /opacity=([^)]*)/, Ub = /([A-Z]|^ms)/g, gb = /^-?\d+(?:px)?$/i, Vb = /^-?\d/, Wb = /^[+\-]=/, Xb = /[^+\-\.\de]+/g, Yb = {
position : "absolute",
visibility : "hidden",
display : "block"
}, xb = [ "Left", "Right" ], yb = [ "Top", "Bottom" ], aa, hb, ib;
c.fn.css = function(a, b) {
if (arguments.length === 2 && b === v)
return this;
return c.access(this, a, b, true, function(d, e, f) {
return f !== v ? c.style(d, e, f) : c.css(d, e)
})
};
c.extend({
cssHooks : {
opacity : {
get : function(a, b) {
if (b) {
var d = aa(a, "opacity", "opacity");
return d === "" ? "1" : d
} else
return a.style.opacity
}
}
},
cssNumber : {
fillOpacity : true,
fontWeight : true,
lineHeight : true,
opacity : true,
orphans : true,
widows : true,
zIndex : true,
zoom : true
},
cssProps : {
"float" : c.support.cssFloat ? "cssFloat" : "styleFloat"
},
style : function(a, b, d, e) {
if (!(!a || a.nodeType === 3 || a.nodeType === 8 || !a.style)) {
var f, g = c.camelCase(b), i = a.style, l = c.cssHooks[g];
b = c.cssProps[g] || g;
if (d !== v) {
e = typeof d;
if (!(e === "number" && isNaN(d) || d == null)) {
if (e === "string" && Wb.test(d)) {
d = +d.replace(Xb, "") + parseFloat(c.css(a, b));
e = "number"
}
if (e === "number" && !c.cssNumber[g])
d += "px";
if (!l || !("set" in l) || (d = l.set(a, d)) !== v)
try {
i[b] = d
} catch (m) {
}
}
} else {
if (l && "get" in l && (f = l.get(a, false, e)) !== v)
return f;
return i[b]
}
}
},
css : function(a, b, d) {
var e, f;
b = c.camelCase(b);
f = c.cssHooks[b];
b = c.cssProps[b] || b;
if (b === "cssFloat")
b = "float";
if (f && "get" in f && (e = f.get(a, true, d)) !== v)
return e;
else if (aa)
return aa(a, b)
},
swap : function(a, b, d) {
var e = {}, f;
for (f in b) {
e[f] = a.style[f];
a.style[f] = b[f]
}
d.call(a);
for (f in b)
a.style[f] = e[f]
}
});
c.curCSS = c.css;
c.each([ "height", "width" ], function(a, b) {
c.cssHooks[b] = {
get : function(d, e, f) {
var g;
if (e) {
if (d.offsetWidth !== 0)
return Na(d, b, f);
else
c.swap(d, Yb, function() {
g = Na(d, b, f)
});
return g
}
},
set : function(d, e) {
if (gb.test(e)) {
e = parseFloat(e);
if (e >= 0)
return e + "px"
} else
return e
}
}
});
if (!c.support.opacity)
c.cssHooks.opacity = {
get : function(a, b) {
return Tb.test((b && a.currentStyle ? a.currentStyle.filter
: a.style.filter)
|| "") ? parseFloat(RegExp.$1) / 100 + "" : b ? "1"
: ""
},
set : function(a, b) {
var d = a.style, e = a.currentStyle;
d.zoom = 1;
var f = c.isNaN(b) ? "" : "alpha(opacity=" + b * 100 + ")";
e = e && e.filter || d.filter || "";
d.filter = fb.test(e) ? e.replace(fb, f) : e + " " + f
}
};
c(function() {
if (!c.support.reliableMarginRight)
c.cssHooks.marginRight = {
get : function(a, b) {
var d;
c.swap(a, {
display : "inline-block"
}, function() {
d = b ? aa(a, "margin-right", "marginRight")
: a.style.marginRight
});
return d
}
}
});
if (y.defaultView && y.defaultView.getComputedStyle)
hb = function(a, b) {
var d, e;
b = b.replace(Ub, "-$1").toLowerCase();
if (!(e = a.ownerDocument.defaultView))
return v;
if (e = e.getComputedStyle(a, null)) {
d = e.getPropertyValue(b);
if (d === "" && !c.contains(a.ownerDocument.documentElement, a))
d = c.style(a, b)
}
return d
};
if (y.documentElement.currentStyle)
ib = function(a, b) {
var d, e = a.currentStyle && a.currentStyle[b], f = a.runtimeStyle
&& a.runtimeStyle[b], g = a.style;
if (!gb.test(e) && Vb.test(e)) {
d = g.left;
if (f)
a.runtimeStyle.left = a.currentStyle.left;
g.left = b === "fontSize" ? "1em" : e || 0;
e = g.pixelLeft + "px";
g.left = d;
if (f)
a.runtimeStyle.left = f
}
return e === "" ? "auto" : e
};
aa = hb || ib;
if (c.expr && c.expr.filters) {
c.expr.filters.hidden = function(a) {
var b = a.offsetHeight;
return a.offsetWidth === 0 && b === 0
|| !c.support.reliableHiddenOffsets
&& (a.style.display || c.css(a, "display")) === "none"
};
c.expr.filters.visible = function(a) {
return !c.expr.filters.hidden(a)
}
}
var Zb = /%20/g, zb = /\[\]$/, jb = /\r?\n/g, $b = /#.*$/, ac = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, bc = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, cc = /^(?:GET|HEAD)$/, dc = /^\/\//, kb = /\?/, ec = /