/* Minification failed. Returning unminified contents.
(24,1697-1701): run-time error JS1292: Strict-mode does not allow duplicate property names: type
(24,2671-2675): run-time error JS1292: Strict-mode does not allow duplicate property names: type
 */
!function (e, t) { "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) { var n = [], r = n.slice, i = n.concat, o = n.push, s = n.indexOf, a = {}, u = a.toString, l = a.hasOwnProperty, c = {}, f = e.document, p = "2.1.3", d = function (e, t) { return new d.fn.init(e, t) }, h = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, g = /^-ms-/, m = /-([\da-z])/gi, v = function (e, t) { return t.toUpperCase() }; function y(e) { var t = e.length, n = d.type(e); return "function" !== n && !d.isWindow(e) && (!(1 !== e.nodeType || !t) || ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e)) } d.fn = d.prototype = { jquery: p, constructor: d, selector: "", length: 0, toArray: function () { return r.call(this) }, get: function (e) { return null != e ? e < 0 ? this[e + this.length] : this[e] : r.call(this) }, pushStack: function (e) { var t = d.merge(this.constructor(), e); return t.prevObject = this, t.context = this.context, t }, each: function (e, t) { return d.each(this, e, t) }, map: function (e) { return this.pushStack(d.map(this, function (t, n) { return e.call(t, n, t) })) }, slice: function () { return this.pushStack(r.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(n >= 0 && n < t ? [this[n]] : []) }, end: function () { return this.prevObject || this.constructor(null) }, push: o, sort: n.sort, splice: n.splice }, d.extend = d.fn.extend = function () { var e, t, n, r, i, o, s = arguments[0] || {}, a = 1, u = arguments.length, l = !1; for ("boolean" == typeof s && (l = s, s = arguments[a] || {}, a++), "object" == typeof s || d.isFunction(s) || (s = {}), a === u && (s = this, a--); a < u; a++)if (null != (e = arguments[a])) for (t in e) n = s[t], s !== (r = e[t]) && (l && r && (d.isPlainObject(r) || (i = d.isArray(r))) ? (i ? (i = !1, o = n && d.isArray(n) ? n : []) : o = n && d.isPlainObject(n) ? n : {}, s[t] = d.extend(l, o, r)) : void 0 !== r && (s[t] = r)); return s }, d.extend({ expando: "jQuery" + (p + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (e) { throw new Error(e) }, noop: function () { }, isFunction: function (e) { return "function" === d.type(e) }, isArray: Array.isArray, isWindow: function (e) { return null != e && e === e.window }, isNumeric: function (e) { return !d.isArray(e) && e - parseFloat(e) + 1 >= 0 }, isPlainObject: function (e) { return "object" === d.type(e) && !e.nodeType && !d.isWindow(e) && !(e.constructor && !l.call(e.constructor.prototype, "isPrototypeOf")) }, isEmptyObject: function (e) { var t; for (t in e) return !1; return !0 }, type: function (e) { return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? a[u.call(e)] || "object" : typeof e }, globalEval: function (e) { var t, n = eval; (e = d.trim(e)) && (1 === e.indexOf("use strict") ? ((t = f.createElement("script")).text = e, f.head.appendChild(t).parentNode.removeChild(t)) : n(e)) }, camelCase: function (e) { return e.replace(g, "ms-").replace(m, v) }, nodeName: function (e, t) { return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() }, each: function (e, t, n) { var r = 0, i = e.length, o = y(e); if (n) { if (o) for (; r < i && !1 !== t.apply(e[r], n); r++); else for (r in e) if (!1 === t.apply(e[r], n)) break } else if (o) for (; r < i && !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(h, "") }, makeArray: function (e, t) { var n = t || []; return null != e && (y(Object(e)) ? d.merge(n, "string" == typeof e ? [e] : e) : o.call(n, e)), n }, inArray: function (e, t, n) { return null == t ? -1 : s.call(t, e, n) }, merge: function (e, t) { for (var n = +t.length, r = 0, i = e.length; r < n; r++)e[i++] = t[r]; return e.length = i, e }, grep: function (e, t, n) { for (var r = [], i = 0, o = e.length, s = !n; i < o; i++)!t(e[i], i) !== s && r.push(e[i]); return r }, map: function (e, t, n) { var r, o = 0, s = e.length, a = []; if (y(e)) for (; o < s; o++)null != (r = t(e[o], o, n)) && a.push(r); else for (o in e) null != (r = t(e[o], o, n)) && a.push(r); return i.apply([], a) }, guid: 1, proxy: function (e, t) { var n, i, o; if ("string" == typeof t && (n = e[t], t = e, e = n), d.isFunction(e)) return i = r.call(arguments, 2), (o = function () { return e.apply(t || this, i.concat(r.call(arguments))) }).guid = e.guid = e.guid || d.guid++ , o }, now: Date.now, support: c }), d.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (e, t) { a["[object " + t + "]"] = t.toLowerCase() }); var x = function (e) { var t, n, r, i, o, s, a, u, l, c, f, p, d, h, g, m, v, y, x, b = "sizzle" + 1 * new Date, w = e.document, T = 0, C = 0, N = se(), k = se(), E = se(), S = function (e, t) { return e === t && (f = !0), 0 }, D = 1 << 31, j = {}.hasOwnProperty, A = [], L = A.pop, q = A.push, H = A.push, O = A.slice, F = function (e, t) { for (var n = 0, r = e.length; n < r; n++)if (e[n] === t) return n; return -1 }, P = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", R = "[\\x20\\t\\r\\n\\f]", M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", W = M.replace("w", "w#"), $ = "\\[" + R + "*(" + M + ")(?:" + R + "*([*^$|!~]?=)" + R + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + W + "))|)" + R + "*\\]", I = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + $ + ")*)|.*)\\)|)", B = new RegExp(R + "+", "g"), _ = new RegExp("^" + R + "+|((?:^|[^\\\\])(?:\\\\.)*)" + R + "+$", "g"), z = new RegExp("^" + R + "*," + R + "*"), X = new RegExp("^" + R + "*([>+~]|" + R + ")" + R + "*"), U = new RegExp("=" + R + "*([^\\]'\"]*?)" + R + "*\\]", "g"), V = new RegExp(I), Y = new RegExp("^" + W + "$"), G = { ID: new RegExp("^#(" + M + ")"), CLASS: new RegExp("^\\.(" + M + ")"), TAG: new RegExp("^(" + M.replace("w", "w*") + ")"), ATTR: new RegExp("^" + $), PSEUDO: new RegExp("^" + I), CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + R + "*(even|odd|(([+-]|)(\\d*)n|)" + R + "*(?:([+-]|)" + R + "*(\\d+)|))" + R + "*\\)|)", "i"), bool: new RegExp("^(?:" + P + ")$", "i"), needsContext: new RegExp("^" + R + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + R + "*((?:-\\d)?\\d*)" + R + "*\\)|)(?=[^-]|$)", "i") }, Q = /^(?:input|select|textarea|button)$/i, J = /^h\d$/i, K = /^[^{]+\{\s*\[native \w/, Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ee = /[+~]/, te = /'|\\/g, ne = new RegExp("\\\\([\\da-f]{1,6}" + R + "?|(" + R + ")|.)", "ig"), re = 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) }, ie = function () { p() }; try { H.apply(A = O.call(w.childNodes), w.childNodes), A[w.childNodes.length].nodeType } catch (e) { H = { apply: A.length ? function (e, t) { q.apply(e, O.call(t)) } : function (e, t) { for (var n = e.length, r = 0; e[n++] = t[r++];); e.length = n - 1 } } } function oe(e, t, r, i) { var o, a, l, c, f, h, v, y, T, C; if ((t ? t.ownerDocument || t : w) !== d && p(t), t = t || d, r = r || [], c = t.nodeType, "string" != typeof e || !e || 1 !== c && 9 !== c && 11 !== c) return r; if (!i && g) { if (11 !== c && (o = Z.exec(e))) if (l = o[1]) { if (9 === c) { if (!(a = t.getElementById(l)) || !a.parentNode) return r; if (a.id === l) return r.push(a), r } else if (t.ownerDocument && (a = t.ownerDocument.getElementById(l)) && x(t, a) && a.id === l) return r.push(a), r } else { if (o[2]) return H.apply(r, t.getElementsByTagName(e)), r; if ((l = o[3]) && n.getElementsByClassName) return H.apply(r, t.getElementsByClassName(l)), r } if (n.qsa && (!m || !m.test(e))) { if (y = v = b, T = t, C = 1 !== c && e, 1 === c && "object" !== t.nodeName.toLowerCase()) { for (h = s(e), (v = t.getAttribute("id")) ? y = v.replace(te, "\\$&") : t.setAttribute("id", y), y = "[id='" + y + "'] ", f = h.length; f--;)h[f] = y + me(h[f]); T = ee.test(e) && he(t.parentNode) || t, C = h.join(",") } if (C) try { return H.apply(r, T.querySelectorAll(C)), r } catch (e) { } finally { v || t.removeAttribute("id") } } } return u(e.replace(_, "$1"), t, r, i) } function se() { var e = []; return function t(n, i) { return e.push(n + " ") > r.cacheLength && delete t[e.shift()], t[n + " "] = i } } function ae(e) { return e[b] = !0, e } function ue(e) { var t = d.createElement("div"); try { return !!e(t) } catch (e) { return !1 } finally { t.parentNode && t.parentNode.removeChild(t), t = null } } function le(e, t) { for (var n = e.split("|"), i = e.length; i--;)r.attrHandle[n[i]] = t } function ce(e, t) { var n = t && e, r = n && 1 === e.nodeType && 1 === t.nodeType && (~t.sourceIndex || D) - (~e.sourceIndex || D); if (r) return r; if (n) for (; n = n.nextSibling;)if (n === t) return -1; return e ? 1 : -1 } function fe(e) { return function (t) { return "input" === t.nodeName.toLowerCase() && t.type === e } } function pe(e) { return function (t) { var n = t.nodeName.toLowerCase(); return ("input" === n || "button" === n) && t.type === e } } function de(e) { return ae(function (t) { return t = +t, ae(function (n, r) { for (var i, o = e([], n.length, t), s = o.length; s--;)n[i = o[s]] && (n[i] = !(r[i] = n[i])) }) }) } function he(e) { return e && void 0 !== e.getElementsByTagName && e } n = oe.support = {}, o = oe.isXML = function (e) { var t = e && (e.ownerDocument || e).documentElement; return !!t && "HTML" !== t.nodeName }, p = oe.setDocument = function (e) { var t, i, s = e ? e.ownerDocument || e : w; return s !== d && 9 === s.nodeType && s.documentElement ? (d = s, h = s.documentElement, (i = s.defaultView) && i !== i.top && (i.addEventListener ? i.addEventListener("unload", ie, !1) : i.attachEvent && i.attachEvent("onunload", ie)), g = !o(s), n.attributes = ue(function (e) { return e.className = "i", !e.getAttribute("className") }), n.getElementsByTagName = ue(function (e) { return e.appendChild(s.createComment("")), !e.getElementsByTagName("*").length }), n.getElementsByClassName = K.test(s.getElementsByClassName), n.getById = ue(function (e) { return h.appendChild(e).id = b, !s.getElementsByName || !s.getElementsByName(b).length }), n.getById ? (r.find.ID = function (e, t) { if (void 0 !== t.getElementById && g) { var n = t.getElementById(e); return n && n.parentNode ? [n] : [] } }, r.filter.ID = function (e) { var t = e.replace(ne, re); return function (e) { return e.getAttribute("id") === t } }) : (delete r.find.ID, r.filter.ID = function (e) { var t = e.replace(ne, re); return function (e) { var n = void 0 !== e.getAttributeNode && e.getAttributeNode("id"); return n && n.value === t } }), 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 = [], i = 0, o = t.getElementsByTagName(e); if ("*" === e) { for (; n = o[i++];)1 === n.nodeType && r.push(n); return r } return o }, r.find.CLASS = n.getElementsByClassName && function (e, t) { if (g) return t.getElementsByClassName(e) }, v = [], m = [], (n.qsa = K.test(s.querySelectorAll)) && (ue(function (e) { h.appendChild(e).innerHTML = "<a id='" + b + "'></a><select id='" + b + "-\f]' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && m.push("[*^$]=" + R + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || m.push("\\[" + R + "*(?:value|" + P + ")"), e.querySelectorAll("[id~=" + b + "-]").length || m.push("~="), e.querySelectorAll(":checked").length || m.push(":checked"), e.querySelectorAll("a#" + b + "+*").length || m.push(".#.+[+~]") }), ue(function (e) { var t = s.createElement("input"); t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && m.push("name" + R + "*[*^$|!~]?="), e.querySelectorAll(":enabled").length || m.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), m.push(",.*:") })), (n.matchesSelector = K.test(y = h.matches || h.webkitMatchesSelector || h.mozMatchesSelector || h.oMatchesSelector || h.msMatchesSelector)) && ue(function (e) { n.disconnectedMatch = y.call(e, "div"), y.call(e, "[s!='']:x"), v.push("!=", I) }), m = m.length && new RegExp(m.join("|")), v = v.length && new RegExp(v.join("|")), t = K.test(h.compareDocumentPosition), x = t || K.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 }, S = t ? function (e, t) { if (e === t) return f = !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 === s || e.ownerDocument === w && x(w, e) ? -1 : t === s || t.ownerDocument === w && x(w, t) ? 1 : c ? F(c, e) - F(c, t) : 0 : 4 & r ? -1 : 1) } : function (e, t) { if (e === t) return f = !0, 0; var n, r = 0, i = e.parentNode, o = t.parentNode, a = [e], u = [t]; if (!i || !o) return e === s ? -1 : t === s ? 1 : i ? -1 : o ? 1 : c ? F(c, e) - F(c, t) : 0; if (i === o) return ce(e, t); for (n = e; n = n.parentNode;)a.unshift(n); for (n = t; n = n.parentNode;)u.unshift(n); for (; a[r] === u[r];)r++; return r ? ce(a[r], u[r]) : a[r] === w ? -1 : u[r] === w ? 1 : 0 }, s) : d }, oe.matches = function (e, t) { return oe(e, null, null, t) }, oe.matchesSelector = function (e, t) { if ((e.ownerDocument || e) !== d && p(e), t = t.replace(U, "='$1']"), n.matchesSelector && g && (!v || !v.test(t)) && (!m || !m.test(t))) try { var r = y.call(e, t); if (r || n.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r } catch (e) { } return oe(t, d, null, [e]).length > 0 }, oe.contains = function (e, t) { return (e.ownerDocument || e) !== d && p(e), x(e, t) }, oe.attr = function (e, t) { (e.ownerDocument || e) !== d && p(e); var i = r.attrHandle[t.toLowerCase()], o = i && j.call(r.attrHandle, t.toLowerCase()) ? i(e, t, !g) : void 0; return void 0 !== o ? o : n.attributes || !g ? e.getAttribute(t) : (o = e.getAttributeNode(t)) && o.specified ? o.value : null }, oe.error = function (e) { throw new Error("Syntax error, unrecognized expression: " + e) }, oe.uniqueSort = function (e) { var t, r = [], i = 0, o = 0; if (f = !n.detectDuplicates, c = !n.sortStable && e.slice(0), e.sort(S), f) { for (; t = e[o++];)t === e[o] && (i = r.push(o)); for (; i--;)e.splice(r[i], 1) } return c = null, e }, i = oe.getText = function (e) { var t, n = "", r = 0, o = e.nodeType; if (o) { if (1 === o || 9 === o || 11 === o) { if ("string" == typeof e.textContent) return e.textContent; for (e = e.firstChild; e; e = e.nextSibling)n += i(e) } else if (3 === o || 4 === o) return e.nodeValue } else for (; t = e[r++];)n += i(t); return n }, (r = oe.selectors = { cacheLength: 50, createPseudo: ae, match: G, 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(ne, re), e[3] = (e[3] || e[4] || e[5] || "").replace(ne, re), "~=" === 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] || oe.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] && oe.error(e[0]), e }, PSEUDO: function (e) { var t, n = !e[6] && e[2]; return G.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && V.test(n) && (t = s(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(ne, re).toLowerCase(); return "*" === e ? function () { return !0 } : function (e) { return e.nodeName && e.nodeName.toLowerCase() === t } }, CLASS: function (e) { var t = N[e + " "]; return t || (t = new RegExp("(^|" + R + ")" + e + "(" + R + "|$)")) && N(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 i = oe.attr(r, e); return null == i ? "!=" === t : !t || (i += "", "=" === t ? i === n : "!=" === t ? i !== n : "^=" === t ? n && 0 === i.indexOf(n) : "*=" === t ? n && i.indexOf(n) > -1 : "$=" === t ? n && i.slice(-n.length) === n : "~=" === t ? (" " + i.replace(B, " ") + " ").indexOf(n) > -1 : "|=" === t && (i === n || i.slice(0, n.length + 1) === n + "-")) } }, CHILD: function (e, t, n, r, i) { var o = "nth" !== e.slice(0, 3), s = "last" !== e.slice(-4), a = "of-type" === t; return 1 === r && 0 === i ? function (e) { return !!e.parentNode } : function (t, n, u) { var l, c, f, p, d, h, g = o !== s ? "nextSibling" : "previousSibling", m = t.parentNode, v = a && t.nodeName.toLowerCase(), y = !u && !a; if (m) { if (o) { for (; g;) { for (f = t; f = f[g];)if (a ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) return !1; h = g = "only" === e && !h && "nextSibling" } return !0 } if (h = [s ? m.firstChild : m.lastChild], s && y) { for (d = (l = (c = m[b] || (m[b] = {}))[e] || [])[0] === T && l[1], p = l[0] === T && l[2], f = d && m.childNodes[d]; f = ++d && f && f[g] || (p = d = 0) || h.pop();)if (1 === f.nodeType && ++p && f === t) { c[e] = [T, d, p]; break } } else if (y && (l = (t[b] || (t[b] = {}))[e]) && l[0] === T) p = l[1]; else for (; (f = ++d && f && f[g] || (p = d = 0) || h.pop()) && ((a ? f.nodeName.toLowerCase() !== v : 1 !== f.nodeType) || !++p || (y && ((f[b] || (f[b] = {}))[e] = [T, p]), f !== t));); return (p -= i) === r || p % r == 0 && p / r >= 0 } } }, PSEUDO: function (e, t) { var n, i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || oe.error("unsupported pseudo: " + e); return i[b] ? i(t) : i.length > 1 ? (n = [e, e, "", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? ae(function (e, n) { for (var r, o = i(e, t), s = o.length; s--;)e[r = F(e, o[s])] = !(n[r] = o[s]) }) : function (e) { return i(e, 0, n) }) : i } }, pseudos: { not: ae(function (e) { var t = [], n = [], r = a(e.replace(_, "$1")); return r[b] ? ae(function (e, t, n, i) { for (var o, s = r(e, null, i, []), a = e.length; a--;)(o = s[a]) && (e[a] = !(t[a] = o)) }) : function (e, i, o) { return t[0] = e, r(t, null, o, n), t[0] = null, !n.pop() } }), has: ae(function (e) { return function (t) { return oe(e, t).length > 0 } }), contains: ae(function (e) { return e = e.replace(ne, re), function (t) { return (t.textContent || t.innerText || i(t)).indexOf(e) > -1 } }), lang: ae(function (e) { return Y.test(e || "") || oe.error("unsupported lang: " + e), e = e.replace(ne, re).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: function (e) { return !1 === e.disabled }, disabled: function (e) { return !0 === e.disabled }, 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 Q.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: de(function () { return [0] }), last: de(function (e, t) { return [t - 1] }), eq: de(function (e, t, n) { return [n < 0 ? n + t : n] }), even: de(function (e, t) { for (var n = 0; n < t; n += 2)e.push(n); return e }), odd: de(function (e, t) { for (var n = 1; n < t; n += 2)e.push(n); return e }), lt: de(function (e, t, n) { for (var r = n < 0 ? n + t : n; --r >= 0;)e.push(r); return e }), gt: de(function (e, t, n) { for (var r = n < 0 ? n + t : n; ++r < t;)e.push(r); return e }) } }).pseudos.nth = r.pseudos.eq; for (t in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) r.pseudos[t] = fe(t); for (t in { submit: !0, reset: !0 }) r.pseudos[t] = pe(t); function ge() { } function me(e) { for (var t = 0, n = e.length, r = ""; t < n; t++)r += e[t].value; return r } function ve(e, t, n) { var r = t.dir, i = n && "parentNode" === r, o = C++; return t.first ? function (t, n, o) { for (; t = t[r];)if (1 === t.nodeType || i) return e(t, n, o) } : function (t, n, s) { var a, u, l = [T, o]; if (s) { for (; t = t[r];)if ((1 === t.nodeType || i) && e(t, n, s)) return !0 } else for (; t = t[r];)if (1 === t.nodeType || i) { if ((a = (u = t[b] || (t[b] = {}))[r]) && a[0] === T && a[1] === o) return l[2] = a[2]; if (u[r] = l, l[2] = e(t, n, s)) return !0 } } } function ye(e) { return e.length > 1 ? function (t, n, r) { for (var i = e.length; i--;)if (!e[i](t, n, r)) return !1; return !0 } : e[0] } function xe(e, t, n, r, i) { for (var o, s = [], a = 0, u = e.length, l = null != t; a < u; a++)(o = e[a]) && (n && !n(o, r, i) || (s.push(o), l && t.push(a))); return s } function be(e, t, n, r, i, o) { return r && !r[b] && (r = be(r)), i && !i[b] && (i = be(i, o)), ae(function (o, s, a, u) { var l, c, f, p = [], d = [], h = s.length, g = o || function (e, t, n) { for (var r = 0, i = t.length; r < i; r++)oe(e, t[r], n); return n }(t || "*", a.nodeType ? [a] : a, []), m = !e || !o && t ? g : xe(g, p, e, a, u), v = n ? i || (o ? e : h || r) ? [] : s : m; if (n && n(m, v, a, u), r) for (l = xe(v, d), r(l, [], a, u), c = l.length; c--;)(f = l[c]) && (v[d[c]] = !(m[d[c]] = f)); if (o) { if (i || e) { if (i) { for (l = [], c = v.length; c--;)(f = v[c]) && l.push(m[c] = f); i(null, v = [], l, u) } for (c = v.length; c--;)(f = v[c]) && (l = i ? F(o, f) : p[c]) > -1 && (o[l] = !(s[l] = f)) } } else v = xe(v === s ? v.splice(h, v.length) : v), i ? i(null, s, v, u) : H.apply(s, v) }) } function we(e) { for (var t, n, i, o = e.length, s = r.relative[e[0].type], a = s || r.relative[" "], u = s ? 1 : 0, c = ve(function (e) { return e === t }, a, !0), f = ve(function (e) { return F(t, e) > -1 }, a, !0), p = [function (e, n, r) { var i = !s && (r || n !== l) || ((t = n).nodeType ? c(e, n, r) : f(e, n, r)); return t = null, i }]; u < o; u++)if (n = r.relative[e[u].type]) p = [ve(ye(p), n)]; else { if ((n = r.filter[e[u].type].apply(null, e[u].matches))[b]) { for (i = ++u; i < o && !r.relative[e[i].type]; i++); return be(u > 1 && ye(p), u > 1 && me(e.slice(0, u - 1).concat({ value: " " === e[u - 2].type ? "*" : "" })).replace(_, "$1"), n, u < i && we(e.slice(u, i)), i < o && we(e = e.slice(i)), i < o && me(e)) } p.push(n) } return ye(p) } return ge.prototype = r.filters = r.pseudos, r.setFilters = new ge, s = oe.tokenize = function (e, t) { var n, i, o, s, a, u, l, c = k[e + " "]; if (c) return t ? 0 : c.slice(0); for (a = e, u = [], l = r.preFilter; a;) { n && !(i = z.exec(a)) || (i && (a = a.slice(i[0].length) || a), u.push(o = [])), n = !1, (i = X.exec(a)) && (n = i.shift(), o.push({ value: n, type: i[0].replace(_, " ") }), a = a.slice(n.length)); for (s in r.filter) !(i = G[s].exec(a)) || l[s] && !(i = l[s](i)) || (n = i.shift(), o.push({ value: n, type: s, matches: i }), a = a.slice(n.length)); if (!n) break } return t ? a.length : a ? oe.error(e) : k(e, u).slice(0) }, a = oe.compile = function (e, t) { var n, i, o, a, u, c, f = [], p = [], h = E[e + " "]; if (!h) { for (t || (t = s(e)), n = t.length; n--;)(h = we(t[n]))[b] ? f.push(h) : p.push(h); (h = E(e, (i = p, a = (o = f).length > 0, u = i.length > 0, c = function (e, t, n, s, c) { var f, p, h, g = 0, m = "0", v = e && [], y = [], x = l, b = e || u && r.find.TAG("*", c), w = T += null == x ? 1 : Math.random() || .1, C = b.length; for (c && (l = t !== d && t); m !== C && null != (f = b[m]); m++) { if (u && f) { for (p = 0; h = i[p++];)if (h(f, t, n)) { s.push(f); break } c && (T = w) } a && ((f = !h && f) && g-- , e && v.push(f)) } if (g += m, a && m !== g) { for (p = 0; h = o[p++];)h(v, y, t, n); if (e) { if (g > 0) for (; m--;)v[m] || y[m] || (y[m] = L.call(s)); y = xe(y) } H.apply(s, y), c && !e && y.length > 0 && g + o.length > 1 && oe.uniqueSort(s) } return c && (T = w, l = x), v }, a ? ae(c) : c))).selector = e } return h }, u = oe.select = function (e, t, i, o) { var u, l, c, f, p, d = "function" == typeof e && e, h = !o && s(e = d.selector || e); if (i = i || [], 1 === h.length) { if ((l = h[0] = h[0].slice(0)).length > 2 && "ID" === (c = l[0]).type && n.getById && 9 === t.nodeType && g && r.relative[l[1].type]) { if (!(t = (r.find.ID(c.matches[0].replace(ne, re), t) || [])[0])) return i; d && (t = t.parentNode), e = e.slice(l.shift().value.length) } for (u = G.needsContext.test(e) ? 0 : l.length; u-- && (c = l[u], !r.relative[f = c.type]);)if ((p = r.find[f]) && (o = p(c.matches[0].replace(ne, re), ee.test(l[0].type) && he(t.parentNode) || t))) { if (l.splice(u, 1), !(e = o.length && me(l))) return H.apply(i, o), i; break } } return (d || a(e, h))(o, t, !g, i, ee.test(e) && he(t.parentNode) || t), i }, n.sortStable = b.split("").sort(S).join("") === b, n.detectDuplicates = !!f, p(), n.sortDetached = ue(function (e) { return 1 & e.compareDocumentPosition(d.createElement("div")) }), ue(function (e) { return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href") }) || le("type|href|height|width", function (e, t, n) { if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2) }), n.attributes && ue(function (e) { return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value") }) || le("value", function (e, t, n) { if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue }), ue(function (e) { return null == e.getAttribute("disabled") }) || le(P, function (e, t, n) { var r; if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null }), oe }(e); d.find = x, d.expr = x.selectors, d.expr[":"] = d.expr.pseudos, d.unique = x.uniqueSort, d.text = x.getText, d.isXMLDoc = x.isXML, d.contains = x.contains; var b = d.expr.match.needsContext, w = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, T = /^.[^:#\[\.,]*$/; function C(e, t, n) { if (d.isFunction(t)) return d.grep(e, function (e, r) { return !!t.call(e, r, e) !== n }); if (t.nodeType) return d.grep(e, function (e) { return e === t !== n }); if ("string" == typeof t) { if (T.test(t)) return d.filter(t, e, n); t = d.filter(t, e) } return d.grep(e, function (e) { return s.call(t, e) >= 0 !== n }) } d.filter = function (e, t, n) { var r = t[0]; return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? d.find.matchesSelector(r, e) ? [r] : [] : d.find.matches(e, d.grep(t, function (e) { return 1 === e.nodeType })) }, d.fn.extend({ find: function (e) { var t, n = this.length, r = [], i = this; if ("string" != typeof e) return this.pushStack(d(e).filter(function () { for (t = 0; t < n; t++)if (d.contains(i[t], this)) return !0 })); for (t = 0; t < n; t++)d.find(e, i[t], r); return (r = this.pushStack(n > 1 ? d.unique(r) : r)).selector = this.selector ? this.selector + " " + e : e, r }, filter: function (e) { return this.pushStack(C(this, e || [], !1)) }, not: function (e) { return this.pushStack(C(this, e || [], !0)) }, is: function (e) { return !!C(this, "string" == typeof e && b.test(e) ? d(e) : e || [], !1).length } }); var N, k = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/; (d.fn.init = function (e, t) { var n, r; if (!e) return this; if ("string" == typeof e) { if (!(n = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : k.exec(e)) || !n[1] && t) return !t || t.jquery ? (t || N).find(e) : this.constructor(t).find(e); if (n[1]) { if (t = t instanceof d ? t[0] : t, d.merge(this, d.parseHTML(n[1], t && t.nodeType ? t.ownerDocument || t : f, !0)), w.test(n[1]) && d.isPlainObject(t)) for (n in t) d.isFunction(this[n]) ? this[n](t[n]) : this.attr(n, t[n]); return this } return (r = f.getElementById(n[2])) && r.parentNode && (this.length = 1, this[0] = r), this.context = f, this.selector = e, this } return e.nodeType ? (this.context = this[0] = e, this.length = 1, this) : d.isFunction(e) ? void 0 !== N.ready ? N.ready(e) : e(d) : (void 0 !== e.selector && (this.selector = e.selector, this.context = e.context), d.makeArray(e, this)) }).prototype = d.fn, N = d(f); var E = /^(?:parents|prev(?:Until|All))/, S = { children: !0, contents: !0, next: !0, prev: !0 }; function D(e, t) { for (; (e = e[t]) && 1 !== e.nodeType;); return e } d.extend({ dir: function (e, t, n) { for (var r = [], i = void 0 !== n; (e = e[t]) && 9 !== e.nodeType;)if (1 === e.nodeType) { if (i && d(e).is(n)) break; r.push(e) } return r }, sibling: function (e, t) { for (var n = []; e; e = e.nextSibling)1 === e.nodeType && e !== t && n.push(e); return n } }), d.fn.extend({ has: function (e) { var t = d(e, this), n = t.length; return this.filter(function () { for (var e = 0; e < n; e++)if (d.contains(this, t[e])) return !0 }) }, closest: function (e, t) { for (var n, r = 0, i = this.length, o = [], s = b.test(e) || "string" != typeof e ? d(e, t || this.context) : 0; r < i; r++)for (n = this[r]; n && n !== t; n = n.parentNode)if (n.nodeType < 11 && (s ? s.index(n) > -1 : 1 === n.nodeType && d.find.matchesSelector(n, e))) { o.push(n); break } return this.pushStack(o.length > 1 ? d.unique(o) : o) }, index: function (e) { return e ? "string" == typeof e ? s.call(d(e), this[0]) : s.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 }, add: function (e, t) { return this.pushStack(d.unique(d.merge(this.get(), d(e, t)))) }, addBack: function (e) { return this.add(null == e ? this.prevObject : this.prevObject.filter(e)) } }), d.each({ parent: function (e) { var t = e.parentNode; return t && 11 !== t.nodeType ? t : null }, parents: function (e) { return d.dir(e, "parentNode") }, parentsUntil: function (e, t, n) { return d.dir(e, "parentNode", n) }, next: function (e) { return D(e, "nextSibling") }, prev: function (e) { return D(e, "previousSibling") }, nextAll: function (e) { return d.dir(e, "nextSibling") }, prevAll: function (e) { return d.dir(e, "previousSibling") }, nextUntil: function (e, t, n) { return d.dir(e, "nextSibling", n) }, prevUntil: function (e, t, n) { return d.dir(e, "previousSibling", n) }, siblings: function (e) { return d.sibling((e.parentNode || {}).firstChild, e) }, children: function (e) { return d.sibling(e.firstChild) }, contents: function (e) { return e.contentDocument || d.merge([], e.childNodes) } }, function (e, t) { d.fn[e] = function (n, r) { var i = d.map(this, t, n); return "Until" !== e.slice(-5) && (r = n), r && "string" == typeof r && (i = d.filter(r, i)), this.length > 1 && (S[e] || d.unique(i), E.test(e) && i.reverse()), this.pushStack(i) } }); var j, A = /\S+/g, L = {}; function q() { f.removeEventListener("DOMContentLoaded", q, !1), e.removeEventListener("load", q, !1), d.ready() } d.Callbacks = function (e) { var t, n, r, i, o, s, a, u, l = [], c = !(e = "string" == typeof e ? L[e] || (n = L[t = e] = {}, d.each(t.match(A) || [], function (e, t) { n[t] = !0 }), n) : d.extend({}, e)).once && [], f = function (t) { for (r = e.memory && t, i = !0, u = s || 0, s = 0, a = l.length, o = !0; l && u < a; u++)if (!1 === l[u].apply(t[0], t[1]) && e.stopOnFalse) { r = !1; break } o = !1, l && (c ? c.length && f(c.shift()) : r ? l = [] : p.disable()) }, p = { add: function () { if (l) { var t = l.length; !function t(n) { d.each(n, function (n, r) { var i = d.type(r); "function" === i ? e.unique && p.has(r) || l.push(r) : r && r.length && "string" !== i && t(r) }) }(arguments), o ? a = l.length : r && (s = t, f(r)) } return this }, remove: function () { return l && d.each(arguments, function (e, t) { for (var n; (n = d.inArray(t, l, n)) > -1;)l.splice(n, 1), o && (n <= a && a-- , n <= u && u--) }), this }, has: function (e) { return e ? d.inArray(e, l) > -1 : !(!l || !l.length) }, empty: function () { return l = [], a = 0, this }, disable: function () { return l = c = r = void 0, this }, disabled: function () { return !l }, lock: function () { return c = void 0, r || p.disable(), this }, locked: function () { return !c }, fireWith: function (e, t) { return !l || i && !c || (t = [e, (t = t || []).slice ? t.slice() : t], o ? c.push(t) : f(t)), this }, fire: function () { return p.fireWith(this, arguments), this }, fired: function () { return !!i } }; return p }, d.extend({ Deferred: function (e) { var t = [["resolve", "done", d.Callbacks("once memory"), "resolved"], ["reject", "fail", d.Callbacks("once memory"), "rejected"], ["notify", "progress", d.Callbacks("memory")]], n = "pending", r = { state: function () { return n }, always: function () { return i.done(arguments).fail(arguments), this }, then: function () { var e = arguments; return d.Deferred(function (n) { d.each(t, function (t, o) { var s = d.isFunction(e[t]) && e[t]; i[o[1]](function () { var e = s && s.apply(this, arguments); e && d.isFunction(e.promise) ? e.promise().done(n.resolve).fail(n.reject).progress(n.notify) : n[o[0] + "With"](this === r ? n.promise() : this, s ? [e] : arguments) }) }), e = null }).promise() }, promise: function (e) { return null != e ? d.extend(e, r) : r } }, i = {}; return r.pipe = r.then, d.each(t, function (e, o) { var s = o[2], a = o[3]; r[o[1]] = s.add, a && s.add(function () { n = a }, t[1 ^ e][2].disable, t[2][2].lock), i[o[0]] = function () { return i[o[0] + "With"](this === i ? r : this, arguments), this }, i[o[0] + "With"] = s.fireWith }), r.promise(i), e && e.call(i, i), i }, when: function (e) { var t, n, i, o = 0, s = r.call(arguments), a = s.length, u = 1 !== a || e && d.isFunction(e.promise) ? a : 0, l = 1 === u ? e : d.Deferred(), c = function (e, n, i) { return function (o) { n[e] = this, i[e] = arguments.length > 1 ? r.call(arguments) : o, i === t ? l.notifyWith(n, i) : --u || l.resolveWith(n, i) } }; if (a > 1) for (t = new Array(a), n = new Array(a), i = new Array(a); o < a; o++)s[o] && d.isFunction(s[o].promise) ? s[o].promise().done(c(o, i, s)).fail(l.reject).progress(c(o, n, t)) : --u; return u || l.resolveWith(i, s), l.promise() } }), d.fn.ready = function (e) { return d.ready.promise().done(e), this }, d.extend({ isReady: !1, readyWait: 1, holdReady: function (e) { e ? d.readyWait++ : d.ready(!0) }, ready: function (e) { (!0 === e ? --d.readyWait : d.isReady) || (d.isReady = !0, !0 !== e && --d.readyWait > 0 || (j.resolveWith(f, [d]), d.fn.triggerHandler && (d(f).triggerHandler("ready"), d(f).off("ready")))) } }), d.ready.promise = function (t) { return j || (j = d.Deferred(), "complete" === f.readyState ? setTimeout(d.ready) : (f.addEventListener("DOMContentLoaded", q, !1), e.addEventListener("load", q, !1))), j.promise(t) }, d.ready.promise(); var H = d.access = function (e, t, n, r, i, o, s) { var a = 0, u = e.length, l = null == n; if ("object" === d.type(n)) { i = !0; for (a in n) d.access(e, t, a, n[a], !0, o, s) } else if (void 0 !== r && (i = !0, d.isFunction(r) || (s = !0), l && (s ? (t.call(e, r), t = null) : (l = t, t = function (e, t, n) { return l.call(d(e), n) })), t)) for (; a < u; a++)t(e[a], n, s ? r : r.call(e[a], a, t(e[a], n))); return i ? e : l ? t.call(e) : u ? t(e[0], n) : o }; function O() { Object.defineProperty(this.cache = {}, 0, { get: function () { return {} } }), this.expando = d.expando + O.uid++ } d.acceptData = function (e) { return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType }, O.uid = 1, O.accepts = d.acceptData, O.prototype = { key: function (e) { if (!O.accepts(e)) return 0; var t = {}, n = e[this.expando]; if (!n) { n = O.uid++; try { t[this.expando] = { value: n }, Object.defineProperties(e, t) } catch (r) { t[this.expando] = n, d.extend(e, t) } } return this.cache[n] || (this.cache[n] = {}), n }, set: function (e, t, n) { var r, i = this.key(e), o = this.cache[i]; if ("string" == typeof t) o[t] = n; else if (d.isEmptyObject(o)) d.extend(this.cache[i], t); else for (r in t) o[r] = t[r]; return o }, get: function (e, t) { var n = this.cache[this.key(e)]; return void 0 === t ? n : n[t] }, access: function (e, t, n) { var r; return void 0 === t || t && "string" == typeof t && void 0 === n ? void 0 !== (r = this.get(e, t)) ? r : this.get(e, d.camelCase(t)) : (this.set(e, t, n), void 0 !== n ? n : t) }, remove: function (e, t) { var n, r, i, o = this.key(e), s = this.cache[o]; if (void 0 === t) this.cache[o] = {}; else { d.isArray(t) ? r = t.concat(t.map(d.camelCase)) : (i = d.camelCase(t), r = t in s ? [t, i] : (r = i) in s ? [r] : r.match(A) || []), n = r.length; for (; n--;)delete s[r[n]] } }, hasData: function (e) { return !d.isEmptyObject(this.cache[e[this.expando]] || {}) }, discard: function (e) { e[this.expando] && delete this.cache[e[this.expando]] } }; var F = new O, P = new O, R = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, M = /([A-Z])/g; function W(e, t, n) { var r; if (void 0 === n && 1 === e.nodeType) if (r = "data-" + t.replace(M, "-$1").toLowerCase(), "string" == typeof (n = e.getAttribute(r))) { try { n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : R.test(n) ? d.parseJSON(n) : n) } catch (e) { } P.set(e, t, n) } else n = void 0; return n } d.extend({ hasData: function (e) { return P.hasData(e) || F.hasData(e) }, data: function (e, t, n) { return P.access(e, t, n) }, removeData: function (e, t) { P.remove(e, t) }, _data: function (e, t, n) { return F.access(e, t, n) }, _removeData: function (e, t) { F.remove(e, t) } }), d.fn.extend({ data: function (e, t) { var n, r, i, o = this[0], s = o && o.attributes; if (void 0 === e) { if (this.length && (i = P.get(o), 1 === o.nodeType && !F.get(o, "hasDataAttrs"))) { for (n = s.length; n--;)s[n] && 0 === (r = s[n].name).indexOf("data-") && (r = d.camelCase(r.slice(5)), W(o, r, i[r])); F.set(o, "hasDataAttrs", !0) } return i } return "object" == typeof e ? this.each(function () { P.set(this, e) }) : H(this, function (t) { var n, r = d.camelCase(e); if (o && void 0 === t) return void 0 !== (n = P.get(o, e)) ? n : void 0 !== (n = P.get(o, r)) ? n : void 0 !== (n = W(o, r, void 0)) ? n : void 0; this.each(function () { var n = P.get(this, r); P.set(this, r, t), -1 !== e.indexOf("-") && void 0 !== n && P.set(this, e, t) }) }, null, t, arguments.length > 1, null, !0) }, removeData: function (e) { return this.each(function () { P.remove(this, e) }) } }), d.extend({ queue: function (e, t, n) { var r; if (e) return t = (t || "fx") + "queue", r = F.get(e, t), n && (!r || d.isArray(n) ? r = F.access(e, t, d.makeArray(n)) : r.push(n)), r || [] }, dequeue: function (e, t) { t = t || "fx"; var n = d.queue(e, t), r = n.length, i = n.shift(), o = d._queueHooks(e, t); "inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete o.stop, i.call(e, function () { d.dequeue(e, t) }, o)), !r && o && o.empty.fire() }, _queueHooks: function (e, t) { var n = t + "queueHooks"; return F.get(e, n) || F.access(e, n, { empty: d.Callbacks("once memory").add(function () { F.remove(e, [t + "queue", n]) }) }) } }), d.fn.extend({ queue: function (e, t) { var n = 2; return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? d.queue(this[0], e) : void 0 === t ? this : this.each(function () { var n = d.queue(this, e, t); d._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && d.dequeue(this, e) }) }, dequeue: function (e) { return this.each(function () { d.dequeue(this, e) }) }, clearQueue: function (e) { return this.queue(e || "fx", []) }, promise: function (e, t) { var n, r = 1, i = d.Deferred(), o = this, s = this.length, a = function () { --r || i.resolveWith(o, [o]) }; for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; s--;)(n = F.get(o[s], e + "queueHooks")) && n.empty && (r++ , n.empty.add(a)); return a(), i.promise(t) } }); var $, I, B = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, _ = ["Top", "Right", "Bottom", "Left"], z = function (e, t) { return e = t || e, "none" === d.css(e, "display") || !d.contains(e.ownerDocument, e) }, X = /^(?:checkbox|radio)$/i; $ = f.createDocumentFragment().appendChild(f.createElement("div")), (I = f.createElement("input")).setAttribute("type", "radio"), I.setAttribute("checked", "checked"), I.setAttribute("name", "t"), $.appendChild(I), c.checkClone = $.cloneNode(!0).cloneNode(!0).lastChild.checked, $.innerHTML = "<textarea>x</textarea>", c.noCloneChecked = !!$.cloneNode(!0).lastChild.defaultValue; var U = "undefined"; c.focusinBubbles = "onfocusin" in e; var V = /^key/, Y = /^(?:mouse|pointer|contextmenu)|click/, G = /^(?:focusinfocus|focusoutblur)$/, Q = /^([^.]*)(?:\.(.+)|)$/; function J() { return !0 } function K() { return !1 } function Z() { try { return f.activeElement } catch (e) { } } d.event = { global: {}, add: function (e, t, n, r, i) { var o, s, a, u, l, c, f, p, h, g, m, v = F.get(e); if (v) for (n.handler && (n = (o = n).handler, i = o.selector), n.guid || (n.guid = d.guid++), (u = v.events) || (u = v.events = {}), (s = v.handle) || (s = v.handle = function (t) { return typeof d !== U && d.event.triggered !== t.type ? d.event.dispatch.apply(e, arguments) : void 0 }), l = (t = (t || "").match(A) || [""]).length; l--;)h = m = (a = Q.exec(t[l]) || [])[1], g = (a[2] || "").split(".").sort(), h && (f = d.event.special[h] || {}, h = (i ? f.delegateType : f.bindType) || h, f = d.event.special[h] || {}, c = d.extend({ type: h, origType: m, data: r, handler: n, guid: n.guid, selector: i, needsContext: i && d.expr.match.needsContext.test(i), namespace: g.join(".") }, o), (p = u[h]) || ((p = u[h] = []).delegateCount = 0, f.setup && !1 !== f.setup.call(e, r, g, s) || e.addEventListener && e.addEventListener(h, s, !1)), f.add && (f.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), i ? p.splice(p.delegateCount++, 0, c) : p.push(c), d.event.global[h] = !0) }, remove: function (e, t, n, r, i) { var o, s, a, u, l, c, f, p, h, g, m, v = F.hasData(e) && F.get(e); if (v && (u = v.events)) { for (l = (t = (t || "").match(A) || [""]).length; l--;)if (h = m = (a = Q.exec(t[l]) || [])[1], g = (a[2] || "").split(".").sort(), h) { for (f = d.event.special[h] || {}, p = u[h = (r ? f.delegateType : f.bindType) || h] || [], a = a[2] && new RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)"), s = o = p.length; o--;)c = p[o], !i && m !== c.origType || n && n.guid !== c.guid || a && !a.test(c.namespace) || r && r !== c.selector && ("**" !== r || !c.selector) || (p.splice(o, 1), c.selector && p.delegateCount-- , f.remove && f.remove.call(e, c)); s && !p.length && (f.teardown && !1 !== f.teardown.call(e, g, v.handle) || d.removeEvent(e, h, v.handle), delete u[h]) } else for (h in u) d.event.remove(e, h + t[l], n, r, !0); d.isEmptyObject(u) && (delete v.handle, F.remove(e, "events")) } }, trigger: function (t, n, r, i) { var o, s, a, u, c, p, h, g = [r || f], m = l.call(t, "type") ? t.type : t, v = l.call(t, "namespace") ? t.namespace.split(".") : []; if (s = a = r = r || f, 3 !== r.nodeType && 8 !== r.nodeType && !G.test(m + d.event.triggered) && (m.indexOf(".") >= 0 && (m = (v = m.split(".")).shift(), v.sort()), c = m.indexOf(":") < 0 && "on" + m, (t = t[d.expando] ? t : new d.Event(m, "object" == typeof t && t)).isTrigger = i ? 2 : 3, t.namespace = v.join("."), t.namespace_re = t.namespace ? new RegExp("(^|\\.)" + v.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), n = null == n ? [t] : d.makeArray(n, [t]), h = d.event.special[m] || {}, i || !h.trigger || !1 !== h.trigger.apply(r, n))) { if (!i && !h.noBubble && !d.isWindow(r)) { for (u = h.delegateType || m, G.test(u + m) || (s = s.parentNode); s; s = s.parentNode)g.push(s), a = s; a === (r.ownerDocument || f) && g.push(a.defaultView || a.parentWindow || e) } for (o = 0; (s = g[o++]) && !t.isPropagationStopped();)t.type = o > 1 ? u : h.bindType || m, (p = (F.get(s, "events") || {})[t.type] && F.get(s, "handle")) && p.apply(s, n), (p = c && s[c]) && p.apply && d.acceptData(s) && (t.result = p.apply(s, n), !1 === t.result && t.preventDefault()); return t.type = m, i || t.isDefaultPrevented() || h._default && !1 !== h._default.apply(g.pop(), n) || !d.acceptData(r) || c && d.isFunction(r[m]) && !d.isWindow(r) && ((a = r[c]) && (r[c] = null), d.event.triggered = m, r[m](), d.event.triggered = void 0, a && (r[c] = a)), t.result } }, dispatch: function (e) { e = d.event.fix(e); var t, n, i, o, s, a, u = r.call(arguments), l = (F.get(this, "events") || {})[e.type] || [], c = d.event.special[e.type] || {}; if (u[0] = e, e.delegateTarget = this, !c.preDispatch || !1 !== c.preDispatch.call(this, e)) { for (a = d.event.handlers.call(this, e, l), t = 0; (o = a[t++]) && !e.isPropagationStopped();)for (e.currentTarget = o.elem, n = 0; (s = o.handlers[n++]) && !e.isImmediatePropagationStopped();)e.namespace_re && !e.namespace_re.test(s.namespace) || (e.handleObj = s, e.data = s.data, void 0 !== (i = ((d.event.special[s.origType] || {}).handle || s.handler).apply(o.elem, u)) && !1 === (e.result = i) && (e.preventDefault(), e.stopPropagation())); return c.postDispatch && c.postDispatch.call(this, e), e.result } }, handlers: function (e, t) { var n, r, i, o, s = [], a = t.delegateCount, u = e.target; if (a && u.nodeType && (!e.button || "click" !== e.type)) for (; u !== this; u = u.parentNode || this)if (!0 !== u.disabled || "click" !== e.type) { for (r = [], n = 0; n < a; n++)void 0 === r[i = (o = t[n]).selector + " "] && (r[i] = o.needsContext ? d(i, this).index(u) >= 0 : d.find(i, this, null, [u]).length), r[i] && r.push(o); r.length && s.push({ elem: u, handlers: r }) } return a < t.length && s.push({ elem: this, handlers: t.slice(a) }), s }, props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), fixHooks: {}, keyHooks: { props: "char charCode key keyCode".split(" "), filter: function (e, t) { return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode), e } }, mouseHooks: { props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "), filter: function (e, t) { var n, r, i, o = t.button; return null == e.pageX && null != t.clientX && (r = (n = e.target.ownerDocument || f).documentElement, i = n.body, e.pageX = t.clientX + (r && r.scrollLeft || i && i.scrollLeft || 0) - (r && r.clientLeft || i && i.clientLeft || 0), e.pageY = t.clientY + (r && r.scrollTop || i && i.scrollTop || 0) - (r && r.clientTop || i && i.clientTop || 0)), e.which || void 0 === o || (e.which = 1 & o ? 1 : 2 & o ? 3 : 4 & o ? 2 : 0), e } }, fix: function (e) { if (e[d.expando]) return e; var t, n, r, i = e.type, o = e, s = this.fixHooks[i]; for (s || (this.fixHooks[i] = s = Y.test(i) ? this.mouseHooks : V.test(i) ? this.keyHooks : {}), r = s.props ? this.props.concat(s.props) : this.props, e = new d.Event(o), t = r.length; t--;)e[n = r[t]] = o[n]; return e.target || (e.target = f), 3 === e.target.nodeType && (e.target = e.target.parentNode), s.filter ? s.filter(e, o) : e }, special: { load: { noBubble: !0 }, focus: { trigger: function () { if (this !== Z() && this.focus) return this.focus(), !1 }, delegateType: "focusin" }, blur: { trigger: function () { if (this === Z() && this.blur) return this.blur(), !1 }, delegateType: "focusout" }, click: { trigger: function () { if ("checkbox" === this.type && this.click && d.nodeName(this, "input")) return this.click(), !1 }, _default: function (e) { return d.nodeName(e.target, "a") } }, beforeunload: { postDispatch: function (e) { void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result) } } }, simulate: function (e, t, n, r) { var i = d.extend(new d.Event, n, { type: e, isSimulated: !0, originalEvent: {} }); r ? d.event.trigger(i, null, t) : d.event.dispatch.call(t, i), i.isDefaultPrevented() && n.preventDefault() } }, d.removeEvent = function (e, t, n) { e.removeEventListener && e.removeEventListener(t, n, !1) }, d.Event = function (e, t) { if (!(this instanceof d.Event)) return new d.Event(e, t); e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? J : K) : this.type = e, t && d.extend(this, t), this.timeStamp = e && e.timeStamp || d.now(), this[d.expando] = !0 }, d.Event.prototype = { isDefaultPrevented: K, isPropagationStopped: K, isImmediatePropagationStopped: K, preventDefault: function () { var e = this.originalEvent; this.isDefaultPrevented = J, e && e.preventDefault && e.preventDefault() }, stopPropagation: function () { var e = this.originalEvent; this.isPropagationStopped = J, e && e.stopPropagation && e.stopPropagation() }, stopImmediatePropagation: function () { var e = this.originalEvent; this.isImmediatePropagationStopped = J, e && e.stopImmediatePropagation && e.stopImmediatePropagation(), this.stopPropagation() } }, d.each({ mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function (e, t) { d.event.special[e] = { delegateType: t, bindType: t, handle: function (e) { var n, r = e.relatedTarget, i = e.handleObj; return r && (r === this || d.contains(this, r)) || (e.type = i.origType, n = i.handler.apply(this, arguments), e.type = t), n } } }), c.focusinBubbles || d.each({ focus: "focusin", blur: "focusout" }, function (e, t) { var n = function (e) { d.event.simulate(t, e.target, d.event.fix(e), !0) }; d.event.special[t] = { setup: function () { var r = this.ownerDocument || this, i = F.access(r, t); i || r.addEventListener(e, n, !0), F.access(r, t, (i || 0) + 1) }, teardown: function () { var r = this.ownerDocument || this, i = F.access(r, t) - 1; i ? F.access(r, t, i) : (r.removeEventListener(e, n, !0), F.remove(r, t)) } } }), d.fn.extend({ on: function (e, t, n, r, i) { var o, s; if ("object" == typeof e) { "string" != typeof t && (n = n || t, t = void 0); for (s in e) this.on(s, t, n, e[s], i); return this } if (null == n && null == r ? (r = t, n = t = void 0) : null == r && ("string" == typeof t ? (r = n, n = void 0) : (r = n, n = t, t = void 0)), !1 === r) r = K; else if (!r) return this; return 1 === i && (o = r, (r = function (e) { return d().off(e), o.apply(this, arguments) }).guid = o.guid || (o.guid = d.guid++)), this.each(function () { d.event.add(this, e, r, n, t) }) }, one: function (e, t, n, r) { return this.on(e, t, n, r, 1) }, off: function (e, t, n) { var r, i; if (e && e.preventDefault && e.handleObj) return r = e.handleObj, d(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this; if ("object" == typeof e) { for (i in e) this.off(i, t, e[i]); return this } return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = K), this.each(function () { d.event.remove(this, e, n, t) }) }, trigger: function (e, t) { return this.each(function () { d.event.trigger(e, t, this) }) }, triggerHandler: function (e, t) { var n = this[0]; if (n) return d.event.trigger(e, t, n, !0) } }); var ee = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, te = /<([\w:]+)/, ne = /<|&#?\w+;/, re = /<(?:script|style|link)/i, ie = /checked\s*(?:[^=]|=\s*.checked.)/i, oe = /^$|\/(?:java|ecma)script/i, se = /^true\/(.*)/, ae = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, ue = { 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 le(e, t) { return d.nodeName(e, "table") && d.nodeName(11 !== t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e } function ce(e) { return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e } function fe(e) { var t = se.exec(e.type); return t ? e.type = t[1] : e.removeAttribute("type"), e } function pe(e, t) { for (var n = 0, r = e.length; n < r; n++)F.set(e[n], "globalEval", !t || F.get(t[n], "globalEval")) } function de(e, t) { var n, r, i, o, s, a, u, l; if (1 === t.nodeType) { if (F.hasData(e) && (o = F.access(e), s = F.set(t, o), l = o.events)) { delete s.handle, s.events = {}; for (i in l) for (n = 0, r = l[i].length; n < r; n++)d.event.add(t, i, l[i][n]) } P.hasData(e) && (a = P.access(e), u = d.extend({}, a), P.set(t, u)) } } function he(e, t) { var n = e.getElementsByTagName ? e.getElementsByTagName(t || "*") : e.querySelectorAll ? e.querySelectorAll(t || "*") : []; return void 0 === t || t && d.nodeName(e, t) ? d.merge([e], n) : n } ue.optgroup = ue.option, ue.tbody = ue.tfoot = ue.colgroup = ue.caption = ue.thead, ue.th = ue.td, d.extend({ clone: function (e, t, n) { var r, i, o, s, a, u, l, f = e.cloneNode(!0), p = d.contains(e.ownerDocument, e); if (!(c.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || d.isXMLDoc(e))) for (s = he(f), r = 0, i = (o = he(e)).length; r < i; r++)a = o[r], u = s[r], void 0, "input" === (l = u.nodeName.toLowerCase()) && X.test(a.type) ? u.checked = a.checked : "input" !== l && "textarea" !== l || (u.defaultValue = a.defaultValue); if (t) if (n) for (o = o || he(e), s = s || he(f), r = 0, i = o.length; r < i; r++)de(o[r], s[r]); else de(e, f); return (s = he(f, "script")).length > 0 && pe(s, !p && he(e, "script")), f }, buildFragment: function (e, t, n, r) { for (var i, o, s, a, u, l, c = t.createDocumentFragment(), f = [], p = 0, h = e.length; p < h; p++)if ((i = e[p]) || 0 === i) if ("object" === d.type(i)) d.merge(f, i.nodeType ? [i] : i); else if (ne.test(i)) { for (o = o || c.appendChild(t.createElement("div")), s = (te.exec(i) || ["", ""])[1].toLowerCase(), a = ue[s] || ue._default, o.innerHTML = a[1] + i.replace(ee, "<$1></$2>") + a[2], l = a[0]; l--;)o = o.lastChild; d.merge(f, o.childNodes), (o = c.firstChild).textContent = "" } else f.push(t.createTextNode(i)); for (c.textContent = "", p = 0; i = f[p++];)if ((!r || -1 === d.inArray(i, r)) && (u = d.contains(i.ownerDocument, i), o = he(c.appendChild(i), "script"), u && pe(o), n)) for (l = 0; i = o[l++];)oe.test(i.type || "") && n.push(i); return c }, cleanData: function (e) { for (var t, n, r, i, o = d.event.special, s = 0; void 0 !== (n = e[s]); s++) { if (d.acceptData(n) && (i = n[F.expando]) && (t = F.cache[i])) { if (t.events) for (r in t.events) o[r] ? d.event.remove(n, r) : d.removeEvent(n, r, t.handle); F.cache[i] && delete F.cache[i] } delete P.cache[n[P.expando]] } } }), d.fn.extend({ text: function (e) { return H(this, function (e) { return void 0 === e ? d.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 this.domManip(arguments, function (e) { 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || le(this, e).appendChild(e) }) }, prepend: function () { return this.domManip(arguments, function (e) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { var t = le(this, e); t.insertBefore(e, t.firstChild) } }) }, before: function () { return this.domManip(arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this) }) }, after: function () { return this.domManip(arguments, function (e) { this.parentNode && this.parentNode.insertBefore(e, this.nextSibling) }) }, remove: function (e, t) { for (var n, r = e ? d.filter(e, this) : this, i = 0; null != (n = r[i]); i++)t || 1 !== n.nodeType || d.cleanData(he(n)), n.parentNode && (t && d.contains(n.ownerDocument, n) && pe(he(n, "script")), n.parentNode.removeChild(n)); return this }, empty: function () { for (var e, t = 0; null != (e = this[t]); t++)1 === e.nodeType && (d.cleanData(he(e, !1)), e.textContent = ""); return this }, clone: function (e, t) { return e = null != e && e, t = null == t ? e : t, this.map(function () { return d.clone(this, e, t) }) }, html: function (e) { return H(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 && !re.test(e) && !ue[(te.exec(e) || ["", ""])[1].toLowerCase()]) { e = e.replace(ee, "<$1></$2>"); try { for (; n < r; n++)1 === (t = this[n] || {}).nodeType && (d.cleanData(he(t, !1)), t.innerHTML = e); t = 0 } catch (e) { } } t && this.empty().append(e) }, null, e, arguments.length) }, replaceWith: function () { var e = arguments[0]; return this.domManip(arguments, function (t) { e = this.parentNode, d.cleanData(he(this)), e && e.replaceChild(t, this) }), e && (e.length || e.nodeType) ? this : this.remove() }, detach: function (e) { return this.remove(e, !0) }, domManip: function (e, t) { e = i.apply([], e); var n, r, o, s, a, u, l = 0, f = this.length, p = this, h = f - 1, g = e[0], m = d.isFunction(g); if (m || f > 1 && "string" == typeof g && !c.checkClone && ie.test(g)) return this.each(function (n) { var r = p.eq(n); m && (e[0] = g.call(this, n, r.html())), r.domManip(e, t) }); if (f && (r = (n = d.buildFragment(e, this[0].ownerDocument, !1, this)).firstChild, 1 === n.childNodes.length && (n = r), r)) { for (s = (o = d.map(he(n, "script"), ce)).length; l < f; l++)a = n, l !== h && (a = d.clone(a, !0, !0), s && d.merge(o, he(a, "script"))), t.call(this[l], a, l); if (s) for (u = o[o.length - 1].ownerDocument, d.map(o, fe), l = 0; l < s; l++)a = o[l], oe.test(a.type || "") && !F.access(a, "globalEval") && d.contains(u, a) && (a.src ? d._evalUrl && d._evalUrl(a.src) : d.globalEval(a.textContent.replace(ae, ""))) } return this } }), d.each({ appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function (e, t) { d.fn[e] = function (e) { for (var n, r = [], i = d(e), s = i.length - 1, a = 0; a <= s; a++)n = a === s ? this : this.clone(!0), d(i[a])[t](n), o.apply(r, n.get()); return this.pushStack(r) } }); var ge, me = {}; function ve(t, n) { var r, i = d(n.createElement(t)).appendTo(n.body), o = e.getDefaultComputedStyle && (r = e.getDefaultComputedStyle(i[0])) ? r.display : d.css(i[0], "display"); return i.detach(), o } function ye(e) { var t = f, n = me[e]; return n || ("none" !== (n = ve(e, t)) && n || ((t = (ge = (ge || d("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(), t.close(), n = ve(e, t), ge.detach()), me[e] = n), n } var xe = /^margin/, be = new RegExp("^(" + B + ")(?!px)[a-z%]+$", "i"), we = function (t) { return t.ownerDocument.defaultView.opener ? t.ownerDocument.defaultView.getComputedStyle(t, null) : e.getComputedStyle(t, null) }; function Te(e, t, n) { var r, i, o, s, a = e.style; return (n = n || we(e)) && (s = n.getPropertyValue(t) || n[t]), n && ("" !== s || d.contains(e.ownerDocument, e) || (s = d.style(e, t)), be.test(s) && xe.test(t) && (r = a.width, i = a.minWidth, o = a.maxWidth, a.minWidth = a.maxWidth = a.width = s, s = n.width, a.width = r, a.minWidth = i, a.maxWidth = o)), void 0 !== s ? s + "" : s } function Ce(e, t) { return { get: function () { if (!e()) return (this.get = t).apply(this, arguments); delete this.get } } } !function () { var t, n, r = f.documentElement, i = f.createElement("div"), o = f.createElement("div"); function s() { o.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", o.innerHTML = "", r.appendChild(i); var s = e.getComputedStyle(o, null); t = "1%" !== s.top, n = "4px" === s.width, r.removeChild(i) } o.style && (o.style.backgroundClip = "content-box", o.cloneNode(!0).style.backgroundClip = "", c.clearCloneStyle = "content-box" === o.style.backgroundClip, i.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", i.appendChild(o), e.getComputedStyle && d.extend(c, { pixelPosition: function () { return s(), t }, boxSizingReliable: function () { return null == n && s(), n }, reliableMarginRight: function () { var t, n = o.appendChild(f.createElement("div")); return n.style.cssText = o.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", n.style.marginRight = n.style.width = "0", o.style.width = "1px", r.appendChild(i), t = !parseFloat(e.getComputedStyle(n, null).marginRight), r.removeChild(i), o.removeChild(n), t } })) }(), d.swap = function (e, t, n, r) { var i, o, s = {}; for (o in t) s[o] = e.style[o], e.style[o] = t[o]; i = n.apply(e, r || []); for (o in t) e.style[o] = s[o]; return i }; var Ne = /^(none|table(?!-c[ea]).+)/, ke = new RegExp("^(" + B + ")(.*)$", "i"), Ee = new RegExp("^([+-])=(" + B + ")", "i"), Se = { position: "absolute", visibility: "hidden", display: "block" }, De = { letterSpacing: "0", fontWeight: "400" }, je = ["Webkit", "O", "Moz", "ms"]; function Ae(e, t) { if (t in e) return t; for (var n = t[0].toUpperCase() + t.slice(1), r = t, i = je.length; i--;)if ((t = je[i] + n) in e) return t; return r } function Le(e, t, n) { var r = ke.exec(t); return r ? Math.max(0, r[1] - (n || 0)) + (r[2] || "px") : t } function qe(e, t, n, r, i) { for (var o = n === (r ? "border" : "content") ? 4 : "width" === t ? 1 : 0, s = 0; o < 4; o += 2)"margin" === n && (s += d.css(e, n + _[o], !0, i)), r ? ("content" === n && (s -= d.css(e, "padding" + _[o], !0, i)), "margin" !== n && (s -= d.css(e, "border" + _[o] + "Width", !0, i))) : (s += d.css(e, "padding" + _[o], !0, i), "padding" !== n && (s += d.css(e, "border" + _[o] + "Width", !0, i))); return s } function He(e, t, n) { var r = !0, i = "width" === t ? e.offsetWidth : e.offsetHeight, o = we(e), s = "border-box" === d.css(e, "boxSizing", !1, o); if (i <= 0 || null == i) { if (((i = Te(e, t, o)) < 0 || null == i) && (i = e.style[t]), be.test(i)) return i; r = s && (c.boxSizingReliable() || i === e.style[t]), i = parseFloat(i) || 0 } return i + qe(e, t, n || (s ? "border" : "content"), r, o) + "px" } function Oe(e, t) { for (var n, r, i, o = [], s = 0, a = e.length; s < a; s++)(r = e[s]).style && (o[s] = F.get(r, "olddisplay"), n = r.style.display, t ? (o[s] || "none" !== n || (r.style.display = ""), "" === r.style.display && z(r) && (o[s] = F.access(r, "olddisplay", ye(r.nodeName)))) : (i = z(r), "none" === n && i || F.set(r, "olddisplay", i ? n : d.css(r, "display")))); for (s = 0; s < a; s++)(r = e[s]).style && (t && "none" !== r.style.display && "" !== r.style.display || (r.style.display = t ? o[s] || "" : "none")); return e } function Fe(e, t, n, r, i) { return new Fe.prototype.init(e, t, n, r, i) } d.extend({ cssHooks: { opacity: { get: function (e, t) { if (t) { var n = Te(e, "opacity"); return "" === n ? "1" : n } } } }, cssNumber: { columnCount: !0, fillOpacity: !0, flexGrow: !0, flexShrink: !0, fontWeight: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0 }, cssProps: { float: "cssFloat" }, style: function (e, t, n, r) { if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { var i, o, s, a = d.camelCase(t), u = e.style; if (t = d.cssProps[a] || (d.cssProps[a] = Ae(u, a)), s = d.cssHooks[t] || d.cssHooks[a], void 0 === n) return s && "get" in s && void 0 !== (i = s.get(e, !1, r)) ? i : u[t]; "string" === (o = typeof n) && (i = Ee.exec(n)) && (n = (i[1] + 1) * i[2] + parseFloat(d.css(e, t)), o = "number"), null != n && n == n && ("number" !== o || d.cssNumber[a] || (n += "px"), c.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (u[t] = "inherit"), s && "set" in s && void 0 === (n = s.set(e, n, r)) || (u[t] = n)) } }, css: function (e, t, n, r) { var i, o, s, a = d.camelCase(t); return t = d.cssProps[a] || (d.cssProps[a] = Ae(e.style, a)), (s = d.cssHooks[t] || d.cssHooks[a]) && "get" in s && (i = s.get(e, !0, n)), void 0 === i && (i = Te(e, t, r)), "normal" === i && t in De && (i = De[t]), "" === n || n ? (o = parseFloat(i), !0 === n || d.isNumeric(o) ? o || 0 : i) : i } }), d.each(["height", "width"], function (e, t) { d.cssHooks[t] = { get: function (e, n, r) { if (n) return Ne.test(d.css(e, "display")) && 0 === e.offsetWidth ? d.swap(e, Se, function () { return He(e, t, r) }) : He(e, t, r) }, set: function (e, n, r) { var i = r && we(e); return Le(0, n, r ? qe(e, t, r, "border-box" === d.css(e, "boxSizing", !1, i), i) : 0) } } }), d.cssHooks.marginRight = Ce(c.reliableMarginRight, function (e, t) { if (t) return d.swap(e, { display: "inline-block" }, Te, [e, "marginRight"]) }), d.each({ margin: "", padding: "", border: "Width" }, function (e, t) { d.cssHooks[e + t] = { expand: function (n) { for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++)i[e + _[r] + t] = o[r] || o[r - 2] || o[0]; return i } }, xe.test(e) || (d.cssHooks[e + t].set = Le) }), d.fn.extend({ css: function (e, t) { return H(this, function (e, t, n) { var r, i, o = {}, s = 0; if (d.isArray(t)) { for (r = we(e), i = t.length; s < i; s++)o[t[s]] = d.css(e, t[s], !1, r); return o } return void 0 !== n ? d.style(e, t, n) : d.css(e, t) }, e, t, arguments.length > 1) }, show: function () { return Oe(this, !0) }, hide: function () { return Oe(this) }, toggle: function (e) { return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function () { z(this) ? d(this).show() : d(this).hide() }) } }), d.Tween = Fe, Fe.prototype = { constructor: Fe, init: function (e, t, n, r, i, o) { this.elem = e, this.prop = n, this.easing = i || "swing", this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = o || (d.cssNumber[n] ? "" : "px") }, cur: function () { var e = Fe.propHooks[this.prop]; return e && e.get ? e.get(this) : Fe.propHooks._default.get(this) }, run: function (e) { var t, n = Fe.propHooks[this.prop]; return this.options.duration ? this.pos = t = d.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) : Fe.propHooks._default.set(this), this } }, Fe.prototype.init.prototype = Fe.prototype, Fe.propHooks = { _default: { get: function (e) { var t; return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = d.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0 : e.elem[e.prop] }, set: function (e) { d.fx.step[e.prop] ? d.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[d.cssProps[e.prop]] || d.cssHooks[e.prop]) ? d.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now } } }, Fe.propHooks.scrollTop = Fe.propHooks.scrollLeft = { set: function (e) { e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now) } }, d.easing = { linear: function (e) { return e }, swing: function (e) { return .5 - Math.cos(e * Math.PI) / 2 } }, d.fx = Fe.prototype.init, d.fx.step = {}; var Pe, Re, Me, We, $e, Ie = /^(?:toggle|show|hide)$/, Be = new RegExp("^(?:([+-])=|)(" + B + ")([a-z%]*)$", "i"), _e = /queueHooks$/, ze = [function (e, t, n) { var r, i, o, s, a, u, l, c = this, f = {}, p = e.style, h = e.nodeType && z(e), g = F.get(e, "fxshow"); n.queue || (null == (a = d._queueHooks(e, "fx")).unqueued && (a.unqueued = 0, u = a.empty.fire, a.empty.fire = function () { a.unqueued || u() }), a.unqueued++ , c.always(function () { c.always(function () { a.unqueued-- , d.queue(e, "fx").length || a.empty.fire() }) })); 1 === e.nodeType && ("height" in t || "width" in t) && (n.overflow = [p.overflow, p.overflowX, p.overflowY], l = d.css(e, "display"), "inline" === ("none" === l ? F.get(e, "olddisplay") || ye(e.nodeName) : l) && "none" === d.css(e, "float") && (p.display = "inline-block")); n.overflow && (p.overflow = "hidden", c.always(function () { p.overflow = n.overflow[0], p.overflowX = n.overflow[1], p.overflowY = n.overflow[2] })); for (r in t) if (i = t[r], Ie.exec(i)) { if (delete t[r], o = o || "toggle" === i, i === (h ? "hide" : "show")) { if ("show" !== i || !g || void 0 === g[r]) continue; h = !0 } f[r] = g && g[r] || d.style(e, r) } else l = void 0; if (d.isEmptyObject(f)) "inline" === ("none" === l ? ye(e.nodeName) : l) && (p.display = l); else { g ? "hidden" in g && (h = g.hidden) : g = F.access(e, "fxshow", {}), o && (g.hidden = !h), h ? d(e).show() : c.done(function () { d(e).hide() }), c.done(function () { var t; F.remove(e, "fxshow"); for (t in f) d.style(e, t, f[t]) }); for (r in f) s = Ye(h ? g[r] : 0, r, c), r in g || (g[r] = s.start, h && (s.end = s.start, s.start = "width" === r || "height" === r ? 1 : 0)) } }], Xe = { "*": [function (e, t) { var n = this.createTween(e, t), r = n.cur(), i = Be.exec(t), o = i && i[3] || (d.cssNumber[e] ? "" : "px"), s = (d.cssNumber[e] || "px" !== o && +r) && Be.exec(d.css(n.elem, e)), a = 1, u = 20; if (s && s[3] !== o) { o = o || s[3], i = i || [], s = +r || 1; do { s /= a = a || ".5", d.style(n.elem, e, s + o) } while (a !== (a = n.cur() / r) && 1 !== a && --u) } return i && (s = n.start = +s || +r || 0, n.unit = o, n.end = i[1] ? s + (i[1] + 1) * i[2] : +i[2]), n }] }; function Ue() { return setTimeout(function () { Pe = void 0 }), Pe = d.now() } function Ve(e, t) { var n, r = 0, i = { height: e }; for (t = t ? 1 : 0; r < 4; r += 2 - t)i["margin" + (n = _[r])] = i["padding" + n] = e; return t && (i.opacity = i.width = e), i } function Ye(e, t, n) { for (var r, i = (Xe[t] || []).concat(Xe["*"]), o = 0, s = i.length; o < s; o++)if (r = i[o].call(n, t, e)) return r } function Ge(e, t, n) { var r, i, o = 0, s = ze.length, a = d.Deferred().always(function () { delete u.elem }), u = function () { if (i) return !1; for (var t = Pe || Ue(), n = Math.max(0, l.startTime + l.duration - t), r = 1 - (n / l.duration || 0), o = 0, s = l.tweens.length; o < s; o++)l.tweens[o].run(r); return a.notifyWith(e, [l, r, n]), r < 1 && s ? n : (a.resolveWith(e, [l]), !1) }, l = a.promise({ elem: e, props: d.extend({}, t), opts: d.extend(!0, { specialEasing: {} }, n), originalProperties: t, originalOptions: n, startTime: Pe || Ue(), duration: n.duration, tweens: [], createTween: function (t, n) { var r = d.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing); return l.tweens.push(r), r }, stop: function (t) { var n = 0, r = t ? l.tweens.length : 0; if (i) return this; for (i = !0; n < r; n++)l.tweens[n].run(1); return t ? a.resolveWith(e, [l, t]) : a.rejectWith(e, [l, t]), this } }), c = l.props; for (!function (e, t) { var n, r, i, o, s; for (n in e) if (i = t[r = d.camelCase(n)], o = e[n], d.isArray(o) && (i = o[1], o = e[n] = o[0]), n !== r && (e[r] = o, delete e[n]), (s = d.cssHooks[r]) && "expand" in s) { o = s.expand(o), delete e[r]; for (n in o) n in e || (e[n] = o[n], t[n] = i) } else t[r] = i }(c, l.opts.specialEasing); o < s; o++)if (r = ze[o].call(l, e, c, l.opts)) return r; return d.map(c, Ye, l), d.isFunction(l.opts.start) && l.opts.start.call(e, l), d.fx.timer(d.extend(u, { elem: e, anim: l, queue: l.opts.queue })), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always) } d.Animation = d.extend(Ge, { tweener: function (e, t) { d.isFunction(e) ? (t = e, e = ["*"]) : e = e.split(" "); for (var n, r = 0, i = e.length; r < i; r++)n = e[r], Xe[n] = Xe[n] || [], Xe[n].unshift(t) }, prefilter: function (e, t) { t ? ze.unshift(e) : ze.push(e) } }), d.speed = function (e, t, n) { var r = e && "object" == typeof e ? d.extend({}, e) : { complete: n || !n && t || d.isFunction(e) && e, duration: e, easing: n && t || t && !d.isFunction(t) && t }; return r.duration = d.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in d.fx.speeds ? d.fx.speeds[r.duration] : d.fx.speeds._default, null != r.queue && !0 !== r.queue || (r.queue = "fx"), r.old = r.complete, r.complete = function () { d.isFunction(r.old) && r.old.call(this), r.queue && d.dequeue(this, r.queue) }, r }, d.fn.extend({ fadeTo: function (e, t, n, r) { return this.filter(z).css("opacity", 0).show().end().animate({ opacity: t }, e, n, r) }, animate: function (e, t, n, r) { var i = d.isEmptyObject(e), o = d.speed(t, n, r), s = function () { var t = Ge(this, d.extend({}, e), o); (i || F.get(this, "finish")) && t.stop(!0) }; return s.finish = s, i || !1 === o.queue ? this.each(s) : this.queue(o.queue, s) }, 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, i = null != e && e + "queueHooks", o = d.timers, s = F.get(this); if (i) s[i] && s[i].stop && r(s[i]); else for (i in s) s[i] && s[i].stop && _e.test(i) && r(s[i]); for (i = o.length; i--;)o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), t = !1, o.splice(i, 1)); !t && n || d.dequeue(this, e) }) }, finish: function (e) { return !1 !== e && (e = e || "fx"), this.each(function () { var t, n = F.get(this), r = n[e + "queue"], i = n[e + "queueHooks"], o = d.timers, s = r ? r.length : 0; for (n.finish = !0, d.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--;)o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1)); for (t = 0; t < s; t++)r[t] && r[t].finish && r[t].finish.call(this); delete n.finish }) } }), d.each(["toggle", "show", "hide"], function (e, t) { var n = d.fn[t]; d.fn[t] = function (e, r, i) { return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(Ve(t, !0), e, r, i) } }), d.each({ slideDown: Ve("show"), slideUp: Ve("hide"), slideToggle: Ve("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function (e, t) { d.fn[e] = function (e, n, r) { return this.animate(t, e, n, r) } }), d.timers = [], d.fx.tick = function () { var e, t = 0, n = d.timers; for (Pe = d.now(); t < n.length; t++)(e = n[t])() || n[t] !== e || n.splice(t--, 1); n.length || d.fx.stop(), Pe = void 0 }, d.fx.timer = function (e) { d.timers.push(e), e() ? d.fx.start() : d.timers.pop() }, d.fx.interval = 13, d.fx.start = function () { Re || (Re = setInterval(d.fx.tick, d.fx.interval)) }, d.fx.stop = function () { clearInterval(Re), Re = null }, d.fx.speeds = { slow: 600, fast: 200, _default: 400 }, d.fn.delay = function (e, t) { return e = d.fx && d.fx.speeds[e] || e, t = t || "fx", this.queue(t, function (t, n) { var r = setTimeout(t, e); n.stop = function () { clearTimeout(r) } }) }, Me = f.createElement("input"), We = f.createElement("select"), $e = We.appendChild(f.createElement("option")), Me.type = "checkbox", c.checkOn = "" !== Me.value, c.optSelected = $e.selected, We.disabled = !0, c.optDisabled = !$e.disabled, (Me = f.createElement("input")).value = "t", Me.type = "radio", c.radioValue = "t" === Me.value; var Qe, Je = d.expr.attrHandle; d.fn.extend({ attr: function (e, t) { return H(this, d.attr, e, t, arguments.length > 1) }, removeAttr: function (e) { return this.each(function () { d.removeAttr(this, e) }) } }), d.extend({ attr: function (e, t, n) { var r, i, o = e.nodeType; if (e && 3 !== o && 8 !== o && 2 !== o) return typeof e.getAttribute === U ? d.prop(e, t, n) : (1 === o && d.isXMLDoc(e) || (t = t.toLowerCase(), r = d.attrHooks[t] || (d.expr.match.bool.test(t) ? Qe : void 0)), void 0 === n ? r && "get" in r && null !== (i = r.get(e, t)) ? i : null == (i = d.find.attr(e, t)) ? void 0 : i : null !== n ? r && "set" in r && void 0 !== (i = r.set(e, n, t)) ? i : (e.setAttribute(t, n + ""), n) : void d.removeAttr(e, t)) }, removeAttr: function (e, t) { var n, r, i = 0, o = t && t.match(A); if (o && 1 === e.nodeType) for (; n = o[i++];)r = d.propFix[n] || n, d.expr.match.bool.test(n) && (e[r] = !1), e.removeAttribute(n) }, attrHooks: { type: { set: function (e, t) { if (!c.radioValue && "radio" === t && d.nodeName(e, "input")) { var n = e.value; return e.setAttribute("type", t), n && (e.value = n), t } } } } }), Qe = { set: function (e, t, n) { return !1 === t ? d.removeAttr(e, n) : e.setAttribute(n, n), n } }, d.each(d.expr.match.bool.source.match(/\w+/g), function (e, t) { var n = Je[t] || d.find.attr; Je[t] = function (e, t, r) { var i, o; return r || (o = Je[t], Je[t] = i, i = null != n(e, t, r) ? t.toLowerCase() : null, Je[t] = o), i } }); var Ke = /^(?:input|select|textarea|button)$/i; d.fn.extend({ prop: function (e, t) { return H(this, d.prop, e, t, arguments.length > 1) }, removeProp: function (e) { return this.each(function () { delete this[d.propFix[e] || e] }) } }), d.extend({ propFix: { for: "htmlFor", class: "className" }, prop: function (e, t, n) { var r, i, o = e.nodeType; if (e && 3 !== o && 8 !== o && 2 !== o) return (1 !== o || !d.isXMLDoc(e)) && (t = d.propFix[t] || t, i = d.propHooks[t]), void 0 !== n ? i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t] }, propHooks: { tabIndex: { get: function (e) { return e.hasAttribute("tabindex") || Ke.test(e.nodeName) || e.href ? e.tabIndex : -1 } } } }), c.optSelected || (d.propHooks.selected = { get: function (e) { var t = e.parentNode; return t && t.parentNode && t.parentNode.selectedIndex, null } }), d.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () { d.propFix[this.toLowerCase()] = this }); var Ze = /[\t\r\n\f]/g; d.fn.extend({ addClass: function (e) { var t, n, r, i, o, s, a = "string" == typeof e && e, u = 0, l = this.length; if (d.isFunction(e)) return this.each(function (t) { d(this).addClass(e.call(this, t, this.className)) }); if (a) for (t = (e || "").match(A) || []; u < l; u++)if (r = 1 === (n = this[u]).nodeType && (n.className ? (" " + n.className + " ").replace(Ze, " ") : " ")) { for (o = 0; i = t[o++];)r.indexOf(" " + i + " ") < 0 && (r += i + " "); s = d.trim(r), n.className !== s && (n.className = s) } return this }, removeClass: function (e) { var t, n, r, i, o, s, a = 0 === arguments.length || "string" == typeof e && e, u = 0, l = this.length; if (d.isFunction(e)) return this.each(function (t) { d(this).removeClass(e.call(this, t, this.className)) }); if (a) for (t = (e || "").match(A) || []; u < l; u++)if (r = 1 === (n = this[u]).nodeType && (n.className ? (" " + n.className + " ").replace(Ze, " ") : "")) { for (o = 0; i = t[o++];)for (; r.indexOf(" " + i + " ") >= 0;)r = r.replace(" " + i + " ", " "); s = e ? d.trim(r) : "", n.className !== s && (n.className = s) } return this }, toggleClass: function (e, t) { var n = typeof e; return "boolean" == typeof t && "string" === n ? t ? this.addClass(e) : this.removeClass(e) : d.isFunction(e) ? this.each(function (n) { d(this).toggleClass(e.call(this, n, this.className, t), t) }) : this.each(function () { if ("string" === n) for (var t, r = 0, i = d(this), o = e.match(A) || []; t = o[r++];)i.hasClass(t) ? i.removeClass(t) : i.addClass(t); else n !== U && "boolean" !== n || (this.className && F.set(this, "__className__", this.className), this.className = this.className || !1 === e ? "" : F.get(this, "__className__") || "") }) }, hasClass: function (e) { for (var t = " " + e + " ", n = 0, r = this.length; n < r; n++)if (1 === this[n].nodeType && (" " + this[n].className + " ").replace(Ze, " ").indexOf(t) >= 0) return !0; return !1 } }); var et = /\r/g; d.fn.extend({ val: function (e) { var t, n, r, i = this[0]; return arguments.length ? (r = d.isFunction(e), this.each(function (n) { var i; 1 === this.nodeType && (null == (i = r ? e.call(this, n, d(this).val()) : e) ? i = "" : "number" == typeof i ? i += "" : d.isArray(i) && (i = d.map(i, function (e) { return null == e ? "" : e + "" })), (t = d.valHooks[this.type] || d.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, i, "value") || (this.value = i)) })) : i ? (t = d.valHooks[i.type] || d.valHooks[i.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(i, "value")) ? n : "string" == typeof (n = i.value) ? n.replace(et, "") : null == n ? "" : n : void 0 } }), d.extend({ valHooks: { option: { get: function (e) { var t = d.find.attr(e, "value"); return null != t ? t : d.trim(d.text(e)) } }, select: { get: function (e) { for (var t, n, r = e.options, i = e.selectedIndex, o = "select-one" === e.type || i < 0, s = o ? null : [], a = o ? i + 1 : r.length, u = i < 0 ? a : o ? i : 0; u < a; u++)if (((n = r[u]).selected || u === i) && (c.optDisabled ? !n.disabled : null === n.getAttribute("disabled")) && (!n.parentNode.disabled || !d.nodeName(n.parentNode, "optgroup"))) { if (t = d(n).val(), o) return t; s.push(t) } return s }, set: function (e, t) { for (var n, r, i = e.options, o = d.makeArray(t), s = i.length; s--;)((r = i[s]).selected = d.inArray(r.value, o) >= 0) && (n = !0); return n || (e.selectedIndex = -1), o } } } }), d.each(["radio", "checkbox"], function () { d.valHooks[this] = { set: function (e, t) { if (d.isArray(t)) return e.checked = d.inArray(d(e).val(), t) >= 0 } }, c.checkOn || (d.valHooks[this].get = function (e) { return null === e.getAttribute("value") ? "on" : e.value }) }), d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (e, t) { d.fn[t] = function (e, n) { return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t) } }), d.fn.extend({ hover: function (e, t) { return this.mouseenter(e).mouseleave(t || e) }, 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) } }); var tt = d.now(), nt = /\?/; d.parseJSON = function (e) { return JSON.parse(e + "") }, d.parseXML = function (e) { var t, n; if (!e || "string" != typeof e) return null; try { n = new DOMParser, t = n.parseFromString(e, "text/xml") } catch (e) { t = void 0 } return t && !t.getElementsByTagName("parsererror").length || d.error("Invalid XML: " + e), t }; var rt = /#.*$/, it = /([?&])_=[^&]*/, ot = /^(.*?):[ \t]*([^\r\n]*)$/gm, st = /^(?:GET|HEAD)$/, at = /^\/\//, ut = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, lt = {}, ct = {}, ft = "*/".concat("*"), pt = e.location.href, dt = ut.exec(pt.toLowerCase()) || []; function ht(e) { return function (t, n) { "string" != typeof t && (n = t, t = "*"); var r, i = 0, o = t.toLowerCase().match(A) || []; if (d.isFunction(n)) for (; r = o[i++];)"+" === r[0] ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n) } } function gt(e, t, n, r) { var i = {}, o = e === ct; function s(a) { var u; return i[a] = !0, d.each(e[a] || [], function (e, a) { var l = a(t, n, r); return "string" != typeof l || o || i[l] ? o ? !(u = l) : void 0 : (t.dataTypes.unshift(l), s(l), !1) }), u } return s(t.dataTypes[0]) || !i["*"] && s("*") } function mt(e, t) { var n, r, i = d.ajaxSettings.flatOptions || {}; for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); return r && d.extend(!0, e, r), e } d.extend({ active: 0, lastModified: {}, etag: {}, ajaxSettings: { url: pt, type: "GET", isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(dt[1]), 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: /xml/, html: /html/, json: /json/ }, responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, converters: { "* text": String, "text html": !0, "text json": d.parseJSON, "text xml": d.parseXML }, flatOptions: { url: !0, context: !0 } }, ajaxSetup: function (e, t) { return t ? mt(mt(e, d.ajaxSettings), t) : mt(d.ajaxSettings, e) }, ajaxPrefilter: ht(lt), ajaxTransport: ht(ct), ajax: function (e, t) { "object" == typeof e && (t = e, e = void 0), t = t || {}; var n, r, i, o, s, a, u, l, c = d.ajaxSetup({}, t), f = c.context || c, p = c.context && (f.nodeType || f.jquery) ? d(f) : d.event, h = d.Deferred(), g = d.Callbacks("once memory"), m = c.statusCode || {}, v = {}, y = {}, x = 0, b = "canceled", w = { readyState: 0, getResponseHeader: function (e) { var t; if (2 === x) { if (!o) for (o = {}; t = ot.exec(i);)o[t[1].toLowerCase()] = t[2]; t = o[e.toLowerCase()] } return null == t ? null : t }, getAllResponseHeaders: function () { return 2 === x ? i : null }, setRequestHeader: function (e, t) { var n = e.toLowerCase(); return x || (e = y[n] = y[n] || e, v[e] = t), this }, overrideMimeType: function (e) { return x || (c.mimeType = e), this }, statusCode: function (e) { var t; if (e) if (x < 2) for (t in e) m[t] = [m[t], e[t]]; else w.always(e[w.status]); return this }, abort: function (e) { var t = e || b; return n && n.abort(t), T(0, t), this } }; if (h.promise(w).complete = g.add, w.success = w.done, w.error = w.fail, c.url = ((e || c.url || pt) + "").replace(rt, "").replace(at, dt[1] + "//"), c.type = t.method || t.type || c.method || c.type, c.dataTypes = d.trim(c.dataType || "*").toLowerCase().match(A) || [""], null == c.crossDomain && (a = ut.exec(c.url.toLowerCase()), c.crossDomain = !(!a || a[1] === dt[1] && a[2] === dt[2] && (a[3] || ("http:" === a[1] ? "80" : "443")) === (dt[3] || ("http:" === dt[1] ? "80" : "443")))), c.data && c.processData && "string" != typeof c.data && (c.data = d.param(c.data, c.traditional)), gt(lt, c, t, w), 2 === x) return w; (u = d.event && c.global) && 0 == d.active++ && d.event.trigger("ajaxStart"), c.type = c.type.toUpperCase(), c.hasContent = !st.test(c.type), r = c.url, c.hasContent || (c.data && (r = c.url += (nt.test(r) ? "&" : "?") + c.data, delete c.data), !1 === c.cache && (c.url = it.test(r) ? r.replace(it, "$1_=" + tt++) : r + (nt.test(r) ? "&" : "?") + "_=" + tt++)), c.ifModified && (d.lastModified[r] && w.setRequestHeader("If-Modified-Since", d.lastModified[r]), d.etag[r] && w.setRequestHeader("If-None-Match", d.etag[r])), (c.data && c.hasContent && !1 !== c.contentType || t.contentType) && w.setRequestHeader("Content-Type", c.contentType), w.setRequestHeader("Accept", c.dataTypes[0] && c.accepts[c.dataTypes[0]] ? c.accepts[c.dataTypes[0]] + ("*" !== c.dataTypes[0] ? ", " + ft + "; q=0.01" : "") : c.accepts["*"]); for (l in c.headers) w.setRequestHeader(l, c.headers[l]); if (c.beforeSend && (!1 === c.beforeSend.call(f, w, c) || 2 === x)) return w.abort(); b = "abort"; for (l in { success: 1, error: 1, complete: 1 }) w[l](c[l]); if (n = gt(ct, c, t, w)) { w.readyState = 1, u && p.trigger("ajaxSend", [w, c]), c.async && c.timeout > 0 && (s = setTimeout(function () { w.abort("timeout") }, c.timeout)); try { x = 1, n.send(v, T) } catch (e) { if (!(x < 2)) throw e; T(-1, e) } } else T(-1, "No Transport"); function T(e, t, o, a) { var l, v, y, b, T, C = t; 2 !== x && (x = 2, s && clearTimeout(s), n = void 0, i = a || "", w.readyState = e > 0 ? 4 : 0, l = e >= 200 && e < 300 || 304 === e, o && (b = function (e, t, n) { for (var r, i, o, s, a = e.contents, u = e.dataTypes; "*" === u[0];)u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); if (r) for (i in a) if (a[i] && a[i].test(r)) { u.unshift(i); break } if (u[0] in n) o = u[0]; else { for (i in n) { if (!u[0] || e.converters[i + " " + u[0]]) { o = i; break } s || (s = i) } o = o || s } if (o) return o !== u[0] && u.unshift(o), n[o] }(c, w, o)), b = function (e, t, n, r) { var i, o, s, a, u, l = {}, c = e.dataTypes.slice(); if (c[1]) for (s in e.converters) l[s.toLowerCase()] = e.converters[s]; for (o = c.shift(); o;)if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift()) if ("*" === o) o = u; else if ("*" !== u && u !== o) { if (!(s = l[u + " " + o] || l["* " + o])) for (i in l) if ((a = i.split(" "))[1] === o && (s = l[u + " " + a[0]] || l["* " + a[0]])) { !0 === s ? s = l[i] : !0 !== l[i] && (o = a[0], c.unshift(a[1])); break } if (!0 !== s) if (s && e.throws) t = s(t); else try { t = s(t) } catch (e) { return { state: "parsererror", error: s ? e : "No conversion from " + u + " to " + o } } } return { state: "success", data: t } }(c, b, w, l), l ? (c.ifModified && ((T = w.getResponseHeader("Last-Modified")) && (d.lastModified[r] = T), (T = w.getResponseHeader("etag")) && (d.etag[r] = T)), 204 === e || "HEAD" === c.type ? C = "nocontent" : 304 === e ? C = "notmodified" : (C = b.state, v = b.data, l = !(y = b.error))) : (y = C, !e && C || (C = "error", e < 0 && (e = 0))), w.status = e, w.statusText = (t || C) + "", l ? h.resolveWith(f, [v, C, w]) : h.rejectWith(f, [w, C, y]), w.statusCode(m), m = void 0, u && p.trigger(l ? "ajaxSuccess" : "ajaxError", [w, c, l ? v : y]), g.fireWith(f, [w, C]), u && (p.trigger("ajaxComplete", [w, c]), --d.active || d.event.trigger("ajaxStop"))) } return w }, getJSON: function (e, t, n) { return d.get(e, t, n, "json") }, getScript: function (e, t) { return d.get(e, void 0, t, "script") } }), d.each(["get", "post"], function (e, t) { d[t] = function (e, n, r, i) { return d.isFunction(n) && (i = i || r, r = n, n = void 0), d.ajax({ url: e, type: t, dataType: i, data: n, success: r }) } }), d._evalUrl = function (e) { return d.ajax({ url: e, type: "GET", dataType: "script", async: !1, global: !1, throws: !0 }) }, d.fn.extend({ wrapAll: function (e) { var t; return d.isFunction(e) ? this.each(function (t) { d(this).wrapAll(e.call(this, t)) }) : (this[0] && (t = d(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 d.isFunction(e) ? this.each(function (t) { d(this).wrapInner(e.call(this, t)) }) : this.each(function () { var t = d(this), n = t.contents(); n.length ? n.wrapAll(e) : t.append(e) }) }, wrap: function (e) { var t = d.isFunction(e); return this.each(function (n) { d(this).wrapAll(t ? e.call(this, n) : e) }) }, unwrap: function () { return this.parent().each(function () { d.nodeName(this, "body") || d(this).replaceWith(this.childNodes) }).end() } }), d.expr.filters.hidden = function (e) { return e.offsetWidth <= 0 && e.offsetHeight <= 0 }, d.expr.filters.visible = function (e) { return !d.expr.filters.hidden(e) }; var vt = /%20/g, yt = /\[\]$/, xt = /\r?\n/g, bt = /^(?:submit|button|image|reset|file)$/i, wt = /^(?:input|select|textarea|keygen)/i; function Tt(e, t, n, r) { var i; if (d.isArray(t)) d.each(t, function (t, i) { n || yt.test(e) ? r(e, i) : Tt(e + "[" + ("object" == typeof i ? t : "") + "]", i, n, r) }); else if (n || "object" !== d.type(t)) r(e, t); else for (i in t) Tt(e + "[" + i + "]", t[i], n, r) } d.param = function (e, t) { var n, r = [], i = function (e, t) { t = d.isFunction(t) ? t() : null == t ? "" : t, r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t) }; if (void 0 === t && (t = d.ajaxSettings && d.ajaxSettings.traditional), d.isArray(e) || e.jquery && !d.isPlainObject(e)) d.each(e, function () { i(this.name, this.value) }); else for (n in e) Tt(n, e[n], t, i); return r.join("&").replace(vt, "+") }, d.fn.extend({ serialize: function () { return d.param(this.serializeArray()) }, serializeArray: function () { return this.map(function () { var e = d.prop(this, "elements"); return e ? d.makeArray(e) : this }).filter(function () { var e = this.type; return this.name && !d(this).is(":disabled") && wt.test(this.nodeName) && !bt.test(e) && (this.checked || !X.test(e)) }).map(function (e, t) { var n = d(this).val(); return null == n ? null : d.isArray(n) ? d.map(n, function (e) { return { name: t.name, value: e.replace(xt, "\r\n") } }) : { name: t.name, value: n.replace(xt, "\r\n") } }).get() } }), d.ajaxSettings.xhr = function () { try { return new XMLHttpRequest } catch (e) { } }; var Ct = 0, Nt = {}, kt = { 0: 200, 1223: 204 }, Et = d.ajaxSettings.xhr(); e.attachEvent && e.attachEvent("onunload", function () { for (var e in Nt) Nt[e]() }), c.cors = !!Et && "withCredentials" in Et, c.ajax = Et = !!Et, d.ajaxTransport(function (e) { var t; if (c.cors || Et && !e.crossDomain) return { send: function (n, r) { var i, o = e.xhr(), s = ++Ct; if (o.open(e.type, e.url, e.async, e.username, e.password), e.xhrFields) for (i in e.xhrFields) o[i] = e.xhrFields[i]; e.mimeType && o.overrideMimeType && o.overrideMimeType(e.mimeType), e.crossDomain || n["X-Requested-With"] || (n["X-Requested-With"] = "XMLHttpRequest"); for (i in n) o.setRequestHeader(i, n[i]); t = function (e) { return function () { t && (delete Nt[s], t = o.onload = o.onerror = null, "abort" === e ? o.abort() : "error" === e ? r(o.status, o.statusText) : r(kt[o.status] || o.status, o.statusText, "string" == typeof o.responseText ? { text: o.responseText } : void 0, o.getAllResponseHeaders())) } }, o.onload = t(), o.onerror = t("error"), t = Nt[s] = t("abort"); try { o.send(e.hasContent && e.data || null) } catch (e) { if (t) throw e } }, abort: function () { t && t() } } }), d.ajaxSetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /(?:java|ecma)script/ }, converters: { "text script": function (e) { return d.globalEval(e), e } } }), d.ajaxPrefilter("script", function (e) { void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET") }), d.ajaxTransport("script", function (e) { var t, n; if (e.crossDomain) return { send: function (r, i) { t = d("<script>").prop({ async: !0, 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) }), f.head.appendChild(t[0]) }, abort: function () { n && n() } } }); var St = [], Dt = /(=)\?(?=&|$)|\?\?/; d.ajaxSetup({ jsonp: "callback", jsonpCallback: function () { var e = St.pop() || d.expando + "_" + tt++; return this[e] = !0, e } }), d.ajaxPrefilter("json jsonp", function (t, n, r) { var i, o, s, a = !1 !== t.jsonp && (Dt.test(t.url) ? "url" : "string" == typeof t.data && !(t.contentType || "").indexOf("application/x-www-form-urlencoded") && Dt.test(t.data) && "data"); if (a || "jsonp" === t.dataTypes[0]) return i = t.jsonpCallback = d.isFunction(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, a ? t[a] = t[a].replace(Dt, "$1" + i) : !1 !== t.jsonp && (t.url += (nt.test(t.url) ? "&" : "?") + t.jsonp + "=" + i), t.converters["script json"] = function () { return s || d.error(i + " was not called"), s[0] }, t.dataTypes[0] = "json", o = e[i], e[i] = function () { s = arguments }, r.always(function () { e[i] = o, t[i] && (t.jsonpCallback = n.jsonpCallback, St.push(i)), s && d.isFunction(o) && o(s[0]), s = o = void 0 }), "script" }), d.parseHTML = function (e, t, n) { if (!e || "string" != typeof e) return null; "boolean" == typeof t && (n = t, t = !1), t = t || f; var r = w.exec(e), i = !n && []; return r ? [t.createElement(r[1])] : (r = d.buildFragment([e], t, i), i && i.length && d(i).remove(), d.merge([], r.childNodes)) }; var jt = d.fn.load; d.fn.load = function (e, t, n) { if ("string" != typeof e && jt) return jt.apply(this, arguments); var r, i, o, s = this, a = e.indexOf(" "); return a >= 0 && (r = d.trim(e.slice(a)), e = e.slice(0, a)), d.isFunction(t) ? (n = t, t = void 0) : t && "object" == typeof t && (i = "POST"), s.length > 0 && d.ajax({ url: e, type: i, dataType: "html", data: t }).done(function (e) { o = arguments, s.html(r ? d("<div>").append(d.parseHTML(e)).find(r) : e) }).complete(n && function (e, t) { s.each(n, o || [e.responseText, t, e]) }), this }, d.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) { d.fn[t] = function (e) { return this.on(t, e) } }), d.expr.filters.animated = function (e) { return d.grep(d.timers, function (t) { return e === t.elem }).length }; var At = e.document.documentElement; function Lt(e) { return d.isWindow(e) ? e : 9 === e.nodeType && e.defaultView } d.offset = { setOffset: function (e, t, n) { var r, i, o, s, a, u, l = d.css(e, "position"), c = d(e), f = {}; "static" === l && (e.style.position = "relative"), a = c.offset(), o = d.css(e, "top"), u = d.css(e, "left"), ("absolute" === l || "fixed" === l) && (o + u).indexOf("auto") > -1 ? (s = (r = c.position()).top, i = r.left) : (s = parseFloat(o) || 0, i = parseFloat(u) || 0), d.isFunction(t) && (t = t.call(e, n, a)), null != t.top && (f.top = t.top - a.top + s), null != t.left && (f.left = t.left - a.left + i), "using" in t ? t.using.call(e, f) : c.css(f) } }, d.fn.extend({ offset: function (e) { if (arguments.length) return void 0 === e ? this : this.each(function (t) { d.offset.setOffset(this, e, t) }); var t, n, r = this[0], i = { top: 0, left: 0 }, o = r && r.ownerDocument; return o ? (t = o.documentElement, d.contains(t, r) ? (typeof r.getBoundingClientRect !== U && (i = r.getBoundingClientRect()), n = Lt(o), { top: i.top + n.pageYOffset - t.clientTop, left: i.left + n.pageXOffset - t.clientLeft }) : i) : void 0 }, position: function () { if (this[0]) { var e, t, n = this[0], r = { top: 0, left: 0 }; return "fixed" === d.css(n, "position") ? t = n.getBoundingClientRect() : (e = this.offsetParent(), t = this.offset(), d.nodeName(e[0], "html") || (r = e.offset()), r.top += d.css(e[0], "borderTopWidth", !0), r.left += d.css(e[0], "borderLeftWidth", !0)), { top: t.top - r.top - d.css(n, "marginTop", !0), left: t.left - r.left - d.css(n, "marginLeft", !0) } } }, offsetParent: function () { return this.map(function () { for (var e = this.offsetParent || At; e && !d.nodeName(e, "html") && "static" === d.css(e, "position");)e = e.offsetParent; return e || At }) } }), d.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (t, n) { var r = "pageYOffset" === n; d.fn[t] = function (i) { return H(this, function (t, i, o) { var s = Lt(t); if (void 0 === o) return s ? s[n] : t[i]; s ? s.scrollTo(r ? e.pageXOffset : o, r ? o : e.pageYOffset) : t[i] = o }, t, i, arguments.length, null) } }), d.each(["top", "left"], function (e, t) { d.cssHooks[t] = Ce(c.pixelPosition, function (e, n) { if (n) return n = Te(e, t), be.test(n) ? d(e).position()[t] + "px" : n }) }), d.each({ Height: "height", Width: "width" }, function (e, t) { d.each({ padding: "inner" + e, content: t, "": "outer" + e }, function (n, r) { d.fn[r] = function (r, i) { var o = arguments.length && (n || "boolean" != typeof r), s = n || (!0 === r || !0 === i ? "margin" : "border"); return H(this, function (t, n, r) { var i; return d.isWindow(t) ? 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 === r ? d.css(t, n, s) : d.style(t, n, r, s) }, t, o ? r : void 0, o, null) } }) }), d.fn.size = function () { return this.length }, d.fn.andSelf = d.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () { return d }); var qt = e.jQuery, Ht = e.$; return d.noConflict = function (t) { return e.$ === d && (e.$ = Ht), t && e.jQuery === d && (e.jQuery = qt), d }, typeof t === U && (e.jQuery = e.$ = d), d });
!function (e, t) { "object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.AOS = t() : e.AOS = t() }(this, function () { return function (e) { function t(n) { if (o[n]) return o[n].exports; var a = o[n] = { exports: {}, id: n, loaded: !1 }; return e[n].call(a.exports, a, a.exports, t), a.loaded = !0, a.exports } var o = {}; return t.m = e, t.c = o, t.p = "dist/index.html", t(0) }([function (e, t, o) { "use strict"; function n(e) { return e && e.__esModule ? e : { default: e } } var a = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var o = arguments[t]; for (var n in o) Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]) } return e }, i = n((n(o(1)), o(5))), r = n(o(6)), c = n(o(7)), s = n(o(8)), u = n(o(9)), d = n(o(10)), l = n(o(13)), f = [], m = !1, p = document.all && !window.atob, b = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, startEvent: "DOMContentLoaded" }, v = function () { return !(arguments.length <= 0 || void 0 === arguments[0]) && arguments[0] && (m = !0), m ? (f = (0, d.default)(f, b), (0, u.default)(f, b.once), f) : void 0 }, g = function () { f = (0, l.default)(), v() }; e.exports = { init: function (e) { return b = a(b, e), f = (0, l.default)(), !0 === (t = b.disable) || "mobile" === t && s.default.mobile() || "phone" === t && s.default.phone() || "tablet" === t && s.default.tablet() || "function" == typeof t && !0 === t() || p ? void f.forEach(function (e, t) { e.node.removeAttribute("data-aos"), e.node.removeAttribute("data-aos-easing"), e.node.removeAttribute("data-aos-duration"), e.node.removeAttribute("data-aos-delay") }) : (document.querySelector("body").setAttribute("data-aos-easing", b.easing), document.querySelector("body").setAttribute("data-aos-duration", b.duration), document.querySelector("body").setAttribute("data-aos-delay", b.delay), "DOMContentLoaded" === b.startEvent && ["complete", "interactive"].indexOf(document.readyState) > -1 ? v(!0) : "load" === b.startEvent ? window.addEventListener(b.startEvent, function () { v(!0) }) : document.addEventListener(b.startEvent, function () { v(!0) }), window.addEventListener("resize", (0, r.default)(v, 50, !0)), window.addEventListener("orientationchange", (0, r.default)(v, 50, !0)), window.addEventListener("scroll", (0, i.default)(function () { (0, u.default)(f, b.once) }, 99)), document.addEventListener("DOMNodeRemoved", function (e) { var t = e.target; t && 1 === t.nodeType && t.hasAttribute && t.hasAttribute("data-aos") && (0, r.default)(g, 50, !0) }), (0, c.default)("[data-aos]", g), f); var t }, refresh: v, refreshHard: g } }, function (e, t) { }, , , , function (e, t, o) { "use strict"; var n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol ? "symbol" : typeof e }, a = o(6), i = "Expected a function"; e.exports = function (e, t, o) { var r, c, s = !0, u = !0; if ("function" != typeof e) throw new TypeError(i); return c = void 0 === (r = o) ? "undefined" : n(r), !!r && ("object" == c || "function" == c) && (s = "leading" in o ? !!o.leading : s, u = "trailing" in o ? !!o.trailing : u), a(e, t, { leading: s, maxWait: t, trailing: u }) } }, function (e, t) { "use strict"; function o(e) { var t = void 0 === e ? "undefined" : i(e); return !!e && ("object" == t || "function" == t) } function n(e) { return "symbol" == (void 0 === e ? "undefined" : i(e)) || !!(t = e) && "object" == (void 0 === t ? "undefined" : i(t)) && v.call(e) == d; var t } function a(e) { if ("number" == typeof e) return e; if (n(e)) return c; if (o(e)) { var t = (a = e.valueOf, (i = o(a) ? v.call(a) : "") == s || i == u ? e.valueOf() : e); e = o(t) ? t + "" : t } var a, i; if ("string" != typeof e) return 0 === e ? e : +e; e = e.replace(l, ""); var r = m.test(e); return r || p.test(e) ? b(e.slice(2), r ? 2 : 8) : f.test(e) ? c : +e } var i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol ? "symbol" : typeof e }, r = "Expected a function", c = NaN, s = "[object Function]", u = "[object GeneratorFunction]", d = "[object Symbol]", l = /^\s+|\s+$/g, f = /^[-+]0x[0-9a-f]+$/i, m = /^0b[01]+$/i, p = /^0o[0-7]+$/i, b = parseInt, v = Object.prototype.toString, g = Math.max, w = Math.min, y = Date.now; e.exports = function (e, t, n) { function i(t) { var o = l, n = f; return l = f = void 0, h = t, p = e.apply(n, o) } function c(e) { var o = e - v; return !v || o >= t || 0 > o || x && e - h >= m } function s() { var e, o, n = y(); return c(n) ? u(n) : void (b = setTimeout(s, (e = n, o = t - (e - v), x ? w(o, m - (e - h)) : o))) } function u(e) { return clearTimeout(b), b = void 0, j && l ? i(e) : (l = f = void 0, p) } function d() { var e, o = y(), n = c(o); if (l = arguments, f = this, v = o, n) { if (void 0 === b) return e = v, h = e, b = setTimeout(s, t), k ? i(e) : p; if (x) return clearTimeout(b), b = setTimeout(s, t), i(v) } return void 0 === b && (b = setTimeout(s, t)), p } var l, f, m, p, b, v = 0, h = 0, k = !1, x = !1, j = !0; if ("function" != typeof e) throw new TypeError(r); return t = a(t) || 0, o(n) && (k = !!n.leading, m = (x = "maxWait" in n) ? g(a(n.maxWait) || 0, t) : m, j = "trailing" in n ? !!n.trailing : j), d.cancel = function () { void 0 !== b && clearTimeout(b), v = h = 0, l = f = b = void 0 }, d.flush = function () { return void 0 === b ? p : u(y()) }, d } }, function (e, t) { "use strict"; function o() { for (var e, t, o = 0, a = i.length; a > o; o++) { e = i[o]; for (var r, c = 0, s = (t = n.querySelectorAll(e.selector)).length; s > c; c++)r = t[c], r.ready || (r.ready = !0, e.fn.call(r, r)) } } Object.defineProperty(t, "__esModule", { value: !0 }); var n = window.document, a = window.MutationObserver || window.WebKitMutationObserver, i = [], r = void 0; t.default = function (e, t) { i.push({ selector: e, fn: t }), !r && a && (r = new a(o)).observe(n.documentElement, { childList: !0, subtree: !0, removedNodes: !0 }), o() } }, function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var o = function () { function e(e, t) { for (var o = 0; o < t.length; o++) { var n = t[o]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } return function (t, o, n) { return o && e(t.prototype, o), n && e(t, n), t } }(), n = function () { function e() { !function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e) } return o(e, [{ key: "phone", value: function () { var e, t = !1; return e = navigator.userAgent || navigator.vendor || window.opera, (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (t = !0), t } }, { key: "mobile", value: function () { var e, t = !1; return e = navigator.userAgent || navigator.vendor || window.opera, (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (t = !0), t } }, { key: "tablet", value: function () { return this.mobile() && !this.phone() } }]), e }(); t.default = new n }, function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); t.default = function (e, t) { var o = window.pageYOffset, n = window.innerHeight; e.forEach(function (e, a) { var i, r, c, s; r = n + o, c = t, s = (i = e).node.getAttribute("data-aos-once"), r > i.position ? i.node.classList.add("aos-animate") : void 0 !== s && ("false" === s || !c && "true" !== s) && i.node.classList.remove("aos-animate") }) } }, function (e, t, o) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, a = o(11), i = (n = a) && n.__esModule ? n : { default: n }; t.default = function (e, t) { return e.forEach(function (e, o) { e.node.classList.add("aos-init"), e.position = (0, i.default)(e.node, t.offset) }), e } }, function (e, t, o) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, a = o(12), i = (n = a) && n.__esModule ? n : { default: n }; t.default = function (e, t) { var o = 0, n = 0, a = window.innerHeight, r = { offset: e.getAttribute("data-aos-offset"), anchor: e.getAttribute("data-aos-anchor"), anchorPlacement: e.getAttribute("data-aos-anchor-placement") }; switch (r.offset && !isNaN(r.offset) && (n = parseInt(r.offset)), r.anchor && document.querySelectorAll(r.anchor) && (e = document.querySelectorAll(r.anchor)[0]), o = (0, i.default)(e).top, r.anchorPlacement) { case "top-bottom": break; case "center-bottom": o += e.offsetHeight / 2; break; case "bottom-bottom": o += e.offsetHeight; break; case "top-center": o += a / 2; break; case "bottom-center": o += a / 2 + e.offsetHeight; break; case "center-center": o += a / 2 + e.offsetHeight / 2; break; case "top-top": o += a; break; case "bottom-top": o += e.offsetHeight + a; break; case "center-top": o += e.offsetHeight / 2 + a }return r.anchorPlacement || r.offset || isNaN(t) || (n = t), o + n } }, function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); t.default = function (e) { for (var t = 0, o = 0; e && !isNaN(e.offsetLeft) && !isNaN(e.offsetTop);)t += e.offsetLeft - ("BODY" != e.tagName ? e.scrollLeft : 0), o += e.offsetTop - ("BODY" != e.tagName ? e.scrollTop : 0), e = e.offsetParent; return { top: o, left: t } } }, function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); t.default = function (e) { e = e || document.querySelectorAll("[data-aos]"); var t = []; return [].forEach.call(e, function (e, o) { t.push({ node: e }) }), t } }]) }), jQuery(function () { AOS.init({ offset: 150, duration: 800 }) }), jQuery(document).on("layoutComplete", function (e, t) { AOS.refresh() }), jQuery(window).on("load", function (e) { AOS.refresh() });
!function () { "use strict"; function t(o) { if (!o) throw new Error("No options passed to Waypoint constructor"); if (!o.element) throw new Error("No element option passed to Waypoint constructor"); if (!o.handler) throw new Error("No handler option passed to Waypoint constructor"); this.key = "waypoint-" + e, this.options = t.Adapter.extend({}, t.defaults, o), this.element = this.options.element, this.adapter = new t.Adapter(this.element), this.callback = o.handler, this.axis = this.options.horizontal ? "horizontal" : "vertical", this.enabled = this.options.enabled, this.triggerPoint = null, this.group = t.Group.findOrCreate({ name: this.options.group, axis: this.axis }), this.context = t.Context.findOrCreateByElement(this.options.context), t.offsetAliases[this.options.offset] && (this.options.offset = t.offsetAliases[this.options.offset]), this.group.add(this), this.context.add(this), i[this.key] = this, e += 1 } var e = 0, i = {}; t.prototype.queueTrigger = function (t) { this.group.queueTrigger(this, t) }, t.prototype.trigger = function (t) { this.enabled && this.callback && this.callback.apply(this, t) }, t.prototype.destroy = function () { this.context.remove(this), this.group.remove(this), delete i[this.key] }, t.prototype.disable = function () { return this.enabled = !1, this }, t.prototype.enable = function () { return this.context.refresh(), this.enabled = !0, this }, t.prototype.next = function () { return this.group.next(this) }, t.prototype.previous = function () { return this.group.previous(this) }, t.invokeAll = function (t) { var e = []; for (var o in i) e.push(i[o]); for (var n = 0, r = e.length; r > n; n++)e[n][t]() }, t.destroyAll = function () { t.invokeAll("destroy") }, t.disableAll = function () { t.invokeAll("disable") }, t.enableAll = function () { t.invokeAll("enable") }, t.refreshAll = function () { t.Context.refreshAll() }, t.viewportHeight = function () { return window.innerHeight || document.documentElement.clientHeight }, t.viewportWidth = function () { return document.documentElement.clientWidth }, t.adapters = [], t.defaults = { context: window, continuous: !0, enabled: !0, group: "default", horizontal: !1, offset: 0 }, t.offsetAliases = { "bottom-in-view": function () { return this.context.innerHeight() - this.adapter.outerHeight() }, "right-in-view": function () { return this.context.innerWidth() - this.adapter.outerWidth() } }, window.Waypoint = t }(), function () { "use strict"; function t(t) { window.setTimeout(t, 1e3 / 60) } function e(t) { this.element = t, this.Adapter = n.Adapter, this.adapter = new this.Adapter(t), this.key = "waypoint-context-" + i, this.didScroll = !1, this.didResize = !1, this.oldScroll = { x: this.adapter.scrollLeft(), y: this.adapter.scrollTop() }, this.waypoints = { vertical: {}, horizontal: {} }, t.waypointContextKey = this.key, o[t.waypointContextKey] = this, i += 1, this.createThrottledScrollHandler(), this.createThrottledResizeHandler() } var i = 0, o = {}, n = window.Waypoint, r = window.onload; e.prototype.add = function (t) { var e = t.options.horizontal ? "horizontal" : "vertical"; this.waypoints[e][t.key] = t, this.refresh() }, e.prototype.checkEmpty = function () { var t = this.Adapter.isEmptyObject(this.waypoints.horizontal), e = this.Adapter.isEmptyObject(this.waypoints.vertical); t && e && (this.adapter.off(".waypoints"), delete o[this.key]) }, e.prototype.createThrottledResizeHandler = function () { function t() { e.handleResize(), e.didResize = !1 } var e = this; this.adapter.on("resize.waypoints", function () { e.didResize || (e.didResize = !0, n.requestAnimationFrame(t)) }) }, e.prototype.createThrottledScrollHandler = function () { function t() { e.handleScroll(), e.didScroll = !1 } var e = this; this.adapter.on("scroll.waypoints", function () { (!e.didScroll || n.isTouch) && (e.didScroll = !0, n.requestAnimationFrame(t)) }) }, e.prototype.handleResize = function () { n.Context.refreshAll() }, e.prototype.handleScroll = function () { var t = {}, e = { horizontal: { newScroll: this.adapter.scrollLeft(), oldScroll: this.oldScroll.x, forward: "right", backward: "left" }, vertical: { newScroll: this.adapter.scrollTop(), oldScroll: this.oldScroll.y, forward: "down", backward: "up" } }; for (var i in e) { var o = e[i], n = o.newScroll > o.oldScroll ? o.forward : o.backward; for (var r in this.waypoints[i]) { var s = this.waypoints[i][r], a = o.oldScroll < s.triggerPoint, l = o.newScroll >= s.triggerPoint; (a && l || !a && !l) && (s.queueTrigger(n), t[s.group.id] = s.group) } } for (var p in t) t[p].flushTriggers(); this.oldScroll = { x: e.horizontal.newScroll, y: e.vertical.newScroll } }, e.prototype.innerHeight = function () { return this.element == this.element.window ? n.viewportHeight() : this.adapter.innerHeight() }, e.prototype.remove = function (t) { delete this.waypoints[t.axis][t.key], this.checkEmpty() }, e.prototype.innerWidth = function () { return this.element == this.element.window ? n.viewportWidth() : this.adapter.innerWidth() }, e.prototype.destroy = function () { var t = []; for (var e in this.waypoints) for (var i in this.waypoints[e]) t.push(this.waypoints[e][i]); for (var o = 0, n = t.length; n > o; o++)t[o].destroy() }, e.prototype.refresh = function () { var t, e = this.element == this.element.window, i = e ? void 0 : this.adapter.offset(), o = {}; this.handleScroll(), t = { horizontal: { contextOffset: e ? 0 : i.left, contextScroll: e ? 0 : this.oldScroll.x, contextDimension: this.innerWidth(), oldScroll: this.oldScroll.x, forward: "right", backward: "left", offsetProp: "left" }, vertical: { contextOffset: e ? 0 : i.top, contextScroll: e ? 0 : this.oldScroll.y, contextDimension: this.innerHeight(), oldScroll: this.oldScroll.y, forward: "down", backward: "up", offsetProp: "top" } }; for (var r in t) { var s = t[r]; for (var a in this.waypoints[r]) { var l, p, h, c, u = this.waypoints[r][a], d = u.options.offset, f = u.triggerPoint, w = 0, y = null == f; u.element !== u.element.window && (w = u.adapter.offset()[s.offsetProp]), "function" == typeof d ? d = d.apply(u) : "string" == typeof d && (d = parseFloat(d), u.options.offset.indexOf("%") > -1 && (d = Math.ceil(s.contextDimension * d / 100))), l = s.contextScroll - s.contextOffset, u.triggerPoint = w + l - d, p = f < s.oldScroll, h = u.triggerPoint >= s.oldScroll, c = !p && !h, !y && (p && h) ? (u.queueTrigger(s.backward), o[u.group.id] = u.group) : !y && c ? (u.queueTrigger(s.forward), o[u.group.id] = u.group) : y && s.oldScroll >= u.triggerPoint && (u.queueTrigger(s.forward), o[u.group.id] = u.group) } } return n.requestAnimationFrame(function () { for (var t in o) o[t].flushTriggers() }), this }, e.findOrCreateByElement = function (t) { return e.findByElement(t) || new e(t) }, e.refreshAll = function () { for (var t in o) o[t].refresh() }, e.findByElement = function (t) { return o[t.waypointContextKey] }, window.onload = function () { r && r(), e.refreshAll() }, n.requestAnimationFrame = function (e) { (window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || t).call(window, e) }, n.Context = e }(), function () { "use strict"; function t(t, e) { return t.triggerPoint - e.triggerPoint } function e(t, e) { return e.triggerPoint - t.triggerPoint } function i(t) { this.name = t.name, this.axis = t.axis, this.id = this.name + "-" + this.axis, this.waypoints = [], this.clearTriggerQueues(), o[this.axis][this.name] = this } var o = { vertical: {}, horizontal: {} }, n = window.Waypoint; i.prototype.add = function (t) { this.waypoints.push(t) }, i.prototype.clearTriggerQueues = function () { this.triggerQueues = { up: [], down: [], left: [], right: [] } }, i.prototype.flushTriggers = function () { for (var i in this.triggerQueues) { var o = this.triggerQueues[i], n = "up" === i || "left" === i; o.sort(n ? e : t); for (var r = 0, s = o.length; s > r; r += 1) { var a = o[r]; (a.options.continuous || r === o.length - 1) && a.trigger([i]) } } this.clearTriggerQueues() }, i.prototype.next = function (e) { this.waypoints.sort(t); var i = n.Adapter.inArray(e, this.waypoints); return i === this.waypoints.length - 1 ? null : this.waypoints[i + 1] }, i.prototype.previous = function (e) { this.waypoints.sort(t); var i = n.Adapter.inArray(e, this.waypoints); return i ? this.waypoints[i - 1] : null }, i.prototype.queueTrigger = function (t, e) { this.triggerQueues[e].push(t) }, i.prototype.remove = function (t) { var e = n.Adapter.inArray(t, this.waypoints); e > -1 && this.waypoints.splice(e, 1) }, i.prototype.first = function () { return this.waypoints[0] }, i.prototype.last = function () { return this.waypoints[this.waypoints.length - 1] }, i.findOrCreate = function (t) { return o[t.axis][t.name] || new i(t) }, n.Group = i }(), function () { "use strict"; function t(t) { this.$element = e(t) } var e = window.jQuery, i = window.Waypoint; e.each(["innerHeight", "innerWidth", "off", "offset", "on", "outerHeight", "outerWidth", "scrollLeft", "scrollTop"], function (e, i) { t.prototype[i] = function () { var t = Array.prototype.slice.call(arguments); return this.$element[i].apply(this.$element, t) } }), e.each(["extend", "inArray", "isEmptyObject"], function (i, o) { t[o] = e[o] }), i.adapters.push({ name: "jquery", Adapter: t }), i.Adapter = t }(), function () { "use strict"; function t(t) { return function () { var i = [], o = arguments[0]; return t.isFunction(arguments[0]) && ((o = t.extend({}, arguments[1])).handler = arguments[0]), this.each(function () { var n = t.extend({}, o, { element: this }); "string" == typeof n.context && (n.context = t(this).closest(n.context)[0]), i.push(new e(n)) }), i } } var e = window.Waypoint; window.jQuery && (window.jQuery.fn.waypoint = t(window.jQuery)), window.Zepto && (window.Zepto.fn.waypoint = t(window.Zepto)) }(), function () { "use strict"; function t(o) { this.options = e.extend({}, i.defaults, t.defaults, o), this.element = this.options.element, this.$element = e(this.element), this.createWrapper(), this.createWaypoint() } var e = window.jQuery, i = window.Waypoint; t.prototype.createWaypoint = function () { var t = this.options.handler; this.waypoint = new i(e.extend({}, this.options, { element: this.wrapper, handler: e.proxy(function (e) { var i = this.options.direction.indexOf(e) > -1, o = i ? this.$element.outerHeight(!0) : ""; this.$wrapper.height(o), this.$element.toggleClass(this.options.stuckClass, i), t && t.call(this, e) }, this) })) }, t.prototype.createWrapper = function () { this.options.wrapper && this.$element.wrap(this.options.wrapper), this.$wrapper = this.$element.parent(), this.wrapper = this.$wrapper[0] }, t.prototype.destroy = function () { this.$element.parent()[0] === this.wrapper && (this.waypoint.destroy(), this.$element.removeClass(this.options.stuckClass), this.options.wrapper && this.$element.unwrap()) }, t.defaults = { wrapper: '<div class="sticky-wrapper" />', stuckClass: "stuck", direction: "down right" }, i.Sticky = t }();


if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||o.data("bs.tooltip",n=new i(this,s)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,p=l.test(r);p&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),d=s[0].offsetWidth,c=s[0].offsetHeight;if(p){var f=r,u=this.getPosition(this.$viewport);r="bottom"==r&&h.bottom+c>u.bottom?"top":"top"==r&&h.top-c<u.top?"bottom":"right"==r&&h.right+d>u.width?"left":"left"==r&&h.left-d<u.left?"right":r,s.removeClass(f).addClass(r)}var g=this.getCalculatedOffset(r,h,d,c);this.applyPlacement(g,r);var v=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",v).emulateTransitionEnd(i.TRANSITION_DURATION):v()}},i.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,a=parseInt(o.css("margin-top"),10),r=parseInt(o.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top+=a,e.left+=r,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,p=o[0].offsetHeight;"top"==i&&p!=s&&(e.top=e.top+s-p);var h=this.getViewportAdjustedDelta(i,e,l,p);h.left?e.left+=h.left:e.top+=h.top;var d=/top|bottom/.test(i),c=d?2*h.left-n+l:2*h.top-s+p,f=d?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(c,o[0][f],d)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function o(){"in"!=n.hoverState&&s.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,s=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,r,s)},i.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var p=e.left-s,h=e.left+s+i;p<a.left?n.left=a.left-p:h>a.right&&(n.left=a.left+a.width-h)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new i(this)),"string"==typeof e&&n[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=e.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},i.prototype.activate=function(e,o,n){function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var a=o.find("> .active"),r=n&&t.support.transition&&(a.length&&a.hasClass("fade")||!!o.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),a.removeClass("in")};var o=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.3.6",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION):n.call(this)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=o,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventDefault();var s=e(n),a=s.data("bs.collapse"),r=a?"toggle":n.data();i.call(s,r)})}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});var n=function(){i||t(o).trigger(t.support.transition.end)};return setTimeout(n,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})});var i=t('[data-toggle="tooltip"]');i.length&&i.tooltip()}(jQuery);
;
!function (e) { "use strict"; function t() { i = e.innerWidth || document.documentElement.clientWidth, a = e.innerHeight || document.documentElement.clientHeight } function n(e, t, n) { e.addEventListener ? e.addEventListener(t, n) : e.attachEvent("on" + t, function () { n.call(e) }) } function o(n) { e.requestAnimationFrame(function () { "scroll" !== n.type && t(); for (var e = 0, o = g.length; e < o; e++)"scroll" !== n.type && (g[e].coverImage(), g[e].clipContainer()), g[e].onScroll() }) } Date.now || (Date.now = function () { return (new Date).getTime() }), e.requestAnimationFrame || function () { for (var t = ["webkit", "moz"], n = 0; n < t.length && !e.requestAnimationFrame; ++n) { var o = t[n]; e.requestAnimationFrame = e[o + "RequestAnimationFrame"], e.cancelAnimationFrame = e[o + "CancelAnimationFrame"] || e[o + "CancelRequestAnimationFrame"] } if (/iP(ad|hone|od).*OS 6/.test(e.navigator.userAgent) || !e.requestAnimationFrame || !e.cancelAnimationFrame) { var i = 0; e.requestAnimationFrame = function (e) { var t = Date.now(), n = Math.max(i + 16, t); return setTimeout(function () { e(i = n) }, n - t) }, e.cancelAnimationFrame = clearTimeout } }(); var i, a, r = function () { if (!e.getComputedStyle) return !1; var t, n = document.createElement("p"), o = { webkitTransform: "-webkit-transform", OTransform: "-o-transform", msTransform: "-ms-transform", MozTransform: "-moz-transform", transform: "transform" }; (document.body || document.documentElement).insertBefore(n, null); for (var i in o) void 0 !== n.style[i] && (n.style[i] = "translate3d(1px,1px,1px)", t = e.getComputedStyle(n).getPropertyValue(o[i])); return (document.body || document.documentElement).removeChild(n), void 0 !== t && t.length > 0 && "none" !== t }(), l = navigator.userAgent.toLowerCase().indexOf("android") > -1, s = /iPad|iPhone|iPod/.test(navigator.userAgent) && !e.MSStream, m = !!e.opera, c = /Edge\/\d+/.test(navigator.userAgent), p = /Trident.*rv[ :]*11\./.test(navigator.userAgent), u = !!Function("/*@cc_on return document.documentMode===10@*/")(), d = document.all && !e.atob; t(); var g = [], f = function () { var e = 0; return function (t, n) { var o, i = this; if (i.$item = t, i.defaults = { type: "scroll", speed: .5, imgSrc: null, imgWidth: null, imgHeight: null, enableTransform: !0, elementInViewport: null, zIndex: -100, noAndroid: !1, noIos: !0, onScroll: null, onInit: null, onDestroy: null, onCoverImage: null }, o = JSON.parse(i.$item.getAttribute("data-jarallax") || "{}"), i.options = i.extend({}, i.defaults, o, n), !(l && i.options.noAndroid || s && i.options.noIos)) { i.options.speed = Math.min(2, Math.max(-1, parseFloat(i.options.speed))); var a = i.options.elementInViewport; a && "object" == typeof a && void 0 !== a.length && (a = a[0]), !a instanceof Element && (a = null), i.options.elementInViewport = a, i.instanceID = e++ , i.image = { src: i.options.imgSrc || null, $container: null, $item: null, width: i.options.imgWidth || null, height: i.options.imgHeight || null, useImgTag: s || l || m || p || u || c }, i.initImg() && i.init() } } }(); f.prototype.css = function (t, n) { if ("string" == typeof n) return e.getComputedStyle ? e.getComputedStyle(t).getPropertyValue(n) : t.style[n]; n.transform && (n.WebkitTransform = n.MozTransform = n.transform); for (var o in n) t.style[o] = n[o]; return t }, f.prototype.extend = function (e) { e = e || {}; for (var t = 1; t < arguments.length; t++)if (arguments[t]) for (var n in arguments[t]) arguments[t].hasOwnProperty(n) && (e[n] = arguments[t][n]); return e }, f.prototype.initImg = function () { var e = this; return null === e.image.src && (e.image.src = e.css(e.$item, "background-image").replace(/^url\(['"]?/g, "").replace(/['"]?\)$/g, "")), !(!e.image.src || "none" === e.image.src) }, f.prototype.init = function () { function e() { t.coverImage(), t.clipContainer(), t.onScroll(!0), t.$item.setAttribute("data-jarallax-original-styles", t.$item.getAttribute("style")), t.options.onInit && t.options.onInit.call(t), setTimeout(function () { t.$item && t.css(t.$item, { "background-image": "none", "background-attachment": "scroll", "background-size": "auto" }) }, 0) } var t = this, n = { position: "absolute", top: 0, left: 0, width: "100%", height: "100%", overflow: "hidden", pointerEvents: "none" }, o = { position: "fixed" }; t.image.$container = document.createElement("div"), t.css(t.image.$container, n), t.css(t.image.$container, { visibility: "hidden", "z-index": t.options.zIndex }), t.image.$container.setAttribute("id", "jarallax-container-" + t.instanceID), t.$item.appendChild(t.image.$container), t.image.useImgTag && r && t.options.enableTransform ? (t.image.$item = document.createElement("img"), t.image.$item.setAttribute("src", t.image.src), o = t.extend({ "max-width": "none" }, n, o)) : (t.image.$item = document.createElement("div"), o = t.extend({ "background-position": "50% 50%", "background-size": "100% auto", "background-repeat": "no-repeat no-repeat", "background-image": 'url("' + t.image.src + '")' }, n, o)), d && (o.backgroundAttachment = "fixed"), t.parentWithTransform = 0; for (var i = t.$item; null !== i && i !== document && 0 === t.parentWithTransform;) { var a = t.css(i, "-webkit-transform") || t.css(i, "-moz-transform") || t.css(i, "transform"); a && "none" !== a && (t.parentWithTransform = 1, t.css(t.image.$container, { transform: "translateX(0) translateY(0)" })), i = i.parentNode } t.css(t.image.$item, o), t.image.$container.appendChild(t.image.$item), t.image.width && t.image.height ? e() : t.getImageSize(t.image.src, function (n, o) { t.image.width = n, t.image.height = o, e() }), g.push(t) }, f.prototype.destroy = function () { for (var e = this, t = 0, n = g.length; t < n; t++)if (g[t].instanceID === e.instanceID) { g.splice(t, 1); break } var o = e.$item.getAttribute("data-jarallax-original-styles"); e.$item.removeAttribute("data-jarallax-original-styles"), "null" === o ? e.$item.removeAttribute("style") : e.$item.setAttribute("style", o), e.$clipStyles && e.$clipStyles.parentNode.removeChild(e.$clipStyles), e.image.$container.parentNode.removeChild(e.image.$container), e.options.onDestroy && e.options.onDestroy.call(e), delete e.$item.jarallax; for (var i in e) delete e[i] }, f.prototype.getImageSize = function (e, t) { if (e && t) { var n = new Image; n.onload = function () { t(n.width, n.height) }, n.src = e } }, f.prototype.clipContainer = function () { if (!d) { var e = this, t = e.image.$container.getBoundingClientRect(), n = t.width, o = t.height; if (!e.$clipStyles) e.$clipStyles = document.createElement("style"), e.$clipStyles.setAttribute("type", "text/css"), e.$clipStyles.setAttribute("id", "#jarallax-clip-" + e.instanceID), (document.head || document.getElementsByTagName("head")[0]).appendChild(e.$clipStyles); var i = ["#jarallax-container-" + e.instanceID + " {", "   clip: rect(0 " + n + "px " + o + "px 0);", "   clip: rect(0, " + n + "px, " + o + "px, 0);", "}"].join("\n"); e.$clipStyles.styleSheet ? e.$clipStyles.styleSheet.cssText = i : e.$clipStyles.innerHTML = i } }, f.prototype.coverImage = function () { var e = this; if (e.image.width && e.image.height) { var t = e.image.$container.getBoundingClientRect(), n = t.width, o = t.height, i = t.left, l = e.image.width, s = e.image.height, m = e.options.speed, c = "scroll" === e.options.type || "scroll-opacity" === e.options.type, p = 0, u = 0, d = o, g = 0, f = 0; c && (p = m * (o + a) / 2, (m < 0 || m > 1) && (p = m * Math.max(o, a) / 2), m < 0 || m > 1 ? d = Math.max(o, a) + 2 * Math.abs(p) : d += Math.abs(a - o) * (1 - m)), (u = d * l / s) < n && (d = (u = n) * s / l), e.bgPosVerticalCenter = 0, !(c && d < a) || r && e.options.enableTransform || (e.bgPosVerticalCenter = (a - d) / 2, d = a), c ? (g = i + (n - u) / 2, f = (a - d) / 2) : (g = (n - u) / 2, f = (o - d) / 2), r && e.options.enableTransform && e.parentWithTransform && (g -= i), e.parallaxScrollDistance = p, e.css(e.image.$item, { width: u + "px", height: d + "px", marginLeft: g + "px", marginTop: f + "px" }), e.options.onCoverImage && e.options.onCoverImage.call(e) } }, f.prototype.isVisible = function () { return this.isElementInViewport || !1 }, f.prototype.onScroll = function (e) { var t = this; if (t.image.width && t.image.height) { var n = t.$item.getBoundingClientRect(), o = n.top, l = n.height, s = { position: "absolute", visibility: "visible", backgroundPosition: "50% 50%" }, m = n; if (t.options.elementInViewport && (m = t.options.elementInViewport.getBoundingClientRect()), t.isElementInViewport = m.bottom >= 0 && m.right >= 0 && m.top <= a && m.left <= i, e || t.isElementInViewport) { var c = Math.max(0, o), p = Math.max(0, l + o), u = Math.max(0, -o), g = Math.max(0, o + l - a), f = Math.max(0, l - (o + l - a)), h = Math.max(0, -o + a - l), y = 1 - 2 * (a - o) / (a + l), v = 1; if (l < a ? v = 1 - (u || g) / l : p <= a ? v = p / a : f <= a && (v = f / a), "opacity" !== t.options.type && "scale-opacity" !== t.options.type && "scroll-opacity" !== t.options.type || (s.transform = "translate3d(0, 0, 0)", s.opacity = v), "scale" === t.options.type || "scale-opacity" === t.options.type) { var x = 1; t.options.speed < 0 ? x -= t.options.speed * v : x += t.options.speed * (1 - v), s.transform = "scale(" + x + ") translate3d(0, 0, 0)" } if ("scroll" === t.options.type || "scroll-opacity" === t.options.type) { var b = t.parallaxScrollDistance * y; r && t.options.enableTransform ? (t.parentWithTransform && (b -= o), s.transform = "translate3d(0, " + b + "px, 0)") : t.image.useImgTag ? s.top = b + "px" : (t.bgPosVerticalCenter && (b += t.bgPosVerticalCenter), s.backgroundPosition = "50% " + b + "px"), s.position = d ? "absolute" : "fixed" } t.css(t.image.$item, s), t.options.onScroll && t.options.onScroll.call(t, { section: n, beforeTop: c, beforeTopEnd: p, afterTop: u, beforeBottom: g, beforeBottomEnd: f, afterBottom: h, visiblePercent: v, fromViewportCenter: y }) } } }, n(e, "scroll", o), n(e, "resize", o), n(e, "orientationchange", o), n(e, "load", o); var h = function (e) { ("object" == typeof HTMLElement ? e instanceof HTMLElement : e && "object" == typeof e && null !== e && 1 === e.nodeType && "string" == typeof e.nodeName) && (e = [e]); for (var t, n = arguments[1], o = Array.prototype.slice.call(arguments, 2), i = e.length, a = 0; a < i; a++)if ("object" == typeof n || void 0 === n ? e[a].jarallax || (e[a].jarallax = new f(e[a], n)) : e[a].jarallax && (t = e[a].jarallax[n].apply(e[a].jarallax, o)), void 0 !== t) return t; return e }; h.constructor = f; var y = e.jarallax; if (e.jarallax = h, e.jarallax.noConflict = function () { return e.jarallax = y, this }, "undefined" != typeof jQuery) { var v = function () { var t = arguments || []; Array.prototype.unshift.call(t, this); var n = h.apply(e, t); return "object" != typeof n ? n : this }; v.constructor = f; var x = jQuery.fn.jarallax; jQuery.fn.jarallax = v, jQuery.fn.jarallax.noConflict = function () { return jQuery.fn.jarallax = x, this } } n(e, "DOMContentLoaded", function () { h(document.querySelectorAll("[data-jarallax], [data-jarallax-video]")) }) }(window);

!function(e){function t(e){var t=e.length,r=$.type(e);return"function"===r||$.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e}if(!e.jQuery){var $=function(e,t){return new $.fn.init(e,t)};$.isWindow=function(e){return null!=e&&e==e.window},$.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?a[o.call(e)]||"object":typeof e},$.isArray=Array.isArray||function(e){return"array"===$.type(e)},$.isPlainObject=function(e){var t;if(!e||"object"!==$.type(e)||e.nodeType||$.isWindow(e))return!1;try{if(e.constructor&&!n.call(e,"constructor")&&!n.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}for(t in e);return void 0===t||n.call(e,t)},$.each=function(e,r,a){var n,o=0,i=e.length,s=t(e);if(a){if(s)for(;i>o&&(n=r.apply(e[o],a),n!==!1);o++);else for(o in e)if(n=r.apply(e[o],a),n===!1)break}else if(s)for(;i>o&&(n=r.call(e[o],o,e[o]),n!==!1);o++);else for(o in e)if(n=r.call(e[o],o,e[o]),n===!1)break;return e},$.data=function(e,t,a){if(void 0===a){var n=e[$.expando],o=n&&r[n];if(void 0===t)return o;if(o&&t in o)return o[t]}else if(void 0!==t){var n=e[$.expando]||(e[$.expando]=++$.uuid);return r[n]=r[n]||{},r[n][t]=a,a}},$.removeData=function(e,t){var a=e[$.expando],n=a&&r[a];n&&$.each(t,function(e,t){delete n[t]})},$.extend=function(){var e,t,r,a,n,o,i=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"!=typeof i&&"function"!==$.type(i)&&(i={}),s===l&&(i=this,s--);l>s;s++)if(null!=(n=arguments[s]))for(a in n)e=i[a],r=n[a],i!==r&&(u&&r&&($.isPlainObject(r)||(t=$.isArray(r)))?(t?(t=!1,o=e&&$.isArray(e)?e:[]):o=e&&$.isPlainObject(e)?e:{},i[a]=$.extend(u,o,r)):void 0!==r&&(i[a]=r));return i},$.queue=function(e,r,a){function n(e,r){var a=r||[];return null!=e&&(t(Object(e))?!function(e,t){for(var r=+t.length,a=0,n=e.length;r>a;)e[n++]=t[a++];if(r!==r)for(;void 0!==t[a];)e[n++]=t[a++];return e.length=n,e}(a,"string"==typeof e?[e]:e):[].push.call(a,e)),a}if(e){r=(r||"fx")+"queue";var o=$.data(e,r);return a?(!o||$.isArray(a)?o=$.data(e,r,n(a)):o.push(a),o):o||[]}},$.dequeue=function(e,t){$.each(e.nodeType?[e]:e,function(e,r){t=t||"fx";var a=$.queue(r,t),n=a.shift();"inprogress"===n&&(n=a.shift()),n&&("fx"===t&&a.unshift("inprogress"),n.call(r,function(){$.dequeue(r,t)}))})},$.fn=$.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),r=this.offset(),a=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:$(e).offset();return r.top-=parseFloat(t.style.marginTop)||0,r.left-=parseFloat(t.style.marginLeft)||0,e.style&&(a.top+=parseFloat(e.style.borderTopWidth)||0,a.left+=parseFloat(e.style.borderLeftWidth)||0),{top:r.top-a.top,left:r.left-a.left}}};var r={};$.expando="velocity"+(new Date).getTime(),$.uuid=0;for(var a={},n=a.hasOwnProperty,o=a.toString,i="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<i.length;s++)a["[object "+i[s]+"]"]=i[s].toLowerCase();$.fn.init.prototype=$.fn,e.Velocity={Utilities:$}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,t,r,a){function n(e){for(var t=-1,r=e?e.length:0,a=[];++t<r;){var n=e[t];n&&a.push(n)}return a}function o(e){return g.isWrapped(e)?e=[].slice.call(e):g.isNode(e)&&(e=[e]),e}function i(e){var t=$.data(e,"velocity");return null===t?a:t}function s(e){return function(t){return Math.round(t*e)*(1/e)}}function l(e,r,a,n){function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,r){return((o(t,r)*e+i(t,r))*e+s(t))*e}function u(e,t,r){return 3*o(t,r)*e*e+2*i(t,r)*e+s(t)}function c(t,r){for(var n=0;m>n;++n){var o=u(r,e,a);if(0===o)return r;var i=l(r,e,a)-t;r-=i/o}return r}function p(){for(var t=0;b>t;++t)w[t]=l(t*x,e,a)}function f(t,r,n){var o,i,s=0;do i=r+(n-r)/2,o=l(i,e,a)-t,o>0?n=i:r=i;while(Math.abs(o)>h&&++s<v);return i}function d(t){for(var r=0,n=1,o=b-1;n!=o&&w[n]<=t;++n)r+=x;--n;var i=(t-w[n])/(w[n+1]-w[n]),s=r+i*x,l=u(s,e,a);return l>=y?c(t,s):0==l?s:f(t,r,r+x)}function g(){V=!0,(e!=r||a!=n)&&p()}var m=4,y=.001,h=1e-7,v=10,b=11,x=1/(b-1),S="Float32Array"in t;if(4!==arguments.length)return!1;for(var P=0;4>P;++P)if("number"!=typeof arguments[P]||isNaN(arguments[P])||!isFinite(arguments[P]))return!1;e=Math.min(e,1),a=Math.min(a,1),e=Math.max(e,0),a=Math.max(a,0);var w=S?new Float32Array(b):new Array(b),V=!1,C=function(t){return V||g(),e===r&&a===n?t:0===t?0:1===t?1:l(d(t),r,n)};C.getControlPoints=function(){return[{x:e,y:r},{x:a,y:n}]};var T="generateBezier("+[e,r,a,n]+")";return C.toString=function(){return T},C}function u(e,t){var r=e;return g.isString(e)?v.Easings[e]||(r=!1):r=g.isArray(e)&&1===e.length?s.apply(null,e):g.isArray(e)&&2===e.length?b.apply(null,e.concat([t])):g.isArray(e)&&4===e.length?l.apply(null,e):!1,r===!1&&(r=v.Easings[v.defaults.easing]?v.defaults.easing:h),r}function c(e){if(e){var t=(new Date).getTime(),r=v.State.calls.length;r>1e4&&(v.State.calls=n(v.State.calls));for(var o=0;r>o;o++)if(v.State.calls[o]){var s=v.State.calls[o],l=s[0],u=s[2],f=s[3],d=!!f,m=null;f||(f=v.State.calls[o][3]=t-16);for(var y=Math.min((t-f)/u.duration,1),h=0,b=l.length;b>h;h++){var S=l[h],w=S.element;if(i(w)){var V=!1;if(u.display!==a&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var C=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];$.each(C,function(e,t){x.setPropertyValue(w,"display",t)})}x.setPropertyValue(w,"display",u.display)}u.visibility!==a&&"hidden"!==u.visibility&&x.setPropertyValue(w,"visibility",u.visibility);for(var T in S)if("element"!==T){var k=S[T],A,F=g.isString(k.easing)?v.Easings[k.easing]:k.easing;if(1===y)A=k.endValue;else{var E=k.endValue-k.startValue;if(A=k.startValue+E*F(y,u,E),!d&&A===k.currentValue)continue}if(k.currentValue=A,"tween"===T)m=A;else{if(x.Hooks.registered[T]){var j=x.Hooks.getRoot(T),H=i(w).rootPropertyValueCache[j];H&&(k.rootPropertyValue=H)}var N=x.setPropertyValue(w,T,k.currentValue+(0===parseFloat(A)?"":k.unitType),k.rootPropertyValue,k.scrollData);x.Hooks.registered[T]&&(i(w).rootPropertyValueCache[j]=x.Normalizations.registered[j]?x.Normalizations.registered[j]("extract",null,N[1]):N[1]),"transform"===N[0]&&(V=!0)}}u.mobileHA&&i(w).transformCache.translate3d===a&&(i(w).transformCache.translate3d="(0px, 0px, 0px)",V=!0),V&&x.flushTransformCache(w)}}u.display!==a&&"none"!==u.display&&(v.State.calls[o][2].display=!1),u.visibility!==a&&"hidden"!==u.visibility&&(v.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],y,Math.max(0,f+u.duration-t),f,m),1===y&&p(o)}}v.State.isTicking&&P(c)}function p(e,t){if(!v.State.calls[e])return!1;for(var r=v.State.calls[e][0],n=v.State.calls[e][1],o=v.State.calls[e][2],s=v.State.calls[e][4],l=!1,u=0,c=r.length;c>u;u++){var p=r[u].element;if(t||o.loop||("none"===o.display&&x.setPropertyValue(p,"display",o.display),"hidden"===o.visibility&&x.setPropertyValue(p,"visibility",o.visibility)),o.loop!==!0&&($.queue(p)[1]===a||!/\.velocityQueueEntryFlag/i.test($.queue(p)[1]))&&i(p)){i(p).isAnimating=!1,i(p).rootPropertyValueCache={};var f=!1;$.each(x.Lists.transforms3D,function(e,t){var r=/^scale/.test(t)?1:0,n=i(p).transformCache[t];i(p).transformCache[t]!==a&&new RegExp("^\\("+r+"[^.]").test(n)&&(f=!0,delete i(p).transformCache[t])}),o.mobileHA&&(f=!0,delete i(p).transformCache.translate3d),f&&x.flushTransformCache(p),x.Values.removeClass(p,"velocity-animating")}if(!t&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(n,n)}catch(d){setTimeout(function(){throw d},1)}s&&o.loop!==!0&&s(n),o.loop!==!0||t||($.each(i(p).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),v(p,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&$.dequeue(p,o.queue)}v.State.calls[e]=!1;for(var g=0,m=v.State.calls.length;m>g;g++)if(v.State.calls[g]!==!1){l=!0;break}l===!1&&(v.State.isTicking=!1,delete v.State.calls,v.State.calls=[])}var f=function(){if(r.documentMode)return r.documentMode;for(var e=7;e>4;e--){var t=r.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return a}(),d=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r=(new Date).getTime(),a;return a=Math.max(0,16-(r-e)),e=r+a,setTimeout(function(){t(r+a)},a)}}(),g={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==a&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},$,m=!1;if(e.fn&&e.fn.jquery?($=e,m=!0):$=t.Velocity.Utilities,8>=f&&!m)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=f)return void(jQuery.fn.velocity=jQuery.fn.animate);var y=400,h="swing",v={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:r.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:$,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:y,easing:h,begin:a,complete:a,progress:a,display:a,visibility:a,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){$.data(e,"velocity",{isSVG:g.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:1},debug:!1};t.pageYOffset!==a?(v.State.scrollAnchor=t,v.State.scrollPropertyLeft="pageXOffset",v.State.scrollPropertyTop="pageYOffset"):(v.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,v.State.scrollPropertyLeft="scrollLeft",v.State.scrollPropertyTop="scrollTop");var b=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,a){var n={x:t.x+a.dx*r,v:t.v+a.dv*r,tension:t.tension,friction:t.friction};return{dx:n.v,dv:e(n)}}function r(r,a){var n={dx:r.v,dv:e(r)},o=t(r,.5*a,n),i=t(r,.5*a,o),s=t(r,a,i),l=1/6*(n.dx+2*(o.dx+i.dx)+s.dx),u=1/6*(n.dv+2*(o.dv+i.dv)+s.dv);return r.x=r.x+l*a,r.v=r.v+u*a,r}return function a(e,t,n){var o={x:-1,v:0,tension:null,friction:null},i=[0],s=0,l=1e-4,u=.016,c,p,f;for(e=parseFloat(e)||500,t=parseFloat(t)||20,n=n||null,o.tension=e,o.friction=t,c=null!==n,c?(s=a(e,t),p=s/n*u):p=u;;)if(f=r(f||o,p),i.push(1+f.x),s+=16,!(Math.abs(f.x)>l&&Math.abs(f.v)>l))break;return c?function(e){return i[e*(i.length-1)|0]}:s}}();v.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},$.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){v.Easings[t[0]]=l.apply(null,t[1])});var x=v.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<x.Lists.colors.length;e++){var t="color"===x.Lists.colors[e]?"0 0 0 1":"255 255 255 1";x.Hooks.templates[x.Lists.colors[e]]=["Red Green Blue Alpha",t]}var r,a,n;if(f)for(r in x.Hooks.templates){a=x.Hooks.templates[r],n=a[0].split(" ");var o=a[1].match(x.RegEx.valueSplit);"Color"===n[0]&&(n.push(n.shift()),o.push(o.shift()),x.Hooks.templates[r]=[n.join(" "),o.join(" ")])}for(r in x.Hooks.templates){a=x.Hooks.templates[r],n=a[0].split(" ");for(var e in n){var i=r+n[e],s=e;x.Hooks.registered[i]=[r,s]}}},getRoot:function(e){var t=x.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return x.RegEx.valueUnwrap.test(t)&&(t=t.match(x.RegEx.valueUnwrap)[1]),x.Values.isCSSNullValue(t)&&(t=x.Hooks.templates[e][1]),t},extractValue:function(e,t){var r=x.Hooks.registered[e];if(r){var a=r[0],n=r[1];return t=x.Hooks.cleanRootPropertyValue(a,t),t.toString().match(x.RegEx.valueSplit)[n]}return t},injectValue:function(e,t,r){var a=x.Hooks.registered[e];if(a){var n=a[0],o=a[1],i,s;return r=x.Hooks.cleanRootPropertyValue(n,r),i=r.toString().match(x.RegEx.valueSplit),i[o]=t,s=i.join(" ")}return r}},Normalizations:{registered:{clip:function(e,t,r){switch(e){case"name":return"clip";case"extract":var a;return x.RegEx.wrappedValueAlreadyExtracted.test(r)?a=r:(a=r.toString().match(x.RegEx.valueUnwrap),a=a?a[1].replace(/,(\s+)?/g," "):r),a;case"inject":return"rect("+r+")"}},blur:function(e,t,r){switch(e){case"name":return v.State.isFirefox?"filter":"-webkit-filter";case"extract":var a=parseFloat(r);if(!a&&0!==a){var n=r.toString().match(/blur\(([0-9]+[A-z]+)\)/i);a=n?n[1]:0}return a;case"inject":return parseFloat(r)?"blur("+r+")":"none"}},opacity:function(e,t,r){if(8>=f)switch(e){case"name":return"filter";case"extract":var a=r.toString().match(/alpha\(opacity=(.*)\)/i);return r=a?a[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(r)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":return r;case"inject":return r}}},register:function(){9>=f||v.State.isGingerbread||(x.Lists.transformsBase=x.Lists.transformsBase.concat(x.Lists.transforms3D));for(var e=0;e<x.Lists.transformsBase.length;e++)!function(){var t=x.Lists.transformsBase[e];x.Normalizations.registered[t]=function(e,r,n){switch(e){case"name":return"transform";case"extract":return i(r)===a||i(r).transformCache[t]===a?/^scale/i.test(t)?1:0:i(r).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":v.State.isAndroid&&i(r).transformCache[t]===a&&1>n&&(n=1),o=!/(\d)$/i.test(n);break;case"skew":o=!/(deg|\d)$/i.test(n);break;case"rotate":o=!/(deg|\d)$/i.test(n)}return o||(i(r).transformCache[t]="("+n+")"),i(r).transformCache[t]}}}();for(var e=0;e<x.Lists.colors.length;e++)!function(){var t=x.Lists.colors[e];x.Normalizations.registered[t]=function(e,r,n){switch(e){case"name":return t;case"extract":var o;if(x.RegEx.wrappedValueAlreadyExtracted.test(n))o=n;else{var i,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(n)?i=s[n]!==a?s[n]:s.black:x.RegEx.isHex.test(n)?i="rgb("+x.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(i=s.black),o=(i||n).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=f||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=f?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(8>=f?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||v.State.isAndroid&&!v.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(v.State.prefixMatches[e])return[v.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,a=t.length;a>r;r++){var n;if(n=0===r?e:t[r]+e.replace(/^\w/,function(e){return e.toUpperCase()}),g.isString(v.State.prefixElement.style[n]))return v.State.prefixMatches[e]=n,[n,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,a;return e=e.replace(t,function(e,t,r,a){return t+t+r+r+a+a}),a=r.exec(e),a?[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,r,n,o){function s(e,r){function n(){u&&x.setPropertyValue(e,"display","none")}var l=0;if(8>=f)l=$.css(e,r);else{var u=!1;if(/^(width|height)$/.test(r)&&0===x.getPropertyValue(e,"display")&&(u=!0,x.setPropertyValue(e,"display",x.Values.getDisplayType(e))),!o){if("height"===r&&"border-box"!==x.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var c=e.offsetHeight-(parseFloat(x.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(x.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(x.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(x.getPropertyValue(e,"paddingBottom"))||0);return n(),c}if("width"===r&&"border-box"!==x.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var p=e.offsetWidth-(parseFloat(x.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(x.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(x.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(x.getPropertyValue(e,"paddingRight"))||0);return n(),p}}var d;d=i(e)===a?t.getComputedStyle(e,null):i(e).computedStyle?i(e).computedStyle:i(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===r&&(r="borderTopColor"),l=9===f&&"filter"===r?d.getPropertyValue(r):d[r],(""===l||null===l)&&(l=e.style[r]),n()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(r)){var g=s(e,"position");("fixed"===g||"absolute"===g&&/top|left/i.test(r))&&(l=$(e).position()[r]+"px")}return l}var l;if(x.Hooks.registered[r]){var u=r,c=x.Hooks.getRoot(u);n===a&&(n=x.getPropertyValue(e,x.Names.prefixCheck(c)[0])),x.Normalizations.registered[c]&&(n=x.Normalizations.registered[c]("extract",e,n)),l=x.Hooks.extractValue(u,n)}else if(x.Normalizations.registered[r]){var p,d;p=x.Normalizations.registered[r]("name",e),"transform"!==p&&(d=s(e,x.Names.prefixCheck(p)[0]),x.Values.isCSSNullValue(d)&&x.Hooks.templates[r]&&(d=x.Hooks.templates[r][1])),l=x.Normalizations.registered[r]("extract",e,d)}if(!/^[\d-]/.test(l))if(i(e)&&i(e).isSVG&&x.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{l=e.getBBox()[r]}catch(g){l=0}else l=e.getAttribute(r);else l=s(e,x.Names.prefixCheck(r)[0]);return x.Values.isCSSNullValue(l)&&(l=0),v.debug>=2&&console.log("Get "+r+": "+l),l},setPropertyValue:function(e,r,a,n,o){var s=r;if("scroll"===r)o.container?o.container["scroll"+o.direction]=a:"Left"===o.direction?t.scrollTo(a,o.alternateValue):t.scrollTo(o.alternateValue,a);else if(x.Normalizations.registered[r]&&"transform"===x.Normalizations.registered[r]("name",e))x.Normalizations.registered[r]("inject",e,a),s="transform",a=i(e).transformCache[r];else{if(x.Hooks.registered[r]){var l=r,u=x.Hooks.getRoot(r);n=n||x.getPropertyValue(e,u),a=x.Hooks.injectValue(l,a,n),r=u}if(x.Normalizations.registered[r]&&(a=x.Normalizations.registered[r]("inject",e,a),r=x.Normalizations.registered[r]("name",e)),s=x.Names.prefixCheck(r)[0],8>=f)try{e.style[s]=a}catch(c){v.debug&&console.log("Browser does not support ["+a+"] for ["+s+"]")}else i(e)&&i(e).isSVG&&x.Names.SVGAttribute(r)?e.setAttribute(r,a):e.style[s]=a;v.debug>=2&&console.log("Set "+r+" ("+s+"): "+a)}return[s,a]},flushTransformCache:function(e){function t(t){return parseFloat(x.getPropertyValue(e,t))}var r="";if((f||v.State.isAndroid&&!v.State.isChrome)&&i(e).isSVG){var a={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};$.each(i(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),a[e]&&(r+=e+"("+a[e].join(" ")+") ",delete a[e])})}else{var n,o;$.each(i(e).transformCache,function(t){return n=i(e).transformCache[t],"transformPerspective"===t?(o=n,!0):(9===f&&"rotateZ"===t&&(t="rotate"),void(r+=t+n+" "))}),o&&(r="perspective"+o+" "+r)}x.setPropertyValue(e,"transform",r)}};x.Hooks.register(),x.Normalizations.register(),v.hook=function(e,t,r){var n=a;return e=o(e),$.each(e,function(e,o){if(i(o)===a&&v.init(o),r===a)n===a&&(n=v.CSS.getPropertyValue(o,t));else{var s=v.CSS.setPropertyValue(o,t,r);"transform"===s[0]&&v.CSS.flushTransformCache(o),n=s}}),n};var S=function(){function e(){return l?T.promise||null:f}function n(){function e(e){function p(e,t){var r=a,i=a,s=a;return g.isArray(e)?(r=e[0],!g.isArray(e[1])&&/^[\d-]/.test(e[1])||g.isFunction(e[1])||x.RegEx.isHex.test(e[1])?s=e[1]:(g.isString(e[1])&&!x.RegEx.isHex.test(e[1])||g.isArray(e[1]))&&(i=t?e[1]:u(e[1],o.duration),e[2]!==a&&(s=e[2]))):r=e,t||(i=i||o.easing),g.isFunction(r)&&(r=r.call(n,w,P)),g.isFunction(s)&&(s=s.call(n,w,P)),[r||0,i,s]}function f(e,t){var r,a;return a=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return r=e,""}),r||(r=x.Values.getUnitType(e)),[a,r]}function d(){var e={myParent:n.parentNode||r.body,position:x.getPropertyValue(n,"position"),fontSize:x.getPropertyValue(n,"fontSize")},a=e.position===N.lastPosition&&e.myParent===N.lastParent,o=e.fontSize===N.lastFontSize;N.lastParent=e.myParent,N.lastPosition=e.position,N.lastFontSize=e.fontSize;var s=100,l={};if(o&&a)l.emToPx=N.lastEmToPx,l.percentToPxWidth=N.lastPercentToPxWidth,l.percentToPxHeight=N.lastPercentToPxHeight;else{var u=i(n).isSVG?r.createElementNS("http://www.w3.org/2000/svg","rect"):r.createElement("div");v.init(u),e.myParent.appendChild(u),$.each(["overflow","overflowX","overflowY"],function(e,t){v.CSS.setPropertyValue(u,t,"hidden")}),v.CSS.setPropertyValue(u,"position",e.position),v.CSS.setPropertyValue(u,"fontSize",e.fontSize),v.CSS.setPropertyValue(u,"boxSizing","content-box"),$.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){v.CSS.setPropertyValue(u,t,s+"%")}),v.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=N.lastPercentToPxWidth=(parseFloat(x.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=N.lastPercentToPxHeight=(parseFloat(x.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=N.lastEmToPx=(parseFloat(x.getPropertyValue(u,"paddingLeft"))||1)/s,e.myParent.removeChild(u)}return null===N.remToPx&&(N.remToPx=parseFloat(x.getPropertyValue(r.body,"fontSize"))||16),null===N.vwToPx&&(N.vwToPx=parseFloat(t.innerWidth)/100,N.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=N.remToPx,l.vwToPx=N.vwToPx,l.vhToPx=N.vhToPx,v.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),n),l}if(o.begin&&0===w)try{o.begin.call(m,m)}catch(y){setTimeout(function(){throw y},1)}if("scroll"===k){var S=/^x$/i.test(o.axis)?"Left":"Top",V=parseFloat(o.offset)||0,C,A,F;o.container?g.isWrapped(o.container)||g.isNode(o.container)?(o.container=o.container[0]||o.container,C=o.container["scroll"+S],F=C+$(n).position()[S.toLowerCase()]+V):o.container=null:(C=v.State.scrollAnchor[v.State["scrollProperty"+S]],A=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===S?"Top":"Left")]],F=$(n).offset()[S.toLowerCase()]+V),s={scroll:{rootPropertyValue:!1,startValue:C,currentValue:C,endValue:F,unitType:"",easing:o.easing,scrollData:{container:o.container,direction:S,alternateValue:A}},element:n},v.debug&&console.log("tweensContainer (scroll): ",s.scroll,n)}else if("reverse"===k){if(!i(n).tweensContainer)return void $.dequeue(n,o.queue);"none"===i(n).opts.display&&(i(n).opts.display="auto"),"hidden"===i(n).opts.visibility&&(i(n).opts.visibility="visible"),i(n).opts.loop=!1,i(n).opts.begin=null,i(n).opts.complete=null,b.easing||delete o.easing,b.duration||delete o.duration,o=$.extend({},i(n).opts,o);var E=$.extend(!0,{},i(n).tweensContainer);for(var j in E)if("element"!==j){var H=E[j].startValue;E[j].startValue=E[j].currentValue=E[j].endValue,E[j].endValue=H,g.isEmptyObject(b)||(E[j].easing=o.easing),v.debug&&console.log("reverse tweensContainer ("+j+"): "+JSON.stringify(E[j]),n)}s=E}else if("start"===k){var E;i(n).tweensContainer&&i(n).isAnimating===!0&&(E=i(n).tweensContainer),$.each(h,function(e,t){if(RegExp("^"+x.Lists.colors.join("$|^")+"$").test(e)){var r=p(t,!0),n=r[0],o=r[1],i=r[2];if(x.RegEx.isHex.test(n)){for(var s=["Red","Green","Blue"],l=x.Values.hexToRgb(n),u=i?x.Values.hexToRgb(i):a,c=0;c<s.length;c++){var f=[l[c]];o&&f.push(o),u!==a&&f.push(u[c]),h[e+s[c]]=f}delete h[e]}}});for(var R in h){var O=p(h[R]),z=O[0],q=O[1],M=O[2];R=x.Names.camelCase(R);var I=x.Hooks.getRoot(R),B=!1;if(i(n).isSVG||"tween"===I||x.Names.prefixCheck(I)[1]!==!1||x.Normalizations.registered[I]!==a){(o.display!==a&&null!==o.display&&"none"!==o.display||o.visibility!==a&&"hidden"!==o.visibility)&&/opacity|filter/.test(R)&&!M&&0!==z&&(M=0),o._cacheValues&&E&&E[R]?(M===a&&(M=E[R].endValue+E[R].unitType),B=i(n).rootPropertyValueCache[I]):x.Hooks.registered[R]?M===a?(B=x.getPropertyValue(n,I),M=x.getPropertyValue(n,R,B)):B=x.Hooks.templates[I][1]:M===a&&(M=x.getPropertyValue(n,R));var W,G,D,X=!1;if(W=f(R,M),M=W[0],D=W[1],W=f(R,z),z=W[0].replace(/^([+-\/*])=/,function(e,t){return X=t,""}),G=W[1],M=parseFloat(M)||0,z=parseFloat(z)||0,"%"===G&&(/^(fontSize|lineHeight)$/.test(R)?(z/=100,G="em"):/^scale/.test(R)?(z/=100,G=""):/(Red|Green|Blue)$/i.test(R)&&(z=z/100*255,G="")),/[\/*]/.test(X))G=D;else if(D!==G&&0!==M)if(0===z)G=D;else{l=l||d();var Y=/margin|padding|left|right|width|text|word|letter/i.test(R)||/X$/.test(R)||"x"===R?"x":"y";switch(D){case"%":M*="x"===Y?l.percentToPxWidth:l.percentToPxHeight;break;case"px":break;default:M*=l[D+"ToPx"]}switch(G){case"%":M*=1/("x"===Y?l.percentToPxWidth:l.percentToPxHeight);break;case"px":break;default:M*=1/l[G+"ToPx"]}}switch(X){case"+":z=M+z;break;case"-":z=M-z;break;case"*":z=M*z;break;case"/":z=M/z}s[R]={rootPropertyValue:B,startValue:M,currentValue:M,endValue:z,unitType:G,easing:q},v.debug&&console.log("tweensContainer ("+R+"): "+JSON.stringify(s[R]),n)}else v.debug&&console.log("Skipping ["+I+"] due to a lack of browser support.")}s.element=n}s.element&&(x.Values.addClass(n,"velocity-animating"),L.push(s),""===o.queue&&(i(n).tweensContainer=s,i(n).opts=o),i(n).isAnimating=!0,w===P-1?(v.State.calls.push([L,m,o,null,T.resolver]),v.State.isTicking===!1&&(v.State.isTicking=!0,c())):w++)}var n=this,o=$.extend({},v.defaults,b),s={},l;switch(i(n)===a&&v.init(n),parseFloat(o.delay)&&o.queue!==!1&&$.queue(n,o.queue,function(e){v.velocityQueueEntryFlag=!0,i(n).delayTimer={setTimeout:setTimeout(e,parseFloat(o.delay)),next:e}}),o.duration.toString().toLowerCase()){case"fast":o.duration=200;break;case"normal":o.duration=y;break;case"slow":o.duration=600;break;default:o.duration=parseFloat(o.duration)||1}v.mock!==!1&&(v.mock===!0?o.duration=o.delay=1:(o.duration*=parseFloat(v.mock)||1,o.delay*=parseFloat(v.mock)||1)),o.easing=u(o.easing,o.duration),o.begin&&!g.isFunction(o.begin)&&(o.begin=null),o.progress&&!g.isFunction(o.progress)&&(o.progress=null),o.complete&&!g.isFunction(o.complete)&&(o.complete=null),o.display!==a&&null!==o.display&&(o.display=o.display.toString().toLowerCase(),"auto"===o.display&&(o.display=v.CSS.Values.getDisplayType(n))),o.visibility!==a&&null!==o.visibility&&(o.visibility=o.visibility.toString().toLowerCase()),o.mobileHA=o.mobileHA&&v.State.isMobile&&!v.State.isGingerbread,o.queue===!1?o.delay?setTimeout(e,o.delay):e():$.queue(n,o.queue,function(t,r){return r===!0?(T.promise&&T.resolver(m),!0):(v.velocityQueueEntryFlag=!0,void e(t))}),""!==o.queue&&"fx"!==o.queue||"inprogress"===$.queue(n)[0]||$.dequeue(n)}var s=arguments[0]&&(arguments[0].p||$.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||g.isString(arguments[0].properties)),l,f,d,m,h,b;if(g.isWrapped(this)?(l=!1,d=0,m=this,f=this):(l=!0,d=1,m=s?arguments[0].elements||arguments[0].e:arguments[0]),m=o(m)){s?(h=arguments[0].properties||arguments[0].p,b=arguments[0].options||arguments[0].o):(h=arguments[d],b=arguments[d+1]);var P=m.length,w=0;if(!/^(stop|finish)$/i.test(h)&&!$.isPlainObject(b)){var V=d+1;b={};for(var C=V;C<arguments.length;C++)g.isArray(arguments[C])||!/^(fast|normal|slow)$/i.test(arguments[C])&&!/^\d/.test(arguments[C])?g.isString(arguments[C])||g.isArray(arguments[C])?b.easing=arguments[C]:g.isFunction(arguments[C])&&(b.complete=arguments[C]):b.duration=arguments[C]}var T={promise:null,resolver:null,rejecter:null};l&&v.Promise&&(T.promise=new v.Promise(function(e,t){T.resolver=e,T.rejecter=t}));var k;switch(h){case"scroll":k="scroll";break;case"reverse":k="reverse";break;case"finish":case"stop":$.each(m,function(e,t){i(t)&&i(t).delayTimer&&(clearTimeout(i(t).delayTimer.setTimeout),i(t).delayTimer.next&&i(t).delayTimer.next(),delete i(t).delayTimer)});var A=[];return $.each(v.State.calls,function(e,t){t&&$.each(t[1],function(r,n){var o=b===a?"":b;return o===!0||t[2].queue===o||b===a&&t[2].queue===!1?void $.each(m,function(r,a){a===n&&((b===!0||g.isString(b))&&($.each($.queue(a,g.isString(b)?b:""),function(e,t){g.isFunction(t)&&t(null,!0)}),$.queue(a,g.isString(b)?b:"",[])),"stop"===h?(i(a)&&i(a).tweensContainer&&o!==!1&&$.each(i(a).tweensContainer,function(e,t){t.endValue=t.currentValue
}),A.push(e)):"finish"===h&&(t[2].duration=1))}):!0})}),"stop"===h&&($.each(A,function(e,t){p(t,!0)}),T.promise&&T.resolver(m)),e();default:if(!$.isPlainObject(h)||g.isEmptyObject(h)){if(g.isString(h)&&v.Redirects[h]){var F=$.extend({},b),E=F.duration,j=F.delay||0;return F.backwards===!0&&(m=$.extend(!0,[],m).reverse()),$.each(m,function(e,t){parseFloat(F.stagger)?F.delay=j+parseFloat(F.stagger)*e:g.isFunction(F.stagger)&&(F.delay=j+F.stagger.call(t,e,P)),F.drag&&(F.duration=parseFloat(E)||(/^(callout|transition)/.test(h)?1e3:y),F.duration=Math.max(F.duration*(F.backwards?1-e/P:(e+1)/P),.75*F.duration,200)),v.Redirects[h].call(t,t,F||{},e,P,m,T.promise?T:a)}),e()}var H="Velocity: First argument ("+h+") was not a property map, a known action, or a registered redirect. Aborting.";return T.promise?T.rejecter(new Error(H)):console.log(H),e()}k="start"}var N={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},L=[];$.each(m,function(e,t){g.isNode(t)&&n.call(t)});var F=$.extend({},v.defaults,b),R;if(F.loop=parseInt(F.loop),R=2*F.loop-1,F.loop)for(var O=0;R>O;O++){var z={delay:F.delay,progress:F.progress};O===R-1&&(z.display=F.display,z.visibility=F.visibility,z.complete=F.complete),S(m,"reverse",z)}return e()}};v=$.extend(S,v),v.animate=S;var P=t.requestAnimationFrame||d;return v.State.isMobile||r.hidden===a||r.addEventListener("visibilitychange",function(){r.hidden?(P=function(e){return setTimeout(function(){e(!0)},16)},c()):P=t.requestAnimationFrame||d}),e.Velocity=v,e!==t&&(e.fn.velocity=S,e.fn.velocity.defaults=v.defaults),$.each(["Down","Up"],function(e,t){v.Redirects["slide"+t]=function(e,r,n,o,i,s){var l=$.extend({},r),u=l.begin,c=l.complete,p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};l.display===a&&(l.display="Down"===t?"inline"===v.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(i,i);for(var r in p){f[r]=e.style[r];var a=v.CSS.getPropertyValue(e,r);p[r]="Down"===t?[a,0]:[0,a]}f.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in f)e.style[t]=f[t];c&&c.call(i,i),s&&s.resolver(i)},v(e,p,l)}}),$.each(["In","Out"],function(e,t){v.Redirects["fade"+t]=function(e,r,n,o,i,s){var l=$.extend({},r),u={opacity:"In"===t?1:0},c=l.complete;l.complete=n!==o-1?l.begin=null:function(){c&&c.call(i,i),s&&s.resolver(i)},l.display===a&&(l.display="In"===t?"auto":"none"),v(this,u,l)}}),v}(window.jQuery||window.Zepto||window,window,document)});;
!function(t,e){"use strict";"function"==typeof define&&define.amd?define([],function(){return e.apply(t)}):"object"==typeof exports?module.exports=e.call(t):t.Waves=e.call(t)}("object"==typeof global?global:this,function(){"use strict";function t(t){return null!==t&&t===t.window}function e(e){return t(e)?e:9===e.nodeType&&e.defaultView}function n(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function a(t){return n(t)&&t.nodeType>0}function o(t){var e=f.call(t);return"[object String]"===e?d(t):n(t)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(e)&&t.hasOwnProperty("length")?t:a(t)?[t]:[]}function i(t){var n,a,o={top:0,left:0},i=t&&t.ownerDocument;return n=i.documentElement,"undefined"!=typeof t.getBoundingClientRect&&(o=t.getBoundingClientRect()),a=e(i),{top:o.top+a.pageYOffset-n.clientTop,left:o.left+a.pageXOffset-n.clientLeft}}function r(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}function s(t,e,n){if(n){n.classList.remove("waves-rippling");var a=n.getAttribute("data-x"),o=n.getAttribute("data-y"),i=n.getAttribute("data-scale"),s=n.getAttribute("data-translate"),u=Date.now()-Number(n.getAttribute("data-hold")),l=350-u;0>l&&(l=0),"mousemove"===t.type&&(l=150);var c="mousemove"===t.type?2500:m.duration;setTimeout(function(){var t={top:o+"px",left:a+"px",opacity:"0","-webkit-transition-duration":c+"ms","-moz-transition-duration":c+"ms","-o-transition-duration":c+"ms","transition-duration":c+"ms","-webkit-transform":i+" "+s,"-moz-transform":i+" "+s,"-ms-transform":i+" "+s,"-o-transform":i+" "+s,transform:i+" "+s};n.setAttribute("style",r(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},c)},l)}}function u(t){if(h.allowEvent(t)===!1)return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentElement;){if(n.classList.contains("waves-effect")&&!(n instanceof SVGElement)){e=n;break}n=n.parentElement}return e}function l(t){var e=u(t);if(null!==e){if(e.disabled||e.getAttribute("disabled")||e.classList.contains("disabled"))return;if(h.registerEvent(t),"touchstart"===t.type&&m.delay){var n=!1,a=setTimeout(function(){a=null,m.show(t,e)},m.delay),o=function(o){a&&(clearTimeout(a),a=null,m.show(t,e)),n||(n=!0,m.hide(o,e))},i=function(t){a&&(clearTimeout(a),a=null),o(t)};e.addEventListener("touchmove",i,!1),e.addEventListener("touchend",o,!1),e.addEventListener("touchcancel",o,!1)}else m.show(t,e),p&&(e.addEventListener("touchend",m.hide,!1),e.addEventListener("touchcancel",m.hide,!1)),e.addEventListener("mouseup",m.hide,!1),e.addEventListener("mouseleave",m.hide,!1)}}var c=c||{},d=document.querySelectorAll.bind(document),f=Object.prototype.toString,p="ontouchstart"in window,m={duration:750,delay:200,show:function(t,e,n){if(2===t.button)return!1;e=e||this;var a=document.createElement("div");a.className="waves-ripple waves-rippling",e.appendChild(a);var o=i(e),s=0,u=0;"touches"in t&&t.touches.length?(s=t.touches[0].pageY-o.top,u=t.touches[0].pageX-o.left):(s=t.pageY-o.top,u=t.pageX-o.left),u=u>=0?u:0,s=s>=0?s:0;var l="scale("+e.clientWidth/100*3+")",c="translate(0,0)";n&&(c="translate("+n.x+"px, "+n.y+"px)"),a.setAttribute("data-hold",Date.now()),a.setAttribute("data-x",u),a.setAttribute("data-y",s),a.setAttribute("data-scale",l),a.setAttribute("data-translate",c);var d={top:s+"px",left:u+"px"};a.classList.add("waves-notransition"),a.setAttribute("style",r(d)),a.classList.remove("waves-notransition"),d["-webkit-transform"]=l+" "+c,d["-moz-transform"]=l+" "+c,d["-ms-transform"]=l+" "+c,d["-o-transform"]=l+" "+c,d.transform=l+" "+c,d.opacity="1";var f="mousemove"===t.type?2500:m.duration;d["-webkit-transition-duration"]=f+"ms",d["-moz-transition-duration"]=f+"ms",d["-o-transition-duration"]=f+"ms",d["transition-duration"]=f+"ms",a.setAttribute("style",r(d))},hide:function(t,e){e=e||this;for(var n=e.getElementsByClassName("waves-rippling"),a=0,o=n.length;o>a;a++)s(t,e,n[a])}},v={input:function(t){var e=t.parentNode;if("i"!==e.tagName.toLowerCase()||!e.classList.contains("waves-effect")){var n=document.createElement("i");n.className=t.className+" waves-input-wrapper",t.className="waves-button-input",e.replaceChild(n,t),n.appendChild(t);var a=window.getComputedStyle(t,null),o=a.color,i=a.backgroundColor;n.setAttribute("style","color:"+o+";background:"+i),t.setAttribute("style","background-color:rgba(0,0,0,0);")}},img:function(t){var e=t.parentNode;if("i"!==e.tagName.toLowerCase()||!e.classList.contains("waves-effect")){var n=document.createElement("i");e.replaceChild(n,t),n.appendChild(t)}}},h={touches:0,allowEvent:function(t){var e=!0;return/^(mousedown|mousemove)$/.test(t.type)&&h.touches&&(e=!1),e},registerEvent:function(t){var e=t.type;"touchstart"===e?h.touches+=1:/^(touchend|touchcancel)$/.test(e)&&setTimeout(function(){h.touches&&(h.touches-=1)},500)}};c.init=function(t){var e=document.body;t=t||{},"duration"in t&&(m.duration=t.duration),"delay"in t&&(m.delay=t.delay),p&&(e.addEventListener("touchstart",l,!1),e.addEventListener("touchcancel",h.registerEvent,!1),e.addEventListener("touchend",h.registerEvent,!1)),e.addEventListener("mousedown",l,!1)},c.attach=function(t,e){t=o(t),"[object Array]"===f.call(e)&&(e=e.join(" ")),e=e?" "+e:"";for(var n,a,i=0,r=t.length;r>i;i++)n=t[i],a=n.tagName.toLowerCase(),-1!==["input","img"].indexOf(a)&&(v[a](n),n=n.parentElement),-1===n.className.indexOf("waves-effect")&&(n.className+=" waves-effect"+e)},c.ripple=function(t,e){t=o(t);var n=t.length;if(e=e||{},e.wait=e.wait||0,e.position=e.position||null,n)for(var a,r,s,u={},l=0,c={type:"mousedown",button:1},d=function(t,e){return function(){m.hide(t,e)}};n>l;l++)if(a=t[l],r=e.position||{x:a.clientWidth/2,y:a.clientHeight/2},s=i(a),u.x=s.left+r.x,u.y=s.top+r.y,c.pageX=u.x,c.pageY=u.y,m.show(c,a),e.wait>=0&&null!==e.wait){var f={type:"mouseup",button:1};setTimeout(d(f,a),e.wait)}},c.calm=function(t){t=o(t);for(var e={type:"mouseup",button:1},n=0,a=t.length;a>n;n++)m.hide(e,t[n])},c.displayEffect=function(t){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),c.init(t)},c.init({duration:600})});
;
!function(t){var r=t(window),e=[],n=[],o=!1,i=0,l={top:0,right:0,bottom:0,left:0};function a(){++i;var o,a,c,s,u,f=r.scrollTop(),h=r.scrollLeft(),p=h+r.width(),d=f+r.height(),y=(o=f+l.top+200,a=p+l.right,c=d+l.bottom,s=h+l.left,u=t(),t.each(e,function(t,r){if(r.height()>0){var e=r.offset().top,n=r.offset().left,i=n+r.width(),l=e+r.height();!(n>a||i<s||e>c||l<o)&&u.push(r)}}),u);t.each(y,function(t,r){"number"!=typeof r.data("scrollSpy:ticks")&&r.triggerHandler("scrollSpy:enter"),r.data("scrollSpy:ticks",i)}),t.each(n,function(t,r){var e=r.data("scrollSpy:ticks");"number"==typeof e&&e!==i&&(r.triggerHandler("scrollSpy:exit"),r.data("scrollSpy:ticks",null))}),n=y}function c(){r.trigger("scrollSpy:winSize")}var s=Date.now||function(){return(new Date).getTime()};function u(t,r,e){var n,o,i,l=null,a=0;e||(e={});var c=function(){a=!1===e.leading?0:s(),l=null,i=t.apply(n,o),n=o=null};return function(){var u=s();a||!1!==e.leading||(a=u);var f=r-(u-a);return n=this,o=arguments,f<=0?(clearTimeout(l),l=null,a=u,i=t.apply(n,o),n=o=null):l||!1===e.trailing||(l=setTimeout(c,f)),i}}t.scrollSpy=function(n,i){i=t.extend({throttle:100,scrollOffset:200},i);var c=[];(n=t(n)).each(function(r,n){e.push(t(n)),t(n).data("scrollSpy:id",r)}),l.top=i.offsetTop||0,l.right=i.offsetRight||0,l.bottom=i.offsetBottom||0,l.left=i.offsetLeft||0;var s=u(a,i.throttle||100),f=function(){t(document).ready(s)};return o||(r.on("scroll",f),r.on("resize",f),o=!0),setTimeout(f,0),n.on("scrollSpy:enter",function(){c=t.grep(c,function(t){return 0!=t.height()});var r=t(this);c[0]?(t('a[href="#'+c[0].attr("id")+'"]').parent().removeClass("current"),r.data("scrollSpy:id")<c[0].data("scrollSpy:id")?c.unshift(t(this)):c.push(t(this))):c.push(t(this)),t('a[href="#'+c[0].attr("id")+'"]').parent().addClass("current")}),n.on("scrollSpy:exit",function(){if((c=t.grep(c,function(t){return 0!=t.height()}))[0]){t('a[href="#'+c[0].attr("id")+'"]').parent().removeClass("current");var r=t(this);(c=t.grep(c,function(t){return t.attr("id")!=r.attr("id")}))[0]&&t('a[href="#'+c[0].attr("id")+'"]').parent().addClass("current")}}),n},t.winSizeSpy=function(e){return t.winSizeSpy=function(){return r},e=e||{throttle:100},r.on("resize",u(c,e.throttle||100))},t.fn.scrollSpy=function(r){return t.scrollSpy(t(this),r)}}(jQuery);
!function (i) { "use strict"; "function" == typeof define && define.amd ? define(["jquery"], i) : "undefined" != typeof exports ? module.exports = i(require("jquery")) : i(jQuery) }(function (i) { "use strict"; var e = window.Slick || {}; (e = function () { var e = 0; return function (t, o) { var s, n = this; n.defaults = { accessibility: !0, adaptiveHeight: !1, appendArrows: i(t), appendDots: i(t), arrows: !0, asNavFor: null, prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>', nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>', autoplay: !1, autoplaySpeed: 3e3, centerMode: !1, centerPadding: "50px", cssEase: "ease", customPaging: function (e, t) { return i('<button type="button" data-role="none" role="button" tabindex="0" />').text(t + 1) }, dots: !1, dotsClass: "slick-dots", draggable: !0, easing: "linear", edgeFriction: .35, fade: !1, focusOnSelect: !1, infinite: !0, initialSlide: 0, lazyLoad: "ondemand", mobileFirst: !1, pauseOnHover: !0, pauseOnFocus: !0, pauseOnDotsHover: !1, respondTo: "window", responsive: null, rows: 1, rtl: !1, slide: "", slidesPerRow: 1, slidesToShow: 1, slidesToScroll: 1, speed: 500, swipe: !0, swipeToSlide: !1, touchMove: !0, touchThreshold: 5, useCSS: !0, useTransform: !0, variableWidth: !1, vertical: !1, verticalSwiping: !1, waitForAnimate: !0, zIndex: 1e3 }, n.initials = { animating: !1, dragging: !1, autoPlayTimer: null, currentDirection: 0, currentLeft: null, currentSlide: 0, direction: 1, $dots: null, listWidth: null, listHeight: null, loadIndex: 0, $nextArrow: null, $prevArrow: null, slideCount: null, slideWidth: null, $slideTrack: null, $slides: null, sliding: !1, slideOffset: 0, swipeLeft: null, $list: null, touchObject: {}, transformsEnabled: !1, unslicked: !1 }, i.extend(n, n.initials), n.activeBreakpoint = null, n.animType = null, n.animProp = null, n.breakpoints = [], n.breakpointSettings = [], n.cssTransitions = !1, n.focussed = !1, n.interrupted = !1, n.hidden = "hidden", n.paused = !0, n.positionProp = null, n.respondTo = null, n.rowCount = 1, n.shouldClick = !0, n.$slider = i(t), n.$slidesCache = null, n.transformType = null, n.transitionType = null, n.visibilityChange = "visibilitychange", n.windowWidth = 0, n.windowTimer = null, s = i(t).data("slick") || {}, n.options = i.extend({}, n.defaults, o, s), n.currentSlide = n.options.initialSlide, n.originalSettings = n.options, void 0 !== document.mozHidden ? (n.hidden = "mozHidden", n.visibilityChange = "mozvisibilitychange") : void 0 !== document.webkitHidden && (n.hidden = "webkitHidden", n.visibilityChange = "webkitvisibilitychange"), n.autoPlay = i.proxy(n.autoPlay, n), n.autoPlayClear = i.proxy(n.autoPlayClear, n), n.autoPlayIterator = i.proxy(n.autoPlayIterator, n), n.changeSlide = i.proxy(n.changeSlide, n), n.clickHandler = i.proxy(n.clickHandler, n), n.selectHandler = i.proxy(n.selectHandler, n), n.setPosition = i.proxy(n.setPosition, n), n.swipeHandler = i.proxy(n.swipeHandler, n), n.dragHandler = i.proxy(n.dragHandler, n), n.keyHandler = i.proxy(n.keyHandler, n), n.instanceUid = e++ , n.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, n.registerBreakpoints(), n.init(!0) } }()).prototype.activateADA = function () { this.$slideTrack.find(".slick-active").attr({ "aria-hidden": "false" }).find("a, input, button, select").attr({ tabindex: "0" }) }, e.prototype.addSlide = e.prototype.slickAdd = function (e, t, o) { var s = this; if ("boolean" == typeof t) o = t, t = null; else if (0 > t || t >= s.slideCount) return !1; s.unload(), "number" == typeof t ? 0 === t && 0 === s.$slides.length ? i(e).appendTo(s.$slideTrack) : o ? i(e).insertBefore(s.$slides.eq(t)) : i(e).insertAfter(s.$slides.eq(t)) : !0 === o ? i(e).prependTo(s.$slideTrack) : i(e).appendTo(s.$slideTrack), s.$slides = s.$slideTrack.children(this.options.slide), s.$slideTrack.children(this.options.slide).detach(), s.$slideTrack.append(s.$slides), s.$slides.each(function (e, t) { i(t).attr("data-slick-index", e) }), s.$slidesCache = s.$slides, s.reinit() }, e.prototype.animateHeight = function () { var i = this; if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { var e = i.$slides.eq(i.currentSlide).outerHeight(!0); i.$list.animate({ height: e }, i.options.speed) } }, e.prototype.animateSlide = function (e, t) { var o = {}, s = this; s.animateHeight(), !0 === s.options.rtl && !1 === s.options.vertical && (e = -e), !1 === s.transformsEnabled ? !1 === s.options.vertical ? s.$slideTrack.animate({ left: e }, s.options.speed, s.options.easing, t) : s.$slideTrack.animate({ top: e }, s.options.speed, s.options.easing, t) : !1 === s.cssTransitions ? (!0 === s.options.rtl && (s.currentLeft = -s.currentLeft), i({ animStart: s.currentLeft }).animate({ animStart: e }, { duration: s.options.speed, easing: s.options.easing, step: function (i) { i = Math.ceil(i), !1 === s.options.vertical ? (o[s.animType] = "translate(" + i + "px, 0px)", s.$slideTrack.css(o)) : (o[s.animType] = "translate(0px," + i + "px)", s.$slideTrack.css(o)) }, complete: function () { t && t.call() } })) : (s.applyTransition(), e = Math.ceil(e), !1 === s.options.vertical ? o[s.animType] = "translate3d(" + e + "px, 0px, 0px)" : o[s.animType] = "translate3d(0px," + e + "px, 0px)", s.$slideTrack.css(o), t && setTimeout(function () { s.disableTransition(), t.call() }, s.options.speed)) }, e.prototype.getNavTarget = function () { var e = this.options.asNavFor; return e && null !== e && (e = i(e).not(this.$slider)), e }, e.prototype.asNavFor = function (e) { var t = this.getNavTarget(); null !== t && "object" == typeof t && t.each(function () { var t = i(this).slick("getSlick"); t.unslicked || t.slideHandler(e, !0) }) }, e.prototype.applyTransition = function (i) { var e = this, t = {}; !1 === e.options.fade ? t[e.transitionType] = e.transformType + " " + e.options.speed + "ms " + e.options.cssEase : t[e.transitionType] = "opacity " + e.options.speed + "ms " + e.options.cssEase, !1 === e.options.fade ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) }, e.prototype.autoPlay = function () { var i = this; i.autoPlayClear(), i.slideCount > i.options.slidesToShow && (i.autoPlayTimer = setInterval(i.autoPlayIterator, i.options.autoplaySpeed)) }, e.prototype.autoPlayClear = function () { this.autoPlayTimer && clearInterval(this.autoPlayTimer) }, e.prototype.autoPlayIterator = function () { var i = this, e = i.currentSlide + i.options.slidesToScroll; i.paused || i.interrupted || i.focussed || (!1 === i.options.infinite && (1 === i.direction && i.currentSlide + 1 === i.slideCount - 1 ? i.direction = 0 : 0 === i.direction && (e = i.currentSlide - i.options.slidesToScroll, i.currentSlide - 1 == 0 && (i.direction = 1))), i.slideHandler(e)) }, e.prototype.buildArrows = function () { var e = this; !0 === e.options.arrows && (e.$prevArrow = i(e.options.prevArrow).addClass("slick-arrow"), e.$nextArrow = i(e.options.nextArrow).addClass("slick-arrow"), e.slideCount > e.options.slidesToShow ? (e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.prependTo(e.options.appendArrows), e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.appendTo(e.options.appendArrows), !0 !== e.options.infinite && e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({ "aria-disabled": "true", tabindex: "-1" })) }, e.prototype.buildDots = function () { var e, t, o = this; if (!0 === o.options.dots && o.slideCount > o.options.slidesToShow) { for (o.$slider.addClass("slick-dotted"), t = i("<ul />").addClass(o.options.dotsClass), e = 0; e <= o.getDotCount(); e += 1)t.append(i("<li />").append(o.options.customPaging.call(this, o, e))); o.$dots = t.appendTo(o.options.appendDots), o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden", "false") } }, e.prototype.buildOut = function () { var e = this; e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), e.slideCount = e.$slides.length, e.$slides.each(function (e, t) { i(t).attr("data-slick-index", e).data("originalStyling", i(t).attr("style") || "") }), e.$slider.addClass("slick-slider"), e.$slideTrack = 0 === e.slideCount ? i('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent(), e.$list = e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(), e.$slideTrack.css("opacity", 0), (!0 === e.options.centerMode || !0 === e.options.swipeToSlide) && (e.options.slidesToScroll = 1), i("img[data-lazy]", e.$slider).not("[src]").addClass("slick-loading"), e.setupInfinite(), e.buildArrows(), e.buildDots(), e.updateDots(), e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), !0 === e.options.draggable && e.$list.addClass("draggable") }, e.prototype.buildRows = function () { var i, e, t, o, s, n, r, l = this; if (o = document.createDocumentFragment(), n = l.$slider.children(), l.options.rows > 1) { for (r = l.options.slidesPerRow * l.options.rows, s = Math.ceil(n.length / r), i = 0; s > i; i++) { var d = document.createElement("div"); for (e = 0; e < l.options.rows; e++) { var a = document.createElement("div"); for (t = 0; t < l.options.slidesPerRow; t++) { var c = i * r + (e * l.options.slidesPerRow + t); n.get(c) && a.appendChild(n.get(c)) } d.appendChild(a) } o.appendChild(d) } l.$slider.empty().append(o), l.$slider.children().children().children().css({ width: 100 / l.options.slidesPerRow + "%", display: "inline-block" }) } }, e.prototype.checkResponsive = function (e, t) { var o, s, n, r = this, l = !1, d = r.$slider.width(), a = window.innerWidth || i(window).width(); if ("window" === r.respondTo ? n = a : "slider" === r.respondTo ? n = d : "min" === r.respondTo && (n = Math.min(a, d)), r.options.responsive && r.options.responsive.length && null !== r.options.responsive) { s = null; for (o in r.breakpoints) r.breakpoints.hasOwnProperty(o) && (!1 === r.originalSettings.mobileFirst ? n < r.breakpoints[o] && (s = r.breakpoints[o]) : n > r.breakpoints[o] && (s = r.breakpoints[o])); null !== s ? null !== r.activeBreakpoint ? (s !== r.activeBreakpoint || t) && (r.activeBreakpoint = s, "unslick" === r.breakpointSettings[s] ? r.unslick(s) : (r.options = i.extend({}, r.originalSettings, r.breakpointSettings[s]), !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e)), l = s) : (r.activeBreakpoint = s, "unslick" === r.breakpointSettings[s] ? r.unslick(s) : (r.options = i.extend({}, r.originalSettings, r.breakpointSettings[s]), !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e)), l = s) : null !== r.activeBreakpoint && (r.activeBreakpoint = null, r.options = r.originalSettings, !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e), l = s), e || !1 === l || r.$slider.trigger("breakpoint", [r, l]) } }, e.prototype.changeSlide = function (e, t) { var o, s, n = this, r = i(e.currentTarget); switch (r.is("a") && e.preventDefault(), r.is("li") || (r = r.closest("li")), o = n.slideCount % n.options.slidesToScroll != 0 ? 0 : (n.slideCount - n.currentSlide) % n.options.slidesToScroll, e.data.message) { case "previous": s = 0 === o ? n.options.slidesToScroll : n.options.slidesToShow - o, n.slideCount > n.options.slidesToShow && n.slideHandler(n.currentSlide - s, !1, t); break; case "next": s = 0 === o ? n.options.slidesToScroll : o, n.slideCount > n.options.slidesToShow && n.slideHandler(n.currentSlide + s, !1, t); break; case "index": var l = 0 === e.data.index ? 0 : e.data.index || r.index() * n.options.slidesToScroll; n.slideHandler(n.checkNavigable(l), !1, t), r.children().trigger("focus"); break; default: return } }, e.prototype.checkNavigable = function (i) { var e, t; if (t = 0, i > (e = this.getNavigableIndexes())[e.length - 1]) i = e[e.length - 1]; else for (var o in e) { if (i < e[o]) { i = t; break } t = e[o] } return i }, e.prototype.cleanUpEvents = function () { var e = this; e.options.dots && null !== e.$dots && i("li", e.$dots).off("click.slick", e.changeSlide).off("mouseenter.slick", i.proxy(e.interrupt, e, !0)).off("mouseleave.slick", i.proxy(e.interrupt, e, !1)), e.$slider.off("focus.slick blur.slick"), !0 === e.options.arrows && e.slideCount > e.options.slidesToShow && (e.$prevArrow && e.$prevArrow.off("click.slick", e.changeSlide), e.$nextArrow && e.$nextArrow.off("click.slick", e.changeSlide)), e.$list.off("touchstart.slick mousedown.slick", e.swipeHandler), e.$list.off("touchmove.slick mousemove.slick", e.swipeHandler), e.$list.off("touchend.slick mouseup.slick", e.swipeHandler), e.$list.off("touchcancel.slick mouseleave.slick", e.swipeHandler), e.$list.off("click.slick", e.clickHandler), i(document).off(e.visibilityChange, e.visibility), e.cleanUpSlideEvents(), !0 === e.options.accessibility && e.$list.off("keydown.slick", e.keyHandler), !0 === e.options.focusOnSelect && i(e.$slideTrack).children().off("click.slick", e.selectHandler), i(window).off("orientationchange.slick.slick-" + e.instanceUid, e.orientationChange), i(window).off("resize.slick.slick-" + e.instanceUid, e.resize), i("[draggable!=true]", e.$slideTrack).off("dragstart", e.preventDefault), i(window).off("load.slick.slick-" + e.instanceUid, e.setPosition), i(document).off("ready.slick.slick-" + e.instanceUid, e.setPosition) }, e.prototype.cleanUpSlideEvents = function () { var e = this; e.$list.off("mouseenter.slick", i.proxy(e.interrupt, e, !0)), e.$list.off("mouseleave.slick", i.proxy(e.interrupt, e, !1)) }, e.prototype.cleanUpRows = function () { var i; this.options.rows > 1 && ((i = this.$slides.children().children()).removeAttr("style"), this.$slider.empty().append(i)) }, e.prototype.clickHandler = function (i) { !1 === this.shouldClick && (i.stopImmediatePropagation(), i.stopPropagation(), i.preventDefault()) }, e.prototype.destroy = function (e) { var t = this; t.autoPlayClear(), t.touchObject = {}, t.cleanUpEvents(), i(".slick-cloned", t.$slider).detach(), t.$dots && t.$dots.remove(), t.$prevArrow && t.$prevArrow.length && (t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlExpr.test(t.options.prevArrow) && t.$prevArrow.remove()), t.$nextArrow && t.$nextArrow.length && (t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlExpr.test(t.options.nextArrow) && t.$nextArrow.remove()), t.$slides && (t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function () { i(this).attr("style", i(this).data("originalStyling")) }), t.$slideTrack.children(this.options.slide).detach(), t.$slideTrack.detach(), t.$list.detach(), t.$slider.append(t.$slides)), t.cleanUpRows(), t.$slider.removeClass("slick-slider"), t.$slider.removeClass("slick-initialized"), t.$slider.removeClass("slick-dotted"), t.unslicked = !0, e || t.$slider.trigger("destroy", [t]) }, e.prototype.disableTransition = function (i) { var e = {}; e[this.transitionType] = "", !1 === this.options.fade ? this.$slideTrack.css(e) : this.$slides.eq(i).css(e) }, e.prototype.fadeSlide = function (i, e) { var t = this; !1 === t.cssTransitions ? (t.$slides.eq(i).css({ zIndex: t.options.zIndex }), t.$slides.eq(i).animate({ opacity: 1 }, t.options.speed, t.options.easing, e)) : (t.applyTransition(i), t.$slides.eq(i).css({ opacity: 1, zIndex: t.options.zIndex }), e && setTimeout(function () { t.disableTransition(i), e.call() }, t.options.speed)) }, e.prototype.fadeSlideOut = function (i) { var e = this; !1 === e.cssTransitions ? e.$slides.eq(i).animate({ opacity: 0, zIndex: e.options.zIndex - 2 }, e.options.speed, e.options.easing) : (e.applyTransition(i), e.$slides.eq(i).css({ opacity: 0, zIndex: e.options.zIndex - 2 })) }, e.prototype.filterSlides = e.prototype.slickFilter = function (i) { var e = this; null !== i && (e.$slidesCache = e.$slides, e.unload(), e.$slideTrack.children(this.options.slide).detach(), e.$slidesCache.filter(i).appendTo(e.$slideTrack), e.reinit()) }, e.prototype.focusHandler = function () { var e = this; e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*:not(.slick-arrow)", function (t) { t.stopImmediatePropagation(); var o = i(this); setTimeout(function () { e.options.pauseOnFocus && (e.focussed = o.is(":focus"), e.autoPlay()) }, 0) }) }, e.prototype.getCurrent = e.prototype.slickCurrentSlide = function () { return this.currentSlide }, e.prototype.getDotCount = function () { var i = this, e = 0, t = 0, o = 0; if (!0 === i.options.infinite) for (; e < i.slideCount;)++o, e = t + i.options.slidesToScroll, t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; else if (!0 === i.options.centerMode) o = i.slideCount; else if (i.options.asNavFor) for (; e < i.slideCount;)++o, e = t + i.options.slidesToScroll, t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; else o = 1 + Math.ceil((i.slideCount - i.options.slidesToShow) / i.options.slidesToScroll); return o - 1 }, e.prototype.getLeft = function (i) { var e, t, o, s = this, n = 0; return s.slideOffset = 0, t = s.$slides.first().outerHeight(!0), !0 === s.options.infinite ? (s.slideCount > s.options.slidesToShow && (s.slideOffset = s.slideWidth * s.options.slidesToShow * -1, n = t * s.options.slidesToShow * -1), s.slideCount % s.options.slidesToScroll != 0 && i + s.options.slidesToScroll > s.slideCount && s.slideCount > s.options.slidesToShow && (i > s.slideCount ? (s.slideOffset = (s.options.slidesToShow - (i - s.slideCount)) * s.slideWidth * -1, n = (s.options.slidesToShow - (i - s.slideCount)) * t * -1) : (s.slideOffset = s.slideCount % s.options.slidesToScroll * s.slideWidth * -1, n = s.slideCount % s.options.slidesToScroll * t * -1))) : i + s.options.slidesToShow > s.slideCount && (s.slideOffset = (i + s.options.slidesToShow - s.slideCount) * s.slideWidth, n = (i + s.options.slidesToShow - s.slideCount) * t), s.slideCount <= s.options.slidesToShow && (s.slideOffset = 0, n = 0), !0 === s.options.centerMode && !0 === s.options.infinite ? s.slideOffset += s.slideWidth * Math.floor(s.options.slidesToShow / 2) - s.slideWidth : !0 === s.options.centerMode && (s.slideOffset = 0, s.slideOffset += s.slideWidth * Math.floor(s.options.slidesToShow / 2)), e = !1 === s.options.vertical ? i * s.slideWidth * -1 + s.slideOffset : i * t * -1 + n, !0 === s.options.variableWidth && (o = s.slideCount <= s.options.slidesToShow || !1 === s.options.infinite ? s.$slideTrack.children(".slick-slide").eq(i) : s.$slideTrack.children(".slick-slide").eq(i + s.options.slidesToShow), e = !0 === s.options.rtl ? o[0] ? -1 * (s.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0 : o[0] ? -1 * o[0].offsetLeft : 0, !0 === s.options.centerMode && (o = s.slideCount <= s.options.slidesToShow || !1 === s.options.infinite ? s.$slideTrack.children(".slick-slide").eq(i) : s.$slideTrack.children(".slick-slide").eq(i + s.options.slidesToShow + 1), e = !0 === s.options.rtl ? o[0] ? -1 * (s.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0 : o[0] ? -1 * o[0].offsetLeft : 0, e += (s.$list.width() - o.outerWidth()) / 2)), e }, e.prototype.getOption = e.prototype.slickGetOption = function (i) { return this.options[i] }, e.prototype.getNavigableIndexes = function () { var i, e = this, t = 0, o = 0, s = []; for (!1 === e.options.infinite ? i = e.slideCount : (t = -1 * e.options.slidesToScroll, o = -1 * e.options.slidesToScroll, i = 2 * e.slideCount); i > t;)s.push(t), t = o + e.options.slidesToScroll, o += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow; return s }, e.prototype.getSlick = function () { return this }, e.prototype.getSlideCount = function () { var e, t, o = this; return t = !0 === o.options.centerMode ? o.slideWidth * Math.floor(o.options.slidesToShow / 2) : 0, !0 === o.options.swipeToSlide ? (o.$slideTrack.find(".slick-slide").each(function (s, n) { return n.offsetLeft - t + i(n).outerWidth() / 2 > -1 * o.swipeLeft ? (e = n, !1) : void 0 }), Math.abs(i(e).attr("data-slick-index") - o.currentSlide) || 1) : o.options.slidesToScroll }, e.prototype.goTo = e.prototype.slickGoTo = function (i, e) { this.changeSlide({ data: { message: "index", index: parseInt(i) } }, e) }, e.prototype.init = function (e) { var t = this; i(t.$slider).hasClass("slick-initialized") || (i(t.$slider).addClass("slick-initialized"), t.buildRows(), t.buildOut(), t.setProps(), t.startLoad(), t.loadSlider(), t.initializeEvents(), t.updateArrows(), t.updateDots(), t.checkResponsive(!0), t.focusHandler()), e && t.$slider.trigger("init", [t]), !0 === t.options.accessibility && t.initADA(), t.options.autoplay && (t.paused = !1, t.autoPlay()) }, e.prototype.initADA = function () { var e = this; e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({ "aria-hidden": "true", tabindex: "-1" }).find("a, input, button, select").attr({ tabindex: "-1" }), e.$slideTrack.attr("role", "listbox"), e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function (t) { i(this).attr({ role: "option", "aria-describedby": "slick-slide" + e.instanceUid + t }) }), null !== e.$dots && e.$dots.attr("role", "tablist").find("li").each(function (t) { i(this).attr({ role: "presentation", "aria-selected": "false", "aria-controls": "navigation" + e.instanceUid + t, id: "slick-slide" + e.instanceUid + t }) }).first().attr("aria-selected", "true").end().find("button").attr("role", "button").end().closest("div").attr("role", "toolbar"), e.activateADA() }, e.prototype.initArrowEvents = function () { var i = this; !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.off("click.slick").on("click.slick", { message: "previous" }, i.changeSlide), i.$nextArrow.off("click.slick").on("click.slick", { message: "next" }, i.changeSlide)) }, e.prototype.initDotEvents = function () { var e = this; !0 === e.options.dots && e.slideCount > e.options.slidesToShow && i("li", e.$dots).on("click.slick", { message: "index" }, e.changeSlide), !0 === e.options.dots && !0 === e.options.pauseOnDotsHover && i("li", e.$dots).on("mouseenter.slick", i.proxy(e.interrupt, e, !0)).on("mouseleave.slick", i.proxy(e.interrupt, e, !1)) }, e.prototype.initSlideEvents = function () { var e = this; e.options.pauseOnHover && (e.$list.on("mouseenter.slick", i.proxy(e.interrupt, e, !0)), e.$list.on("mouseleave.slick", i.proxy(e.interrupt, e, !1))) }, e.prototype.initializeEvents = function () { var e = this; e.initArrowEvents(), e.initDotEvents(), e.initSlideEvents(), e.$list.on("touchstart.slick mousedown.slick", { action: "start" }, e.swipeHandler), e.$list.on("touchmove.slick mousemove.slick", { action: "move" }, e.swipeHandler), e.$list.on("touchend.slick mouseup.slick", { action: "end" }, e.swipeHandler), e.$list.on("touchcancel.slick mouseleave.slick", { action: "end" }, e.swipeHandler), e.$list.on("click.slick", e.clickHandler), i(document).on(e.visibilityChange, i.proxy(e.visibility, e)), !0 === e.options.accessibility && e.$list.on("keydown.slick", e.keyHandler), !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on("click.slick", e.selectHandler), i(window).on("orientationchange.slick.slick-" + e.instanceUid, i.proxy(e.orientationChange, e)), i(window).on("resize.slick.slick-" + e.instanceUid, i.proxy(e.resize, e)), i("[draggable!=true]", e.$slideTrack).on("dragstart", e.preventDefault), i(window).on("load.slick.slick-" + e.instanceUid, e.setPosition), i(document).on("ready.slick.slick-" + e.instanceUid, e.setPosition) }, e.prototype.initUI = function () { var i = this; !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.show(), i.$nextArrow.show()), !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.show() }, e.prototype.keyHandler = function (i) { var e = this; i.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === i.keyCode && !0 === e.options.accessibility ? e.changeSlide({ data: { message: !0 === e.options.rtl ? "next" : "previous" } }) : 39 === i.keyCode && !0 === e.options.accessibility && e.changeSlide({ data: { message: !0 === e.options.rtl ? "previous" : "next" } })) }, e.prototype.lazyLoad = function () { function e(e) { i("img[data-lazy]", e).each(function () { var e = i(this), t = i(this).attr("data-lazy"), o = document.createElement("img"); o.onload = function () { e.animate({ opacity: 0 }, 100, function () { e.attr("src", t).animate({ opacity: 1 }, 200, function () { e.removeAttr("data-lazy").removeClass("slick-loading") }), s.$slider.trigger("lazyLoaded", [s, e, t]) }) }, o.onerror = function () { e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), s.$slider.trigger("lazyLoadError", [s, e, t]) }, o.src = t }) } var t, o, s = this; !0 === s.options.centerMode ? !0 === s.options.infinite ? o = (t = s.currentSlide + (s.options.slidesToShow / 2 + 1)) + s.options.slidesToShow + 2 : (t = Math.max(0, s.currentSlide - (s.options.slidesToShow / 2 + 1)), o = s.options.slidesToShow / 2 + 1 + 2 + s.currentSlide) : (t = s.options.infinite ? s.options.slidesToShow + s.currentSlide : s.currentSlide, o = Math.ceil(t + s.options.slidesToShow), !0 === s.options.fade && (t > 0 && t-- , o <= s.slideCount && o++)), e(s.$slider.find(".slick-slide").slice(t, o)), s.slideCount <= s.options.slidesToShow ? e(s.$slider.find(".slick-slide")) : s.currentSlide >= s.slideCount - s.options.slidesToShow ? e(s.$slider.find(".slick-cloned").slice(0, s.options.slidesToShow)) : 0 === s.currentSlide && e(s.$slider.find(".slick-cloned").slice(-1 * s.options.slidesToShow)) }, e.prototype.loadSlider = function () { var i = this; i.setPosition(), i.$slideTrack.css({ opacity: 1 }), i.$slider.removeClass("slick-loading"), i.initUI(), "progressive" === i.options.lazyLoad && i.progressiveLazyLoad() }, e.prototype.next = e.prototype.slickNext = function () { this.changeSlide({ data: { message: "next" } }) }, e.prototype.orientationChange = function () { this.checkResponsive(), this.setPosition() }, e.prototype.pause = e.prototype.slickPause = function () { this.autoPlayClear(), this.paused = !0 }, e.prototype.play = e.prototype.slickPlay = function () { var i = this; i.autoPlay(), i.options.autoplay = !0, i.paused = !1, i.focussed = !1, i.interrupted = !1 }, e.prototype.postSlide = function (i) { var e = this; e.unslicked || (e.$slider.trigger("afterChange", [e, i]), e.animating = !1, e.setPosition(), e.swipeLeft = null, e.options.autoplay && e.autoPlay(), !0 === e.options.accessibility && e.initADA()) }, e.prototype.prev = e.prototype.slickPrev = function () { this.changeSlide({ data: { message: "previous" } }) }, e.prototype.preventDefault = function (i) { i.preventDefault() }, e.prototype.progressiveLazyLoad = function (e) { e = e || 1; var t, o, s, n = this, r = i("img[data-lazy]", n.$slider); r.length ? (t = r.first(), o = t.attr("data-lazy"), (s = document.createElement("img")).onload = function () { t.attr("src", o).removeAttr("data-lazy").removeClass("slick-loading"), !0 === n.options.adaptiveHeight && n.setPosition(), n.$slider.trigger("lazyLoaded", [n, t, o]), n.progressiveLazyLoad() }, s.onerror = function () { 3 > e ? setTimeout(function () { n.progressiveLazyLoad(e + 1) }, 500) : (t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), n.$slider.trigger("lazyLoadError", [n, t, o]), n.progressiveLazyLoad()) }, s.src = o) : n.$slider.trigger("allImagesLoaded", [n]) }, e.prototype.refresh = function (e) { var t, o, s = this; o = s.slideCount - s.options.slidesToShow, !s.options.infinite && s.currentSlide > o && (s.currentSlide = o), s.slideCount <= s.options.slidesToShow && (s.currentSlide = 0), t = s.currentSlide, s.destroy(!0), i.extend(s, s.initials, { currentSlide: t }), s.init(), e || s.changeSlide({ data: { message: "index", index: t } }, !1) }, e.prototype.registerBreakpoints = function () { var e, t, o, s = this, n = s.options.responsive || null; if ("array" === i.type(n) && n.length) { s.respondTo = s.options.respondTo || "window"; for (e in n) if (o = s.breakpoints.length - 1, t = n[e].breakpoint, n.hasOwnProperty(e)) { for (; o >= 0;)s.breakpoints[o] && s.breakpoints[o] === t && s.breakpoints.splice(o, 1), o--; s.breakpoints.push(t), s.breakpointSettings[t] = n[e].settings } s.breakpoints.sort(function (i, e) { return s.options.mobileFirst ? i - e : e - i }) } }, e.prototype.reinit = function () { var e = this; e.$slides = e.$slideTrack.children(e.options.slide).addClass("slick-slide"), e.slideCount = e.$slides.length, e.currentSlide >= e.slideCount && 0 !== e.currentSlide && (e.currentSlide = e.currentSlide - e.options.slidesToScroll), e.slideCount <= e.options.slidesToShow && (e.currentSlide = 0), e.registerBreakpoints(), e.setProps(), e.setupInfinite(), e.buildArrows(), e.updateArrows(), e.initArrowEvents(), e.buildDots(), e.updateDots(), e.initDotEvents(), e.cleanUpSlideEvents(), e.initSlideEvents(), e.checkResponsive(!1, !0), !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on("click.slick", e.selectHandler), e.setSlideClasses("number" == typeof e.currentSlide ? e.currentSlide : 0), e.setPosition(), e.focusHandler(), e.paused = !e.options.autoplay, e.autoPlay(), e.$slider.trigger("reInit", [e]) }, e.prototype.resize = function () { var e = this; i(window).width() !== e.windowWidth && (clearTimeout(e.windowDelay), e.windowDelay = window.setTimeout(function () { e.windowWidth = i(window).width(), e.checkResponsive(), e.unslicked || e.setPosition() }, 50)) }, e.prototype.removeSlide = e.prototype.slickRemove = function (i, e, t) { var o = this; return "boolean" == typeof i ? i = !0 === (e = i) ? 0 : o.slideCount - 1 : i = !0 === e ? --i : i, !(o.slideCount < 1 || 0 > i || i > o.slideCount - 1) && (o.unload(), !0 === t ? o.$slideTrack.children().remove() : o.$slideTrack.children(this.options.slide).eq(i).remove(), o.$slides = o.$slideTrack.children(this.options.slide), o.$slideTrack.children(this.options.slide).detach(), o.$slideTrack.append(o.$slides), o.$slidesCache = o.$slides, void o.reinit()) }, e.prototype.setCSS = function (i) { var e, t, o = this, s = {}; !0 === o.options.rtl && (i = -i), e = "left" == o.positionProp ? Math.ceil(i) + "px" : "0px", t = "top" == o.positionProp ? Math.ceil(i) + "px" : "0px", s[o.positionProp] = i, !1 === o.transformsEnabled ? o.$slideTrack.css(s) : (s = {}, !1 === o.cssTransitions ? (s[o.animType] = "translate(" + e + ", " + t + ")", o.$slideTrack.css(s)) : (s[o.animType] = "translate3d(" + e + ", " + t + ", 0px)", o.$slideTrack.css(s))) }, e.prototype.setDimensions = function () { var i = this; !1 === i.options.vertical ? !0 === i.options.centerMode && i.$list.css({ padding: "0px " + i.options.centerPadding }) : (i.$list.height(i.$slides.first().outerHeight(!0) * i.options.slidesToShow), !0 === i.options.centerMode && i.$list.css({ padding: i.options.centerPadding + " 0px" })), i.listWidth = i.$list.width(), i.listHeight = i.$list.height(), !1 === i.options.vertical && !1 === i.options.variableWidth ? (i.slideWidth = Math.ceil(i.listWidth / i.options.slidesToShow), i.$slideTrack.width(Math.ceil(i.slideWidth * i.$slideTrack.children(".slick-slide").length))) : !0 === i.options.variableWidth ? i.$slideTrack.width(5e3 * i.slideCount) : (i.slideWidth = Math.ceil(i.listWidth), i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0) * i.$slideTrack.children(".slick-slide").length))); var e = i.$slides.first().outerWidth(!0) - i.$slides.first().width(); !1 === i.options.variableWidth && i.$slideTrack.children(".slick-slide").width(i.slideWidth - e) }, e.prototype.setFade = function () { var e, t = this; t.$slides.each(function (o, s) { e = t.slideWidth * o * -1, !0 === t.options.rtl ? i(s).css({ position: "relative", right: e, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }) : i(s).css({ position: "relative", left: e, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }) }), t.$slides.eq(t.currentSlide).css({ zIndex: t.options.zIndex - 1, opacity: 1 }) }, e.prototype.setHeight = function () { var i = this; if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { var e = i.$slides.eq(i.currentSlide).outerHeight(!0); i.$list.css("height", e) } }, e.prototype.setOption = e.prototype.slickSetOption = function () { var e, t, o, s, n, r = this, l = !1; if ("object" === i.type(arguments[0]) ? (o = arguments[0], l = arguments[1], n = "multiple") : "string" === i.type(arguments[0]) && (o = arguments[0], s = arguments[1], l = arguments[2], "responsive" === arguments[0] && "array" === i.type(arguments[1]) ? n = "responsive" : void 0 !== arguments[1] && (n = "single")), "single" === n) r.options[o] = s; else if ("multiple" === n) i.each(o, function (i, e) { r.options[i] = e }); else if ("responsive" === n) for (t in s) if ("array" !== i.type(r.options.responsive)) r.options.responsive = [s[t]]; else { for (e = r.options.responsive.length - 1; e >= 0;)r.options.responsive[e].breakpoint === s[t].breakpoint && r.options.responsive.splice(e, 1), e--; r.options.responsive.push(s[t]) } l && (r.unload(), r.reinit()) }, e.prototype.setPosition = function () { var i = this; i.setDimensions(), i.setHeight(), !1 === i.options.fade ? i.setCSS(i.getLeft(i.currentSlide)) : i.setFade(), i.$slider.trigger("setPosition", [i]) }, e.prototype.setProps = function () { var i = this, e = document.body.style; i.positionProp = !0 === i.options.vertical ? "top" : "left", "top" === i.positionProp ? i.$slider.addClass("slick-vertical") : i.$slider.removeClass("slick-vertical"), (void 0 !== e.WebkitTransition || void 0 !== e.MozTransition || void 0 !== e.msTransition) && !0 === i.options.useCSS && (i.cssTransitions = !0), i.options.fade && ("number" == typeof i.options.zIndex ? i.options.zIndex < 3 && (i.options.zIndex = 3) : i.options.zIndex = i.defaults.zIndex), void 0 !== e.OTransform && (i.animType = "OTransform", i.transformType = "-o-transform", i.transitionType = "OTransition", void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), void 0 !== e.MozTransform && (i.animType = "MozTransform", i.transformType = "-moz-transform", i.transitionType = "MozTransition", void 0 === e.perspectiveProperty && void 0 === e.MozPerspective && (i.animType = !1)), void 0 !== e.webkitTransform && (i.animType = "webkitTransform", i.transformType = "-webkit-transform", i.transitionType = "webkitTransition", void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), void 0 !== e.msTransform && (i.animType = "msTransform", i.transformType = "-ms-transform", i.transitionType = "msTransition", void 0 === e.msTransform && (i.animType = !1)), void 0 !== e.transform && !1 !== i.animType && (i.animType = "transform", i.transformType = "transform", i.transitionType = "transition"), i.transformsEnabled = i.options.useTransform && null !== i.animType && !1 !== i.animType }, e.prototype.setSlideClasses = function (i) { var e, t, o, s, n = this; t = n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"), n.$slides.eq(i).addClass("slick-current"), !0 === n.options.centerMode ? (e = Math.floor(n.options.slidesToShow / 2), !0 === n.options.infinite && (i >= e && i <= n.slideCount - 1 - e ? n.$slides.slice(i - e, i + e + 1).addClass("slick-active").attr("aria-hidden", "false") : (o = n.options.slidesToShow + i, t.slice(o - e + 1, o + e + 2).addClass("slick-active").attr("aria-hidden", "false")), 0 === i ? t.eq(t.length - 1 - n.options.slidesToShow).addClass("slick-center") : i === n.slideCount - 1 && t.eq(n.options.slidesToShow).addClass("slick-center")), n.$slides.eq(i).addClass("slick-center")) : i >= 0 && i <= n.slideCount - n.options.slidesToShow ? n.$slides.slice(i, i + n.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false") : t.length <= n.options.slidesToShow ? t.addClass("slick-active").attr("aria-hidden", "false") : (s = n.slideCount % n.options.slidesToShow, o = !0 === n.options.infinite ? n.options.slidesToShow + i : i, n.options.slidesToShow == n.options.slidesToScroll && n.slideCount - i < n.options.slidesToShow ? t.slice(o - (n.options.slidesToShow - s), o + s).addClass("slick-active").attr("aria-hidden", "false") : t.slice(o, o + n.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false")), "ondemand" === n.options.lazyLoad && n.lazyLoad() }, e.prototype.setupInfinite = function () { var e, t, o, s = this; if (!0 === s.options.fade && (s.options.centerMode = !1), !0 === s.options.infinite && !1 === s.options.fade && (t = null, s.slideCount > s.options.slidesToShow)) { for (o = !0 === s.options.centerMode ? s.options.slidesToShow + 1 : s.options.slidesToShow, e = s.slideCount; e > s.slideCount - o; e -= 1)t = e - 1, i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t - s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned"); for (e = 0; o > e; e += 1)t = e, i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t + s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned"); s.$slideTrack.find(".slick-cloned").find("[id]").each(function () { i(this).attr("id", "") }) } }, e.prototype.interrupt = function (i) { i || this.autoPlay(), this.interrupted = i }, e.prototype.selectHandler = function (e) { var t = this, o = i(e.target).is(".slick-slide") ? i(e.target) : i(e.target).parents(".slick-slide"), s = parseInt(o.attr("data-slick-index")); return s || (s = 0), t.slideCount <= t.options.slidesToShow ? (t.setSlideClasses(s), void t.asNavFor(s)) : void t.slideHandler(s) }, e.prototype.slideHandler = function (i, e, t) { var o, s, n, r, l, d = null, a = this; return e = e || !1, !0 === a.animating && !0 === a.options.waitForAnimate || !0 === a.options.fade && a.currentSlide === i || a.slideCount <= a.options.slidesToShow ? void 0 : (!1 === e && a.asNavFor(i), o = i, d = a.getLeft(o), r = a.getLeft(a.currentSlide), a.currentLeft = null === a.swipeLeft ? r : a.swipeLeft, !1 === a.options.infinite && !1 === a.options.centerMode && (0 > i || i > a.getDotCount() * a.options.slidesToScroll) ? void (!1 === a.options.fade && (o = a.currentSlide, !0 !== t ? a.animateSlide(r, function () { a.postSlide(o) }) : a.postSlide(o))) : !1 === a.options.infinite && !0 === a.options.centerMode && (0 > i || i > a.slideCount - a.options.slidesToScroll) ? void (!1 === a.options.fade && (o = a.currentSlide, !0 !== t ? a.animateSlide(r, function () { a.postSlide(o) }) : a.postSlide(o))) : (a.options.autoplay && clearInterval(a.autoPlayTimer), s = 0 > o ? a.slideCount % a.options.slidesToScroll != 0 ? a.slideCount - a.slideCount % a.options.slidesToScroll : a.slideCount + o : o >= a.slideCount ? a.slideCount % a.options.slidesToScroll != 0 ? 0 : o - a.slideCount : o, a.animating = !0, a.$slider.trigger("beforeChange", [a, a.currentSlide, s]), n = a.currentSlide, a.currentSlide = s, a.setSlideClasses(a.currentSlide), a.options.asNavFor && ((l = (l = a.getNavTarget()).slick("getSlick")).slideCount <= l.options.slidesToShow && l.setSlideClasses(a.currentSlide)), a.updateDots(), a.updateArrows(), !0 === a.options.fade ? (!0 !== t ? (a.fadeSlideOut(n), a.fadeSlide(s, function () { a.postSlide(s) })) : a.postSlide(s), void a.animateHeight()) : void (!0 !== t ? a.animateSlide(d, function () { a.postSlide(s) }) : a.postSlide(s)))) }, e.prototype.startLoad = function () { var i = this; !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.hide(), i.$nextArrow.hide()), !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.hide(), i.$slider.addClass("slick-loading") }, e.prototype.swipeDirection = function () { var i, e, t, o, s = this; return i = s.touchObject.startX - s.touchObject.curX, e = s.touchObject.startY - s.touchObject.curY, t = Math.atan2(e, i), 0 > (o = Math.round(180 * t / Math.PI)) && (o = 360 - Math.abs(o)), 45 >= o && o >= 0 ? !1 === s.options.rtl ? "left" : "right" : 360 >= o && o >= 315 ? !1 === s.options.rtl ? "left" : "right" : o >= 135 && 225 >= o ? !1 === s.options.rtl ? "right" : "left" : !0 === s.options.verticalSwiping ? o >= 35 && 135 >= o ? "down" : "up" : "vertical" }, e.prototype.swipeEnd = function (i) { var e, t, o = this; if (o.dragging = !1, o.interrupted = !1, o.shouldClick = !(o.touchObject.swipeLength > 10), void 0 === o.touchObject.curX) return !1; if (!0 === o.touchObject.edgeHit && o.$slider.trigger("edge", [o, o.swipeDirection()]), o.touchObject.swipeLength >= o.touchObject.minSwipe) { switch (t = o.swipeDirection()) { case "left": case "down": e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide + o.getSlideCount()) : o.currentSlide + o.getSlideCount(), o.currentDirection = 0; break; case "right": case "up": e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide - o.getSlideCount()) : o.currentSlide - o.getSlideCount(), o.currentDirection = 1 }"vertical" != t && (o.slideHandler(e), o.touchObject = {}, o.$slider.trigger("swipe", [o, t])) } else o.touchObject.startX !== o.touchObject.curX && (o.slideHandler(o.currentSlide), o.touchObject = {}) }, e.prototype.swipeHandler = function (i) { var e = this; if (!(!1 === e.options.swipe || "ontouchend" in document && !1 === e.options.swipe || !1 === e.options.draggable && -1 !== i.type.indexOf("mouse"))) switch (e.touchObject.fingerCount = i.originalEvent && void 0 !== i.originalEvent.touches ? i.originalEvent.touches.length : 1, e.touchObject.minSwipe = e.listWidth / e.options.touchThreshold, !0 === e.options.verticalSwiping && (e.touchObject.minSwipe = e.listHeight / e.options.touchThreshold), i.data.action) { case "start": e.swipeStart(i); break; case "move": e.swipeMove(i); break; case "end": e.swipeEnd(i) } }, e.prototype.swipeMove = function (i) { var e, t, o, s, n, r = this; return n = void 0 !== i.originalEvent ? i.originalEvent.touches : null, !(!r.dragging || n && 1 !== n.length) && (e = r.getLeft(r.currentSlide), r.touchObject.curX = void 0 !== n ? n[0].pageX : i.clientX, r.touchObject.curY = void 0 !== n ? n[0].pageY : i.clientY, r.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(r.touchObject.curX - r.touchObject.startX, 2))), !0 === r.options.verticalSwiping && (r.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(r.touchObject.curY - r.touchObject.startY, 2)))), "vertical" !== (t = r.swipeDirection()) ? (void 0 !== i.originalEvent && r.touchObject.swipeLength > 4 && i.preventDefault(), s = (!1 === r.options.rtl ? 1 : -1) * (r.touchObject.curX > r.touchObject.startX ? 1 : -1), !0 === r.options.verticalSwiping && (s = r.touchObject.curY > r.touchObject.startY ? 1 : -1), o = r.touchObject.swipeLength, r.touchObject.edgeHit = !1, !1 === r.options.infinite && (0 === r.currentSlide && "right" === t || r.currentSlide >= r.getDotCount() && "left" === t) && (o = r.touchObject.swipeLength * r.options.edgeFriction, r.touchObject.edgeHit = !0), !1 === r.options.vertical ? r.swipeLeft = e + o * s : r.swipeLeft = e + o * (r.$list.height() / r.listWidth) * s, !0 === r.options.verticalSwiping && (r.swipeLeft = e + o * s), !0 !== r.options.fade && !1 !== r.options.touchMove && (!0 === r.animating ? (r.swipeLeft = null, !1) : void r.setCSS(r.swipeLeft))) : void 0) }, e.prototype.swipeStart = function (i) { var e, t = this; return t.interrupted = !0, 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow ? (t.touchObject = {}, !1) : (void 0 !== i.originalEvent && void 0 !== i.originalEvent.touches && (e = i.originalEvent.touches[0]), t.touchObject.startX = t.touchObject.curX = void 0 !== e ? e.pageX : i.clientX, t.touchObject.startY = t.touchObject.curY = void 0 !== e ? e.pageY : i.clientY, void (t.dragging = !0)) }, e.prototype.unfilterSlides = e.prototype.slickUnfilter = function () { var i = this; null !== i.$slidesCache && (i.unload(), i.$slideTrack.children(this.options.slide).detach(), i.$slidesCache.appendTo(i.$slideTrack), i.reinit()) }, e.prototype.unload = function () { var e = this; i(".slick-cloned", e.$slider).remove(), e.$dots && e.$dots.remove(), e.$prevArrow && e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.remove(), e.$nextArrow && e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.remove(), e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "") }, e.prototype.unslick = function (i) { this.$slider.trigger("unslick", [this, i]), this.destroy() }, e.prototype.updateArrows = function () { var i = this; Math.floor(i.options.slidesToShow / 2), !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && !i.options.infinite && (i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 0 === i.currentSlide ? (i.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : i.currentSlide >= i.slideCount - i.options.slidesToShow && !1 === i.options.centerMode ? (i.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : i.currentSlide >= i.slideCount - 1 && !0 === i.options.centerMode && (i.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) }, e.prototype.updateDots = function () { var i = this; null !== i.$dots && (i.$dots.find("li").removeClass("slick-active").attr("aria-hidden", "true"), i.$dots.find("li").eq(Math.floor(i.currentSlide / i.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden", "false")) }, e.prototype.visibility = function () { this.options.autoplay && (document[this.hidden] ? this.interrupted = !0 : this.interrupted = !1) }, i.fn.slick = function () { var i, t, o = this, s = arguments[0], n = Array.prototype.slice.call(arguments, 1), r = o.length; for (i = 0; r > i; i++)if ("object" == typeof s || void 0 === s ? o[i].slick = new e(o[i], s) : t = o[i].slick[s].apply(o[i].slick, n), void 0 !== t) return t; return o } });
!function (t, e) { "use strict"; "function" == typeof define && define.amd ? define("jquery-bridget/jquery-bridget", ["jquery"], function (i) { e(t, i) }) : "object" == typeof module && module.exports ? module.exports = e(t, require("jquery")) : t.jQueryBridget = e(t, t.jQuery) }(window, function (t, e) { "use strict"; function i(i, s, a) { (a = a || e || t.jQuery) && (s.prototype.option || (s.prototype.option = function (t) { a.isPlainObject(t) && (this.options = a.extend(!0, this.options, t)) }), a.fn[i] = function (t) { if ("string" == typeof t) { var e = n.call(arguments, 1); return h = e, l = "$()." + i + '("' + (u = t) + '")', (o = this).each(function (t, e) { var o = a.data(e, i); if (o) { var n = o[u]; if (n && "_" != u.charAt(0)) { var s = n.apply(o, h); d = void 0 === d ? s : d } else r(l + " is not a valid method") } else r(i + " not initialized. Cannot call methods, i.e. " + l) }), void 0 !== d ? d : o } var o, u, h, d, l, f; return f = t, this.each(function (t, e) { var o = a.data(e, i); o ? (o.option(f), o._init()) : (o = new s(e, f), a.data(e, i, o)) }), this }, o(a)) } function o(t) { !t || t && t.bridget || (t.bridget = i) } var n = Array.prototype.slice, s = t.console, r = void 0 === s ? function () { } : function (t) { s.error(t) }; return o(e || t.jQuery), i }), function (t, e) { "function" == typeof define && define.amd ? define("ev-emitter/ev-emitter", e) : "object" == typeof module && module.exports ? module.exports = e() : t.EvEmitter = e() }("undefined" != typeof window ? window : this, function () { function t() { } var e = t.prototype; return e.on = function (t, e) { if (t && e) { var i = this._events = this._events || {}, o = i[t] = i[t] || []; return -1 == o.indexOf(e) && o.push(e), this } }, e.once = function (t, e) { if (t && e) { this.on(t, e); var i = this._onceEvents = this._onceEvents || {}; return (i[t] = i[t] || {})[e] = !0, this } }, e.off = function (t, e) { var i = this._events && this._events[t]; if (i && i.length) { var o = i.indexOf(e); return -1 != o && i.splice(o, 1), this } }, e.emitEvent = function (t, e) { var i = this._events && this._events[t]; if (i && i.length) { var o = 0, n = i[o]; e = e || []; for (var s = this._onceEvents && this._onceEvents[t]; n;) { var r = s && s[n]; r && (this.off(t, n), delete s[n]), n.apply(this, e), n = i[o += r ? 0 : 1] } return this } }, t }), function (t, e) { "use strict"; "function" == typeof define && define.amd ? define("get-size/get-size", [], function () { return e() }) : "object" == typeof module && module.exports ? module.exports = e() : t.getSize = e() }(window, function () { "use strict"; function t(t) { var e = parseFloat(t); return -1 == t.indexOf("%") && !isNaN(e) && e } function e(t) { var e = getComputedStyle(t); return e || n("Style returned " + e + ". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"), e } function i(n) { if (function () { if (!a) { a = !0; var n = document.createElement("div"); n.style.width = "200px", n.style.padding = "1px 2px 3px 4px", n.style.borderStyle = "solid", n.style.borderWidth = "1px 2px 3px 4px", n.style.boxSizing = "border-box"; var s = document.body || document.documentElement; s.appendChild(n); var r = e(n); i.isBoxSizeOuter = o = 200 == t(r.width), s.removeChild(n) } }(), "string" == typeof n && (n = document.querySelector(n)), n && "object" == typeof n && n.nodeType) { var u = e(n); if ("none" == u.display) return function () { for (var t = { width: 0, height: 0, innerWidth: 0, innerHeight: 0, outerWidth: 0, outerHeight: 0 }, e = 0; r > e; e++)t[s[e]] = 0; return t }(); var h = {}; h.width = n.offsetWidth, h.height = n.offsetHeight; for (var d = h.isBorderBox = "border-box" == u.boxSizing, l = 0; r > l; l++) { var f = s[l], m = u[f], c = parseFloat(m); h[f] = isNaN(c) ? 0 : c } var p = h.paddingLeft + h.paddingRight, y = h.paddingTop + h.paddingBottom, g = h.marginLeft + h.marginRight, v = h.marginTop + h.marginBottom, _ = h.borderLeftWidth + h.borderRightWidth, I = h.borderTopWidth + h.borderBottomWidth, z = d && o, x = t(u.width); !1 !== x && (h.width = x + (z ? 0 : p + _)); var S = t(u.height); return !1 !== S && (h.height = S + (z ? 0 : y + I)), h.innerWidth = h.width - (p + _), h.innerHeight = h.height - (y + I), h.outerWidth = h.width + g, h.outerHeight = h.height + v, h } } var o, n = "undefined" == typeof console ? function () { } : function (t) { console.error(t) }, s = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], r = s.length, a = !1; return i }), function (t, e) { "use strict"; "function" == typeof define && define.amd ? define("desandro-matches-selector/matches-selector", e) : "object" == typeof module && module.exports ? module.exports = e() : t.matchesSelector = e() }(window, function () { "use strict"; var t = function () { var t = Element.prototype; if (t.matches) return "matches"; if (t.matchesSelector) return "matchesSelector"; for (var e = ["webkit", "moz", "ms", "o"], i = 0; i < e.length; i++) { var o = e[i] + "MatchesSelector"; if (t[o]) return o } }(); return function (e, i) { return e[t](i) } }), function (t, e) { "function" == typeof define && define.amd ? define("fizzy-ui-utils/utils", ["desandro-matches-selector/matches-selector"], function (i) { return e(t, i) }) : "object" == typeof module && module.exports ? module.exports = e(t, require("desandro-matches-selector")) : t.fizzyUIUtils = e(t, t.matchesSelector) }(window, function (t, e) { var i = { extend: function (t, e) { for (var i in e) t[i] = e[i]; return t }, modulo: function (t, e) { return (t % e + e) % e }, makeArray: function (t) { var e = []; if (Array.isArray(t)) e = t; else if (t && "number" == typeof t.length) for (var i = 0; i < t.length; i++)e.push(t[i]); else e.push(t); return e }, removeFrom: function (t, e) { var i = t.indexOf(e); -1 != i && t.splice(i, 1) }, getParent: function (t, i) { for (; t != document.body;)if (t = t.parentNode, e(t, i)) return t }, getQueryElement: function (t) { return "string" == typeof t ? document.querySelector(t) : t }, handleEvent: function (t) { var e = "on" + t.type; this[e] && this[e](t) }, filterFindElements: function (t, o) { var n = []; return (t = i.makeArray(t)).forEach(function (t) { if (t instanceof HTMLElement) { if (!o) return void n.push(t); e(t, o) && n.push(t); for (var i = t.querySelectorAll(o), s = 0; s < i.length; s++)n.push(i[s]) } }), n }, debounceMethod: function (t, e, i) { var o = t.prototype[e], n = e + "Timeout"; t.prototype[e] = function () { var t = this[n]; t && clearTimeout(t); var e = arguments, s = this; this[n] = setTimeout(function () { o.apply(s, e), delete s[n] }, i || 100) } }, docReady: function (t) { var e = document.readyState; "complete" == e || "interactive" == e ? t() : document.addEventListener("DOMContentLoaded", t) }, toDashed: function (t) { return t.replace(/(.)([A-Z])/g, function (t, e, i) { return e + "-" + i }).toLowerCase() } }, o = t.console; return i.htmlInit = function (e, n) { i.docReady(function () { var s = i.toDashed(n), r = "data-" + s, a = document.querySelectorAll("[" + r + "]"), u = document.querySelectorAll(".js-" + s), h = i.makeArray(a).concat(i.makeArray(u)), d = r + "-options", l = t.jQuery; h.forEach(function (t) { var i, s = t.getAttribute(r) || t.getAttribute(d); try { i = s && JSON.parse(s) } catch (e) { return void (o && o.error("Error parsing " + r + " on " + t.className + ": " + e)) } var a = new e(t, i); l && l.data(t, n, a) }) }) }, i }), function (t, e) { "function" == typeof define && define.amd ? define("outlayer/item", ["ev-emitter/ev-emitter", "get-size/get-size"], e) : "object" == typeof module && module.exports ? module.exports = e(require("ev-emitter"), require("get-size")) : (t.Outlayer = {}, t.Outlayer.Item = e(t.EvEmitter, t.getSize)) }(window, function (t, e) { "use strict"; function i(t, e) { t && (this.element = t, this.layout = e, this.position = { x: 0, y: 0 }, this._create()) } var o = document.documentElement.style, n = "string" == typeof o.transition ? "transition" : "WebkitTransition", s = "string" == typeof o.transform ? "transform" : "WebkitTransform", r = { WebkitTransition: "webkitTransitionEnd", transition: "transitionend" }[n], a = { transform: s, transition: n, transitionDuration: n + "Duration", transitionProperty: n + "Property", transitionDelay: n + "Delay" }, u = i.prototype = Object.create(t.prototype); u.constructor = i, u._create = function () { this._transn = { ingProperties: {}, clean: {}, onEnd: {} }, this.css({ position: "absolute" }) }, u.handleEvent = function (t) { var e = "on" + t.type; this[e] && this[e](t) }, u.getSize = function () { this.size = e(this.element) }, u.css = function (t) { var e = this.element.style; for (var i in t) { e[a[i] || i] = t[i] } }, u.getPosition = function () { var t = getComputedStyle(this.element), e = this.layout._getOption("originLeft"), i = this.layout._getOption("originTop"), o = t[e ? "left" : "right"], n = t[i ? "top" : "bottom"], s = this.layout.size, r = -1 != o.indexOf("%") ? parseFloat(o) / 100 * s.width : parseInt(o, 10), a = -1 != n.indexOf("%") ? parseFloat(n) / 100 * s.height : parseInt(n, 10); r = isNaN(r) ? 0 : r, a = isNaN(a) ? 0 : a, r -= e ? s.paddingLeft : s.paddingRight, a -= i ? s.paddingTop : s.paddingBottom, this.position.x = r, this.position.y = a }, u.layoutPosition = function () { var t = this.layout.size, e = {}, i = this.layout._getOption("originLeft"), o = this.layout._getOption("originTop"), n = i ? "paddingLeft" : "paddingRight", s = i ? "left" : "right", r = i ? "right" : "left", a = this.position.x + t[n]; e[s] = this.getXValue(a), e[r] = ""; var u = o ? "paddingTop" : "paddingBottom", h = o ? "top" : "bottom", d = o ? "bottom" : "top", l = this.position.y + t[u]; e[h] = this.getYValue(l), e[d] = "", this.css(e), this.emitEvent("layout", [this]) }, u.getXValue = function (t) { var e = this.layout._getOption("horizontal"); return this.layout.options.percentPosition && !e ? t / this.layout.size.width * 100 + "%" : t + "px" }, u.getYValue = function (t) { var e = this.layout._getOption("horizontal"); return this.layout.options.percentPosition && e ? t / this.layout.size.height * 100 + "%" : t + "px" }, u._transitionTo = function (t, e) { this.getPosition(); var i = this.position.x, o = this.position.y, n = parseInt(t, 10), s = parseInt(e, 10), r = n === this.position.x && s === this.position.y; if (this.setPosition(t, e), !r || this.isTransitioning) { var a = t - i, u = e - o, h = {}; h.transform = this.getTranslate(a, u), this.transition({ to: h, onTransitionEnd: { transform: this.layoutPosition }, isCleaning: !0 }) } else this.layoutPosition() }, u.getTranslate = function (t, e) { var i = this.layout._getOption("originLeft"), o = this.layout._getOption("originTop"); return "translate3d(" + (t = i ? t : -t) + "px, " + (e = o ? e : -e) + "px, 0)" }, u.goTo = function (t, e) { this.setPosition(t, e), this.layoutPosition() }, u.moveTo = u._transitionTo, u.setPosition = function (t, e) { this.position.x = parseInt(t, 10), this.position.y = parseInt(e, 10) }, u._nonTransition = function (t) { this.css(t.to), t.isCleaning && this._removeStyles(t.to); for (var e in t.onTransitionEnd) t.onTransitionEnd[e].call(this) }, u.transition = function (t) { if (parseFloat(this.layout.options.transitionDuration)) { var e = this._transn; for (var i in t.onTransitionEnd) e.onEnd[i] = t.onTransitionEnd[i]; for (i in t.to) e.ingProperties[i] = !0, t.isCleaning && (e.clean[i] = !0); if (t.from) { this.css(t.from); this.element.offsetHeight; null } this.enableTransition(t.to), this.css(t.to), this.isTransitioning = !0 } else this._nonTransition(t) }; var h = "opacity," + s.replace(/([A-Z])/g, function (t) { return "-" + t.toLowerCase() }); u.enableTransition = function () { if (!this.isTransitioning) { var t = this.layout.options.transitionDuration; t = "number" == typeof t ? t + "ms" : t, this.css({ transitionProperty: h, transitionDuration: t, transitionDelay: this.staggerDelay || 0 }), this.element.addEventListener(r, this, !1) } }, u.onwebkitTransitionEnd = function (t) { this.ontransitionend(t) }, u.onotransitionend = function (t) { this.ontransitionend(t) }; var d = { "-webkit-transform": "transform" }; u.ontransitionend = function (t) { if (t.target === this.element) { var e = this._transn, i = d[t.propertyName] || t.propertyName; if (delete e.ingProperties[i], function (t) { for (var e in t) return !1; return !0 }(e.ingProperties) && this.disableTransition(), i in e.clean && (this.element.style[t.propertyName] = "", delete e.clean[i]), i in e.onEnd) e.onEnd[i].call(this), delete e.onEnd[i]; this.emitEvent("transitionEnd", [this]) } }, u.disableTransition = function () { this.removeTransitionStyles(), this.element.removeEventListener(r, this, !1), this.isTransitioning = !1 }, u._removeStyles = function (t) { var e = {}; for (var i in t) e[i] = ""; this.css(e) }; var l = { transitionProperty: "", transitionDuration: "", transitionDelay: "" }; return u.removeTransitionStyles = function () { this.css(l) }, u.stagger = function (t) { t = isNaN(t) ? 0 : t, this.staggerDelay = t + "ms" }, u.removeElem = function () { this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]) }, u.remove = function () { return n && parseFloat(this.layout.options.transitionDuration) ? (this.once("transitionEnd", function () { this.removeElem() }), void this.hide()) : void this.removeElem() }, u.reveal = function () { delete this.isHidden, this.css({ display: "" }); var t = this.layout.options, e = {}; e[this.getHideRevealTransitionEndProperty("visibleStyle")] = this.onRevealTransitionEnd, this.transition({ from: t.hiddenStyle, to: t.visibleStyle, isCleaning: !0, onTransitionEnd: e }) }, u.onRevealTransitionEnd = function () { this.isHidden || this.emitEvent("reveal") }, u.getHideRevealTransitionEndProperty = function (t) { var e = this.layout.options[t]; if (e.opacity) return "opacity"; for (var i in e) return i }, u.hide = function () { this.isHidden = !0, this.css({ display: "" }); var t = this.layout.options, e = {}; e[this.getHideRevealTransitionEndProperty("hiddenStyle")] = this.onHideTransitionEnd, this.transition({ from: t.visibleStyle, to: t.hiddenStyle, isCleaning: !0, onTransitionEnd: e }) }, u.onHideTransitionEnd = function () { this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide")) }, u.destroy = function () { this.css({ position: "", left: "", right: "", top: "", bottom: "", transition: "", transform: "" }) }, i }), function (t, e) { "use strict"; "function" == typeof define && define.amd ? define("outlayer/outlayer", ["ev-emitter/ev-emitter", "get-size/get-size", "fizzy-ui-utils/utils", "./item"], function (i, o, n, s) { return e(t, i, o, n, s) }) : "object" == typeof module && module.exports ? module.exports = e(t, require("ev-emitter"), require("get-size"), require("fizzy-ui-utils"), require("./item")) : t.Outlayer = e(t, t.EvEmitter, t.getSize, t.fizzyUIUtils, t.Outlayer.Item) }(window, function (t, e, i, o, n) { "use strict"; function s(t, e) { var i = o.getQueryElement(t); if (i) { this.element = i, u && (this.$element = u(this.element)), this.options = o.extend({}, this.constructor.defaults), this.option(e); var n = ++d; this.element.outlayerGUID = n, l[n] = this, this._create(), this._getOption("initLayout") && this.layout() } else a && a.error("Bad element for " + this.constructor.namespace + ": " + (i || t)) } function r(t) { function e() { t.apply(this, arguments) } return e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e } var a = t.console, u = t.jQuery, h = function () { }, d = 0, l = {}; s.namespace = "outlayer", s.Item = n, s.defaults = { containerStyle: { position: "relative" }, initLayout: !0, originLeft: !0, originTop: !0, resize: !0, resizeContainer: !0, transitionDuration: "0.4s", hiddenStyle: { opacity: 0, transform: "scale(0.001)" }, visibleStyle: { opacity: 1, transform: "scale(1)" } }; var f = s.prototype; o.extend(f, e.prototype), f.option = function (t) { o.extend(this.options, t) }, f._getOption = function (t) { var e = this.constructor.compatOptions[t]; return e && void 0 !== this.options[e] ? this.options[e] : this.options[t] }, s.compatOptions = { initLayout: "isInitLayout", horizontal: "isHorizontal", layoutInstant: "isLayoutInstant", originLeft: "isOriginLeft", originTop: "isOriginTop", resize: "isResizeBound", resizeContainer: "isResizingContainer" }, f._create = function () { this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), o.extend(this.element.style, this.options.containerStyle), this._getOption("resize") && this.bindResize() }, f.reloadItems = function () { this.items = this._itemize(this.element.children) }, f._itemize = function (t) { for (var e = this._filterFindItemElements(t), i = this.constructor.Item, o = [], n = 0; n < e.length; n++) { var s = new i(e[n], this); o.push(s) } return o }, f._filterFindItemElements = function (t) { return o.filterFindElements(t, this.options.itemSelector) }, f.getItemElements = function () { return this.items.map(function (t) { return t.element }) }, f.layout = function () { this._resetLayout(), this._manageStamps(); var t = this._getOption("layoutInstant"), e = void 0 !== t ? t : !this._isLayoutInited; this.layoutItems(this.items, e), this._isLayoutInited = !0 }, f._init = f.layout, f._resetLayout = function () { this.getSize() }, f.getSize = function () { this.size = i(this.element) }, f._getMeasurement = function (t, e) { var o, n = this.options[t]; n ? ("string" == typeof n ? o = this.element.querySelector(n) : n instanceof HTMLElement && (o = n), this[t] = o ? i(o)[e] : n) : this[t] = 0 }, f.layoutItems = function (t, e) { t = this._getItemsForLayout(t), this._layoutItems(t, e), this._postLayout() }, f._getItemsForLayout = function (t) { return t.filter(function (t) { return !t.isIgnored }) }, f._layoutItems = function (t, e) { if (this._emitCompleteOnItems("layout", t), t && t.length) { var i = []; t.forEach(function (t) { var o = this._getItemLayoutPosition(t); o.item = t, o.isInstant = e || t.isLayoutInstant, i.push(o) }, this), this._processLayoutQueue(i) } }, f._getItemLayoutPosition = function () { return { x: 0, y: 0 } }, f._processLayoutQueue = function (t) { this.updateStagger(), t.forEach(function (t, e) { this._positionItem(t.item, t.x, t.y, t.isInstant, e) }, this) }, f.updateStagger = function () { var t = this.options.stagger; return null === t || void 0 === t ? void (this.stagger = 0) : (this.stagger = function (t) { if ("number" == typeof t) return t; var e = t.match(/(^\d*\.?\d*)(\w*)/), i = e && e[1], o = e && e[2]; return i.length ? (i = parseFloat(i)) * (m[o] || 1) : 0 }(t), this.stagger) }, f._positionItem = function (t, e, i, o, n) { o ? t.goTo(e, i) : (t.stagger(n * this.stagger), t.moveTo(e, i)) }, f._postLayout = function () { this.resizeContainer() }, f.resizeContainer = function () { if (this._getOption("resizeContainer")) { var t = this._getContainerSize(); t && (this._setContainerMeasure(t.width, !0), this._setContainerMeasure(t.height, !1)) } }, f._getContainerSize = h, f._setContainerMeasure = function (t, e) { if (void 0 !== t) { var i = this.size; i.isBorderBox && (t += e ? i.paddingLeft + i.paddingRight + i.borderLeftWidth + i.borderRightWidth : i.paddingBottom + i.paddingTop + i.borderTopWidth + i.borderBottomWidth), t = Math.max(t, 0), this.element.style[e ? "width" : "height"] = t + "px" } }, f._emitCompleteOnItems = function (t, e) { function i() { n.dispatchEvent(t + "Complete", null, [e]) } function o() { ++r == s && i() } var n = this, s = e.length; if (e && s) { var r = 0; e.forEach(function (e) { e.once(t, o) }) } else i() }, f.dispatchEvent = function (t, e, i) { var o = e ? [e].concat(i) : i; if (this.emitEvent(t, o), u) if (this.$element = this.$element || u(this.element), e) { var n = u.Event(e); n.type = t, this.$element.trigger(n, i) } else this.$element.trigger(t, i) }, f.ignore = function (t) { var e = this.getItem(t); e && (e.isIgnored = !0) }, f.unignore = function (t) { var e = this.getItem(t); e && delete e.isIgnored }, f.stamp = function (t) { (t = this._find(t)) && (this.stamps = this.stamps.concat(t), t.forEach(this.ignore, this)) }, f.unstamp = function (t) { (t = this._find(t)) && t.forEach(function (t) { o.removeFrom(this.stamps, t), this.unignore(t) }, this) }, f._find = function (t) { return t ? ("string" == typeof t && (t = this.element.querySelectorAll(t)), t = o.makeArray(t)) : void 0 }, f._manageStamps = function () { this.stamps && this.stamps.length && (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this)) }, f._getBoundingRect = function () { var t = this.element.getBoundingClientRect(), e = this.size; this._boundingRect = { left: t.left + e.paddingLeft + e.borderLeftWidth, top: t.top + e.paddingTop + e.borderTopWidth, right: t.right - (e.paddingRight + e.borderRightWidth), bottom: t.bottom - (e.paddingBottom + e.borderBottomWidth) } }, f._manageStamp = h, f._getElementOffset = function (t) { var e = t.getBoundingClientRect(), o = this._boundingRect, n = i(t); return { left: e.left - o.left - n.marginLeft, top: e.top - o.top - n.marginTop, right: o.right - e.right - n.marginRight, bottom: o.bottom - e.bottom - n.marginBottom } }, f.handleEvent = o.handleEvent, f.bindResize = function () { t.addEventListener("resize", this), this.isResizeBound = !0 }, f.unbindResize = function () { t.removeEventListener("resize", this), this.isResizeBound = !1 }, f.onresize = function () { this.resize() }, o.debounceMethod(s, "onresize", 100), f.resize = function () { this.isResizeBound && this.needsResizeLayout() && this.layout() }, f.needsResizeLayout = function () { var t = i(this.element); return this.size && t && t.innerWidth !== this.size.innerWidth }, f.addItems = function (t) { var e = this._itemize(t); return e.length && (this.items = this.items.concat(e)), e }, f.appended = function (t) { var e = this.addItems(t); e.length && (this.layoutItems(e, !0), this.reveal(e)) }, f.prepended = function (t) { var e = this._itemize(t); if (e.length) { var i = this.items.slice(0); this.items = e.concat(i), this._resetLayout(), this._manageStamps(), this.layoutItems(e, !0), this.reveal(e), this.layoutItems(i) } }, f.reveal = function (t) { if (this._emitCompleteOnItems("reveal", t), t && t.length) { var e = this.updateStagger(); t.forEach(function (t, i) { t.stagger(i * e), t.reveal() }) } }, f.hide = function (t) { if (this._emitCompleteOnItems("hide", t), t && t.length) { var e = this.updateStagger(); t.forEach(function (t, i) { t.stagger(i * e), t.hide() }) } }, f.revealItemElements = function (t) { var e = this.getItems(t); this.reveal(e) }, f.hideItemElements = function (t) { var e = this.getItems(t); this.hide(e) }, f.getItem = function (t) { for (var e = 0; e < this.items.length; e++) { var i = this.items[e]; if (i.element == t) return i } }, f.getItems = function (t) { var e = []; return (t = o.makeArray(t)).forEach(function (t) { var i = this.getItem(t); i && e.push(i) }, this), e }, f.remove = function (t) { var e = this.getItems(t); this._emitCompleteOnItems("remove", e), e && e.length && e.forEach(function (t) { t.remove(), o.removeFrom(this.items, t) }, this) }, f.destroy = function () { var t = this.element.style; t.height = "", t.position = "", t.width = "", this.items.forEach(function (t) { t.destroy() }), this.unbindResize(); var e = this.element.outlayerGUID; delete l[e], delete this.element.outlayerGUID, u && u.removeData(this.element, this.constructor.namespace) }, s.data = function (t) { var e = (t = o.getQueryElement(t)) && t.outlayerGUID; return e && l[e] }, s.create = function (t, e) { var i = r(s); return i.defaults = o.extend({}, s.defaults), o.extend(i.defaults, e), i.compatOptions = o.extend({}, s.compatOptions), i.namespace = t, i.data = s.data, i.Item = r(n), o.htmlInit(i, t), u && u.bridget && u.bridget(t, i), i }; var m = { ms: 1, s: 1e3 }; return s.Item = n, s }), function (t, e) { "function" == typeof define && define.amd ? define("isotope/js/item", ["outlayer/outlayer"], e) : "object" == typeof module && module.exports ? module.exports = e(require("outlayer")) : (t.Isotope = t.Isotope || {}, t.Isotope.Item = e(t.Outlayer)) }(window, function (t) { "use strict"; function e() { t.Item.apply(this, arguments) } var i = e.prototype = Object.create(t.Item.prototype), o = i._create; i._create = function () { this.id = this.layout.itemGUID++ , o.call(this), this.sortData = {} }, i.updateSortData = function () { if (!this.isIgnored) { this.sortData.id = this.id, this.sortData["original-order"] = this.id, this.sortData.random = Math.random(); var t = this.layout.options.getSortData, e = this.layout._sorters; for (var i in t) { var o = e[i]; this.sortData[i] = o(this.element, this) } } }; var n = i.destroy; return i.destroy = function () { n.apply(this, arguments), this.css({ display: "" }) }, e }), function (t, e) { "function" == typeof define && define.amd ? define("isotope/js/layout-mode", ["get-size/get-size", "outlayer/outlayer"], e) : "object" == typeof module && module.exports ? module.exports = e(require("get-size"), require("outlayer")) : (t.Isotope = t.Isotope || {}, t.Isotope.LayoutMode = e(t.getSize, t.Outlayer)) }(window, function (t, e) { "use strict"; function i(t) { this.isotope = t, t && (this.options = t.options[this.namespace], this.element = t.element, this.items = t.filteredItems, this.size = t.size) } var o = i.prototype; return ["_resetLayout", "_getItemLayoutPosition", "_manageStamp", "_getContainerSize", "_getElementOffset", "needsResizeLayout", "_getOption"].forEach(function (t) { o[t] = function () { return e.prototype[t].apply(this.isotope, arguments) } }), o.needsVerticalResizeLayout = function () { var e = t(this.isotope.element); return this.isotope.size && e && e.innerHeight != this.isotope.size.innerHeight }, o._getMeasurement = function () { this.isotope._getMeasurement.apply(this, arguments) }, o.getColumnWidth = function () { this.getSegmentSize("column", "Width") }, o.getRowHeight = function () { this.getSegmentSize("row", "Height") }, o.getSegmentSize = function (t, e) { var i = t + e, o = "outer" + e; if (this._getMeasurement(i, o), !this[i]) { var n = this.getFirstItemSize(); this[i] = n && n[o] || this.isotope.size["inner" + e] } }, o.getFirstItemSize = function () { var e = this.isotope.filteredItems[0]; return e && e.element && t(e.element) }, o.layout = function () { this.isotope.layout.apply(this.isotope, arguments) }, o.getSize = function () { this.isotope.getSize(), this.size = this.isotope.size }, i.modes = {}, i.create = function (t, e) { function n() { i.apply(this, arguments) } return n.prototype = Object.create(o), n.prototype.constructor = n, e && (n.options = e), n.prototype.namespace = t, i.modes[t] = n, n }, i }), function (t, e) { "function" == typeof define && define.amd ? define("masonry/masonry", ["outlayer/outlayer", "get-size/get-size"], e) : "object" == typeof module && module.exports ? module.exports = e(require("outlayer"), require("get-size")) : t.Masonry = e(t.Outlayer, t.getSize) }(window, function (t, e) { var i = t.create("masonry"); return i.compatOptions.fitWidth = "isFitWidth", i.prototype._resetLayout = function () { this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = []; for (var t = 0; t < this.cols; t++)this.colYs.push(0); this.maxY = 0 }, i.prototype.measureColumns = function () { if (this.getContainerWidth(), !this.columnWidth) { var t = this.items[0], i = t && t.element; this.columnWidth = i && e(i).outerWidth || this.containerWidth } var o = this.columnWidth += this.gutter, n = this.containerWidth + this.gutter, s = n / o, r = o - n % o; s = Math[r && 1 > r ? "round" : "floor"](s), this.cols = Math.max(s, 1) }, i.prototype.getContainerWidth = function () { var t = this._getOption("fitWidth") ? this.element.parentNode : this.element, i = e(t); this.containerWidth = i && i.innerWidth }, i.prototype._getItemLayoutPosition = function (t) { t.getSize(); var e = t.size.outerWidth % this.columnWidth, i = Math[e && 1 > e ? "round" : "ceil"](t.size.outerWidth / this.columnWidth); i = Math.min(i, this.cols); for (var o = this._getColGroup(i), n = Math.min.apply(Math, o), s = o.indexOf(n), r = { x: this.columnWidth * s, y: n }, a = n + t.size.outerHeight, u = this.cols + 1 - o.length, h = 0; u > h; h++)this.colYs[s + h] = a; return r }, i.prototype._getColGroup = function (t) { if (2 > t) return this.colYs; for (var e = [], i = this.cols + 1 - t, o = 0; i > o; o++) { var n = this.colYs.slice(o, o + t); e[o] = Math.max.apply(Math, n) } return e }, i.prototype._manageStamp = function (t) { var i = e(t), o = this._getElementOffset(t), n = this._getOption("originLeft") ? o.left : o.right, s = n + i.outerWidth, r = Math.floor(n / this.columnWidth); r = Math.max(0, r); var a = Math.floor(s / this.columnWidth); a -= s % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a); for (var u = (this._getOption("originTop") ? o.top : o.bottom) + i.outerHeight, h = r; a >= h; h++)this.colYs[h] = Math.max(u, this.colYs[h]) }, i.prototype._getContainerSize = function () { this.maxY = Math.max.apply(Math, this.colYs); var t = { height: this.maxY }; return this._getOption("fitWidth") && (t.width = this._getContainerFitWidth()), t }, i.prototype._getContainerFitWidth = function () { for (var t = 0, e = this.cols; --e && 0 === this.colYs[e];)t++; return (this.cols - t) * this.columnWidth - this.gutter }, i.prototype.needsResizeLayout = function () { var t = this.containerWidth; return this.getContainerWidth(), t != this.containerWidth }, i }), function (t, e) { "function" == typeof define && define.amd ? define("isotope/js/layout-modes/masonry", ["../layout-mode", "masonry/masonry"], e) : "object" == typeof module && module.exports ? module.exports = e(require("../layout-mode"), require("masonry-layout")) : e(t.Isotope.LayoutMode, t.Masonry) }(window, function (t, e) { "use strict"; var i = t.create("masonry"), o = i.prototype, n = { _getElementOffset: !0, layout: !0, _getMeasurement: !0 }; for (var s in e.prototype) n[s] || (o[s] = e.prototype[s]); var r = o.measureColumns; o.measureColumns = function () { this.items = this.isotope.filteredItems, r.call(this) }; var a = o._getOption; return o._getOption = function (t) { return "fitWidth" == t ? void 0 !== this.options.isFitWidth ? this.options.isFitWidth : this.options.fitWidth : a.apply(this.isotope, arguments) }, i }), function (t, e) { "function" == typeof define && define.amd ? define("isotope/js/layout-modes/fit-rows", ["../layout-mode"], e) : "object" == typeof exports ? module.exports = e(require("../layout-mode")) : e(t.Isotope.LayoutMode) }(window, function (t) { "use strict"; var e = t.create("fitRows"), i = e.prototype; return i._resetLayout = function () { this.x = 0, this.y = 0, this.maxY = 0, this._getMeasurement("gutter", "outerWidth") }, i._getItemLayoutPosition = function (t) { t.getSize(); var e = t.size.outerWidth + this.gutter, i = this.isotope.size.innerWidth + this.gutter; 0 !== this.x && e + this.x > i && (this.x = 0, this.y = this.maxY); var o = { x: this.x, y: this.y }; return this.maxY = Math.max(this.maxY, this.y + t.size.outerHeight), this.x += e, o }, i._getContainerSize = function () { return { height: this.maxY } }, e }), function (t, e) { "function" == typeof define && define.amd ? define("isotope/js/layout-modes/vertical", ["../layout-mode"], e) : "object" == typeof module && module.exports ? module.exports = e(require("../layout-mode")) : e(t.Isotope.LayoutMode) }(window, function (t) { "use strict"; var e = t.create("vertical", { horizontalAlignment: 0 }), i = e.prototype; return i._resetLayout = function () { this.y = 0 }, i._getItemLayoutPosition = function (t) { t.getSize(); var e = (this.isotope.size.innerWidth - t.size.outerWidth) * this.options.horizontalAlignment, i = this.y; return this.y += t.size.outerHeight, { x: e, y: i } }, i._getContainerSize = function () { return { height: this.y } }, e }), function (t, e) { "function" == typeof define && define.amd ? define(["outlayer/outlayer", "get-size/get-size", "desandro-matches-selector/matches-selector", "fizzy-ui-utils/utils", "isotope/js/item", "isotope/js/layout-mode", "isotope/js/layout-modes/masonry", "isotope/js/layout-modes/fit-rows", "isotope/js/layout-modes/vertical"], function (i, o, n, s, r, a) { return e(t, i, o, n, s, r, a) }) : "object" == typeof module && module.exports ? module.exports = e(t, require("outlayer"), require("get-size"), require("desandro-matches-selector"), require("fizzy-ui-utils"), require("isotope/js/item"), require("isotope/js/layout-mode"), require("isotope/js/layout-modes/masonry"), require("isotope/js/layout-modes/fit-rows"), require("isotope/js/layout-modes/vertical")) : t.Isotope = e(t, t.Outlayer, t.getSize, t.matchesSelector, t.fizzyUIUtils, t.Isotope.Item, t.Isotope.LayoutMode) }(window, function (t, e, i, o, n, s, r) { var a = t.jQuery, u = String.prototype.trim ? function (t) { return t.trim() } : function (t) { return t.replace(/^\s+|\s+$/g, "") }, h = e.create("isotope", { layoutMode: "masonry", isJQueryFiltering: !0, sortAscending: !0 }); h.Item = s, h.LayoutMode = r; var d = h.prototype; d._create = function () { this.itemGUID = 0, this._sorters = {}, this._getSorters(), e.prototype._create.call(this), this.modes = {}, this.filteredItems = this.items, this.sortHistory = ["original-order"]; for (var t in r.modes) this._initLayoutMode(t) }, d.reloadItems = function () { this.itemGUID = 0, e.prototype.reloadItems.call(this) }, d._itemize = function () { for (var t = e.prototype._itemize.apply(this, arguments), i = 0; i < t.length; i++) { t[i].id = this.itemGUID++ } return this._updateItemsSortData(t), t }, d._initLayoutMode = function (t) { var e = r.modes[t], i = this.options[t] || {}; this.options[t] = e.options ? n.extend(e.options, i) : i, this.modes[t] = new e(this) }, d.layout = function () { return !this._isLayoutInited && this._getOption("initLayout") ? void this.arrange() : void this._layout() }, d._layout = function () { var t = this._getIsInstant(); this._resetLayout(), this._manageStamps(), this.layoutItems(this.filteredItems, t), this._isLayoutInited = !0 }, d.arrange = function (t) { this.option(t), this._getIsInstant(); var e = this._filter(this.items); this.filteredItems = e.matches, this._bindArrangeComplete(), this._isInstant ? this._noTransition(this._hideReveal, [e]) : this._hideReveal(e), this._sort(), this._layout() }, d._init = d.arrange, d._hideReveal = function (t) { this.reveal(t.needReveal), this.hide(t.needHide) }, d._getIsInstant = function () { var t = this._getOption("layoutInstant"), e = void 0 !== t ? t : !this._isLayoutInited; return this._isInstant = e, e }, d._bindArrangeComplete = function () { function t() { e && i && o && n.dispatchEvent("arrangeComplete", null, [n.filteredItems]) } var e, i, o, n = this; this.once("layoutComplete", function () { e = !0, t() }), this.once("hideComplete", function () { i = !0, t() }), this.once("revealComplete", function () { o = !0, t() }) }, d._filter = function (t) { var e = this.options.filter; e = e || "*"; for (var i = [], o = [], n = [], s = this._getFilterTest(e), r = 0; r < t.length; r++) { var a = t[r]; if (!a.isIgnored) { var u = s(a); u && i.push(a), u && a.isHidden ? o.push(a) : u || a.isHidden || n.push(a) } } return { matches: i, needReveal: o, needHide: n } }, d._getFilterTest = function (t) { return a && this.options.isJQueryFiltering ? function (e) { return a(e.element).is(t) } : "function" == typeof t ? function (e) { return t(e.element) } : function (e) { return o(e.element, t) } }, d.updateSortData = function (t) { var e; t ? (t = n.makeArray(t), e = this.getItems(t)) : e = this.items, this._getSorters(), this._updateItemsSortData(e) }, d._getSorters = function () { var t = this.options.getSortData; for (var e in t) { var i = t[e]; this._sorters[e] = l(i) } }, d._updateItemsSortData = function (t) { for (var e = t && t.length, i = 0; e && e > i; i++) { t[i].updateSortData() } }; var l = function () { return function (t) { if ("string" != typeof t) return t; var e, i, o = u(t).split(" "), n = o[0], s = n.match(/^\[(.+)\]$/), r = s && s[1], a = (i = n, (e = r) ? function (t) { return t.getAttribute(e) } : function (t) { var e = t.querySelector(i); return e && e.textContent }), d = h.sortDataParsers[o[1]]; return d ? function (t) { return t && d(a(t)) } : function (t) { return t && a(t) } } }(); h.sortDataParsers = { parseInt: function (t) { return parseInt(t, 10) }, parseFloat: function (t) { return parseFloat(t) } }, d._sort = function () { var t, e, i = this.options.sortBy; if (i) { var o = [].concat.apply(i, this.sortHistory), n = (t = o, e = this.options.sortAscending, function (i, o) { for (var n = 0; n < t.length; n++) { var s = t[n], r = i.sortData[s], a = o.sortData[s]; if (r > a || a > r) { var u = void 0 !== e[s] ? e[s] : e; return (r > a ? 1 : -1) * (u ? 1 : -1) } } return 0 }); this.filteredItems.sort(n), i != this.sortHistory[0] && this.sortHistory.unshift(i) } }, d._mode = function () { var t = this.options.layoutMode, e = this.modes[t]; if (!e) throw new Error("No layout mode: " + t); return e.options = this.options[t], e }, d._resetLayout = function () { e.prototype._resetLayout.call(this), this._mode()._resetLayout() }, d._getItemLayoutPosition = function (t) { return this._mode()._getItemLayoutPosition(t) }, d._manageStamp = function (t) { this._mode()._manageStamp(t) }, d._getContainerSize = function () { return this._mode()._getContainerSize() }, d.needsResizeLayout = function () { return this._mode().needsResizeLayout() }, d.appended = function (t) { var e = this.addItems(t); if (e.length) { var i = this._filterRevealAdded(e); this.filteredItems = this.filteredItems.concat(i) } }, d.prepended = function (t) { var e = this._itemize(t); if (e.length) { this._resetLayout(), this._manageStamps(); var i = this._filterRevealAdded(e); this.layoutItems(this.filteredItems), this.filteredItems = i.concat(this.filteredItems), this.items = e.concat(this.items) } }, d._filterRevealAdded = function (t) { var e = this._filter(t); return this.hide(e.needHide), this.reveal(e.matches), this.layoutItems(e.matches, !0), e.matches }, d.insert = function (t) { var e = this.addItems(t); if (e.length) { var i, o, n = e.length; for (i = 0; n > i; i++)o = e[i], this.element.appendChild(o.element); var s = this._filter(e).matches; for (i = 0; n > i; i++)e[i].isLayoutInstant = !0; for (this.arrange(), i = 0; n > i; i++)delete e[i].isLayoutInstant; this.reveal(s) } }; var f = d.remove; return d.remove = function (t) { t = n.makeArray(t); var e = this.getItems(t); f.call(this, t); for (var i = e && e.length, o = 0; i && i > o; o++) { var s = e[o]; n.removeFrom(this.filteredItems, s) } }, d.shuffle = function () { for (var t = 0; t < this.items.length; t++) { this.items[t].sortData.random = Math.random() } this.options.sortBy = "random", this._sort(), this._layout() }, d._noTransition = function (t, e) { var i = this.options.transitionDuration; this.options.transitionDuration = 0; var o = t.apply(this, e); return this.options.transitionDuration = i, o }, d.getFilteredItemElements = function () { return this.filteredItems.map(function (t) { return t.element }) }, h });
!function (t) { "use strict"; t.fn.counterUp = function (e) { var n = t.extend({ time: 400, delay: 10 }, e); return this.each(function () { var e = t(this), u = n; e.waypoint(function (t) { "down" == t ? function () { var t = [], n = u.time / u.delay, a = e.text(), o = /[0-9]+,[0-9]+/.test(a); a = a.replace(/,/g, ""); for (var r = (/^[0-9]+$/.test(a), /^[0-9]+\.[0-9]+$/.test(a)), c = r ? (a.split(".")[1] || []).length : 0, s = n; s >= 1; s--) { var i = parseInt(a / n * s); if (r && (i = parseFloat(a / n * s).toFixed(c)), o) for (; /(\d+)(\d{3})/.test(i.toString());)i = i.toString().replace(/(\d+)(\d{3})/, "$1,$2"); t.unshift(i) } e.data("counterup-nums", t), e.text("0"); e.data("counterup-func", function () { e.text(e.data("counterup-nums").shift()), e.data("counterup-nums").length ? setTimeout(e.data("counterup-func"), u.delay) : (e.data("counterup-nums"), e.data("counterup-nums", null), e.data("counterup-func", null)) }), setTimeout(e.data("counterup-func"), u.delay) }() : this.destroy() }, { offset: "88%" }) }) } }(jQuery);
function rotateCard(e) { var t = $(e).closest(".card-container"); console.log(t), t.hasClass("hover") ? t.removeClass("hover") : t.addClass("hover") } !function (e) {
    "use strict"; e(document).ready(function () {
        e("#btnExport").click(function (t) { e.ajax({ type: "POST", url: "/SubscribeData/CheckExportRights", contentType: "application/json; charset=utf-8", success: function (i) { if (i) { t.preventDefault(); var o = document.getElementById("table_wrapper").outerHTML.replace(/ /g, "%20"), n = document.createElement("a"); n.href = "data:application/vnd.ms-excel, " + o, n.download = "Procurement Resource.xls", n.click() } else e("#dvExportError").show() }, failure: function (e) { } }) }); (function () { if ("number" == typeof window.innerWidth) return window.innerWidth > document.documentElement.clientWidth; var e, t, i = document.documentElement || document.body; void 0 !== i.currentStyle && (e = i.currentStyle.overflow), e = e || window.getComputedStyle(i, "").overflow, void 0 !== i.currentStyle && (t = i.currentStyle.overflowY), t = t || window.getComputedStyle(i, "").overflowY; var o = i.scrollHeight > i.clientHeight, n = /^(visible|auto)$/.test(e) || /^(visible|auto)$/.test(t); return o && n || "scroll" === e || "scroll" === t })() && e("body").addClass("hasScrollbar"), e('a[href="#"]').on("click", function (e) { e.preventDefault() }); var t = e(".navbar-sticky .navbar"); if (t.length) new Waypoint.Sticky({ element: t[0] }); var i = e(".navbar-ghost-dark .navbar, .navbar-ghost-light .navbar"); if (i.length) { var o = i.outerHeight(); e(window).on("scroll", function () { e(window).scrollTop() > o ? i.addClass("in-view") : i.removeClass("in-view") }) }
        var n = e('[data-toggle="fullscreen"]'), s = e(".fs-menu-wrap"); e(".fs-menu-wrap .tools").innerHeight(e(".fs-menu").innerHeight()), n.on("click", function () { var t = e(this), i = t.data("clicks"); i ? (s.removeClass("is-visible"), setTimeout(function () { m.removeClass("menu-open"), t.removeClass("active"), n.parent().removeClass("expanded") }, 400)) : (m.addClass("menu-open"), t.addClass("active"), n.parent().addClass("expanded"), s.addClass("is-visible")), t.data("clicks", !i) }); var a = e(".bg-parallax"); var l = function () {
            var e = window.navigator.userAgent, t = e.indexOf("MSIE "); if (t > 0) return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10); if (e.indexOf("Trident/index.html") > 0) { var i = e.indexOf("rv:"); return parseInt(e.substring(i + 3, e.indexOf(".", i)), 10) }
            var o = e.indexOf("Edge/index.html"); return o > 0 && parseInt(e.substring(o + 5, e.indexOf(".", o)), 10)
        }(); (a.length > 0 && !1 === l || a.length > 0 && l >= 12) && a.each(function () { var t = e(this).data("parallax-speed"), i = e(this).data("parallax-type"); e(this).jarallax({ speed: t, type: i, zIndex: 0, noAndroid: !0, noIos: !0 }) }), e("select:not([multiple])").wrap("<div class='form-select'></div>"); var r = e(".widget_startapp_image_carousel .widget-inner"); r.length > 0 && r.each(function () { var t = e(this).parent().find(".slick-prev"), i = e(this).parent().find(".slick-next"); e(this).slick({ prevArrow: t, nextArrow: i }) }), e(".revo-slider-financial").length > 0 && e(".revo-slider-financial").show().revolution({ sliderLayout: "fullscreen", dottedOverlay: "none", delay: 7e3, navigation: { keyboardNavigation: "off", keyboard_direction: "horizontal", mouseScrollNavigation: "off", mouseScrollReverse: "default", onHoverStop: "off", touch: { touchenabled: "on", swipe_threshold: 75, swipe_min_touches: 1, swipe_direction: "horizontal", drag_block_vertical: !1 }, arrows: { style: "hades", enable: !0, hide_onmobile: !0, hide_under: 767, hide_onleave: !1, tmp: '<div class="tp-arr-allwrapper">    <div class="tp-arr-imgholder"></div></div>', left: { h_align: "left", v_align: "center", h_offset: 20, v_offset: 0 }, right: { h_align: "right", v_align: "center", h_offset: 20, v_offset: 0 } } }, viewPort: { enable: !0, outof: "wait", visible_area: "50%" }, responsiveLevels: [1240, 1024, 778, 480], visibilityLevels: [1240, 1024, 778, 480], gridwidth: [1170, 1024, 778, 480], gridheight: [500, 500, 500, 500], lazyType: "none", parallax: { type: "scroll", origo: "slidercenter", speed: 400, levels: [5, 10, 15, 20, 25, 30, 35, 40, -15, -20, -25, -30, -35, -40, -45, 55], type: "scroll" }, shadow: 0, spinner: "off", stopLoop: "off", stopAfterLoops: -1, stopAtSlide: -1, shuffle: "off", autoHeight: "off", fullScreenAutoWidth: "off", fullScreenAlignForce: "off", fullScreenOffsetContainer: ".site-header", fullScreenOffset: "", disableProgressBar: "on", hideThumbsOnMobile: "off", hideSliderAtLimit: 0, hideCaptionAtLimit: 0, hideAllCaptionAtLilmit: 0, debugMode: !1, fallbacks: { simplifyAll: "off", nextSlideOnWindowFocus: "off", disableFocusListener: !1 } }), e(".revo-slider-saas").length > 0 && e(".revo-slider-saas").show().revolution({ sliderType: "hero", sliderLayout: "fullscreen", dottedOverlay: "none", delay: 9e3, navigation: {}, responsiveLevels: [1240, 1024, 778, 480], visibilityLevels: [1240, 1024, 778, 480], gridwidth: [1170, 1024, 778, 480], gridheight: [520, 520, 520, 520], lazyType: "none", parallax: { type: "mouse", origo: "enterpoint", speed: 400, levels: [5, 10, 15, 20, 25, 30, 35, 40, 45, 46, 47, 48, 49, 50, 51, 55], type: "mouse", disable_onmobile: "on" }, shadow: 0, spinner: "spinner0", autoHeight: "off", fullScreenAutoWidth: "off", fullScreenAlignForce: "off", fullScreenOffsetContainer: ".site-header", fullScreenOffset: "", disableProgressBar: "on", hideThumbsOnMobile: "off", hideSliderAtLimit: 0, hideCaptionAtLimit: 0, hideAllCaptionAtLilmit: 0, debugMode: !1, fallbacks: { simplifyAll: "off", disableFocusListener: !1 } }); var d = e(".site-backdrop"), c = e(".off-canvas-sidebar"), f = e(".off-canvas-menu"), u = e(".site-search-form"), h = e(".site-search-form .search-box input"), p = e(".site-search-form .close-btn"), v = e(".off-canvas-sidebar .close-btn"), g = e(".off-canvas-menu .close-btn"), m = e("body"); function b() { d.addClass("active") }
        function w() { d.removeClass("active") }
        function y() { u.removeClass("open") }
        function C() { c.removeClass("open"), m.removeClass("sidebar-open") }
        function k() { f.removeClass("open"), m.removeClass("menu-open") }
        e(".site-header .lang-switcher").on("click", function () { e(this).toggleClass("active") }); var S = e(".topbar-btn"), x = e(".site-header .topbar"); S.on("click", function (t) { e(this).toggleClass("active"), x.toggleClass("open"), t.preventDefault() }), e(".site-search-btn").on("click", function (e) { u.addClass("open"), setTimeout(function () { h.focus() }, 400), b(), e.preventDefault() }), e(".sidebar-btn").on("click", function (e) { c.addClass("open"), m.addClass("sidebar-open"), b(), e.preventDefault() }), e('[data-toggle="offcanvas"]').on("click", function (e) { f.addClass("open"), m.addClass("menu-open"), b(), e.preventDefault() }), e(".topbar-menu > ul > li.menu-item-has-children > a ").on("click", function (t) { e(this).parent().toggleClass("active"), t.preventDefault() }), d.on("click", function () { y(), C(), k(), w() }), v.on("click", function () { C(), w() }), g.on("click", function () { k(), w() }), p.on("click", function () { y(), w() }), e(".menu-item-has-children > a > .arrow, .has-mega-menu > a > .arrow").click(function (t) { e(this).parent().parent().hasClass("expanded") ? e(this).parent().parent().removeClass("expanded") : (e(this).parent().parent().siblings("li").removeClass("expanded"), e(this).parent().parent().toggleClass("expanded")), t.preventDefault() }); var T = e(".scroller-menu > ul > li"); e(".scroller-menu > ul > li > a"); T.each(function () { var t = e(this).find("a"), i = t.text(); t.append('<span class="scroller-tooltip">' + i + "</span>"), console.log(i) }), e(".fw-section").scrollSpy(), e(document).on("click", ".scroller-menu a, .scroll-to", function (t) {
            var i = e(this).attr("href"); if ("#" === i) return !1; var o = e(i); if (o.length > 0) { var n = o.data("offset-top") || 180; e("html").velocity("scroll", { offset: e(this.hash).offset().top - n, duration: 1e3, easing: "easeOutExpo", mobileHA: !1 }) }
            t.preventDefault()
        }); var _ = e(".scroll-to-top-btn"); function A(t, i, o, n, s) { if (0 === e(t).length) return !1; e(t).each(function () { e(this).slick({ slidesToShow: i, responsive: [{ breakpoint: 1024, settings: { slidesToShow: o, slidesToScroll: 3, infinite: !0, dots: !1 } }, { breakpoint: 600, settings: { slidesToShow: n, dots: !1, slidesToScroll: 1, arrows: !1 } }, { breakpoint: 480, settings: { slidesToShow: s, dots: !1, slidesToScroll: 1, arrows: !1 } }] }) }) }
        _.length > 0 && (e(window).on("scroll", function () { e(window).scrollTop() > 700 ? _.addClass("visible") : _.removeClass("visible") }), _.on("click", function (t) { t.preventDefault(), e("html").velocity("scroll", { offset: 0, duration: 1100, easing: "easeOutExpo", mobileHA: !1 }) })), A(".image-carousel", 1, 1, 1, 1), A(".timeline", 4, 3, 2, 1), A(".testimonials-slider", 1, 1, 1, 1), e(".testimonials-carousel").each(function () { var t = e(this); A(t, t.data("items-lg"), t.data("items-md"), t.data("items-sm"), t.data("items-xs")) }), e(".logo-carousel").each(function () { var t = e(this); A(t, t.data("items-lg"), t.data("items-md"), t.data("items-sm"), t.data("items-xs")) }); var O, $, D = e(".video-popup-btn"); D.length && D.magnificPopup({ type: "iframe" }), e(".progress-animated").each(function () { var t = e(this), i = t.attr("data-current-value"); (O || t).waypoint(function (e) { t.find(".progress-bar > .bar").css({ width: i + "%" }), t.find(".progress-bar > .value").addClass("is-visible").css({ width: i + "%" }) }, { offset: "88%" }), t.find(".progress-bar > .value > i").counterUp({ delay: 10, time: 1100 }) }), e(".animated-digit-box").each(function () { e(this).find(".digit").counterUp({ delay: 10, time: 1100 }) }), e(".countdown").each(function () { var t = e(this), i = e(this).data("date-time"); ($ || t).downCount({ date: i }) }); var L = e(".google-map"); L.length > 0 && "function" == typeof e.fn.gmap3 && L.each(function () { var t = e(this).data("height") || 500, i = e(this).data("address") || "", o = e(this).data("zoom") || 14, n = e(this).data("disable-controls"), s = e(this).data("scrollwheel"), a = e(this).data("marker") || "", l = e(this).data("marker-title") || !1, r = e(this).data("styles") || ""; e(this).height(t), e(this).gmap3({ marker: { address: i, data: l, options: { icon: a }, events: { mouseover: function (t, i, o) { if (void 0 !== l || !1 !== l) { var n = e(this).gmap3("get"), s = e(this).gmap3({ get: { name: "infowindow" } }); s ? (s.open(n, t), s.setContent(o.data)) : e(this).gmap3({ infowindow: { anchor: t, options: { content: o.data } } }) } }, mouseout: function () { var t = e(this).gmap3({ get: { name: "infowindow" } }); t && t.close() } } }, map: { options: { zoom: o, disableDefaultUI: n, scrollwheel: s, styles: r } } }) }), e(".gallery-grid").each(function () { var t, i = e(this), o = i.find(".grid-item"), n = (t = [], i.find("a").each(function () { var i = e(this).attr("href"), o = e(this).data("size").split("x"), n = { src: i, w: o[0], h: o[1], title: e(this).find(".wp-caption-text").clone().children().remove().end().text() }; t.push(n) }), t), s = e(".pswp")[0]; i.on("click", ".grid-item", function (t) { t.preventDefault(); var i = e.inArray(this, o); new PhotoSwipe(s, PhotoSwipeUI_Default, n, { index: i, bgOpacity: .9, showHideOpacity: !0, closeOnScroll: !1 }).init() }) })
    }); var t = e(".masonry-grid"); e(window).on("load", function () { t.length > 0 && (t.isotope({ itemSelector: ".grid-item", transitionDuration: "0.7s", masonry: { columnWidth: ".grid-sizer", gutter: ".gutter-sizer" } }), setTimeout(function () { t.isotope("layout") }, 1)) }), e(document).on("click", ".nav-filters a", function (t) { t.preventDefault(); var i = e(this), o = i.data("filter"), n = i.parent("li"), s = i.parents(".nav-filters"), a = s.data("grid-id"), l = e("#" + a); return !n.hasClass("active") && (s.find(".active").removeClass("active"), n.addClass("active"), l.isotope({ filter: o }), !0) }), e(".toggle").on("click", function () { e(".customizer").toggleClass("active") })
}(jQuery), $(".associatesSlider").slick({ dots: !0, infinite: !0, speed: 300, autoplay: !0, slidesToShow: 3, slidesToScroll: 1, arrows: !1, responsive: [{ breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll: 3, infinite: !0, dots: !1, arrows: !1 } }, { breakpoint: 600, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }, { breakpoint: 480, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }] }), $(".LocationSlider").slick({ dots: !1, infinite: !0, speed: 300, autoplay: !0, slidesToShow: 12, slidesToScroll: 1, arrows: !1, responsive: [{ breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll: 3, infinite: !0, dots: !1, arrows: !1 } }, { breakpoint: 600, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }, { breakpoint: 480, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }] }), $('.IndustriesSlider').slick({ dots: !1, infinite: !1, speed: 300, autoplay: !1, slidesToShow: 6, slidesToScroll: 1, arrows: !0, responsive: [{ breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll: 3, infinite: !0, dots: !1, arrows: !1 } }, { breakpoint: 600, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }, { breakpoint: 480, settings: { slidesToShow: 1, dots: !1, slidesToScroll: 1 } }] }), $.fn.extend({ treed: function (e) { var t = "fa fa-minus", i = "fa fa-plus"; void 0 !== e && (void 0 !== e.openedClass && (t = e.openedClass), void 0 !== e.closedClass && (i = e.closedClass)); var o = $(this); o.addClass("tree"), o.find("li").has("ul").each(function () { var e = $(this); e.prepend("<i class='indicator glyphicon " + i + "'></i>"), e.addClass("branch"), e.on("click", function (e) { this == e.target && ($(this).children("i:first").toggleClass(t + " " + i), $(this).children().children().toggle()) }), e.children().children().toggle() }), o.find(".branch .indicator").each(function () { $(this).on("click", function () { $(this).closest("li").click() }) }), o.find(".branch>a").each(function () { $(this).on("click", function (e) { $(this).closest("li").click(), e.preventDefault() }) }), o.find(".branch>button").each(function () { $(this).on("click", function (e) { $(this).closest("li").click(), e.preventDefault() }) }) } }), $(".tree1").treed(), $(".tree2").treed({ openedClass: "fa fa-folder-open-o", closedClass: "fa fa-folder-o" }), $(".tree3").treed({ openedClass: "fa fa-chevron-right", closedClass: "fa fa-chevron-down" }), $(document).ready(function () { $("body").on("contextmenu", function (e) { return !1 }), $("#id").on("contextmenu", function (e) { return !1 }) });
