PerlaTheDog/assets/js/bundle.js

3820 lines
181 KiB
JavaScript
Raw Blame History

var breakpoints = function () {
"use strict";
function e(e) {
t.init(e)
}
var t = {
list: null,
media: {},
events: [],
init: function (e) {
t.list = e, window.addEventListener("resize", t.poll), window.addEventListener("orientationchange", t.poll), window.addEventListener("load", t.poll), window.addEventListener("fullscreenchange", t.poll)
},
active: function (e) {
var n, r, o, i, a, s, l;
if (!(e in t.media)) {
if (">=" == e.substr(0, 2) ? (r = "gte", n = e.substr(2)) : "<=" == e.substr(0, 2) ? (r = "lte", n = e.substr(2)) : ">" == e.substr(0, 1) ? (r = "gt", n = e.substr(1)) : "<" == e.substr(0, 1) ? (r = "lt", n = e.substr(1)) : "!" == e.substr(0, 1) ? (r = "not", n = e.substr(1)) : (r = "eq", n = e), n && n in t.list)
if (i = t.list[n], Array.isArray(i)) {
if (a = parseInt(i[0]), s = parseInt(i[1]), isNaN(a)) {
if (isNaN(s)) return;
l = i[1].substr(String(s).length)
} else l = i[0].substr(String(a).length);
if (isNaN(a)) switch (r) {
case "gte":
o = "screen";
break;
case "lte":
default:
o = "screen and (max-width: " + s + l + ")";
break;
case "gt":
case "not":
o = "screen and (min-width: " + (s + 1) + l + ")";
break;
case "lt":
o = "screen and (max-width: -1px)"
} else if (isNaN(s)) switch (r) {
case "gte":
default:
o = "screen and (min-width: " + a + l + ")";
break;
case "lte":
o = "screen";
break;
case "gt":
o = "screen and (max-width: -1px)";
break;
case "lt":
case "not":
o = "screen and (max-width: " + (a - 1) + l + ")"
} else switch (r) {
case "gte":
o = "screen and (min-width: " + a + l + ")";
break;
case "lte":
o = "screen and (max-width: " + s + l + ")";
break;
case "gt":
o = "screen and (min-width: " + (s + 1) + l + ")";
break;
case "lt":
o = "screen and (max-width: " + (a - 1) + l + ")";
break;
case "not":
o = "screen and (max-width: " + (a - 1) + l + "), screen and (min-width: " + (s + 1) + l + ")";
break;
default:
o = "screen and (min-width: " + a + l + ") and (max-width: " + s + l + ")"
}
} else o = "(" == i.charAt(0) ? "screen and " + i : i;
t.media[e] = !!o && o
}
return !1 !== t.media[e] && window.matchMedia(t.media[e]).matches
},
on: function (e, n) {
t.events.push({
query: e,
handler: n,
state: !1
}), t.active(e) && n()
},
poll: function () {
var e, n;
for (e = 0; e < t.events.length; e++) n = t.events[e], t.active(n.query) ? n.state || (n.state = !0, n.handler()) : n.state && (n.state = !1)
}
};
return e._ = t, e.on = function (e, n) {
t.on(e, n)
}, e.active = function (e) {
return t.active(e)
}, e
}();
! function (e, t) {
"function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? module.exports = t() : e.breakpoints = t()
}(this, (function () {
return breakpoints
}));
var browser = function () {
"use strict";
var e = {
name: null,
version: null,
os: null,
osVersion: null,
touch: null,
mobile: null,
_canUse: null,
canUse: function (t) {
e._canUse || (e._canUse = document.createElement("div"));
var n = e._canUse.style,
r = t.charAt(0).toUpperCase() + t.slice(1);
return t in n || "Moz" + r in n || "Webkit" + r in n || "O" + r in n || "ms" + r in n
},
init: function () {
var t, n, r, o, i = navigator.userAgent;
for (t = "other", n = 0, r = [
["firefox", /Firefox\/([0-9\.]+)/],
["bb", /BlackBerry.+Version\/([0-9\.]+)/],
["bb", /BB[0-9]+.+Version\/([0-9\.]+)/],
["opera", /OPR\/([0-9\.]+)/],
["opera", /Opera\/([0-9\.]+)/],
["edge", /Edge\/([0-9\.]+)/],
["safari", /Version\/([0-9\.]+).+Safari/],
["chrome", /Chrome\/([0-9\.]+)/],
["ie", /MSIE ([0-9]+)/],
["ie", /Trident\/.+rv:([0-9]+)/]
], o = 0; o < r.length; o++)
if (i.match(r[o][1])) {
t = r[o][0], n = parseFloat(RegExp.$1);
break
} for (e.name = t, e.version = n, t = "other", n = 0, r = [
["ios", /([0-9_]+) like Mac OS X/, function (e) {
return e.replace("_", ".").replace("_", "")
}],
["ios", /CPU like Mac OS X/, function (e) {
return 0
}],
["wp", /Windows Phone ([0-9\.]+)/, null],
["android", /Android ([0-9\.]+)/, null],
["mac", /Macintosh.+Mac OS X ([0-9_]+)/, function (e) {
return e.replace("_", ".").replace("_", "")
}],
["windows", /Windows NT ([0-9\.]+)/, null],
["bb", /BlackBerry.+Version\/([0-9\.]+)/, null],
["bb", /BB[0-9]+.+Version\/([0-9\.]+)/, null],
["linux", /Linux/, null],
["bsd", /BSD/, null],
["unix", /X11/, null]
], o = 0; o < r.length; o++)
if (i.match(r[o][1])) {
t = r[o][0], n = parseFloat(r[o][2] ? r[o][2](RegExp.$1) : RegExp.$1);
break
} e.os = t, e.osVersion = n, e.touch = "wp" == e.os ? navigator.msMaxTouchPoints > 0 : !!("ontouchstart" in window), e.mobile = "wp" == e.os || "android" == e.os || "ios" == e.os || "bb" == e.os
}
};
return e.init(), e
}();
! function (e, t) {
"function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? module.exports = t() : e.browser = t()
}(this, (function () {
return browser
})),
function (e, t) {
"use strict";
"object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function (e) {
if (!e.document) throw new Error("jQuery requires a window with a document");
return t(e)
} : t(e)
}("undefined" != typeof window ? window : this, (function (e, t) {
"use strict";
var n = [],
r = e.document,
o = Object.getPrototypeOf,
i = n.slice,
a = n.concat,
s = n.push,
l = n.indexOf,
u = {},
c = u.toString,
p = u.hasOwnProperty,
f = p.toString,
d = f.call(Object),
h = {},
g = function (e) {
return "function" == typeof e && "number" != typeof e.nodeType
},
v = function (e) {
return null != e && e === e.window
},
m = {
type: !0,
src: !0,
nonce: !0,
noModule: !0
};
function y(e, t, n) {
var o, i, a = (n = n || r).createElement("script");
if (a.text = e, t)
for (o in m)(i = t[o] || t.getAttribute && t.getAttribute(o)) && a.setAttribute(o, i);
n.head.appendChild(a).parentNode.removeChild(a)
}
function x(e) {
return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? u[c.call(e)] || "object" : typeof e
}
var b = "3.4.1",
w = function (e, t) {
return new w.fn.init(e, t)
},
C = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
function T(e) {
var t = !!e && "length" in e && e.length,
n = x(e);
return !g(e) && !v(e) && ("array" === n || 0 === t || "number" == typeof t && 0 < t && t - 1 in e)
}
w.fn = w.prototype = {
jquery: b,
constructor: w,
length: 0,
toArray: function () {
return i.call(this)
},
get: function (e) {
return null == e ? i.call(this) : e < 0 ? this[e + this.length] : this[e]
},
pushStack: function (e) {
var t = w.merge(this.constructor(), e);
return t.prevObject = this, t
},
each: function (e) {
return w.each(this, e)
},
map: function (e) {
return this.pushStack(w.map(this, (function (t, n) {
return e.call(t, n, t)
})))
},
slice: function () {
return this.pushStack(i.apply(this, arguments))
},
first: function () {
return this.eq(0)
},
last: function () {
return this.eq(-1)
},
eq: function (e) {
var t = this.length,
n = +e + (e < 0 ? t : 0);
return this.pushStack(0 <= n && n < t ? [this[n]] : [])
},
end: function () {
return this.prevObject || this.constructor()
},
push: s,
sort: n.sort,
splice: n.splice
}, w.extend = w.fn.extend = function () {
var e, t, n, r, o, i, a = arguments[0] || {},
s = 1,
l = arguments.length,
u = !1;
for ("boolean" == typeof a && (u = a, a = arguments[s] || {}, s++), "object" == typeof a || g(a) || (a = {}), s === l && (a = this, s--); s < l; s++)
if (null != (e = arguments[s]))
for (t in e) r = e[t], "__proto__" !== t && a !== r && (u && r && (w.isPlainObject(r) || (o = Array.isArray(r))) ? (n = a[t], i = o && !Array.isArray(n) ? [] : o || w.isPlainObject(n) ? n : {}, o = !1, a[t] = w.extend(u, i, r)) : void 0 !== r && (a[t] = r));
return a
}, w.extend({
expando: "jQuery" + (b + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function (e) {
throw new Error(e)
},
noop: function () {},
isPlainObject: function (e) {
var t, n;
return !(!e || "[object Object]" !== c.call(e) || (t = o(e)) && ("function" != typeof (n = p.call(t, "constructor") && t.constructor) || f.call(n) !== d))
},
isEmptyObject: function (e) {
var t;
for (t in e) return !1;
return !0
},
globalEval: function (e, t) {
y(e, {
nonce: t && t.nonce
})
},
each: function (e, t) {
var n, r = 0;
if (T(e))
for (n = e.length; r < n && !1 !== t.call(e[r], r, e[r]); r++);
else
for (r in e)
if (!1 === t.call(e[r], r, e[r])) break;
return e
},
trim: function (e) {
return null == e ? "" : (e + "").replace(C, "")
},
makeArray: function (e, t) {
var n = t || [];
return null != e && (T(Object(e)) ? w.merge(n, "string" == typeof e ? [e] : e) : s.call(n, e)), n
},
inArray: function (e, t, n) {
return null == t ? -1 : l.call(t, e, n)
},
merge: function (e, t) {
for (var n = +t.length, r = 0, o = e.length; r < n; r++) e[o++] = t[r];
return e.length = o, e
},
grep: function (e, t, n) {
for (var r = [], o = 0, i = e.length, a = !n; o < i; o++) !t(e[o], o) !== a && r.push(e[o]);
return r
},
map: function (e, t, n) {
var r, o, i = 0,
s = [];
if (T(e))
for (r = e.length; i < r; i++) null != (o = t(e[i], i, n)) && s.push(o);
else
for (i in e) null != (o = t(e[i], i, n)) && s.push(o);
return a.apply([], s)
},
guid: 1,
support: h
}), "function" == typeof Symbol && (w.fn[Symbol.iterator] = n[Symbol.iterator]), w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), (function (e, t) {
u["[object " + t + "]"] = t.toLowerCase()
}));
var k = function (e) {
var t, n, r, o, i, a, s, l, u, c, p, f, d, h, g, v, m, y, x, b = "sizzle" + 1 * new Date,
w = e.document,
C = 0,
T = 0,
k = le(),
S = le(),
E = le(),
N = le(),
D = function (e, t) {
return e === t && (p = !0), 0
},
j = {}.hasOwnProperty,
A = [],
P = A.pop,
L = A.push,
q = A.push,
H = A.slice,
O = function (e, t) {
for (var n = 0, r = e.length; n < r; n++)
if (e[n] === t) return n;
return -1
},
M = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
I = "[\\x20\\t\\r\\n\\f]",
_ = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+",
R = "\\[" + I + "*(" + _ + ")(?:" + I + "*([*^$|!~]?=)" + I + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + _ + "))|)" + I + "*\\]",
F = ":(" + _ + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + R + ")*)|.*)\\)|)",
B = new RegExp(I + "+", "g"),
W = new RegExp("^" + I + "+|((?:^|[^\\\\])(?:\\\\.)*)" + I + "+$", "g"),
$ = new RegExp("^" + I + "*," + I + "*"),
z = new RegExp("^" + I + "*([>+~]|" + I + ")" + I + "*"),
X = new RegExp(I + "|>"),
U = new RegExp(F),
V = new RegExp("^" + _ + "$"),
Y = {
ID: new RegExp("^#(" + _ + ")"),
CLASS: new RegExp("^\\.(" + _ + ")"),
TAG: new RegExp("^(" + _ + "|[*])"),
ATTR: new RegExp("^" + R),
PSEUDO: new RegExp("^" + F),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + I + "*(even|odd|(([+-]|)(\\d*)n|)" + I + "*(?:([+-]|)" + I + "*(\\d+)|))" + I + "*\\)|)", "i"),
bool: new RegExp("^(?:" + M + ")$", "i"),
needsContext: new RegExp("^" + I + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + I + "*((?:-\\d)?\\d*)" + I + "*\\)|)(?=[^-]|$)", "i")
},
Q = /HTML$/i,
G = /^(?:input|select|textarea|button)$/i,
J = /^h\d$/i,
Z = /^[^{]+\{\s*\[native \w/,
K = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
ee = /[+~]/,
te = new RegExp("\\\\([\\da-f]{1,6}" + I + "?|(" + I + ")|.)", "ig"),
ne = function (e, t, n) {
var r = "0x" + t - 65536;
return r != r || n ? t : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320)
},
re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
oe = function (e, t) {
return t ? "\0" === e ? "<22>" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e
},
ie = function () {
f()
},
ae = be((function (e) {
return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase()
}), {
dir: "parentNode",
next: "legend"
});
try {
q.apply(A = H.call(w.childNodes), w.childNodes), A[w.childNodes.length].nodeType
} catch (t) {
q = {
apply: A.length ? function (e, t) {
L.apply(e, H.call(t))
} : function (e, t) {
for (var n = e.length, r = 0; e[n++] = t[r++];);
e.length = n - 1
}
}
}
function se(e, t, r, o) {
var i, s, u, c, p, h, m, y = t && t.ownerDocument,
C = t ? t.nodeType : 9;
if (r = r || [], "string" != typeof e || !e || 1 !== C && 9 !== C && 11 !== C) return r;
if (!o && ((t ? t.ownerDocument || t : w) !== d && f(t), t = t || d, g)) {
if (11 !== C && (p = K.exec(e)))
if (i = p[1]) {
if (9 === C) {
if (!(u = t.getElementById(i))) return r;
if (u.id === i) return r.push(u), r
} else if (y && (u = y.getElementById(i)) && x(t, u) && u.id === i) return r.push(u), r
} else {
if (p[2]) return q.apply(r, t.getElementsByTagName(e)), r;
if ((i = p[3]) && n.getElementsByClassName && t.getElementsByClassName) return q.apply(r, t.getElementsByClassName(i)), r
} if (n.qsa && !N[e + " "] && (!v || !v.test(e)) && (1 !== C || "object" !== t.nodeName.toLowerCase())) {
if (m = e, y = t, 1 === C && X.test(e)) {
for ((c = t.getAttribute("id")) ? c = c.replace(re, oe) : t.setAttribute("id", c = b), s = (h = a(e)).length; s--;) h[s] = "#" + c + " " + xe(h[s]);
m = h.join(","), y = ee.test(e) && me(t.parentNode) || t
}
try {
return q.apply(r, y.querySelectorAll(m)), r
} catch (t) {
N(e, !0)
} finally {
c === b && t.removeAttribute("id")
}
}
}
return l(e.replace(W, "$1"), t, r, o)
}
function le() {
var e = [];
return function t(n, o) {
return e.push(n + " ") > r.cacheLength && delete t[e.shift()], t[n + " "] = o
}
}
function ue(e) {
return e[b] = !0, e
}
function ce(e) {
var t = d.createElement("fieldset");
try {
return !!e(t)
} catch (e) {
return !1
} finally {
t.parentNode && t.parentNode.removeChild(t), t = null
}
}
function pe(e, t) {
for (var n = e.split("|"), o = n.length; o--;) r.attrHandle[n[o]] = t
}
function fe(e, t) {
var n = t && e,
r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex;
if (r) return r;
if (n)
for (; n = n.nextSibling;)
if (n === t) return -1;
return e ? 1 : -1
}
function de(e) {
return function (t) {
return "input" === t.nodeName.toLowerCase() && t.type === e
}
}
function he(e) {
return function (t) {
var n = t.nodeName.toLowerCase();
return ("input" === n || "button" === n) && t.type === e
}
}
function ge(e) {
return function (t) {
return "form" in t ? t.parentNode && !1 === t.disabled ? "label" in t ? "label" in t.parentNode ? t.parentNode.disabled === e : t.disabled === e : t.isDisabled === e || t.isDisabled !== !e && ae(t) === e : t.disabled === e : "label" in t && t.disabled === e
}
}
function ve(e) {
return ue((function (t) {
return t = +t, ue((function (n, r) {
for (var o, i = e([], n.length, t), a = i.length; a--;) n[o = i[a]] && (n[o] = !(r[o] = n[o]))
}))
}))
}
function me(e) {
return e && void 0 !== e.getElementsByTagName && e
}
for (t in n = se.support = {}, i = se.isXML = function (e) {
var t = e.namespaceURI,
n = (e.ownerDocument || e).documentElement;
return !Q.test(t || n && n.nodeName || "HTML")
}, f = se.setDocument = function (e) {
var t, o, a = e ? e.ownerDocument || e : w;
return a !== d && 9 === a.nodeType && a.documentElement && (h = (d = a).documentElement, g = !i(d), w !== d && (o = d.defaultView) && o.top !== o && (o.addEventListener ? o.addEventListener("unload", ie, !1) : o.attachEvent && o.attachEvent("onunload", ie)), n.attributes = ce((function (e) {
return e.className = "i", !e.getAttribute("className")
})), n.getElementsByTagName = ce((function (e) {
return e.appendChild(d.createComment("")), !e.getElementsByTagName("*").length
})), n.getElementsByClassName = Z.test(d.getElementsByClassName), n.getById = ce((function (e) {
return h.appendChild(e).id = b, !d.getElementsByName || !d.getElementsByName(b).length
})), n.getById ? (r.filter.ID = function (e) {
var t = e.replace(te, ne);
return function (e) {
return e.getAttribute("id") === t
}
}, r.find.ID = function (e, t) {
if (void 0 !== t.getElementById && g) {
var n = t.getElementById(e);
return n ? [n] : []
}
}) : (r.filter.ID = function (e) {
var t = e.replace(te, ne);
return function (e) {
var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id");
return n && n.value === t
}
}, r.find.ID = function (e, t) {
if (void 0 !== t.getElementById && g) {
var n, r, o, i = t.getElementById(e);
if (i) {
if ((n = i.getAttributeNode("id")) && n.value === e) return [i];
for (o = t.getElementsByName(e), r = 0; i = o[r++];)
if ((n = i.getAttributeNode("id")) && n.value === e) return [i]
}
return []
}
}), r.find.TAG = n.getElementsByTagName ? function (e, t) {
return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0
} : function (e, t) {
var n, r = [],
o = 0,
i = t.getElementsByTagName(e);
if ("*" === e) {
for (; n = i[o++];) 1 === n.nodeType && r.push(n);
return r
}
return i
}, r.find.CLASS = n.getElementsByClassName && function (e, t) {
if (void 0 !== t.getElementsByClassName && g) return t.getElementsByClassName(e)
}, m = [], v = [], (n.qsa = Z.test(d.querySelectorAll)) && (ce((function (e) {
h.appendChild(e).innerHTML = "<a id='" + b + "'></a><select id='" + b + "-\r\\' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && v.push("[*^$]=" + I + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || v.push("\\[" + I + "*(?:value|" + M + ")"), e.querySelectorAll("[id~=" + b + "-]").length || v.push("~="), e.querySelectorAll(":checked").length || v.push(":checked"), e.querySelectorAll("a#" + b + "+*").length || v.push(".#.+[+~]")
})), ce((function (e) {
e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var t = d.createElement("input");
t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && v.push("name" + I + "*[*^$|!~]?="), 2 !== e.querySelectorAll(":enabled").length && v.push(":enabled", ":disabled"), h.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(":disabled").length && v.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), v.push(",.*:")
}))), (n.matchesSelector = Z.test(y = h.matches || h.webkitMatchesSelector || h.mozMatchesSelector || h.oMatchesSelector || h.msMatchesSelector)) && ce((function (e) {
n.disconnectedMatch = y.call(e, "*"), y.call(e, "[s!='']:x"), m.push("!=", F)
})), v = v.length && new RegExp(v.join("|")), m = m.length && new RegExp(m.join("|")), t = Z.test(h.compareDocumentPosition), x = t || Z.test(h.contains) ? function (e, t) {
var n = 9 === e.nodeType ? e.documentElement : e,
r = t && t.parentNode;
return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r)))
} : function (e, t) {
if (t)
for (; t = t.parentNode;)
if (t === e) return !0;
return !1
}, D = t ? function (e, t) {
if (e === t) return p = !0, 0;
var r = !e.compareDocumentPosition - !t.compareDocumentPosition;
return r || (1 & (r = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !n.sortDetached && t.compareDocumentPosition(e) === r ? e === d || e.ownerDocument === w && x(w, e) ? -1 : t === d || t.ownerDocument === w && x(w, t) ? 1 : c ? O(c, e) - O(c, t) : 0 : 4 & r ? -1 : 1)
} : function (e, t) {
if (e === t) return p = !0, 0;
var n, r = 0,
o = e.parentNode,
i = t.parentNode,
a = [e],
s = [t];
if (!o || !i) return e === d ? -1 : t === d ? 1 : o ? -1 : i ? 1 : c ? O(c, e) - O(c, t) : 0;
if (o === i) return fe(e, t);
for (n = e; n = n.parentNode;) a.unshift(n);
for (n = t; n = n.parentNode;) s.unshift(n);
for (; a[r] === s[r];) r++;
return r ? fe(a[r], s[r]) : a[r] === w ? -1 : s[r] === w ? 1 : 0
}), d
}, se.matches = function (e, t) {
return se(e, null, null, t)
}, se.matchesSelector = function (e, t) {
if ((e.ownerDocument || e) !== d && f(e), n.matchesSelector && g && !N[t + " "] && (!m || !m.test(t)) && (!v || !v.test(t))) try {
var r = y.call(e, t);
if (r || n.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r
} catch (e) {
N(t, !0)
}
return 0 < se(t, d, null, [e]).length
}, se.contains = function (e, t) {
return (e.ownerDocument || e) !== d && f(e), x(e, t)
}, se.attr = function (e, t) {
(e.ownerDocument || e) !== d && f(e);
var o = r.attrHandle[t.toLowerCase()],
i = o && j.call(r.attrHandle, t.toLowerCase()) ? o(e, t, !g) : void 0;
return void 0 !== i ? i : n.attributes || !g ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
}, se.escape = function (e) {
return (e + "").replace(re, oe)
}, se.error = function (e) {
throw new Error("Syntax error, unrecognized expression: " + e)
}, se.uniqueSort = function (e) {
var t, r = [],
o = 0,
i = 0;
if (p = !n.detectDuplicates, c = !n.sortStable && e.slice(0), e.sort(D), p) {
for (; t = e[i++];) t === e[i] && (o = r.push(i));
for (; o--;) e.splice(r[o], 1)
}
return c = null, e
}, o = se.getText = function (e) {
var t, n = "",
r = 0,
i = e.nodeType;
if (i) {
if (1 === i || 9 === i || 11 === i) {
if ("string" == typeof e.textContent) return e.textContent;
for (e = e.firstChild; e; e = e.nextSibling) n += o(e)
} else if (3 === i || 4 === i) return e.nodeValue
} else
for (; t = e[r++];) n += o(t);
return n
}, (r = se.selectors = {
cacheLength: 50,
createPseudo: ue,
match: Y,
attrHandle: {},
find: {},
relative: {
">": {
dir: "parentNode",
first: !0
},
" ": {
dir: "parentNode"
},
"+": {
dir: "previousSibling",
first: !0
},
"~": {
dir: "previousSibling"
}
},
preFilter: {
ATTR: function (e) {
return e[1] = e[1].replace(te, ne), e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
},
CHILD: function (e) {
return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || se.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && se.error(e[0]), e
},
PSEUDO: function (e) {
var t, n = !e[6] && e[2];
return Y.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && U.test(n) && (t = a(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3))
}
},
filter: {
TAG: function (e) {
var t = e.replace(te, ne).toLowerCase();
return "*" === e ? function () {
return !0
} : function (e) {
return e.nodeName && e.nodeName.toLowerCase() === t
}
},
CLASS: function (e) {
var t = k[e + " "];
return t || (t = new RegExp("(^|" + I + ")" + e + "(" + I + "|$)")) && k(e, (function (e) {
return t.test("string" == typeof e.className && e.className || void 0 !== e.getAttribute && e.getAttribute("class") || "")
}))
},
ATTR: function (e, t, n) {
return function (r) {
var o = se.attr(r, e);
return null == o ? "!=" === t : !t || (o += "", "=" === t ? o === n : "!=" === t ? o !== n : "^=" === t ? n && 0 === o.indexOf(n) : "*=" === t ? n && -1 < o.indexOf(n) : "$=" === t ? n && o.slice(-n.length) === n : "~=" === t ? -1 < (" " + o.replace(B, " ") + " ").indexOf(n) : "|=" === t && (o === n || o.slice(0, n.length + 1) === n + "-"))
}
},
CHILD: function (e, t, n, r, o) {
var i = "nth" !== e.slice(0, 3),
a = "last" !== e.slice(-4),
s = "of-type" === t;
return 1 === r && 0 === o ? function (e) {
return !!e.parentNode
} : function (t, n, l) {
var u, c, p, f, d, h, g = i !== a ? "nextSibling" : "previousSibling",
v = t.parentNode,
m = s && t.nodeName.toLowerCase(),
y = !l && !s,
x = !1;
if (v) {
if (i) {
for (; g;) {
for (f = t; f = f[g];)
if (s ? f.nodeName.toLowerCase() === m : 1 === f.nodeType) return !1;
h = g = "only" === e && !h && "nextSibling"
}
return !0
}
if (h = [a ? v.firstChild : v.lastChild], a && y) {
for (x = (d = (u = (c = (p = (f = v)[b] || (f[b] = {}))[f.uniqueID] || (p[f.uniqueID] = {}))[e] || [])[0] === C && u[1]) && u[2], f = d && v.childNodes[d]; f = ++d && f && f[g] || (x = d = 0) || h.pop();)
if (1 === f.nodeType && ++x && f === t) {
c[e] = [C, d, x];
break
}
} else if (y && (x = d = (u = (c = (p = (f = t)[b] || (f[b] = {}))[f.uniqueID] || (p[f.uniqueID] = {}))[e] || [])[0] === C && u[1]), !1 === x)
for (;
(f = ++d && f && f[g] || (x = d = 0) || h.pop()) && ((s ? f.nodeName.toLowerCase() !== m : 1 !== f.nodeType) || !++x || (y && ((c = (p = f[b] || (f[b] = {}))[f.uniqueID] || (p[f.uniqueID] = {}))[e] = [C, x]), f !== t)););
return (x -= o) === r || x % r == 0 && 0 <= x / r
}
}
},
PSEUDO: function (e, t) {
var n, o = r.pseudos[e] || r.setFilters[e.toLowerCase()] || se.error("unsupported pseudo: " + e);
return o[b] ? o(t) : 1 < o.length ? (n = [e, e, "", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? ue((function (e, n) {
for (var r, i = o(e, t), a = i.length; a--;) e[r = O(e, i[a])] = !(n[r] = i[a])
})) : function (e) {
return o(e, 0, n)
}) : o
}
},
pseudos: {
not: ue((function (e) {
var t = [],
n = [],
r = s(e.replace(W, "$1"));
return r[b] ? ue((function (e, t, n, o) {
for (var i, a = r(e, null, o, []), s = e.length; s--;)(i = a[s]) && (e[s] = !(t[s] = i))
})) : function (e, o, i) {
return t[0] = e, r(t, null, i, n), t[0] = null, !n.pop()
}
})),
has: ue((function (e) {
return function (t) {
return 0 < se(e, t).length
}
})),
contains: ue((function (e) {
return e = e.replace(te, ne),
function (t) {
return -1 < (t.textContent || o(t)).indexOf(e)
}
})),
lang: ue((function (e) {
return V.test(e || "") || se.error("unsupported lang: " + e), e = e.replace(te, ne).toLowerCase(),
function (t) {
var n;
do {
if (n = g ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-")
} while ((t = t.parentNode) && 1 === t.nodeType);
return !1
}
})),
target: function (t) {
var n = e.location && e.location.hash;
return n && n.slice(1) === t.id
},
root: function (e) {
return e === h
},
focus: function (e) {
return e === d.activeElement && (!d.hasFocus || d.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
},
enabled: ge(!1),
disabled: ge(!0),
checked: function (e) {
var t = e.nodeName.toLowerCase();
return "input" === t && !!e.checked || "option" === t && !!e.selected
},
selected: function (e) {
return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected
},
empty: function (e) {
for (e = e.firstChild; e; e = e.nextSibling)
if (e.nodeType < 6) return !1;
return !0
},
parent: function (e) {
return !r.pseudos.empty(e)
},
header: function (e) {
return J.test(e.nodeName)
},
input: function (e) {
return G.test(e.nodeName)
},
button: function (e) {
var t = e.nodeName.toLowerCase();
return "input" === t && "button" === e.type || "button" === t
},
text: function (e) {
var t;
return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase())
},
first: ve((function () {
return [0]
})),
last: ve((function (e, t) {
return [t - 1]
})),
eq: ve((function (e, t, n) {
return [n < 0 ? n + t : n]
})),
even: ve((function (e, t) {
for (var n = 0; n < t; n += 2) e.push(n);
return e
})),
odd: ve((function (e, t) {
for (var n = 1; n < t; n += 2) e.push(n);
return e
})),
lt: ve((function (e, t, n) {
for (var r = n < 0 ? n + t : t < n ? t : n; 0 <= --r;) e.push(r);
return e
})),
gt: ve((function (e, t, n) {
for (var r = n < 0 ? n + t : n; ++r < t;) e.push(r);
return e
}))
}
}).pseudos.nth = r.pseudos.eq, {
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
}) r.pseudos[t] = de(t);
for (t in {
submit: !0,
reset: !0
}) r.pseudos[t] = he(t);
function ye() {}
function xe(e) {
for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value;
return r
}
function be(e, t, n) {
var r = t.dir,
o = t.next,
i = o || r,
a = n && "parentNode" === i,
s = T++;
return t.first ? function (t, n, o) {
for (; t = t[r];)
if (1 === t.nodeType || a) return e(t, n, o);
return !1
} : function (t, n, l) {
var u, c, p, f = [C, s];
if (l) {
for (; t = t[r];)
if ((1 === t.nodeType || a) && e(t, n, l)) return !0
} else
for (; t = t[r];)
if (1 === t.nodeType || a)
if (c = (p = t[b] || (t[b] = {}))[t.uniqueID] || (p[t.uniqueID] = {}), o && o === t.nodeName.toLowerCase()) t = t[r] || t;
else {
if ((u = c[i]) && u[0] === C && u[1] === s) return f[2] = u[2];
if ((c[i] = f)[2] = e(t, n, l)) return !0
} return !1
}
}
function we(e) {
return 1 < e.length ? function (t, n, r) {
for (var o = e.length; o--;)
if (!e[o](t, n, r)) return !1;
return !0
} : e[0]
}
function Ce(e, t, n, r, o) {
for (var i, a = [], s = 0, l = e.length, u = null != t; s < l; s++)(i = e[s]) && (n && !n(i, r, o) || (a.push(i), u && t.push(s)));
return a
}
function Te(e, t, n, r, o, i) {
return r && !r[b] && (r = Te(r)), o && !o[b] && (o = Te(o, i)), ue((function (i, a, s, l) {
var u, c, p, f = [],
d = [],
h = a.length,
g = i || function (e, t, n) {
for (var r = 0, o = t.length; r < o; r++) se(e, t[r], n);
return n
}(t || "*", s.nodeType ? [s] : s, []),
v = !e || !i && t ? g : Ce(g, f, e, s, l),
m = n ? o || (i ? e : h || r) ? [] : a : v;
if (n && n(v, m, s, l), r)
for (u = Ce(m, d), r(u, [], s, l), c = u.length; c--;)(p = u[c]) && (m[d[c]] = !(v[d[c]] = p));
if (i) {
if (o || e) {
if (o) {
for (u = [], c = m.length; c--;)(p = m[c]) && u.push(v[c] = p);
o(null, m = [], u, l)
}
for (c = m.length; c--;)(p = m[c]) && -1 < (u = o ? O(i, p) : f[c]) && (i[u] = !(a[u] = p))
}
} else m = Ce(m === a ? m.splice(h, m.length) : m), o ? o(null, a, m, l) : q.apply(a, m)
}))
}
function ke(e) {
for (var t, n, o, i = e.length, a = r.relative[e[0].type], s = a || r.relative[" "], l = a ? 1 : 0, c = be((function (e) {
return e === t
}), s, !0), p = be((function (e) {
return -1 < O(t, e)
}), s, !0), f = [function (e, n, r) {
var o = !a && (r || n !== u) || ((t = n).nodeType ? c(e, n, r) : p(e, n, r));
return t = null, o
}]; l < i; l++)
if (n = r.relative[e[l].type]) f = [be(we(f), n)];
else {
if ((n = r.filter[e[l].type].apply(null, e[l].matches))[b]) {
for (o = ++l; o < i && !r.relative[e[o].type]; o++);
return Te(1 < l && we(f), 1 < l && xe(e.slice(0, l - 1).concat({
value: " " === e[l - 2].type ? "*" : ""
})).replace(W, "$1"), n, l < o && ke(e.slice(l, o)), o < i && ke(e = e.slice(o)), o < i && xe(e))
}
f.push(n)
} return we(f)
}
return ye.prototype = r.filters = r.pseudos, r.setFilters = new ye, a = se.tokenize = function (e, t) {
var n, o, i, a, s, l, u, c = S[e + " "];
if (c) return t ? 0 : c.slice(0);
for (s = e, l = [], u = r.preFilter; s;) {
for (a in n && !(o = $.exec(s)) || (o && (s = s.slice(o[0].length) || s), l.push(i = [])), n = !1, (o = z.exec(s)) && (n = o.shift(), i.push({
value: n,
type: o[0].replace(W, " ")
}), s = s.slice(n.length)), r.filter) !(o = Y[a].exec(s)) || u[a] && !(o = u[a](o)) || (n = o.shift(), i.push({
value: n,
type: a,
matches: o
}), s = s.slice(n.length));
if (!n) break
}
return t ? s.length : s ? se.error(e) : S(e, l).slice(0)
}, s = se.compile = function (e, t) {
var n, o, i, s, l, c, p = [],
h = [],
v = E[e + " "];
if (!v) {
for (t || (t = a(e)), n = t.length; n--;)(v = ke(t[n]))[b] ? p.push(v) : h.push(v);
(v = E(e, (o = h, s = 0 < (i = p).length, l = 0 < o.length, c = function (e, t, n, a, c) {
var p, h, v, m = 0,
y = "0",
x = e && [],
b = [],
w = u,
T = e || l && r.find.TAG("*", c),
k = C += null == w ? 1 : Math.random() || .1,
S = T.length;
for (c && (u = t === d || t || c); y !== S && null != (p = T[y]); y++) {
if (l && p) {
for (h = 0, t || p.ownerDocument === d || (f(p), n = !g); v = o[h++];)
if (v(p, t || d, n)) {
a.push(p);
break
} c && (C = k)
}
s && ((p = !v && p) && m--, e && x.push(p))
}
if (m += y, s && y !== m) {
for (h = 0; v = i[h++];) v(x, b, t, n);
if (e) {
if (0 < m)
for (; y--;) x[y] || b[y] || (b[y] = P.call(a));
b = Ce(b)
}
q.apply(a, b), c && !e && 0 < b.length && 1 < m + i.length && se.uniqueSort(a)
}
return c && (C = k, u = w), x
}, s ? ue(c) : c))).selector = e
}
return v
}, l = se.select = function (e, t, n, o) {
var i, l, u, c, p, f = "function" == typeof e && e,
d = !o && a(e = f.selector || e);
if (n = n || [], 1 === d.length) {
if (2 < (l = d[0] = d[0].slice(0)).length && "ID" === (u = l[0]).type && 9 === t.nodeType && g && r.relative[l[1].type]) {
if (!(t = (r.find.ID(u.matches[0].replace(te, ne), t) || [])[0])) return n;
f && (t = t.parentNode), e = e.slice(l.shift().value.length)
}
for (i = Y.needsContext.test(e) ? 0 : l.length; i-- && (u = l[i], !r.relative[c = u.type]);)
if ((p = r.find[c]) && (o = p(u.matches[0].replace(te, ne), ee.test(l[0].type) && me(t.parentNode) || t))) {
if (l.splice(i, 1), !(e = o.length && xe(l))) return q.apply(n, o), n;
break
}
}
return (f || s(e, d))(o, t, !g, n, !t || ee.test(e) && me(t.parentNode) || t), n
}, n.sortStable = b.split("").sort(D).join("") === b, n.detectDuplicates = !!p, f(), n.sortDetached = ce((function (e) {
return 1 & e.compareDocumentPosition(d.createElement("fieldset"))
})), ce((function (e) {
return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href")
})) || pe("type|href|height|width", (function (e, t, n) {
if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
})), n.attributes && ce((function (e) {
return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value")
})) || pe("value", (function (e, t, n) {
if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue
})), ce((function (e) {
return null == e.getAttribute("disabled")
})) || pe(M, (function (e, t, n) {
var r;
if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null
})), se
}(e);
w.find = k, w.expr = k.selectors, w.expr[":"] = w.expr.pseudos, w.uniqueSort = w.unique = k.uniqueSort, w.text = k.getText, w.isXMLDoc = k.isXML, w.contains = k.contains, w.escapeSelector = k.escape;
var S = function (e, t, n) {
for (var r = [], o = void 0 !== n;
(e = e[t]) && 9 !== e.nodeType;)
if (1 === e.nodeType) {
if (o && w(e).is(n)) break;
r.push(e)
} return r
},
E = function (e, t) {
for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
return n
},
N = w.expr.match.needsContext;
function D(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
}
var j = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function A(e, t, n) {
return g(t) ? w.grep(e, (function (e, r) {
return !!t.call(e, r, e) !== n
})) : t.nodeType ? w.grep(e, (function (e) {
return e === t !== n
})) : "string" != typeof t ? w.grep(e, (function (e) {
return -1 < l.call(t, e) !== n
})) : w.filter(t, e, n)
}
w.filter = function (e, t, n) {
var r = t[0];
return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? w.find.matchesSelector(r, e) ? [r] : [] : w.find.matches(e, w.grep(t, (function (e) {
return 1 === e.nodeType
})))
}, w.fn.extend({
find: function (e) {
var t, n, r = this.length,
o = this;
if ("string" != typeof e) return this.pushStack(w(e).filter((function () {
for (t = 0; t < r; t++)
if (w.contains(o[t], this)) return !0
})));
for (n = this.pushStack([]), t = 0; t < r; t++) w.find(e, o[t], n);
return 1 < r ? w.uniqueSort(n) : n
},
filter: function (e) {
return this.pushStack(A(this, e || [], !1))
},
not: function (e) {
return this.pushStack(A(this, e || [], !0))
},
is: function (e) {
return !!A(this, "string" == typeof e && N.test(e) ? w(e) : e || [], !1).length
}
});
var P, L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
(w.fn.init = function (e, t, n) {
var o, i;
if (!e) return this;
if (n = n || P, "string" == typeof e) {
if (!(o = "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length ? [null, e, null] : L.exec(e)) || !o[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
if (o[1]) {
if (t = t instanceof w ? t[0] : t, w.merge(this, w.parseHTML(o[1], t && t.nodeType ? t.ownerDocument || t : r, !0)), j.test(o[1]) && w.isPlainObject(t))
for (o in t) g(this[o]) ? this[o](t[o]) : this.attr(o, t[o]);
return this
}
return (i = r.getElementById(o[2])) && (this[0] = i, this.length = 1), this
}
return e.nodeType ? (this[0] = e, this.length = 1, this) : g(e) ? void 0 !== n.ready ? n.ready(e) : e(w) : w.makeArray(e, this)
}).prototype = w.fn, P = w(r);
var q = /^(?:parents|prev(?:Until|All))/,
H = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
function O(e, t) {
for (;
(e = e[t]) && 1 !== e.nodeType;);
return e
}
w.fn.extend({
has: function (e) {
var t = w(e, this),
n = t.length;
return this.filter((function () {
for (var e = 0; e < n; e++)
if (w.contains(this, t[e])) return !0
}))
},
closest: function (e, t) {
var n, r = 0,
o = this.length,
i = [],
a = "string" != typeof e && w(e);
if (!N.test(e))
for (; r < o; r++)
for (n = this[r]; n && n !== t; n = n.parentNode)
if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && w.find.matchesSelector(n, e))) {
i.push(n);
break
} return this.pushStack(1 < i.length ? w.uniqueSort(i) : i)
},
index: function (e) {
return e ? "string" == typeof e ? l.call(w(e), this[0]) : l.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
},
add: function (e, t) {
return this.pushStack(w.uniqueSort(w.merge(this.get(), w(e, t))))
},
addBack: function (e) {
return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
}
}), w.each({
parent: function (e) {
var t = e.parentNode;
return t && 11 !== t.nodeType ? t : null
},
parents: function (e) {
return S(e, "parentNode")
},
parentsUntil: function (e, t, n) {
return S(e, "parentNode", n)
},
next: function (e) {
return O(e, "nextSibling")
},
prev: function (e) {
return O(e, "previousSibling")
},
nextAll: function (e) {
return S(e, "nextSibling")
},
prevAll: function (e) {
return S(e, "previousSibling")
},
nextUntil: function (e, t, n) {
return S(e, "nextSibling", n)
},
prevUntil: function (e, t, n) {
return S(e, "previousSibling", n)
},
siblings: function (e) {
return E((e.parentNode || {}).firstChild, e)
},
children: function (e) {
return E(e.firstChild)
},
contents: function (e) {
return void 0 !== e.contentDocument ? e.contentDocument : (D(e, "template") && (e = e.content || e), w.merge([], e.childNodes))
}
}, (function (e, t) {
w.fn[e] = function (n, r) {
var o = w.map(this, t, n);
return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (o = w.filter(r, o)), 1 < this.length && (H[e] || w.uniqueSort(o), q.test(e) && o.reverse()), this.pushStack(o)
}
}));
var M = /[^\x20\t\r\n\f]+/g;
function I(e) {
return e
}
function _(e) {
throw e
}
function R(e, t, n, r) {
var o;
try {
e && g(o = e.promise) ? o.call(e).done(t).fail(n) : e && g(o = e.then) ? o.call(e, t, n) : t.apply(void 0, [e].slice(r))
} catch (e) {
n.apply(void 0, [e])
}
}
w.Callbacks = function (e) {
var t, n;
e = "string" == typeof e ? (t = e, n = {}, w.each(t.match(M) || [], (function (e, t) {
n[t] = !0
})), n) : w.extend({}, e);
var r, o, i, a, s = [],
l = [],
u = -1,
c = function () {
for (a = a || e.once, i = r = !0; l.length; u = -1)
for (o = l.shift(); ++u < s.length;) !1 === s[u].apply(o[0], o[1]) && e.stopOnFalse && (u = s.length, o = !1);
e.memory || (o = !1), r = !1, a && (s = o ? [] : "")
},
p = {
add: function () {
return s && (o && !r && (u = s.length - 1, l.push(o)), function t(n) {
w.each(n, (function (n, r) {
g(r) ? e.unique && p.has(r) || s.push(r) : r && r.length && "string" !== x(r) && t(r)
}))
}(arguments), o && !r && c()), this
},
remove: function () {
return w.each(arguments, (function (e, t) {
for (var n; - 1 < (n = w.inArray(t, s, n));) s.splice(n, 1), n <= u && u--
})), this
},
has: function (e) {
return e ? -1 < w.inArray(e, s) : 0 < s.length
},
empty: function () {
return s && (s = []), this
},
disable: function () {
return a = l = [], s = o = "", this
},
disabled: function () {
return !s
},
lock: function () {
return a = l = [], o || r || (s = o = ""), this
},
locked: function () {
return !!a
},
fireWith: function (e, t) {
return a || (t = [e, (t = t || []).slice ? t.slice() : t], l.push(t), r || c()), this
},
fire: function () {
return p.fireWith(this, arguments), this
},
fired: function () {
return !!i
}
};
return p
}, w.extend({
Deferred: function (t) {
var n = [
["notify", "progress", w.Callbacks("memory"), w.Callbacks("memory"), 2],
["resolve", "done", w.Callbacks("once memory"), w.Callbacks("once memory"), 0, "resolved"],
["reject", "fail", w.Callbacks("once memory"), w.Callbacks("once memory"), 1, "rejected"]
],
r = "pending",
o = {
state: function () {
return r
},
always: function () {
return i.done(arguments).fail(arguments), this
},
catch: function (e) {
return o.then(null, e)
},
pipe: function () {
var e = arguments;
return w.Deferred((function (t) {
w.each(n, (function (n, r) {
var o = g(e[r[4]]) && e[r[4]];
i[r[1]]((function () {
var e = o && o.apply(this, arguments);
e && g(e.promise) ? e.promise().progress(t.notify).done(t.resolve).fail(t.reject) : t[r[0] + "With"](this, o ? [e] : arguments)
}))
})), e = null
})).promise()
},
then: function (t, r, o) {
var i = 0;
function a(t, n, r, o) {
return function () {
var s = this,
l = arguments,
u = function () {
var e, u;
if (!(t < i)) {
if ((e = r.apply(s, l)) === n.promise()) throw new TypeError("Thenable self-resolution");
u = e && ("object" == typeof e || "function" == typeof e) && e.then, g(u) ? o ? u.call(e, a(i, n, I, o), a(i, n, _, o)) : (i++, u.call(e, a(i, n, I, o), a(i, n, _, o), a(i, n, I, n.notifyWith))) : (r !== I && (s = void 0, l = [e]), (o || n.resolveWith)(s, l))
}
},
c = o ? u : function () {
try {
u()
} catch (e) {
w.Deferred.exceptionHook && w.Deferred.exceptionHook(e, c.stackTrace), i <= t + 1 && (r !== _ && (s = void 0, l = [e]), n.rejectWith(s, l))
}
};
t ? c() : (w.Deferred.getStackHook && (c.stackTrace = w.Deferred.getStackHook()), e.setTimeout(c))
}
}
return w.Deferred((function (e) {
n[0][3].add(a(0, e, g(o) ? o : I, e.notifyWith)), n[1][3].add(a(0, e, g(t) ? t : I)), n[2][3].add(a(0, e, g(r) ? r : _))
})).promise()
},
promise: function (e) {
return null != e ? w.extend(e, o) : o
}
},
i = {};
return w.each(n, (function (e, t) {
var a = t[2],
s = t[5];
o[t[1]] = a.add, s && a.add((function () {
r = s
}), n[3 - e][2].disable, n[3 - e][3].disable, n[0][2].lock, n[0][3].lock), a.add(t[3].fire), i[t[0]] = function () {
return i[t[0] + "With"](this === i ? void 0 : this, arguments), this
}, i[t[0] + "With"] = a.fireWith
})), o.promise(i), t && t.call(i, i), i
},
when: function (e) {
var t = arguments.length,
n = t,
r = Array(n),
o = i.call(arguments),
a = w.Deferred(),
s = function (e) {
return function (n) {
r[e] = this, o[e] = 1 < arguments.length ? i.call(arguments) : n, --t || a.resolveWith(r, o)
}
};
if (t <= 1 && (R(e, a.done(s(n)).resolve, a.reject, !t), "pending" === a.state() || g(o[n] && o[n].then))) return a.then();
for (; n--;) R(o[n], s(n), a.reject);
return a.promise()
}
});
var F = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
w.Deferred.exceptionHook = function (t, n) {
e.console && e.console.warn && t && F.test(t.name) && e.console.warn("jQuery.Deferred exception: " + t.message, t.stack, n)
}, w.readyException = function (t) {
e.setTimeout((function () {
throw t
}))
};
var B = w.Deferred();
function W() {
r.removeEventListener("DOMContentLoaded", W), e.removeEventListener("load", W), w.ready()
}
w.fn.ready = function (e) {
return B.then(e).catch((function (e) {
w.readyException(e)
})), this
}, w.extend({
isReady: !1,
readyWait: 1,
ready: function (e) {
(!0 === e ? --w.readyWait : w.isReady) || (w.isReady = !0) !== e && 0 < --w.readyWait || B.resolveWith(r, [w])
}
}), w.ready.then = B.then, "complete" === r.readyState || "loading" !== r.readyState && !r.documentElement.doScroll ? e.setTimeout(w.ready) : (r.addEventListener("DOMContentLoaded", W), e.addEventListener("load", W));
var $ = function (e, t, n, r, o, i, a) {
var s = 0,
l = e.length,
u = null == n;
if ("object" === x(n))
for (s in o = !0, n) $(e, t, s, n[s], !0, i, a);
else if (void 0 !== r && (o = !0, g(r) || (a = !0), u && (a ? (t.call(e, r), t = null) : (u = t, t = function (e, t, n) {
return u.call(w(e), n)
})), t))
for (; s < l; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
return o ? e : u ? t.call(e) : l ? t(e[0], n) : i
},
z = /^-ms-/,
X = /-([a-z])/g;
function U(e, t) {
return t.toUpperCase()
}
function V(e) {
return e.replace(z, "ms-").replace(X, U)
}
var Y = function (e) {
return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType
};
function Q() {
this.expando = w.expando + Q.uid++
}
Q.uid = 1, Q.prototype = {
cache: function (e) {
var t = e[this.expando];
return t || (t = {}, Y(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, {
value: t,
configurable: !0
}))), t
},
set: function (e, t, n) {
var r, o = this.cache(e);
if ("string" == typeof t) o[V(t)] = n;
else
for (r in t) o[V(r)] = t[r];
return o
},
get: function (e, t) {
return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][V(t)]
},
access: function (e, t, n) {
return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t)
},
remove: function (e, t) {
var n, r = e[this.expando];
if (void 0 !== r) {
if (void 0 !== t) {
n = (t = Array.isArray(t) ? t.map(V) : (t = V(t)) in r ? [t] : t.match(M) || []).length;
for (; n--;) delete r[t[n]]
}(void 0 === t || w.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando])
}
},
hasData: function (e) {
var t = e[this.expando];
return void 0 !== t && !w.isEmptyObject(t)
}
};
var G = new Q,
J = new Q,
Z = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
K = /[A-Z]/g;
function ee(e, t, n) {
var r, o;
if (void 0 === n && 1 === e.nodeType)
if (r = "data-" + t.replace(K, "-$&").toLowerCase(), "string" == typeof (n = e.getAttribute(r))) {
try {
n = "true" === (o = n) || "false" !== o && ("null" === o ? null : o === +o + "" ? +o : Z.test(o) ? JSON.parse(o) : o)
} catch (e) {}
J.set(e, t, n)
} else n = void 0;
return n
}
w.extend({
hasData: function (e) {
return J.hasData(e) || G.hasData(e)
},
data: function (e, t, n) {
return J.access(e, t, n)
},
removeData: function (e, t) {
J.remove(e, t)
},
_data: function (e, t, n) {
return G.access(e, t, n)
},
_removeData: function (e, t) {
G.remove(e, t)
}
}), w.fn.extend({
data: function (e, t) {
var n, r, o, i = this[0],
a = i && i.attributes;
if (void 0 === e) {
if (this.length && (o = J.get(i), 1 === i.nodeType && !G.get(i, "hasDataAttrs"))) {
for (n = a.length; n--;) a[n] && 0 === (r = a[n].name).indexOf("data-") && (r = V(r.slice(5)), ee(i, r, o[r]));
G.set(i, "hasDataAttrs", !0)
}
return o
}
return "object" == typeof e ? this.each((function () {
J.set(this, e)
})) : $(this, (function (t) {
var n;
if (i && void 0 === t) return void 0 !== (n = J.get(i, e)) || void 0 !== (n = ee(i, e)) ? n : void 0;
this.each((function () {
J.set(this, e, t)
}))
}), null, t, 1 < arguments.length, null, !0)
},
removeData: function (e) {
return this.each((function () {
J.remove(this, e)
}))
}
}), w.extend({
queue: function (e, t, n) {
var r;
if (e) return t = (t || "fx") + "queue", r = G.get(e, t), n && (!r || Array.isArray(n) ? r = G.access(e, t, w.makeArray(n)) : r.push(n)), r || []
},
dequeue: function (e, t) {
t = t || "fx";
var n = w.queue(e, t),
r = n.length,
o = n.shift(),
i = w._queueHooks(e, t);
"inprogress" === o && (o = n.shift(), r--), o && ("fx" === t && n.unshift("inprogress"), delete i.stop, o.call(e, (function () {
w.dequeue(e, t)
}), i)), !r && i && i.empty.fire()
},
_queueHooks: function (e, t) {
var n = t + "queueHooks";
return G.get(e, n) || G.access(e, n, {
empty: w.Callbacks("once memory").add((function () {
G.remove(e, [t + "queue", n])
}))
})
}
}), w.fn.extend({
queue: function (e, t) {
var n = 2;
return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? w.queue(this[0], e) : void 0 === t ? this : this.each((function () {
var n = w.queue(this, e, t);
w._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && w.dequeue(this, e)
}))
},
dequeue: function (e) {
return this.each((function () {
w.dequeue(this, e)
}))
},
clearQueue: function (e) {
return this.queue(e || "fx", [])
},
promise: function (e, t) {
var n, r = 1,
o = w.Deferred(),
i = this,
a = this.length,
s = function () {
--r || o.resolveWith(i, [i])
};
for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; a--;)(n = G.get(i[a], e + "queueHooks")) && n.empty && (r++, n.empty.add(s));
return s(), o.promise(t)
}
});
var te = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
ne = new RegExp("^(?:([+-])=|)(" + te + ")([a-z%]*)$", "i"),
re = ["Top", "Right", "Bottom", "Left"],
oe = r.documentElement,
ie = function (e) {
return w.contains(e.ownerDocument, e)
},
ae = {
composed: !0
};
oe.getRootNode && (ie = function (e) {
return w.contains(e.ownerDocument, e) || e.getRootNode(ae) === e.ownerDocument
});
var se = function (e, t) {
return "none" === (e = t || e).style.display || "" === e.style.display && ie(e) && "none" === w.css(e, "display")
},
le = function (e, t, n, r) {
var o, i, a = {};
for (i in t) a[i] = e.style[i], e.style[i] = t[i];
for (i in o = n.apply(e, r || []), t) e.style[i] = a[i];
return o
};
function ue(e, t, n, r) {
var o, i, a = 20,
s = r ? function () {
return r.cur()
} : function () {
return w.css(e, t, "")
},
l = s(),
u = n && n[3] || (w.cssNumber[t] ? "" : "px"),
c = e.nodeType && (w.cssNumber[t] || "px" !== u && +l) && ne.exec(w.css(e, t));
if (c && c[3] !== u) {
for (l /= 2, u = u || c[3], c = +l || 1; a--;) w.style(e, t, c + u), (1 - i) * (1 - (i = s() / l || .5)) <= 0 && (a = 0), c /= i;
c *= 2, w.style(e, t, c + u), n = n || []
}
return n && (c = +c || +l || 0, o = n[1] ? c + (n[1] + 1) * n[2] : +n[2], r && (r.unit = u, r.start = c, r.end = o)), o
}
var ce = {};
function pe(e, t) {
for (var n, r, o, i, a, s, l, u = [], c = 0, p = e.length; c < p; c++)(r = e[c]).style && (n = r.style.display, t ? ("none" === n && (u[c] = G.get(r, "display") || null, u[c] || (r.style.display = "")), "" === r.style.display && se(r) && (u[c] = (l = a = i = void 0, a = (o = r).ownerDocument, s = o.nodeName, (l = ce[s]) || (i = a.body.appendChild(a.createElement(s)), l = w.css(i, "display"), i.parentNode.removeChild(i), "none" === l && (l = "block"), ce[s] = l)))) : "none" !== n && (u[c] = "none", G.set(r, "display", n)));
for (c = 0; c < p; c++) null != u[c] && (e[c].style.display = u[c]);
return e
}
w.fn.extend({
show: function () {
return pe(this, !0)
},
hide: function () {
return pe(this)
},
toggle: function (e) {
return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each((function () {
se(this) ? w(this).show() : w(this).hide()
}))
}
});
var fe = /^(?:checkbox|radio)$/i,
de = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
he = /^$|^module$|\/(?:java|ecma)script/i,
ge = {
option: [1, "<select multiple='multiple'>", "</select>"],
thead: [1, "<table>", "</table>"],
col: [2, "<table><colgroup>", "</colgroup></table>"],
tr: [2, "<table><tbody>", "</tbody></table>"],
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
_default: [0, "", ""]
};
function ve(e, t) {
var n;
return n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : [], void 0 === t || t && D(e, t) ? w.merge([e], n) : n
}
function me(e, t) {
for (var n = 0, r = e.length; n < r; n++) G.set(e[n], "globalEval", !t || G.get(t[n], "globalEval"))
}
ge.optgroup = ge.option, ge.tbody = ge.tfoot = ge.colgroup = ge.caption = ge.thead, ge.th = ge.td;
var ye, xe, be = /<|&#?\w+;/;
function we(e, t, n, r, o) {
for (var i, a, s, l, u, c, p = t.createDocumentFragment(), f = [], d = 0, h = e.length; d < h; d++)
if ((i = e[d]) || 0 === i)
if ("object" === x(i)) w.merge(f, i.nodeType ? [i] : i);
else if (be.test(i)) {
for (a = a || p.appendChild(t.createElement("div")), s = (de.exec(i) || ["", ""])[1].toLowerCase(), l = ge[s] || ge._default, a.innerHTML = l[1] + w.htmlPrefilter(i) + l[2], c = l[0]; c--;) a = a.lastChild;
w.merge(f, a.childNodes), (a = p.firstChild).textContent = ""
} else f.push(t.createTextNode(i));
for (p.textContent = "", d = 0; i = f[d++];)
if (r && -1 < w.inArray(i, r)) o && o.push(i);
else if (u = ie(i), a = ve(p.appendChild(i), "script"), u && me(a), n)
for (c = 0; i = a[c++];) he.test(i.type || "") && n.push(i);
return p
}
ye = r.createDocumentFragment().appendChild(r.createElement("div")), (xe = r.createElement("input")).setAttribute("type", "radio"), xe.setAttribute("checked", "checked"), xe.setAttribute("name", "t"), ye.appendChild(xe), h.checkClone = ye.cloneNode(!0).cloneNode(!0).lastChild.checked, ye.innerHTML = "<textarea>x</textarea>", h.noCloneChecked = !!ye.cloneNode(!0).lastChild.defaultValue;
var Ce = /^key/,
Te = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
ke = /^([^.]*)(?:\.(.+)|)/;
function Se() {
return !0
}
function Ee() {
return !1
}
function Ne(e, t) {
return e === function () {
try {
return r.activeElement
} catch (e) {}
}() == ("focus" === t)
}
function De(e, t, n, r, o, i) {
var a, s;
if ("object" == typeof t) {
for (s in "string" != typeof n && (r = r || n, n = void 0), t) De(e, s, n, r, t[s], i);
return e
}
if (null == r && null == o ? (o = n, r = n = void 0) : null == o && ("string" == typeof n ? (o = r, r = void 0) : (o = r, r = n, n = void 0)), !1 === o) o = Ee;
else if (!o) return e;
return 1 === i && (a = o, (o = function (e) {
return w().off(e), a.apply(this, arguments)
}).guid = a.guid || (a.guid = w.guid++)), e.each((function () {
w.event.add(this, t, o, r, n)
}))
}
function je(e, t, n) {
n ? (G.set(e, t, !1), w.event.add(e, t, {
namespace: !1,
handler: function (e) {
var r, o, a = G.get(this, t);
if (1 & e.isTrigger && this[t]) {
if (a.length)(w.event.special[t] || {}).delegateType && e.stopPropagation();
else if (a = i.call(arguments), G.set(this, t, a), r = n(this, t), this[t](), a !== (o = G.get(this, t)) || r ? G.set(this, t, !1) : o = {}, a !== o) return e.stopImmediatePropagation(), e.preventDefault(), o.value
} else a.length && (G.set(this, t, {
value: w.event.trigger(w.extend(a[0], w.Event.prototype), a.slice(1), this)
}), e.stopImmediatePropagation())
}
})) : void 0 === G.get(e, t) && w.event.add(e, t, Se)
}
w.event = {
global: {},
add: function (e, t, n, r, o) {
var i, a, s, l, u, c, p, f, d, h, g, v = G.get(e);
if (v)
for (n.handler && (n = (i = n).handler, o = i.selector), o && w.find.matchesSelector(oe, o), n.guid || (n.guid = w.guid++), (l = v.events) || (l = v.events = {}), (a = v.handle) || (a = v.handle = function (t) {
return void 0 !== w && w.event.triggered !== t.type ? w.event.dispatch.apply(e, arguments) : void 0
}), u = (t = (t || "").match(M) || [""]).length; u--;) d = g = (s = ke.exec(t[u]) || [])[1], h = (s[2] || "").split(".").sort(), d && (p = w.event.special[d] || {}, d = (o ? p.delegateType : p.bindType) || d, p = w.event.special[d] || {}, c = w.extend({
type: d,
origType: g,
data: r,
handler: n,
guid: n.guid,
selector: o,
needsContext: o && w.expr.match.needsContext.test(o),
namespace: h.join(".")
}, i), (f = l[d]) || ((f = l[d] = []).delegateCount = 0, p.setup && !1 !== p.setup.call(e, r, h, a) || e.addEventListener && e.addEventListener(d, a)), p.add && (p.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), o ? f.splice(f.delegateCount++, 0, c) : f.push(c), w.event.global[d] = !0)
},
remove: function (e, t, n, r, o) {
var i, a, s, l, u, c, p, f, d, h, g, v = G.hasData(e) && G.get(e);
if (v && (l = v.events)) {
for (u = (t = (t || "").match(M) || [""]).length; u--;)
if (d = g = (s = ke.exec(t[u]) || [])[1], h = (s[2] || "").split(".").sort(), d) {
for (p = w.event.special[d] || {}, f = l[d = (r ? p.delegateType : p.bindType) || d] || [], s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = i = f.length; i--;) c = f[i], !o && g !== c.origType || n && n.guid !== c.guid || s && !s.test(c.namespace) || r && r !== c.selector && ("**" !== r || !c.selector) || (f.splice(i, 1), c.selector && f.delegateCount--, p.remove && p.remove.call(e, c));
a && !f.length && (p.teardown && !1 !== p.teardown.call(e, h, v.handle) || w.removeEvent(e, d, v.handle), delete l[d])
} else
for (d in l) w.event.remove(e, d + t[u], n, r, !0);
w.isEmptyObject(l) && G.remove(e, "handle events")
}
},
dispatch: function (e) {
var t, n, r, o, i, a, s = w.event.fix(e),
l = new Array(arguments.length),
u = (G.get(this, "events") || {})[s.type] || [],
c = w.event.special[s.type] || {};
for (l[0] = s, t = 1; t < arguments.length; t++) l[t] = arguments[t];
if (s.delegateTarget = this, !c.preDispatch || !1 !== c.preDispatch.call(this, s)) {
for (a = w.event.handlers.call(this, s, u), t = 0;
(o = a[t++]) && !s.isPropagationStopped();)
for (s.currentTarget = o.elem, n = 0;
(i = o.handlers[n++]) && !s.isImmediatePropagationStopped();) s.rnamespace && !1 !== i.namespace && !s.rnamespace.test(i.namespace) || (s.handleObj = i, s.data = i.data, void 0 !== (r = ((w.event.special[i.origType] || {}).handle || i.handler).apply(o.elem, l)) && !1 === (s.result = r) && (s.preventDefault(), s.stopPropagation()));
return c.postDispatch && c.postDispatch.call(this, s), s.result
}
},
handlers: function (e, t) {
var n, r, o, i, a, s = [],
l = t.delegateCount,
u = e.target;
if (l && u.nodeType && !("click" === e.type && 1 <= e.button))
for (; u !== this; u = u.parentNode || this)
if (1 === u.nodeType && ("click" !== e.type || !0 !== u.disabled)) {
for (i = [], a = {}, n = 0; n < l; n++) void 0 === a[o = (r = t[n]).selector + " "] && (a[o] = r.needsContext ? -1 < w(o, this).index(u) : w.find(o, this, null, [u]).length), a[o] && i.push(r);
i.length && s.push({
elem: u,
handlers: i
})
} return u = this, l < t.length && s.push({
elem: u,
handlers: t.slice(l)
}), s
},
addProp: function (e, t) {
Object.defineProperty(w.Event.prototype, e, {
enumerable: !0,
configurable: !0,
get: g(t) ? function () {
if (this.originalEvent) return t(this.originalEvent)
} : function () {
if (this.originalEvent) return this.originalEvent[e]
},
set: function (t) {
Object.defineProperty(this, e, {
enumerable: !0,
configurable: !0,
writable: !0,
value: t
})
}
})
},
fix: function (e) {
return e[w.expando] ? e : new w.Event(e)
},
special: {
load: {
noBubble: !0
},
click: {
setup: function (e) {
var t = this || e;
return fe.test(t.type) && t.click && D(t, "input") && je(t, "click", Se), !1
},
trigger: function (e) {
var t = this || e;
return fe.test(t.type) && t.click && D(t, "input") && je(t, "click"), !0
},
_default: function (e) {
var t = e.target;
return fe.test(t.type) && t.click && D(t, "input") && G.get(t, "click") || D(t, "a")
}
},
beforeunload: {
postDispatch: function (e) {
void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result)
}
}
}
}, w.removeEvent = function (e, t, n) {
e.removeEventListener && e.removeEventListener(t, n)
}, w.Event = function (e, t) {
if (!(this instanceof w.Event)) return new w.Event(e, t);
e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? Se : Ee, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && w.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[w.expando] = !0
}, w.Event.prototype = {
constructor: w.Event,
isDefaultPrevented: Ee,
isPropagationStopped: Ee,
isImmediatePropagationStopped: Ee,
isSimulated: !1,
preventDefault: function () {
var e = this.originalEvent;
this.isDefaultPrevented = Se, e && !this.isSimulated && e.preventDefault()
},
stopPropagation: function () {
var e = this.originalEvent;
this.isPropagationStopped = Se, e && !this.isSimulated && e.stopPropagation()
},
stopImmediatePropagation: function () {
var e = this.originalEvent;
this.isImmediatePropagationStopped = Se, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation()
}
}, w.each({
altKey: !0,
bubbles: !0,
cancelable: !0,
changedTouches: !0,
ctrlKey: !0,
detail: !0,
eventPhase: !0,
metaKey: !0,
pageX: !0,
pageY: !0,
shiftKey: !0,
view: !0,
char: !0,
code: !0,
charCode: !0,
key: !0,
keyCode: !0,
button: !0,
buttons: !0,
clientX: !0,
clientY: !0,
offsetX: !0,
offsetY: !0,
pointerId: !0,
pointerType: !0,
screenX: !0,
screenY: !0,
targetTouches: !0,
toElement: !0,
touches: !0,
which: function (e) {
var t = e.button;
return null == e.which && Ce.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && Te.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which
}
}, w.event.addProp), w.each({
focus: "focusin",
blur: "focusout"
}, (function (e, t) {
w.event.special[e] = {
setup: function () {
return je(this, e, Ne), !1
},
trigger: function () {
return je(this, e), !0
},
delegateType: t
}
})), w.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, (function (e, t) {
w.event.special[e] = {
delegateType: t,
bindType: t,
handle: function (e) {
var n, r = e.relatedTarget,
o = e.handleObj;
return r && (r === this || w.contains(this, r)) || (e.type = o.origType, n = o.handler.apply(this, arguments), e.type = t), n
}
}
})), w.fn.extend({
on: function (e, t, n, r) {
return De(this, e, t, n, r)
},
one: function (e, t, n, r) {
return De(this, e, t, n, r, 1)
},
off: function (e, t, n) {
var r, o;
if (e && e.preventDefault && e.handleObj) return r = e.handleObj, w(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this;
if ("object" == typeof e) {
for (o in e) this.off(o, t, e[o]);
return this
}
return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = Ee), this.each((function () {
w.event.remove(this, e, n, t)
}))
}
});
var Ae = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
Pe = /<script|<style|<link/i,
Le = /checked\s*(?:[^=]|=\s*.checked.)/i,
qe = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
function He(e, t) {
return D(e, "table") && D(11 !== t.nodeType ? t : t.firstChild, "tr") && w(e).children("tbody")[0] || e
}
function Oe(e) {
return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e
}
function Me(e) {
return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), e
}
function Ie(e, t) {
var n, r, o, i, a, s, l, u;
if (1 === t.nodeType) {
if (G.hasData(e) && (i = G.access(e), a = G.set(t, i), u = i.events))
for (o in delete a.handle, a.events = {}, u)
for (n = 0, r = u[o].length; n < r; n++) w.event.add(t, o, u[o][n]);
J.hasData(e) && (s = J.access(e), l = w.extend({}, s), J.set(t, l))
}
}
function _e(e, t, n, r) {
t = a.apply([], t);
var o, i, s, l, u, c, p = 0,
f = e.length,
d = f - 1,
v = t[0],
m = g(v);
if (m || 1 < f && "string" == typeof v && !h.checkClone && Le.test(v)) return e.each((function (o) {
var i = e.eq(o);
m && (t[0] = v.call(this, o, i.html())), _e(i, t, n, r)
}));
if (f && (i = (o = we(t, e[0].ownerDocument, !1, e, r)).firstChild, 1 === o.childNodes.length && (o = i), i || r)) {
for (l = (s = w.map(ve(o, "script"), Oe)).length; p < f; p++) u = o, p !== d && (u = w.clone(u, !0, !0), l && w.merge(s, ve(u, "script"))), n.call(e[p], u, p);
if (l)
for (c = s[s.length - 1].ownerDocument, w.map(s, Me), p = 0; p < l; p++) u = s[p], he.test(u.type || "") && !G.access(u, "globalEval") && w.contains(c, u) && (u.src && "module" !== (u.type || "").toLowerCase() ? w._evalUrl && !u.noModule && w._evalUrl(u.src, {
nonce: u.nonce || u.getAttribute("nonce")
}) : y(u.textContent.replace(qe, ""), u, c))
}
return e
}
function Re(e, t, n) {
for (var r, o = t ? w.filter(t, e) : e, i = 0; null != (r = o[i]); i++) n || 1 !== r.nodeType || w.cleanData(ve(r)), r.parentNode && (n && ie(r) && me(ve(r, "script")), r.parentNode.removeChild(r));
return e
}
w.extend({
htmlPrefilter: function (e) {
return e.replace(Ae, "<$1></$2>")
},
clone: function (e, t, n) {
var r, o, i, a, s, l, u, c = e.cloneNode(!0),
p = ie(e);
if (!(h.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || w.isXMLDoc(e)))
for (a = ve(c), r = 0, o = (i = ve(e)).length; r < o; r++) s = i[r], "input" === (u = (l = a[r]).nodeName.toLowerCase()) && fe.test(s.type) ? l.checked = s.checked : "input" !== u && "textarea" !== u || (l.defaultValue = s.defaultValue);
if (t)
if (n)
for (i = i || ve(e), a = a || ve(c), r = 0, o = i.length; r < o; r++) Ie(i[r], a[r]);
else Ie(e, c);
return 0 < (a = ve(c, "script")).length && me(a, !p && ve(e, "script")), c
},
cleanData: function (e) {
for (var t, n, r, o = w.event.special, i = 0; void 0 !== (n = e[i]); i++)
if (Y(n)) {
if (t = n[G.expando]) {
if (t.events)
for (r in t.events) o[r] ? w.event.remove(n, r) : w.removeEvent(n, r, t.handle);
n[G.expando] = void 0
}
n[J.expando] && (n[J.expando] = void 0)
}
}
}), w.fn.extend({
detach: function (e) {
return Re(this, e, !0)
},
remove: function (e) {
return Re(this, e)
},
text: function (e) {
return $(this, (function (e) {
return void 0 === e ? w.text(this) : this.empty().each((function () {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e)
}))
}), null, e, arguments.length)
},
append: function () {
return _e(this, arguments, (function (e) {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || He(this, e).appendChild(e)
}))
},
prepend: function () {
return _e(this, arguments, (function (e) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var t = He(this, e);
t.insertBefore(e, t.firstChild)
}
}))
},
before: function () {
return _e(this, arguments, (function (e) {
this.parentNode && this.parentNode.insertBefore(e, this)
}))
},
after: function () {
return _e(this, arguments, (function (e) {
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
}))
},
empty: function () {
for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (w.cleanData(ve(e, !1)), e.textContent = "");
return this
},
clone: function (e, t) {
return e = null != e && e, t = null == t ? e : t, this.map((function () {
return w.clone(this, e, t)
}))
},
html: function (e) {
return $(this, (function (e) {
var t = this[0] || {},
n = 0,
r = this.length;
if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
if ("string" == typeof e && !Pe.test(e) && !ge[(de.exec(e) || ["", ""])[1].toLowerCase()]) {
e = w.htmlPrefilter(e);
try {
for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (w.cleanData(ve(t, !1)), t.innerHTML = e);
t = 0
} catch (e) {}
}
t && this.empty().append(e)
}), null, e, arguments.length)
},
replaceWith: function () {
var e = [];
return _e(this, arguments, (function (t) {
var n = this.parentNode;
w.inArray(this, e) < 0 && (w.cleanData(ve(this)), n && n.replaceChild(t, this))
}), e)
}
}), w.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, (function (e, t) {
w.fn[e] = function (e) {
for (var n, r = [], o = w(e), i = o.length - 1, a = 0; a <= i; a++) n = a === i ? this : this.clone(!0), w(o[a])[t](n), s.apply(r, n.get());
return this.pushStack(r)
}
}));
var Fe = new RegExp("^(" + te + ")(?!px)[a-z%]+$", "i"),
Be = function (t) {
var n = t.ownerDocument.defaultView;
return n && n.opener || (n = e), n.getComputedStyle(t)
},
We = new RegExp(re.join("|"), "i");
function $e(e, t, n) {
var r, o, i, a, s = e.style;
return (n = n || Be(e)) && ("" !== (a = n.getPropertyValue(t) || n[t]) || ie(e) || (a = w.style(e, t)), !h.pixelBoxStyles() && Fe.test(a) && We.test(t) && (r = s.width, o = s.minWidth, i = s.maxWidth, s.minWidth = s.maxWidth = s.width = a, a = n.width, s.width = r, s.minWidth = o, s.maxWidth = i)), void 0 !== a ? a + "" : a
}
function ze(e, t) {
return {
get: function () {
if (!e()) return (this.get = t).apply(this, arguments);
delete this.get
}
}
}! function () {
function t() {
if (c) {
u.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", c.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", oe.appendChild(u).appendChild(c);
var t = e.getComputedStyle(c);
o = "1%" !== t.top, l = 12 === n(t.marginLeft), c.style.right = "60%", s = 36 === n(t.right), i = 36 === n(t.width), c.style.position = "absolute", a = 12 === n(c.offsetWidth / 3), oe.removeChild(u), c = null
}
}
function n(e) {
return Math.round(parseFloat(e))
}
var o, i, a, s, l, u = r.createElement("div"),
c = r.createElement("div");
c.style && (c.style.backgroundClip = "content-box", c.cloneNode(!0).style.backgroundClip = "", h.clearCloneStyle = "content-box" === c.style.backgroundClip, w.extend(h, {
boxSizingReliable: function () {
return t(), i
},
pixelBoxStyles: function () {
return t(), s
},
pixelPosition: function () {
return t(), o
},
reliableMarginLeft: function () {
return t(), l
},
scrollboxSize: function () {
return t(), a
}
}))
}();
var Xe = ["Webkit", "Moz", "ms"],
Ue = r.createElement("div").style,
Ve = {};
function Ye(e) {
return w.cssProps[e] || Ve[e] || (e in Ue ? e : Ve[e] = function (e) {
for (var t = e[0].toUpperCase() + e.slice(1), n = Xe.length; n--;)
if ((e = Xe[n] + t) in Ue) return e
}(e) || e)
}
var Qe = /^(none|table(?!-c[ea]).+)/,
Ge = /^--/,
Je = {
position: "absolute",
visibility: "hidden",
display: "block"
},
Ze = {
letterSpacing: "0",
fontWeight: "400"
};
function Ke(e, t, n) {
var r = ne.exec(t);
return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t
}
function et(e, t, n, r, o, i) {
var a = "width" === t ? 1 : 0,
s = 0,
l = 0;
if (n === (r ? "border" : "content")) return 0;
for (; a < 4; a += 2) "margin" === n && (l += w.css(e, n + re[a], !0, o)), r ? ("content" === n && (l -= w.css(e, "padding" + re[a], !0, o)), "margin" !== n && (l -= w.css(e, "border" + re[a] + "Width", !0, o))) : (l += w.css(e, "padding" + re[a], !0, o), "padding" !== n ? l += w.css(e, "border" + re[a] + "Width", !0, o) : s += w.css(e, "border" + re[a] + "Width", !0, o));
return !r && 0 <= i && (l += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - i - l - s - .5)) || 0), l
}
function tt(e, t, n) {
var r = Be(e),
o = (!h.boxSizingReliable() || n) && "border-box" === w.css(e, "boxSizing", !1, r),
i = o,
a = $e(e, t, r),
s = "offset" + t[0].toUpperCase() + t.slice(1);
if (Fe.test(a)) {
if (!n) return a;
a = "auto"
}
return (!h.boxSizingReliable() && o || "auto" === a || !parseFloat(a) && "inline" === w.css(e, "display", !1, r)) && e.getClientRects().length && (o = "border-box" === w.css(e, "boxSizing", !1, r), (i = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + et(e, t, n || (o ? "border" : "content"), i, r, a) + "px"
}
function nt(e, t, n, r, o) {
return new nt.prototype.init(e, t, n, r, o)
}
w.extend({
cssHooks: {
opacity: {
get: function (e, t) {
if (t) {
var n = $e(e, "opacity");
return "" === n ? "1" : n
}
}
}
},
cssNumber: {
animationIterationCount: !0,
columnCount: !0,
fillOpacity: !0,
flexGrow: !0,
flexShrink: !0,
fontWeight: !0,
gridArea: !0,
gridColumn: !0,
gridColumnEnd: !0,
gridColumnStart: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowStart: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
widows: !0,
zIndex: !0,
zoom: !0
},
cssProps: {},
style: function (e, t, n, r) {
if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
var o, i, a, s = V(t),
l = Ge.test(t),
u = e.style;
if (l || (t = Ye(s)), a = w.cssHooks[t] || w.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (o = a.get(e, !1, r)) ? o : u[t];
"string" == (i = typeof n) && (o = ne.exec(n)) && o[1] && (n = ue(e, t, o), i = "number"), null != n && n == n && ("number" !== i || l || (n += o && o[3] || (w.cssNumber[s] ? "" : "px")), h.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (u[t] = "inherit"), a && "set" in a && void 0 === (n = a.set(e, n, r)) || (l ? u.setProperty(t, n) : u[t] = n))
}
},
css: function (e, t, n, r) {
var o, i, a, s = V(t);
return Ge.test(t) || (t = Ye(s)), (a = w.cssHooks[t] || w.cssHooks[s]) && "get" in a && (o = a.get(e, !0, n)), void 0 === o && (o = $e(e, t, r)), "normal" === o && t in Ze && (o = Ze[t]), "" === n || n ? (i = parseFloat(o), !0 === n || isFinite(i) ? i || 0 : o) : o
}
}), w.each(["height", "width"], (function (e, t) {
w.cssHooks[t] = {
get: function (e, n, r) {
if (n) return !Qe.test(w.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? tt(e, t, r) : le(e, Je, (function () {
return tt(e, t, r)
}))
},
set: function (e, n, r) {
var o, i = Be(e),
a = !h.scrollboxSize() && "absolute" === i.position,
s = (a || r) && "border-box" === w.css(e, "boxSizing", !1, i),
l = r ? et(e, t, r, s, i) : 0;
return s && a && (l -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(i[t]) - et(e, t, "border", !1, i) - .5)), l && (o = ne.exec(n)) && "px" !== (o[3] || "px") && (e.style[t] = n, n = w.css(e, t)), Ke(0, n, l)
}
}
})), w.cssHooks.marginLeft = ze(h.reliableMarginLeft, (function (e, t) {
if (t) return (parseFloat($e(e, "marginLeft")) || e.getBoundingClientRect().left - le(e, {
marginLeft: 0
}, (function () {
return e.getBoundingClientRect().left
}))) + "px"
})), w.each({
margin: "",
padding: "",
border: "Width"
}, (function (e, t) {
w.cssHooks[e + t] = {
expand: function (n) {
for (var r = 0, o = {}, i = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) o[e + re[r] + t] = i[r] || i[r - 2] || i[0];
return o
}
}, "margin" !== e && (w.cssHooks[e + t].set = Ke)
})), w.fn.extend({
css: function (e, t) {
return $(this, (function (e, t, n) {
var r, o, i = {},
a = 0;
if (Array.isArray(t)) {
for (r = Be(e), o = t.length; a < o; a++) i[t[a]] = w.css(e, t[a], !1, r);
return i
}
return void 0 !== n ? w.style(e, t, n) : w.css(e, t)
}), e, t, 1 < arguments.length)
}
}), ((w.Tween = nt).prototype = {
constructor: nt,
init: function (e, t, n, r, o, i) {
this.elem = e, this.prop = n, this.easing = o || w.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = i || (w.cssNumber[n] ? "" : "px")
},
cur: function () {
var e = nt.propHooks[this.prop];
return e && e.get ? e.get(this) : nt.propHooks._default.get(this)
},
run: function (e) {
var t, n = nt.propHooks[this.prop];
return this.options.duration ? this.pos = t = w.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : nt.propHooks._default.set(this), this
}
}).init.prototype = nt.prototype, (nt.propHooks = {
_default: {
get: function (e) {
var t;
return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = w.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0
},
set: function (e) {
w.fx.step[e.prop] ? w.fx.step[e.prop](e) : 1 !== e.elem.nodeType || !w.cssHooks[e.prop] && null == e.elem.style[Ye(e.prop)] ? e.elem[e.prop] = e.now : w.style(e.elem, e.prop, e.now + e.unit)
}
}
}).scrollTop = nt.propHooks.scrollLeft = {
set: function (e) {
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
}
}, w.easing = {
linear: function (e) {
return e
},
swing: function (e) {
return .5 - Math.cos(e * Math.PI) / 2
},
_default: "swing"
}, w.fx = nt.prototype.init, w.fx.step = {};
var rt, ot, it, at, st = /^(?:toggle|show|hide)$/,
lt = /queueHooks$/;
function ut() {
ot && (!1 === r.hidden && e.requestAnimationFrame ? e.requestAnimationFrame(ut) : e.setTimeout(ut, w.fx.interval), w.fx.tick())
}
function ct() {
return e.setTimeout((function () {
rt = void 0
})), rt = Date.now()
}
function pt(e, t) {
var n, r = 0,
o = {
height: e
};
for (t = t ? 1 : 0; r < 4; r += 2 - t) o["margin" + (n = re[r])] = o["padding" + n] = e;
return t && (o.opacity = o.width = e), o
}
function ft(e, t, n) {
for (var r, o = (dt.tweeners[t] || []).concat(dt.tweeners["*"]), i = 0, a = o.length; i < a; i++)
if (r = o[i].call(n, t, e)) return r
}
function dt(e, t, n) {
var r, o, i = 0,
a = dt.prefilters.length,
s = w.Deferred().always((function () {
delete l.elem
})),
l = function () {
if (o) return !1;
for (var t = rt || ct(), n = Math.max(0, u.startTime + u.duration - t), r = 1 - (n / u.duration || 0), i = 0, a = u.tweens.length; i < a; i++) u.tweens[i].run(r);
return s.notifyWith(e, [u, r, n]), r < 1 && a ? n : (a || s.notifyWith(e, [u, 1, 0]), s.resolveWith(e, [u]), !1)
},
u = s.promise({
elem: e,
props: w.extend({}, t),
opts: w.extend(!0, {
specialEasing: {},
easing: w.easing._default
}, n),
originalProperties: t,
originalOptions: n,
startTime: rt || ct(),
duration: n.duration,
tweens: [],
createTween: function (t, n) {
var r = w.Tween(e, u.opts, t, n, u.opts.specialEasing[t] || u.opts.easing);
return u.tweens.push(r), r
},
stop: function (t) {
var n = 0,
r = t ? u.tweens.length : 0;
if (o) return this;
for (o = !0; n < r; n++) u.tweens[n].run(1);
return t ? (s.notifyWith(e, [u, 1, 0]), s.resolveWith(e, [u, t])) : s.rejectWith(e, [u, t]), this
}
}),
c = u.props;
for (function (e, t) {
var n, r, o, i, a;
for (n in e)
if (o = t[r = V(n)], i = e[n], Array.isArray(i) && (o = i[1], i = e[n] = i[0]), n !== r && (e[r] = i, delete e[n]), (a = w.cssHooks[r]) && "expand" in a)
for (n in i = a.expand(i), delete e[r], i) n in e || (e[n] = i[n], t[n] = o);
else t[r] = o
}(c, u.opts.specialEasing); i < a; i++)
if (r = dt.prefilters[i].call(u, e, c, u.opts)) return g(r.stop) && (w._queueHooks(u.elem, u.opts.queue).stop = r.stop.bind(r)), r;
return w.map(c, ft, u), g(u.opts.start) && u.opts.start.call(e, u), u.progress(u.opts.progress).done(u.opts.done, u.opts.complete).fail(u.opts.fail).always(u.opts.always), w.fx.timer(w.extend(l, {
elem: e,
anim: u,
queue: u.opts.queue
})), u
}
w.Animation = w.extend(dt, {
tweeners: {
"*": [function (e, t) {
var n = this.createTween(e, t);
return ue(n.elem, e, ne.exec(t), n), n
}]
},
tweener: function (e, t) {
g(e) ? (t = e, e = ["*"]) : e = e.match(M);
for (var n, r = 0, o = e.length; r < o; r++) n = e[r], dt.tweeners[n] = dt.tweeners[n] || [], dt.tweeners[n].unshift(t)
},
prefilters: [function (e, t, n) {
var r, o, i, a, s, l, u, c, p = "width" in t || "height" in t,
f = this,
d = {},
h = e.style,
g = e.nodeType && se(e),
v = G.get(e, "fxshow");
for (r in n.queue || (null == (a = w._queueHooks(e, "fx")).unqueued && (a.unqueued = 0, s = a.empty.fire, a.empty.fire = function () {
a.unqueued || s()
}), a.unqueued++, f.always((function () {
f.always((function () {
a.unqueued--, w.queue(e, "fx").length || a.empty.fire()
}))
}))), t)
if (o = t[r], st.test(o)) {
if (delete t[r], i = i || "toggle" === o, o === (g ? "hide" : "show")) {
if ("show" !== o || !v || void 0 === v[r]) continue;
g = !0
}
d[r] = v && v[r] || w.style(e, r)
} if ((l = !w.isEmptyObject(t)) || !w.isEmptyObject(d))
for (r in p && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], null == (u = v && v.display) && (u = G.get(e, "display")), "none" === (c = w.css(e, "display")) && (u ? c = u : (pe([e], !0), u = e.style.display || u, c = w.css(e, "display"), pe([e]))), ("inline" === c || "inline-block" === c && null != u) && "none" === w.css(e, "float") && (l || (f.done((function () {
h.display = u
})), null == u && (c = h.display, u = "none" === c ? "" : c)), h.display = "inline-block")), n.overflow && (h.overflow = "hidden", f.always((function () {
h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2]
}))), l = !1, d) l || (v ? "hidden" in v && (g = v.hidden) : v = G.access(e, "fxshow", {
display: u
}), i && (v.hidden = !g), g && pe([e], !0), f.done((function () {
for (r in g || pe([e]), G.remove(e, "fxshow"), d) w.style(e, r, d[r])
}))), l = ft(g ? v[r] : 0, r, f), r in v || (v[r] = l.start, g && (l.end = l.start, l.start = 0))
}],
prefilter: function (e, t) {
t ? dt.prefilters.unshift(e) : dt.prefilters.push(e)
}
}), w.speed = function (e, t, n) {
var r = e && "object" == typeof e ? w.extend({}, e) : {
complete: n || !n && t || g(e) && e,
duration: e,
easing: n && t || t && !g(t) && t
};
return w.fx.off ? r.duration = 0 : "number" != typeof r.duration && (r.duration in w.fx.speeds ? r.duration = w.fx.speeds[r.duration] : r.duration = w.fx.speeds._default), null != r.queue && !0 !== r.queue || (r.queue = "fx"), r.old = r.complete, r.complete = function () {
g(r.old) && r.old.call(this), r.queue && w.dequeue(this, r.queue)
}, r
}, w.fn.extend({
fadeTo: function (e, t, n, r) {
return this.filter(se).css("opacity", 0).show().end().animate({
opacity: t
}, e, n, r)
},
animate: function (e, t, n, r) {
var o = w.isEmptyObject(e),
i = w.speed(t, n, r),
a = function () {
var t = dt(this, w.extend({}, e), i);
(o || G.get(this, "finish")) && t.stop(!0)
};
return a.finish = a, o || !1 === i.queue ? this.each(a) : this.queue(i.queue, a)
},
stop: function (e, t, n) {
var r = function (e) {
var t = e.stop;
delete e.stop, t(n)
};
return "string" != typeof e && (n = t, t = e, e = void 0), t && !1 !== e && this.queue(e || "fx", []), this.each((function () {
var t = !0,
o = null != e && e + "queueHooks",
i = w.timers,
a = G.get(this);
if (o) a[o] && a[o].stop && r(a[o]);
else
for (o in a) a[o] && a[o].stop && lt.test(o) && r(a[o]);
for (o = i.length; o--;) i[o].elem !== this || null != e && i[o].queue !== e || (i[o].anim.stop(n), t = !1, i.splice(o, 1));
!t && n || w.dequeue(this, e)
}))
},
finish: function (e) {
return !1 !== e && (e = e || "fx"), this.each((function () {
var t, n = G.get(this),
r = n[e + "queue"],
o = n[e + "queueHooks"],
i = w.timers,
a = r ? r.length : 0;
for (n.finish = !0, w.queue(this, e, []), o && o.stop && o.stop.call(this, !0), t = i.length; t--;) i[t].elem === this && i[t].queue === e && (i[t].anim.stop(!0), i.splice(t, 1));
for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this);
delete n.finish
}))
}
}), w.each(["toggle", "show", "hide"], (function (e, t) {
var n = w.fn[t];
w.fn[t] = function (e, r, o) {
return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(pt(t, !0), e, r, o)
}
})), w.each({
slideDown: pt("show"),
slideUp: pt("hide"),
slideToggle: pt("toggle"),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
},
fadeToggle: {
opacity: "toggle"
}
}, (function (e, t) {
w.fn[e] = function (e, n, r) {
return this.animate(t, e, n, r)
}
})), w.timers = [], w.fx.tick = function () {
var e, t = 0,
n = w.timers;
for (rt = Date.now(); t < n.length; t++)(e = n[t])() || n[t] !== e || n.splice(t--, 1);
n.length || w.fx.stop(), rt = void 0
}, w.fx.timer = function (e) {
w.timers.push(e), w.fx.start()
}, w.fx.interval = 13, w.fx.start = function () {
ot || (ot = !0, ut())
}, w.fx.stop = function () {
ot = null
}, w.fx.speeds = {
slow: 600,
fast: 200,
_default: 400
}, w.fn.delay = function (t, n) {
return t = w.fx && w.fx.speeds[t] || t, n = n || "fx", this.queue(n, (function (n, r) {
var o = e.setTimeout(n, t);
r.stop = function () {
e.clearTimeout(o)
}
}))
}, it = r.createElement("input"), at = r.createElement("select").appendChild(r.createElement("option")), it.type = "checkbox", h.checkOn = "" !== it.value, h.optSelected = at.selected, (it = r.createElement("input")).value = "t", it.type = "radio", h.radioValue = "t" === it.value;
var ht, gt = w.expr.attrHandle;
w.fn.extend({
attr: function (e, t) {
return $(this, w.attr, e, t, 1 < arguments.length)
},
removeAttr: function (e) {
return this.each((function () {
w.removeAttr(this, e)
}))
}
}), w.extend({
attr: function (e, t, n) {
var r, o, i = e.nodeType;
if (3 !== i && 8 !== i && 2 !== i) return void 0 === e.getAttribute ? w.prop(e, t, n) : (1 === i && w.isXMLDoc(e) || (o = w.attrHooks[t.toLowerCase()] || (w.expr.match.bool.test(t) ? ht : void 0)), void 0 !== n ? null === n ? void w.removeAttr(e, t) : o && "set" in o && void 0 !== (r = o.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), n) : o && "get" in o && null !== (r = o.get(e, t)) ? r : null == (r = w.find.attr(e, t)) ? void 0 : r)
},
attrHooks: {
type: {
set: function (e, t) {
if (!h.radioValue && "radio" === t && D(e, "input")) {
var n = e.value;
return e.setAttribute("type", t), n && (e.value = n), t
}
}
}
},
removeAttr: function (e, t) {
var n, r = 0,
o = t && t.match(M);
if (o && 1 === e.nodeType)
for (; n = o[r++];) e.removeAttribute(n)
}
}), ht = {
set: function (e, t, n) {
return !1 === t ? w.removeAttr(e, n) : e.setAttribute(n, n), n
}
}, w.each(w.expr.match.bool.source.match(/\w+/g), (function (e, t) {
var n = gt[t] || w.find.attr;
gt[t] = function (e, t, r) {
var o, i, a = t.toLowerCase();
return r || (i = gt[a], gt[a] = o, o = null != n(e, t, r) ? a : null, gt[a] = i), o
}
}));
var vt = /^(?:input|select|textarea|button)$/i,
mt = /^(?:a|area)$/i;
function yt(e) {
return (e.match(M) || []).join(" ")
}
function xt(e) {
return e.getAttribute && e.getAttribute("class") || ""
}
function bt(e) {
return Array.isArray(e) ? e : "string" == typeof e && e.match(M) || []
}
w.fn.extend({
prop: function (e, t) {
return $(this, w.prop, e, t, 1 < arguments.length)
},
removeProp: function (e) {
return this.each((function () {
delete this[w.propFix[e] || e]
}))
}
}), w.extend({
prop: function (e, t, n) {
var r, o, i = e.nodeType;
if (3 !== i && 8 !== i && 2 !== i) return 1 === i && w.isXMLDoc(e) || (t = w.propFix[t] || t, o = w.propHooks[t]), void 0 !== n ? o && "set" in o && void 0 !== (r = o.set(e, n, t)) ? r : e[t] = n : o && "get" in o && null !== (r = o.get(e, t)) ? r : e[t]
},
propHooks: {
tabIndex: {
get: function (e) {
var t = w.find.attr(e, "tabindex");
return t ? parseInt(t, 10) : vt.test(e.nodeName) || mt.test(e.nodeName) && e.href ? 0 : -1
}
}
},
propFix: {
for: "htmlFor",
class: "className"
}
}), h.optSelected || (w.propHooks.selected = {
get: function (e) {
var t = e.parentNode;
return t && t.parentNode && t.parentNode.selectedIndex, null
},
set: function (e) {
var t = e.parentNode;
t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex)
}
}), w.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], (function () {
w.propFix[this.toLowerCase()] = this
})), w.fn.extend({
addClass: function (e) {
var t, n, r, o, i, a, s, l = 0;
if (g(e)) return this.each((function (t) {
w(this).addClass(e.call(this, t, xt(this)))
}));
if ((t = bt(e)).length)
for (; n = this[l++];)
if (o = xt(n), r = 1 === n.nodeType && " " + yt(o) + " ") {
for (a = 0; i = t[a++];) r.indexOf(" " + i + " ") < 0 && (r += i + " ");
o !== (s = yt(r)) && n.setAttribute("class", s)
} return this
},
removeClass: function (e) {
var t, n, r, o, i, a, s, l = 0;
if (g(e)) return this.each((function (t) {
w(this).removeClass(e.call(this, t, xt(this)))
}));
if (!arguments.length) return this.attr("class", "");
if ((t = bt(e)).length)
for (; n = this[l++];)
if (o = xt(n), r = 1 === n.nodeType && " " + yt(o) + " ") {
for (a = 0; i = t[a++];)
for (; - 1 < r.indexOf(" " + i + " ");) r = r.replace(" " + i + " ", " ");
o !== (s = yt(r)) && n.setAttribute("class", s)
} return this
},
toggleClass: function (e, t) {
var n = typeof e,
r = "string" === n || Array.isArray(e);
return "boolean" == typeof t && r ? t ? this.addClass(e) : this.removeClass(e) : g(e) ? this.each((function (n) {
w(this).toggleClass(e.call(this, n, xt(this), t), t)
})) : this.each((function () {
var t, o, i, a;
if (r)
for (o = 0, i = w(this), a = bt(e); t = a[o++];) i.hasClass(t) ? i.removeClass(t) : i.addClass(t);
else void 0 !== e && "boolean" !== n || ((t = xt(this)) && G.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : G.get(this, "__className__") || ""))
}))
},
hasClass: function (e) {
var t, n, r = 0;
for (t = " " + e + " "; n = this[r++];)
if (1 === n.nodeType && -1 < (" " + yt(xt(n)) + " ").indexOf(t)) return !0;
return !1
}
});
var wt = /\r/g;
w.fn.extend({
val: function (e) {
var t, n, r, o = this[0];
return arguments.length ? (r = g(e), this.each((function (n) {
var o;
1 === this.nodeType && (null == (o = r ? e.call(this, n, w(this).val()) : e) ? o = "" : "number" == typeof o ? o += "" : Array.isArray(o) && (o = w.map(o, (function (e) {
return null == e ? "" : e + ""
}))), (t = w.valHooks[this.type] || w.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, o, "value") || (this.value = o))
}))) : o ? (t = w.valHooks[o.type] || w.valHooks[o.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(o, "value")) ? n : "string" == typeof (n = o.value) ? n.replace(wt, "") : null == n ? "" : n : void 0
}
}), w.extend({
valHooks: {
option: {
get: function (e) {
var t = w.find.attr(e, "value");
return null != t ? t : yt(w.text(e))
}
},
select: {
get: function (e) {
var t, n, r, o = e.options,
i = e.selectedIndex,
a = "select-one" === e.type,
s = a ? null : [],
l = a ? i + 1 : o.length;
for (r = i < 0 ? l : a ? i : 0; r < l; r++)
if (((n = o[r]).selected || r === i) && !n.disabled && (!n.parentNode.disabled || !D(n.parentNode, "optgroup"))) {
if (t = w(n).val(), a) return t;
s.push(t)
} return s
},
set: function (e, t) {
for (var n, r, o = e.options, i = w.makeArray(t), a = o.length; a--;)((r = o[a]).selected = -1 < w.inArray(w.valHooks.option.get(r), i)) && (n = !0);
return n || (e.selectedIndex = -1), i
}
}
}
}), w.each(["radio", "checkbox"], (function () {
w.valHooks[this] = {
set: function (e, t) {
if (Array.isArray(t)) return e.checked = -1 < w.inArray(w(e).val(), t)
}
}, h.checkOn || (w.valHooks[this].get = function (e) {
return null === e.getAttribute("value") ? "on" : e.value
})
})), h.focusin = "onfocusin" in e;
var Ct = /^(?:focusinfocus|focusoutblur)$/,
Tt = function (e) {
e.stopPropagation()
};
w.extend(w.event, {
trigger: function (t, n, o, i) {
var a, s, l, u, c, f, d, h, m = [o || r],
y = p.call(t, "type") ? t.type : t,
x = p.call(t, "namespace") ? t.namespace.split(".") : [];
if (s = h = l = o = o || r, 3 !== o.nodeType && 8 !== o.nodeType && !Ct.test(y + w.event.triggered) && (-1 < y.indexOf(".") && (y = (x = y.split(".")).shift(), x.sort()), c = y.indexOf(":") < 0 && "on" + y, (t = t[w.expando] ? t : new w.Event(y, "object" == typeof t && t)).isTrigger = i ? 2 : 3, t.namespace = x.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + x.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = o), n = null == n ? [t] : w.makeArray(n, [t]), d = w.event.special[y] || {}, i || !d.trigger || !1 !== d.trigger.apply(o, n))) {
if (!i && !d.noBubble && !v(o)) {
for (u = d.delegateType || y, Ct.test(u + y) || (s = s.parentNode); s; s = s.parentNode) m.push(s), l = s;
l === (o.ownerDocument || r) && m.push(l.defaultView || l.parentWindow || e)
}
for (a = 0;
(s = m[a++]) && !t.isPropagationStopped();) h = s, t.type = 1 < a ? u : d.bindType || y, (f = (G.get(s, "events") || {})[t.type] && G.get(s, "handle")) && f.apply(s, n), (f = c && s[c]) && f.apply && Y(s) && (t.result = f.apply(s, n), !1 === t.result && t.preventDefault());
return t.type = y, i || t.isDefaultPrevented() || d._default && !1 !== d._default.apply(m.pop(), n) || !Y(o) || c && g(o[y]) && !v(o) && ((l = o[c]) && (o[c] = null), w.event.triggered = y, t.isPropagationStopped() && h.addEventListener(y, Tt), o[y](), t.isPropagationStopped() && h.removeEventListener(y, Tt), w.event.triggered = void 0, l && (o[c] = l)), t.result
}
},
simulate: function (e, t, n) {
var r = w.extend(new w.Event, n, {
type: e,
isSimulated: !0
});
w.event.trigger(r, null, t)
}
}), w.fn.extend({
trigger: function (e, t) {
return this.each((function () {
w.event.trigger(e, t, this)
}))
},
triggerHandler: function (e, t) {
var n = this[0];
if (n) return w.event.trigger(e, t, n, !0)
}
}), h.focusin || w.each({
focus: "focusin",
blur: "focusout"
}, (function (e, t) {
var n = function (e) {
w.event.simulate(t, e.target, w.event.fix(e))
};
w.event.special[t] = {
setup: function () {
var r = this.ownerDocument || this,
o = G.access(r, t);
o || r.addEventListener(e, n, !0), G.access(r, t, (o || 0) + 1)
},
teardown: function () {
var r = this.ownerDocument || this,
o = G.access(r, t) - 1;
o ? G.access(r, t, o) : (r.removeEventListener(e, n, !0), G.remove(r, t))
}
}
}));
var kt = e.location,
St = Date.now(),
Et = /\?/;
w.parseXML = function (t) {
var n;
if (!t || "string" != typeof t) return null;
try {
n = (new e.DOMParser).parseFromString(t, "text/xml")
} catch (t) {
n = void 0
}
return n && !n.getElementsByTagName("parsererror").length || w.error("Invalid XML: " + t), n
};
var Nt = /\[\]$/,
Dt = /\r?\n/g,
jt = /^(?:submit|button|image|reset|file)$/i,
At = /^(?:input|select|textarea|keygen)/i;
function Pt(e, t, n, r) {
var o;
if (Array.isArray(t)) w.each(t, (function (t, o) {
n || Nt.test(e) ? r(e, o) : Pt(e + "[" + ("object" == typeof o && null != o ? t : "") + "]", o, n, r)
}));
else if (n || "object" !== x(t)) r(e, t);
else
for (o in t) Pt(e + "[" + o + "]", t[o], n, r)
}
w.param = function (e, t) {
var n, r = [],
o = function (e, t) {
var n = g(t) ? t() : t;
r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n)
};
if (null == e) return "";
if (Array.isArray(e) || e.jquery && !w.isPlainObject(e)) w.each(e, (function () {
o(this.name, this.value)
}));
else
for (n in e) Pt(n, e[n], t, o);
return r.join("&")
}, w.fn.extend({
serialize: function () {
return w.param(this.serializeArray())
},
serializeArray: function () {
return this.map((function () {
var e = w.prop(this, "elements");
return e ? w.makeArray(e) : this
})).filter((function () {
var e = this.type;
return this.name && !w(this).is(":disabled") && At.test(this.nodeName) && !jt.test(e) && (this.checked || !fe.test(e))
})).map((function (e, t) {
var n = w(this).val();
return null == n ? null : Array.isArray(n) ? w.map(n, (function (e) {
return {
name: t.name,
value: e.replace(Dt, "\r\n")
}
})) : {
name: t.name,
value: n.replace(Dt, "\r\n")
}
})).get()
}
});
var Lt = /%20/g,
qt = /#.*$/,
Ht = /([?&])_=[^&]*/,
Ot = /^(.*?):[ \t]*([^\r\n]*)$/gm,
Mt = /^(?:GET|HEAD)$/,
It = /^\/\//,
_t = {},
Rt = {},
Ft = "*/".concat("*"),
Bt = r.createElement("a");
function Wt(e) {
return function (t, n) {
"string" != typeof t && (n = t, t = "*");
var r, o = 0,
i = t.toLowerCase().match(M) || [];
if (g(n))
for (; r = i[o++];) "+" === r[0] ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n)
}
}
function $t(e, t, n, r) {
var o = {},
i = e === Rt;
function a(s) {
var l;
return o[s] = !0, w.each(e[s] || [], (function (e, s) {
var u = s(t, n, r);
return "string" != typeof u || i || o[u] ? i ? !(l = u) : void 0 : (t.dataTypes.unshift(u), a(u), !1)
})), l
}
return a(t.dataTypes[0]) || !o["*"] && a("*")
}
function zt(e, t) {
var n, r, o = w.ajaxSettings.flatOptions || {};
for (n in t) void 0 !== t[n] && ((o[n] ? e : r || (r = {}))[n] = t[n]);
return r && w.extend(!0, e, r), e
}
Bt.href = kt.href, w.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
url: kt.href,
type: "GET",
isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),
global: !0,
processData: !0,
async: !0,
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
accepts: {
"*": Ft,
text: "text/plain",
html: "text/html",
xml: "application/xml, text/xml",
json: "application/json, text/javascript"
},
contents: {
xml: /\bxml\b/,
html: /\bhtml/,
json: /\bjson\b/
},
responseFields: {
xml: "responseXML",
text: "responseText",
json: "responseJSON"
},
converters: {
"* text": String,
"text html": !0,
"text json": JSON.parse,
"text xml": w.parseXML
},
flatOptions: {
url: !0,
context: !0
}
},
ajaxSetup: function (e, t) {
return t ? zt(zt(e, w.ajaxSettings), t) : zt(w.ajaxSettings, e)
},
ajaxPrefilter: Wt(_t),
ajaxTransport: Wt(Rt),
ajax: function (t, n) {
"object" == typeof t && (n = t, t = void 0), n = n || {};
var o, i, a, s, l, u, c, p, f, d, h = w.ajaxSetup({}, n),
g = h.context || h,
v = h.context && (g.nodeType || g.jquery) ? w(g) : w.event,
m = w.Deferred(),
y = w.Callbacks("once memory"),
x = h.statusCode || {},
b = {},
C = {},
T = "canceled",
k = {
readyState: 0,
getResponseHeader: function (e) {
var t;
if (c) {
if (!s)
for (s = {}; t = Ot.exec(a);) s[t[1].toLowerCase() + " "] = (s[t[1].toLowerCase() + " "] || []).concat(t[2]);
t = s[e.toLowerCase() + " "]
}
return null == t ? null : t.join(", ")
},
getAllResponseHeaders: function () {
return c ? a : null
},
setRequestHeader: function (e, t) {
return null == c && (e = C[e.toLowerCase()] = C[e.toLowerCase()] || e, b[e] = t), this
},
overrideMimeType: function (e) {
return null == c && (h.mimeType = e), this
},
statusCode: function (e) {
var t;
if (e)
if (c) k.always(e[k.status]);
else
for (t in e) x[t] = [x[t], e[t]];
return this
},
abort: function (e) {
var t = e || T;
return o && o.abort(t), S(0, t), this
}
};
if (m.promise(k), h.url = ((t || h.url || kt.href) + "").replace(It, kt.protocol + "//"), h.type = n.method || n.type || h.method || h.type, h.dataTypes = (h.dataType || "*").toLowerCase().match(M) || [""], null == h.crossDomain) {
u = r.createElement("a");
try {
u.href = h.url, u.href = u.href, h.crossDomain = Bt.protocol + "//" + Bt.host != u.protocol + "//" + u.host
} catch (t) {
h.crossDomain = !0
}
}
if (h.data && h.processData && "string" != typeof h.data && (h.data = w.param(h.data, h.traditional)), $t(_t, h, n, k), c) return k;
for (f in (p = w.event && h.global) && 0 == w.active++ && w.event.trigger("ajaxStart"), h.type = h.type.toUpperCase(), h.hasContent = !Mt.test(h.type), i = h.url.replace(qt, ""), h.hasContent ? h.data && h.processData && 0 === (h.contentType || "").indexOf("application/x-www-form-urlencoded") && (h.data = h.data.replace(Lt, "+")) : (d = h.url.slice(i.length), h.data && (h.processData || "string" == typeof h.data) && (i += (Et.test(i) ? "&" : "?") + h.data, delete h.data), !1 === h.cache && (i = i.replace(Ht, "$1"), d = (Et.test(i) ? "&" : "?") + "_=" + St++ + d), h.url = i + d), h.ifModified && (w.lastModified[i] && k.setRequestHeader("If-Modified-Since", w.lastModified[i]), w.etag[i] && k.setRequestHeader("If-None-Match", w.etag[i])), (h.data && h.hasContent && !1 !== h.contentType || n.contentType) && k.setRequestHeader("Content-Type", h.contentType), k.setRequestHeader("Accept", h.dataTypes[0] && h.accepts[h.dataTypes[0]] ? h.accepts[h.dataTypes[0]] + ("*" !== h.dataTypes[0] ? ", " + Ft + "; q=0.01" : "") : h.accepts["*"]), h.headers) k.setRequestHeader(f, h.headers[f]);
if (h.beforeSend && (!1 === h.beforeSend.call(g, k, h) || c)) return k.abort();
if (T = "abort", y.add(h.complete), k.done(h.success), k.fail(h.error), o = $t(Rt, h, n, k)) {
if (k.readyState = 1, p && v.trigger("ajaxSend", [k, h]), c) return k;
h.async && 0 < h.timeout && (l = e.setTimeout((function () {
k.abort("timeout")
}), h.timeout));
try {
c = !1, o.send(b, S)
} catch (t) {
if (c) throw t;
S(-1, t)
}
} else S(-1, "No Transport");
function S(t, n, r, s) {
var u, f, d, b, C, T = n;
c || (c = !0, l && e.clearTimeout(l), o = void 0, a = s || "", k.readyState = 0 < t ? 4 : 0, u = 200 <= t && t < 300 || 304 === t, r && (b = function (e, t, n) {
for (var r, o, i, a, s = e.contents, l = e.dataTypes;
"*" === l[0];) l.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type"));
if (r)
for (o in s)
if (s[o] && s[o].test(r)) {
l.unshift(o);
break
} if (l[0] in n) i = l[0];
else {
for (o in n) {
if (!l[0] || e.converters[o + " " + l[0]]) {
i = o;
break
}
a || (a = o)
}
i = i || a
}
if (i) return i !== l[0] && l.unshift(i), n[i]
}(h, k, r)), b = function (e, t, n, r) {
var o, i, a, s, l, u = {},
c = e.dataTypes.slice();
if (c[1])
for (a in e.converters) u[a.toLowerCase()] = e.converters[a];
for (i = c.shift(); i;)
if (e.responseFields[i] && (n[e.responseFields[i]] = t), !l && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), l = i, i = c.shift())
if ("*" === i) i = l;
else if ("*" !== l && l !== i) {
if (!(a = u[l + " " + i] || u["* " + i]))
for (o in u)
if ((s = o.split(" "))[1] === i && (a = u[l + " " + s[0]] || u["* " + s[0]])) {
!0 === a ? a = u[o] : !0 !== u[o] && (i = s[0], c.unshift(s[1]));
break
} if (!0 !== a)
if (a && e.throws) t = a(t);
else try {
t = a(t)
} catch (e) {
return {
state: "parsererror",
error: a ? e : "No conversion from " + l + " to " + i
}
}
}
return {
state: "success",
data: t
}
}(h, b, k, u), u ? (h.ifModified && ((C = k.getResponseHeader("Last-Modified")) && (w.lastModified[i] = C), (C = k.getResponseHeader("etag")) && (w.etag[i] = C)), 204 === t || "HEAD" === h.type ? T = "nocontent" : 304 === t ? T = "notmodified" : (T = b.state, f = b.data, u = !(d = b.error))) : (d = T, !t && T || (T = "error", t < 0 && (t = 0))), k.status = t, k.statusText = (n || T) + "", u ? m.resolveWith(g, [f, T, k]) : m.rejectWith(g, [k, T, d]), k.statusCode(x), x = void 0, p && v.trigger(u ? "ajaxSuccess" : "ajaxError", [k, h, u ? f : d]), y.fireWith(g, [k, T]), p && (v.trigger("ajaxComplete", [k, h]), --w.active || w.event.trigger("ajaxStop")))
}
return k
},
getJSON: function (e, t, n) {
return w.get(e, t, n, "json")
},
getScript: function (e, t) {
return w.get(e, void 0, t, "script")
}
}), w.each(["get", "post"], (function (e, t) {
w[t] = function (e, n, r, o) {
return g(n) && (o = o || r, r = n, n = void 0), w.ajax(w.extend({
url: e,
type: t,
dataType: o,
data: n,
success: r
}, w.isPlainObject(e) && e))
}
})), w._evalUrl = function (e, t) {
return w.ajax({
url: e,
type: "GET",
dataType: "script",
cache: !0,
async: !1,
global: !1,
converters: {
"text script": function () {}
},
dataFilter: function (e) {
w.globalEval(e, t)
}
})
}, w.fn.extend({
wrapAll: function (e) {
var t;
return this[0] && (g(e) && (e = e.call(this[0])), t = w(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]), t.map((function () {
for (var e = this; e.firstElementChild;) e = e.firstElementChild;
return e
})).append(this)), this
},
wrapInner: function (e) {
return g(e) ? this.each((function (t) {
w(this).wrapInner(e.call(this, t))
})) : this.each((function () {
var t = w(this),
n = t.contents();
n.length ? n.wrapAll(e) : t.append(e)
}))
},
wrap: function (e) {
var t = g(e);
return this.each((function (n) {
w(this).wrapAll(t ? e.call(this, n) : e)
}))
},
unwrap: function (e) {
return this.parent(e).not("body").each((function () {
w(this).replaceWith(this.childNodes)
})), this
}
}), w.expr.pseudos.hidden = function (e) {
return !w.expr.pseudos.visible(e)
}, w.expr.pseudos.visible = function (e) {
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length)
}, w.ajaxSettings.xhr = function () {
try {
return new e.XMLHttpRequest
} catch (e) {}
};
var Xt = {
0: 200,
1223: 204
},
Ut = w.ajaxSettings.xhr();
h.cors = !!Ut && "withCredentials" in Ut, h.ajax = Ut = !!Ut, w.ajaxTransport((function (t) {
var n, r;
if (h.cors || Ut && !t.crossDomain) return {
send: function (o, i) {
var a, s = t.xhr();
if (s.open(t.type, t.url, t.async, t.username, t.password), t.xhrFields)
for (a in t.xhrFields) s[a] = t.xhrFields[a];
for (a in t.mimeType && s.overrideMimeType && s.overrideMimeType(t.mimeType), t.crossDomain || o["X-Requested-With"] || (o["X-Requested-With"] = "XMLHttpRequest"), o) s.setRequestHeader(a, o[a]);
n = function (e) {
return function () {
n && (n = r = s.onload = s.onerror = s.onabort = s.ontimeout = s.onreadystatechange = null, "abort" === e ? s.abort() : "error" === e ? "number" != typeof s.status ? i(0, "error") : i(s.status, s.statusText) : i(Xt[s.status] || s.status, s.statusText, "text" !== (s.responseType || "text") || "string" != typeof s.responseText ? {
binary: s.response
} : {
text: s.responseText
}, s.getAllResponseHeaders()))
}
}, s.onload = n(), r = s.onerror = s.ontimeout = n("error"), void 0 !== s.onabort ? s.onabort = r : s.onreadystatechange = function () {
4 === s.readyState && e.setTimeout((function () {
n && r()
}))
}, n = n("abort");
try {
s.send(t.hasContent && t.data || null)
} catch (o) {
if (n) throw o
}
},
abort: function () {
n && n()
}
}
})), w.ajaxPrefilter((function (e) {
e.crossDomain && (e.contents.script = !1)
})), w.ajaxSetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
script: /\b(?:java|ecma)script\b/
},
converters: {
"text script": function (e) {
return w.globalEval(e), e
}
}
}), w.ajaxPrefilter("script", (function (e) {
void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET")
})), w.ajaxTransport("script", (function (e) {
var t, n;
if (e.crossDomain || e.scriptAttrs) return {
send: function (o, i) {
t = w("<script>").attr(e.scriptAttrs || {}).prop({
charset: e.scriptCharset,
src: e.url
}).on("load error", n = function (e) {
t.remove(), n = null, e && i("error" === e.type ? 404 : 200, e.type)
}), r.head.appendChild(t[0])
},
abort: function () {
n && n()
}
}
}));
var Vt, Yt = [],
Qt = /(=)\?(?=&|$)|\?\?/;
w.ajaxSetup({
jsonp: "callback",
jsonpCallback: function () {
var e = Yt.pop() || w.expando + "_" + St++;
return this[e] = !0, e
}
}), w.ajaxPrefilter("json jsonp", (function (t, n, r) {
var o, i, a, s = !1 !== t.jsonp && (Qt.test(t.url) ? "url" : "string" == typeof t.data && 0 === (t.contentType || "").indexOf("application/x-www-form-urlencoded") && Qt.test(t.data) && "data");
if (s || "jsonp" === t.dataTypes[0]) return o = t.jsonpCallback = g(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, s ? t[s] = t[s].replace(Qt, "$1" + o) : !1 !== t.jsonp && (t.url += (Et.test(t.url) ? "&" : "?") + t.jsonp + "=" + o), t.converters["script json"] = function () {
return a || w.error(o + " was not called"), a[0]
}, t.dataTypes[0] = "json", i = e[o], e[o] = function () {
a = arguments
}, r.always((function () {
void 0 === i ? w(e).removeProp(o) : e[o] = i, t[o] && (t.jsonpCallback = n.jsonpCallback, Yt.push(o)), a && g(i) && i(a[0]), a = i = void 0
})), "script"
})), h.createHTMLDocument = ((Vt = r.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>", 2 === Vt.childNodes.length), w.parseHTML = function (e, t, n) {
return "string" != typeof e ? [] : ("boolean" == typeof t && (n = t, t = !1), t || (h.createHTMLDocument ? ((o = (t = r.implementation.createHTMLDocument("")).createElement("base")).href = r.location.href, t.head.appendChild(o)) : t = r), a = !n && [], (i = j.exec(e)) ? [t.createElement(i[1])] : (i = we([e], t, a), a && a.length && w(a).remove(), w.merge([], i.childNodes)));
var o, i, a
}, w.fn.load = function (e, t, n) {
var r, o, i, a = this,
s = e.indexOf(" ");
return -1 < s && (r = yt(e.slice(s)), e = e.slice(0, s)), g(t) ? (n = t, t = void 0) : t && "object" == typeof t && (o = "POST"), 0 < a.length && w.ajax({
url: e,
type: o || "GET",
dataType: "html",
data: t
}).done((function (e) {
i = arguments, a.html(r ? w("<div>").append(w.parseHTML(e)).find(r) : e)
})).always(n && function (e, t) {
a.each((function () {
n.apply(this, i || [e.responseText, t, e])
}))
}), this
}, w.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], (function (e, t) {
w.fn[t] = function (e) {
return this.on(t, e)
}
})), w.expr.pseudos.animated = function (e) {
return w.grep(w.timers, (function (t) {
return e === t.elem
})).length
}, w.offset = {
setOffset: function (e, t, n) {
var r, o, i, a, s, l, u = w.css(e, "position"),
c = w(e),
p = {};
"static" === u && (e.style.position = "relative"), s = c.offset(), i = w.css(e, "top"), l = w.css(e, "left"), ("absolute" === u || "fixed" === u) && -1 < (i + l).indexOf("auto") ? (a = (r = c.position()).top, o = r.left) : (a = parseFloat(i) || 0, o = parseFloat(l) || 0), g(t) && (t = t.call(e, n, w.extend({}, s))), null != t.top && (p.top = t.top - s.top + a), null != t.left && (p.left = t.left - s.left + o), "using" in t ? t.using.call(e, p) : c.css(p)
}
}, w.fn.extend({
offset: function (e) {
if (arguments.length) return void 0 === e ? this : this.each((function (t) {
w.offset.setOffset(this, e, t)
}));
var t, n, r = this[0];
return r ? r.getClientRects().length ? (t = r.getBoundingClientRect(), n = r.ownerDocument.defaultView, {
top: t.top + n.pageYOffset,
left: t.left + n.pageXOffset
}) : {
top: 0,
left: 0
} : void 0
},
position: function () {
if (this[0]) {
var e, t, n, r = this[0],
o = {
top: 0,
left: 0
};
if ("fixed" === w.css(r, "position")) t = r.getBoundingClientRect();
else {
for (t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; e && (e === n.body || e === n.documentElement) && "static" === w.css(e, "position");) e = e.parentNode;
e && e !== r && 1 === e.nodeType && ((o = w(e).offset()).top += w.css(e, "borderTopWidth", !0), o.left += w.css(e, "borderLeftWidth", !0))
}
return {
top: t.top - o.top - w.css(r, "marginTop", !0),
left: t.left - o.left - w.css(r, "marginLeft", !0)
}
}
},
offsetParent: function () {
return this.map((function () {
for (var e = this.offsetParent; e && "static" === w.css(e, "position");) e = e.offsetParent;
return e || oe
}))
}
}), w.each({
scrollLeft: "pageXOffset",
scrollTop: "pageYOffset"
}, (function (e, t) {
var n = "pageYOffset" === t;
w.fn[e] = function (r) {
return $(this, (function (e, r, o) {
var i;
if (v(e) ? i = e : 9 === e.nodeType && (i = e.defaultView), void 0 === o) return i ? i[t] : e[r];
i ? i.scrollTo(n ? i.pageXOffset : o, n ? o : i.pageYOffset) : e[r] = o
}), e, r, arguments.length)
}
})), w.each(["top", "left"], (function (e, t) {
w.cssHooks[t] = ze(h.pixelPosition, (function (e, n) {
if (n) return n = $e(e, t), Fe.test(n) ? w(e).position()[t] + "px" : n
}))
})), w.each({
Height: "height",
Width: "width"
}, (function (e, t) {
w.each({
padding: "inner" + e,
content: t,
"": "outer" + e
}, (function (n, r) {
w.fn[r] = function (o, i) {
var a = arguments.length && (n || "boolean" != typeof o),
s = n || (!0 === o || !0 === i ? "margin" : "border");
return $(this, (function (t, n, o) {
var i;
return v(t) ? 0 === r.indexOf("outer") ? t["inner" + e] : t.document.documentElement["client" + e] : 9 === t.nodeType ? (i = t.documentElement, Math.max(t.body["scroll" + e], i["scroll" + e], t.body["offset" + e], i["offset" + e], i["client" + e])) : void 0 === o ? w.css(t, n, s) : w.style(t, n, o, s)
}), t, a ? o : void 0, a)
}
}))
})), w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), (function (e, t) {
w.fn[t] = function (e, n) {
return 0 < arguments.length ? this.on(t, null, e, n) : this.trigger(t)
}
})), w.fn.extend({
hover: function (e, t) {
return this.mouseenter(e).mouseleave(t || e)
}
}), w.fn.extend({
bind: function (e, t, n) {
return this.on(e, null, t, n)
},
unbind: function (e, t) {
return this.off(e, null, t)
},
delegate: function (e, t, n, r) {
return this.on(t, e, n, r)
},
undelegate: function (e, t, n) {
return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
}
}), w.proxy = function (e, t) {
var n, r, o;
if ("string" == typeof t && (n = e[t], t = e, e = n), g(e)) return r = i.call(arguments, 2), (o = function () {
return e.apply(t || this, r.concat(i.call(arguments)))
}).guid = e.guid = e.guid || w.guid++, o
}, w.holdReady = function (e) {
e ? w.readyWait++ : w.ready(!0)
}, w.isArray = Array.isArray, w.parseJSON = JSON.parse, w.nodeName = D, w.isFunction = g, w.isWindow = v, w.camelCase = V, w.type = x, w.now = Date.now, w.isNumeric = function (e) {
var t = w.type(e);
return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e))
}, "function" == typeof define && define.amd && define("jquery", [], (function () {
return w
}));
var Gt = e.jQuery,
Jt = e.$;
return w.noConflict = function (t) {
return e.$ === w && (e.$ = Jt), t && e.jQuery === w && (e.jQuery = Gt), w
}, t || (e.jQuery = e.$ = w), w
})),
function (e) {
e.fn.poptrox_disableSelection = function () {
return e(this).css("user-select", "none").css("-khtml-user-select", "none").css("-moz-user-select", "none").css("-o-user-select", "none").css("-webkit-user-select", "none")
}, e.fn.poptrox = function (t) {
if (0 == this.length) return e(this);
if (this.length > 1) {
for (var n = 0; n < this.length; n++) e(this[n]).poptrox(t);
return e(this)
}
var r, o, i, a = e.extend({
preload: !1,
baseZIndex: 1e3,
fadeSpeed: 300,
overlayColor: "#000000",
overlayOpacity: .6,
overlayClass: "poptrox-overlay",
windowMargin: 50,
windowHeightPad: 0,
selector: "a",
caption: null,
parent: "body",
popupSpeed: 300,
popupWidth: 200,
popupHeight: 100,
popupIsFixed: !1,
useBodyOverflow: !1,
usePopupEasyClose: !0,
usePopupForceClose: !1,
usePopupLoader: !0,
usePopupCloser: !0,
usePopupCaption: !1,
usePopupNav: !1,
usePopupDefaultStyling: !0,
popupBackgroundColor: "#FFFFFF",
popupTextColor: "#000000",
popupLoaderTextSize: "2em",
popupCloserBackgroundColor: "#000000",
popupCloserTextColor: "#FFFFFF",
popupCloserTextSize: "20px",
popupPadding: 10,
popupCaptionHeight: 60,
popupCaptionTextSize: null,
popupBlankCaptionText: "(untitled)",
popupCloserText: "&#215;",
popupLoaderText: "&bull;&bull;&bull;&bull;",
popupClass: "poptrox-popup",
popupSelector: null,
popupLoaderSelector: ".loader",
popupCloserSelector: ".closer",
popupCaptionSelector: ".caption",
popupNavPreviousSelector: ".nav-previous",
popupNavNextSelector: ".nav-next",
onPopupClose: null,
onPopupOpen: null
}, t),
s = e(this),
l = e("body"),
u = e('<div class="' + a.overlayClass + '"></div>'),
p = e(window),
f = [],
d = 0,
h = !1,
g = new Array,
v = function () {
r = p.width(), o = p.height() + a.windowHeightPad;
var e = Math.abs(i.width() - i.outerWidth()),
t = Math.abs(i.height() - i.outerHeight()),
n = r - 2 * a.windowMargin - e,
s = o - 2 * a.windowMargin - t;
i.css("min-width", a.popupWidth).css("min-height", a.popupHeight), x.children().css("max-width", n).css("max-height", s)
};
a.usePopupLoader || (a.popupLoaderSelector = null), a.usePopupCloser || (a.popupCloserSelector = null), a.usePopupCaption || (a.popupCaptionSelector = null), a.usePopupNav || (a.popupNavPreviousSelector = null, a.popupNavNextSelector = null);
var m, y, x = (i = e(a.popupSelector ? a.popupSelector : '<div class="' + a.popupClass + '">' + (a.popupLoaderSelector ? '<div class="loader">' + a.popupLoaderText + "</div>" : "") + '<div class="pic"></div>' + (a.popupCaptionSelector ? '<div class="caption"></div>' : "") + (a.popupCloserSelector ? '<span class="closer">' + a.popupCloserText + "</span>" : "") + (a.popupNavPreviousSelector ? '<div class="nav-previous"></div>' : "") + (a.popupNavNextSelector ? '<div class="nav-next"></div>' : "") + "</div>")).find(".pic"),
b = e(),
w = i.find(a.popupLoaderSelector),
C = i.find(a.popupCaptionSelector),
T = i.find(a.popupCloserSelector),
k = i.find(a.popupNavNextSelector),
S = i.find(a.popupNavPreviousSelector),
E = k.add(S);
a.usePopupDefaultStyling && (i.css("background", a.popupBackgroundColor).css("color", a.popupTextColor).css("padding", a.popupPadding + "px"), C.length > 0 && (i.css("padding-bottom", a.popupCaptionHeight + "px"), C.css("position", "absolute").css("left", "0").css("bottom", "0").css("width", "100%").css("text-align", "center").css("height", a.popupCaptionHeight + "px").css("line-height", a.popupCaptionHeight + "px"), a.popupCaptionTextSize && C.css("font-size", popupCaptionTextSize)), T.length > 0 && T.html(a.popupCloserText).css("font-size", a.popupCloserTextSize).css("background", a.popupCloserBackgroundColor).css("color", a.popupCloserTextColor).css("display", "block").css("width", "40px").css("height", "40px").css("line-height", "40px").css("text-align", "center").css("position", "absolute").css("text-decoration", "none").css("outline", "0").css("top", "0").css("right", "-40px"), w.length > 0 && w.html("").css("position", "relative").css("font-size", a.popupLoaderTextSize).on("startSpinning", (function (t) {
var n = e("<div>" + a.popupLoaderText + "</div>");
n.css("height", Math.floor(a.popupHeight / 2) + "px").css("overflow", "hidden").css("line-height", Math.floor(a.popupHeight / 2) + "px").css("text-align", "center").css("margin-top", Math.floor((i.height() - n.height() + (C.length > 0 ? C.height() : 0)) / 2)).css("color", a.popupTextColor ? a.popupTextColor : "").on("xfin", (function () {
n.fadeTo(300, .5, (function () {
n.trigger("xfout")
}))
})).on("xfout", (function () {
n.fadeTo(300, .05, (function () {
n.trigger("xfin")
}))
})).trigger("xfin"), w.append(n)
})).on("stopSpinning", (function (e) {
w.find("div").remove()
})), 2 == E.length) && (E.css("font-size", "75px").css("text-align", "center").css("color", "#fff").css("text-shadow", "none").css("height", "100%").css("position", "absolute").css("top", "0").css("opacity", "0.35").css("cursor", "pointer").css("box-shadow", "inset 0px 0px 10px 0px rgba(0,0,0,0)").poptrox_disableSelection(), a.usePopupEasyClose ? (m = "100px", y = "100px") : (m = "75%", y = "25%"), k.css("right", "0").css("width", m).html('<div style="position: absolute; height: 100px; width: 125px; top: 50%; right: 0; margin-top: -50px;">&gt;</div>'), S.css("left", "0").css("width", y).html('<div style="position: absolute; height: 100px; width: 125px; top: 50%; left: 0; margin-top: -50px;">&lt;</div>'));
return p.on("resize orientationchange", (function () {
v()
})), C.on("update", (function (e, t) {
t && 0 != t.length || (t = a.popupBlankCaptionText), C.html(t)
})), T.css("cursor", "pointer").on("click", (function (e) {
return e.preventDefault(), e.stopPropagation(), i.trigger("poptrox_close"), !0
})), k.on("click", (function (e) {
e.stopPropagation(), e.preventDefault(), i.trigger("poptrox_next")
})), S.on("click", (function (e) {
e.stopPropagation(), e.preventDefault(), i.trigger("poptrox_previous")
})), u.css("position", "fixed").css("left", 0).css("top", 0).css("z-index", a.baseZIndex).css("width", "100%").css("height", "100%").css("text-align", "center").css("cursor", "pointer").appendTo(a.parent).prepend('<div style="display:inline-block;height:100%;vertical-align:middle;"></div>').append('<div style="position:absolute;left:0;top:0;width:100%;height:100%;background:' + a.overlayColor + ";opacity:" + a.overlayOpacity + ";filter:alpha(opacity=" + 100 * a.overlayOpacity + ');"></div>').hide().on("touchmove", (function (e) {
return !1
})).on("click", (function (e) {
e.preventDefault(), e.stopPropagation(), i.trigger("poptrox_close")
})), i.css("display", "inline-block").css("vertical-align", "middle").css("position", "relative").css("z-index", 1).css("cursor", "auto").appendTo(u).hide().on("poptrox_next", (function () {
var e = d + 1;
e >= f.length && (e = 0), i.trigger("poptrox_switch", [e])
})).on("poptrox_previous", (function () {
var e = d - 1;
e < 0 && (e = f.length - 1), i.trigger("poptrox_switch", [e])
})).on("poptrox_reset", (function () {
v(), i.data("width", a.popupWidth).data("height", a.popupHeight), w.hide().trigger("stopSpinning"), C.hide(), T.hide(), E.hide(), x.hide(), b.attr("src", "").detach()
})).on("poptrox_open", (function (e, t) {
return !!h || (h = !0, a.useBodyOverflow && l.css("overflow", "hidden"), a.onPopupOpen && a.onPopupOpen(), i.addClass("loading"), void u.fadeTo(a.fadeSpeed, 1, (function () {
i.trigger("poptrox_switch", [t, !0])
})))
})).on("poptrox_switch", (function (t, n, r) {
var o, s, l;
if (!r && h) return !0;
(h = !0, i.addClass("loading").css("width", i.data("width")).css("height", i.data("height")), C.hide(), b.attr("src") && b.attr("src", ""), b.detach(), o = f[n], (b = o.object).off("load"), x.css("text-indent", "-9999px").show().append(b), "ajax" == o.type ? e.get(o.src, (function (e) {
b.html(e), b.trigger("load")
})) : b.attr("src", o.src), "image" != o.type) && (s = o.width, l = o.height, "%" == s.slice(-1) && (s = parseInt(s.substring(0, s.length - 1)) / 100 * p.width()), "%" == l.slice(-1) && (l = parseInt(l.substring(0, l.length - 1)) / 100 * p.height()), b.css("position", "relative").css("outline", "0").css("z-index", a.baseZIndex + 100).width(s).height(l));
w.trigger("startSpinning").fadeIn(300), i.show(), a.popupIsFixed ? (i.removeClass("loading").width(a.popupWidth).height(a.popupHeight), b.on("load", (function () {
b.off("load"), w.hide().trigger("stopSpinning"), C.trigger("update", [o.captionText]).fadeIn(a.fadeSpeed), T.fadeIn(a.fadeSpeed), x.css("text-indent", 0).hide().fadeIn(a.fadeSpeed, (function () {
h = !1
})), d = n, E.fadeIn(a.fadeSpeed)
}))) : b.on("load", (function () {
v(), b.off("load"), w.hide().trigger("stopSpinning");
var e = b.width(),
t = b.height(),
r = function () {
C.trigger("update", [o.captionText]).fadeIn(a.fadeSpeed), T.fadeIn(a.fadeSpeed), x.css("text-indent", 0).hide().fadeIn(a.fadeSpeed, (function () {
h = !1
})), d = n, E.fadeIn(a.fadeSpeed), i.removeClass("loading").data("width", e).data("height", t).css("width", "auto").css("height", "auto")
};
e == i.data("width") && t == i.data("height") ? r() : i.animate({
width: e,
height: t
}, a.popupSpeed, "swing", r)
})), "image" != o.type && b.trigger("load")
})).on("poptrox_close", (function () {
return !(!h || a.usePopupForceClose) || (h = !0, i.hide().trigger("poptrox_reset"), a.onPopupClose && a.onPopupClose(), void u.fadeOut(a.fadeSpeed, (function () {
a.useBodyOverflow && l.css("overflow", "auto"), h = !1
})))
})).trigger("poptrox_reset"), a.usePopupEasyClose ? (C.on("click", "a", (function (e) {
e.stopPropagation()
})), i.css("cursor", "pointer").on("click", (function (e) {
e.stopPropagation(), e.preventDefault(), i.trigger("poptrox_close")
}))) : i.on("click", (function (e) {
e.stopPropagation()
})), p.keydown((function (e) {
if (i.is(":visible")) switch (e.keyCode) {
case 37:
case 32:
if (a.usePopupNav) return i.trigger("poptrox_previous"), !1;
break;
case 39:
if (a.usePopupNav) return i.trigger("poptrox_next"), !1;
break;
case 27:
return i.trigger("poptrox_close"), !1
}
})), s.find(a.selector).each((function (t) {
var n, r = e(this),
o = r.find("img"),
s = r.data("poptrox");
if ("ignore" != s && r.attr("href")) {
if (n = {
src: r.attr("href"),
captionText: o.attr("title"),
width: null,
height: null,
type: null,
object: null,
options: null
}, a.caption) {
if ("function" == typeof a.caption) c = a.caption(r);
else if ("selector" in a.caption) {
var l;
l = r.find(a.caption.selector), "attribute" in a.caption ? c = l.attr(a.caption.attribute) : (c = l.html(), !0 === a.caption.remove && l.remove())
}
} else c = o.attr("title");
if (n.captionText = c, s) {
var u = s.split(",");
0 in u && (n.type = u[0]), 1 in u && ((p = u[1].match(/([0-9%]+)x([0-9%]+)/)) && 3 == p.length && (n.width = p[1], n.height = p[2])), 2 in u && (n.options = u[2])
}
if (!n.type) switch (p = n.src.match(/\/\/([a-z0-9\.]+)\/.*/), (!p || p.length < 2) && (p = [!1]), p[1]) {
case "api.soundcloud.com":
n.type = "soundcloud";
break;
case "youtu.be":
n.type = "youtube";
break;
case "vimeo.com":
n.type = "vimeo";
break;
case "wistia.net":
n.type = "wistia";
break;
case "bcove.me":
n.type = "bcove";
break;
default:
n.type = "image"
}
switch (p = n.src.match(/\/\/[a-z0-9\.]+\/(.*)/), n.type) {
case "iframe":
n.object = e('<iframe src="" frameborder="0"></iframe>'), n.object.on("click", (function (e) {
e.stopPropagation()
})).css("cursor", "auto"), n.width && n.height || (n.width = "600", n.height = "400");
break;
case "ajax":
n.object = e('<div class="poptrox-ajax"></div>'), n.object.on("click", (function (e) {
e.stopPropagation()
})).css("cursor", "auto").css("overflow", "auto"), n.width && n.height || (n.width = "600", n.height = "400");
break;
case "soundcloud":
n.object = e('<iframe scrolling="no" frameborder="no" src=""></iframe>'), n.src = "//w.soundcloud.com/player/?url=" + escape(n.src) + (n.options ? "&" + n.options : ""), n.width = "600", n.height = "166";
break;
case "youtube":
n.object = e('<iframe src="" frameborder="0" allowfullscreen="1"></iframe>'), n.src = "//www.youtube.com/embed/" + p[1] + (n.options ? "?" + n.options : ""), n.width && n.height || (n.width = "800", n.height = "480");
break;
case "vimeo":
n.object = e('<iframe src="" frameborder="0" allowFullScreen="1"></iframe>'), n.src = "//player.vimeo.com/video/" + p[1] + (n.options ? "?" + n.options : ""), n.width && n.height || (n.width = "800", n.height = "480");
break;
case "wistia":
n.object = e('<iframe src="" frameborder="0" allowFullScreen="1"></iframe>'), n.src = "//fast.wistia.net/" + p[1] + (n.options ? "?" + n.options : ""), n.width && n.height || (n.width = "800", n.height = "480");
break;
case "bcove":
n.object = e('<iframe src="" frameborder="0" allowFullScreen="1" width="100%"></iframe>'), n.src = "//bcove.me/" + p[1] + (n.options ? "?" + n.options : ""), n.width && n.height || (n.width = "640", n.height = "360");
break;
default:
var p;
if (n.object = e('<img loading="lazy" src="" alt="" style="vertical-align:bottom" />'), a.preload)(p = document.createElement("img")).src = n.src, g.push(p);
n.width = r.attr("width"), n.height = r.attr("height")
}
"file:" == window.location.protocol && n.src.match(/^\/\//) && (n.src = "http:" + n.src), f.push(n), o.removeAttr("title"), r.removeAttr("href").css("cursor", "pointer").css("outline", 0).on("click", (function (e) {
e.preventDefault(), e.stopPropagation(), i.trigger("poptrox_open", [t])
}))
}
})), s.prop("_poptrox", a), s
}
}(jQuery),
function (e) {
var t, n = e(window),
r = e("body");
e("#wrapper");
(breakpoints({
xlarge: ["1281px", "1680px"],
large: ["981px", "1280px"],
medium: ["737px", "980px"],
small: ["481px", "736px"],
xsmall: [null, "480px"]
}), "ie" == browser.name && r.addClass("ie"), browser.mobile && r.addClass("touch"), browser.canUse("transition")) && (n.on("load", (function () {
window.setTimeout((function () {
r.removeClass("is-preload")
}), 100)
})), n.on("resize", (function () {
window.clearTimeout(t), r.addClass("is-resizing"), t = window.setTimeout((function () {
r.removeClass("is-resizing")
}), 100)
})));
n.scrollTop(0);
var o = e(".panel");
o.each((function () {
var t = e(this),
n = e('[href="#' + t.attr("id") + '"]');
e('<div class="closer" />').appendTo(t).on("click", (function (e) {
t.trigger("---hide")
})), t.on("click", (function (e) {
e.stopPropagation()
})).on("---toggle", (function () {
t.hasClass("active") ? t.triggerHandler("---hide") : t.triggerHandler("---show")
})).on("---show", (function () {
r.hasClass("content-active") && o.trigger("---hide"), t.addClass("active"), n.addClass("active"), r.addClass("content-active")
})).on("---hide", (function () {
t.removeClass("active"), n.removeClass("active"), r.removeClass("content-active")
})), n.removeAttr("href").css("cursor", "pointer").on("click", (function (e) {
e.preventDefault(), e.stopPropagation(), t.trigger("---toggle")
}))
})), r.on("click", (function (e) {
r.hasClass("content-active") && (e.preventDefault(), e.stopPropagation(), o.trigger("---hide"))
})), n.on("keyup", (function (e) {
27 == e.keyCode && r.hasClass("content-active") && (e.preventDefault(), e.stopPropagation(), o.trigger("---hide"))
})), e("#header").find("a").each((function () {
var t = e(this),
n = t.attr("href");
n && "#" != n.charAt(0) && t.removeAttr("href").css("cursor", "pointer").on("click", (function (e) {
e.preventDefault(), e.stopPropagation(), window.location.href = n
}))
})), e("#footer").find(".copyright").each((function () {
var t = e(this),
n = t.parent(),
r = n.parent().children().last();
breakpoints.on("<=medium", (function () {
t.appendTo(r)
})), breakpoints.on(">medium", (function () {
t.appendTo(n)
}))
}));
var i = e("#main");
i.children(".thumb").each((function () {
var t, n = e(this).find(".image"),
r = n.children("img");
0 != n.length && (n.css("background-image", "url(" + r.attr("src") + ")"), (t = r.data("position")) && n.css("background-position", t), r.hide())
})), i.poptrox({
baseZIndex: 2e4,
caption: function (e) {
var t = "";
return e.nextAll().each((function () {
t += this.outerHTML
})), t
},
fadeSpeed: 300,
onPopupClose: function () {
r.removeClass("modal-active")
},
onPopupOpen: function () {
r.addClass("modal-active")
},
overlayOpacity: 0,
popupCloserText: "",
popupHeight: 150,
popupLoaderText: "",
popupSpeed: 300,
popupWidth: 150,
selector: ".thumb > a.image",
usePopupCaption: !0,
usePopupCloser: !0,
usePopupDefaultStyling: !1,
usePopupForceClose: !0,
usePopupLoader: !0,
usePopupNav: !0,
windowMargin: 50
}), breakpoints.on("<=xsmall", (function () {
i[0]._poptrox.windowMargin = 0
})), breakpoints.on(">xsmall", (function () {
i[0]._poptrox.windowMargin = 50
}))
}(jQuery),
function (e) {
e.fn.navList = function () {
var t = e(this);
return $a = t.find("a"), b = [], $a.each((function () {
var t = e(this),
n = Math.max(0, t.parents("li").length - 1),
r = t.attr("href"),
o = t.attr("target");
b.push('<a class="link depth-' + n + '"' + (void 0 !== o && "" != o ? ' target="' + o + '"' : "") + (void 0 !== r && "" != r ? ' href="' + r + '"' : "") + '><span class="indent-' + n + '"></span>' + t.text() + "</a>")
})), b.join("")
}, e.fn.panel = function (t) {
if (0 == this.length) return o;
if (this.length > 1) {
for (var n = 0; n < this.length; n++) e(this[n]).panel(t);
return o
}
var r, o = e(this),
i = e("body"),
a = e(window),
s = o.attr("id");
return "jQuery" != typeof (r = e.extend({
delay: 0,
hideOnClick: !1,
hideOnEscape: !1,
hideOnSwipe: !1,
resetScroll: !1,
resetForms: !1,
side: null,
target: o,
visibleClass: "visible"
}, t)).target && (r.target = e(r.target)), o._hide = function (e) {
r.target.hasClass(r.visibleClass) && (e && (e.preventDefault(), e.stopPropagation()), r.target.removeClass(r.visibleClass), window.setTimeout((function () {
r.resetScroll && o.scrollTop(0), r.resetForms && o.find("form").each((function () {
this.reset()
}))
}), r.delay))
}, o.css("-ms-overflow-style", "-ms-autohiding-scrollbar").css("-webkit-overflow-scrolling", "touch"), r.hideOnClick && (o.find("a").css("-webkit-tap-highlight-color", "rgba(0,0,0,0)"), o.on("click", "a", (function (t) {
var n = e(this),
i = n.attr("href"),
a = n.attr("target");
i && "#" != i && "" != i && i != "#" + s && (t.preventDefault(), t.stopPropagation(), o._hide(), window.setTimeout((function () {
"_blank" == a ? window.open(i) : window.location.href = i
}), r.delay + 10))
}))), o.on("touchstart", (function (e) {
o.touchPosX = e.originalEvent.touches[0].pageX, o.touchPosY = e.originalEvent.touches[0].pageY
})), o.on("touchmove", (function (e) {
if (null !== o.touchPosX && null !== o.touchPosY) {
var t = o.touchPosX - e.originalEvent.touches[0].pageX,
n = o.touchPosY - e.originalEvent.touches[0].pageY,
i = o.outerHeight(),
a = o.get(0).scrollHeight - o.scrollTop();
if (r.hideOnSwipe) {
var s = !1,
l = 20;
switch (r.side) {
case "left":
s = n < l && n > -20 && t > 50;
break;
case "right":
s = n < l && n > -20 && t < -50;
break;
case "top":
s = t < l && t > -20 && n > 50;
break;
case "bottom":
s = t < l && t > -20 && n < -50
}
if (s) return o.touchPosX = null, o.touchPosY = null, o._hide(), !1
}(o.scrollTop() < 0 && n < 0 || a > i - 2 && a < i + 2 && n > 0) && (e.preventDefault(), e.stopPropagation())
}
})), o.on("click touchend touchstart touchmove", (function (e) {
e.stopPropagation()
})), o.on("click", 'a[href="#' + s + '"]', (function (e) {
e.preventDefault(), e.stopPropagation(), r.target.removeClass(r.visibleClass)
})), i.on("click touchend", (function (e) {
o._hide(e)
})), i.on("click", 'a[href="#' + s + '"]', (function (e) {
e.preventDefault(), e.stopPropagation(), r.target.toggleClass(r.visibleClass)
})), r.hideOnEscape && a.on("keydown", (function (e) {
27 == e.keyCode && o._hide(e)
})), o
}, e.fn.placeholder = function () {
if (void 0 !== document.createElement("input").placeholder) return e(this);
if (0 == this.length) return n;
if (this.length > 1) {
for (var t = 0; t < this.length; t++) e(this[t]).placeholder();
return n
}
var n = e(this);
return n.find("input[type=text],textarea").each((function () {
var t = e(this);
"" != t.val() && t.val() != t.attr("placeholder") || t.addClass("polyfill-placeholder").val(t.attr("placeholder"))
})).on("blur", (function () {
var t = e(this);
t.attr("name").match(/-polyfill-field$/) || "" == t.val() && t.addClass("polyfill-placeholder").val(t.attr("placeholder"))
})).on("focus", (function () {
var t = e(this);
t.attr("name").match(/-polyfill-field$/) || t.val() == t.attr("placeholder") && t.removeClass("polyfill-placeholder").val("")
})), n.find("input[type=password]").each((function () {
var t = e(this),
n = e(e("<div>").append(t.clone()).remove().html().replace(/type="password"/i, 'type="text"').replace(/type=password/i, "type=text"));
"" != t.attr("id") && n.attr("id", t.attr("id") + "-polyfill-field"), "" != t.attr("name") && n.attr("name", t.attr("name") + "-polyfill-field"), n.addClass("polyfill-placeholder").val(n.attr("placeholder")).insertAfter(t), "" == t.val() ? t.hide() : n.hide(), t.on("blur", (function (e) {
e.preventDefault();
var n = t.parent().find("input[name=" + t.attr("name") + "-polyfill-field]");
"" == t.val() && (t.hide(), n.show())
})), n.on("focus", (function (e) {
e.preventDefault();
var t = n.parent().find("input[name=" + n.attr("name").replace("-polyfill-field", "") + "]");
n.hide(), t.show().focus()
})).on("keypress", (function (e) {
e.preventDefault(), n.val("")
}))
})), n.on("submit", (function () {
n.find("input[type=text],input[type=password],textarea").each((function (t) {
var n = e(this);
n.attr("name").match(/-polyfill-field$/) && n.attr("name", ""), n.val() == n.attr("placeholder") && (n.removeClass("polyfill-placeholder"), n.val(""))
}))
})).on("reset", (function (t) {
t.preventDefault(), n.find("select").val(e("option:first").val()), n.find("input,textarea").each((function () {
var t, n = e(this);
switch (n.removeClass("polyfill-placeholder"), this.type) {
case "submit":
case "reset":
break;
case "password":
n.val(n.attr("defaultValue")), t = n.parent().find("input[name=" + n.attr("name") + "-polyfill-field]"), "" == n.val() ? (n.hide(), t.show()) : (n.show(), t.hide());
break;
case "checkbox":
case "radio":
n.attr("checked", n.attr("defaultValue"));
break;
case "text":
case "textarea":
n.val(n.attr("defaultValue")), "" == n.val() && (n.addClass("polyfill-placeholder"), n.val(n.attr("placeholder")));
break;
default:
n.val(n.attr("defaultValue"))
}
}))
})), n
}, e.prioritize = function (t, n) {
var r = "__prioritize";
"jQuery" != typeof t && (t = e(t)), t.each((function () {
var t, o = e(this),
i = o.parent();
if (0 != i.length)
if (o.data(r)) {
if (n) return;
t = o.data(r), o.insertAfter(t), o.removeData(r)
} else {
if (!n) return;
if (0 == (t = o.prev()).length) return;
o.prependTo(i), o.data(r, t)
}
}))
}
}(jQuery);