yk-element-components-v2
Version:
1,216 lines • 410 kB
JavaScript
import bo from "vue";
const wo = (t) => t.replace(/(A-Z)g/, "-$1").toLocaleLowerCase();
function he(t, e, r, o, v, f, b, T) {
var z = typeof t == "function" ? t.options : t;
e && (z.render = e, z.staticRenderFns = r, z._compiled = !0), o && (z.functional = !0), f && (z._scopeId = "data-v-" + f);
var S;
if (b ? (S = function(ie) {
ie = ie || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !ie && typeof __VUE_SSR_CONTEXT__ < "u" && (ie = __VUE_SSR_CONTEXT__), v && v.call(this, ie), ie && ie._registeredComponents && ie._registeredComponents.add(b);
}, z._ssrRegister = S) : v && (S = T ? function() {
v.call(
this,
(z.functional ? this.parent : this).$root.$options.shadowRoot
);
} : v), S)
if (z.functional) {
z._injectStyles = S;
var X = z.render;
z.render = function(Z, U) {
return S.call(U), X(Z, U);
};
} else {
var I = z.beforeCreate;
z.beforeCreate = I ? [].concat(I, S) : [S];
}
return {
exports: t,
options: z
};
}
const xo = {
props: {
data: {
type: Array,
required: !0,
default: () => {
}
},
defaultActive: {
type: String,
default: ""
},
router: {
type: Boolean,
default: !1
},
name: {
type: String,
default: "name"
},
index: {
type: String,
default: "index"
},
icon: {
type: String,
default: "icon"
},
children: {
type: String,
default: "children"
},
collapse: {
type: Boolean,
default: !0
}
},
methods: {
comToLine(t) {
return wo(t);
}
}
};
var _o = function() {
var e = this, r = e._self._c;
return r("el-menu", { staticClass: "el-menu-vertical-demo", attrs: { "default-active": e.defaultActive, router: e.router, collapse: e.collapse, mode: "vertical", "collapse-transition": !0 } }, [e._l(e.data, function(o, v) {
return [!o[e.children] || !o[e.children].length ? r("el-menu-item", { key: v, attrs: { index: o[e.index] } }, [o[e.icon] ? r("i", { class: `el-icon-${e.comToLine(o[e.icon])}` }) : e._e(), r("span", [e._v(e._s(o[e.name]))])]) : e._e(), o[e.children] && o[e.children].length ? r("el-sub-menu", { key: v, attrs: { index: o[e.index] }, scopedSlots: e._u([{ key: "title", fn: function() {
return [o[e.icon] ? r("i", { class: `el-icon-${e.comToLine(o[e.icon])}` }) : e._e(), r("span", [e._v(e._s(o[e.name]))])];
}, proxy: !0 }], null, !0) }, e._l(o[e.children], function(f, b) {
return r("el-menu-item", { key: b, attrs: { index: f[e.index] } }, [o[e.icon] ? r("i", { class: `el-icon-${e.comToLine(o[e.icon])}` }) : e._e(), r("span", [e._v(e._s(f[e.name]))])]);
}), 1) : e._e()];
})], 2);
}, Co = [], So = /* @__PURE__ */ he(
xo,
_o,
Co,
!1,
null,
"0bfa9fa8",
null,
null
);
const Ao = So.exports, To = {
install(t) {
t.component("yk-menu", Ao);
}
};
var ka = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Oa = { 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(t) {
(function(e, r) {
t.exports = e.document ? r(e, !0) : function(o) {
if (!o.document)
throw new Error("jQuery requires a window with a document");
return r(o);
};
})(typeof window < "u" ? window : ka, function(e, r) {
var o = [], v = Object.getPrototypeOf, f = o.slice, b = o.flat ? function(i) {
return o.flat.call(i);
} : function(i) {
return o.concat.apply([], i);
}, T = o.push, z = o.indexOf, S = {}, X = S.toString, I = S.hasOwnProperty, ie = I.toString, Z = ie.call(Object), U = {}, V = function(n) {
return typeof n == "function" && typeof n.nodeType != "number" && typeof n.item != "function";
}, pe = function(n) {
return n != null && n === n.window;
}, te = e.document, je = {
type: !0,
src: !0,
nonce: !0,
noModule: !0
};
function ye(i, n, a) {
a = a || te;
var s, u, c = a.createElement("script");
if (c.text = i, n)
for (s in je)
u = n[s] || n.getAttribute && n.getAttribute(s), u && c.setAttribute(s, u);
a.head.appendChild(c).parentNode.removeChild(c);
}
function rt(i) {
return i == null ? i + "" : typeof i == "object" || typeof i == "function" ? S[X.call(i)] || "object" : typeof i;
}
var Dt = "3.6.1", l = function(i, n) {
return new l.fn.init(i, n);
};
l.fn = l.prototype = {
jquery: Dt,
constructor: l,
length: 0,
toArray: function() {
return f.call(this);
},
get: function(i) {
return i == null ? f.call(this) : i < 0 ? this[i + this.length] : this[i];
},
pushStack: function(i) {
var n = l.merge(this.constructor(), i);
return n.prevObject = this, n;
},
each: function(i) {
return l.each(this, i);
},
map: function(i) {
return this.pushStack(l.map(this, function(n, a) {
return i.call(n, a, n);
}));
},
slice: function() {
return this.pushStack(f.apply(this, arguments));
},
first: function() {
return this.eq(0);
},
last: function() {
return this.eq(-1);
},
even: function() {
return this.pushStack(l.grep(this, function(i, n) {
return (n + 1) % 2;
}));
},
odd: function() {
return this.pushStack(l.grep(this, function(i, n) {
return n % 2;
}));
},
eq: function(i) {
var n = this.length, a = +i + (i < 0 ? n : 0);
return this.pushStack(a >= 0 && a < n ? [this[a]] : []);
},
end: function() {
return this.prevObject || this.constructor();
},
push: T,
sort: o.sort,
splice: o.splice
}, l.extend = l.fn.extend = function() {
var i, n, a, s, u, c, p = arguments[0] || {}, C = 1, w = arguments.length, N = !1;
for (typeof p == "boolean" && (N = p, p = arguments[C] || {}, C++), typeof p != "object" && !V(p) && (p = {}), C === w && (p = this, C--); C < w; C++)
if ((i = arguments[C]) != null)
for (n in i)
s = i[n], !(n === "__proto__" || p === s) && (N && s && (l.isPlainObject(s) || (u = Array.isArray(s))) ? (a = p[n], u && !Array.isArray(a) ? c = [] : !u && !l.isPlainObject(a) ? c = {} : c = a, u = !1, p[n] = l.extend(N, c, s)) : s !== void 0 && (p[n] = s));
return p;
}, l.extend({
expando: "jQuery" + (Dt + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(i) {
throw new Error(i);
},
noop: function() {
},
isPlainObject: function(i) {
var n, a;
return !i || X.call(i) !== "[object Object]" ? !1 : (n = v(i), n ? (a = I.call(n, "constructor") && n.constructor, typeof a == "function" && ie.call(a) === Z) : !0);
},
isEmptyObject: function(i) {
var n;
for (n in i)
return !1;
return !0;
},
globalEval: function(i, n, a) {
ye(i, { nonce: n && n.nonce }, a);
},
each: function(i, n) {
var a, s = 0;
if (et(i))
for (a = i.length; s < a && n.call(i[s], s, i[s]) !== !1; s++)
;
else
for (s in i)
if (n.call(i[s], s, i[s]) === !1)
break;
return i;
},
makeArray: function(i, n) {
var a = n || [];
return i != null && (et(Object(i)) ? l.merge(
a,
typeof i == "string" ? [i] : i
) : T.call(a, i)), a;
},
inArray: function(i, n, a) {
return n == null ? -1 : z.call(n, i, a);
},
merge: function(i, n) {
for (var a = +n.length, s = 0, u = i.length; s < a; s++)
i[u++] = n[s];
return i.length = u, i;
},
grep: function(i, n, a) {
for (var s, u = [], c = 0, p = i.length, C = !a; c < p; c++)
s = !n(i[c], c), s !== C && u.push(i[c]);
return u;
},
map: function(i, n, a) {
var s, u, c = 0, p = [];
if (et(i))
for (s = i.length; c < s; c++)
u = n(i[c], c, a), u != null && p.push(u);
else
for (c in i)
u = n(i[c], c, a), u != null && p.push(u);
return b(p);
},
guid: 1,
support: U
}), typeof Symbol == "function" && (l.fn[Symbol.iterator] = o[Symbol.iterator]), l.each(
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
function(i, n) {
S["[object " + n + "]"] = n.toLowerCase();
}
);
function et(i) {
var n = !!i && "length" in i && i.length, a = rt(i);
return V(i) || pe(i) ? !1 : a === "array" || n === 0 || typeof n == "number" && n > 0 && n - 1 in i;
}
var Le = function(i) {
var n, a, s, u, c, p, C, w, N, R, W, D, F, ne, de, re, Pe, Ie, dt, Ae = "sizzle" + 1 * new Date(), ce = i.document, ot = 0, be = 0, De = Tn(), Ji = Tn(), Cn = Tn(), ft = Tn(), di = function(m, x) {
return m === x && (W = !0), 0;
}, fi = {}.hasOwnProperty, st = [], ti = st.pop, xt = st.push, ii = st.push, Sr = st.slice, hi = function(m, x) {
for (var A = 0, $ = m.length; A < $; A++)
if (m[A] === x)
return A;
return -1;
}, tr = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", Se = "[\\x20\\t\\r\\n\\f]", pi = "(?:\\\\[\\da-fA-F]{1,6}" + Se + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", Ar = "\\[" + Se + "*(" + pi + ")(?:" + Se + "*([*^$|!~]?=)" + Se + `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + pi + "))|)" + Se + "*\\]", ir = ":(" + pi + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + Ar + ")*)|.*)\\)|)", ro = new RegExp(Se + "+", "g"), Sn = new RegExp("^" + Se + "+|((?:^|[^\\\\])(?:\\\\.)*)" + Se + "+$", "g"), ao = new RegExp("^" + Se + "*," + Se + "*"), Tr = new RegExp("^" + Se + "*([>+~]|" + Se + ")" + Se + "*"), oo = new RegExp(Se + "|>"), so = new RegExp(ir), lo = new RegExp("^" + pi + "$"), An = {
ID: new RegExp("^#(" + pi + ")"),
CLASS: new RegExp("^\\.(" + pi + ")"),
TAG: new RegExp("^(" + pi + "|[*])"),
ATTR: new RegExp("^" + Ar),
PSEUDO: new RegExp("^" + ir),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + Se + "*(even|odd|(([+-]|)(\\d*)n|)" + Se + "*(?:([+-]|)" + Se + "*(\\d+)|))" + Se + "*\\)|)", "i"),
bool: new RegExp("^(?:" + tr + ")$", "i"),
needsContext: new RegExp("^" + Se + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + Se + "*((?:-\\d)?\\d*)" + Se + "*\\)|)(?=[^-]|$)", "i")
}, uo = /HTML$/i, co = /^(?:input|select|textarea|button)$/i, fo = /^h\d$/i, Gi = /^[^{]+\{\s*\[native \w/, ho = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, nr = /[+~]/, $t = new RegExp("\\\\[\\da-fA-F]{1,6}" + Se + "?|\\\\([^\\r\\n\\f])", "g"), It = function(m, x) {
var A = "0x" + m.slice(1) - 65536;
return x || (A < 0 ? String.fromCharCode(A + 65536) : String.fromCharCode(A >> 10 | 55296, A & 1023 | 56320));
}, Er = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, kr = function(m, x) {
return x ? m === "\0" ? "\uFFFD" : m.slice(0, -1) + "\\" + m.charCodeAt(m.length - 1).toString(16) + " " : "\\" + m;
}, Or = function() {
D();
}, po = kn(
function(m) {
return m.disabled === !0 && m.nodeName.toLowerCase() === "fieldset";
},
{ dir: "parentNode", next: "legend" }
);
try {
ii.apply(
st = Sr.call(ce.childNodes),
ce.childNodes
), st[ce.childNodes.length].nodeType;
} catch {
ii = {
apply: st.length ? function(x, A) {
xt.apply(x, Sr.call(A));
} : function(x, A) {
for (var $ = x.length, O = 0; x[$++] = A[O++]; )
;
x.length = $ - 1;
}
};
}
function ke(m, x, A, $) {
var O, H, q, K, Q, se, oe, ue = x && x.ownerDocument, me = x ? x.nodeType : 9;
if (A = A || [], typeof m != "string" || !m || me !== 1 && me !== 9 && me !== 11)
return A;
if (!$ && (D(x), x = x || F, de)) {
if (me !== 11 && (Q = ho.exec(m)))
if (O = Q[1]) {
if (me === 9)
if (q = x.getElementById(O)) {
if (q.id === O)
return A.push(q), A;
} else
return A;
else if (ue && (q = ue.getElementById(O)) && dt(x, q) && q.id === O)
return A.push(q), A;
} else {
if (Q[2])
return ii.apply(A, x.getElementsByTagName(m)), A;
if ((O = Q[3]) && a.getElementsByClassName && x.getElementsByClassName)
return ii.apply(A, x.getElementsByClassName(O)), A;
}
if (a.qsa && !ft[m + " "] && (!re || !re.test(m)) && (me !== 1 || x.nodeName.toLowerCase() !== "object")) {
if (oe = m, ue = x, me === 1 && (oo.test(m) || Tr.test(m))) {
for (ue = nr.test(m) && ar(x.parentNode) || x, (ue !== x || !a.scope) && ((K = x.getAttribute("id")) ? K = K.replace(Er, kr) : x.setAttribute("id", K = Ae)), se = p(m), H = se.length; H--; )
se[H] = (K ? "#" + K : ":scope") + " " + En(se[H]);
oe = se.join(",");
}
try {
return ii.apply(
A,
ue.querySelectorAll(oe)
), A;
} catch {
ft(m, !0);
} finally {
K === Ae && x.removeAttribute("id");
}
}
}
return w(m.replace(Sn, "$1"), x, A, $);
}
function Tn() {
var m = [];
function x(A, $) {
return m.push(A + " ") > s.cacheLength && delete x[m.shift()], x[A + " "] = $;
}
return x;
}
function Et(m) {
return m[Ae] = !0, m;
}
function kt(m) {
var x = F.createElement("fieldset");
try {
return !!m(x);
} catch {
return !1;
} finally {
x.parentNode && x.parentNode.removeChild(x), x = null;
}
}
function rr(m, x) {
for (var A = m.split("|"), $ = A.length; $--; )
s.attrHandle[A[$]] = x;
}
function Nr(m, x) {
var A = x && m, $ = A && m.nodeType === 1 && x.nodeType === 1 && m.sourceIndex - x.sourceIndex;
if ($)
return $;
if (A) {
for (; A = A.nextSibling; )
if (A === x)
return -1;
}
return m ? 1 : -1;
}
function go(m) {
return function(x) {
var A = x.nodeName.toLowerCase();
return A === "input" && x.type === m;
};
}
function mo(m) {
return function(x) {
var A = x.nodeName.toLowerCase();
return (A === "input" || A === "button") && x.type === m;
};
}
function Dr(m) {
return function(x) {
return "form" in x ? x.parentNode && x.disabled === !1 ? "label" in x ? "label" in x.parentNode ? x.parentNode.disabled === m : x.disabled === m : x.isDisabled === m || x.isDisabled !== !m && po(x) === m : x.disabled === m : "label" in x ? x.disabled === m : !1;
};
}
function gi(m) {
return Et(function(x) {
return x = +x, Et(function(A, $) {
for (var O, H = m([], A.length, x), q = H.length; q--; )
A[O = H[q]] && (A[O] = !($[O] = A[O]));
});
});
}
function ar(m) {
return m && typeof m.getElementsByTagName < "u" && m;
}
a = ke.support = {}, c = ke.isXML = function(m) {
var x = m && m.namespaceURI, A = m && (m.ownerDocument || m).documentElement;
return !uo.test(x || A && A.nodeName || "HTML");
}, D = ke.setDocument = function(m) {
var x, A, $ = m ? m.ownerDocument || m : ce;
return $ == F || $.nodeType !== 9 || !$.documentElement || (F = $, ne = F.documentElement, de = !c(F), ce != F && (A = F.defaultView) && A.top !== A && (A.addEventListener ? A.addEventListener("unload", Or, !1) : A.attachEvent && A.attachEvent("onunload", Or)), a.scope = kt(function(O) {
return ne.appendChild(O).appendChild(F.createElement("div")), typeof O.querySelectorAll < "u" && !O.querySelectorAll(":scope fieldset div").length;
}), a.attributes = kt(function(O) {
return O.className = "i", !O.getAttribute("className");
}), a.getElementsByTagName = kt(function(O) {
return O.appendChild(F.createComment("")), !O.getElementsByTagName("*").length;
}), a.getElementsByClassName = Gi.test(F.getElementsByClassName), a.getById = kt(function(O) {
return ne.appendChild(O).id = Ae, !F.getElementsByName || !F.getElementsByName(Ae).length;
}), a.getById ? (s.filter.ID = function(O) {
var H = O.replace($t, It);
return function(q) {
return q.getAttribute("id") === H;
};
}, s.find.ID = function(O, H) {
if (typeof H.getElementById < "u" && de) {
var q = H.getElementById(O);
return q ? [q] : [];
}
}) : (s.filter.ID = function(O) {
var H = O.replace($t, It);
return function(q) {
var K = typeof q.getAttributeNode < "u" && q.getAttributeNode("id");
return K && K.value === H;
};
}, s.find.ID = function(O, H) {
if (typeof H.getElementById < "u" && de) {
var q, K, Q, se = H.getElementById(O);
if (se) {
if (q = se.getAttributeNode("id"), q && q.value === O)
return [se];
for (Q = H.getElementsByName(O), K = 0; se = Q[K++]; )
if (q = se.getAttributeNode("id"), q && q.value === O)
return [se];
}
return [];
}
}), s.find.TAG = a.getElementsByTagName ? function(O, H) {
if (typeof H.getElementsByTagName < "u")
return H.getElementsByTagName(O);
if (a.qsa)
return H.querySelectorAll(O);
} : function(O, H) {
var q, K = [], Q = 0, se = H.getElementsByTagName(O);
if (O === "*") {
for (; q = se[Q++]; )
q.nodeType === 1 && K.push(q);
return K;
}
return se;
}, s.find.CLASS = a.getElementsByClassName && function(O, H) {
if (typeof H.getElementsByClassName < "u" && de)
return H.getElementsByClassName(O);
}, Pe = [], re = [], (a.qsa = Gi.test(F.querySelectorAll)) && (kt(function(O) {
var H;
ne.appendChild(O).innerHTML = "<a id='" + Ae + "'></a><select id='" + Ae + "-\r\\' msallowcapture=''><option selected=''></option></select>", O.querySelectorAll("[msallowcapture^='']").length && re.push("[*^$]=" + Se + `*(?:''|"")`), O.querySelectorAll("[selected]").length || re.push("\\[" + Se + "*(?:value|" + tr + ")"), O.querySelectorAll("[id~=" + Ae + "-]").length || re.push("~="), H = F.createElement("input"), H.setAttribute("name", ""), O.appendChild(H), O.querySelectorAll("[name='']").length || re.push("\\[" + Se + "*name" + Se + "*=" + Se + `*(?:''|"")`), O.querySelectorAll(":checked").length || re.push(":checked"), O.querySelectorAll("a#" + Ae + "+*").length || re.push(".#.+[+~]"), O.querySelectorAll("\\\f"), re.push("[\\r\\n\\f]");
}), kt(function(O) {
O.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var H = F.createElement("input");
H.setAttribute("type", "hidden"), O.appendChild(H).setAttribute("name", "D"), O.querySelectorAll("[name=d]").length && re.push("name" + Se + "*[*^$|!~]?="), O.querySelectorAll(":enabled").length !== 2 && re.push(":enabled", ":disabled"), ne.appendChild(O).disabled = !0, O.querySelectorAll(":disabled").length !== 2 && re.push(":enabled", ":disabled"), O.querySelectorAll("*,:x"), re.push(",.*:");
})), (a.matchesSelector = Gi.test(Ie = ne.matches || ne.webkitMatchesSelector || ne.mozMatchesSelector || ne.oMatchesSelector || ne.msMatchesSelector)) && kt(function(O) {
a.disconnectedMatch = Ie.call(O, "*"), Ie.call(O, "[s!='']:x"), Pe.push("!=", ir);
}), re = re.length && new RegExp(re.join("|")), Pe = Pe.length && new RegExp(Pe.join("|")), x = Gi.test(ne.compareDocumentPosition), dt = x || Gi.test(ne.contains) ? function(O, H) {
var q = O.nodeType === 9 ? O.documentElement : O, K = H && H.parentNode;
return O === K || !!(K && K.nodeType === 1 && (q.contains ? q.contains(K) : O.compareDocumentPosition && O.compareDocumentPosition(K) & 16));
} : function(O, H) {
if (H) {
for (; H = H.parentNode; )
if (H === O)
return !0;
}
return !1;
}, di = x ? function(O, H) {
if (O === H)
return W = !0, 0;
var q = !O.compareDocumentPosition - !H.compareDocumentPosition;
return q || (q = (O.ownerDocument || O) == (H.ownerDocument || H) ? O.compareDocumentPosition(H) : 1, q & 1 || !a.sortDetached && H.compareDocumentPosition(O) === q ? O == F || O.ownerDocument == ce && dt(ce, O) ? -1 : H == F || H.ownerDocument == ce && dt(ce, H) ? 1 : R ? hi(R, O) - hi(R, H) : 0 : q & 4 ? -1 : 1);
} : function(O, H) {
if (O === H)
return W = !0, 0;
var q, K = 0, Q = O.parentNode, se = H.parentNode, oe = [O], ue = [H];
if (!Q || !se)
return O == F ? -1 : H == F ? 1 : Q ? -1 : se ? 1 : R ? hi(R, O) - hi(R, H) : 0;
if (Q === se)
return Nr(O, H);
for (q = O; q = q.parentNode; )
oe.unshift(q);
for (q = H; q = q.parentNode; )
ue.unshift(q);
for (; oe[K] === ue[K]; )
K++;
return K ? Nr(oe[K], ue[K]) : oe[K] == ce ? -1 : ue[K] == ce ? 1 : 0;
}), F;
}, ke.matches = function(m, x) {
return ke(m, null, null, x);
}, ke.matchesSelector = function(m, x) {
if (D(m), a.matchesSelector && de && !ft[x + " "] && (!Pe || !Pe.test(x)) && (!re || !re.test(x)))
try {
var A = Ie.call(m, x);
if (A || a.disconnectedMatch || m.document && m.document.nodeType !== 11)
return A;
} catch {
ft(x, !0);
}
return ke(x, F, null, [m]).length > 0;
}, ke.contains = function(m, x) {
return (m.ownerDocument || m) != F && D(m), dt(m, x);
}, ke.attr = function(m, x) {
(m.ownerDocument || m) != F && D(m);
var A = s.attrHandle[x.toLowerCase()], $ = A && fi.call(s.attrHandle, x.toLowerCase()) ? A(m, x, !de) : void 0;
return $ !== void 0 ? $ : a.attributes || !de ? m.getAttribute(x) : ($ = m.getAttributeNode(x)) && $.specified ? $.value : null;
}, ke.escape = function(m) {
return (m + "").replace(Er, kr);
}, ke.error = function(m) {
throw new Error("Syntax error, unrecognized expression: " + m);
}, ke.uniqueSort = function(m) {
var x, A = [], $ = 0, O = 0;
if (W = !a.detectDuplicates, R = !a.sortStable && m.slice(0), m.sort(di), W) {
for (; x = m[O++]; )
x === m[O] && ($ = A.push(O));
for (; $--; )
m.splice(A[$], 1);
}
return R = null, m;
}, u = ke.getText = function(m) {
var x, A = "", $ = 0, O = m.nodeType;
if (O) {
if (O === 1 || O === 9 || O === 11) {
if (typeof m.textContent == "string")
return m.textContent;
for (m = m.firstChild; m; m = m.nextSibling)
A += u(m);
} else if (O === 3 || O === 4)
return m.nodeValue;
} else
for (; x = m[$++]; )
A += u(x);
return A;
}, s = ke.selectors = {
cacheLength: 50,
createPseudo: Et,
match: An,
attrHandle: {},
find: {},
relative: {
">": { dir: "parentNode", first: !0 },
" ": { dir: "parentNode" },
"+": { dir: "previousSibling", first: !0 },
"~": { dir: "previousSibling" }
},
preFilter: {
ATTR: function(m) {
return m[1] = m[1].replace($t, It), m[3] = (m[3] || m[4] || m[5] || "").replace($t, It), m[2] === "~=" && (m[3] = " " + m[3] + " "), m.slice(0, 4);
},
CHILD: function(m) {
return m[1] = m[1].toLowerCase(), m[1].slice(0, 3) === "nth" ? (m[3] || ke.error(m[0]), m[4] = +(m[4] ? m[5] + (m[6] || 1) : 2 * (m[3] === "even" || m[3] === "odd")), m[5] = +(m[7] + m[8] || m[3] === "odd")) : m[3] && ke.error(m[0]), m;
},
PSEUDO: function(m) {
var x, A = !m[6] && m[2];
return An.CHILD.test(m[0]) ? null : (m[3] ? m[2] = m[4] || m[5] || "" : A && so.test(A) && (x = p(A, !0)) && (x = A.indexOf(")", A.length - x) - A.length) && (m[0] = m[0].slice(0, x), m[2] = A.slice(0, x)), m.slice(0, 3));
}
},
filter: {
TAG: function(m) {
var x = m.replace($t, It).toLowerCase();
return m === "*" ? function() {
return !0;
} : function(A) {
return A.nodeName && A.nodeName.toLowerCase() === x;
};
},
CLASS: function(m) {
var x = De[m + " "];
return x || (x = new RegExp("(^|" + Se + ")" + m + "(" + Se + "|$)")) && De(
m,
function(A) {
return x.test(
typeof A.className == "string" && A.className || typeof A.getAttribute < "u" && A.getAttribute("class") || ""
);
}
);
},
ATTR: function(m, x, A) {
return function($) {
var O = ke.attr($, m);
return O == null ? x === "!=" : x ? (O += "", x === "=" ? O === A : x === "!=" ? O !== A : x === "^=" ? A && O.indexOf(A) === 0 : x === "*=" ? A && O.indexOf(A) > -1 : x === "$=" ? A && O.slice(-A.length) === A : x === "~=" ? (" " + O.replace(ro, " ") + " ").indexOf(A) > -1 : x === "|=" ? O === A || O.slice(0, A.length + 1) === A + "-" : !1) : !0;
};
},
CHILD: function(m, x, A, $, O) {
var H = m.slice(0, 3) !== "nth", q = m.slice(-4) !== "last", K = x === "of-type";
return $ === 1 && O === 0 ? function(Q) {
return !!Q.parentNode;
} : function(Q, se, oe) {
var ue, me, Oe, le, Ue, Ze, ht = H !== q ? "nextSibling" : "previousSibling", Ne = Q.parentNode, Ki = K && Q.nodeName.toLowerCase(), Qi = !oe && !K, pt = !1;
if (Ne) {
if (H) {
for (; ht; ) {
for (le = Q; le = le[ht]; )
if (K ? le.nodeName.toLowerCase() === Ki : le.nodeType === 1)
return !1;
Ze = ht = m === "only" && !Ze && "nextSibling";
}
return !0;
}
if (Ze = [q ? Ne.firstChild : Ne.lastChild], q && Qi) {
for (le = Ne, Oe = le[Ae] || (le[Ae] = {}), me = Oe[le.uniqueID] || (Oe[le.uniqueID] = {}), ue = me[m] || [], Ue = ue[0] === ot && ue[1], pt = Ue && ue[2], le = Ue && Ne.childNodes[Ue]; le = ++Ue && le && le[ht] || (pt = Ue = 0) || Ze.pop(); )
if (le.nodeType === 1 && ++pt && le === Q) {
me[m] = [ot, Ue, pt];
break;
}
} else if (Qi && (le = Q, Oe = le[Ae] || (le[Ae] = {}), me = Oe[le.uniqueID] || (Oe[le.uniqueID] = {}), ue = me[m] || [], Ue = ue[0] === ot && ue[1], pt = Ue), pt === !1)
for (; (le = ++Ue && le && le[ht] || (pt = Ue = 0) || Ze.pop()) && !((K ? le.nodeName.toLowerCase() === Ki : le.nodeType === 1) && ++pt && (Qi && (Oe = le[Ae] || (le[Ae] = {}), me = Oe[le.uniqueID] || (Oe[le.uniqueID] = {}), me[m] = [ot, pt]), le === Q)); )
;
return pt -= O, pt === $ || pt % $ === 0 && pt / $ >= 0;
}
};
},
PSEUDO: function(m, x) {
var A, $ = s.pseudos[m] || s.setFilters[m.toLowerCase()] || ke.error("unsupported pseudo: " + m);
return $[Ae] ? $(x) : $.length > 1 ? (A = [m, m, "", x], s.setFilters.hasOwnProperty(m.toLowerCase()) ? Et(function(O, H) {
for (var q, K = $(O, x), Q = K.length; Q--; )
q = hi(O, K[Q]), O[q] = !(H[q] = K[Q]);
}) : function(O) {
return $(O, 0, A);
}) : $;
}
},
pseudos: {
not: Et(function(m) {
var x = [], A = [], $ = C(m.replace(Sn, "$1"));
return $[Ae] ? Et(function(O, H, q, K) {
for (var Q, se = $(O, null, K, []), oe = O.length; oe--; )
(Q = se[oe]) && (O[oe] = !(H[oe] = Q));
}) : function(O, H, q) {
return x[0] = O, $(x, null, q, A), x[0] = null, !A.pop();
};
}),
has: Et(function(m) {
return function(x) {
return ke(m, x).length > 0;
};
}),
contains: Et(function(m) {
return m = m.replace($t, It), function(x) {
return (x.textContent || u(x)).indexOf(m) > -1;
};
}),
lang: Et(function(m) {
return lo.test(m || "") || ke.error("unsupported lang: " + m), m = m.replace($t, It).toLowerCase(), function(x) {
var A;
do
if (A = de ? x.lang : x.getAttribute("xml:lang") || x.getAttribute("lang"))
return A = A.toLowerCase(), A === m || A.indexOf(m + "-") === 0;
while ((x = x.parentNode) && x.nodeType === 1);
return !1;
};
}),
target: function(m) {
var x = i.location && i.location.hash;
return x && x.slice(1) === m.id;
},
root: function(m) {
return m === ne;
},
focus: function(m) {
return m === F.activeElement && (!F.hasFocus || F.hasFocus()) && !!(m.type || m.href || ~m.tabIndex);
},
enabled: Dr(!1),
disabled: Dr(!0),
checked: function(m) {
var x = m.nodeName.toLowerCase();
return x === "input" && !!m.checked || x === "option" && !!m.selected;
},
selected: function(m) {
return m.parentNode && m.parentNode.selectedIndex, m.selected === !0;
},
empty: function(m) {
for (m = m.firstChild; m; m = m.nextSibling)
if (m.nodeType < 6)
return !1;
return !0;
},
parent: function(m) {
return !s.pseudos.empty(m);
},
header: function(m) {
return fo.test(m.nodeName);
},
input: function(m) {
return co.test(m.nodeName);
},
button: function(m) {
var x = m.nodeName.toLowerCase();
return x === "input" && m.type === "button" || x === "button";
},
text: function(m) {
var x;
return m.nodeName.toLowerCase() === "input" && m.type === "text" && ((x = m.getAttribute("type")) == null || x.toLowerCase() === "text");
},
first: gi(function() {
return [0];
}),
last: gi(function(m, x) {
return [x - 1];
}),
eq: gi(function(m, x, A) {
return [A < 0 ? A + x : A];
}),
even: gi(function(m, x) {
for (var A = 0; A < x; A += 2)
m.push(A);
return m;
}),
odd: gi(function(m, x) {
for (var A = 1; A < x; A += 2)
m.push(A);
return m;
}),
lt: gi(function(m, x, A) {
for (var $ = A < 0 ? A + x : A > x ? x : A; --$ >= 0; )
m.push($);
return m;
}),
gt: gi(function(m, x, A) {
for (var $ = A < 0 ? A + x : A; ++$ < x; )
m.push($);
return m;
})
}
}, s.pseudos.nth = s.pseudos.eq;
for (n in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
s.pseudos[n] = go(n);
for (n in { submit: !0, reset: !0 })
s.pseudos[n] = mo(n);
function Rr() {
}
Rr.prototype = s.filters = s.pseudos, s.setFilters = new Rr(), p = ke.tokenize = function(m, x) {
var A, $, O, H, q, K, Q, se = Ji[m + " "];
if (se)
return x ? 0 : se.slice(0);
for (q = m, K = [], Q = s.preFilter; q; ) {
(!A || ($ = ao.exec(q))) && ($ && (q = q.slice($[0].length) || q), K.push(O = [])), A = !1, ($ = Tr.exec(q)) && (A = $.shift(), O.push({
value: A,
type: $[0].replace(Sn, " ")
}), q = q.slice(A.length));
for (H in s.filter)
($ = An[H].exec(q)) && (!Q[H] || ($ = Q[H]($))) && (A = $.shift(), O.push({
value: A,
type: H,
matches: $
}), q = q.slice(A.length));
if (!A)
break;
}
return x ? q.length : q ? ke.error(m) : Ji(m, K).slice(0);
};
function En(m) {
for (var x = 0, A = m.length, $ = ""; x < A; x++)
$ += m[x].value;
return $;
}
function kn(m, x, A) {
var $ = x.dir, O = x.next, H = O || $, q = A && H === "parentNode", K = be++;
return x.first ? function(Q, se, oe) {
for (; Q = Q[$]; )
if (Q.nodeType === 1 || q)
return m(Q, se, oe);
return !1;
} : function(Q, se, oe) {
var ue, me, Oe, le = [ot, K];
if (oe) {
for (; Q = Q[$]; )
if ((Q.nodeType === 1 || q) && m(Q, se, oe))
return !0;
} else
for (; Q = Q[$]; )
if (Q.nodeType === 1 || q)
if (Oe = Q[Ae] || (Q[Ae] = {}), me = Oe[Q.uniqueID] || (Oe[Q.uniqueID] = {}), O && O === Q.nodeName.toLowerCase())
Q = Q[$] || Q;
else {
if ((ue = me[H]) && ue[0] === ot && ue[1] === K)
return le[2] = ue[2];
if (me[H] = le, le[2] = m(Q, se, oe))
return !0;
}
return !1;
};
}
function or(m) {
return m.length > 1 ? function(x, A, $) {
for (var O = m.length; O--; )
if (!m[O](x, A, $))
return !1;
return !0;
} : m[0];
}
function vo(m, x, A) {
for (var $ = 0, O = x.length; $ < O; $++)
ke(m, x[$], A);
return A;
}
function On(m, x, A, $, O) {
for (var H, q = [], K = 0, Q = m.length, se = x != null; K < Q; K++)
(H = m[K]) && (!A || A(H, $, O)) && (q.push(H), se && x.push(K));
return q;
}
function sr(m, x, A, $, O, H) {
return $ && !$[Ae] && ($ = sr($)), O && !O[Ae] && (O = sr(O, H)), Et(function(q, K, Q, se) {
var oe, ue, me, Oe = [], le = [], Ue = K.length, Ze = q || vo(
x || "*",
Q.nodeType ? [Q] : Q,
[]
), ht = m && (q || !x) ? On(Ze, Oe, m, Q, se) : Ze, Ne = A ? O || (q ? m : Ue || $) ? [] : K : ht;
if (A && A(ht, Ne, Q, se), $)
for (oe = On(Ne, le), $(oe, [], Q, se), ue = oe.length; ue--; )
(me = oe[ue]) && (Ne[le[ue]] = !(ht[le[ue]] = me));
if (q) {
if (O || m) {
if (O) {
for (oe = [], ue = Ne.length; ue--; )
(me = Ne[ue]) && oe.push(ht[ue] = me);
O(null, Ne = [], oe, se);
}
for (ue = Ne.length; ue--; )
(me = Ne[ue]) && (oe = O ? hi(q, me) : Oe[ue]) > -1 && (q[oe] = !(K[oe] = me));
}
} else
Ne = On(
Ne === K ? Ne.splice(Ue, Ne.length) : Ne
), O ? O(null, K, Ne, se) : ii.apply(K, Ne);
});
}
function lr(m) {
for (var x, A, $, O = m.length, H = s.relative[m[0].type], q = H || s.relative[" "], K = H ? 1 : 0, Q = kn(function(ue) {
return ue === x;
}, q, !0), se = kn(function(ue) {
return hi(x, ue) > -1;
}, q, !0), oe = [function(ue, me, Oe) {
var le = !H && (Oe || me !== N) || ((x = me).nodeType ? Q(ue, me, Oe) : se(ue, me, Oe));
return x = null, le;
}]; K < O; K++)
if (A = s.relative[m[K].type])
oe = [kn(or(oe), A)];
else {
if (A = s.filter[m[K].type].apply(null, m[K].matches), A[Ae]) {
for ($ = ++K; $ < O && !s.relative[m[$].type]; $++)
;
return sr(
K > 1 && or(oe),
K > 1 && En(
m.slice(0, K - 1).concat({ value: m[K - 2].type === " " ? "*" : "" })
).replace(Sn, "$1"),
A,
K < $ && lr(m.slice(K, $)),
$ < O && lr(m = m.slice($)),
$ < O && En(m)
);
}
oe.push(A);
}
return or(oe);
}
function yo(m, x) {
var A = x.length > 0, $ = m.length > 0, O = function(H, q, K, Q, se) {
var oe, ue, me, Oe = 0, le = "0", Ue = H && [], Ze = [], ht = N, Ne = H || $ && s.find.TAG("*", se), Ki = ot += ht == null ? 1 : Math.random() || 0.1, Qi = Ne.length;
for (se && (N = q == F || q || se); le !== Qi && (oe = Ne[le]) != null; le++) {
if ($ && oe) {
for (ue = 0, !q && oe.ownerDocument != F && (D(oe), K = !de); me = m[ue++]; )
if (me(oe, q || F, K)) {
Q.push(oe);
break;
}
se && (ot = Ki);
}
A && ((oe = !me && oe) && Oe--, H && Ue.push(oe));
}
if (Oe += le, A && le !== Oe) {
for (ue = 0; me = x[ue++]; )
me(Ue, Ze, q, K);
if (H) {
if (Oe > 0)
for (; le--; )
Ue[le] || Ze[le] || (Ze[le] = ti.call(Q));
Ze = On(Ze);
}
ii.apply(Q, Ze), se && !H && Ze.length > 0 && Oe + x.length > 1 && ke.uniqueSort(Q);
}
return se && (ot = Ki, N = ht), Ue;
};
return A ? Et(O) : O;
}
return C = ke.compile = function(m, x) {
var A, $ = [], O = [], H = Cn[m + " "];
if (!H) {
for (x || (x = p(m)), A = x.length; A--; )
H = lr(x[A]), H[Ae] ? $.push(H) : O.push(H);
H = Cn(
m,
yo(O, $)
), H.selector = m;
}
return H;
}, w = ke.select = function(m, x, A, $) {
var O, H, q, K, Q, se = typeof m == "function" && m, oe = !$ && p(m = se.selector || m);
if (A = A || [], oe.length === 1) {
if (H = oe[0] = oe[0].slice(0), H.length > 2 && (q = H[0]).type === "ID" && x.nodeType === 9 && de && s.relative[H[1].type]) {
if (x = (s.find.ID(q.matches[0].replace($t, It), x) || [])[0], x)
se && (x = x.parentNode);
else
return A;
m = m.slice(H.shift().value.length);
}
for (O = An.needsContext.test(m) ? 0 : H.length; O-- && (q = H[O], !s.relative[K = q.type]); )
if ((Q = s.find[K]) && ($ = Q(
q.matches[0].replace($t, It),
nr.test(H[0].type) && ar(x.parentNode) || x
))) {
if (H.splice(O, 1), m = $.length && En(H), !m)
return ii.apply(A, $), A;
break;
}
}
return (se || C(m, oe))(
$,
x,
!de,
A,
!x || nr.test(m) && ar(x.parentNode) || x
), A;
}, a.sortStable = Ae.split("").sort(di).join("") === Ae, a.detectDuplicates = !!W, D(), a.sortDetached = kt(function(m) {
return m.compareDocumentPosition(F.createElement("fieldset")) & 1;
}), kt(function(m) {
return m.innerHTML = "<a href='#'></a>", m.firstChild.getAttribute("href") === "#";
}) || rr("type|href|height|width", function(m, x, A) {
if (!A)
return m.getAttribute(x, x.toLowerCase() === "type" ? 1 : 2);
}), (!a.attributes || !kt(function(m) {
return m.innerHTML = "<input/>", m.firstChild.setAttribute("value", ""), m.firstChild.getAttribute("value") === "";
})) && rr("value", function(m, x, A) {
if (!A && m.nodeName.toLowerCase() === "input")
return m.defaultValue;
}), kt(function(m) {
return m.getAttribute("disabled") == null;
}) || rr(tr, function(m, x, A) {
var $;
if (!A)
return m[x] === !0 ? x.toLowerCase() : ($ = m.getAttributeNode(x)) && $.specified ? $.value : null;
}), ke;
}(e);
l.find = Le, l.expr = Le.selectors, l.expr[":"] = l.expr.pseudos, l.uniqueSort = l.unique = Le.uniqueSort, l.text = Le.getText, l.isXMLDoc = Le.isXML, l.contains = Le.contains, l.escapeSelector = Le.escape;
var We = function(i, n, a) {
for (var s = [], u = a !== void 0; (i = i[n]) && i.nodeType !== 9; )
if (i.nodeType === 1) {
if (u && l(i).is(a))
break;
s.push(i);
}
return s;
}, Rt = function(i, n) {
for (var a = []; i; i = i.nextSibling)
i.nodeType === 1 && i !== n && a.push(i);
return a;
}, _t = l.expr.match.needsContext;
function He(i, n) {
return i.nodeName && i.nodeName.toLowerCase() === n.toLowerCase();
}
var jt = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function Bt(i, n, a) {
return V(n) ? l.grep(i, function(s, u) {
return !!n.call(s, u, s) !== a;
}) : n.nodeType ? l.grep(i, function(s) {
return s === n !== a;
}) : typeof n != "string" ? l.grep(i, function(s) {
return z.call(n, s) > -1 !== a;
}) : l.filter(n, i, a);
}
l.filter = function(i, n, a) {
var s = n[0];
return a && (i = ":not(" + i + ")"), n.length === 1 && s.nodeType === 1 ? l.find.matchesSelector(s, i) ? [s] : [] : l.find.matches(i, l.grep(n, function(u) {
return u.nodeType === 1;
}));
}, l.fn.extend({
find: function(i) {
var n, a, s = this.length, u = this;
if (typeof i != "string")
return this.pushStack(l(i).filter(function() {
for (n = 0; n < s; n++)
if (l.contains(u[n], this))
return !0;
}));
for (a = this.pushStack([]), n = 0; n < s; n++)
l.find(i, u[n], a);
return s > 1 ? l.uniqueSort(a) : a;
},
filter: function(i) {
return this.pushStack(Bt(this, i || [], !1));
},
not: function(i) {
return this.pushStack(Bt(this, i || [], !0));
},
is: function(i) {
return !!Bt(
this,
typeof i == "string" && _t.test(i) ? l(i) : i || [],
!1
).length;
}
});
var Wt, Ni = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, on = l.fn.init = function(i, n, a) {
var s, u;
if (!i)
return this;
if (a = a || Wt, typeof i == "string")
if (i[0] === "<" && i[i.length - 1] === ">" && i.length >= 3 ? s = [null, i, null] : s = Ni.exec(i), s && (s[1] || !n))
if (s[1]) {
if (n = n instanceof l ? n[0] : n, l.merge(this, l.parseHTML(
s[1],
n && n.nodeType ? n.ownerDocument || n : te,
!0
)), jt.test(s[1]) && l.isPlainObject(n))
for (s in n)
V(this[s]) ? this[s](n[s]) : this.attr(s, n[s]);
return this;
} else
return u = te.getElementById(s[2]), u && (this[0] = u, this.length = 1), this;
else
return !n || n.jquery ? (n || a).find(i) : this.constructor(n).find(i);
else {
if (i.nodeType)
return this[0] = i, this.length = 1, this;
if (V(i))
return a.ready !== void 0 ? a.ready(i) : i(l);
}
return l.makeArray(i, this);
};
on.prototype = l.fn, Wt = l(te);
var Je = /^(?:parents|prev(?:Until|All))/, sn = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
l.fn.extend({
has: function(i) {
var n = l(i, this), a = n.length;
return this.filter(function() {
for (var s = 0; s < a; s++)
if (l.contains(this, n[s]))
return !0;
});
},
closest: function(i, n) {
var a, s = 0, u = this.length, c = [], p = typeof i != "string" && l(i);
if (!_t.test(i)) {
for (; s < u; s++)
for (a = this[s]; a && a !== n; a = a.parentNode)
if (a.nodeType < 11 && (p ? p.index(a) > -1 : a.nodeType === 1 && l.find.matchesSelector(a, i))) {
c.push(a);
break;
}
}
return this.pushStack(c.length > 1 ? l.uniqueSort(c) : c);
},
index: function(i) {
return i ? typeof i == "string" ? z.call(l(i), this[0]) : z.call(
this,
i.jquery ? i[0] : i
) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
},
add: function(i, n) {
return this.pushStack(
l.uniqueSort(
l.merge(this.get(), l(i, n))
)
);
},
addBack: function(i) {
return this.add(
i == null ? this.prevObject : this.prevObject.filter(i)
);
}
});
function ln(i, n) {
for (; (i = i[n]) && i.nodeType !== 1; )
;
return i;
}
l.each({
parent: function(i) {
var n = i.parentNode;
return n && n.nodeType !== 11 ? n : null;
},
parents: function(i) {
return We(i, "parentNode");
},
parentsUntil: function(i, n, a) {
return We(i, "parentNode", a);
},
next: function(i) {
return ln(i, "nextSibling");
},
prev: function(i) {
return ln(i, "previousSibling");
},
nextAll: function(i) {
return We(i, "nextSibling");
},
prevAll: function(i) {
return We(i, "previousSibling");
},
nextUntil: function(i, n, a) {
return We(i, "nextSibling", a);
},
prevUntil: function(i, n, a) {
return We(i, "previousSibling", a);
},
siblings: function(i) {
return Rt((i.parentNode || {}).firstChild, i);
},
children: function(i) {
return Rt(i.firstChild);
},
contents: function(i) {
return i.contentDocument != null && v(i.contentDocument) ? i.contentDocument : (He(i, "template") && (i = i.content || i), l.merge([], i.childNodes));
}
}, function(i, n) {
l.fn[i] = function(a, s) {
var u = l.map(this, n, a);
return i.slice(-5) !== "Until" && (s = a), s && typeof s == "string" && (u = l.filter(s, u)), this.length > 1 && (sn[i] || l.uniqueSort(u), Je.test(i) && u.reverse()), this.pushStack(u);
};
});
var tt = /[^\x20\t\r\n\f]+/g;
function Di(i) {
var n = {};
return l.each(i.match(tt) || [], function(a, s) {
n[s] = !0;
}), n;
}
l.Callbacks = function(i) {
i = typeof i == "string" ? Di(i) : l.extend({}, i);
var n, a, s, u, c = [], p = [], C = -1, w = function() {
for (u = u || i.once, s = n = !0; p.length; C = -1)
for (a = p.shift(); ++C < c.length; )
c[C].apply(a[0], a[1]) === !1 && i.stopOnFalse && (C = c.length, a = !1);
i.memory || (a = !1), n = !1, u && (a ? c = [] : c = "");
}, N = {
add: function() {
return c && (a && !n && (C = c.length - 1, p.push(a)), function R(W) {
l.each(W, function(D, F) {
V(F) ? (!i.unique || !N.has(F)) && c.push(F) : F && F.length && rt(F) !== "string" && R(F);
});
}(arguments), a && !n && w()), this;
},
remove: function() {
return l.each(arguments, function(R, W) {
for (var D; (D = l.inArray(W, c, D)) > -1; )
c.splice(D, 1), D <= C && C--;
}), this;
},
has: function(R) {
return R ? l.inArray(R, c) > -1 : c.length > 0;
},
empty: function() {
return c && (c = []), this;
},
disable: function() {
return u = p = [], c = a = "", this;
},
disabled: function() {
return !c;
},
lock: function() {
return u = p = [], !a && !n && (c = a = ""), this;
},
locked: function() {
return !!u;
},
fireWith: function(R, W) {
return u || (W = W || [], W = [R, W.slice ? W.slice() : W], p.push(W), n || w()), this;
},
fire: function() {
return N.fireWith(this, arguments), this;
},
fired: function(