Guest User

Untitled

a guest
Mar 23rd, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 141.33 KB | None | 0 0
  1. /*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
  2. !function (a, b) {
  3. "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
  4. if (!a.document) throw new Error("jQuery requires a window with a document");
  5. return b(a);
  6. } : b(a);
  7. }("undefined" != typeof window ? window : this, function (a, b) {
  8. var c = [],
  9. d = c.slice,
  10. e = c.concat,
  11. f = c.push,
  12. g = c.indexOf,
  13. h = {},
  14. i = h.toString,
  15. j = h.hasOwnProperty,
  16. k = {},
  17. l = a.document,
  18. m = "2.1.3",
  19. n = function (a, b) {
  20. return new n.fn.init(a, b);
  21. },
  22. o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  23. p = /^-ms-/,
  24. q = /-([\da-z])/gi,
  25. r = function (a, b) {
  26. return b.toUpperCase();
  27. };
  28. n.fn = n.prototype = {
  29. jquery: m,
  30. constructor: n,
  31. selector: "",
  32. length: 0,
  33. toArray: function () {
  34. return d.call(this)
  35. },
  36. get: function (a) {
  37. return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
  38. },
  39. pushStack: function (a) {
  40. var b = n.merge(this.constructor(), a);
  41. return b.prevObject = this, b.context = this.context, b
  42. },
  43. each: function (a, b) {
  44. return n.each(this, a, b)
  45. },
  46. map: function (a) {
  47. return this.pushStack(n.map(this, function (b, c) {
  48. return a.call(b, c, b)
  49. }))
  50. },
  51. slice: function () {
  52. return this.pushStack(d.apply(this, arguments))
  53. },
  54. first: function () {
  55. return this.eq(0)
  56. },
  57. last: function () {
  58. return this.eq(-1)
  59. },
  60. eq: function (a) {
  61. var b = this.length,
  62. c = +a + (0 > a ? b : 0);
  63. return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
  64. },
  65. end: function () {
  66. return this.prevObject || this.constructor(null)
  67. },
  68. push: f,
  69. sort: c.sort,
  70. splice: c.splice
  71. }, n.extend = n.fn.extend = function () {
  72. var a, b, c, d, e, f, g = arguments[0] || {},
  73. h = 1,
  74. i = arguments.length,
  75. j = !1;
  76. for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)
  77. if (null != (a = arguments[h]))
  78. for (b in a) c = g[b], d = a[b], g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1, f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {}, g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d));
  79. return g
  80. }, n.extend({
  81. expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
  82. isReady: !0,
  83. error: function (a) {
  84. throw new Error(a)
  85. },
  86. noop: function () {},
  87. isFunction: function (a) {
  88. return "function" === n.type(a)
  89. },
  90. isArray: Array.isArray,
  91. isWindow: function (a) {
  92. return null != a && a === a.window
  93. },
  94. isNumeric: function (a) {
  95. return !n.isArray(a) && a - parseFloat(a) + 1 >= 0
  96. },
  97. isPlainObject: function (a) {
  98. return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0
  99. },
  100. isEmptyObject: function (a) {
  101. var b;
  102. for (b in a) return !1;
  103. return !0
  104. },
  105. type: function (a) {
  106. return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
  107. },
  108. globalEval: function (a) {
  109. var b, c = eval;
  110. a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = l.createElement("script"), b.text = a, l.head.appendChild(b).parentNode.removeChild(b)) : c(a))
  111. },
  112. camelCase: function (a) {
  113. return a.replace(p, "ms-").replace(q, r)
  114. },
  115. nodeName: function (a, b) {
  116. return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
  117. },
  118. each: function (a, b, c) {
  119. var d, e = 0,
  120. f = a.length,
  121. g = s(a);
  122. if (c) {
  123. if (g) {
  124. for (; f > e; e++)
  125. if (d = b.apply(a[e], c), d === !1) break
  126. } else
  127. for (e in a)
  128. if (d = b.apply(a[e], c), d === !1) break
  129. } else if (g) {
  130. for (; f > e; e++)
  131. if (d = b.call(a[e], e, a[e]), d === !1) break
  132. } else
  133. for (e in a)
  134. if (d = b.call(a[e], e, a[e]), d === !1) break;
  135. return a
  136. },
  137. trim: function (a) {
  138. return null == a ? "" : (a + "").replace(o, "")
  139. },
  140. makeArray: function (a, b) {
  141. var c = b || [];
  142. return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
  143. },
  144. inArray: function (a, b, c) {
  145. return null == b ? -1 : g.call(b, a, c)
  146. },
  147. merge: function (a, b) {
  148. for (var c = +b.length, d = 0, e = a.length; c > d; d++) a[e++] = b[d];
  149. return a.length = e, a
  150. },
  151. grep: function (a, b, c) {
  152. for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]);
  153. return e
  154. },
  155. map: function (a, b, c) {
  156. var d, f = 0,
  157. g = a.length,
  158. h = s(a),
  159. i = [];
  160. if (h)
  161. for (; g > f; f++) d = b(a[f], f, c), null != d && i.push(d);
  162. else
  163. for (f in a) d = b(a[f], f, c), null != d && i.push(d);
  164. return e.apply([], i)
  165. },
  166. guid: 1,
  167. proxy: function (a, b) {
  168. var c, e, f;
  169. return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (e = d.call(arguments, 2), f = function () {
  170. return a.apply(b || this, e.concat(d.call(arguments)))
  171. }, f.guid = a.guid = a.guid || n.guid++, f) : void 0
  172. },
  173. now: Date.now,
  174. support: k
  175. }), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
  176. h["[object " + b + "]"] = b.toLowerCase()
  177. });
  178.  
  179. function s(a) {
  180. var b = a.length,
  181. c = n.type(a);
  182. return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
  183. }
  184. var t = function (a) {
  185. var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date,
  186. v = a.document,
  187. w = 0,
  188. x = 0,
  189. y = hb(),
  190. z = hb(),
  191. A = hb(),
  192. B = function (a, b) {
  193. return a === b && (l = !0), 0
  194. },
  195. C = 1 << 31,
  196. D = {}.hasOwnProperty,
  197. E = [],
  198. F = E.pop,
  199. G = E.push,
  200. H = E.push,
  201. I = E.slice,
  202. J = function (a, b) {
  203. for (var c = 0, d = a.length; d > c; c++)
  204. if (a[c] === b) return c;
  205. return -1
  206. },
  207. K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  208. L = "[\\x20\\t\\r\\n\\f]",
  209. M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  210. N = M.replace("w", "w#"),
  211. O = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + L + "*\\]",
  212. P = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + O + ")*)|.*)\\)|)",
  213. Q = new RegExp(L + "+", "g"),
  214. R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
  215. S = new RegExp("^" + L + "*," + L + "*"),
  216. T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
  217. U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"),
  218. V = new RegExp(P),
  219. W = new RegExp("^" + N + "$"),
  220. X = {
  221. ID: new RegExp("^#(" + M + ")"),
  222. CLASS: new RegExp("^\\.(" + M + ")"),
  223. TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
  224. ATTR: new RegExp("^" + O),
  225. PSEUDO: new RegExp("^" + P),
  226. CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
  227. bool: new RegExp("^(?:" + K + ")$", "i"),
  228. needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
  229. },
  230. Y = /^(?:input|select|textarea|button)$/i,
  231. Z = /^h\d$/i,
  232. $ = /^[^{]+\{\s*\[native \w/,
  233. _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  234. ab = /[+~]/,
  235. bb = /'|\\/g,
  236. cb = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"),
  237. db = function (a, b, c) {
  238. var d = "0x" + b - 65536;
  239. return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
  240. },
  241. eb = function () {
  242. m()
  243. };
  244. try {
  245. H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
  246. } catch (fb) {
  247. H = {
  248. apply: E.length ? function (a, b) {
  249. G.apply(a, I.call(b))
  250. } : function (a, b) {
  251. var c = a.length,
  252. d = 0;
  253. while (a[c++] = b[d++]);
  254. a.length = c - 1
  255. }
  256. }
  257. }
  258.  
  259. function gb(a, b, d, e) {
  260. var f, h, j, k, l, o, r, s, w, x;
  261. if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], k = b.nodeType, "string" != typeof a || !a || 1 !== k && 9 !== k && 11 !== k) return d;
  262. if (!e && p) {
  263. if (11 !== k && (f = _.exec(a)))
  264. if (j = f[1]) {
  265. if (9 === k) {
  266. if (h = b.getElementById(j), !h || !h.parentNode) return d;
  267. if (h.id === j) return d.push(h), d
  268. } else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j) return d.push(h), d
  269. } else {
  270. if (f[2]) return H.apply(d, b.getElementsByTagName(a)), d;
  271. if ((j = f[3]) && c.getElementsByClassName) return H.apply(d, b.getElementsByClassName(j)), d
  272. }
  273. if (c.qsa && (!q || !q.test(a))) {
  274. if (s = r = u, w = b, x = 1 !== k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) {
  275. o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length;
  276. while (l--) o[l] = s + rb(o[l]);
  277. w = ab.test(a) && pb(b.parentNode) || b, x = o.join(",")
  278. }
  279. if (x) try {
  280. return H.apply(d, w.querySelectorAll(x)), d
  281. } catch (y) {} finally {
  282. r || b.removeAttribute("id")
  283. }
  284. }
  285. }
  286. return i(a.replace(R, "$1"), b, d, e)
  287. }
  288.  
  289. function hb() {
  290. var a = [];
  291.  
  292. function b(c, e) {
  293. return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
  294. }
  295. return b
  296. }
  297.  
  298. function ib(a) {
  299. return a[u] = !0, a
  300. }
  301.  
  302. function jb(a) {
  303. var b = n.createElement("div");
  304. try {
  305. return !!a(b)
  306. } catch (c) {
  307. return !1
  308. } finally {
  309. b.parentNode && b.parentNode.removeChild(b), b = null
  310. }
  311. }
  312.  
  313. function kb(a, b) {
  314. var c = a.split("|"),
  315. e = a.length;
  316. while (e--) d.attrHandle[c[e]] = b
  317. }
  318.  
  319. function lb(a, b) {
  320. var c = b && a,
  321. d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
  322. if (d) return d;
  323. if (c)
  324. while (c = c.nextSibling)
  325. if (c === b) return -1;
  326. return a ? 1 : -1
  327. }
  328.  
  329. function mb(a) {
  330. return function (b) {
  331. var c = b.nodeName.toLowerCase();
  332. return "input" === c && b.type === a
  333. }
  334. }
  335.  
  336. function nb(a) {
  337. return function (b) {
  338. var c = b.nodeName.toLowerCase();
  339. return ("input" === c || "button" === c) && b.type === a
  340. }
  341. }
  342.  
  343. function ob(a) {
  344. return ib(function (b) {
  345. return b = +b, ib(function (c, d) {
  346. var e, f = a([], c.length, b),
  347. g = f.length;
  348. while (g--) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
  349. })
  350. })
  351. }
  352.  
  353. function pb(a) {
  354. return a && "undefined" != typeof a.getElementsByTagName && a
  355. }
  356. c = gb.support = {}, f = gb.isXML = function (a) {
  357. var b = a && (a.ownerDocument || a).documentElement;
  358. return b ? "HTML" !== b.nodeName : !1
  359. }, m = gb.setDocument = function (a) {
  360. var b, e, g = a ? a.ownerDocument || a : v;
  361. return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = g.documentElement, e = g.defaultView, e && e !== e.top && (e.addEventListener ? e.addEventListener("unload", eb, !1) : e.attachEvent && e.attachEvent("onunload", eb)), p = !f(g), c.attributes = jb(function (a) {
  362. return a.className = "i", !a.getAttribute("className")
  363. }), c.getElementsByTagName = jb(function (a) {
  364. return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length
  365. }), c.getElementsByClassName = $.test(g.getElementsByClassName), c.getById = jb(function (a) {
  366. return o.appendChild(a).id = u, !g.getElementsByName || !g.getElementsByName(u).length
  367. }), c.getById ? (d.find.ID = function (a, b) {
  368. if ("undefined" != typeof b.getElementById && p) {
  369. var c = b.getElementById(a);
  370. return c && c.parentNode ? [c] : []
  371. }
  372. }, d.filter.ID = function (a) {
  373. var b = a.replace(cb, db);
  374. return function (a) {
  375. return a.getAttribute("id") === b
  376. }
  377. }) : (delete d.find.ID, d.filter.ID = function (a) {
  378. var b = a.replace(cb, db);
  379. return function (a) {
  380. var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
  381. return c && c.value === b
  382. }
  383. }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
  384. return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
  385. } : function (a, b) {
  386. var c, d = [],
  387. e = 0,
  388. f = b.getElementsByTagName(a);
  389. if ("*" === a) {
  390. while (c = f[e++]) 1 === c.nodeType && d.push(c);
  391. return d
  392. }
  393. return f
  394. }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
  395. return p ? b.getElementsByClassName(a) : void 0
  396. }, r = [], q = [], (c.qsa = $.test(g.querySelectorAll)) && (jb(function (a) {
  397. o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\f]' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
  398. }), jb(function (a) {
  399. var b = g.createElement("input");
  400. b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
  401. })), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && jb(function (a) {
  402. c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", P)
  403. }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function (a, b) {
  404. var c = 9 === a.nodeType ? a.documentElement : a,
  405. d = b && b.parentNode;
  406. return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
  407. } : function (a, b) {
  408. if (b)
  409. while (b = b.parentNode)
  410. if (b === a) return !0;
  411. return !1
  412. }, B = b ? function (a, b) {
  413. if (a === b) return l = !0, 0;
  414. var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
  415. return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === g || a.ownerDocument === v && t(v, a) ? -1 : b === g || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
  416. } : function (a, b) {
  417. if (a === b) return l = !0, 0;
  418. var c, d = 0,
  419. e = a.parentNode,
  420. f = b.parentNode,
  421. h = [a],
  422. i = [b];
  423. if (!e || !f) return a === g ? -1 : b === g ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
  424. if (e === f) return lb(a, b);
  425. c = a;
  426. while (c = c.parentNode) h.unshift(c);
  427. c = b;
  428. while (c = c.parentNode) i.unshift(c);
  429. while (h[d] === i[d]) d++;
  430. return d ? lb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0
  431. }, g) : n
  432. }, gb.matches = function (a, b) {
  433. return gb(a, null, null, b)
  434. }, gb.matchesSelector = function (a, b) {
  435. if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b))) try {
  436. var d = s.call(a, b);
  437. if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
  438. } catch (e) {}
  439. return gb(b, n, null, [a]).length > 0
  440. }, gb.contains = function (a, b) {
  441. return (a.ownerDocument || a) !== n && m(a), t(a, b)
  442. }, gb.attr = function (a, b) {
  443. (a.ownerDocument || a) !== n && m(a);
  444. var e = d.attrHandle[b.toLowerCase()],
  445. f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
  446. return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
  447. }, gb.error = function (a) {
  448. throw new Error("Syntax error, unrecognized expression: " + a)
  449. }, gb.uniqueSort = function (a) {
  450. var b, d = [],
  451. e = 0,
  452. f = 0;
  453. if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
  454. while (b = a[f++]) b === a[f] && (e = d.push(f));
  455. while (e--) a.splice(d[e], 1)
  456. }
  457. return k = null, a
  458. }, e = gb.getText = function (a) {
  459. var b, c = "",
  460. d = 0,
  461. f = a.nodeType;
  462. if (f) {
  463. if (1 === f || 9 === f || 11 === f) {
  464. if ("string" == typeof a.textContent) return a.textContent;
  465. for (a = a.firstChild; a; a = a.nextSibling) c += e(a)
  466. } else if (3 === f || 4 === f) return a.nodeValue
  467. } else
  468. while (b = a[d++]) c += e(b);
  469. return c
  470. }, d = gb.selectors = {
  471. cacheLength: 50,
  472. createPseudo: ib,
  473. match: X,
  474. attrHandle: {},
  475. find: {},
  476. relative: {
  477. ">": {
  478. dir: "parentNode",
  479. first: !0
  480. },
  481. " ": {
  482. dir: "parentNode"
  483. },
  484. "+": {
  485. dir: "previousSibling",
  486. first: !0
  487. },
  488. "~": {
  489. dir: "previousSibling"
  490. }
  491. },
  492. preFilter: {
  493. ATTR: function (a) {
  494. return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
  495. },
  496. CHILD: function (a) {
  497. return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || gb.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && gb.error(a[0]), a
  498. },
  499. PSEUDO: function (a) {
  500. var b, c = !a[6] && a[2];
  501. return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
  502. }
  503. },
  504. filter: {
  505. TAG: function (a) {
  506. var b = a.replace(cb, db).toLowerCase();
  507. return "*" === a ? function () {
  508. return !0
  509. } : function (a) {
  510. return a.nodeName && a.nodeName.toLowerCase() === b
  511. }
  512. },
  513. CLASS: function (a) {
  514. var b = y[a + " "];
  515. return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function (a) {
  516. return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
  517. })
  518. },
  519. ATTR: function (a, b, c) {
  520. return function (d) {
  521. var e = gb.attr(d, a);
  522. return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
  523. }
  524. },
  525. CHILD: function (a, b, c, d, e) {
  526. var f = "nth" !== a.slice(0, 3),
  527. g = "last" !== a.slice(-4),
  528. h = "of-type" === b;
  529. return 1 === d && 0 === e ? function (a) {
  530. return !!a.parentNode
  531. } : function (b, c, i) {
  532. var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling",
  533. q = b.parentNode,
  534. r = h && b.nodeName.toLowerCase(),
  535. s = !i && !h;
  536. if (q) {
  537. if (f) {
  538. while (p) {
  539. l = b;
  540. while (l = l[p])
  541. if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) return !1;
  542. o = p = "only" === a && !o && "nextSibling"
  543. }
  544. return !0
  545. }
  546. if (o = [g ? q.firstChild : q.lastChild], g && s) {
  547. k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n];
  548. while (l = ++n && l && l[p] || (m = n = 0) || o.pop())
  549. if (1 === l.nodeType && ++m && l === b) {
  550. k[a] = [w, n, m];
  551. break
  552. }
  553. } else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) m = j[1];
  554. else
  555. while (l = ++n && l && l[p] || (m = n = 0) || o.pop())
  556. if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)) break;
  557. return m -= e, m === d || m % d === 0 && m / d >= 0
  558. }
  559. }
  560. },
  561. PSEUDO: function (a, b) {
  562. var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || gb.error("unsupported pseudo: " + a);
  563. return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ib(function (a, c) {
  564. var d, f = e(a, b),
  565. g = f.length;
  566. while (g--) d = J(a, f[g]), a[d] = !(c[d] = f[g])
  567. }) : function (a) {
  568. return e(a, 0, c)
  569. }) : e
  570. }
  571. },
  572. pseudos: {
  573. not: ib(function (a) {
  574. var b = [],
  575. c = [],
  576. d = h(a.replace(R, "$1"));
  577. return d[u] ? ib(function (a, b, c, e) {
  578. var f, g = d(a, null, e, []),
  579. h = a.length;
  580. while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
  581. }) : function (a, e, f) {
  582. return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
  583. }
  584. }),
  585. has: ib(function (a) {
  586. return function (b) {
  587. return gb(a, b).length > 0
  588. }
  589. }),
  590. contains: ib(function (a) {
  591. return a = a.replace(cb, db),
  592. function (b) {
  593. return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
  594. }
  595. }),
  596. lang: ib(function (a) {
  597. return W.test(a || "") || gb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(),
  598. function (b) {
  599. var c;
  600. do
  601. if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
  602. return !1
  603. }
  604. }),
  605. target: function (b) {
  606. var c = a.location && a.location.hash;
  607. return c && c.slice(1) === b.id
  608. },
  609. root: function (a) {
  610. return a === o
  611. },
  612. focus: function (a) {
  613. return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
  614. },
  615. enabled: function (a) {
  616. return a.disabled === !1
  617. },
  618. disabled: function (a) {
  619. return a.disabled === !0
  620. },
  621. checked: function (a) {
  622. var b = a.nodeName.toLowerCase();
  623. return "input" === b && !!a.checked || "option" === b && !!a.selected
  624. },
  625. selected: function (a) {
  626. return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
  627. },
  628. empty: function (a) {
  629. for (a = a.firstChild; a; a = a.nextSibling)
  630. if (a.nodeType < 6) return !1;
  631. return !0
  632. },
  633. parent: function (a) {
  634. return !d.pseudos.empty(a)
  635. },
  636. header: function (a) {
  637. return Z.test(a.nodeName)
  638. },
  639. input: function (a) {
  640. return Y.test(a.nodeName)
  641. },
  642. button: function (a) {
  643. var b = a.nodeName.toLowerCase();
  644. return "input" === b && "button" === a.type || "button" === b
  645. },
  646. text: function (a) {
  647. var b;
  648. return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
  649. },
  650. first: ob(function () {
  651. return [0]
  652. }),
  653. last: ob(function (a, b) {
  654. return [b - 1]
  655. }),
  656. eq: ob(function (a, b, c) {
  657. return [0 > c ? c + b : c]
  658. }),
  659. even: ob(function (a, b) {
  660. for (var c = 0; b > c; c += 2) a.push(c);
  661. return a
  662. }),
  663. odd: ob(function (a, b) {
  664. for (var c = 1; b > c; c += 2) a.push(c);
  665. return a
  666. }),
  667. lt: ob(function (a, b, c) {
  668. for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d);
  669. return a
  670. }),
  671. gt: ob(function (a, b, c) {
  672. for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d);
  673. return a
  674. })
  675. }
  676. }, d.pseudos.nth = d.pseudos.eq;
  677. for (b in {
  678. radio: !0,
  679. checkbox: !0,
  680. file: !0,
  681. password: !0,
  682. image: !0
  683. }) d.pseudos[b] = mb(b);
  684. for (b in {
  685. submit: !0,
  686. reset: !0
  687. }) d.pseudos[b] = nb(b);
  688.  
  689. function qb() {}
  690. qb.prototype = d.filters = d.pseudos, d.setFilters = new qb, g = gb.tokenize = function (a, b) {
  691. var c, e, f, g, h, i, j, k = z[a + " "];
  692. if (k) return b ? 0 : k.slice(0);
  693. h = a, i = [], j = d.preFilter;
  694. while (h) {
  695. (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({
  696. value: c,
  697. type: e[0].replace(R, " ")
  698. }), h = h.slice(c.length));
  699. for (g in d.filter) !(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
  700. value: c,
  701. type: g,
  702. matches: e
  703. }), h = h.slice(c.length));
  704. if (!c) break
  705. }
  706. return b ? h.length : h ? gb.error(a) : z(a, i).slice(0)
  707. };
  708.  
  709. function rb(a) {
  710. for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
  711. return d
  712. }
  713.  
  714. function sb(a, b, c) {
  715. var d = b.dir,
  716. e = c && "parentNode" === d,
  717. f = x++;
  718. return b.first ? function (b, c, f) {
  719. while (b = b[d])
  720. if (1 === b.nodeType || e) return a(b, c, f)
  721. } : function (b, c, g) {
  722. var h, i, j = [w, f];
  723. if (g) {
  724. while (b = b[d])
  725. if ((1 === b.nodeType || e) && a(b, c, g)) return !0
  726. } else
  727. while (b = b[d])
  728. if (1 === b.nodeType || e) {
  729. if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f) return j[2] = h[2];
  730. if (i[d] = j, j[2] = a(b, c, g)) return !0
  731. }
  732. }
  733. }
  734.  
  735. function tb(a) {
  736. return a.length > 1 ? function (b, c, d) {
  737. var e = a.length;
  738. while (e--)
  739. if (!a[e](b, c, d)) return !1;
  740. return !0
  741. } : a[0]
  742. }
  743.  
  744. function ub(a, b, c) {
  745. for (var d = 0, e = b.length; e > d; d++) gb(a, b[d], c);
  746. return c
  747. }
  748.  
  749. function vb(a, b, c, d, e) {
  750. for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
  751. return g
  752. }
  753.  
  754. function wb(a, b, c, d, e, f) {
  755. return d && !d[u] && (d = wb(d)), e && !e[u] && (e = wb(e, f)), ib(function (f, g, h, i) {
  756. var j, k, l, m = [],
  757. n = [],
  758. o = g.length,
  759. p = f || ub(b || "*", h.nodeType ? [h] : h, []),
  760. q = !a || !f && b ? p : vb(p, m, a, h, i),
  761. r = c ? e || (f ? a : o || d) ? [] : g : q;
  762. if (c && c(q, r, h, i), d) {
  763. j = vb(r, n), d(j, [], h, i), k = j.length;
  764. while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
  765. }
  766. if (f) {
  767. if (e || a) {
  768. if (e) {
  769. j = [], k = r.length;
  770. while (k--)(l = r[k]) && j.push(q[k] = l);
  771. e(null, r = [], j, i)
  772. }
  773. k = r.length;
  774. while (k--)(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
  775. }
  776. } else r = vb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
  777. })
  778. }
  779.  
  780. function xb(a) {
  781. for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = sb(function (a) {
  782. return a === b
  783. }, h, !0), l = sb(function (a) {
  784. return J(b, a) > -1
  785. }, h, !0), m = [function (a, c, d) {
  786. var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
  787. return b = null, e
  788. }]; f > i; i++)
  789. if (c = d.relative[a[i].type]) m = [sb(tb(m), c)];
  790. else {
  791. if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
  792. for (e = ++i; f > e; e++)
  793. if (d.relative[a[e].type]) break;
  794. return wb(i > 1 && tb(m), i > 1 && rb(a.slice(0, i - 1).concat({
  795. value: " " === a[i - 2].type ? "*" : ""
  796. })).replace(R, "$1"), c, e > i && xb(a.slice(i, e)), f > e && xb(a = a.slice(e)), f > e && rb(a))
  797. }
  798. m.push(c)
  799. }
  800. return tb(m)
  801. }
  802.  
  803. function yb(a, b) {
  804. var c = b.length > 0,
  805. e = a.length > 0,
  806. f = function (f, g, h, i, k) {
  807. var l, m, o, p = 0,
  808. q = "0",
  809. r = f && [],
  810. s = [],
  811. t = j,
  812. u = f || e && d.find.TAG("*", k),
  813. v = w += null == t ? 1 : Math.random() || .1,
  814. x = u.length;
  815. for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
  816. if (e && l) {
  817. m = 0;
  818. while (o = a[m++])
  819. if (o(l, g, h)) {
  820. i.push(l);
  821. break
  822. }
  823. k && (w = v)
  824. }
  825. c && ((l = !o && l) && p--, f && r.push(l))
  826. }
  827. if (p += q, c && q !== p) {
  828. m = 0;
  829. while (o = b[m++]) o(r, s, g, h);
  830. if (f) {
  831. if (p > 0)
  832. while (q--) r[q] || s[q] || (s[q] = F.call(i));
  833. s = vb(s)
  834. }
  835. H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && gb.uniqueSort(i)
  836. }
  837. return k && (w = v, j = t), r
  838. };
  839. return c ? ib(f) : f
  840. }
  841. return h = gb.compile = function (a, b) {
  842. var c, d = [],
  843. e = [],
  844. f = A[a + " "];
  845. if (!f) {
  846. b || (b = g(a)), c = b.length;
  847. while (c--) f = xb(b[c]), f[u] ? d.push(f) : e.push(f);
  848. f = A(a, yb(e, d)), f.selector = a
  849. }
  850. return f
  851. }, i = gb.select = function (a, b, e, f) {
  852. var i, j, k, l, m, n = "function" == typeof a && a,
  853. o = !f && g(a = n.selector || a);
  854. if (e = e || [], 1 === o.length) {
  855. if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
  856. if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b) return e;
  857. n && (b = b.parentNode), a = a.slice(j.shift().value.length)
  858. }
  859. i = X.needsContext.test(a) ? 0 : j.length;
  860. while (i--) {
  861. if (k = j[i], d.relative[l = k.type]) break;
  862. if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && pb(b.parentNode) || b))) {
  863. if (j.splice(i, 1), a = f.length && rb(j), !a) return H.apply(e, f), e;
  864. break
  865. }
  866. }
  867. }
  868. return (n || h(a, o))(f, b, !p, e, ab.test(a) && pb(b.parentNode) || b), e
  869. }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = jb(function (a) {
  870. return 1 & a.compareDocumentPosition(n.createElement("div"))
  871. }), jb(function (a) {
  872. return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
  873. }) || kb("type|href|height|width", function (a, b, c) {
  874. return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
  875. }), c.attributes && jb(function (a) {
  876. return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
  877. }) || kb("value", function (a, b, c) {
  878. return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
  879. }), jb(function (a) {
  880. return null == a.getAttribute("disabled")
  881. }) || kb(K, function (a, b, c) {
  882. var d;
  883. return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
  884. }), gb
  885. }(a);
  886. n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
  887. var u = n.expr.match.needsContext,
  888. v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  889. w = /^.[^:#\[\.,]*$/;
  890.  
  891. function x(a, b, c) {
  892. if (n.isFunction(b)) return n.grep(a, function (a, d) {
  893. return !!b.call(a, d, a) !== c
  894. });
  895. if (b.nodeType) return n.grep(a, function (a) {
  896. return a === b !== c
  897. });
  898. if ("string" == typeof b) {
  899. if (w.test(b)) return n.filter(b, a, c);
  900. b = n.filter(b, a)
  901. }
  902. return n.grep(a, function (a) {
  903. return g.call(b, a) >= 0 !== c
  904. })
  905. }
  906. n.filter = function (a, b, c) {
  907. var d = b[0];
  908. return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function (a) {
  909. return 1 === a.nodeType
  910. }))
  911. }, n.fn.extend({
  912. find: function (a) {
  913. var b, c = this.length,
  914. d = [],
  915. e = this;
  916. if ("string" != typeof a) return this.pushStack(n(a).filter(function () {
  917. for (b = 0; c > b; b++)
  918. if (n.contains(e[b], this)) return !0
  919. }));
  920. for (b = 0; c > b; b++) n.find(a, e[b], d);
  921. return d = this.pushStack(c > 1 ? n.unique(d) : d), d.selector = this.selector ? this.selector + " " + a : a, d
  922. },
  923. filter: function (a) {
  924. return this.pushStack(x(this, a || [], !1))
  925. },
  926. not: function (a) {
  927. return this.pushStack(x(this, a || [], !0))
  928. },
  929. is: function (a) {
  930. return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
  931. }
  932. });
  933. var y, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  934. A = n.fn.init = function (a, b) {
  935. var c, d;
  936. if (!a) return this;
  937. if ("string" == typeof a) {
  938. if (c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
  939. if (c[1]) {
  940. if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)), v.test(c[1]) && n.isPlainObject(b))
  941. for (c in b) n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
  942. return this
  943. }
  944. return d = l.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = l, this.selector = a, this
  945. }
  946. return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
  947. };
  948. A.prototype = n.fn, y = n(l);
  949. var B = /^(?:parents|prev(?:Until|All))/,
  950. C = {
  951. children: !0,
  952. contents: !0,
  953. next: !0,
  954. prev: !0
  955. };
  956. n.extend({
  957. dir: function (a, b, c) {
  958. var d = [],
  959. e = void 0 !== c;
  960. while ((a = a[b]) && 9 !== a.nodeType)
  961. if (1 === a.nodeType) {
  962. if (e && n(a).is(c)) break;
  963. d.push(a)
  964. }
  965. return d
  966. },
  967. sibling: function (a, b) {
  968. for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
  969. return c
  970. }
  971. }), n.fn.extend({
  972. has: function (a) {
  973. var b = n(a, this),
  974. c = b.length;
  975. return this.filter(function () {
  976. for (var a = 0; c > a; a++)
  977. if (n.contains(this, b[a])) return !0
  978. })
  979. },
  980. closest: function (a, b) {
  981. for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)
  982. for (c = this[d]; c && c !== b; c = c.parentNode)
  983. if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
  984. f.push(c);
  985. break
  986. }
  987. return this.pushStack(f.length > 1 ? n.unique(f) : f)
  988. },
  989. index: function (a) {
  990. return a ? "string" == typeof a ? g.call(n(a), this[0]) : g.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
  991. },
  992. add: function (a, b) {
  993. return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
  994. },
  995. addBack: function (a) {
  996. return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
  997. }
  998. });
  999.  
  1000. function D(a, b) {
  1001. while ((a = a[b]) && 1 !== a.nodeType);
  1002. return a
  1003. }
  1004. n.each({
  1005. parent: function (a) {
  1006. var b = a.parentNode;
  1007. return b && 11 !== b.nodeType ? b : null
  1008. },
  1009. parents: function (a) {
  1010. return n.dir(a, "parentNode")
  1011. },
  1012. parentsUntil: function (a, b, c) {
  1013. return n.dir(a, "parentNode", c)
  1014. },
  1015. next: function (a) {
  1016. return D(a, "nextSibling")
  1017. },
  1018. prev: function (a) {
  1019. return D(a, "previousSibling")
  1020. },
  1021. nextAll: function (a) {
  1022. return n.dir(a, "nextSibling")
  1023. },
  1024. prevAll: function (a) {
  1025. return n.dir(a, "previousSibling")
  1026. },
  1027. nextUntil: function (a, b, c) {
  1028. return n.dir(a, "nextSibling", c)
  1029. },
  1030. prevUntil: function (a, b, c) {
  1031. return n.dir(a, "previousSibling", c)
  1032. },
  1033. siblings: function (a) {
  1034. return n.sibling((a.parentNode || {}).firstChild, a)
  1035. },
  1036. children: function (a) {
  1037. return n.sibling(a.firstChild)
  1038. },
  1039. contents: function (a) {
  1040. return a.contentDocument || n.merge([], a.childNodes)
  1041. }
  1042. }, function (a, b) {
  1043. n.fn[a] = function (c, d) {
  1044. var e = n.map(this, b, c);
  1045. return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()), this.pushStack(e)
  1046. }
  1047. });
  1048. var E = /\S+/g,
  1049. F = {};
  1050.  
  1051. function G(a) {
  1052. var b = F[a] = {};
  1053. return n.each(a.match(E) || [], function (a, c) {
  1054. b[c] = !0
  1055. }), b
  1056. }
  1057. n.Callbacks = function (a) {
  1058. a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a);
  1059. var b, c, d, e, f, g, h = [],
  1060. i = !a.once && [],
  1061. j = function (l) {
  1062. for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++)
  1063. if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
  1064. b = !1;
  1065. break
  1066. }
  1067. d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable())
  1068. },
  1069. k = {
  1070. add: function () {
  1071. if (h) {
  1072. var c = h.length;
  1073. ! function g(b) {
  1074. n.each(b, function (b, c) {
  1075. var d = n.type(c);
  1076. "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && g(c)
  1077. })
  1078. }(arguments), d ? f = h.length : b && (e = c, j(b))
  1079. }
  1080. return this
  1081. },
  1082. remove: function () {
  1083. return h && n.each(arguments, function (a, b) {
  1084. var c;
  1085. while ((c = n.inArray(b, h, c)) > -1) h.splice(c, 1), d && (f >= c && f--, g >= c && g--)
  1086. }), this
  1087. },
  1088. has: function (a) {
  1089. return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
  1090. },
  1091. empty: function () {
  1092. return h = [], f = 0, this
  1093. },
  1094. disable: function () {
  1095. return h = i = b = void 0, this
  1096. },
  1097. disabled: function () {
  1098. return !h
  1099. },
  1100. lock: function () {
  1101. return i = void 0, b || k.disable(), this
  1102. },
  1103. locked: function () {
  1104. return !i
  1105. },
  1106. fireWith: function (a, b) {
  1107. return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this
  1108. },
  1109. fire: function () {
  1110. return k.fireWith(this, arguments), this
  1111. },
  1112. fired: function () {
  1113. return !!c
  1114. }
  1115. };
  1116. return k
  1117. }, n.extend({
  1118. Deferred: function (a) {
  1119. var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]],
  1120. c = "pending",
  1121. d = {
  1122. state: function () {
  1123. return c
  1124. },
  1125. always: function () {
  1126. return e.done(arguments).fail(arguments), this
  1127. },
  1128. then: function () {
  1129. var a = arguments;
  1130. return n.Deferred(function (c) {
  1131. n.each(b, function (b, f) {
  1132. var g = n.isFunction(a[b]) && a[b];
  1133. e[f[1]](function () {
  1134. var a = g && g.apply(this, arguments);
  1135. a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
  1136. })
  1137. }), a = null
  1138. }).promise()
  1139. },
  1140. promise: function (a) {
  1141. return null != a ? n.extend(a, d) : d
  1142. }
  1143. },
  1144. e = {};
  1145. return d.pipe = d.then, n.each(b, function (a, f) {
  1146. var g = f[2],
  1147. h = f[3];
  1148. d[f[1]] = g.add, h && g.add(function () {
  1149. c = h
  1150. }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
  1151. return e[f[0] + "With"](this === e ? d : this, arguments), this
  1152. }, e[f[0] + "With"] = g.fireWith
  1153. }), d.promise(e), a && a.call(e, e), e
  1154. },
  1155. when: function (a) {
  1156. var b = 0,
  1157. c = d.call(arguments),
  1158. e = c.length,
  1159. f = 1 !== e || a && n.isFunction(a.promise) ? e : 0,
  1160. g = 1 === f ? a : n.Deferred(),
  1161. h = function (a, b, c) {
  1162. return function (e) {
  1163. b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
  1164. }
  1165. },
  1166. i, j, k;
  1167. if (e > 1)
  1168. for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
  1169. return f || g.resolveWith(k, c), g.promise()
  1170. }
  1171. });
  1172. var H;
  1173. n.fn.ready = function (a) {
  1174. return n.ready.promise().done(a), this
  1175. }, n.extend({
  1176. isReady: !1,
  1177. readyWait: 1,
  1178. holdReady: function (a) {
  1179. a ? n.readyWait++ : n.ready(!0)
  1180. },
  1181. ready: function (a) {
  1182. (a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (H.resolveWith(l, [n]), n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready"))))
  1183. }
  1184. });
  1185.  
  1186. function I() {
  1187. l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready()
  1188. }
  1189. n.ready.promise = function (b) {
  1190. return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))), H.promise(b)
  1191. }, n.ready.promise();
  1192. var J = n.access = function (a, b, c, d, e, f, g) {
  1193. var h = 0,
  1194. i = a.length,
  1195. j = null == c;
  1196. if ("object" === n.type(c)) {
  1197. e = !0;
  1198. for (h in c) n.access(a, b, h, c[h], !0, f, g)
  1199. } else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
  1200. return j.call(n(a), c)
  1201. })), b))
  1202. for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
  1203. return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
  1204. };
  1205. n.acceptData = function (a) {
  1206. return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
  1207. };
  1208.  
  1209. function K() {
  1210. Object.defineProperty(this.cache = {}, 0, {
  1211. get: function () {
  1212. return {}
  1213. }
  1214. }), this.expando = n.expando + K.uid++
  1215. }
  1216. K.uid = 1, K.accepts = n.acceptData, K.prototype = {
  1217. key: function (a) {
  1218. if (!K.accepts(a)) return 0;
  1219. var b = {},
  1220. c = a[this.expando];
  1221. if (!c) {
  1222. c = K.uid++;
  1223. try {
  1224. b[this.expando] = {
  1225. value: c
  1226. }, Object.defineProperties(a, b)
  1227. } catch (d) {
  1228. b[this.expando] = c, n.extend(a, b)
  1229. }
  1230. }
  1231. return this.cache[c] || (this.cache[c] = {}), c
  1232. },
  1233. set: function (a, b, c) {
  1234. var d, e = this.key(a),
  1235. f = this.cache[e];
  1236. if ("string" == typeof b) f[b] = c;
  1237. else if (n.isEmptyObject(f)) n.extend(this.cache[e], b);
  1238. else
  1239. for (d in b) f[d] = b[d];
  1240. return f
  1241. },
  1242. get: function (a, b) {
  1243. var c = this.cache[this.key(a)];
  1244. return void 0 === b ? c : c[b]
  1245. },
  1246. access: function (a, b, c) {
  1247. var d;
  1248. return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b)
  1249. },
  1250. remove: function (a, b) {
  1251. var c, d, e, f = this.key(a),
  1252. g = this.cache[f];
  1253. if (void 0 === b) this.cache[f] = {};
  1254. else {
  1255. n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length;
  1256. while (c--) delete g[d[c]]
  1257. }
  1258. },
  1259. hasData: function (a) {
  1260. return !n.isEmptyObject(this.cache[a[this.expando]] || {})
  1261. },
  1262. discard: function (a) {
  1263. a[this.expando] && delete this.cache[a[this.expando]]
  1264. }
  1265. };
  1266. var L = new K,
  1267. M = new K,
  1268. N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  1269. O = /([A-Z])/g;
  1270.  
  1271. function P(a, b, c) {
  1272. var d;
  1273. if (void 0 === c && 1 === a.nodeType)
  1274. if (d = "data-" + b.replace(O, "-$1").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) {
  1275. try {
  1276. c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
  1277. } catch (e) {}
  1278. M.set(a, b, c)
  1279. } else c = void 0;
  1280. return c
  1281. }
  1282. n.extend({
  1283. hasData: function (a) {
  1284. return M.hasData(a) || L.hasData(a)
  1285. },
  1286. data: function (a, b, c) {
  1287. return M.access(a, b, c)
  1288. },
  1289. removeData: function (a, b) {
  1290. M.remove(a, b)
  1291. },
  1292. _data: function (a, b, c) {
  1293. return L.access(a, b, c)
  1294. },
  1295. _removeData: function (a, b) {
  1296. L.remove(a, b)
  1297. }
  1298. }), n.fn.extend({
  1299. data: function (a, b) {
  1300. var c, d, e, f = this[0],
  1301. g = f && f.attributes;
  1302. if (void 0 === a) {
  1303. if (this.length && (e = M.get(f), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) {
  1304. c = g.length;
  1305. while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d])));
  1306. L.set(f, "hasDataAttrs", !0)
  1307. }
  1308. return e
  1309. }
  1310. return "object" == typeof a ? this.each(function () {
  1311. M.set(this, a)
  1312. }) : J(this, function (b) {
  1313. var c, d = n.camelCase(a);
  1314. if (f && void 0 === b) {
  1315. if (c = M.get(f, a), void 0 !== c) return c;
  1316. if (c = M.get(f, d), void 0 !== c) return c;
  1317. if (c = P(f, d, void 0), void 0 !== c) return c
  1318. } else this.each(function () {
  1319. var c = M.get(this, d);
  1320. M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b)
  1321. })
  1322. }, null, b, arguments.length > 1, null, !0)
  1323. },
  1324. removeData: function (a) {
  1325. return this.each(function () {
  1326. M.remove(this, a)
  1327. })
  1328. }
  1329. }), n.extend({
  1330. queue: function (a, b, c) {
  1331. var d;
  1332. return a ? (b = (b || "fx") + "queue", d = L.get(a, b), c && (!d || n.isArray(c) ? d = L.access(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
  1333. },
  1334. dequeue: function (a, b) {
  1335. b = b || "fx";
  1336. var c = n.queue(a, b),
  1337. d = c.length,
  1338. e = c.shift(),
  1339. f = n._queueHooks(a, b),
  1340. g = function () {
  1341. n.dequeue(a, b)
  1342. };
  1343. "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
  1344. },
  1345. _queueHooks: function (a, b) {
  1346. var c = b + "queueHooks";
  1347. return L.get(a, c) || L.access(a, c, {
  1348. empty: n.Callbacks("once memory").add(function () {
  1349. L.remove(a, [b + "queue", c])
  1350. })
  1351. })
  1352. }
  1353. }), n.fn.extend({
  1354. queue: function (a, b) {
  1355. var c = 2;
  1356. return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () {
  1357. var c = n.queue(this, a, b);
  1358. n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
  1359. })
  1360. },
  1361. dequeue: function (a) {
  1362. return this.each(function () {
  1363. n.dequeue(this, a)
  1364. })
  1365. },
  1366. clearQueue: function (a) {
  1367. return this.queue(a || "fx", [])
  1368. },
  1369. promise: function (a, b) {
  1370. var c, d = 1,
  1371. e = n.Deferred(),
  1372. f = this,
  1373. g = this.length,
  1374. h = function () {
  1375. --d || e.resolveWith(f, [f])
  1376. };
  1377. "string" != typeof a && (b = a, a = void 0), a = a || "fx";
  1378. while (g--) c = L.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
  1379. return h(), e.promise(b)
  1380. }
  1381. });
  1382. var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  1383. R = ["Top", "Right", "Bottom", "Left"],
  1384. S = function (a, b) {
  1385. return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
  1386. },
  1387. T = /^(?:checkbox|radio)$/i;
  1388. ! function () {
  1389. var a = l.createDocumentFragment(),
  1390. b = a.appendChild(l.createElement("div")),
  1391. c = l.createElement("input");
  1392. c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
  1393. }();
  1394. var U = "undefined";
  1395. k.focusinBubbles = "onfocusin" in a;
  1396. var V = /^key/,
  1397. W = /^(?:mouse|pointer|contextmenu)|click/,
  1398. X = /^(?:focusinfocus|focusoutblur)$/,
  1399. Y = /^([^.]*)(?:\.(.+)|)$/;
  1400.  
  1401. function Z() {
  1402. return !0
  1403. }
  1404.  
  1405. function $() {
  1406. return !1
  1407. }
  1408.  
  1409. function _() {
  1410. try {
  1411. return l.activeElement
  1412. } catch (a) {}
  1413. }
  1414. n.event = {
  1415. global: {},
  1416. add: function (a, b, c, d, e) {
  1417. var f, g, h, i, j, k, l, m, o, p, q, r = L.get(a);
  1418. if (r) {
  1419. c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = n.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function (b) {
  1420. return typeof n !== U && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
  1421. }), b = (b || "").match(E) || [""], j = b.length;
  1422. while (j--) h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o && (l = n.event.special[o] || {}, o = (e ? l.delegateType : l.bindType) || o, l = n.event.special[o] || {}, k = n.extend({
  1423. type: o,
  1424. origType: q,
  1425. data: d,
  1426. handler: c,
  1427. guid: c.guid,
  1428. selector: e,
  1429. needsContext: e && n.expr.match.needsContext.test(e),
  1430. namespace: p.join(".")
  1431. }, f), (m = i[o]) || (m = i[o] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g, !1)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), n.event.global[o] = !0)
  1432. }
  1433. },
  1434. remove: function (a, b, c, d, e) {
  1435. var f, g, h, i, j, k, l, m, o, p, q, r = L.hasData(a) && L.get(a);
  1436. if (r && (i = r.events)) {
  1437. b = (b || "").match(E) || [""], j = b.length;
  1438. while (j--)
  1439. if (h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
  1440. l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = i[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length;
  1441. while (f--) k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k));
  1442. g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete i[o])
  1443. } else
  1444. for (o in i) n.event.remove(a, o + b[j], c, d, !0);
  1445. n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events"))
  1446. }
  1447. },
  1448. trigger: function (b, c, d, e) {
  1449. var f, g, h, i, k, m, o, p = [d || l],
  1450. q = j.call(b, "type") ? b.type : b,
  1451. r = j.call(b, "namespace") ? b.namespace.split(".") : [];
  1452. if (g = h = d = d || l, 3 !== d.nodeType && 8 !== d.nodeType && !X.test(q + n.event.triggered) && (q.indexOf(".") >= 0 && (r = q.split("."), q = r.shift(), r.sort()), k = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, e || !o.trigger || o.trigger.apply(d, c) !== !1)) {
  1453. if (!e && !o.noBubble && !n.isWindow(d)) {
  1454. for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode) p.push(g), h = g;
  1455. h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a)
  1456. }
  1457. f = 0;
  1458. while ((g = p[f++]) && !b.isPropagationStopped()) b.type = f > 1 ? i : o.bindType || q, m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle"), m && m.apply(g, c), m = k && g[k], m && m.apply && n.acceptData(g) && (b.result = m.apply(g, c), b.result === !1 && b.preventDefault());
  1459. return b.type = q, e || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !n.acceptData(d) || k && n.isFunction(d[q]) && !n.isWindow(d) && (h = d[k], h && (d[k] = null), n.event.triggered = q, d[q](), n.event.triggered = void 0, h && (d[k] = h)), b.result
  1460. }
  1461. },
  1462. dispatch: function (a) {
  1463. a = n.event.fix(a);
  1464. var b, c, e, f, g, h = [],
  1465. i = d.call(arguments),
  1466. j = (L.get(this, "events") || {})[a.type] || [],
  1467. k = n.event.special[a.type] || {};
  1468. if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
  1469. h = n.event.handlers.call(this, a, j), b = 0;
  1470. while ((f = h[b++]) && !a.isPropagationStopped()) {
  1471. a.currentTarget = f.elem, c = 0;
  1472. while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation()))
  1473. }
  1474. return k.postDispatch && k.postDispatch.call(this, a), a.result
  1475. }
  1476. },
  1477. handlers: function (a, b) {
  1478. var c, d, e, f, g = [],
  1479. h = b.delegateCount,
  1480. i = a.target;
  1481. if (h && i.nodeType && (!a.button || "click" !== a.type))
  1482. for (; i !== this; i = i.parentNode || this)
  1483. if (i.disabled !== !0 || "click" !== a.type) {
  1484. for (d = [], c = 0; h > c; c++) f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) >= 0 : n.find(e, this, null, [i]).length), d[e] && d.push(f);
  1485. d.length && g.push({
  1486. elem: i,
  1487. handlers: d
  1488. })
  1489. }
  1490. return h < b.length && g.push({
  1491. elem: this,
  1492. handlers: b.slice(h)
  1493. }), g
  1494. },
  1495. props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  1496. fixHooks: {},
  1497. keyHooks: {
  1498. props: "char charCode key keyCode".split(" "),
  1499. filter: function (a, b) {
  1500. return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
  1501. }
  1502. },
  1503. mouseHooks: {
  1504. props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
  1505. filter: function (a, b) {
  1506. var c, d, e, f = b.button;
  1507. return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || l, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
  1508. }
  1509. },
  1510. fix: function (a) {
  1511. if (a[n.expando]) return a;
  1512. var b, c, d, e = a.type,
  1513. f = a,
  1514. g = this.fixHooks[e];
  1515. g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
  1516. while (b--) c = d[b], a[c] = f[c];
  1517. return a.target || (a.target = l), 3 === a.target.nodeType && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a
  1518. },
  1519. special: {
  1520. load: {
  1521. noBubble: !0
  1522. },
  1523. focus: {
  1524. trigger: function () {
  1525. return this !== _() && this.focus ? (this.focus(), !1) : void 0
  1526. },
  1527. delegateType: "focusin"
  1528. },
  1529. blur: {
  1530. trigger: function () {
  1531. return this === _() && this.blur ? (this.blur(), !1) : void 0
  1532. },
  1533. delegateType: "focusout"
  1534. },
  1535. click: {
  1536. trigger: function () {
  1537. return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(), !1) : void 0
  1538. },
  1539. _default: function (a) {
  1540. return n.nodeName(a.target, "a")
  1541. }
  1542. },
  1543. beforeunload: {
  1544. postDispatch: function (a) {
  1545. void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
  1546. }
  1547. }
  1548. },
  1549. simulate: function (a, b, c, d) {
  1550. var e = n.extend(new n.Event, c, {
  1551. type: a,
  1552. isSimulated: !0,
  1553. originalEvent: {}
  1554. });
  1555. d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
  1556. }
  1557. }, n.removeEvent = function (a, b, c) {
  1558. a.removeEventListener && a.removeEventListener(b, c, !1)
  1559. }, n.Event = function (a, b) {
  1560. return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? Z : $) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
  1561. }, n.Event.prototype = {
  1562. isDefaultPrevented: $,
  1563. isPropagationStopped: $,
  1564. isImmediatePropagationStopped: $,
  1565. preventDefault: function () {
  1566. var a = this.originalEvent;
  1567. this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault()
  1568. },
  1569. stopPropagation: function () {
  1570. var a = this.originalEvent;
  1571. this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation()
  1572. },
  1573. stopImmediatePropagation: function () {
  1574. var a = this.originalEvent;
  1575. this.isImmediatePropagationStopped = Z, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
  1576. }
  1577. }, n.each({
  1578. mouseenter: "mouseover",
  1579. mouseleave: "mouseout",
  1580. pointerenter: "pointerover",
  1581. pointerleave: "pointerout"
  1582. }, function (a, b) {
  1583. n.event.special[a] = {
  1584. delegateType: b,
  1585. bindType: b,
  1586. handle: function (a) {
  1587. var c, d = this,
  1588. e = a.relatedTarget,
  1589. f = a.handleObj;
  1590. return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
  1591. }
  1592. }
  1593. }), k.focusinBubbles || n.each({
  1594. focus: "focusin",
  1595. blur: "focusout"
  1596. }, function (a, b) {
  1597. var c = function (a) {
  1598. n.event.simulate(b, a.target, n.event.fix(a), !0)
  1599. };
  1600. n.event.special[b] = {
  1601. setup: function () {
  1602. var d = this.ownerDocument || this,
  1603. e = L.access(d, b);
  1604. e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1)
  1605. },
  1606. teardown: function () {
  1607. var d = this.ownerDocument || this,
  1608. e = L.access(d, b) - 1;
  1609. e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b))
  1610. }
  1611. }
  1612. }), n.fn.extend({
  1613. on: function (a, b, c, d, e) {
  1614. var f, g;
  1615. if ("object" == typeof a) {
  1616. "string" != typeof b && (c = c || b, b = void 0);
  1617. for (g in a) this.on(g, b, c, a[g], e);
  1618. return this
  1619. }
  1620. if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1) d = $;
  1621. else if (!d) return this;
  1622. return 1 === e && (f = d, d = function (a) {
  1623. return n().off(a), f.apply(this, arguments)
  1624. }, d.guid = f.guid || (f.guid = n.guid++)), this.each(function () {
  1625. n.event.add(this, a, d, c, b)
  1626. })
  1627. },
  1628. one: function (a, b, c, d) {
  1629. return this.on(a, b, c, d, 1)
  1630. },
  1631. off: function (a, b, c) {
  1632. var d, e;
  1633. if (a && a.preventDefault && a.handleObj) return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
  1634. if ("object" == typeof a) {
  1635. for (e in a) this.off(e, b, a[e]);
  1636. return this
  1637. }
  1638. return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = $), this.each(function () {
  1639. n.event.remove(this, a, c, b)
  1640. })
  1641. },
  1642. trigger: function (a, b) {
  1643. return this.each(function () {
  1644. n.event.trigger(a, b, this)
  1645. })
  1646. },
  1647. triggerHandler: function (a, b) {
  1648. var c = this[0];
  1649. return c ? n.event.trigger(a, b, c, !0) : void 0
  1650. }
  1651. });
  1652. var ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  1653. bb = /<([\w:]+)/,
  1654. cb = /<|&#?\w+;/,
  1655. db = /<(?:script|style|link)/i,
  1656. eb = /checked\s*(?:[^=]|=\s*.checked.)/i,
  1657. fb = /^$|\/(?:java|ecma)script/i,
  1658. gb = /^true\/(.*)/,
  1659. hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  1660. ib = {
  1661. option: [1, "<select multiple='multiple'>", "</select>"],
  1662. thead: [1, "<table>", "</table>"],
  1663. col: [2, "<table><colgroup>", "</colgroup></table>"],
  1664. tr: [2, "<table><tbody>", "</tbody></table>"],
  1665. td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  1666. _default: [0, "", ""]
  1667. };
  1668. ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td;
  1669.  
  1670. function jb(a, b) {
  1671. return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
  1672. }
  1673.  
  1674. function kb(a) {
  1675. return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a
  1676. }
  1677.  
  1678. function lb(a) {
  1679. var b = gb.exec(a.type);
  1680. return b ? a.type = b[1] : a.removeAttribute("type"), a
  1681. }
  1682.  
  1683. function mb(a, b) {
  1684. for (var c = 0, d = a.length; d > c; c++) L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval"))
  1685. }
  1686.  
  1687. function nb(a, b) {
  1688. var c, d, e, f, g, h, i, j;
  1689. if (1 === b.nodeType) {
  1690. if (L.hasData(a) && (f = L.access(a), g = L.set(b, f), j = f.events)) {
  1691. delete g.handle, g.events = {};
  1692. for (e in j)
  1693. for (c = 0, d = j[e].length; d > c; c++) n.event.add(b, e, j[e][c])
  1694. }
  1695. M.hasData(a) && (h = M.access(a), i = n.extend({}, h), M.set(b, i))
  1696. }
  1697. }
  1698.  
  1699. function ob(a, b) {
  1700. var c = a.getElementsByTagName ? a.getElementsByTagName(b || "*") : a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
  1701. return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
  1702. }
  1703.  
  1704. function pb(a, b) {
  1705. var c = b.nodeName.toLowerCase();
  1706. "input" === c && T.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
  1707. }
  1708. n.extend({
  1709. clone: function (a, b, c) {
  1710. var d, e, f, g, h = a.cloneNode(!0),
  1711. i = n.contains(a.ownerDocument, a);
  1712. if (!(k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))
  1713. for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++) pb(f[d], g[d]);
  1714. if (b)
  1715. if (c)
  1716. for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++) nb(f[d], g[d]);
  1717. else nb(a, h);
  1718. return g = ob(h, "script"), g.length > 0 && mb(g, !i && ob(a, "script")), h
  1719. },
  1720. buildFragment: function (a, b, c, d) {
  1721. for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++)
  1722. if (e = a[m], e || 0 === e)
  1723. if ("object" === n.type(e)) n.merge(l, e.nodeType ? [e] : e);
  1724. else if (cb.test(e)) {
  1725. f = f || k.appendChild(b.createElement("div")), g = (bb.exec(e) || ["", ""])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, "<$1></$2>") + h[2], j = h[0];
  1726. while (j--) f = f.lastChild;
  1727. n.merge(l, f.childNodes), f = k.firstChild, f.textContent = ""
  1728. } else l.push(b.createTextNode(e));
  1729. k.textContent = "", m = 0;
  1730. while (e = l[m++])
  1731. if ((!d || -1 === n.inArray(e, d)) && (i = n.contains(e.ownerDocument, e), f = ob(k.appendChild(e), "script"), i && mb(f), c)) {
  1732. j = 0;
  1733. while (e = f[j++]) fb.test(e.type || "") && c.push(e)
  1734. }
  1735. return k
  1736. },
  1737. cleanData: function (a) {
  1738. for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) {
  1739. if (n.acceptData(c) && (e = c[L.expando], e && (b = L.cache[e]))) {
  1740. if (b.events)
  1741. for (d in b.events) f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
  1742. L.cache[e] && delete L.cache[e]
  1743. }
  1744. delete M.cache[c[M.expando]]
  1745. }
  1746. }
  1747. }), n.fn.extend({
  1748. text: function (a) {
  1749. return J(this, function (a) {
  1750. return void 0 === a ? n.text(this) : this.empty().each(function () {
  1751. (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && (this.textContent = a)
  1752. })
  1753. }, null, a, arguments.length)
  1754. },
  1755. append: function () {
  1756. return this.domManip(arguments, function (a) {
  1757. if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  1758. var b = jb(this, a);
  1759. b.appendChild(a)
  1760. }
  1761. })
  1762. },
  1763. prepend: function () {
  1764. return this.domManip(arguments, function (a) {
  1765. if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  1766. var b = jb(this, a);
  1767. b.insertBefore(a, b.firstChild)
  1768. }
  1769. })
  1770. },
  1771. before: function () {
  1772. return this.domManip(arguments, function (a) {
  1773. this.parentNode && this.parentNode.insertBefore(a, this)
  1774. })
  1775. },
  1776. after: function () {
  1777. return this.domManip(arguments, function (a) {
  1778. this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
  1779. })
  1780. },
  1781. remove: function (a, b) {
  1782. for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++) b || 1 !== c.nodeType || n.cleanData(ob(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && mb(ob(c, "script")), c.parentNode.removeChild(c));
  1783. return this
  1784. },
  1785. empty: function () {
  1786. for (var a, b = 0; null != (a = this[b]); b++) 1 === a.nodeType && (n.cleanData(ob(a, !1)), a.textContent = "");
  1787. return this
  1788. },
  1789. clone: function (a, b) {
  1790. return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
  1791. return n.clone(this, a, b)
  1792. })
  1793. },
  1794. html: function (a) {
  1795. return J(this, function (a) {
  1796. var b = this[0] || {},
  1797. c = 0,
  1798. d = this.length;
  1799. if (void 0 === a && 1 === b.nodeType) return b.innerHTML;
  1800. if ("string" == typeof a && !db.test(a) && !ib[(bb.exec(a) || ["", ""])[1].toLowerCase()]) {
  1801. a = a.replace(ab, "<$1></$2>");
  1802. try {
  1803. for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ob(b, !1)), b.innerHTML = a);
  1804. b = 0
  1805. } catch (e) {}
  1806. }
  1807. b && this.empty().append(a)
  1808. }, null, a, arguments.length)
  1809. },
  1810. replaceWith: function () {
  1811. var a = arguments[0];
  1812. return this.domManip(arguments, function (b) {
  1813. a = this.parentNode, n.cleanData(ob(this)), a && a.replaceChild(b, this)
  1814. }), a && (a.length || a.nodeType) ? this : this.remove()
  1815. },
  1816. detach: function (a) {
  1817. return this.remove(a, !0)
  1818. },
  1819. domManip: function (a, b) {
  1820. a = e.apply([], a);
  1821. var c, d, f, g, h, i, j = 0,
  1822. l = this.length,
  1823. m = this,
  1824. o = l - 1,
  1825. p = a[0],
  1826. q = n.isFunction(p);
  1827. if (q || l > 1 && "string" == typeof p && !k.checkClone && eb.test(p)) return this.each(function (c) {
  1828. var d = m.eq(c);
  1829. q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
  1830. });
  1831. if (l && (c = n.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, 1 === c.childNodes.length && (c = d), d)) {
  1832. for (f = n.map(ob(c, "script"), kb), g = f.length; l > j; j++) h = c, j !== o && (h = n.clone(h, !0, !0), g && n.merge(f, ob(h, "script"))), b.call(this[j], h, j);
  1833. if (g)
  1834. for (i = f[f.length - 1].ownerDocument, n.map(f, lb), j = 0; g > j; j++) h = f[j], fb.test(h.type || "") && !L.access(h, "globalEval") && n.contains(i, h) && (h.src ? n._evalUrl && n._evalUrl(h.src) : n.globalEval(h.textContent.replace(hb, "")))
  1835. }
  1836. return this
  1837. }
  1838. }), n.each({
  1839. appendTo: "append",
  1840. prependTo: "prepend",
  1841. insertBefore: "before",
  1842. insertAfter: "after",
  1843. replaceAll: "replaceWith"
  1844. }, function (a, b) {
  1845. n.fn[a] = function (a) {
  1846. for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++) c = h === g ? this : this.clone(!0), n(e[h])[b](c), f.apply(d, c.get());
  1847. return this.pushStack(d)
  1848. }
  1849. });
  1850. var qb, rb = {};
  1851.  
  1852. function sb(b, c) {
  1853. var d, e = n(c.createElement(b)).appendTo(c.body),
  1854. f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display");
  1855. return e.detach(), f
  1856. }
  1857.  
  1858. function tb(a) {
  1859. var b = l,
  1860. c = rb[a];
  1861. return c || (c = sb(a, b), "none" !== c && c || (qb = (qb || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c
  1862. }
  1863. var ub = /^margin/,
  1864. vb = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"),
  1865. wb = function (b) {
  1866. return b.ownerDocument.defaultView.opener ? b.ownerDocument.defaultView.getComputedStyle(b, null) : a.getComputedStyle(b, null)
  1867. };
  1868.  
  1869. function xb(a, b, c) {
  1870. var d, e, f, g, h = a.style;
  1871. return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), vb.test(g) && ub.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? g + "" : g
  1872. }
  1873.  
  1874. function yb(a, b) {
  1875. return {
  1876. get: function () {
  1877. return a() ? void delete this.get : (this.get = b).apply(this, arguments)
  1878. }
  1879. }
  1880. }! function () {
  1881. var b, c, d = l.documentElement,
  1882. e = l.createElement("div"),
  1883. f = l.createElement("div");
  1884. if (f.style) {
  1885. f.style.backgroundClip = "content-box", f.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === f.style.backgroundClip, e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", e.appendChild(f);
  1886.  
  1887. function g() {
  1888. f.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", f.innerHTML = "", d.appendChild(e);
  1889. var g = a.getComputedStyle(f, null);
  1890. b = "1%" !== g.top, c = "4px" === g.width, d.removeChild(e)
  1891. }
  1892. a.getComputedStyle && n.extend(k, {
  1893. pixelPosition: function () {
  1894. return g(), b
  1895. },
  1896. boxSizingReliable: function () {
  1897. return null == c && g(), c
  1898. },
  1899. reliableMarginRight: function () {
  1900. var b, c = f.appendChild(l.createElement("div"));
  1901. return c.style.cssText = f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", f.style.width = "1px", d.appendChild(e), b = !parseFloat(a.getComputedStyle(c, null).marginRight), d.removeChild(e), f.removeChild(c), b
  1902. }
  1903. })
  1904. }
  1905. }(), n.swap = function (a, b, c, d) {
  1906. var e, f, g = {};
  1907. for (f in b) g[f] = a.style[f], a.style[f] = b[f];
  1908. e = c.apply(a, d || []);
  1909. for (f in b) a.style[f] = g[f];
  1910. return e
  1911. };
  1912. var zb = /^(none|table(?!-c[ea]).+)/,
  1913. Ab = new RegExp("^(" + Q + ")(.*)$", "i"),
  1914. Bb = new RegExp("^([+-])=(" + Q + ")", "i"),
  1915. Cb = {
  1916. position: "absolute",
  1917. visibility: "hidden",
  1918. display: "block"
  1919. },
  1920. Db = {
  1921. letterSpacing: "0",
  1922. fontWeight: "400"
  1923. },
  1924. Eb = ["Webkit", "O", "Moz", "ms"];
  1925.  
  1926. function Fb(a, b) {
  1927. if (b in a) return b;
  1928. var c = b[0].toUpperCase() + b.slice(1),
  1929. d = b,
  1930. e = Eb.length;
  1931. while (e--)
  1932. if (b = Eb[e] + c, b in a) return b;
  1933. return d
  1934. }
  1935.  
  1936. function Gb(a, b, c) {
  1937. var d = Ab.exec(b);
  1938. return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
  1939. }
  1940.  
  1941. function Hb(a, b, c, d, e) {
  1942. for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) "margin" === c && (g += n.css(a, c + R[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e))) : (g += n.css(a, "padding" + R[f], !0, e), "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e)));
  1943. return g
  1944. }
  1945.  
  1946. function Ib(a, b, c) {
  1947. var d = !0,
  1948. e = "width" === b ? a.offsetWidth : a.offsetHeight,
  1949. f = wb(a),
  1950. g = "border-box" === n.css(a, "boxSizing", !1, f);
  1951. if (0 >= e || null == e) {
  1952. if (e = xb(a, b, f), (0 > e || null == e) && (e = a.style[b]), vb.test(e)) return e;
  1953. d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
  1954. }
  1955. return e + Hb(a, b, c || (g ? "border" : "content"), d, f) + "px"
  1956. }
  1957.  
  1958. function Jb(a, b) {
  1959. for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = L.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", tb(d.nodeName)))) : (e = S(d), "none" === c && e || L.set(d, "olddisplay", e ? c : n.css(d, "display"))));
  1960. for (g = 0; h > g; g++) d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
  1961. return a
  1962. }
  1963. n.extend({
  1964. cssHooks: {
  1965. opacity: {
  1966. get: function (a, b) {
  1967. if (b) {
  1968. var c = xb(a, "opacity");
  1969. return "" === c ? "1" : c
  1970. }
  1971. }
  1972. }
  1973. },
  1974. cssNumber: {
  1975. columnCount: !0,
  1976. fillOpacity: !0,
  1977. flexGrow: !0,
  1978. flexShrink: !0,
  1979. fontWeight: !0,
  1980. lineHeight: !0,
  1981. opacity: !0,
  1982. order: !0,
  1983. orphans: !0,
  1984. widows: !0,
  1985. zIndex: !0,
  1986. zoom: !0
  1987. },
  1988. cssProps: {
  1989. "float": "cssFloat"
  1990. },
  1991. style: function (a, b, c, d) {
  1992. if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  1993. var e, f, g, h = n.camelCase(b),
  1994. i = a.style;
  1995. return b = n.cssProps[h] || (n.cssProps[h] = Fb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c ? g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, "string" === f && (e = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), g && "set" in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)), void 0)
  1996. }
  1997. },
  1998. css: function (a, b, c, d) {
  1999. var e, f, g, h = n.camelCase(b);
  2000. return b = n.cssProps[h] || (n.cssProps[h] = Fb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), "normal" === e && b in Db && (e = Db[b]), "" === c || c ? (f = parseFloat(e), c === !0 || n.isNumeric(f) ? f || 0 : e) : e
  2001. }
  2002. }), n.each(["height", "width"], function (a, b) {
  2003. n.cssHooks[b] = {
  2004. get: function (a, c, d) {
  2005. return c ? zb.test(n.css(a, "display")) && 0 === a.offsetWidth ? n.swap(a, Cb, function () {
  2006. return Ib(a, b, d)
  2007. }) : Ib(a, b, d) : void 0
  2008. },
  2009. set: function (a, c, d) {
  2010. var e = d && wb(a);
  2011. return Gb(a, c, d ? Hb(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
  2012. }
  2013. }
  2014. }), n.cssHooks.marginRight = yb(k.reliableMarginRight, function (a, b) {
  2015. return b ? n.swap(a, {
  2016. display: "inline-block"
  2017. }, xb, [a, "marginRight"]) : void 0
  2018. }), n.each({
  2019. margin: "",
  2020. padding: "",
  2021. border: "Width"
  2022. }, function (a, b) {
  2023. n.cssHooks[a + b] = {
  2024. expand: function (c) {
  2025. for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) e[a + R[d] + b] = f[d] || f[d - 2] || f[0];
  2026. return e
  2027. }
  2028. }, ub.test(a) || (n.cssHooks[a + b].set = Gb)
  2029. }), n.fn.extend({
  2030. css: function (a, b) {
  2031. return J(this, function (a, b, c) {
  2032. var d, e, f = {},
  2033. g = 0;
  2034. if (n.isArray(b)) {
  2035. for (d = wb(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d);
  2036. return f
  2037. }
  2038. return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
  2039. }, a, b, arguments.length > 1)
  2040. },
  2041. show: function () {
  2042. return Jb(this, !0)
  2043. },
  2044. hide: function () {
  2045. return Jb(this)
  2046. },
  2047. toggle: function (a) {
  2048. return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
  2049. S(this) ? n(this).show() : n(this).hide()
  2050. })
  2051. }
  2052. });
  2053.  
  2054. function Kb(a, b, c, d, e) {
  2055. return new Kb.prototype.init(a, b, c, d, e)
  2056. }
  2057. n.Tween = Kb, Kb.prototype = {
  2058. constructor: Kb,
  2059. init: function (a, b, c, d, e, f) {
  2060. this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
  2061. },
  2062. cur: function () {
  2063. var a = Kb.propHooks[this.prop];
  2064. return a && a.get ? a.get(this) : Kb.propHooks._default.get(this)
  2065. },
  2066. run: function (a) {
  2067. var b, c = Kb.propHooks[this.prop];
  2068. return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Kb.propHooks._default.set(this), this
  2069. }
  2070. }, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = {
  2071. _default: {
  2072. get: function (a) {
  2073. var b;
  2074. return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
  2075. },
  2076. set: function (a) {
  2077. n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
  2078. }
  2079. }
  2080. }, Kb.propHooks.scrollTop = Kb.propHooks.scrollLeft = {
  2081. set: function (a) {
  2082. a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
  2083. }
  2084. }, n.easing = {
  2085. linear: function (a) {
  2086. return a
  2087. },
  2088. swing: function (a) {
  2089. return .5 - Math.cos(a * Math.PI) / 2
  2090. }
  2091. }, n.fx = Kb.prototype.init, n.fx.step = {};
  2092. var Lb, Mb, Nb = /^(?:toggle|show|hide)$/,
  2093. Ob = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"),
  2094. Pb = /queueHooks$/,
  2095. Qb = [Vb],
  2096. Rb = {
  2097. "*": [function (a, b) {
  2098. var c = this.createTween(a, b),
  2099. d = c.cur(),
  2100. e = Ob.exec(b),
  2101. f = e && e[3] || (n.cssNumber[a] ? "" : "px"),
  2102. g = (n.cssNumber[a] || "px" !== f && +d) && Ob.exec(n.css(c.elem, a)),
  2103. h = 1,
  2104. i = 20;
  2105. if (g && g[3] !== f) {
  2106. f = f || g[3], e = e || [], g = +d || 1;
  2107. do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
  2108. }
  2109. return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
  2110. }]
  2111. };
  2112.  
  2113. function Sb() {
  2114. return setTimeout(function () {
  2115. Lb = void 0
  2116. }), Lb = n.now()
  2117. }
  2118.  
  2119. function Tb(a, b) {
  2120. var c, d = 0,
  2121. e = {
  2122. height: a
  2123. };
  2124. for (b = b ? 1 : 0; 4 > d; d += 2 - b) c = R[d], e["margin" + c] = e["padding" + c] = a;
  2125. return b && (e.opacity = e.width = a), e
  2126. }
  2127.  
  2128. function Ub(a, b, c) {
  2129. for (var d, e = (Rb[b] || []).concat(Rb["*"]), f = 0, g = e.length; g > f; f++)
  2130. if (d = e[f].call(c, b, a)) return d
  2131. }
  2132.  
  2133. function Vb(a, b, c) {
  2134. var d, e, f, g, h, i, j, k, l = this,
  2135. m = {},
  2136. o = a.style,
  2137. p = a.nodeType && S(a),
  2138. q = L.get(a, "fxshow");
  2139. c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
  2140. h.unqueued || i()
  2141. }), h.unqueued++, l.always(function () {
  2142. l.always(function () {
  2143. h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
  2144. })
  2145. })), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = n.css(a, "display"), k = "none" === j ? L.get(a, "olddisplay") || tb(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")), c.overflow && (o.overflow = "hidden", l.always(function () {
  2146. o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2]
  2147. }));
  2148. for (d in b)
  2149. if (e = b[d], Nb.exec(e)) {
  2150. if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) {
  2151. if ("show" !== e || !q || void 0 === q[d]) continue;
  2152. p = !0
  2153. }
  2154. m[d] = q && q[d] || n.style(a, d)
  2155. } else j = void 0;
  2156. if (n.isEmptyObject(m)) "inline" === ("none" === j ? tb(a.nodeName) : j) && (o.display = j);
  2157. else {
  2158. q ? "hidden" in q && (p = q.hidden) : q = L.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function () {
  2159. n(a).hide()
  2160. }), l.done(function () {
  2161. var b;
  2162. L.remove(a, "fxshow");
  2163. for (b in m) n.style(a, b, m[b])
  2164. });
  2165. for (d in m) g = Ub(p ? q[d] : 0, d, l), d in q || (q[d] = g.start, p && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
  2166. }
  2167. }
  2168.  
  2169. function Wb(a, b) {
  2170. var c, d, e, f, g;
  2171. for (c in a)
  2172. if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand" in g) {
  2173. f = g.expand(f), delete a[d];
  2174. for (c in f) c in a || (a[c] = f[c], b[c] = e)
  2175. } else b[d] = e
  2176. }
  2177.  
  2178. function Xb(a, b, c) {
  2179. var d, e, f = 0,
  2180. g = Qb.length,
  2181. h = n.Deferred().always(function () {
  2182. delete i.elem
  2183. }),
  2184. i = function () {
  2185. if (e) return !1;
  2186. for (var b = Lb || Sb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++) j.tweens[g].run(f);
  2187. return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
  2188. },
  2189. j = h.promise({
  2190. elem: a,
  2191. props: n.extend({}, b),
  2192. opts: n.extend(!0, {
  2193. specialEasing: {}
  2194. }, c),
  2195. originalProperties: b,
  2196. originalOptions: c,
  2197. startTime: Lb || Sb(),
  2198. duration: c.duration,
  2199. tweens: [],
  2200. createTween: function (b, c) {
  2201. var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
  2202. return j.tweens.push(d), d
  2203. },
  2204. stop: function (b) {
  2205. var c = 0,
  2206. d = b ? j.tweens.length : 0;
  2207. if (e) return this;
  2208. for (e = !0; d > c; c++) j.tweens[c].run(1);
  2209. return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
  2210. }
  2211. }),
  2212. k = j.props;
  2213. for (Wb(k, j.opts.specialEasing); g > f; f++)
  2214. if (d = Qb[f].call(j, a, k, j.opts)) return d;
  2215. return n.map(k, Ub, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
  2216. elem: a,
  2217. anim: j,
  2218. queue: j.opts.queue
  2219. })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
  2220. }
  2221. n.Animation = n.extend(Xb, {
  2222. tweener: function (a, b) {
  2223. n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
  2224. for (var c, d = 0, e = a.length; e > d; d++) c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b)
  2225. },
  2226. prefilter: function (a, b) {
  2227. b ? Qb.unshift(a) : Qb.push(a)
  2228. }
  2229. }), n.speed = function (a, b, c) {
  2230. var d = a && "object" == typeof a ? n.extend({}, a) : {
  2231. complete: c || !c && b || n.isFunction(a) && a,
  2232. duration: a,
  2233. easing: c && b || b && !n.isFunction(b) && b
  2234. };
  2235. return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function () {
  2236. n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
  2237. }, d
  2238. }, n.fn.extend({
  2239. fadeTo: function (a, b, c, d) {
  2240. return this.filter(S).css("opacity", 0).show().end().animate({
  2241. opacity: b
  2242. }, a, c, d)
  2243. },
  2244. animate: function (a, b, c, d) {
  2245. var e = n.isEmptyObject(a),
  2246. f = n.speed(b, c, d),
  2247. g = function () {
  2248. var b = Xb(this, n.extend({}, a), f);
  2249. (e || L.get(this, "finish")) && b.stop(!0)
  2250. };
  2251. return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
  2252. },
  2253. stop: function (a, b, c) {
  2254. var d = function (a) {
  2255. var b = a.stop;
  2256. delete a.stop, b(c)
  2257. };
  2258. return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
  2259. var b = !0,
  2260. e = null != a && a + "queueHooks",
  2261. f = n.timers,
  2262. g = L.get(this);
  2263. if (e) g[e] && g[e].stop && d(g[e]);
  2264. else
  2265. for (e in g) g[e] && g[e].stop && Pb.test(e) && d(g[e]);
  2266. for (e = f.length; e--;) f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
  2267. (b || !c) && n.dequeue(this, a)
  2268. })
  2269. },
  2270. finish: function (a) {
  2271. return a !== !1 && (a = a || "fx"), this.each(function () {
  2272. var b, c = L.get(this),
  2273. d = c[a + "queue"],
  2274. e = c[a + "queueHooks"],
  2275. f = n.timers,
  2276. g = d ? d.length : 0;
  2277. for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
  2278. for (b = 0; g > b; b++) d[b] && d[b].finish && d[b].finish.call(this);
  2279. delete c.finish
  2280. })
  2281. }
  2282. }), n.each(["toggle", "show", "hide"], function (a, b) {
  2283. var c = n.fn[b];
  2284. n.fn[b] = function (a, d, e) {
  2285. return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Tb(b, !0), a, d, e)
  2286. }
  2287. }), n.each({
  2288. slideDown: Tb("show"),
  2289. slideUp: Tb("hide"),
  2290. slideToggle: Tb("toggle"),
  2291. fadeIn: {
  2292. opacity: "show"
  2293. },
  2294. fadeOut: {
  2295. opacity: "hide"
  2296. },
  2297. fadeToggle: {
  2298. opacity: "toggle"
  2299. }
  2300. }, function (a, b) {
  2301. n.fn[a] = function (a, c, d) {
  2302. return this.animate(b, a, c, d)
  2303. }
  2304. }), n.timers = [], n.fx.tick = function () {
  2305. var a, b = 0,
  2306. c = n.timers;
  2307. for (Lb = n.now(); b < c.length; b++) a = c[b], a() || c[b] !== a || c.splice(b--, 1);
  2308. c.length || n.fx.stop(), Lb = void 0
  2309. }, n.fx.timer = function (a) {
  2310. n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
  2311. }, n.fx.interval = 13, n.fx.start = function () {
  2312. Mb || (Mb = setInterval(n.fx.tick, n.fx.interval))
  2313. }, n.fx.stop = function () {
  2314. clearInterval(Mb), Mb = null
  2315. }, n.fx.speeds = {
  2316. slow: 600,
  2317. fast: 200,
  2318. _default: 400
  2319. }, n.fn.delay = function (a, b) {
  2320. return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) {
  2321. var d = setTimeout(b, a);
  2322. c.stop = function () {
  2323. clearTimeout(d)
  2324. }
  2325. })
  2326. },
  2327. function () {
  2328. var a = l.createElement("input"),
  2329. b = l.createElement("select"),
  2330. c = b.appendChild(l.createElement("option"));
  2331. a.type = "checkbox", k.checkOn = "" !== a.value, k.optSelected = c.selected, b.disabled = !0, k.optDisabled = !c.disabled, a = l.createElement("input"), a.value = "t", a.type = "radio", k.radioValue = "t" === a.value
  2332. }();
  2333. var Yb, Zb, $b = n.expr.attrHandle;
  2334. n.fn.extend({
  2335. attr: function (a, b) {
  2336. return J(this, n.attr, a, b, arguments.length > 1)
  2337. },
  2338. removeAttr: function (a) {
  2339. return this.each(function () {
  2340. n.removeAttr(this, a)
  2341. })
  2342. }
  2343. }), n.extend({
  2344. attr: function (a, b, c) {
  2345. var d, e, f = a.nodeType;
  2346. if (a && 3 !== f && 8 !== f && 2 !== f) return typeof a.getAttribute === U ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && "get" in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set" in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
  2347. },
  2348. removeAttr: function (a, b) {
  2349. var c, d, e = 0,
  2350. f = b && b.match(E);
  2351. if (f && 1 === a.nodeType)
  2352. while (c = f[e++]) d = n.propFix[c] || c, n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c)
  2353. },
  2354. attrHooks: {
  2355. type: {
  2356. set: function (a, b) {
  2357. if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) {
  2358. var c = a.value;
  2359. return a.setAttribute("type", b), c && (a.value = c), b
  2360. }
  2361. }
  2362. }
  2363. }
  2364. }), Zb = {
  2365. set: function (a, b, c) {
  2366. return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c
  2367. }
  2368. }, n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
  2369. var c = $b[b] || n.find.attr;
  2370. $b[b] = function (a, b, d) {
  2371. var e, f;
  2372. return d || (f = $b[b], $b[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, $b[b] = f), e
  2373. }
  2374. });
  2375. var _b = /^(?:input|select|textarea|button)$/i;
  2376. n.fn.extend({
  2377. prop: function (a, b) {
  2378. return J(this, n.prop, a, b, arguments.length > 1)
  2379. },
  2380. removeProp: function (a) {
  2381. return this.each(function () {
  2382. delete this[n.propFix[a] || a]
  2383. })
  2384. }
  2385. }), n.extend({
  2386. propFix: {
  2387. "for": "htmlFor",
  2388. "class": "className"
  2389. },
  2390. prop: function (a, b, c) {
  2391. var d, e, f, g = a.nodeType;
  2392. if (a && 3 !== g && 8 !== g && 2 !== g) return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b]
  2393. },
  2394. propHooks: {
  2395. tabIndex: {
  2396. get: function (a) {
  2397. return a.hasAttribute("tabindex") || _b.test(a.nodeName) || a.href ? a.tabIndex : -1
  2398. }
  2399. }
  2400. }
  2401. }), k.optSelected || (n.propHooks.selected = {
  2402. get: function (a) {
  2403. var b = a.parentNode;
  2404. return b && b.parentNode && b.parentNode.selectedIndex, null
  2405. }
  2406. }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
  2407. n.propFix[this.toLowerCase()] = this
  2408. });
  2409. var ac = /[\t\r\n\f]/g;
  2410. n.fn.extend({
  2411. addClass: function (a) {
  2412. var b, c, d, e, f, g, h = "string" == typeof a && a,
  2413. i = 0,
  2414. j = this.length;
  2415. if (n.isFunction(a)) return this.each(function (b) {
  2416. n(this).addClass(a.call(this, b, this.className))
  2417. });
  2418. if (h)
  2419. for (b = (a || "").match(E) || []; j > i; i++)
  2420. if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : " ")) {
  2421. f = 0;
  2422. while (e = b[f++]) d.indexOf(" " + e + " ") < 0 && (d += e + " ");
  2423. g = n.trim(d), c.className !== g && (c.className = g)
  2424. }
  2425. return this
  2426. },
  2427. removeClass: function (a) {
  2428. var b, c, d, e, f, g, h = 0 === arguments.length || "string" == typeof a && a,
  2429. i = 0,
  2430. j = this.length;
  2431. if (n.isFunction(a)) return this.each(function (b) {
  2432. n(this).removeClass(a.call(this, b, this.className))
  2433. });
  2434. if (h)
  2435. for (b = (a || "").match(E) || []; j > i; i++)
  2436. if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : "")) {
  2437. f = 0;
  2438. while (e = b[f++])
  2439. while (d.indexOf(" " + e + " ") >= 0) d = d.replace(" " + e + " ", " ");
  2440. g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
  2441. }
  2442. return this
  2443. },
  2444. toggleClass: function (a, b) {
  2445. var c = typeof a;
  2446. return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function (c) {
  2447. n(this).toggleClass(a.call(this, c, this.className, b), b)
  2448. } : function () {
  2449. if ("string" === c) {
  2450. var b, d = 0,
  2451. e = n(this),
  2452. f = a.match(E) || [];
  2453. while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
  2454. } else(c === U || "boolean" === c) && (this.className && L.set(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : L.get(this, "__className__") || "")
  2455. })
  2456. },
  2457. hasClass: function (a) {
  2458. for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)
  2459. if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ac, " ").indexOf(b) >= 0) return !0;
  2460. return !1
  2461. }
  2462. });
  2463. var bc = /\r/g;
  2464. n.fn.extend({
  2465. val: function (a) {
  2466. var b, c, d, e = this[0]; {
  2467. if (arguments.length) return d = n.isFunction(a), this.each(function (c) {
  2468. var e;
  2469. 1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function (a) {
  2470. return null == a ? "" : a + ""
  2471. })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e))
  2472. });
  2473. if (e) return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(bc, "") : null == c ? "" : c)
  2474. }
  2475. }
  2476. }), n.extend({
  2477. valHooks: {
  2478. option: {
  2479. get: function (a) {
  2480. var b = n.find.attr(a, "value");
  2481. return null != b ? b : n.trim(n.text(a))
  2482. }
  2483. },
  2484. select: {
  2485. get: function (a) {
  2486. for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)
  2487. if (c = d[i], !(!c.selected && i !== e || (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
  2488. if (b = n(c).val(), f) return b;
  2489. g.push(b)
  2490. }
  2491. return g
  2492. },
  2493. set: function (a, b) {
  2494. var c, d, e = a.options,
  2495. f = n.makeArray(b),
  2496. g = e.length;
  2497. while (g--) d = e[g], (d.selected = n.inArray(d.value, f) >= 0) && (c = !0);
  2498. return c || (a.selectedIndex = -1), f
  2499. }
  2500. }
  2501. }
  2502. }), n.each(["radio", "checkbox"], function () {
  2503. n.valHooks[this] = {
  2504. set: function (a, b) {
  2505. return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
  2506. }
  2507. }, k.checkOn || (n.valHooks[this].get = function (a) {
  2508. return null === a.getAttribute("value") ? "on" : a.value
  2509. })
  2510. }), n.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 (a, b) {
  2511. n.fn[b] = function (a, c) {
  2512. return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
  2513. }
  2514. }), n.fn.extend({
  2515. hover: function (a, b) {
  2516. return this.mouseenter(a).mouseleave(b || a)
  2517. },
  2518. bind: function (a, b, c) {
  2519. return this.on(a, null, b, c)
  2520. },
  2521. unbind: function (a, b) {
  2522. return this.off(a, null, b)
  2523. },
  2524. delegate: function (a, b, c, d) {
  2525. return this.on(b, a, c, d)
  2526. },
  2527. undelegate: function (a, b, c) {
  2528. return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
  2529. }
  2530. });
  2531. var cc = n.now(),
  2532. dc = /\?/;
  2533. n.parseJSON = function (a) {
  2534. return JSON.parse(a + "")
  2535. }, n.parseXML = function (a) {
  2536. var b, c;
  2537. if (!a || "string" != typeof a) return null;
  2538. try {
  2539. c = new DOMParser, b = c.parseFromString(a, "text/xml")
  2540. } catch (d) {
  2541. b = void 0
  2542. }
  2543. return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b
  2544. };
  2545. var ec = /#.*$/,
  2546. fc = /([?&])_=[^&]*/,
  2547. gc = /^(.*?):[ \t]*([^\r\n]*)$/gm,
  2548. hc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  2549. ic = /^(?:GET|HEAD)$/,
  2550. jc = /^\/\//,
  2551. kc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  2552. lc = {},
  2553. mc = {},
  2554. nc = "*/".concat("*"),
  2555. oc = a.location.href,
  2556. pc = kc.exec(oc.toLowerCase()) || [];
  2557.  
  2558. function qc(a) {
  2559. return function (b, c) {
  2560. "string" != typeof b && (c = b, b = "*");
  2561. var d, e = 0,
  2562. f = b.toLowerCase().match(E) || [];
  2563. if (n.isFunction(c))
  2564. while (d = f[e++]) "+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
  2565. }
  2566. }
  2567.  
  2568. function rc(a, b, c, d) {
  2569. var e = {},
  2570. f = a === mc;
  2571.  
  2572. function g(h) {
  2573. var i;
  2574. return e[h] = !0, n.each(a[h] || [], function (a, h) {
  2575. var j = h(b, c, d);
  2576. return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
  2577. }), i
  2578. }
  2579. return g(b.dataTypes[0]) || !e["*"] && g("*")
  2580. }
  2581.  
  2582. function sc(a, b) {
  2583. var c, d, e = n.ajaxSettings.flatOptions || {};
  2584. for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
  2585. return d && n.extend(!0, a, d), a
  2586. }
  2587.  
  2588. function tc(a, b, c) {
  2589. var d, e, f, g, h = a.contents,
  2590. i = a.dataTypes;
  2591. while ("*" === i[0]) i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
  2592. if (d)
  2593. for (e in h)
  2594. if (h[e] && h[e].test(d)) {
  2595. i.unshift(e);
  2596. break
  2597. }
  2598. if (i[0] in c) f = i[0];
  2599. else {
  2600. for (e in c) {
  2601. if (!i[0] || a.converters[e + " " + i[0]]) {
  2602. f = e;
  2603. break
  2604. }
  2605. g || (g = e)
  2606. }
  2607. f = f || g
  2608. }
  2609. return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
  2610. }
  2611.  
  2612. function uc(a, b, c, d) {
  2613. var e, f, g, h, i, j = {},
  2614. k = a.dataTypes.slice();
  2615. if (k[1])
  2616. for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
  2617. f = k.shift();
  2618. while (f)
  2619. if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())
  2620. if ("*" === f) f = i;
  2621. else if ("*" !== i && i !== f) {
  2622. if (g = j[i + " " + f] || j["* " + f], !g)
  2623. for (e in j)
  2624. if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
  2625. g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
  2626. break
  2627. }
  2628. if (g !== !0)
  2629. if (g && a["throws"]) b = g(b);
  2630. else try {
  2631. b = g(b)
  2632. } catch (l) {
  2633. return {
  2634. state: "parsererror",
  2635. error: g ? l : "No conversion from " + i + " to " + f
  2636. }
  2637. }
  2638. }
  2639. return {
  2640. state: "success",
  2641. data: b
  2642. }
  2643. }
  2644. n.extend({
  2645. active: 0,
  2646. lastModified: {},
  2647. etag: {},
  2648. ajaxSettings: {
  2649. url: oc,
  2650. type: "GET",
  2651. isLocal: hc.test(pc[1]),
  2652. global: !0,
  2653. processData: !0,
  2654. async: !0,
  2655. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  2656. accepts: {
  2657. "*": nc,
  2658. text: "text/plain",
  2659. html: "text/html",
  2660. xml: "application/xml, text/xml",
  2661. json: "application/json, text/javascript"
  2662. },
  2663. contents: {
  2664. xml: /xml/,
  2665. html: /html/,
  2666. json: /json/
  2667. },
  2668. responseFields: {
  2669. xml: "responseXML",
  2670. text: "responseText",
  2671. json: "responseJSON"
  2672. },
  2673. converters: {
  2674. "* text": String,
  2675. "text html": !0,
  2676. "text json": n.parseJSON,
  2677. "text xml": n.parseXML
  2678. },
  2679. flatOptions: {
  2680. url: !0,
  2681. context: !0
  2682. }
  2683. },
  2684. ajaxSetup: function (a, b) {
  2685. return b ? sc(sc(a, n.ajaxSettings), b) : sc(n.ajaxSettings, a)
  2686. },
  2687. ajaxPrefilter: qc(lc),
  2688. ajaxTransport: qc(mc),
  2689. ajax: function (a, b) {
  2690. "object" == typeof a && (b = a, a = void 0), b = b || {};
  2691. var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b),
  2692. l = k.context || k,
  2693. m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
  2694. o = n.Deferred(),
  2695. p = n.Callbacks("once memory"),
  2696. q = k.statusCode || {},
  2697. r = {},
  2698. s = {},
  2699. t = 0,
  2700. u = "canceled",
  2701. v = {
  2702. readyState: 0,
  2703. getResponseHeader: function (a) {
  2704. var b;
  2705. if (2 === t) {
  2706. if (!f) {
  2707. f = {};
  2708. while (b = gc.exec(e)) f[b[1].toLowerCase()] = b[2]
  2709. }
  2710. b = f[a.toLowerCase()]
  2711. }
  2712. return null == b ? null : b
  2713. },
  2714. getAllResponseHeaders: function () {
  2715. return 2 === t ? e : null
  2716. },
  2717. setRequestHeader: function (a, b) {
  2718. var c = a.toLowerCase();
  2719. return t || (a = s[c] = s[c] || a, r[a] = b), this
  2720. },
  2721. overrideMimeType: function (a) {
  2722. return t || (k.mimeType = a), this
  2723. },
  2724. statusCode: function (a) {
  2725. var b;
  2726. if (a)
  2727. if (2 > t)
  2728. for (b in a) q[b] = [q[b], a[b]];
  2729. else v.always(a[v.status]);
  2730. return this
  2731. },
  2732. abort: function (a) {
  2733. var b = a || u;
  2734. return c && c.abort(b), x(0, b), this
  2735. }
  2736. };
  2737. if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || oc) + "").replace(ec, "").replace(jc, pc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (h = kc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === pc[1] && h[2] === pc[2] && (h[3] || ("http:" === h[1] ? "80" : "443")) === (pc[3] || ("http:" === pc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), rc(lc, k, b, v), 2 === t) return v;
  2738. i = n.event && k.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !ic.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = fc.test(d) ? d.replace(fc, "$1_=" + cc++) : d + (dc.test(d) ? "&" : "?") + "_=" + cc++)), k.ifModified && (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]), n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + nc + "; q=0.01" : "") : k.accepts["*"]);
  2739. for (j in k.headers) v.setRequestHeader(j, k.headers[j]);
  2740. if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t)) return v.abort();
  2741. u = "abort";
  2742. for (j in {
  2743. success: 1,
  2744. error: 1,
  2745. complete: 1
  2746. }) v[j](k[j]);
  2747. if (c = rc(mc, k, b, v)) {
  2748. v.readyState = 1, i && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () {
  2749. v.abort("timeout")
  2750. }, k.timeout));
  2751. try {
  2752. t = 1, c.send(r, x)
  2753. } catch (w) {
  2754. if (!(2 > t)) throw w;
  2755. x(-1, w)
  2756. }
  2757. } else x(-1, "No Transport");
  2758.  
  2759. function x(a, b, f, h) {
  2760. var j, r, s, u, w, x = b;
  2761. 2 !== t && (t = 2, g && clearTimeout(g), c = void 0, e = h || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, f && (u = tc(k, v, f)), u = uc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[d] = w), w = v.getResponseHeader("etag"), w && (n.etag[d] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
  2762. }
  2763. return v
  2764. },
  2765. getJSON: function (a, b, c) {
  2766. return n.get(a, b, c, "json")
  2767. },
  2768. getScript: function (a, b) {
  2769. return n.get(a, void 0, b, "script")
  2770. }
  2771. }), n.each(["get", "post"], function (a, b) {
  2772. n[b] = function (a, c, d, e) {
  2773. return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
  2774. url: a,
  2775. type: b,
  2776. dataType: e,
  2777. data: c,
  2778. success: d
  2779. })
  2780. }
  2781. }), n._evalUrl = function (a) {
  2782. return n.ajax({
  2783. url: a,
  2784. type: "GET",
  2785. dataType: "script",
  2786. async: !1,
  2787. global: !1,
  2788. "throws": !0
  2789. })
  2790. }, n.fn.extend({
  2791. wrapAll: function (a) {
  2792. var b;
  2793. return n.isFunction(a) ? this.each(function (b) {
  2794. n(this).wrapAll(a.call(this, b))
  2795. }) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
  2796. var a = this;
  2797. while (a.firstElementChild) a = a.firstElementChild;
  2798. return a
  2799. }).append(this)), this)
  2800. },
  2801. wrapInner: function (a) {
  2802. return this.each(n.isFunction(a) ? function (b) {
  2803. n(this).wrapInner(a.call(this, b))
  2804. } : function () {
  2805. var b = n(this),
  2806. c = b.contents();
  2807. c.length ? c.wrapAll(a) : b.append(a)
  2808. })
  2809. },
  2810. wrap: function (a) {
  2811. var b = n.isFunction(a);
  2812. return this.each(function (c) {
  2813. n(this).wrapAll(b ? a.call(this, c) : a)
  2814. })
  2815. },
  2816. unwrap: function () {
  2817. return this.parent().each(function () {
  2818. n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
  2819. }).end()
  2820. }
  2821. }), n.expr.filters.hidden = function (a) {
  2822. return a.offsetWidth <= 0 && a.offsetHeight <= 0
  2823. }, n.expr.filters.visible = function (a) {
  2824. return !n.expr.filters.hidden(a)
  2825. };
  2826. var vc = /%20/g,
  2827. wc = /\[\]$/,
  2828. xc = /\r?\n/g,
  2829. yc = /^(?:submit|button|image|reset|file)$/i,
  2830. zc = /^(?:input|select|textarea|keygen)/i;
  2831.  
  2832. function Ac(a, b, c, d) {
  2833. var e;
  2834. if (n.isArray(b)) n.each(b, function (b, e) {
  2835. c || wc.test(a) ? d(a, e) : Ac(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
  2836. });
  2837. else if (c || "object" !== n.type(b)) d(a, b);
  2838. else
  2839. for (e in b) Ac(a + "[" + e + "]", b[e], c, d)
  2840. }
  2841. n.param = function (a, b) {
  2842. var c, d = [],
  2843. e = function (a, b) {
  2844. b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
  2845. };
  2846. if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a)) n.each(a, function () {
  2847. e(this.name, this.value)
  2848. });
  2849. else
  2850. for (c in a) Ac(c, a[c], b, e);
  2851. return d.join("&").replace(vc, "+")
  2852. }, n.fn.extend({
  2853. serialize: function () {
  2854. return n.param(this.serializeArray())
  2855. },
  2856. serializeArray: function () {
  2857. return this.map(function () {
  2858. var a = n.prop(this, "elements");
  2859. return a ? n.makeArray(a) : this
  2860. }).filter(function () {
  2861. var a = this.type;
  2862. return this.name && !n(this).is(":disabled") && zc.test(this.nodeName) && !yc.test(a) && (this.checked || !T.test(a))
  2863. }).map(function (a, b) {
  2864. var c = n(this).val();
  2865. return null == c ? null : n.isArray(c) ? n.map(c, function (a) {
  2866. return {
  2867. name: b.name,
  2868. value: a.replace(xc, "\r\n")
  2869. }
  2870. }) : {
  2871. name: b.name,
  2872. value: c.replace(xc, "\r\n")
  2873. }
  2874. }).get()
  2875. }
  2876. }), n.ajaxSettings.xhr = function () {
  2877. try {
  2878. return new XMLHttpRequest
  2879. } catch (a) {}
  2880. };
  2881. var Bc = 0,
  2882. Cc = {},
  2883. Dc = {
  2884. 0: 200,
  2885. 1223: 204
  2886. },
  2887. Ec = n.ajaxSettings.xhr();
  2888. a.attachEvent && a.attachEvent("onunload", function () {
  2889. for (var a in Cc) Cc[a]()
  2890. }), k.cors = !!Ec && "withCredentials" in Ec, k.ajax = Ec = !!Ec, n.ajaxTransport(function (a) {
  2891. var b;
  2892. return k.cors || Ec && !a.crossDomain ? {
  2893. send: function (c, d) {
  2894. var e, f = a.xhr(),
  2895. g = ++Bc;
  2896. if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)
  2897. for (e in a.xhrFields) f[e] = a.xhrFields[e];
  2898. a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
  2899. for (e in c) f.setRequestHeader(e, c[e]);
  2900. b = function (a) {
  2901. return function () {
  2902. b && (delete Cc[g], b = f.onload = f.onerror = null, "abort" === a ? f.abort() : "error" === a ? d(f.status, f.statusText) : d(Dc[f.status] || f.status, f.statusText, "string" == typeof f.responseText ? {
  2903. text: f.responseText
  2904. } : void 0, f.getAllResponseHeaders()))
  2905. }
  2906. }, f.onload = b(), f.onerror = b("error"), b = Cc[g] = b("abort");
  2907. try {
  2908. f.send(a.hasContent && a.data || null)
  2909. } catch (h) {
  2910. if (b) throw h
  2911. }
  2912. },
  2913. abort: function () {
  2914. b && b()
  2915. }
  2916. } : void 0
  2917. }), n.ajaxSetup({
  2918. accepts: {
  2919. script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
  2920. },
  2921. contents: {
  2922. script: /(?:java|ecma)script/
  2923. },
  2924. converters: {
  2925. "text script": function (a) {
  2926. return n.globalEval(a), a
  2927. }
  2928. }
  2929. }), n.ajaxPrefilter("script", function (a) {
  2930. void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET")
  2931. }), n.ajaxTransport("script", function (a) {
  2932. if (a.crossDomain) {
  2933. var b, c;
  2934. return {
  2935. send: function (d, e) {
  2936. b = n("<script>").prop({
  2937. async: !0,
  2938. charset: a.scriptCharset,
  2939. src: a.url
  2940. }).on("load error", c = function (a) {
  2941. b.remove(), c = null, a && e("error" === a.type ? 404 : 200, a.type)
  2942. }), l.head.appendChild(b[0])
  2943. },
  2944. abort: function () {
  2945. c && c()
  2946. }
  2947. }
  2948. }
  2949. });
  2950. var Fc = [],
  2951. Gc = /(=)\?(?=&|$)|\?\?/;
  2952. n.ajaxSetup({
  2953. jsonp: "callback",
  2954. jsonpCallback: function () {
  2955. var a = Fc.pop() || n.expando + "_" + cc++;
  2956. return this[a] = !0, a
  2957. }
  2958. }), n.ajaxPrefilter("json jsonp", function (b, c, d) {
  2959. var e, f, g, h = b.jsonp !== !1 && (Gc.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Gc.test(b.data) && "data");
  2960. return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Gc, "$1" + e) : b.jsonp !== !1 && (b.url += (dc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
  2961. return g || n.error(e + " was not called"), g[0]
  2962. }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
  2963. g = arguments
  2964. }, d.always(function () {
  2965. a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Fc.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
  2966. }), "script") : void 0
  2967. }), n.parseHTML = function (a, b, c) {
  2968. if (!a || "string" != typeof a) return null;
  2969. "boolean" == typeof b && (c = b, b = !1), b = b || l;
  2970. var d = v.exec(a),
  2971. e = !c && [];
  2972. return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
  2973. };
  2974. var Hc = n.fn.load;
  2975. n.fn.load = function (a, b, c) {
  2976. if ("string" != typeof a && Hc) return Hc.apply(this, arguments);
  2977. var d, e, f, g = this,
  2978. h = a.indexOf(" ");
  2979. return h >= 0 && (d = n.trim(a.slice(h)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
  2980. url: a,
  2981. type: e,
  2982. dataType: "html",
  2983. data: b
  2984. }).done(function (a) {
  2985. f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
  2986. }).complete(c && function (a, b) {
  2987. g.each(c, f || [a.responseText, b, a])
  2988. }), this
  2989. }, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
  2990. n.fn[b] = function (a) {
  2991. return this.on(b, a)
  2992. }
  2993. }), n.expr.filters.animated = function (a) {
  2994. return n.grep(n.timers, function (b) {
  2995. return a === b.elem
  2996. }).length
  2997. };
  2998. var Ic = a.document.documentElement;
  2999.  
  3000. function Jc(a) {
  3001. return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
  3002. }
  3003. n.offset = {
  3004. setOffset: function (a, b, c) {
  3005. var d, e, f, g, h, i, j, k = n.css(a, "position"),
  3006. l = n(a),
  3007. m = {};
  3008. "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using" in b ? b.using.call(a, m) : l.css(m)
  3009. }
  3010. }, n.fn.extend({
  3011. offset: function (a) {
  3012. if (arguments.length) return void 0 === a ? this : this.each(function (b) {
  3013. n.offset.setOffset(this, a, b)
  3014. });
  3015. var b, c, d = this[0],
  3016. e = {
  3017. top: 0,
  3018. left: 0
  3019. },
  3020. f = d && d.ownerDocument;
  3021. if (f) return b = f.documentElement, n.contains(b, d) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Jc(f), {
  3022. top: e.top + c.pageYOffset - b.clientTop,
  3023. left: e.left + c.pageXOffset - b.clientLeft
  3024. }) : e
  3025. },
  3026. position: function () {
  3027. if (this[0]) {
  3028. var a, b, c = this[0],
  3029. d = {
  3030. top: 0,
  3031. left: 0
  3032. };
  3033. return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (d = a.offset()), d.top += n.css(a[0], "borderTopWidth", !0), d.left += n.css(a[0], "borderLeftWidth", !0)), {
  3034. top: b.top - d.top - n.css(c, "marginTop", !0),
  3035. left: b.left - d.left - n.css(c, "marginLeft", !0)
  3036. }
  3037. }
  3038. },
  3039. offsetParent: function () {
  3040. return this.map(function () {
  3041. var a = this.offsetParent || Ic;
  3042. while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) a = a.offsetParent;
  3043. return a || Ic
  3044. })
  3045. }
  3046. }), n.each({
  3047. scrollLeft: "pageXOffset",
  3048. scrollTop: "pageYOffset"
  3049. }, function (b, c) {
  3050. var d = "pageYOffset" === c;
  3051. n.fn[b] = function (e) {
  3052. return J(this, function (b, e, f) {
  3053. var g = Jc(b);
  3054. return void 0 === f ? g ? g[c] : b[e] : void(g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f)
  3055. }, b, e, arguments.length, null)
  3056. }
  3057. }), n.each(["top", "left"], function (a, b) {
  3058. n.cssHooks[b] = yb(k.pixelPosition, function (a, c) {
  3059. return c ? (c = xb(a, b), vb.test(c) ? n(a).position()[b] + "px" : c) : void 0
  3060. })
  3061. }), n.each({
  3062. Height: "height",
  3063. Width: "width"
  3064. }, function (a, b) {
  3065. n.each({
  3066. padding: "inner" + a,
  3067. content: b,
  3068. "": "outer" + a
  3069. }, function (c, d) {
  3070. n.fn[d] = function (d, e) {
  3071. var f = arguments.length && (c || "boolean" != typeof d),
  3072. g = c || (d === !0 || e === !0 ? "margin" : "border");
  3073. return J(this, function (b, c, d) {
  3074. var e;
  3075. return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
  3076. }, b, f ? d : void 0, f, null)
  3077. }
  3078. })
  3079. }), n.fn.size = function () {
  3080. return this.length
  3081. }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
  3082. return n
  3083. });
  3084. var Kc = a.jQuery,
  3085. Lc = a.$;
  3086. return n.noConflict = function (b) {
  3087. return a.$ === n && (a.$ = Lc), b && a.jQuery === n && (a.jQuery = Kc), n
  3088. }, typeof b === U && (a.jQuery = a.$ = n), n
  3089. });
Advertisement
Add Comment
Please, Sign In to add comment