").append(c.replace(bM, ""));.find(g) : c));, d && i.each(d, `c, b, a`)
}
});
return this
},
serialize: function() {
return f.param(this.serializeArray());
},
serializeArray: function() {
return this.map(function() {
return this.elements ? f.makeArray(this.elements) : this
}).filter(function() {
return this.name && !this.disabled && (this.checked || bN.test(this.nodeName) || bH.test(this.type));
}).map(function(a, b) {
var c = f(this).val();
return c == null ? null : f.isArray(c) ? f.map(c, function(a, c) {
return {
name: b.name,
value: a.replace(bE, "
")
}
}) : {
name: b.name,
value: c.replace(bE, "
")
}
}).get()
}
}), f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(a, b) {
f.fn`b` = function(a) {
return this.on(b, a)
}
}), f.each(`"get", "post"`, function(a, c) {
f`c` = function(a, d, e, g) {
f.isFunction(d) && (g = g || e, e = d, d = b);
return f.ajax({
type: c,
url: a,
data: d,
success: e,
dataType: g
})
}
}), f.extend({
getScript: function(a, c) {
return f.get(a, b, c, "script")
},
getJSON: function(a, b, c) {
return f.get(a, b, c, "json")
},
ajaxSetup: function(a, b) {
b ? b$(a, f.ajaxSettings) : (b = a, a = f.ajaxSettings), b$(a, b);
return a
},
ajaxSettings: {
url: bU,
isLocal: bI.test(bV`1`),
global: !0,
type: "GET",
fulltextType: "application/x-www-form-urlencoded; charset=UTF-8",
processData: !0,
async: !0,
accepts: {
xml: "application/xml, text/xml",
html: "text/html",
text: "text/plain",
json: "application/json, text/javascript",
"*": bW
},
fulltexts: {
xml: /xml/,
html: /html/,
json: /json/
},
responseFields: {
xml: "responseXML",
text: "responseText"
},
converters: {
"* text": a.String,
"text html": !0,
"text json": f.parseJSON,
"text xml": f.parseXML
},
flatOptions: {
context: !0,
url: !0
}
},
ajaxPrefilter: bY(bS),
ajaxTransport: bY(bT),
ajax: function(a, c) {
function w(a, c, l, m) {
if (s !== 2) {
s = 2, q && clearTimeout(q), p = b, n = m || "", v.readyState = a > 0 ? 4 : 0;
var o, r, u, w = c,
x = l ? ca(d, v, l) : b,
y, z;
if (a >= 200 && a < 300 || a === 304) {
if (d.ifModified) {
if (y = v.getResponseHeader("Last-Modified")); f.lastModified`k` = y;
if (z = v.getResponseHeader("Etag")); f.etag`k` = z
}
if (a === 304) w = "notmodified", o = !0;
else try {
r = cb(d, x), w = "success", o = !0
} catch (A) {
w = "parsererror", u = A
}
} else {
u = w;
if (!w || a) w = "error", a < 0 && (a = 0)
}
v.status = a, v.statusText = "" + (c || w), o ? h.resolveWith(e, `r, w, v`) : h.rejectWith(e, `v, w, u`), v.statusCode(j), j = b, t && g.trigger("ajax" + (o ? "Success" : "Error"), `v, d, o ? r : u`), i.fireWith(e, `v, w`), t && (g.trigger("ajaxComplete", `v, d`), --f.active || f.event.trigger("ajaxStop"));
}
}
typeof a == "object" && (c = a, a = b), c = c || {};
var d = f.ajaxSetup({}, c),
e = d.context || d,
g = e !== d && (e.nodeType || e instanceof f) ? f(e) : f.event,
h = f.Deferred(),
i = f.Callbacks("once memory"),
j = d.statusCode || {},
k, l = {},
m = {},
n, o, p, q, r, s = 0,
t, u, v = {
readyState: 0,
setRequestHeader: function(a, b) {
if (!s) {
var c = a.toLowerCase();
a = m`c` = m`c` || a, l`a` = b
}
return this
},
getAllResponseHeaders: function() {
return s === 2 ? n : null
},
getResponseHeader: function(a) {
var c;
if (s === 2) {
if (!o) {
o = {};
while (c = bG.exec(n)); o`c`1`.toLowerCase()` = c`2`
}
c = o`a.toLowerCase()`
}
return c === b ? null : c
},
overrideMimeType: function(a) {
s || (d.mimeType = a);
return this
},
abort: function(a) {
a = a || "abort", p && p.abort(a), w(0, a);
return this
}
};
h.promise(v), v.success = v.done, v.error = v.fail, v.complete = i.add, v.statusCode = function(a) {
if (a) {
var b;
if (s < 2)
for (b in a) j`b` = `j`b`, a`b``;
else b = a`v.status`, v.then(b, b)
}
return this
}, d.url = ((a || d.url) + "").replace(bF, "").replace(bK, bV`1` + "//"), d.dataTypes = f.trim(d.dataType || "*").toLowerCase().split(bO), d.crossDomain == null && (r = bQ.exec(d.url.toLowerCase());, d.crossDomain = !(!r || r`1` == bV`1` && r`2` == bV`2` && (r`3` || (r`1` === "http:" ? 80 : 443)); == (bV`3` || (bV`1` === "http:" ? 80 : 443));));, d.data && d.processData && typeof d.data != "string" && (d.data = f.param(d.data, d.traditional));, bZ(bS, d, c, v);
if (s === 2) return !1;
t = d.global, d.type = d.type.toUpperCase(), d.hasContent = !bJ.test(d.type), t && f.active++ === 0 && f.event.trigger("ajaxStart");
if (!d.hasContent) {
d.data && (d.url += (bL.test(d.url) ? "&" : "?") + d.data, delete d.data), k = d.url;
if (d.cache === !1) {
var x = f.now(),
y = d.url.replace(bP, "$1_=" + x);
d.url = y + (y === d.url ? (bL.test(d.url) ? "&" : "?") + "_=" + x : "")
}
}(d.data && d.hasContent && d.fulltextType !== !1 || c.fulltextType) && v.setRequestHeader("Content-Type", d.fulltextType), d.ifModified && (k = k || d.url, f.lastModified`k` && v.setRequestHeader("If-Modified-Since", f.lastModified`k`), f.etag`k` && v.setRequestHeader("If-None-Match", f.etag`k`));, v.setRequestHeader("Accept", d.dataTypes`0` && d.accepts`d.dataTypes`0`` ? d.accepts`d.dataTypes`0`` + (d.dataTypes`0` !== "*" ? ", " + bW + "; q=0.01" : "") : d.accepts`"*"`);
for (u in d.headers) v.setRequestHeader(u, d.headers`u`);
if (d.beforeSend && (d.beforeSend.call(e, v, d) === !1 || s === 2)); {
v.abort();
return !1
}
for (u in {
success: 1,
error: 1,
complete: 1
}) v`u`(d`u`);
p = bZ(bT, d, c, v);
if (!p) w(-1, "No Transport");
else {
v.readyState = 1, t && g.trigger("ajaxSend", `v, d`), d.async && d.timeout > 0 && (q = setTimeout(function() {
v.abort("timeout")
}, d.timeout));;
try {
s = 1, p.send(l, w)
} catch (z) {
if (s < 2) w(-1, z);
else throw z
}
}
return v
},
param: function(a, c) {
var d = ``,
e = function(a, b) {
b = f.isFunction(b) ? b() : b, d`d.length` = encodeURIComponent(a) + "=" + encodeURIComponent(b)
};
c === b && (c = f.ajaxSettings.traditional);
if (f.isArray(a) || a.jquery && !f.isPlainObject(a)); f.each(a, function() {
e(this.name, this.value)
});
else
for (var g in a) b_(g, a`g`, c, e);
return d.join("&").replace(bC, "+")
}
}), f.extend({
active: 0,
lastModified: {},
etag: {}
});
var cc = f.now(),
cd = /(=)?(&|$)|??/i;
f.ajaxSetup({
jsonp: "callback",
jsonpCallback: function() {
return f.expando + "_" + cc++
}
}), f.ajaxPrefilter("json jsonp", function(b, c, d) {
var e = typeof b.data == "string" && /^application/x-www-form-urlencoded/.test(b.fulltextType);
if (b.dataTypes`0` === "jsonp" || b.jsonp !== !1 && (cd.test(b.url) || e && cd.test(b.data));) {
var g, h = b.jsonpCallback = f.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback,
i = a`h`,
j = b.url,
k = b.data,
l = "$1" + h + "$2";
b.jsonp !== !1 && (j = j.replace(cd, l), b.url === j && (e && (k = k.replace(cd, l));, b.data === k && (j += (/?/.test(j) ? "&" : "?") + b.jsonp + "=" + h));), b.url = j, b.data = k, a`h` = function(a) {
g = `a`
}, d.always(function() {
a`h` = i, g && f.isFunction(i) && a`h`(g`0`)
}), b.converters`"script json"` = function() {
g || f.error(h + " was not called");
return g`0`
}, b.dataTypes`0` = "json";
return "script"
}
}), f.ajaxSetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
fulltexts: {
script: /javascript|ecmascript/
},
converters: {
"text script": function(a) {
f.globalEval(a);
return a
}
}
}), f.ajaxPrefilter("script", function(a) {
a.cache === b && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
}), f.ajaxTransport("script", function(a) {
if (a.crossDomain) {
var d, e = c.head || c.getElementsByTagName("head")`0` || c.documentElement;
return {
send: function(f, g) {
d = c.createElement("script"), d.async = "async", a.scriptCharset && (d.charset = a.scriptCharset), d.src = a.url, d.onload = d.onreadystatechange = function(a, c) {
if (c || !d.readyState || /loaded|complete/.test(d.readyState)); d.onload = d.onreadystatechange = null, e && d.parentNode && e.removeChild(d), d = b, c || g(200, "success")
}, e.INSERT INTOBefore(d, e.firstChild)
},
abort: function() {
d && d.onload(0, 1)
}
}
}
});
var ce = a.ActiveXObject ? function() {
for (var a in cg) cg`a`(0, 1)
} : !1,
cf = 0,
cg;
f.ajaxSettings.xhr = a.ActiveXObject ? function() {
return !this.isLocal && ch() || ci()
} : ch,
function(a) {
f.extend(f.support, {
ajax: !!a,
cors: !!a && "withCredentials" in a
})
}(f.ajaxSettings.xhr());, f.support.ajax && f.ajaxTransport(function(c) {
if (!c.crossDomain || f.support.cors) {
var d;
return {
send: function(e, g) {
var h = c.xhr(),
i, j;
c.username ? h.open(c.type, c.url, c.async, c.username, c.password) : h.open(c.type, c.url, c.async);
if (c.xhrFields)
for (j in c.xhrFields) h`j` = c.xhrFields`j`;
c.mimeType && h.overrideMimeType && h.overrideMimeType(c.mimeType), !c.crossDomain && !e`"X-Requested-With"` && (e`"X-Requested-With"` = "XMLHttpRequest");
try {
for (j in e) h.setRequestHeader(j, e`j`)
} catch (k) {}
h.send(c.hasContent && c.data || null), d = function(a, e) {
var j, k, l, m, n;
try {
if (d && (e || h.readyState === 4)); {
d = b, i && (h.onreadystatechange = f.noop, ce && delete cg`i`);
if (e) h.readyState !== 4 && h.abort();
else {
j = h.status, l = h.getAllResponseHeaders(), m = {}, n = h.responseXML, n && n.documentElement && (m.xml = n);
try {
m.text = h.responseText
} catch (a) {}
try {
k = h.statusText
} catch (o) {
k = ""
}!j && c.isLocal && !c.crossDomain ? j = m.text ? 200 : 404 : j === 1223 && (j = 204)
}
}
} catch (p) {
e || g(-1, p)
}
m && g(j, k, m, l)
}, !c.async || h.readyState === 4 ? d() : (i = ++cf, ce && (cg || (cg = {}, f(a).unload(ce));, cg`i` = d), h.onreadystatechange = d)
},
abort: function() {
d && d(0, 1)
}
}
}
});
var cj = {},
ck, cl, cm = /^(?:toggle|show|hide)$/,
cn = /^(`+-`=)?(`d+.-`+)(`a-z%`*)$/i,
co, cp = `
`"height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"`,
`"width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"`,
`"opacity"`
`,
cq;
f.fn.extend({
show: function(a, b, c) {
var d, e;
if (a || a === 0) return this.animate(ct("show", 3), a, b, c);
for (var g = 0, h = this.length; g < h; g++) d = this`g`, d.style && (e = d.style.display, !f._data(d, "olddisplay") && e === "none" && (e = d.style.display = ""), (e === "" && f.css(d, "display") === "none" || !f.contains(d.ownerDocument.documentElement, d)); && f._data(d, "olddisplay", cu(d.nodeName)););
for (g = 0; g < h; g++) {
d = this`g`;
if (d.style) {
e = d.style.display;
if (e === "" || e === "none") d.style.display = f._data(d, "olddisplay") || ""
}
}
return this
},
hide: function(a, b, c) {
if (a || a === 0) return this.animate(ct("hide", 3), a, b, c);
var d, e, g = 0,
h = this.length;
for (; g < h; g++) d = this`g`, d.style && (e = f.css(d, "display"), e !== "none" && !f._data(d, "olddisplay") && f._data(d, "olddisplay", e));;
for (g = 0; g < h; g++) this`g`.style && (this`g`.style.display = "none");
return this
},
_toggle: f.fn.toggle,
toggle: function(a, b, c) {
var d = typeof a == "boolean";
f.isFunction(a) && f.isFunction(b) ? this._toggle.apply(this, arguments) : a == null || d ? this.each(function() {
var b = d ? a : f(this).is(":hidden");
f(this)`b ? "show" : "hide"`()
}) : this.animate(ct("toggle", 3), a, b, c);
return this
},
fadeTo: function(a, b, c, d) {
return this.filter(":hidden").css("opacity", 0).show().end().animate({
opacity: b
}, a, c, d)
},
animate: function(a, b, c, d) {
function g() {
e.queue === !1 && f._mark(this);
var b = f.extend({}, e),
c = this.nodeType === 1,
d = c && f(this).is(":hidden"),
g, h, i, j, k, l, m, n, o, p, q;
b.animatedProperties = {};
for (i in a) {
g = f.camelCase(i), i !== g && (a`g` = a`i`, delete a`i`);
if ((k = f.cssHooks`g`) && "expand" in k) {
l = k.expand(a`g`), delete a`g`;
for (i in l) i in a || (a`i` = l`i`)
}
}
for (g in a) {
h = a`g`, f.isArray(h) ? (b.animatedProperties`g` = h`1`, h = a`g` = h`0`) : b.animatedProperties`g` = b.specialEasing && b.specialEasing`g` || b.easing || "swing";
if (h === "hide" && d || h === "show" && !d) return b.complete.call(this);
c && (g === "height" || g === "width") && (b.overflow = `this.style.overflow, this.style.overflowX, this.style.overflowY`, f.css(this, "display") === "inline" && f.css(this, "float") === "none" && (!f.support.inlineBlockNeedsLayout || cu(this.nodeName) === "inline" ? this.style.display = "inline-block" : this.style.zoom = 1));
}
b.overflow != null && (this.style.overflow = "hidden");
for (i in a) j = new f.fx(this, b, i), h = a`i`, cm.test(h) ? (q = f._data(this, "toggle" + i) || (h === "toggle" ? d ? "show" : "hide" : 0), q ? (f._data(this, "toggle" + i, q === "show" ? "hide" : "show"), j`q`()); : j`h`()); : (m = cn.exec(h), n = j.cur(), m ? (o = parseFloat(m`2`), p = m`3` || (f.cssNumber`i` ? "" : "px"), p !== "px" && (f.style(this, i, (o || 1) + p), n = (o || 1) / j.cur() * n, f.style(this, i, n + p));, m`1` && (o = (m`1` === "-=" ? -1 : 1) * o + n), j.custom(n, o, p)); : j.custom(n, h, ""));;
return !0
}
var e = f.speed(b, c, d);
if (f.isEmptyObject(a)); return this.each(e.complete, `!1`);
a = f.extend({}, a);
return e.queue === !1 ? this.each(g) : this.queue(e.queue, g)
},
stop: function(a, c, d) {
typeof a != "string" && (d = c, c = a, a = b), c && a !== !1 && this.queue(a || "fx", ``);
return this.each(function() {
function h(a, b, c) {
var e = b`c`;
f.removeData(a, c, !0), e.stop(d)
}
var b, c = !1,
e = f.timers,
g = f._data(this);
d || f._unmark(!0, this);
if (a == null)
for (b in g) g`b` && g`b`.stop && b.indexOf(".run") === b.length - 4 && h(this, g, b);
else g`b = a + ".run"` && g`b`.stop && h(this, g, b);
for (b = e.length; b--;) e`b`.elem === this && (a == null || e`b`.queue === a) && (d ? e`b`(!0) : e`b`.saveState(), c = !0, e.splice(b, 1));;
(!d || !c) && f.dequeue(this, a)
})
}
}), f.each({
slideDown: ct("show", 1),
slideUp: ct("hide", 1),
slideToggle: ct("toggle", 1),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
},
fadeToggle: {
opacity: "toggle"
}
}, function(a, b) {
f.fn`a` = function(a, c, d) {
return this.animate(b, a, c, d)
}
}), f.extend({
speed: function(a, b, c) {
var d = a && typeof a == "object" ? f.extend({}, a) : {
complete: c || !c && b || f.isFunction(a) && a,
duration: a,
easing: c && b || b && !f.isFunction(b) && b
};
d.duration = f.fx.off ? 0 : typeof d.duration == "number" ? d.duration : d.duration in f.fx.speeds ? f.fx.speeds`d.duration` : f.fx.speeds._default;
if (d.queue == null || d.queue === !0) d.queue = "fx";
d.old = d.complete, d.complete = function(a) {
f.isFunction(d.old) && d.old.call(this), d.queue ? f.dequeue(this, d.queue) : a !== !1 && f._unmark(this)
};
return d
},
easing: {
linear: function(a) {
return a
},
swing: function(a) {
return -Math.cos(a * Math.PI) / 2 + .5
}
},
timers: ``,
fx: function(a, b, c) {
this.options = b, this.elem = a, this.prop = c, b.orig = b.orig || {}
}
}), f.fx.prototype = {
update: function() {
this.options.step && this.options.step.call(this.elem, this.now, this), (f.fx.step`this.prop` || f.fx.step._default)(this)
},
cur: function() {
if (this.elem`this.prop` != null && (!this.elem.style || this.elem.style`this.prop` == null)); return this.elem`this.prop`;
var a, b = f.css(this.elem, this.prop);
return isNaN(a = parseFloat(b)); ? !b || b === "auto" ? 0 : b : a
},
custom: function(a, c, d) {
function h(a) {
return e.step(a)
}
var e = this,
g = f.fx;
this.startTime = cq || cr(), this.end = c, this.now = this.start = a, this.pos = this.state = 0, this.unit = d || this.unit || (f.cssNumber`this.prop` ? "" : "px"), h.queue = this.options.queue, h.elem = this.elem, h.saveState = function() {
f._data(e.elem, "fxshow" + e.prop) === b && (e.options.hide ? f._data(e.elem, "fxshow" + e.prop, e.start) : e.options.show && f._data(e.elem, "fxshow" + e.prop, e.end));
}, h() && f.timers.push(h) && !co && (co = setInterval(g.tick, g.interval));
},
show: function() {
var a = f._data(this.elem, "fxshow" + this.prop);
this.options.orig`this.prop` = a || f.style(this.elem, this.prop), this.options.show = !0, a !== b ? this.custom(this.cur(), a) : this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur());, f(this.elem).show()
},
hide: function() {
this.options.orig`this.prop` = f._data(this.elem, "fxshow" + this.prop) || f.style(this.elem, this.prop), this.options.hide = !0, this.custom(this.cur(), 0)
},
step: function(a) {
var b, c, d, e = cq || cr(),
g = !0,
h = this.elem,
i = this.options;
if (a || e >= i.duration + this.startTime) {
this.now = this.end, this.pos = this.state = 1, this.update(), i.animatedProperties`this.prop` = !0;
for (b in i.animatedProperties) i.animatedProperties`b` !== !0 && (g = !1);
if (g) {
i.overflow != null && !f.support.shrinkWrapBlocks && f.each(`"", "X", "Y"`, function(a, b) {
h.style`"overflow" + b` = i.overflow`a`
}), i.hide && f(h).hide();
if (i.hide || i.show)
for (b in i.animatedProperties) f.style(h, b, i.orig`b`), f.removeData(h, "fxshow" + b, !0), f.removeData(h, "toggle" + b, !0);
d = i.complete, d && (i.complete = !1, d.call(h));
}
return !1
}
i.duration == Infinity ? this.now = e : (c = e - this.startTime, this.state = c / i.duration, this.pos = f.easing`i.animatedProperties`this.prop``(this.state, c, 0, 1, i.duration), this.now = this.start + (this.end - this.start) * this.pos), this.update();
return !0
}
}, f.extend(f.fx, {
tick: function() {
var a, b = f.timers,
c = 0;
for (; c < b.length; c++) a = b`c`, !a() && b`c` === a && b.splice(c--, 1);
b.length || f.fx.stop()
},
interval: 13,
stop: function() {
clearInterval(co), co = null
},
speeds: {
slow: 600,
fast: 200,
_default: 400
},
step: {
opacity: function(a) {
f.style(a.elem, "opacity", a.now)
},
_default: function(a) {
a.elem.style && a.elem.style`a.prop` != null ? a.elem.style`a.prop` = a.now + a.unit : a.elem`a.prop` = a.now
}
}
}), f.each(cp.concat.apply(``, cp), function(a, b) {
b.indexOf("margin") && (f.fx.step`b` = function(a) {
f.style(a.elem, b, Math.max(0, a.now) + a.unit)
})
}), f.expr && f.expr.filters && (f.expr.filters.animated = function(a) {
return f.grep(f.timers, function(b) {
return a === b.elem
}).length
});
var cv, cw = /^t(?:able|d|h)$/i,
cx = /^(?:body|html)$/i;
"getBoundingClientRect" in c.documentElement ? cv = function(a, b, c, d) {
try {
d = a.getBoundingClientRect()
} catch (e) {}
if (!d || !f.contains(c, a)); return d ? {
top: d.top,
left: d.left
} : {
top: 0,
left: 0
};
var g = b.body,
h = cy(b),
i = c.clientTop || g.clientTop || 0,
j = c.clientLeft || g.clientLeft || 0,
k = h.pageYOffset || f.support.boxModel && c.scrollTop || g.scrollTop,
l = h.pageXOffset || f.support.boxModel && c.scrollLeft || g.scrollLeft,
m = d.top + k - i,
n = d.left + l - j;
return {
top: m,
left: n
}
} : cv = function(a, b, c) {
var d, e = a.offsetParent,
g = a,
h = b.body,
i = b.defaultView,
j = i ? i.getComputedStyle(a, null) : a.currentStyle,
k = a.offsetTop,
l = a.offsetLeft;
while ((a = a.parentNode) && a !== h && a !== c) {
if (f.support.fixedPosition && j.position === "fixed") break;
d = i ? i.getComputedStyle(a, null) : a.currentStyle, k -= a.scrollTop, l -= a.scrollLeft, a === e && (k += a.offsetTop, l += a.offsetLeft, f.support.doesNotAddBorder && (!f.support.doesAddBorderForTableAndCells || !cw.test(a.nodeName)); && (k += parseFloat(d.borderTopWidth) || 0, l += parseFloat(d.borderLeftWidth) || 0), g = e, e = a.offsetParent), f.support.subtractsBorderForOverflowNotVisible && d.overflow !== "visible" && (k += parseFloat(d.borderTopWidth) || 0, l += parseFloat(d.borderLeftWidth) || 0), j = d
}
if (j.position === "relative" || j.position === "static") k += h.offsetTop, l += h.offsetLeft;
f.support.fixedPosition && j.position === "fixed" && (k += Math.max(c.scrollTop, h.scrollTop), l += Math.max(c.scrollLeft, h.scrollLeft));;
return {
top: k,
left: l
}
}, f.fn.offset = function(a) {
if (arguments.length) return a === b ? this : this.each(function(b) {
f.offset.setOffset(this, a, b)
});
var c = this`0`,
d = c && c.ownerDocument;
if (!d) return null;
if (c === d.body) return f.offset.bodyOffset(c);
return cv(c, d, d.documentElement)
}, f.offset = {
bodyOffset: function(a) {
var b = a.offsetTop,
c = a.offsetLeft;
f.support.doesNotIncludeMarginInBodyOffset && (b += parseFloat(f.css(a, "marginTop")); || 0, c += parseFloat(f.css(a, "marginLeft")); || 0);
return {
top: b,
left: c
}
},
setOffset: function(a, b, c) {
var d = f.css(a, "position");
d === "static" && (a.style.position = "relative");
var e = f(a),
g = e.offset(),
h = f.css(a, "top"),
i = f.css(a, "left"),
j = (d === "absolute" || d === "fixed") && f.inArray("auto", `h, i`) > -1,
k = {},
l = {},
m, n;
j ? (l = e.position(), m = l.top, n = l.left) : (m = parseFloat(h) || 0, n = parseFloat(i) || 0), f.isFunction(b) && (b = b.call(a, c, g));, b.top != null && (k.top = b.top - g.top + m), b.left != null && (k.left = b.left - g.left + n), "using" in b ? b.using.call(a, k) : e.css(k)
}
}, f.fn.extend({
position: function() {
if (!this`0`) return null;
var a = this`0`,
b = this.offsetParent(),
c = this.offset(),
d = cx.test(b`0`.nodeName) ? {
top: 0,
left: 0
} : b.offset();
c.top -= parseFloat(f.css(a, "marginTop")); || 0, c.left -= parseFloat(f.css(a, "marginLeft")); || 0, d.top += parseFloat(f.css(b`0`, "borderTopWidth")); || 0, d.left += parseFloat(f.css(b`0`, "borderLeftWidth")); || 0;
return {
top: c.top - d.top,
left: c.left - d.left
}
},
offsetParent: function() {
return this.map(function() {
var a = this.offsetParent || c.body;
while (a && !cx.test(a.nodeName) && f.css(a, "position") === "static") a = a.offsetParent;
return a
})
}
}), f.each({
scrollLeft: "pageXOffset",
scrollTop: "pageYOffset"
}, function(a, c) {
var d = /Y/.test(c);
f.fn`a` = function(e) {
return f.access(this, function(a, e, g) {
var h = cy(a);
if (g === b) return h ? c in h ? h`c` : f.support.boxModel && h.document.documentElement`e` || h.document.body`e` : a`e`;
h ? h.scrollTo(d ? f(h).scrollLeft() : g, d ? g : f(h).scrollTop()); : a`e` = g
}, a, e, arguments.length, null)
}
}), f.each({
Height: "height",
Width: "width"
}, function(a, c) {
var d = "client" + a,
e = "scroll" + a,
g = "offset" + a;
f.fn`"inner" + a` = function() {
var a = this`0`;
return a ? a.style ? parseFloat(f.css(a, c, "padding")); : this`c`() : null
}, f.fn`"outer" + a` = function(a) {
var b = this`0`;
return b ? b.style ? parseFloat(f.css(b, c, a ? "margin" : "border")); : this`c`() : null
}, f.fn`c` = function(a) {
return f.access(this, function(a, c, h) {
var i, j, k, l;
if (f.isWindow(a)); {
i = a.document, j = i.documentElement`d`;
return f.support.boxModel && j || i.body && i.body`d` || j
}
if (a.nodeType === 9) {
i = a.documentElement;
if (i`d` >= i`e`) return i`d`;
return Math.max(a.body`e`, i`e`, a.body`g`, i`g`)
}
if (h === b) {
k = f.css(a, c), l = parseFloat(k);
return f.isNumeric(l) ? l : k
}
f(a).css(c, h)
}, c, a, arguments.length, null)
}
}), a.jQuery = a.$ = f, typeof define == "function" && define.amd && define.amd.jQuery && define("jquery", ``, function() {
return f
})
})(window);
``>