Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.00 KB | None | 0 0
  1. /*! jQuery v3.1.1 | (c) jQuery Foundation | jquery.org/license */
  2. !function(a, b) {
  3. "use strict";
  4. "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
  5. if (!a.document)
  6. throw new Error("jQuery requires a window with a document");
  7. return b(a)
  8. }
  9. : b(a)
  10. }("undefined" != typeof window ? window : this, function(a, b) {
  11. "use strict";
  12. var c = []
  13. , d = a.document
  14. , e = Object.getPrototypeOf
  15. , f = c.slice
  16. , g = c.concat
  17. , h = c.push
  18. , i = c.indexOf
  19. , j = {}
  20. , k = j.toString
  21. , l = j.hasOwnProperty
  22. , m = l.toString
  23. , n = m.call(Object)
  24. , o = {};
  25. function p(a, b) {
  26. b = b || d;
  27. var c = b.createElement("script");
  28. c.text = a,
  29. b.head.appendChild(c).parentNode.removeChild(c)
  30. }
  31. var q = "3.1.1"
  32. , r = function(a, b) {
  33. return new r.fn.init(a,b)
  34. }
  35. , s = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
  36. , t = /^-ms-/
  37. , u = /-([a-z])/g
  38. , v = function(a, b) {
  39. return b.toUpperCase()
  40. };
  41. r.fn = r.prototype = {
  42. jquery: q,
  43. constructor: r,
  44. length: 0,
  45. toArray: function() {
  46. return f.call(this)
  47. },
  48. get: function(a) {
  49. return null == a ? f.call(this) : a < 0 ? this[a + this.length] : this[a]
  50. },
  51. pushStack: function(a) {
  52. var b = r.merge(this.constructor(), a);
  53. return b.prevObject = this,
  54. b
  55. },
  56. each: function(a) {
  57. return r.each(this, a)
  58. },
  59. map: function(a) {
  60. return this.pushStack(r.map(this, function(b, c) {
  61. return a.call(b, c, b)
  62. }))
  63. },
  64. slice: function() {
  65. return this.pushStack(f.apply(this, arguments))
  66. },
  67. first: function() {
  68. return this.eq(0)
  69. },
  70. last: function() {
  71. return this.eq(-1)
  72. },
  73. eq: function(a) {
  74. var b = this.length
  75. , c = +a + (a < 0 ? b : 0);
  76. return this.pushStack(c >= 0 && c < b ? [this[c]] : [])
  77. },
  78. end: function() {
  79. return this.prevObject || this.constructor()
  80. },
  81. push: h,
  82. sort: c.sort,
  83. splice: c.splice
  84. },
  85. r.extend = r.fn.extend = function() {
  86. var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
  87. for ("boolean" == typeof g && (j = g,
  88. g = arguments[h] || {},
  89. h++),
  90. "object" == typeof g || r.isFunction(g) || (g = {}),
  91. h === i && (g = this,
  92. h--); h < i; h++)
  93. if (null != (a = arguments[h]))
  94. for (b in a)
  95. c = g[b],
  96. d = a[b],
  97. g !== d && (j && d && (r.isPlainObject(d) || (e = r.isArray(d))) ? (e ? (e = !1,
  98. f = c && r.isArray(c) ? c : []) : f = c && r.isPlainObject(c) ? c : {},
  99. g[b] = r.extend(j, f, d)) : void 0 !== d && (g[b] = d));
  100. return g
  101. }
  102. ,
  103. r.extend({
  104. expando: "jQuery" + (q + Math.random()).replace(/\D/g, ""),
  105. isReady: !0,
  106. error: function(a) {
  107. throw new Error(a)
  108. },
  109. noop: function() {},
  110. isFunction: function(a) {
  111. return "function" === r.type(a)
  112. },
  113. isArray: Array.isArray,
  114. isWindow: function(a) {
  115. return null != a && a === a.window
  116. },
  117. isNumeric: function(a) {
  118. var b = r.type(a);
  119. return ("number" === b || "string" === b) && !isNaN(a - parseFloat(a))
  120. },
  121. isPlainObject: function(a) {
  122. var b, c;
  123. return !(!a || "[object Object]" !== k.call(a)) && (!(b = e(a)) || (c = l.call(b, "constructor") && b.constructor,
  124. "function" == typeof c && m.call(c) === n))
  125. },
  126. isEmptyObject: function(a) {
  127. var b;
  128. for (b in a)
  129. return !1;
  130. return !0
  131. },
  132. type: function(a) {
  133. return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? j[k.call(a)] || "object" : typeof a
  134. },
  135. globalEval: function(a) {
  136. p(a)
  137. },
  138. camelCase: function(a) {
  139. return a.replace(t, "ms-").replace(u, v)
  140. },
  141. nodeName: function(a, b) {
  142. return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
  143. },
  144. each: function(a, b) {
  145. var c, d = 0;
  146. if (w(a)) {
  147. for (c = a.length; d < c; d++)
  148. if (b.call(a[d], d, a[d]) === !1)
  149. break
  150. } else
  151. for (d in a)
  152. if (b.call(a[d], d, a[d]) === !1)
  153. break;
  154. return a
  155. },
  156. trim: function(a) {
  157. return null == a ? "" : (a + "").replace(s, "")
  158. },
  159. makeArray: function(a, b) {
  160. var c = b || [];
  161. return null != a && (w(Object(a)) ? r.merge(c, "string" == typeof a ? [a] : a) : h.call(c, a)),
  162. c
  163. },
  164. inArray: function(a, b, c) {
  165. return null == b ? -1 : i.call(b, a, c)
  166. },
  167. merge: function(a, b) {
  168. for (var c = +b.length, d = 0, e = a.length; d < c; d++)
  169. a[e++] = b[d];
  170. return a.length = e,
  171. a
  172. },
  173. grep: function(a, b, c) {
  174. for (var d, e = [], f = 0, g = a.length, h = !c; f < g; f++)
  175. d = !b(a[f], f),
  176. d !== h && e.push(a[f]);
  177. return e
  178. },
  179. map: function(a, b, c) {
  180. var d, e, f = 0, h = [];
  181. if (w(a))
  182. for (d = a.length; f < d; f++)
  183. e = b(a[f], f, c),
  184. null != e && h.push(e);
  185. else
  186. for (f in a)
  187. e = b(a[f], f, c),
  188. null != e && h.push(e);
  189. return g.apply([], h)
  190. },
  191. guid: 1,
  192. proxy: function(a, b) {
  193. var c, d, e;
  194. if ("string" == typeof b && (c = a[b],
  195. b = a,
  196. a = c),
  197. r.isFunction(a))
  198. return d = f.call(arguments, 2),
  199. e = function() {
  200. return a.apply(b || this, d.concat(f.call(arguments)))
  201. }
  202. ,
  203. e.guid = a.guid = a.guid || r.guid++,
  204. e
  205. },
  206. now: Date.now,
  207. support: o
  208. }),
  209. "function" == typeof Symbol && (r.fn[Symbol.iterator] = c[Symbol.iterator]),
  210. r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(a, b) {
  211. j["[object " + b + "]"] = b.toLowerCase()
  212. });
  213. function w(a) {
  214. var b = !!a && "length"in a && a.length
  215. , c = r.type(a);
  216. return "function" !== c && !r.isWindow(a) && ("array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a)
  217. }
  218. var x = function(a) {
  219. 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, v = a.document, w = 0, x = 0, y = ha(), z = ha(), A = ha(), B = function(a, b) {
  220. return a === b && (l = !0),
  221. 0
  222. }, C = {}.hasOwnProperty, D = [], E = D.pop, F = D.push, G = D.push, H = D.slice, I = function(a, b) {
  223. for (var c = 0, d = a.length; c < d; c++)
  224. if (a[c] === b)
  225. return c;
  226. return -1
  227. }, J = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", K = "[\\x20\\t\\r\\n\\f]", L = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", M = "\\[" + K + "*(" + L + ")(?:" + K + "*([*^$|!~]?=)" + K + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + L + "))|)" + K + "*\\]", N = ":(" + L + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + M + ")*)|.*)\\)|)", O = new RegExp(K + "+","g"), P = new RegExp("^" + K + "+|((?:^|[^\\\\])(?:\\\\.)*)" + K + "+$","g"), Q = new RegExp("^" + K + "*," + K + "*"), R = new RegExp("^" + K + "*([>+~]|" + K + ")" + K + "*"), S = new RegExp("=" + K + "*([^\\]'\"]*?)" + K + "*\\]","g"), T = new RegExp(N), U = new RegExp("^" + L + "$"), V = {
  228. ID: new RegExp("^#(" + L + ")"),
  229. CLASS: new RegExp("^\\.(" + L + ")"),
  230. TAG: new RegExp("^(" + L + "|[*])"),
  231. ATTR: new RegExp("^" + M),
  232. PSEUDO: new RegExp("^" + N),
  233. CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + K + "*(even|odd|(([+-]|)(\\d*)n|)" + K + "*(?:([+-]|)" + K + "*(\\d+)|))" + K + "*\\)|)","i"),
  234. bool: new RegExp("^(?:" + J + ")$","i"),
  235. needsContext: new RegExp("^" + K + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + K + "*((?:-\\d)?\\d*)" + K + "*\\)|)(?=[^-]|$)","i")
  236. }, W = /^(?:input|select|textarea|button)$/i, X = /^h\d$/i, Y = /^[^{]+\{\s*\[native \w/, Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $ = /[+~]/, _ = new RegExp("\\\\([\\da-f]{1,6}" + K + "?|(" + K + ")|.)","ig"), aa = function(a, b, c) {
  237. var d = "0x" + b - 65536;
  238. return d !== d || c ? b : d < 0 ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
  239. }, ba = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, ca = function(a, b) {
  240. return b ? "\0" === a ? "\ufffd" : a.slice(0, -1) + "\\" + a.charCodeAt(a.length - 1).toString(16) + " " : "\\" + a
  241. }, da = function() {
  242. m()
  243. }, ea = ta(function(a) {
  244. return a.disabled === !0 && ("form"in a || "label"in a)
  245. }, {
  246. dir: "parentNode",
  247. next: "legend"
  248. });
  249. try {
  250. G.apply(D = H.call(v.childNodes), v.childNodes),
  251. D[v.childNodes.length].nodeType
  252. } catch (fa) {
  253. G = {
  254. apply: D.length ? function(a, b) {
  255. F.apply(a, H.call(b))
  256. }
  257. : function(a, b) {
  258. var c = a.length
  259. , d = 0;
  260. while (a[c++] = b[d++])
  261. ;
  262. a.length = c - 1
  263. }
  264. }
  265. }
  266. function ga(a, b, d, e) {
  267. var f, h, j, k, l, o, r, s = b && b.ownerDocument, w = b ? b.nodeType : 9;
  268. if (d = d || [],
  269. "string" != typeof a || !a || 1 !== w && 9 !== w && 11 !== w)
  270. return d;
  271. if (!e && ((b ? b.ownerDocument || b : v) !== n && m(b),
  272. b = b || n,
  273. p)) {
  274. if (11 !== w && (l = Z.exec(a)))
  275. if (f = l[1]) {
  276. if (9 === w) {
  277. if (!(j = b.getElementById(f)))
  278. return d;
  279. if (j.id === f)
  280. return d.push(j),
  281. d
  282. } else if (s && (j = s.getElementById(f)) && t(b, j) && j.id === f)
  283. return d.push(j),
  284. d
  285. } else {
  286. if (l[2])
  287. return G.apply(d, b.getElementsByTagName(a)),
  288. d;
  289. if ((f = l[3]) && c.getElementsByClassName && b.getElementsByClassName)
  290. return G.apply(d, b.getElementsByClassName(f)),
  291. d
  292. }
  293. if (c.qsa && !A[a + " "] && (!q || !q.test(a))) {
  294. if (1 !== w)
  295. s = b,
  296. r = a;
  297. else if ("object" !== b.nodeName.toLowerCase()) {
  298. (k = b.getAttribute("id")) ? k = k.replace(ba, ca) : b.setAttribute("id", k = u),
  299. o = g(a),
  300. h = o.length;
  301. while (h--)
  302. o[h] = "#" + k + " " + sa(o[h]);
  303. r = o.join(","),
  304. s = $.test(a) && qa(b.parentNode) || b
  305. }
  306. if (r)
  307. try {
  308. return G.apply(d, s.querySelectorAll(r)),
  309. d
  310. } catch (x) {} finally {
  311. k === u && b.removeAttribute("id")
  312. }
  313. }
  314. }
  315. return i(a.replace(P, "$1"), b, d, e)
  316. }
  317. function ha() {
  318. var a = [];
  319. function b(c, e) {
  320. return a.push(c + " ") > d.cacheLength && delete b[a.shift()],
  321. b[c + " "] = e
  322. }
  323. return b
  324. }
  325. function ia(a) {
  326. return a[u] = !0,
  327. a
  328. }
  329. function ja(a) {
  330. var b = n.createElement("fieldset");
  331. try {
  332. return !!a(b)
  333. } catch (c) {
  334. return !1
  335. } finally {
  336. b.parentNode && b.parentNode.removeChild(b),
  337. b = null
  338. }
  339. }
  340. function ka(a, b) {
  341. var c = a.split("|")
  342. , e = c.length;
  343. while (e--)
  344. d.attrHandle[c[e]] = b
  345. }
  346. function la(a, b) {
  347. var c = b && a
  348. , d = c && 1 === a.nodeType && 1 === b.nodeType && a.sourceIndex - b.sourceIndex;
  349. if (d)
  350. return d;
  351. if (c)
  352. while (c = c.nextSibling)
  353. if (c === b)
  354. return -1;
  355. return a ? 1 : -1
  356. }
  357. function ma(a) {
  358. return function(b) {
  359. var c = b.nodeName.toLowerCase();
  360. return "input" === c && b.type === a
  361. }
  362. }
  363. function na(a) {
  364. return function(b) {
  365. var c = b.nodeName.toLowerCase();
  366. return ("input" === c || "button" === c) && b.type === a
  367. }
  368. }
  369. function oa(a) {
  370. return function(b) {
  371. return "form"in b ? b.parentNode && b.disabled === !1 ? "label"in b ? "label"in b.parentNode ? b.parentNode.disabled === a : b.disabled === a : b.isDisabled === a || b.isDisabled !== !a && ea(b) === a : b.disabled === a : "label"in b && b.disabled === a
  372. }
  373. }
  374. function pa(a) {
  375. return ia(function(b) {
  376. return b = +b,
  377. ia(function(c, d) {
  378. var e, f = a([], c.length, b), g = f.length;
  379. while (g--)
  380. c[e = f[g]] && (c[e] = !(d[e] = c[e]))
  381. })
  382. })
  383. }
  384. function qa(a) {
  385. return a && "undefined" != typeof a.getElementsByTagName && a
  386. }
  387. c = ga.support = {},
  388. f = ga.isXML = function(a) {
  389. var b = a && (a.ownerDocument || a).documentElement;
  390. return !!b && "HTML" !== b.nodeName
  391. }
  392. ,
  393. m = ga.setDocument = function(a) {
  394. var b, e, g = a ? a.ownerDocument || a : v;
  395. return g !== n && 9 === g.nodeType && g.documentElement ? (n = g,
  396. o = n.documentElement,
  397. p = !f(n),
  398. v !== n && (e = n.defaultView) && e.top !== e && (e.addEventListener ? e.addEventListener("unload", da, !1) : e.attachEvent && e.attachEvent("onunload", da)),
  399. c.attributes = ja(function(a) {
  400. return a.className = "i",
  401. !a.getAttribute("className")
  402. }),
  403. c.getElementsByTagName = ja(function(a) {
  404. return a.appendChild(n.createComment("")),
  405. !a.getElementsByTagName("*").length
  406. }),
  407. c.getElementsByClassName = Y.test(n.getElementsByClassName),
  408. c.getById = ja(function(a) {
  409. return o.appendChild(a).id = u,
  410. !n.getElementsByName || !n.getElementsByName(u).length
  411. }),
  412. c.getById ? (d.filter.ID = function(a) {
  413. var b = a.replace(_, aa);
  414. return function(a) {
  415. return a.getAttribute("id") === b
  416. }
  417. }
  418. ,
  419. d.find.ID = function(a, b) {
  420. if ("undefined" != typeof b.getElementById && p) {
  421. var c = b.getElementById(a);
  422. return c ? [c] : []
  423. }
  424. }
  425. ) : (d.filter.ID = function(a) {
  426. var b = a.replace(_, aa);
  427. return function(a) {
  428. var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
  429. return c && c.value === b
  430. }
  431. }
  432. ,
  433. d.find.ID = function(a, b) {
  434. if ("undefined" != typeof b.getElementById && p) {
  435. var c, d, e, f = b.getElementById(a);
  436. if (f) {
  437. if (c = f.getAttributeNode("id"),
  438. c && c.value === a)
  439. return [f];
  440. e = b.getElementsByName(a),
  441. d = 0;
  442. while (f = e[d++])
  443. if (c = f.getAttributeNode("id"),
  444. c && c.value === a)
  445. return [f]
  446. }
  447. return []
  448. }
  449. }
  450. ),
  451. d.find.TAG = c.getElementsByTagName ? function(a, b) {
  452. return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
  453. }
  454. : function(a, b) {
  455. var c, d = [], e = 0, f = b.getElementsByTagName(a);
  456. if ("*" === a) {
  457. while (c = f[e++])
  458. 1 === c.nodeType && d.push(c);
  459. return d
  460. }
  461. return f
  462. }
  463. ,
  464. d.find.CLASS = c.getElementsByClassName && function(a, b) {
  465. if ("undefined" != typeof b.getElementsByClassName && p)
  466. return b.getElementsByClassName(a)
  467. }
  468. ,
  469. r = [],
  470. q = [],
  471. (c.qsa = Y.test(n.querySelectorAll)) && (ja(function(a) {
  472. o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\r\\' msallowcapture=''><option selected=''></option></select>",
  473. a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + K + "*(?:''|\"\")"),
  474. a.querySelectorAll("[selected]").length || q.push("\\[" + K + "*(?:value|" + J + ")"),
  475. a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="),
  476. a.querySelectorAll(":checked").length || q.push(":checked"),
  477. a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
  478. }),
  479. ja(function(a) {
  480. a.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
  481. var b = n.createElement("input");
  482. b.setAttribute("type", "hidden"),
  483. a.appendChild(b).setAttribute("name", "D"),
  484. a.querySelectorAll("[name=d]").length && q.push("name" + K + "*[*^$|!~]?="),
  485. 2 !== a.querySelectorAll(":enabled").length && q.push(":enabled", ":disabled"),
  486. o.appendChild(a).disabled = !0,
  487. 2 !== a.querySelectorAll(":disabled").length && q.push(":enabled", ":disabled"),
  488. a.querySelectorAll("*,:x"),
  489. q.push(",.*:")
  490. })),
  491. (c.matchesSelector = Y.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ja(function(a) {
  492. c.disconnectedMatch = s.call(a, "*"),
  493. s.call(a, "[s!='']:x"),
  494. r.push("!=", N)
  495. }),
  496. q = q.length && new RegExp(q.join("|")),
  497. r = r.length && new RegExp(r.join("|")),
  498. b = Y.test(o.compareDocumentPosition),
  499. t = b || Y.test(o.contains) ? function(a, b) {
  500. var c = 9 === a.nodeType ? a.documentElement : a
  501. , d = b && b.parentNode;
  502. return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
  503. }
  504. : function(a, b) {
  505. if (b)
  506. while (b = b.parentNode)
  507. if (b === a)
  508. return !0;
  509. return !1
  510. }
  511. ,
  512. B = b ? function(a, b) {
  513. if (a === b)
  514. return l = !0,
  515. 0;
  516. var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
  517. return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1,
  518. 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === n || a.ownerDocument === v && t(v, a) ? -1 : b === n || b.ownerDocument === v && t(v, b) ? 1 : k ? I(k, a) - I(k, b) : 0 : 4 & d ? -1 : 1)
  519. }
  520. : function(a, b) {
  521. if (a === b)
  522. return l = !0,
  523. 0;
  524. var c, d = 0, e = a.parentNode, f = b.parentNode, g = [a], h = [b];
  525. if (!e || !f)
  526. return a === n ? -1 : b === n ? 1 : e ? -1 : f ? 1 : k ? I(k, a) - I(k, b) : 0;
  527. if (e === f)
  528. return la(a, b);
  529. c = a;
  530. while (c = c.parentNode)
  531. g.unshift(c);
  532. c = b;
  533. while (c = c.parentNode)
  534. h.unshift(c);
  535. while (g[d] === h[d])
  536. d++;
  537. return d ? la(g[d], h[d]) : g[d] === v ? -1 : h[d] === v ? 1 : 0
  538. }
  539. ,
  540. n) : n
  541. }
  542. ,
  543. ga.matches = function(a, b) {
  544. return ga(a, null, null, b)
  545. }
  546. ,
  547. ga.matchesSelector = function(a, b) {
  548. if ((a.ownerDocument || a) !== n && m(a),
  549. b = b.replace(S, "='$1']"),
  550. c.matchesSelector && p && !A[b + " "] && (!r || !r.test(b)) && (!q || !q.test(b)))
  551. try {
  552. var d = s.call(a, b);
  553. if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType)
  554. return d
  555. } catch (e) {}
  556. return ga(b, n, null, [a]).length > 0
  557. }
  558. ,
  559. ga.contains = function(a, b) {
  560. return (a.ownerDocument || a) !== n && m(a),
  561. t(a, b)
  562. }
  563. ,
  564. ga.attr = function(a, b) {
  565. (a.ownerDocument || a) !== n && m(a);
  566. var e = d.attrHandle[b.toLowerCase()]
  567. , f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
  568. return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
  569. }
  570. ,
  571. ga.escape = function(a) {
  572. return (a + "").replace(ba, ca)
  573. }
  574. ,
  575. ga.error = function(a) {
  576. throw new Error("Syntax error, unrecognized expression: " + a)
  577. }
  578. ,
  579. ga.uniqueSort = function(a) {
  580. var b, d = [], e = 0, f = 0;
  581. if (l = !c.detectDuplicates,
  582. k = !c.sortStable && a.slice(0),
  583. a.sort(B),
  584. l) {
  585. while (b = a[f++])
  586. b === a[f] && (e = d.push(f));
  587. while (e--)
  588. a.splice(d[e], 1)
  589. }
  590. return k = null,
  591. a
  592. }
  593. ,
  594. e = ga.getText = function(a) {
  595. var b, c = "", d = 0, f = a.nodeType;
  596. if (f) {
  597. if (1 === f || 9 === f || 11 === f) {
  598. if ("string" == typeof a.textContent)
  599. return a.textContent;
  600. for (a = a.firstChild; a; a = a.nextSibling)
  601. c += e(a)
  602. } else if (3 === f || 4 === f)
  603. return a.nodeValue
  604. } else
  605. while (b = a[d++])
  606. c += e(b);
  607. return c
  608. }
  609. ,
  610. d = ga.selectors = {
  611. cacheLength: 50,
  612. createPseudo: ia,
  613. match: V,
  614. attrHandle: {},
  615. find: {},
  616. relative: {
  617. ">": {
  618. dir: "parentNode",
  619. first: !0
  620. },
  621. " ": {
  622. dir: "parentNode"
  623. },
  624. "+": {
  625. dir: "previousSibling",
  626. first: !0
  627. },
  628. "~": {
  629. dir: "previousSibling"
  630. }
  631. },
  632. preFilter: {
  633. ATTR: function(a) {
  634. return a[1] = a[1].replace(_, aa),
  635. a[3] = (a[3] || a[4] || a[5] || "").replace(_, aa),
  636. "~=" === a[2] && (a[3] = " " + a[3] + " "),
  637. a.slice(0, 4)
  638. },
  639. CHILD: function(a) {
  640. return a[1] = a[1].toLowerCase(),
  641. "nth" === a[1].slice(0, 3) ? (a[3] || ga.error(a[0]),
  642. a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])),
  643. a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && ga.error(a[0]),
  644. a
  645. },
  646. PSEUDO: function(a) {
  647. var b, c = !a[6] && a[2];
  648. return V.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && T.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b),
  649. a[2] = c.slice(0, b)),
  650. a.slice(0, 3))
  651. }
  652. },
  653. filter: {
  654. TAG: function(a) {
  655. var b = a.replace(_, aa).toLowerCase();
  656. return "*" === a ? function() {
  657. return !0
  658. }
  659. : function(a) {
  660. return a.nodeName && a.nodeName.toLowerCase() === b
  661. }
  662. },
  663. CLASS: function(a) {
  664. var b = y[a + " "];
  665. return b || (b = new RegExp("(^|" + K + ")" + a + "(" + K + "|$)")) && y(a, function(a) {
  666. return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
  667. })
  668. },
  669. ATTR: function(a, b, c) {
  670. return function(d) {
  671. var e = ga.attr(d, a);
  672. return null == e ? "!=" === b : !b || (e += "",
  673. "=" === 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(O, " ") + " ").indexOf(c) > -1 : "|=" === b && (e === c || e.slice(0, c.length + 1) === c + "-"))
  674. }
  675. },
  676. CHILD: function(a, b, c, d, e) {
  677. var f = "nth" !== a.slice(0, 3)
  678. , g = "last" !== a.slice(-4)
  679. , h = "of-type" === b;
  680. return 1 === d && 0 === e ? function(a) {
  681. return !!a.parentNode
  682. }
  683. : function(b, c, i) {
  684. var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode, r = h && b.nodeName.toLowerCase(), s = !i && !h, t = !1;
  685. if (q) {
  686. if (f) {
  687. while (p) {
  688. m = b;
  689. while (m = m[p])
  690. if (h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType)
  691. return !1;
  692. o = p = "only" === a && !o && "nextSibling"
  693. }
  694. return !0
  695. }
  696. if (o = [g ? q.firstChild : q.lastChild],
  697. g && s) {
  698. m = q,
  699. l = m[u] || (m[u] = {}),
  700. k = l[m.uniqueID] || (l[m.uniqueID] = {}),
  701. j = k[a] || [],
  702. n = j[0] === w && j[1],
  703. t = n && j[2],
  704. m = n && q.childNodes[n];
  705. while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
  706. if (1 === m.nodeType && ++t && m === b) {
  707. k[a] = [w, n, t];
  708. break
  709. }
  710. } else if (s && (m = b,
  711. l = m[u] || (m[u] = {}),
  712. k = l[m.uniqueID] || (l[m.uniqueID] = {}),
  713. j = k[a] || [],
  714. n = j[0] === w && j[1],
  715. t = n),
  716. t === !1)
  717. while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
  718. if ((h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) && ++t && (s && (l = m[u] || (m[u] = {}),
  719. k = l[m.uniqueID] || (l[m.uniqueID] = {}),
  720. k[a] = [w, t]),
  721. m === b))
  722. break;
  723. return t -= e,
  724. t === d || t % d === 0 && t / d >= 0
  725. }
  726. }
  727. },
  728. PSEUDO: function(a, b) {
  729. var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || ga.error("unsupported pseudo: " + a);
  730. return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b],
  731. d.setFilters.hasOwnProperty(a.toLowerCase()) ? ia(function(a, c) {
  732. var d, f = e(a, b), g = f.length;
  733. while (g--)
  734. d = I(a, f[g]),
  735. a[d] = !(c[d] = f[g])
  736. }) : function(a) {
  737. return e(a, 0, c)
  738. }
  739. ) : e
  740. }
  741. },
  742. pseudos: {
  743. not: ia(function(a) {
  744. var b = []
  745. , c = []
  746. , d = h(a.replace(P, "$1"));
  747. return d[u] ? ia(function(a, b, c, e) {
  748. var f, g = d(a, null, e, []), h = a.length;
  749. while (h--)
  750. (f = g[h]) && (a[h] = !(b[h] = f))
  751. }) : function(a, e, f) {
  752. return b[0] = a,
  753. d(b, null, f, c),
  754. b[0] = null,
  755. !c.pop()
  756. }
  757. }),
  758. has: ia(function(a) {
  759. return function(b) {
  760. return ga(a, b).length > 0
  761. }
  762. }),
  763. contains: ia(function(a) {
  764. return a = a.replace(_, aa),
  765. function(b) {
  766. return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
  767. }
  768. }),
  769. lang: ia(function(a) {
  770. return U.test(a || "") || ga.error("unsupported lang: " + a),
  771. a = a.replace(_, aa).toLowerCase(),
  772. function(b) {
  773. var c;
  774. do
  775. if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))
  776. return c = c.toLowerCase(),
  777. c === a || 0 === c.indexOf(a + "-");
  778. while ((b = b.parentNode) && 1 === b.nodeType);return !1
  779. }
  780. }),
  781. target: function(b) {
  782. var c = a.location && a.location.hash;
  783. return c && c.slice(1) === b.id
  784. },
  785. root: function(a) {
  786. return a === o
  787. },
  788. focus: function(a) {
  789. return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
  790. },
  791. enabled: oa(!1),
  792. disabled: oa(!0),
  793. checked: function(a) {
  794. var b = a.nodeName.toLowerCase();
  795. return "input" === b && !!a.checked || "option" === b && !!a.selected
  796. },
  797. selected: function(a) {
  798. return a.parentNode && a.parentNode.selectedIndex,
  799. a.selected === !0
  800. },
  801. empty: function(a) {
  802. for (a = a.firstChild; a; a = a.nextSibling)
  803. if (a.nodeType < 6)
  804. return !1;
  805. return !0
  806. },
  807. parent: function(a) {
  808. return !d.pseudos.empty(a)
  809. },
  810. header: function(a) {
  811. return X.test(a.nodeName)
  812. },
  813. input: function(a) {
  814. return W.test(a.nodeName)
  815. },
  816. button: function(a) {
  817. var b = a.nodeName.toLowerCase();
  818. return "input" === b && "button" === a.type || "button" === b
  819. },
  820. text: function(a) {
  821. var b;
  822. return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
  823. },
  824. first: pa(function() {
  825. return [0]
  826. }),
  827. last: pa(function(a, b) {
  828. return [b - 1]
  829. }),
  830. eq: pa(function(a, b, c) {
  831. return [c < 0 ? c + b : c]
  832. }),
  833. even: pa(function(a, b) {
  834. for (var c = 0; c < b; c += 2)
  835. a.push(c);
  836. return a
  837. }),
  838. odd: pa(function(a, b) {
  839. for (var c = 1; c < b; c += 2)
  840. a.push(c);
  841. return a
  842. }),
  843. lt: pa(function(a, b, c) {
  844. for (var d = c < 0 ? c + b : c; --d >= 0; )
  845. a.push(d);
  846. return a
  847. }),
  848. gt: pa(function(a, b, c) {
  849. for (var d = c < 0 ? c + b : c; ++d < b; )
  850. a.push(d);
  851. return a
  852. })
  853. }
  854. },
  855. d.pseudos.nth = d.pseudos.eq;
  856. for (b in {
  857. radio: !0,
  858. checkbox: !0,
  859. file: !0,
  860. password: !0,
  861. image: !0
  862. })
  863. d.pseudos[b] = ma(b);
  864. for (b in {
  865. submit: !0,
  866. reset: !0
  867. })
  868. d.pseudos[b] = na(b);
  869. function ra() {}
  870. ra.prototype = d.filters = d.pseudos,
  871. d.setFilters = new ra,
  872. g = ga.tokenize = function(a, b) {
  873. var c, e, f, g, h, i, j, k = z[a + " "];
  874. if (k)
  875. return b ? 0 : k.slice(0);
  876. h = a,
  877. i = [],
  878. j = d.preFilter;
  879. while (h) {
  880. c && !(e = Q.exec(h)) || (e && (h = h.slice(e[0].length) || h),
  881. i.push(f = [])),
  882. c = !1,
  883. (e = R.exec(h)) && (c = e.shift(),
  884. f.push({
  885. value: c,
  886. type: e[0].replace(P, " ")
  887. }),
  888. h = h.slice(c.length));
  889. for (g in d.filter)
  890. !(e = V[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(),
  891. f.push({
  892. value: c,
  893. type: g,
  894. matches: e
  895. }),
  896. h = h.slice(c.length));
  897. if (!c)
  898. break
  899. }
  900. return b ? h.length : h ? ga.error(a) : z(a, i).slice(0)
  901. }
  902. ;
  903. function sa(a) {
  904. for (var b = 0, c = a.length, d = ""; b < c; b++)
  905. d += a[b].value;
  906. return d
  907. }
  908. function ta(a, b, c) {
  909. var d = b.dir
  910. , e = b.next
  911. , f = e || d
  912. , g = c && "parentNode" === f
  913. , h = x++;
  914. return b.first ? function(b, c, e) {
  915. while (b = b[d])
  916. if (1 === b.nodeType || g)
  917. return a(b, c, e);
  918. return !1
  919. }
  920. : function(b, c, i) {
  921. var j, k, l, m = [w, h];
  922. if (i) {
  923. while (b = b[d])
  924. if ((1 === b.nodeType || g) && a(b, c, i))
  925. return !0
  926. } else
  927. while (b = b[d])
  928. if (1 === b.nodeType || g)
  929. if (l = b[u] || (b[u] = {}),
  930. k = l[b.uniqueID] || (l[b.uniqueID] = {}),
  931. e && e === b.nodeName.toLowerCase())
  932. b = b[d] || b;
  933. else {
  934. if ((j = k[f]) && j[0] === w && j[1] === h)
  935. return m[2] = j[2];
  936. if (k[f] = m,
  937. m[2] = a(b, c, i))
  938. return !0
  939. }
  940. return !1
  941. }
  942. }
  943. function ua(a) {
  944. return a.length > 1 ? function(b, c, d) {
  945. var e = a.length;
  946. while (e--)
  947. if (!a[e](b, c, d))
  948. return !1;
  949. return !0
  950. }
  951. : a[0]
  952. }
  953. function va(a, b, c) {
  954. for (var d = 0, e = b.length; d < e; d++)
  955. ga(a, b[d], c);
  956. return c
  957. }
  958. function wa(a, b, c, d, e) {
  959. for (var f, g = [], h = 0, i = a.length, j = null != b; h < i; h++)
  960. (f = a[h]) && (c && !c(f, d, e) || (g.push(f),
  961. j && b.push(h)));
  962. return g
  963. }
  964. function xa(a, b, c, d, e, f) {
  965. return d && !d[u] && (d = xa(d)),
  966. e && !e[u] && (e = xa(e, f)),
  967. ia(function(f, g, h, i) {
  968. var j, k, l, m = [], n = [], o = g.length, p = f || va(b || "*", h.nodeType ? [h] : h, []), q = !a || !f && b ? p : wa(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
  969. if (c && c(q, r, h, i),
  970. d) {
  971. j = wa(r, n),
  972. d(j, [], h, i),
  973. k = j.length;
  974. while (k--)
  975. (l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
  976. }
  977. if (f) {
  978. if (e || a) {
  979. if (e) {
  980. j = [],
  981. k = r.length;
  982. while (k--)
  983. (l = r[k]) && j.push(q[k] = l);
  984. e(null, r = [], j, i)
  985. }
  986. k = r.length;
  987. while (k--)
  988. (l = r[k]) && (j = e ? I(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
  989. }
  990. } else
  991. r = wa(r === g ? r.splice(o, r.length) : r),
  992. e ? e(null, g, r, i) : G.apply(g, r)
  993. })
  994. }
  995. function ya(a) {
  996. for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = ta(function(a) {
  997. return a === b
  998. }, h, !0), l = ta(function(a) {
  999. return I(b, a) > -1
  1000. }, h, !0), m = [function(a, c, d) {
  1001. var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
  1002. return b = null,
  1003. e
  1004. }
  1005. ]; i < f; i++)
  1006. if (c = d.relative[a[i].type])
  1007. m = [ta(ua(m), c)];
  1008. else {
  1009. if (c = d.filter[a[i].type].apply(null, a[i].matches),
  1010. c[u]) {
  1011. for (e = ++i; e < f; e++)
  1012. if (d.relative[a[e].type])
  1013. break;
  1014. return xa(i > 1 && ua(m), i > 1 && sa(a.slice(0, i - 1).concat({
  1015. value: " " === a[i - 2].type ? "*" : ""
  1016. })).replace(P, "$1"), c, i < e && ya(a.slice(i, e)), e < f && ya(a = a.slice(e)), e < f && sa(a))
  1017. }
  1018. m.push(c)
  1019. }
  1020. return ua(m)
  1021. }
  1022. function za(a, b) {
  1023. var c = b.length > 0
  1024. , e = a.length > 0
  1025. , f = function(f, g, h, i, k) {
  1026. var l, o, q, r = 0, s = "0", t = f && [], u = [], v = j, x = f || e && d.find.TAG("*", k), y = w += null == v ? 1 : Math.random() || .1, z = x.length;
  1027. for (k && (j = g === n || g || k); s !== z && null != (l = x[s]); s++) {
  1028. if (e && l) {
  1029. o = 0,
  1030. g || l.ownerDocument === n || (m(l),
  1031. h = !p);
  1032. while (q = a[o++])
  1033. if (q(l, g || n, h)) {
  1034. i.push(l);
  1035. break
  1036. }
  1037. k && (w = y)
  1038. }
  1039. c && ((l = !q && l) && r--,
  1040. f && t.push(l))
  1041. }
  1042. if (r += s,
  1043. c && s !== r) {
  1044. o = 0;
  1045. while (q = b[o++])
  1046. q(t, u, g, h);
  1047. if (f) {
  1048. if (r > 0)
  1049. while (s--)
  1050. t[s] || u[s] || (u[s] = E.call(i));
  1051. u = wa(u)
  1052. }
  1053. G.apply(i, u),
  1054. k && !f && u.length > 0 && r + b.length > 1 && ga.uniqueSort(i)
  1055. }
  1056. return k && (w = y,
  1057. j = v),
  1058. t
  1059. };
  1060. return c ? ia(f) : f
  1061. }
  1062. return h = ga.compile = function(a, b) {
  1063. var c, d = [], e = [], f = A[a + " "];
  1064. if (!f) {
  1065. b || (b = g(a)),
  1066. c = b.length;
  1067. while (c--)
  1068. f = ya(b[c]),
  1069. f[u] ? d.push(f) : e.push(f);
  1070. f = A(a, za(e, d)),
  1071. f.selector = a
  1072. }
  1073. return f
  1074. }
  1075. ,
  1076. i = ga.select = function(a, b, c, e) {
  1077. var f, i, j, k, l, m = "function" == typeof a && a, n = !e && g(a = m.selector || a);
  1078. if (c = c || [],
  1079. 1 === n.length) {
  1080. if (i = n[0] = n[0].slice(0),
  1081. i.length > 2 && "ID" === (j = i[0]).type && 9 === b.nodeType && p && d.relative[i[1].type]) {
  1082. if (b = (d.find.ID(j.matches[0].replace(_, aa), b) || [])[0],
  1083. !b)
  1084. return c;
  1085. m && (b = b.parentNode),
  1086. a = a.slice(i.shift().value.length)
  1087. }
  1088. f = V.needsContext.test(a) ? 0 : i.length;
  1089. while (f--) {
  1090. if (j = i[f],
  1091. d.relative[k = j.type])
  1092. break;
  1093. if ((l = d.find[k]) && (e = l(j.matches[0].replace(_, aa), $.test(i[0].type) && qa(b.parentNode) || b))) {
  1094. if (i.splice(f, 1),
  1095. a = e.length && sa(i),
  1096. !a)
  1097. return G.apply(c, e),
  1098. c;
  1099. break
  1100. }
  1101. }
  1102. }
  1103. return (m || h(a, n))(e, b, !p, c, !b || $.test(a) && qa(b.parentNode) || b),
  1104. c
  1105. }
  1106. ,
  1107. c.sortStable = u.split("").sort(B).join("") === u,
  1108. c.detectDuplicates = !!l,
  1109. m(),
  1110. c.sortDetached = ja(function(a) {
  1111. return 1 & a.compareDocumentPosition(n.createElement("fieldset"))
  1112. }),
  1113. ja(function(a) {
  1114. return a.innerHTML = "<a href='#'></a>",
  1115. "#" === a.firstChild.getAttribute("href")
  1116. }) || ka("type|href|height|width", function(a, b, c) {
  1117. if (!c)
  1118. return a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
  1119. }),
  1120. c.attributes && ja(function(a) {
  1121. return a.innerHTML = "<input/>",
  1122. a.firstChild.setAttribute("value", ""),
  1123. "" === a.firstChild.getAttribute("value")
  1124. }) || ka("value", function(a, b, c) {
  1125. if (!c && "input" === a.nodeName.toLowerCase())
  1126. return a.defaultValue
  1127. }),
  1128. ja(function(a) {
  1129. return null == a.getAttribute("disabled")
  1130. }) || ka(J, function(a, b, c) {
  1131. var d;
  1132. if (!c)
  1133. return a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
  1134. }),
  1135. ga
  1136. }(a);
  1137. r.find = x,
  1138. r.expr = x.selectors,
  1139. r.expr[":"] = r.expr.pseudos,
  1140. r.uniqueSort = r.unique = x.uniqueSort,
  1141. r.text = x.getText,
  1142. r.isXMLDoc = x.isXML,
  1143. r.contains = x.contains,
  1144. r.escapeSelector = x.escape;
  1145. var y = function(a, b, c) {
  1146. var d = []
  1147. , e = void 0 !== c;
  1148. while ((a = a[b]) && 9 !== a.nodeType)
  1149. if (1 === a.nodeType) {
  1150. if (e && r(a).is(c))
  1151. break;
  1152. d.push(a)
  1153. }
  1154. return d
  1155. }
  1156. , z = function(a, b) {
  1157. for (var c = []; a; a = a.nextSibling)
  1158. 1 === a.nodeType && a !== b && c.push(a);
  1159. return c
  1160. }
  1161. , A = r.expr.match.needsContext
  1162. , B = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i
  1163. , C = /^.[^:#\[\.,]*$/;
  1164. function D(a, b, c) {
  1165. return r.isFunction(b) ? r.grep(a, function(a, d) {
  1166. return !!b.call(a, d, a) !== c
  1167. }) : b.nodeType ? r.grep(a, function(a) {
  1168. return a === b !== c
  1169. }) : "string" != typeof b ? r.grep(a, function(a) {
  1170. return i.call(b, a) > -1 !== c
  1171. }) : C.test(b) ? r.filter(b, a, c) : (b = r.filter(b, a),
  1172. r.grep(a, function(a) {
  1173. return i.call(b, a) > -1 !== c && 1 === a.nodeType
  1174. }))
  1175. }
  1176. r.filter = function(a, b, c) {
  1177. var d = b[0];
  1178. return c && (a = ":not(" + a + ")"),
  1179. 1 === b.length && 1 === d.nodeType ? r.find.matchesSelector(d, a) ? [d] : [] : r.find.matches(a, r.grep(b, function(a) {
  1180. return 1 === a.nodeType
  1181. }))
  1182. }
  1183. ,
  1184. r.fn.extend({
  1185. find: function(a) {
  1186. var b, c, d = this.length, e = this;
  1187. if ("string" != typeof a)
  1188. return this.pushStack(r(a).filter(function() {
  1189. for (b = 0; b < d; b++)
  1190. if (r.contains(e[b], this))
  1191. return !0
  1192. }));
  1193. for (c = this.pushStack([]),
  1194. b = 0; b < d; b++)
  1195. r.find(a, e[b], c);
  1196. return d > 1 ? r.uniqueSort(c) : c
  1197. },
  1198. filter: function(a) {
  1199. return this.pushStack(D(this, a || [], !1))
  1200. },
  1201. not: function(a) {
  1202. return this.pushStack(D(this, a || [], !0))
  1203. },
  1204. is: function(a) {
  1205. return !!D(this, "string" == typeof a && A.test(a) ? r(a) : a || [], !1).length
  1206. }
  1207. });
  1208. var E, F = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, G = r.fn.init = function(a, b, c) {
  1209. var e, f;
  1210. if (!a)
  1211. return this;
  1212. if (c = c || E,
  1213. "string" == typeof a) {
  1214. if (e = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : F.exec(a),
  1215. !e || !e[1] && b)
  1216. return !b || b.jquery ? (b || c).find(a) : this.constructor(b).find(a);
  1217. if (e[1]) {
  1218. if (b = b instanceof r ? b[0] : b,
  1219. r.merge(this, r.parseHTML(e[1], b && b.nodeType ? b.ownerDocument || b : d, !0)),
  1220. B.test(e[1]) && r.isPlainObject(b))
  1221. for (e in b)
  1222. r.isFunction(this[e]) ? this[e](b[e]) : this.attr(e, b[e]);
  1223. return this
  1224. }
  1225. return f = d.getElementById(e[2]),
  1226. f && (this[0] = f,
  1227. this.length = 1),
  1228. this
  1229. }
  1230. return a.nodeType ? (this[0] = a,
  1231. this.length = 1,
  1232. this) : r.isFunction(a) ? void 0 !== c.ready ? c.ready(a) : a(r) : r.makeArray(a, this)
  1233. }
  1234. ;
  1235. G.prototype = r.fn,
  1236. E = r(d);
  1237. var H = /^(?:parents|prev(?:Until|All))/
  1238. , I = {
  1239. children: !0,
  1240. contents: !0,
  1241. next: !0,
  1242. prev: !0
  1243. };
  1244. r.fn.extend({
  1245. has: function(a) {
  1246. var b = r(a, this)
  1247. , c = b.length;
  1248. return this.filter(function() {
  1249. for (var a = 0; a < c; a++)
  1250. if (r.contains(this, b[a]))
  1251. return !0
  1252. })
  1253. },
  1254. closest: function(a, b) {
  1255. var c, d = 0, e = this.length, f = [], g = "string" != typeof a && r(a);
  1256. if (!A.test(a))
  1257. for (; d < e; d++)
  1258. for (c = this[d]; c && c !== b; c = c.parentNode)
  1259. if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && r.find.matchesSelector(c, a))) {
  1260. f.push(c);
  1261. break
  1262. }
  1263. return this.pushStack(f.length > 1 ? r.uniqueSort(f) : f)
  1264. },
  1265. index: function(a) {
  1266. return a ? "string" == typeof a ? i.call(r(a), this[0]) : i.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
  1267. },
  1268. add: function(a, b) {
  1269. return this.pushStack(r.uniqueSort(r.merge(this.get(), r(a, b))))
  1270. },
  1271. addBack: function(a) {
  1272. return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
  1273. }
  1274. });
  1275. function J(a, b) {
  1276. while ((a = a[b]) && 1 !== a.nodeType)
  1277. ;
  1278. return a
  1279. }
  1280. r.each({
  1281. parent: function(a) {
  1282. var b = a.parentNode;
  1283. return b && 11 !== b.nodeType ? b : null
  1284. },
  1285. parents: function(a) {
  1286. return y(a, "parentNode")
  1287. },
  1288. parentsUntil: function(a, b, c) {
  1289. return y(a, "parentNode", c)
  1290. },
  1291. next: function(a) {
  1292. return J(a, "nextSibling")
  1293. },
  1294. prev: function(a) {
  1295. return J(a, "previousSibling")
  1296. },
  1297. nextAll: function(a) {
  1298. return y(a, "nextSibling")
  1299. },
  1300. prevAll: function(a) {
  1301. return y(a, "previousSibling")
  1302. },
  1303. nextUntil: function(a, b, c) {
  1304. return y(a, "nextSibling", c)
  1305. },
  1306. prevUntil: function(a, b, c) {
  1307. return y(a, "previousSibling", c)
  1308. },
  1309. siblings: function(a) {
  1310. return z((a.parentNode || {}).firstChild, a)
  1311. },
  1312. children: function(a) {
  1313. return z(a.firstChild)
  1314. },
  1315. contents: function(a) {
  1316. return a.contentDocument || r.merge([], a.childNodes)
  1317. }
  1318. }, function(a, b) {
  1319. r.fn[a] = function(c, d) {
  1320. var e = r.map(this, b, c);
  1321. return "Until" !== a.slice(-5) && (d = c),
  1322. d && "string" == typeof d && (e = r.filter(d, e)),
  1323. this.length > 1 && (I[a] || r.uniqueSort(e),
  1324. H.test(a) && e.reverse()),
  1325. this.pushStack(e)
  1326. }
  1327. });
  1328. var K = /[^\x20\t\r\n\f]+/g;
  1329. function L(a) {
  1330. var b = {};
  1331. return r.each(a.match(K) || [], function(a, c) {
  1332. b[c] = !0
  1333. }),
  1334. b
  1335. }
  1336. r.Callbacks = function(a) {
  1337. a = "string" == typeof a ? L(a) : r.extend({}, a);
  1338. var b, c, d, e, f = [], g = [], h = -1, i = function() {
  1339. for (e = a.once,
  1340. d = b = !0; g.length; h = -1) {
  1341. c = g.shift();
  1342. while (++h < f.length)
  1343. f[h].apply(c[0], c[1]) === !1 && a.stopOnFalse && (h = f.length,
  1344. c = !1)
  1345. }
  1346. a.memory || (c = !1),
  1347. b = !1,
  1348. e && (f = c ? [] : "")
  1349. }, j = {
  1350. add: function() {
  1351. return f && (c && !b && (h = f.length - 1,
  1352. g.push(c)),
  1353. function d(b) {
  1354. r.each(b, function(b, c) {
  1355. r.isFunction(c) ? a.unique && j.has(c) || f.push(c) : c && c.length && "string" !== r.type(c) && d(c)
  1356. })
  1357. }(arguments),
  1358. c && !b && i()),
  1359. this
  1360. },
  1361. remove: function() {
  1362. return r.each(arguments, function(a, b) {
  1363. var c;
  1364. while ((c = r.inArray(b, f, c)) > -1)
  1365. f.splice(c, 1),
  1366. c <= h && h--
  1367. }),
  1368. this
  1369. },
  1370. has: function(a) {
  1371. return a ? r.inArray(a, f) > -1 : f.length > 0
  1372. },
  1373. empty: function() {
  1374. return f && (f = []),
  1375. this
  1376. },
  1377. disable: function() {
  1378. return e = g = [],
  1379. f = c = "",
  1380. this
  1381. },
  1382. disabled: function() {
  1383. return !f
  1384. },
  1385. lock: function() {
  1386. return e = g = [],
  1387. c || b || (f = c = ""),
  1388. this
  1389. },
  1390. locked: function() {
  1391. return !!e
  1392. },
  1393. fireWith: function(a, c) {
  1394. return e || (c = c || [],
  1395. c = [a, c.slice ? c.slice() : c],
  1396. g.push(c),
  1397. b || i()),
  1398. this
  1399. },
  1400. fire: function() {
  1401. return j.fireWith(this, arguments),
  1402. this
  1403. },
  1404. fired: function() {
  1405. return !!d
  1406. }
  1407. };
  1408. return j
  1409. }
  1410. ;
  1411. function M(a) {
  1412. return a
  1413. }
  1414. function N(a) {
  1415. throw a
  1416. }
  1417. function O(a, b, c) {
  1418. var d;
  1419. try {
  1420. a && r.isFunction(d = a.promise) ? d.call(a).done(b).fail(c) : a && r.isFunction(d = a.then) ? d.call(a, b, c) : b.call(void 0, a)
  1421. } catch (a) {
  1422. c.call(void 0, a)
  1423. }
  1424. }
  1425. r.extend({
  1426. Deferred: function(b) {
  1427. var c = [["notify", "progress", r.Callbacks("memory"), r.Callbacks("memory"), 2], ["resolve", "done", r.Callbacks("once memory"), r.Callbacks("once memory"), 0, "resolved"], ["reject", "fail", r.Callbacks("once memory"), r.Callbacks("once memory"), 1, "rejected"]]
  1428. , d = "pending"
  1429. , e = {
  1430. state: function() {
  1431. return d
  1432. },
  1433. always: function() {
  1434. return f.done(arguments).fail(arguments),
  1435. this
  1436. },
  1437. "catch": function(a) {
  1438. return e.then(null, a)
  1439. },
  1440. pipe: function() {
  1441. var a = arguments;
  1442. return r.Deferred(function(b) {
  1443. r.each(c, function(c, d) {
  1444. var e = r.isFunction(a[d[4]]) && a[d[4]];
  1445. f[d[1]](function() {
  1446. var a = e && e.apply(this, arguments);
  1447. a && r.isFunction(a.promise) ? a.promise().progress(b.notify).done(b.resolve).fail(b.reject) : b[d[0] + "With"](this, e ? [a] : arguments)
  1448. })
  1449. }),
  1450. a = null
  1451. }).promise()
  1452. },
  1453. then: function(b, d, e) {
  1454. var f = 0;
  1455. function g(b, c, d, e) {
  1456. return function() {
  1457. var h = this
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement