yk-element-components-v2
Version:
1,230 lines • 149 kB
JavaScript
var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Un = { exports: {} };
/*!
* jQuery JavaScript Library v3.6.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2022-08-26T17:52Z
*/
(function(R) {
(function(g, O) {
R.exports = g.document ? O(g, !0) : function(S) {
if (!S.document)
throw new Error("jQuery requires a window with a document");
return O(S);
};
})(typeof window < "u" ? window : ii, function(g, O) {
var S = [], oe = Object.getPrototypeOf, L = S.slice, Ne = S.flat ? function(e) {
return S.flat.call(e);
} : function(e) {
return S.concat.apply([], e);
}, Xe = S.push, K = S.indexOf, ae = {}, at = ae.toString, Ee = ae.hasOwnProperty, ce = Ee.toString, Tt = ce.call(Object), $ = {}, M = function(t) {
return typeof t == "function" && typeof t.nodeType != "number" && typeof t.item != "function";
}, Me = function(t) {
return t != null && t === t.window;
}, F = g.document, Vn = {
type: !0,
src: !0,
nonce: !0,
noModule: !0
};
function Gt(e, t, n) {
n = n || F;
var r, o, a = n.createElement("script");
if (a.text = e, t)
for (r in Vn)
o = t[r] || t.getAttribute && t.getAttribute(r), o && a.setAttribute(r, o);
n.head.appendChild(a).parentNode.removeChild(a);
}
function Ie(e) {
return e == null ? e + "" : typeof e == "object" || typeof e == "function" ? ae[at.call(e)] || "object" : typeof e;
}
var Qt = "3.6.1", i = function(e, t) {
return new i.fn.init(e, t);
};
i.fn = i.prototype = {
jquery: Qt,
constructor: i,
length: 0,
toArray: function() {
return L.call(this);
},
get: function(e) {
return e == null ? L.call(this) : e < 0 ? this[e + this.length] : this[e];
},
pushStack: function(e) {
var t = i.merge(this.constructor(), e);
return t.prevObject = this, t;
},
each: function(e) {
return i.each(this, e);
},
map: function(e) {
return this.pushStack(i.map(this, function(t, n) {
return e.call(t, n, t);
}));
},
slice: function() {
return this.pushStack(L.apply(this, arguments));
},
first: function() {
return this.eq(0);
},
last: function() {
return this.eq(-1);
},
even: function() {
return this.pushStack(i.grep(this, function(e, t) {
return (t + 1) % 2;
}));
},
odd: function() {
return this.pushStack(i.grep(this, function(e, t) {
return t % 2;
}));
},
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();
},
push: Xe,
sort: S.sort,
splice: S.splice
}, i.extend = i.fn.extend = function() {
var e, t, n, r, o, a, s = arguments[0] || {}, c = 1, f = arguments.length, h = !1;
for (typeof s == "boolean" && (h = s, s = arguments[c] || {}, c++), typeof s != "object" && !M(s) && (s = {}), c === f && (s = this, c--); c < f; c++)
if ((e = arguments[c]) != null)
for (t in e)
r = e[t], !(t === "__proto__" || s === r) && (h && r && (i.isPlainObject(r) || (o = Array.isArray(r))) ? (n = s[t], o && !Array.isArray(n) ? a = [] : !o && !i.isPlainObject(n) ? a = {} : a = n, o = !1, s[t] = i.extend(h, a, r)) : r !== void 0 && (s[t] = r));
return s;
}, i.extend({
expando: "jQuery" + (Qt + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(e) {
throw new Error(e);
},
noop: function() {
},
isPlainObject: function(e) {
var t, n;
return !e || at.call(e) !== "[object Object]" ? !1 : (t = oe(e), t ? (n = Ee.call(t, "constructor") && t.constructor, typeof n == "function" && ce.call(n) === Tt) : !0);
},
isEmptyObject: function(e) {
var t;
for (t in e)
return !1;
return !0;
},
globalEval: function(e, t, n) {
Gt(e, { nonce: t && t.nonce }, n);
},
each: function(e, t) {
var n, r = 0;
if (wt(e))
for (n = e.length; r < n && t.call(e[r], r, e[r]) !== !1; r++)
;
else
for (r in e)
if (t.call(e[r], r, e[r]) === !1)
break;
return e;
},
makeArray: function(e, t) {
var n = t || [];
return e != null && (wt(Object(e)) ? i.merge(
n,
typeof e == "string" ? [e] : e
) : Xe.call(n, e)), n;
},
inArray: function(e, t, n) {
return t == null ? -1 : K.call(t, e, n);
},
merge: function(e, t) {
for (var n = +t.length, r = 0, o = e.length; r < n; r++)
e[o++] = t[r];
return e.length = o, e;
},
grep: function(e, t, n) {
for (var r, o = [], a = 0, s = e.length, c = !n; a < s; a++)
r = !t(e[a], a), r !== c && o.push(e[a]);
return o;
},
map: function(e, t, n) {
var r, o, a = 0, s = [];
if (wt(e))
for (r = e.length; a < r; a++)
o = t(e[a], a, n), o != null && s.push(o);
else
for (a in e)
o = t(e[a], a, n), o != null && s.push(o);
return Ne(s);
},
guid: 1,
support: $
}), typeof Symbol == "function" && (i.fn[Symbol.iterator] = S[Symbol.iterator]), i.each(
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
function(e, t) {
ae["[object " + t + "]"] = t.toLowerCase();
}
);
function wt(e) {
var t = !!e && "length" in e && e.length, n = Ie(e);
return M(e) || Me(e) ? !1 : n === "array" || t === 0 || typeof t == "number" && t > 0 && t - 1 in e;
}
var Ae = function(e) {
var t, n, r, o, a, s, c, f, h, v, C, y, m, N, P, E, Y, Q, se, z = "sizzle" + 1 * new Date(), H = e.document, re = 0, B = 0, G = vt(), nt = vt(), ht = vt(), ue = vt(), qe = function(u, l) {
return u === l && (C = !0), 0;
}, Le = {}.hasOwnProperty, ie = [], Se = ie.pop, he = ie.push, ke = ie.push, Hn = ie.slice, Oe = function(u, l) {
for (var d = 0, b = u.length; d < b; d++)
if (u[d] === l)
return d;
return -1;
}, Ft = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", W = "[\\x20\\t\\r\\n\\f]", He = "(?:\\\\[\\da-fA-F]{1,6}" + W + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", Pn = "\\[" + W + "*(" + He + ")(?:" + W + "*([*^$|!~]?=)" + W + `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + He + "))|)" + W + "*\\]", $t = ":(" + He + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + Pn + ")*)|.*)\\)|)", zr = new RegExp(W + "+", "g"), gt = new RegExp("^" + W + "+|((?:^|[^\\\\])(?:\\\\.)*)" + W + "+$", "g"), Ur = new RegExp("^" + W + "*," + W + "*"), Mn = new RegExp("^" + W + "*([>+~]|" + W + ")" + W + "*"), Vr = new RegExp(W + "|>"), Xr = new RegExp($t), Gr = new RegExp("^" + He + "$"), yt = {
ID: new RegExp("^#(" + He + ")"),
CLASS: new RegExp("^\\.(" + He + ")"),
TAG: new RegExp("^(" + He + "|[*])"),
ATTR: new RegExp("^" + Pn),
PSEUDO: new RegExp("^" + $t),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + W + "*(even|odd|(([+-]|)(\\d*)n|)" + W + "*(?:([+-]|)" + W + "*(\\d+)|))" + W + "*\\)|)", "i"),
bool: new RegExp("^(?:" + Ft + ")$", "i"),
needsContext: new RegExp("^" + W + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + W + "*((?:-\\d)?\\d*)" + W + "*\\)|)(?=[^-]|$)", "i")
}, Qr = /HTML$/i, Kr = /^(?:input|select|textarea|button)$/i, Yr = /^h\d$/i, rt = /^[^{]+\{\s*\[native \w/, Jr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Bt = /[+~]/, Te = new RegExp("\\\\[\\da-fA-F]{1,6}" + W + "?|\\\\([^\\r\\n\\f])", "g"), we = function(u, l) {
var d = "0x" + u.slice(1) - 65536;
return l || (d < 0 ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, d & 1023 | 56320));
}, In = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, Rn = function(u, l) {
return l ? u === "\0" ? "\uFFFD" : u.slice(0, -1) + "\\" + u.charCodeAt(u.length - 1).toString(16) + " " : "\\" + u;
}, Fn = function() {
y();
}, Zr = bt(
function(u) {
return u.disabled === !0 && u.nodeName.toLowerCase() === "fieldset";
},
{ dir: "parentNode", next: "legend" }
);
try {
ke.apply(
ie = Hn.call(H.childNodes),
H.childNodes
), ie[H.childNodes.length].nodeType;
} catch {
ke = {
apply: ie.length ? function(l, d) {
he.apply(l, Hn.call(d));
} : function(l, d) {
for (var b = l.length, p = 0; l[b++] = d[p++]; )
;
l.length = b - 1;
}
};
}
function U(u, l, d, b) {
var p, x, T, w, k, j, A, q = l && l.ownerDocument, I = l ? l.nodeType : 9;
if (d = d || [], typeof u != "string" || !u || I !== 1 && I !== 9 && I !== 11)
return d;
if (!b && (y(l), l = l || m, P)) {
if (I !== 11 && (k = Jr.exec(u)))
if (p = k[1]) {
if (I === 9)
if (T = l.getElementById(p)) {
if (T.id === p)
return d.push(T), d;
} else
return d;
else if (q && (T = q.getElementById(p)) && se(l, T) && T.id === p)
return d.push(T), d;
} else {
if (k[2])
return ke.apply(d, l.getElementsByTagName(u)), d;
if ((p = k[3]) && n.getElementsByClassName && l.getElementsByClassName)
return ke.apply(d, l.getElementsByClassName(p)), d;
}
if (n.qsa && !ue[u + " "] && (!E || !E.test(u)) && (I !== 1 || l.nodeName.toLowerCase() !== "object")) {
if (A = u, q = l, I === 1 && (Vr.test(u) || Mn.test(u))) {
for (q = Bt.test(u) && zt(l.parentNode) || l, (q !== l || !n.scope) && ((w = l.getAttribute("id")) ? w = w.replace(In, Rn) : l.setAttribute("id", w = z)), j = s(u), x = j.length; x--; )
j[x] = (w ? "#" + w : ":scope") + " " + mt(j[x]);
A = j.join(",");
}
try {
return ke.apply(
d,
q.querySelectorAll(A)
), d;
} catch {
ue(u, !0);
} finally {
w === z && l.removeAttribute("id");
}
}
}
return f(u.replace(gt, "$1"), l, d, b);
}
function vt() {
var u = [];
function l(d, b) {
return u.push(d + " ") > r.cacheLength && delete l[u.shift()], l[d + " "] = b;
}
return l;
}
function ye(u) {
return u[z] = !0, u;
}
function ve(u) {
var l = m.createElement("fieldset");
try {
return !!u(l);
} catch {
return !1;
} finally {
l.parentNode && l.parentNode.removeChild(l), l = null;
}
}
function Wt(u, l) {
for (var d = u.split("|"), b = d.length; b--; )
r.attrHandle[d[b]] = l;
}
function $n(u, l) {
var d = l && u, b = d && u.nodeType === 1 && l.nodeType === 1 && u.sourceIndex - l.sourceIndex;
if (b)
return b;
if (d) {
for (; d = d.nextSibling; )
if (d === l)
return -1;
}
return u ? 1 : -1;
}
function ei(u) {
return function(l) {
var d = l.nodeName.toLowerCase();
return d === "input" && l.type === u;
};
}
function ti(u) {
return function(l) {
var d = l.nodeName.toLowerCase();
return (d === "input" || d === "button") && l.type === u;
};
}
function Bn(u) {
return function(l) {
return "form" in l ? l.parentNode && l.disabled === !1 ? "label" in l ? "label" in l.parentNode ? l.parentNode.disabled === u : l.disabled === u : l.isDisabled === u || l.isDisabled !== !u && Zr(l) === u : l.disabled === u : "label" in l ? l.disabled === u : !1;
};
}
function Pe(u) {
return ye(function(l) {
return l = +l, ye(function(d, b) {
for (var p, x = u([], d.length, l), T = x.length; T--; )
d[p = x[T]] && (d[p] = !(b[p] = d[p]));
});
});
}
function zt(u) {
return u && typeof u.getElementsByTagName < "u" && u;
}
n = U.support = {}, a = U.isXML = function(u) {
var l = u && u.namespaceURI, d = u && (u.ownerDocument || u).documentElement;
return !Qr.test(l || d && d.nodeName || "HTML");
}, y = U.setDocument = function(u) {
var l, d, b = u ? u.ownerDocument || u : H;
return b == m || b.nodeType !== 9 || !b.documentElement || (m = b, N = m.documentElement, P = !a(m), H != m && (d = m.defaultView) && d.top !== d && (d.addEventListener ? d.addEventListener("unload", Fn, !1) : d.attachEvent && d.attachEvent("onunload", Fn)), n.scope = ve(function(p) {
return N.appendChild(p).appendChild(m.createElement("div")), typeof p.querySelectorAll < "u" && !p.querySelectorAll(":scope fieldset div").length;
}), n.attributes = ve(function(p) {
return p.className = "i", !p.getAttribute("className");
}), n.getElementsByTagName = ve(function(p) {
return p.appendChild(m.createComment("")), !p.getElementsByTagName("*").length;
}), n.getElementsByClassName = rt.test(m.getElementsByClassName), n.getById = ve(function(p) {
return N.appendChild(p).id = z, !m.getElementsByName || !m.getElementsByName(z).length;
}), n.getById ? (r.filter.ID = function(p) {
var x = p.replace(Te, we);
return function(T) {
return T.getAttribute("id") === x;
};
}, r.find.ID = function(p, x) {
if (typeof x.getElementById < "u" && P) {
var T = x.getElementById(p);
return T ? [T] : [];
}
}) : (r.filter.ID = function(p) {
var x = p.replace(Te, we);
return function(T) {
var w = typeof T.getAttributeNode < "u" && T.getAttributeNode("id");
return w && w.value === x;
};
}, r.find.ID = function(p, x) {
if (typeof x.getElementById < "u" && P) {
var T, w, k, j = x.getElementById(p);
if (j) {
if (T = j.getAttributeNode("id"), T && T.value === p)
return [j];
for (k = x.getElementsByName(p), w = 0; j = k[w++]; )
if (T = j.getAttributeNode("id"), T && T.value === p)
return [j];
}
return [];
}
}), r.find.TAG = n.getElementsByTagName ? function(p, x) {
if (typeof x.getElementsByTagName < "u")
return x.getElementsByTagName(p);
if (n.qsa)
return x.querySelectorAll(p);
} : function(p, x) {
var T, w = [], k = 0, j = x.getElementsByTagName(p);
if (p === "*") {
for (; T = j[k++]; )
T.nodeType === 1 && w.push(T);
return w;
}
return j;
}, r.find.CLASS = n.getElementsByClassName && function(p, x) {
if (typeof x.getElementsByClassName < "u" && P)
return x.getElementsByClassName(p);
}, Y = [], E = [], (n.qsa = rt.test(m.querySelectorAll)) && (ve(function(p) {
var x;
N.appendChild(p).innerHTML = "<a id='" + z + "'></a><select id='" + z + "-\r\\' msallowcapture=''><option selected=''></option></select>", p.querySelectorAll("[msallowcapture^='']").length && E.push("[*^$]=" + W + `*(?:''|"")`), p.querySelectorAll("[selected]").length || E.push("\\[" + W + "*(?:value|" + Ft + ")"), p.querySelectorAll("[id~=" + z + "-]").length || E.push("~="), x = m.createElement("input"), x.setAttribute("name", ""), p.appendChild(x), p.querySelectorAll("[name='']").length || E.push("\\[" + W + "*name" + W + "*=" + W + `*(?:''|"")`), p.querySelectorAll(":checked").length || E.push(":checked"), p.querySelectorAll("a#" + z + "+*").length || E.push(".#.+[+~]"), p.querySelectorAll("\\\f"), E.push("[\\r\\n\\f]");
}), ve(function(p) {
p.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var x = m.createElement("input");
x.setAttribute("type", "hidden"), p.appendChild(x).setAttribute("name", "D"), p.querySelectorAll("[name=d]").length && E.push("name" + W + "*[*^$|!~]?="), p.querySelectorAll(":enabled").length !== 2 && E.push(":enabled", ":disabled"), N.appendChild(p).disabled = !0, p.querySelectorAll(":disabled").length !== 2 && E.push(":enabled", ":disabled"), p.querySelectorAll("*,:x"), E.push(",.*:");
})), (n.matchesSelector = rt.test(Q = N.matches || N.webkitMatchesSelector || N.mozMatchesSelector || N.oMatchesSelector || N.msMatchesSelector)) && ve(function(p) {
n.disconnectedMatch = Q.call(p, "*"), Q.call(p, "[s!='']:x"), Y.push("!=", $t);
}), E = E.length && new RegExp(E.join("|")), Y = Y.length && new RegExp(Y.join("|")), l = rt.test(N.compareDocumentPosition), se = l || rt.test(N.contains) ? function(p, x) {
var T = p.nodeType === 9 ? p.documentElement : p, w = x && x.parentNode;
return p === w || !!(w && w.nodeType === 1 && (T.contains ? T.contains(w) : p.compareDocumentPosition && p.compareDocumentPosition(w) & 16));
} : function(p, x) {
if (x) {
for (; x = x.parentNode; )
if (x === p)
return !0;
}
return !1;
}, qe = l ? function(p, x) {
if (p === x)
return C = !0, 0;
var T = !p.compareDocumentPosition - !x.compareDocumentPosition;
return T || (T = (p.ownerDocument || p) == (x.ownerDocument || x) ? p.compareDocumentPosition(x) : 1, T & 1 || !n.sortDetached && x.compareDocumentPosition(p) === T ? p == m || p.ownerDocument == H && se(H, p) ? -1 : x == m || x.ownerDocument == H && se(H, x) ? 1 : v ? Oe(v, p) - Oe(v, x) : 0 : T & 4 ? -1 : 1);
} : function(p, x) {
if (p === x)
return C = !0, 0;
var T, w = 0, k = p.parentNode, j = x.parentNode, A = [p], q = [x];
if (!k || !j)
return p == m ? -1 : x == m ? 1 : k ? -1 : j ? 1 : v ? Oe(v, p) - Oe(v, x) : 0;
if (k === j)
return $n(p, x);
for (T = p; T = T.parentNode; )
A.unshift(T);
for (T = x; T = T.parentNode; )
q.unshift(T);
for (; A[w] === q[w]; )
w++;
return w ? $n(A[w], q[w]) : A[w] == H ? -1 : q[w] == H ? 1 : 0;
}), m;
}, U.matches = function(u, l) {
return U(u, null, null, l);
}, U.matchesSelector = function(u, l) {
if (y(u), n.matchesSelector && P && !ue[l + " "] && (!Y || !Y.test(l)) && (!E || !E.test(l)))
try {
var d = Q.call(u, l);
if (d || n.disconnectedMatch || u.document && u.document.nodeType !== 11)
return d;
} catch {
ue(l, !0);
}
return U(l, m, null, [u]).length > 0;
}, U.contains = function(u, l) {
return (u.ownerDocument || u) != m && y(u), se(u, l);
}, U.attr = function(u, l) {
(u.ownerDocument || u) != m && y(u);
var d = r.attrHandle[l.toLowerCase()], b = d && Le.call(r.attrHandle, l.toLowerCase()) ? d(u, l, !P) : void 0;
return b !== void 0 ? b : n.attributes || !P ? u.getAttribute(l) : (b = u.getAttributeNode(l)) && b.specified ? b.value : null;
}, U.escape = function(u) {
return (u + "").replace(In, Rn);
}, U.error = function(u) {
throw new Error("Syntax error, unrecognized expression: " + u);
}, U.uniqueSort = function(u) {
var l, d = [], b = 0, p = 0;
if (C = !n.detectDuplicates, v = !n.sortStable && u.slice(0), u.sort(qe), C) {
for (; l = u[p++]; )
l === u[p] && (b = d.push(p));
for (; b--; )
u.splice(d[b], 1);
}
return v = null, u;
}, o = U.getText = function(u) {
var l, d = "", b = 0, p = u.nodeType;
if (p) {
if (p === 1 || p === 9 || p === 11) {
if (typeof u.textContent == "string")
return u.textContent;
for (u = u.firstChild; u; u = u.nextSibling)
d += o(u);
} else if (p === 3 || p === 4)
return u.nodeValue;
} else
for (; l = u[b++]; )
d += o(l);
return d;
}, r = U.selectors = {
cacheLength: 50,
createPseudo: ye,
match: yt,
attrHandle: {},
find: {},
relative: {
">": { dir: "parentNode", first: !0 },
" ": { dir: "parentNode" },
"+": { dir: "previousSibling", first: !0 },
"~": { dir: "previousSibling" }
},
preFilter: {
ATTR: function(u) {
return u[1] = u[1].replace(Te, we), u[3] = (u[3] || u[4] || u[5] || "").replace(Te, we), u[2] === "~=" && (u[3] = " " + u[3] + " "), u.slice(0, 4);
},
CHILD: function(u) {
return u[1] = u[1].toLowerCase(), u[1].slice(0, 3) === "nth" ? (u[3] || U.error(u[0]), u[4] = +(u[4] ? u[5] + (u[6] || 1) : 2 * (u[3] === "even" || u[3] === "odd")), u[5] = +(u[7] + u[8] || u[3] === "odd")) : u[3] && U.error(u[0]), u;
},
PSEUDO: function(u) {
var l, d = !u[6] && u[2];
return yt.CHILD.test(u[0]) ? null : (u[3] ? u[2] = u[4] || u[5] || "" : d && Xr.test(d) && (l = s(d, !0)) && (l = d.indexOf(")", d.length - l) - d.length) && (u[0] = u[0].slice(0, l), u[2] = d.slice(0, l)), u.slice(0, 3));
}
},
filter: {
TAG: function(u) {
var l = u.replace(Te, we).toLowerCase();
return u === "*" ? function() {
return !0;
} : function(d) {
return d.nodeName && d.nodeName.toLowerCase() === l;
};
},
CLASS: function(u) {
var l = G[u + " "];
return l || (l = new RegExp("(^|" + W + ")" + u + "(" + W + "|$)")) && G(
u,
function(d) {
return l.test(
typeof d.className == "string" && d.className || typeof d.getAttribute < "u" && d.getAttribute("class") || ""
);
}
);
},
ATTR: function(u, l, d) {
return function(b) {
var p = U.attr(b, u);
return p == null ? l === "!=" : l ? (p += "", l === "=" ? p === d : l === "!=" ? p !== d : l === "^=" ? d && p.indexOf(d) === 0 : l === "*=" ? d && p.indexOf(d) > -1 : l === "$=" ? d && p.slice(-d.length) === d : l === "~=" ? (" " + p.replace(zr, " ") + " ").indexOf(d) > -1 : l === "|=" ? p === d || p.slice(0, d.length + 1) === d + "-" : !1) : !0;
};
},
CHILD: function(u, l, d, b, p) {
var x = u.slice(0, 3) !== "nth", T = u.slice(-4) !== "last", w = l === "of-type";
return b === 1 && p === 0 ? function(k) {
return !!k.parentNode;
} : function(k, j, A) {
var q, I, V, _, J, Z, fe = x !== T ? "nextSibling" : "previousSibling", X = k.parentNode, it = w && k.nodeName.toLowerCase(), ot = !A && !w, le = !1;
if (X) {
if (x) {
for (; fe; ) {
for (_ = k; _ = _[fe]; )
if (w ? _.nodeName.toLowerCase() === it : _.nodeType === 1)
return !1;
Z = fe = u === "only" && !Z && "nextSibling";
}
return !0;
}
if (Z = [T ? X.firstChild : X.lastChild], T && ot) {
for (_ = X, V = _[z] || (_[z] = {}), I = V[_.uniqueID] || (V[_.uniqueID] = {}), q = I[u] || [], J = q[0] === re && q[1], le = J && q[2], _ = J && X.childNodes[J]; _ = ++J && _ && _[fe] || (le = J = 0) || Z.pop(); )
if (_.nodeType === 1 && ++le && _ === k) {
I[u] = [re, J, le];
break;
}
} else if (ot && (_ = k, V = _[z] || (_[z] = {}), I = V[_.uniqueID] || (V[_.uniqueID] = {}), q = I[u] || [], J = q[0] === re && q[1], le = J), le === !1)
for (; (_ = ++J && _ && _[fe] || (le = J = 0) || Z.pop()) && !((w ? _.nodeName.toLowerCase() === it : _.nodeType === 1) && ++le && (ot && (V = _[z] || (_[z] = {}), I = V[_.uniqueID] || (V[_.uniqueID] = {}), I[u] = [re, le]), _ === k)); )
;
return le -= p, le === b || le % b === 0 && le / b >= 0;
}
};
},
PSEUDO: function(u, l) {
var d, b = r.pseudos[u] || r.setFilters[u.toLowerCase()] || U.error("unsupported pseudo: " + u);
return b[z] ? b(l) : b.length > 1 ? (d = [u, u, "", l], r.setFilters.hasOwnProperty(u.toLowerCase()) ? ye(function(p, x) {
for (var T, w = b(p, l), k = w.length; k--; )
T = Oe(p, w[k]), p[T] = !(x[T] = w[k]);
}) : function(p) {
return b(p, 0, d);
}) : b;
}
},
pseudos: {
not: ye(function(u) {
var l = [], d = [], b = c(u.replace(gt, "$1"));
return b[z] ? ye(function(p, x, T, w) {
for (var k, j = b(p, null, w, []), A = p.length; A--; )
(k = j[A]) && (p[A] = !(x[A] = k));
}) : function(p, x, T) {
return l[0] = p, b(l, null, T, d), l[0] = null, !d.pop();
};
}),
has: ye(function(u) {
return function(l) {
return U(u, l).length > 0;
};
}),
contains: ye(function(u) {
return u = u.replace(Te, we), function(l) {
return (l.textContent || o(l)).indexOf(u) > -1;
};
}),
lang: ye(function(u) {
return Gr.test(u || "") || U.error("unsupported lang: " + u), u = u.replace(Te, we).toLowerCase(), function(l) {
var d;
do
if (d = P ? l.lang : l.getAttribute("xml:lang") || l.getAttribute("lang"))
return d = d.toLowerCase(), d === u || d.indexOf(u + "-") === 0;
while ((l = l.parentNode) && l.nodeType === 1);
return !1;
};
}),
target: function(u) {
var l = e.location && e.location.hash;
return l && l.slice(1) === u.id;
},
root: function(u) {
return u === N;
},
focus: function(u) {
return u === m.activeElement && (!m.hasFocus || m.hasFocus()) && !!(u.type || u.href || ~u.tabIndex);
},
enabled: Bn(!1),
disabled: Bn(!0),
checked: function(u) {
var l = u.nodeName.toLowerCase();
return l === "input" && !!u.checked || l === "option" && !!u.selected;
},
selected: function(u) {
return u.parentNode && u.parentNode.selectedIndex, u.selected === !0;
},
empty: function(u) {
for (u = u.firstChild; u; u = u.nextSibling)
if (u.nodeType < 6)
return !1;
return !0;
},
parent: function(u) {
return !r.pseudos.empty(u);
},
header: function(u) {
return Yr.test(u.nodeName);
},
input: function(u) {
return Kr.test(u.nodeName);
},
button: function(u) {
var l = u.nodeName.toLowerCase();
return l === "input" && u.type === "button" || l === "button";
},
text: function(u) {
var l;
return u.nodeName.toLowerCase() === "input" && u.type === "text" && ((l = u.getAttribute("type")) == null || l.toLowerCase() === "text");
},
first: Pe(function() {
return [0];
}),
last: Pe(function(u, l) {
return [l - 1];
}),
eq: Pe(function(u, l, d) {
return [d < 0 ? d + l : d];
}),
even: Pe(function(u, l) {
for (var d = 0; d < l; d += 2)
u.push(d);
return u;
}),
odd: Pe(function(u, l) {
for (var d = 1; d < l; d += 2)
u.push(d);
return u;
}),
lt: Pe(function(u, l, d) {
for (var b = d < 0 ? d + l : d > l ? l : d; --b >= 0; )
u.push(b);
return u;
}),
gt: Pe(function(u, l, d) {
for (var b = d < 0 ? d + l : d; ++b < l; )
u.push(b);
return u;
})
}
}, r.pseudos.nth = r.pseudos.eq;
for (t in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
r.pseudos[t] = ei(t);
for (t in { submit: !0, reset: !0 })
r.pseudos[t] = ti(t);
function Wn() {
}
Wn.prototype = r.filters = r.pseudos, r.setFilters = new Wn(), s = U.tokenize = function(u, l) {
var d, b, p, x, T, w, k, j = nt[u + " "];
if (j)
return l ? 0 : j.slice(0);
for (T = u, w = [], k = r.preFilter; T; ) {
(!d || (b = Ur.exec(T))) && (b && (T = T.slice(b[0].length) || T), w.push(p = [])), d = !1, (b = Mn.exec(T)) && (d = b.shift(), p.push({
value: d,
type: b[0].replace(gt, " ")
}), T = T.slice(d.length));
for (x in r.filter)
(b = yt[x].exec(T)) && (!k[x] || (b = k[x](b))) && (d = b.shift(), p.push({
value: d,
type: x,
matches: b
}), T = T.slice(d.length));
if (!d)
break;
}
return l ? T.length : T ? U.error(u) : nt(u, w).slice(0);
};
function mt(u) {
for (var l = 0, d = u.length, b = ""; l < d; l++)
b += u[l].value;
return b;
}
function bt(u, l, d) {
var b = l.dir, p = l.next, x = p || b, T = d && x === "parentNode", w = B++;
return l.first ? function(k, j, A) {
for (; k = k[b]; )
if (k.nodeType === 1 || T)
return u(k, j, A);
return !1;
} : function(k, j, A) {
var q, I, V, _ = [re, w];
if (A) {
for (; k = k[b]; )
if ((k.nodeType === 1 || T) && u(k, j, A))
return !0;
} else
for (; k = k[b]; )
if (k.nodeType === 1 || T)
if (V = k[z] || (k[z] = {}), I = V[k.uniqueID] || (V[k.uniqueID] = {}), p && p === k.nodeName.toLowerCase())
k = k[b] || k;
else {
if ((q = I[x]) && q[0] === re && q[1] === w)
return _[2] = q[2];
if (I[x] = _, _[2] = u(k, j, A))
return !0;
}
return !1;
};
}
function Ut(u) {
return u.length > 1 ? function(l, d, b) {
for (var p = u.length; p--; )
if (!u[p](l, d, b))
return !1;
return !0;
} : u[0];
}
function ni(u, l, d) {
for (var b = 0, p = l.length; b < p; b++)
U(u, l[b], d);
return d;
}
function xt(u, l, d, b, p) {
for (var x, T = [], w = 0, k = u.length, j = l != null; w < k; w++)
(x = u[w]) && (!d || d(x, b, p)) && (T.push(x), j && l.push(w));
return T;
}
function Vt(u, l, d, b, p, x) {
return b && !b[z] && (b = Vt(b)), p && !p[z] && (p = Vt(p, x)), ye(function(T, w, k, j) {
var A, q, I, V = [], _ = [], J = w.length, Z = T || ni(
l || "*",
k.nodeType ? [k] : k,
[]
), fe = u && (T || !l) ? xt(Z, V, u, k, j) : Z, X = d ? p || (T ? u : J || b) ? [] : w : fe;
if (d && d(fe, X, k, j), b)
for (A = xt(X, _), b(A, [], k, j), q = A.length; q--; )
(I = A[q]) && (X[_[q]] = !(fe[_[q]] = I));
if (T) {
if (p || u) {
if (p) {
for (A = [], q = X.length; q--; )
(I = X[q]) && A.push(fe[q] = I);
p(null, X = [], A, j);
}
for (q = X.length; q--; )
(I = X[q]) && (A = p ? Oe(T, I) : V[q]) > -1 && (T[A] = !(w[A] = I));
}
} else
X = xt(
X === w ? X.splice(J, X.length) : X
), p ? p(null, w, X, j) : ke.apply(w, X);
});
}
function Xt(u) {
for (var l, d, b, p = u.length, x = r.relative[u[0].type], T = x || r.relative[" "], w = x ? 1 : 0, k = bt(function(q) {
return q === l;
}, T, !0), j = bt(function(q) {
return Oe(l, q) > -1;
}, T, !0), A = [function(q, I, V) {
var _ = !x && (V || I !== h) || ((l = I).nodeType ? k(q, I, V) : j(q, I, V));
return l = null, _;
}]; w < p; w++)
if (d = r.relative[u[w].type])
A = [bt(Ut(A), d)];
else {
if (d = r.filter[u[w].type].apply(null, u[w].matches), d[z]) {
for (b = ++w; b < p && !r.relative[u[b].type]; b++)
;
return Vt(
w > 1 && Ut(A),
w > 1 && mt(
u.slice(0, w - 1).concat({ value: u[w - 2].type === " " ? "*" : "" })
).replace(gt, "$1"),
d,
w < b && Xt(u.slice(w, b)),
b < p && Xt(u = u.slice(b)),
b < p && mt(u)
);
}
A.push(d);
}
return Ut(A);
}
function ri(u, l) {
var d = l.length > 0, b = u.length > 0, p = function(x, T, w, k, j) {
var A, q, I, V = 0, _ = "0", J = x && [], Z = [], fe = h, X = x || b && r.find.TAG("*", j), it = re += fe == null ? 1 : Math.random() || 0.1, ot = X.length;
for (j && (h = T == m || T || j); _ !== ot && (A = X[_]) != null; _++) {
if (b && A) {
for (q = 0, !T && A.ownerDocument != m && (y(A), w = !P); I = u[q++]; )
if (I(A, T || m, w)) {
k.push(A);
break;
}
j && (re = it);
}
d && ((A = !I && A) && V--, x && J.push(A));
}
if (V += _, d && _ !== V) {
for (q = 0; I = l[q++]; )
I(J, Z, T, w);
if (x) {
if (V > 0)
for (; _--; )
J[_] || Z[_] || (Z[_] = Se.call(k));
Z = xt(Z);
}
ke.apply(k, Z), j && !x && Z.length > 0 && V + l.length > 1 && U.uniqueSort(k);
}
return j && (re = it, h = fe), J;
};
return d ? ye(p) : p;
}
return c = U.compile = function(u, l) {
var d, b = [], p = [], x = ht[u + " "];
if (!x) {
for (l || (l = s(u)), d = l.length; d--; )
x = Xt(l[d]), x[z] ? b.push(x) : p.push(x);
x = ht(
u,
ri(p, b)
), x.selector = u;
}
return x;
}, f = U.select = function(u, l, d, b) {
var p, x, T, w, k, j = typeof u == "function" && u, A = !b && s(u = j.selector || u);
if (d = d || [], A.length === 1) {
if (x = A[0] = A[0].slice(0), x.length > 2 && (T = x[0]).type === "ID" && l.nodeType === 9 && P && r.relative[x[1].type]) {
if (l = (r.find.ID(T.matches[0].replace(Te, we), l) || [])[0], l)
j && (l = l.parentNode);
else
return d;
u = u.slice(x.shift().value.length);
}
for (p = yt.needsContext.test(u) ? 0 : x.length; p-- && (T = x[p], !r.relative[w = T.type]); )
if ((k = r.find[w]) && (b = k(
T.matches[0].replace(Te, we),
Bt.test(x[0].type) && zt(l.parentNode) || l
))) {
if (x.splice(p, 1), u = b.length && mt(x), !u)
return ke.apply(d, b), d;
break;
}
}
return (j || c(u, A))(
b,
l,
!P,
d,
!l || Bt.test(u) && zt(l.parentNode) || l
), d;
}, n.sortStable = z.split("").sort(qe).join("") === z, n.detectDuplicates = !!C, y(), n.sortDetached = ve(function(u) {
return u.compareDocumentPosition(m.createElement("fieldset")) & 1;
}), ve(function(u) {
return u.innerHTML = "<a href='#'></a>", u.firstChild.getAttribute("href") === "#";
}) || Wt("type|href|height|width", function(u, l, d) {
if (!d)
return u.getAttribute(l, l.toLowerCase() === "type" ? 1 : 2);
}), (!n.attributes || !ve(function(u) {
return u.innerHTML = "<input/>", u.firstChild.setAttribute("value", ""), u.firstChild.getAttribute("value") === "";
})) && Wt("value", function(u, l, d) {
if (!d && u.nodeName.toLowerCase() === "input")
return u.defaultValue;
}), ve(function(u) {
return u.getAttribute("disabled") == null;
}) || Wt(Ft, function(u, l, d) {
var b;
if (!d)
return u[l] === !0 ? l.toLowerCase() : (b = u.getAttributeNode(l)) && b.specified ? b.value : null;
}), U;
}(g);
i.find = Ae, i.expr = Ae.selectors, i.expr[":"] = i.expr.pseudos, i.uniqueSort = i.unique = Ae.uniqueSort, i.text = Ae.getText, i.isXMLDoc = Ae.isXML, i.contains = Ae.contains, i.escapeSelector = Ae.escape;
var Re = function(e, t, n) {
for (var r = [], o = n !== void 0; (e = e[t]) && e.nodeType !== 9; )
if (e.nodeType === 1) {
if (o && i(e).is(n))
break;
r.push(e);
}
return r;
}, Kt = function(e, t) {
for (var n = []; e; e = e.nextSibling)
e.nodeType === 1 && e !== t && n.push(e);
return n;
}, Yt = i.expr.match.needsContext;
function de(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
}
var Jt = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function St(e, t, n) {
return M(t) ? i.grep(e, function(r, o) {
return !!t.call(r, o, r) !== n;
}) : t.nodeType ? i.grep(e, function(r) {
return r === t !== n;
}) : typeof t != "string" ? i.grep(e, function(r) {
return K.call(t, r) > -1 !== n;
}) : i.filter(t, e, n);
}
i.filter = function(e, t, n) {
var r = t[0];
return n && (e = ":not(" + e + ")"), t.length === 1 && r.nodeType === 1 ? i.find.matchesSelector(r, e) ? [r] : [] : i.find.matches(e, i.grep(t, function(o) {
return o.nodeType === 1;
}));
}, i.fn.extend({
find: function(e) {
var t, n, r = this.length, o = this;
if (typeof e != "string")
return this.pushStack(i(e).filter(function() {
for (t = 0; t < r; t++)
if (i.contains(o[t], this))
return !0;
}));
for (n = this.pushStack([]), t = 0; t < r; t++)
i.find(e, o[t], n);
return r > 1 ? i.uniqueSort(n) : n;
},
filter: function(e) {
return this.pushStack(St(this, e || [], !1));
},
not: function(e) {
return this.pushStack(St(this, e || [], !0));
},
is: function(e) {
return !!St(
this,
typeof e == "string" && Yt.test(e) ? i(e) : e || [],
!1
).length;
}
});
var Zt, Xn = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Gn = i.fn.init = function(e, t, n) {
var r, o;
if (!e)
return this;
if (n = n || Zt, typeof e == "string")
if (e[0] === "<" && e[e.length - 1] === ">" && e.length >= 3 ? r = [null, e, null] : r = Xn.exec(e), r && (r[1] || !t))
if (r[1]) {
if (t = t instanceof i ? t[0] : t, i.merge(this, i.parseHTML(
r[1],
t && t.nodeType ? t.ownerDocument || t : F,
!0
)), Jt.test(r[1]) && i.isPlainObject(t))
for (r in t)
M(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
return this;
} else
return o = F.getElementById(r[2]), o && (this[0] = o, this.length = 1), this;
else
return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
else {
if (e.nodeType)
return this[0] = e, this.length = 1, this;
if (M(e))
return n.ready !== void 0 ? n.ready(e) : e(i);
}
return i.makeArray(e, this);
};
Gn.prototype = i.fn, Zt = i(F);
var Qn = /^(?:parents|prev(?:Until|All))/, Kn = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
i.fn.extend({
has: function(e) {
var t = i(e, this), n = t.length;
return this.filter(function() {
for (var r = 0; r < n; r++)
if (i.contains(this, t[r]))
return !0;
});
},
closest: function(e, t) {
var n, r = 0, o = this.length, a = [], s = typeof e != "string" && i(e);
if (!Yt.test(e)) {
for (; r < o; r++)
for (n = this[r]; n && n !== t; n = n.parentNode)
if (n.nodeType < 11 && (s ? s.index(n) > -1 : n.nodeType === 1 && i.find.matchesSelector(n, e))) {
a.push(n);
break;
}
}
return this.pushStack(a.length > 1 ? i.uniqueSort(a) : a);
},
index: function(e) {
return e ? typeof e == "string" ? K.call(i(e), this[0]) : K.call(
this,
e.jquery ? e[0] : e
) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
},
add: function(e, t) {
return this.pushStack(
i.uniqueSort(
i.merge(this.get(), i(e, t))
)
);
},
addBack: function(e) {
return this.add(
e == null ? this.prevObject : this.prevObject.filter(e)
);
}
});
function en(e, t) {
for (; (e = e[t]) && e.nodeType !== 1; )
;
return e;
}
i.each({
parent: function(e) {
var t = e.parentNode;
return t && t.nodeType !== 11 ? t : null;
},
parents: function(e) {
return Re(e, "parentNode");
},
parentsUntil: function(e, t, n) {
return Re(e, "parentNode", n);
},
next: function(e) {
return en(e, "nextSibling");
},
prev: function(e) {
return en(e, "previousSibling");
},
nextAll: function(e) {
return Re(e, "nextSibling");
},
prevAll: function(e) {
return Re(e, "previousSibling");
},
nextUntil: function(e, t, n) {
return Re(e, "nextSibling", n);
},
prevUntil: function(e, t, n) {
return Re(e, "previousSibling", n);
},
siblings: function(e) {
return Kt((e.parentNode || {}).firstChild, e);
},
children: function(e) {
return Kt(e.firstChild);
},
contents: function(e) {
return e.contentDocument != null && oe(e.contentDocument) ? e.contentDocument : (de(e, "template") && (e = e.content || e), i.merge([], e.childNodes));
}
}, function(e, t) {
i.fn[e] = function(n, r) {
var o = i.map(this, t, n);
return e.slice(-5) !== "Until" && (r = n), r && typeof r == "string" && (o = i.filter(r, o)), this.length > 1 && (Kn[e] || i.uniqueSort(o), Qn.test(e) && o.reverse()), this.pushStack(o);
};
});
var me = /[^\x20\t\r\n\f]+/g;
function Yn(e) {
var t = {};
return i.each(e.match(me) || [], function(n, r) {
t[r] = !0;
}), t;
}
i.Callbacks = function(e) {
e = typeof e == "string" ? Yn(e) : i.extend({}, e);
var t, n, r, o, a = [], s = [], c = -1, f = function() {
for (o = o || e.once, r = t = !0; s.length; c = -1)
for (n = s.shift(); ++c < a.length; )
a[c].apply(n[0], n[1]) === !1 && e.stopOnFalse && (c = a.length, n = !1);
e.memory || (n = !1), t = !1, o && (n ? a = [] : a = "");
}, h = {
add: function() {
return a && (n && !t && (c = a.length - 1, s.push(n)), function v(C) {
i.each(C, function(y, m) {
M(m) ? (!e.unique || !h.has(m)) && a.push(m) : m && m.length && Ie(m) !== "string" && v(m);
});
}(arguments), n && !t && f()), this;
},
remove: function() {
return i.each(arguments, function(v, C) {
for (var y; (y = i.inArray(C, a, y)) > -1; )
a.splice(y, 1), y <= c && c--;
}), this;
},
has: function(v) {
return v ? i.inArray(v, a) > -1 : a.length > 0;
},
empty: function() {
return a && (a = []), this;
},
disable: function() {
return o = s = [], a = n = "", this;
},
disabled: function() {
return !a;
},
lock: function() {
return o = s = [], !n && !t && (a = n = ""), this;
},
locked: function() {
return !!o;
},
fireWith: function(v, C) {
return o || (C = C || [], C = [v, C.slice ? C.slice() : C], s.push(C), t || f()), this;
},
fire: function() {
return h.fireWith(this, arguments), this;
},
fired: function() {
return !!r;
}
};
return h;
};
function Fe(e) {
return e;
}
function st(e) {
throw e;
}
function tn(e, t, n, r) {
var o;
try {
e && M(o = e.promise) ? o.call(e).done(t).fail(n) : e && M(o = e.then) ? o.call(e, t, n) : t.apply(void 0, [e].slice(r));
} catch (a) {
n.apply(void 0, [a]);
}
}
i.extend({
Deferred: function(e) {
var t = [
[
"notify",
"progress",
i.Callbacks("memory"),
i.Callbacks("memory"),
2
],
[
"resolve",
"done",
i.Callbacks("once memory"),
i.Callbacks("once memory"),
0,
"resolved"
],
[
"reject",
"fail",
i.Callbacks("once memory"),
i.Callbacks("once memory"),
1,
"rejected"
]
], n = "pending", r = {
state: function() {
return n;
},
always: function() {
return o.done(arguments).fail(arguments), this;
},
catch: function(a) {
return r.then(null, a);
},
pipe: function() {
var a = arguments;
return i.Deferred(function(s) {
i.each(t, function(c, f) {
var h = M(a[f[4]]) && a[f[4]];
o[f[1]](function() {
var v = h && h.apply(this, arguments);
v && M(v.promise) ? v.promise().progress(s.notify).done(s.resolve).fail(s.reject) : s[f[0] + "With"](
this,
h ? [v] : arguments
);
});
}), a = null;
}).promise();
},
then: function(a, s, c) {
var f = 0;
function h(v, C, y, m) {
return function() {
var N = this, P = arguments, E = function() {
var Q, se;
if (!(v < f)) {
if (Q = y.apply(N, P), Q === C.promise())
throw new TypeError("Thenable self-resolution");
se = Q && (typeof Q == "object" || typeof Q == "function") && Q.then, M(se) ? m ? se.call(
Q,
h(f, C, Fe, m),
h(f, C, st, m)
) : (f++, se.call(
Q,
h(f, C, Fe, m),
h(f, C, st, m),
h(
f,
C,
Fe,
C.notifyWith
)
)) : (y !== Fe && (N = void 0, P = [Q]), (m || C.resolveWith)(N, P));
}
}, Y = m ? E : function() {
try {
E();
} catch (Q) {
i.Deferred.exceptionHook && i.Deferred.exceptionHook(
Q,
Y.stackTrace
), v + 1 >= f && (y !== st && (N = void 0, P = [Q]), C.rejectWith(N, P));
}
};
v ? Y() : (i.Deferred.getStackHook && (Y.stackTrace = i.Deferred.getStackHook()), g.setTimeout(Y));
};
}
return i.Deferred(function(v) {
t[0][3].