Greasy Fork is available in English.

jQueryv2.1.4

jQuery_2_1_4

Αυτός ο κώδικας δεν πρέπει να εγκατασταθεί άμεσα. Είναι μια βιβλιοθήκη για άλλους κώδικες που περιλαμβάνεται μέσω της οδηγίας meta // @require https://update.greatest.deepsurf.us/scripts/522211/1511565/jQueryv214.js

  1. // ==UserScript==
  2.  
  3. /*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
  4. 'use strict';
  5. !(function (a, b) {
  6. "object" == typeof module && "object" == typeof module.exports
  7. ? (module.exports = a.document
  8. ? b(a, !0)
  9. : function (a) {
  10. if (!a.document) throw new Error("jQuery requires a window with a document");
  11. return b(a);
  12. })
  13. : b(a);
  14. })("undefined" != typeof window ? window : this, function (a, b) {
  15. var c = [],
  16. d = c.slice,
  17. e = c.concat,
  18. f = c.push,
  19. g = c.indexOf,
  20. h = {},
  21. i = h.toString,
  22. j = h.hasOwnProperty,
  23. k = {},
  24. l = a.document,
  25. m = "2.1.4",
  26. n = function (a, b) {
  27. return new n.fn.init(a, b);
  28. },
  29. o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  30. p = /^-ms-/,
  31. q = /-([\da-z])/gi,
  32. r = function (a, b) {
  33. return b.toUpperCase();
  34. };
  35. (n.fn = n.prototype =
  36. {
  37. jquery: m,
  38. constructor: n,
  39. selector: "",
  40. length: 0,
  41. toArray: function () {
  42. return d.call(this);
  43. },
  44. get: function (a) {
  45. return null != a ? (0 > a ? this[a + this.length] : this[a]) : d.call(this);
  46. },
  47. pushStack: function (a) {
  48. var b = n.merge(this.constructor(), a);
  49. return (b.prevObject = this), (b.context = this.context), b;
  50. },
  51. each: function (a, b) {
  52. return n.each(this, a, b);
  53. },
  54. map: function (a) {
  55. return this.pushStack(
  56. n.map(this, function (b, c) {
  57. return a.call(b, c, b);
  58. })
  59. );
  60. },
  61. slice: function () {
  62. return this.pushStack(d.apply(this, arguments));
  63. },
  64. first: function () {
  65. return this.eq(0);
  66. },
  67. last: function () {
  68. return this.eq(-1);
  69. },
  70. eq: function (a) {
  71. var b = this.length,
  72. c = +a + (0 > a ? b : 0);
  73. return this.pushStack(c >= 0 && b > c ? [this[c]] : []);
  74. },
  75. end: function () {
  76. return this.prevObject || this.constructor(null);
  77. },
  78. push: f,
  79. sort: c.sort,
  80. splice: c.splice,
  81. }),
  82. (n.extend = n.fn.extend =
  83. function () {
  84. var a,
  85. b,
  86. c,
  87. d,
  88. e,
  89. f,
  90. g = arguments[0] || {},
  91. h = 1,
  92. i = arguments.length,
  93. j = !1;
  94. for (
  95. "boolean" == typeof g && ((j = g), (g = arguments[h] || {}), h++),
  96. "object" == typeof g || n.isFunction(g) || (g = {}),
  97. h === i && ((g = this), h--);
  98. i > h;
  99. h++
  100. )
  101. if (null != (a = arguments[h]))
  102. for (b in a)
  103. (c = g[b]),
  104. (d = a[b]),
  105. g !== d &&
  106. (j && d && (n.isPlainObject(d) || (e = n.isArray(d)))
  107. ? (e
  108. ? ((e = !1), (f = c && n.isArray(c) ? c : []))
  109. : (f = c && n.isPlainObject(c) ? c : {}),
  110. (g[b] = n.extend(j, f, d)))
  111. : void 0 !== d && (g[b] = d));
  112. return g;
  113. }),
  114. n.extend({
  115. expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
  116. isReady: !0,
  117. error: function (a) {
  118. throw new Error(a);
  119. },
  120. noop: function () {},
  121. isFunction: function (a) {
  122. return "function" === n.type(a);
  123. },
  124. isArray: Array.isArray,
  125. isWindow: function (a) {
  126. return null != a && a === a.window;
  127. },
  128. isNumeric: function (a) {
  129. return !n.isArray(a) && a - parseFloat(a) + 1 >= 0;
  130. },
  131. isPlainObject: function (a) {
  132. return "object" !== n.type(a) || a.nodeType || n.isWindow(a)
  133. ? !1
  134. : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf")
  135. ? !1
  136. : !0;
  137. },
  138. isEmptyObject: function (a) {
  139. var b;
  140. for (b in a) return !1;
  141. return !0;
  142. },
  143. type: function (a) {
  144. return null == a
  145. ? a + ""
  146. : "object" == typeof a || "function" == typeof a
  147. ? h[i.call(a)] || "object"
  148. : typeof a;
  149. },
  150. globalEval: function (a) {
  151. var b,
  152. c = eval;
  153. (a = n.trim(a)),
  154. a &&
  155. (1 === a.indexOf("use strict")
  156. ? ((b = l.createElement("script")),
  157. (b.text = a),
  158. l.head.appendChild(b).parentNode.removeChild(b))
  159. : c(a));
  160. },
  161. camelCase: function (a) {
  162. return a.replace(p, "ms-").replace(q, r);
  163. },
  164. nodeName: function (a, b) {
  165. return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase();
  166. },
  167. each: function (a, b, c) {
  168. var d,
  169. e = 0,
  170. f = a.length,
  171. g = s(a);
  172. if (c) {
  173. if (g) {
  174. for (; f > e; e++) if (((d = b.apply(a[e], c)), d === !1)) break;
  175. } else for (e in a) if (((d = b.apply(a[e], c)), d === !1)) break;
  176. } else if (g) {
  177. for (; f > e; e++) if (((d = b.call(a[e], e, a[e])), d === !1)) break;
  178. } else for (e in a) if (((d = b.call(a[e], e, a[e])), d === !1)) break;
  179. return a;
  180. },
  181. trim: function (a) {
  182. return null == a ? "" : (a + "").replace(o, "");
  183. },
  184. makeArray: function (a, b) {
  185. var c = b || [];
  186. return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c;
  187. },
  188. inArray: function (a, b, c) {
  189. return null == b ? -1 : g.call(b, a, c);
  190. },
  191. merge: function (a, b) {
  192. for (var c = +b.length, d = 0, e = a.length; c > d; d++) a[e++] = b[d];
  193. return (a.length = e), a;
  194. },
  195. grep: function (a, b, c) {
  196. 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]);
  197. return e;
  198. },
  199. map: function (a, b, c) {
  200. var d,
  201. f = 0,
  202. g = a.length,
  203. h = s(a),
  204. i = [];
  205. if (h) for (; g > f; f++) (d = b(a[f], f, c)), null != d && i.push(d);
  206. else for (f in a) (d = b(a[f], f, c)), null != d && i.push(d);
  207. return e.apply([], i);
  208. },
  209. guid: 1,
  210. proxy: function (a, b) {
  211. var c, e, f;
  212. return (
  213. "string" == typeof b && ((c = a[b]), (b = a), (a = c)),
  214. n.isFunction(a)
  215. ? ((e = d.call(arguments, 2)),
  216. (f = function () {
  217. return a.apply(b || this, e.concat(d.call(arguments)));
  218. }),
  219. (f.guid = a.guid = a.guid || n.guid++),
  220. f)
  221. : void 0
  222. );
  223. },
  224. now: Date.now,
  225. support: k,
  226. }),
  227. n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) {
  228. h["[object " + b + "]"] = b.toLowerCase();
  229. });
  230. function s(a) {
  231. var b = "length" in a && a.length,
  232. c = n.type(a);
  233. return "function" === c || n.isWindow(a)
  234. ? !1
  235. : 1 === a.nodeType && b
  236. ? !0
  237. : "array" === c || 0 === b || ("number" == typeof b && b > 0 && b - 1 in a);
  238. }
  239. var t = (function (a) {
  240. var b,
  241. c,
  242. d,
  243. e,
  244. f,
  245. g,
  246. h,
  247. i,
  248. j,
  249. k,
  250. l,
  251. m,
  252. n,
  253. o,
  254. p,
  255. q,
  256. r,
  257. s,
  258. t,
  259. u = "sizzle" + 1 * new Date(),
  260. v = a.document,
  261. w = 0,
  262. x = 0,
  263. y = ha(),
  264. z = ha(),
  265. A = ha(),
  266. B = function (a, b) {
  267. return a === b && (l = !0), 0;
  268. },
  269. C = 1 << 31,
  270. D = {}.hasOwnProperty,
  271. E = [],
  272. F = E.pop,
  273. G = E.push,
  274. H = E.push,
  275. I = E.slice,
  276. J = function (a, b) {
  277. for (var c = 0, d = a.length; d > c; c++) if (a[c] === b) return c;
  278. return -1;
  279. },
  280. K =
  281. "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  282. L = "[\\x20\\t\\r\\n\\f]",
  283. M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  284. N = M.replace("w", "w#"),
  285. O =
  286. "\\[" +
  287. L +
  288. "*(" +
  289. M +
  290. ")(?:" +
  291. L +
  292. "*([*^$|!~]?=)" +
  293. L +
  294. "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" +
  295. N +
  296. "))|)" +
  297. L +
  298. "*\\]",
  299. P =
  300. ":(" +
  301. M +
  302. ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" +
  303. O +
  304. ")*)|.*)\\)|)",
  305. Q = new RegExp(L + "+", "g"),
  306. R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
  307. S = new RegExp("^" + L + "*," + L + "*"),
  308. T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
  309. U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"),
  310. V = new RegExp(P),
  311. W = new RegExp("^" + N + "$"),
  312. X = {
  313. ID: new RegExp("^#(" + M + ")"),
  314. CLASS: new RegExp("^\\.(" + M + ")"),
  315. TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
  316. ATTR: new RegExp("^" + O),
  317. PSEUDO: new RegExp("^" + P),
  318. CHILD: new RegExp(
  319. "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
  320. L +
  321. "*(even|odd|(([+-]|)(\\d*)n|)" +
  322. L +
  323. "*(?:([+-]|)" +
  324. L +
  325. "*(\\d+)|))" +
  326. L +
  327. "*\\)|)",
  328. "i"
  329. ),
  330. bool: new RegExp("^(?:" + K + ")$", "i"),
  331. needsContext: new RegExp(
  332. "^" +
  333. L +
  334. "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
  335. L +
  336. "*((?:-\\d)?\\d*)" +
  337. L +
  338. "*\\)|)(?=[^-]|$)",
  339. "i"
  340. ),
  341. },
  342. Y = /^(?:input|select|textarea|button)$/i,
  343. Z = /^h\d$/i,
  344. $ = /^[^{]+\{\s*\[native \w/,
  345. _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  346. aa = /[+~]/,
  347. ba = /'|\\/g,
  348. ca = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"),
  349. da = function (a, b, c) {
  350. var d = "0x" + b - 65536;
  351. return d !== d || c
  352. ? b
  353. : 0 > d
  354. ? String.fromCharCode(d + 65536)
  355. : String.fromCharCode((d >> 10) | 55296, (1023 & d) | 56320);
  356. },
  357. ea = function () {
  358. m();
  359. };
  360. try {
  361. H.apply((E = I.call(v.childNodes)), v.childNodes), E[v.childNodes.length].nodeType;
  362. } catch (fa) {
  363. H = {
  364. apply: E.length
  365. ? function (a, b) {
  366. G.apply(a, I.call(b));
  367. }
  368. : function (a, b) {
  369. var c = a.length,
  370. d = 0;
  371. while ((a[c++] = b[d++]));
  372. a.length = c - 1;
  373. },
  374. };
  375. }
  376. function ga(a, b, d, e) {
  377. var f, h, j, k, l, o, r, s, w, x;
  378. if (
  379. ((b ? b.ownerDocument || b : v) !== n && m(b),
  380. (b = b || n),
  381. (d = d || []),
  382. (k = b.nodeType),
  383. "string" != typeof a || !a || (1 !== k && 9 !== k && 11 !== k))
  384. )
  385. return d;
  386. if (!e && p) {
  387. if (11 !== k && (f = _.exec(a)))
  388. if ((j = f[1])) {
  389. if (9 === k) {
  390. if (((h = b.getElementById(j)), !h || !h.parentNode)) return d;
  391. if (h.id === j) return d.push(h), d;
  392. } else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j)
  393. return d.push(h), d;
  394. } else {
  395. if (f[2]) return H.apply(d, b.getElementsByTagName(a)), d;
  396. if ((j = f[3]) && c.getElementsByClassName) return H.apply(d, b.getElementsByClassName(j)), d;
  397. }
  398. if (c.qsa && (!q || !q.test(a))) {
  399. if (((s = r = u), (w = b), (x = 1 !== k && a), 1 === k && "object" !== b.nodeName.toLowerCase())) {
  400. (o = g(a)),
  401. (r = b.getAttribute("id")) ? (s = r.replace(ba, "\\$&")) : b.setAttribute("id", s),
  402. (s = "[id='" + s + "'] "),
  403. (l = o.length);
  404. while (l--) o[l] = s + ra(o[l]);
  405. (w = (aa.test(a) && pa(b.parentNode)) || b), (x = o.join(","));
  406. }
  407. if (x)
  408. try {
  409. return H.apply(d, w.querySelectorAll(x)), d;
  410. } catch (y) {
  411. } finally {
  412. r || b.removeAttribute("id");
  413. }
  414. }
  415. }
  416. return i(a.replace(R, "$1"), b, d, e);
  417. }
  418. function ha() {
  419. var a = [];
  420. function b(c, e) {
  421. return a.push(c + " ") > d.cacheLength && delete b[a.shift()], (b[c + " "] = e);
  422. }
  423. return b;
  424. }
  425. function ia(a) {
  426. return (a[u] = !0), a;
  427. }
  428. function ja(a) {
  429. var b = n.createElement("div");
  430. try {
  431. return !!a(b);
  432. } catch (c) {
  433. return !1;
  434. } finally {
  435. b.parentNode && b.parentNode.removeChild(b), (b = null);
  436. }
  437. }
  438. function ka(a, b) {
  439. var c = a.split("|"),
  440. e = a.length;
  441. while (e--) d.attrHandle[c[e]] = b;
  442. }
  443. function la(a, b) {
  444. var c = b && a,
  445. d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
  446. if (d) return d;
  447. if (c) while ((c = c.nextSibling)) if (c === b) return -1;
  448. return a ? 1 : -1;
  449. }
  450. function ma(a) {
  451. return function (b) {
  452. var c = b.nodeName.toLowerCase();
  453. return "input" === c && b.type === a;
  454. };
  455. }
  456. function na(a) {
  457. return function (b) {
  458. var c = b.nodeName.toLowerCase();
  459. return ("input" === c || "button" === c) && b.type === a;
  460. };
  461. }
  462. function oa(a) {
  463. return ia(function (b) {
  464. return (
  465. (b = +b),
  466. ia(function (c, d) {
  467. var e,
  468. f = a([], c.length, b),
  469. g = f.length;
  470. while (g--) c[(e = f[g])] && (c[e] = !(d[e] = c[e]));
  471. })
  472. );
  473. });
  474. }
  475. function pa(a) {
  476. return a && "undefined" != typeof a.getElementsByTagName && a;
  477. }
  478. (c = ga.support = {}),
  479. (f = ga.isXML =
  480. function (a) {
  481. var b = a && (a.ownerDocument || a).documentElement;
  482. return b ? "HTML" !== b.nodeName : !1;
  483. }),
  484. (m = ga.setDocument =
  485. function (a) {
  486. var b,
  487. e,
  488. g = a ? a.ownerDocument || a : v;
  489. return g !== n && 9 === g.nodeType && g.documentElement
  490. ? ((n = g),
  491. (o = g.documentElement),
  492. (e = g.defaultView),
  493. e &&
  494. e !== e.top &&
  495. (e.addEventListener
  496. ? e.addEventListener("unload", ea, !1)
  497. : e.attachEvent && e.attachEvent("onunload", ea)),
  498. (p = !f(g)),
  499. (c.attributes = ja(function (a) {
  500. return (a.className = "i"), !a.getAttribute("className");
  501. })),
  502. (c.getElementsByTagName = ja(function (a) {
  503. return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length;
  504. })),
  505. (c.getElementsByClassName = $.test(g.getElementsByClassName)),
  506. (c.getById = ja(function (a) {
  507. return (
  508. (o.appendChild(a).id = u), !g.getElementsByName || !g.getElementsByName(u).length
  509. );
  510. })),
  511. c.getById
  512. ? ((d.find.ID = function (a, b) {
  513. if ("undefined" != typeof b.getElementById && p) {
  514. var c = b.getElementById(a);
  515. return c && c.parentNode ? [c] : [];
  516. }
  517. }),
  518. (d.filter.ID = function (a) {
  519. var b = a.replace(ca, da);
  520. return function (a) {
  521. return a.getAttribute("id") === b;
  522. };
  523. }))
  524. : (delete d.find.ID,
  525. (d.filter.ID = function (a) {
  526. var b = a.replace(ca, da);
  527. return function (a) {
  528. var c =
  529. "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
  530. return c && c.value === b;
  531. };
  532. })),
  533. (d.find.TAG = c.getElementsByTagName
  534. ? function (a, b) {
  535. return "undefined" != typeof b.getElementsByTagName
  536. ? b.getElementsByTagName(a)
  537. : c.qsa
  538. ? b.querySelectorAll(a)
  539. : void 0;
  540. }
  541. : function (a, b) {
  542. var c,
  543. d = [],
  544. e = 0,
  545. f = b.getElementsByTagName(a);
  546. if ("*" === a) {
  547. while ((c = f[e++])) 1 === c.nodeType && d.push(c);
  548. return d;
  549. }
  550. return f;
  551. }),
  552. (d.find.CLASS =
  553. c.getElementsByClassName &&
  554. function (a, b) {
  555. return p ? b.getElementsByClassName(a) : void 0;
  556. }),
  557. (r = []),
  558. (q = []),
  559. (c.qsa = $.test(g.querySelectorAll)) &&
  560. (ja(function (a) {
  561. (o.appendChild(a).innerHTML =
  562. "<a id='" +
  563. u +
  564. "'></a><select id='" +
  565. u +
  566. "-\f]' msallowcapture=''><option selected=''></option></select>"),
  567. a.querySelectorAll("[msallowcapture^='']").length &&
  568. q.push("[*^$]=" + L + "*(?:''|\"\")"),
  569. a.querySelectorAll("[selected]").length ||
  570. q.push("\\[" + L + "*(?:value|" + K + ")"),
  571. a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="),
  572. a.querySelectorAll(":checked").length || q.push(":checked"),
  573. a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]");
  574. }),
  575. ja(function (a) {
  576. var b = g.createElement("input");
  577. b.setAttribute("type", "hidden"),
  578. a.appendChild(b).setAttribute("name", "D"),
  579. a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="),
  580. a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"),
  581. a.querySelectorAll("*,:x"),
  582. q.push(",.*:");
  583. })),
  584. (c.matchesSelector = $.test(
  585. (s =
  586. o.matches ||
  587. o.webkitMatchesSelector ||
  588. o.mozMatchesSelector ||
  589. o.oMatchesSelector ||
  590. o.msMatchesSelector)
  591. )) &&
  592. ja(function (a) {
  593. (c.disconnectedMatch = s.call(a, "div")), s.call(a, "[s!='']:x"), r.push("!=", P);
  594. }),
  595. (q = q.length && new RegExp(q.join("|"))),
  596. (r = r.length && new RegExp(r.join("|"))),
  597. (b = $.test(o.compareDocumentPosition)),
  598. (t =
  599. b || $.test(o.contains)
  600. ? function (a, b) {
  601. var c = 9 === a.nodeType ? a.documentElement : a,
  602. d = b && b.parentNode;
  603. return (
  604. a === d ||
  605. !(
  606. !d ||
  607. 1 !== d.nodeType ||
  608. !(c.contains
  609. ? c.contains(d)
  610. : a.compareDocumentPosition &&
  611. 16 & a.compareDocumentPosition(d))
  612. )
  613. );
  614. }
  615. : function (a, b) {
  616. if (b) while ((b = b.parentNode)) if (b === a) return !0;
  617. return !1;
  618. }),
  619. (B = b
  620. ? function (a, b) {
  621. if (a === b) return (l = !0), 0;
  622. var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
  623. return d
  624. ? d
  625. : ((d =
  626. (a.ownerDocument || a) === (b.ownerDocument || b)
  627. ? a.compareDocumentPosition(b)
  628. : 1),
  629. 1 & d || (!c.sortDetached && b.compareDocumentPosition(a) === d)
  630. ? a === g || (a.ownerDocument === v && t(v, a))
  631. ? -1
  632. : b === g || (b.ownerDocument === v && t(v, b))
  633. ? 1
  634. : k
  635. ? J(k, a) - J(k, b)
  636. : 0
  637. : 4 & d
  638. ? -1
  639. : 1);
  640. }
  641. : function (a, b) {
  642. if (a === b) return (l = !0), 0;
  643. var c,
  644. d = 0,
  645. e = a.parentNode,
  646. f = b.parentNode,
  647. h = [a],
  648. i = [b];
  649. if (!e || !f)
  650. return a === g
  651. ? -1
  652. : b === g
  653. ? 1
  654. : e
  655. ? -1
  656. : f
  657. ? 1
  658. : k
  659. ? J(k, a) - J(k, b)
  660. : 0;
  661. if (e === f) return la(a, b);
  662. c = a;
  663. while ((c = c.parentNode)) h.unshift(c);
  664. c = b;
  665. while ((c = c.parentNode)) i.unshift(c);
  666. while (h[d] === i[d]) d++;
  667. return d ? la(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0;
  668. }),
  669. g)
  670. : n;
  671. }),
  672. (ga.matches = function (a, b) {
  673. return ga(a, null, null, b);
  674. }),
  675. (ga.matchesSelector = function (a, b) {
  676. if (
  677. ((a.ownerDocument || a) !== n && m(a),
  678. (b = b.replace(U, "='$1']")),
  679. !(!c.matchesSelector || !p || (r && r.test(b)) || (q && q.test(b))))
  680. )
  681. try {
  682. var d = s.call(a, b);
  683. if (d || c.disconnectedMatch || (a.document && 11 !== a.document.nodeType)) return d;
  684. } catch (e) {}
  685. return ga(b, n, null, [a]).length > 0;
  686. }),
  687. (ga.contains = function (a, b) {
  688. return (a.ownerDocument || a) !== n && m(a), t(a, b);
  689. }),
  690. (ga.attr = function (a, b) {
  691. (a.ownerDocument || a) !== n && m(a);
  692. var e = d.attrHandle[b.toLowerCase()],
  693. f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
  694. return void 0 !== f
  695. ? f
  696. : c.attributes || !p
  697. ? a.getAttribute(b)
  698. : (f = a.getAttributeNode(b)) && f.specified
  699. ? f.value
  700. : null;
  701. }),
  702. (ga.error = function (a) {
  703. throw new Error("Syntax error, unrecognized expression: " + a);
  704. }),
  705. (ga.uniqueSort = function (a) {
  706. var b,
  707. d = [],
  708. e = 0,
  709. f = 0;
  710. if (((l = !c.detectDuplicates), (k = !c.sortStable && a.slice(0)), a.sort(B), l)) {
  711. while ((b = a[f++])) b === a[f] && (e = d.push(f));
  712. while (e--) a.splice(d[e], 1);
  713. }
  714. return (k = null), a;
  715. }),
  716. (e = ga.getText =
  717. function (a) {
  718. var b,
  719. c = "",
  720. d = 0,
  721. f = a.nodeType;
  722. if (f) {
  723. if (1 === f || 9 === f || 11 === f) {
  724. if ("string" == typeof a.textContent) return a.textContent;
  725. for (a = a.firstChild; a; a = a.nextSibling) c += e(a);
  726. } else if (3 === f || 4 === f) return a.nodeValue;
  727. } else while ((b = a[d++])) c += e(b);
  728. return c;
  729. }),
  730. (d = ga.selectors =
  731. {
  732. cacheLength: 50,
  733. createPseudo: ia,
  734. match: X,
  735. attrHandle: {},
  736. find: {},
  737. relative: {
  738. ">": { dir: "parentNode", first: !0 },
  739. " ": { dir: "parentNode" },
  740. "+": { dir: "previousSibling", first: !0 },
  741. "~": { dir: "previousSibling" },
  742. },
  743. preFilter: {
  744. ATTR: function (a) {
  745. return (
  746. (a[1] = a[1].replace(ca, da)),
  747. (a[3] = (a[3] || a[4] || a[5] || "").replace(ca, da)),
  748. "~=" === a[2] && (a[3] = " " + a[3] + " "),
  749. a.slice(0, 4)
  750. );
  751. },
  752. CHILD: function (a) {
  753. return (
  754. (a[1] = a[1].toLowerCase()),
  755. "nth" === a[1].slice(0, 3)
  756. ? (a[3] || ga.error(a[0]),
  757. (a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3]))),
  758. (a[5] = +(a[7] + a[8] || "odd" === a[3])))
  759. : a[3] && ga.error(a[0]),
  760. a
  761. );
  762. },
  763. PSEUDO: function (a) {
  764. var b,
  765. c = !a[6] && a[2];
  766. return X.CHILD.test(a[0])
  767. ? null
  768. : (a[3]
  769. ? (a[2] = a[4] || a[5] || "")
  770. : c &&
  771. V.test(c) &&
  772. (b = g(c, !0)) &&
  773. (b = c.indexOf(")", c.length - b) - c.length) &&
  774. ((a[0] = a[0].slice(0, b)), (a[2] = c.slice(0, b))),
  775. a.slice(0, 3));
  776. },
  777. },
  778. filter: {
  779. TAG: function (a) {
  780. var b = a.replace(ca, da).toLowerCase();
  781. return "*" === a
  782. ? function () {
  783. return !0;
  784. }
  785. : function (a) {
  786. return a.nodeName && a.nodeName.toLowerCase() === b;
  787. };
  788. },
  789. CLASS: function (a) {
  790. var b = y[a + " "];
  791. return (
  792. b ||
  793. ((b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) &&
  794. y(a, function (a) {
  795. return b.test(
  796. ("string" == typeof a.className && a.className) ||
  797. ("undefined" != typeof a.getAttribute && a.getAttribute("class")) ||
  798. ""
  799. );
  800. }))
  801. );
  802. },
  803. ATTR: function (a, b, c) {
  804. return function (d) {
  805. var e = ga.attr(d, a);
  806. return null == e
  807. ? "!=" === b
  808. : b
  809. ? ((e += ""),
  810. "=" === b
  811. ? e === c
  812. : "!=" === b
  813. ? e !== c
  814. : "^=" === b
  815. ? c && 0 === e.indexOf(c)
  816. : "*=" === b
  817. ? c && e.indexOf(c) > -1
  818. : "$=" === b
  819. ? c && e.slice(-c.length) === c
  820. : "~=" === b
  821. ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1
  822. : "|=" === b
  823. ? e === c || e.slice(0, c.length + 1) === c + "-"
  824. : !1)
  825. : !0;
  826. };
  827. },
  828. CHILD: function (a, b, c, d, e) {
  829. var f = "nth" !== a.slice(0, 3),
  830. g = "last" !== a.slice(-4),
  831. h = "of-type" === b;
  832. return 1 === d && 0 === e
  833. ? function (a) {
  834. return !!a.parentNode;
  835. }
  836. : function (b, c, i) {
  837. var j,
  838. k,
  839. l,
  840. m,
  841. n,
  842. o,
  843. p = f !== g ? "nextSibling" : "previousSibling",
  844. q = b.parentNode,
  845. r = h && b.nodeName.toLowerCase(),
  846. s = !i && !h;
  847. if (q) {
  848. if (f) {
  849. while (p) {
  850. l = b;
  851. while ((l = l[p]))
  852. if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType)
  853. return !1;
  854. o = p = "only" === a && !o && "nextSibling";
  855. }
  856. return !0;
  857. }
  858. if (((o = [g ? q.firstChild : q.lastChild]), g && s)) {
  859. (k = q[u] || (q[u] = {})),
  860. (j = k[a] || []),
  861. (n = j[0] === w && j[1]),
  862. (m = j[0] === w && j[2]),
  863. (l = n && q.childNodes[n]);
  864. while ((l = (++n && l && l[p]) || (m = n = 0) || o.pop()))
  865. if (1 === l.nodeType && ++m && l === b) {
  866. k[a] = [w, n, m];
  867. break;
  868. }
  869. } else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) m = j[1];
  870. else
  871. while ((l = (++n && l && l[p]) || (m = n = 0) || o.pop()))
  872. if (
  873. (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) &&
  874. ++m &&
  875. (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)
  876. )
  877. break;
  878. return (m -= e), m === d || (m % d === 0 && m / d >= 0);
  879. }
  880. };
  881. },
  882. PSEUDO: function (a, b) {
  883. var c,
  884. e =
  885. d.pseudos[a] ||
  886. d.setFilters[a.toLowerCase()] ||
  887. ga.error("unsupported pseudo: " + a);
  888. return e[u]
  889. ? e(b)
  890. : e.length > 1
  891. ? ((c = [a, a, "", b]),
  892. d.setFilters.hasOwnProperty(a.toLowerCase())
  893. ? ia(function (a, c) {
  894. var d,
  895. f = e(a, b),
  896. g = f.length;
  897. while (g--) (d = J(a, f[g])), (a[d] = !(c[d] = f[g]));
  898. })
  899. : function (a) {
  900. return e(a, 0, c);
  901. })
  902. : e;
  903. },
  904. },
  905. pseudos: {
  906. not: ia(function (a) {
  907. var b = [],
  908. c = [],
  909. d = h(a.replace(R, "$1"));
  910. return d[u]
  911. ? ia(function (a, b, c, e) {
  912. var f,
  913. g = d(a, null, e, []),
  914. h = a.length;
  915. while (h--) (f = g[h]) && (a[h] = !(b[h] = f));
  916. })
  917. : function (a, e, f) {
  918. return (b[0] = a), d(b, null, f, c), (b[0] = null), !c.pop();
  919. };
  920. }),
  921. has: ia(function (a) {
  922. return function (b) {
  923. return ga(a, b).length > 0;
  924. };
  925. }),
  926. contains: ia(function (a) {
  927. return (
  928. (a = a.replace(ca, da)),
  929. function (b) {
  930. return (b.textContent || b.innerText || e(b)).indexOf(a) > -1;
  931. }
  932. );
  933. }),
  934. lang: ia(function (a) {
  935. return (
  936. W.test(a || "") || ga.error("unsupported lang: " + a),
  937. (a = a.replace(ca, da).toLowerCase()),
  938. function (b) {
  939. var c;
  940. do
  941. if ((c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")))
  942. return (c = c.toLowerCase()), c === a || 0 === c.indexOf(a + "-");
  943. while ((b = b.parentNode) && 1 === b.nodeType);
  944. return !1;
  945. }
  946. );
  947. }),
  948. target: function (b) {
  949. var c = a.location && a.location.hash;
  950. return c && c.slice(1) === b.id;
  951. },
  952. root: function (a) {
  953. return a === o;
  954. },
  955. focus: function (a) {
  956. return (
  957. a === n.activeElement &&
  958. (!n.hasFocus || n.hasFocus()) &&
  959. !!(a.type || a.href || ~a.tabIndex)
  960. );
  961. },
  962. enabled: function (a) {
  963. return a.disabled === !1;
  964. },
  965. disabled: function (a) {
  966. return a.disabled === !0;
  967. },
  968. checked: function (a) {
  969. var b = a.nodeName.toLowerCase();
  970. return ("input" === b && !!a.checked) || ("option" === b && !!a.selected);
  971. },
  972. selected: function (a) {
  973. return a.parentNode && a.parentNode.selectedIndex, a.selected === !0;
  974. },
  975. empty: function (a) {
  976. for (a = a.firstChild; a; a = a.nextSibling) if (a.nodeType < 6) return !1;
  977. return !0;
  978. },
  979. parent: function (a) {
  980. return !d.pseudos.empty(a);
  981. },
  982. header: function (a) {
  983. return Z.test(a.nodeName);
  984. },
  985. input: function (a) {
  986. return Y.test(a.nodeName);
  987. },
  988. button: function (a) {
  989. var b = a.nodeName.toLowerCase();
  990. return ("input" === b && "button" === a.type) || "button" === b;
  991. },
  992. text: function (a) {
  993. var b;
  994. return (
  995. "input" === a.nodeName.toLowerCase() &&
  996. "text" === a.type &&
  997. (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
  998. );
  999. },
  1000. first: oa(function () {
  1001. return [0];
  1002. }),
  1003. last: oa(function (a, b) {
  1004. return [b - 1];
  1005. }),
  1006. eq: oa(function (a, b, c) {
  1007. return [0 > c ? c + b : c];
  1008. }),
  1009. even: oa(function (a, b) {
  1010. for (var c = 0; b > c; c += 2) a.push(c);
  1011. return a;
  1012. }),
  1013. odd: oa(function (a, b) {
  1014. for (var c = 1; b > c; c += 2) a.push(c);
  1015. return a;
  1016. }),
  1017. lt: oa(function (a, b, c) {
  1018. for (var d = 0 > c ? c + b : c; --d >= 0; ) a.push(d);
  1019. return a;
  1020. }),
  1021. gt: oa(function (a, b, c) {
  1022. for (var d = 0 > c ? c + b : c; ++d < b; ) a.push(d);
  1023. return a;
  1024. }),
  1025. },
  1026. }),
  1027. (d.pseudos.nth = d.pseudos.eq);
  1028. for (b in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) d.pseudos[b] = ma(b);
  1029. for (b in { submit: !0, reset: !0 }) d.pseudos[b] = na(b);
  1030. function qa() {}
  1031. (qa.prototype = d.filters = d.pseudos),
  1032. (d.setFilters = new qa()),
  1033. (g = ga.tokenize =
  1034. function (a, b) {
  1035. var c,
  1036. e,
  1037. f,
  1038. g,
  1039. h,
  1040. i,
  1041. j,
  1042. k = z[a + " "];
  1043. if (k) return b ? 0 : k.slice(0);
  1044. (h = a), (i = []), (j = d.preFilter);
  1045. while (h) {
  1046. (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push((f = []))),
  1047. (c = !1),
  1048. (e = T.exec(h)) &&
  1049. ((c = e.shift()),
  1050. f.push({ value: c, type: e[0].replace(R, " ") }),
  1051. (h = h.slice(c.length)));
  1052. for (g in d.filter)
  1053. !(e = X[g].exec(h)) ||
  1054. (j[g] && !(e = j[g](e))) ||
  1055. ((c = e.shift()), f.push({ value: c, type: g, matches: e }), (h = h.slice(c.length)));
  1056. if (!c) break;
  1057. }
  1058. return b ? h.length : h ? ga.error(a) : z(a, i).slice(0);
  1059. });
  1060. function ra(a) {
  1061. for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
  1062. return d;
  1063. }
  1064. function sa(a, b, c) {
  1065. var d = b.dir,
  1066. e = c && "parentNode" === d,
  1067. f = x++;
  1068. return b.first
  1069. ? function (b, c, f) {
  1070. while ((b = b[d])) if (1 === b.nodeType || e) return a(b, c, f);
  1071. }
  1072. : function (b, c, g) {
  1073. var h,
  1074. i,
  1075. j = [w, f];
  1076. if (g) {
  1077. while ((b = b[d])) if ((1 === b.nodeType || e) && a(b, c, g)) return !0;
  1078. } else
  1079. while ((b = b[d]))
  1080. if (1 === b.nodeType || e) {
  1081. if (((i = b[u] || (b[u] = {})), (h = i[d]) && h[0] === w && h[1] === f))
  1082. return (j[2] = h[2]);
  1083. if (((i[d] = j), (j[2] = a(b, c, g)))) return !0;
  1084. }
  1085. };
  1086. }
  1087. function ta(a) {
  1088. return a.length > 1
  1089. ? function (b, c, d) {
  1090. var e = a.length;
  1091. while (e--) if (!a[e](b, c, d)) return !1;
  1092. return !0;
  1093. }
  1094. : a[0];
  1095. }
  1096. function ua(a, b, c) {
  1097. for (var d = 0, e = b.length; e > d; d++) ga(a, b[d], c);
  1098. return c;
  1099. }
  1100. function va(a, b, c, d, e) {
  1101. for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)
  1102. (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
  1103. return g;
  1104. }
  1105. function wa(a, b, c, d, e, f) {
  1106. return (
  1107. d && !d[u] && (d = wa(d)),
  1108. e && !e[u] && (e = wa(e, f)),
  1109. ia(function (f, g, h, i) {
  1110. var j,
  1111. k,
  1112. l,
  1113. m = [],
  1114. n = [],
  1115. o = g.length,
  1116. p = f || ua(b || "*", h.nodeType ? [h] : h, []),
  1117. q = !a || (!f && b) ? p : va(p, m, a, h, i),
  1118. r = c ? (e || (f ? a : o || d) ? [] : g) : q;
  1119. if ((c && c(q, r, h, i), d)) {
  1120. (j = va(r, n)), d(j, [], h, i), (k = j.length);
  1121. while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l));
  1122. }
  1123. if (f) {
  1124. if (e || a) {
  1125. if (e) {
  1126. (j = []), (k = r.length);
  1127. while (k--) (l = r[k]) && j.push((q[k] = l));
  1128. e(null, (r = []), j, i);
  1129. }
  1130. k = r.length;
  1131. while (k--) (l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l));
  1132. }
  1133. } else (r = va(r === g ? r.splice(o, r.length) : r)), e ? e(null, g, r, i) : H.apply(g, r);
  1134. })
  1135. );
  1136. }
  1137. function xa(a) {
  1138. for (
  1139. var b,
  1140. c,
  1141. e,
  1142. f = a.length,
  1143. g = d.relative[a[0].type],
  1144. h = g || d.relative[" "],
  1145. i = g ? 1 : 0,
  1146. k = sa(
  1147. function (a) {
  1148. return a === b;
  1149. },
  1150. h,
  1151. !0
  1152. ),
  1153. l = sa(
  1154. function (a) {
  1155. return J(b, a) > -1;
  1156. },
  1157. h,
  1158. !0
  1159. ),
  1160. m = [
  1161. function (a, c, d) {
  1162. var e = (!g && (d || c !== j)) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
  1163. return (b = null), e;
  1164. },
  1165. ];
  1166. f > i;
  1167. i++
  1168. )
  1169. if ((c = d.relative[a[i].type])) m = [sa(ta(m), c)];
  1170. else {
  1171. if (((c = d.filter[a[i].type].apply(null, a[i].matches)), c[u])) {
  1172. for (e = ++i; f > e; e++) if (d.relative[a[e].type]) break;
  1173. return wa(
  1174. i > 1 && ta(m),
  1175. i > 1 &&
  1176. ra(a.slice(0, i - 1).concat({ value: " " === a[i - 2].type ? "*" : "" })).replace(
  1177. R,
  1178. "$1"
  1179. ),
  1180. c,
  1181. e > i && xa(a.slice(i, e)),
  1182. f > e && xa((a = a.slice(e))),
  1183. f > e && ra(a)
  1184. );
  1185. }
  1186. m.push(c);
  1187. }
  1188. return ta(m);
  1189. }
  1190. function ya(a, b) {
  1191. var c = b.length > 0,
  1192. e = a.length > 0,
  1193. f = function (f, g, h, i, k) {
  1194. var l,
  1195. m,
  1196. o,
  1197. p = 0,
  1198. q = "0",
  1199. r = f && [],
  1200. s = [],
  1201. t = j,
  1202. u = f || (e && d.find.TAG("*", k)),
  1203. v = (w += null == t ? 1 : Math.random() || 0.1),
  1204. x = u.length;
  1205. for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
  1206. if (e && l) {
  1207. m = 0;
  1208. while ((o = a[m++]))
  1209. if (o(l, g, h)) {
  1210. i.push(l);
  1211. break;
  1212. }
  1213. k && (w = v);
  1214. }
  1215. c && ((l = !o && l) && p--, f && r.push(l));
  1216. }
  1217. if (((p += q), c && q !== p)) {
  1218. m = 0;
  1219. while ((o = b[m++])) o(r, s, g, h);
  1220. if (f) {
  1221. if (p > 0) while (q--) r[q] || s[q] || (s[q] = F.call(i));
  1222. s = va(s);
  1223. }
  1224. H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && ga.uniqueSort(i);
  1225. }
  1226. return k && ((w = v), (j = t)), r;
  1227. };
  1228. return c ? ia(f) : f;
  1229. }
  1230. return (
  1231. (h = ga.compile =
  1232. function (a, b) {
  1233. var c,
  1234. d = [],
  1235. e = [],
  1236. f = A[a + " "];
  1237. if (!f) {
  1238. b || (b = g(a)), (c = b.length);
  1239. while (c--) (f = xa(b[c])), f[u] ? d.push(f) : e.push(f);
  1240. (f = A(a, ya(e, d))), (f.selector = a);
  1241. }
  1242. return f;
  1243. }),
  1244. (i = ga.select =
  1245. function (a, b, e, f) {
  1246. var i,
  1247. j,
  1248. k,
  1249. l,
  1250. m,
  1251. n = "function" == typeof a && a,
  1252. o = !f && g((a = n.selector || a));
  1253. if (((e = e || []), 1 === o.length)) {
  1254. if (
  1255. ((j = o[0] = o[0].slice(0)),
  1256. j.length > 2 &&
  1257. "ID" === (k = j[0]).type &&
  1258. c.getById &&
  1259. 9 === b.nodeType &&
  1260. p &&
  1261. d.relative[j[1].type])
  1262. ) {
  1263. if (((b = (d.find.ID(k.matches[0].replace(ca, da), b) || [])[0]), !b)) return e;
  1264. n && (b = b.parentNode), (a = a.slice(j.shift().value.length));
  1265. }
  1266. i = X.needsContext.test(a) ? 0 : j.length;
  1267. while (i--) {
  1268. if (((k = j[i]), d.relative[(l = k.type)])) break;
  1269. if (
  1270. (m = d.find[l]) &&
  1271. (f = m(k.matches[0].replace(ca, da), (aa.test(j[0].type) && pa(b.parentNode)) || b))
  1272. ) {
  1273. if ((j.splice(i, 1), (a = f.length && ra(j)), !a)) return H.apply(e, f), e;
  1274. break;
  1275. }
  1276. }
  1277. }
  1278. return (n || h(a, o))(f, b, !p, e, (aa.test(a) && pa(b.parentNode)) || b), e;
  1279. }),
  1280. (c.sortStable = u.split("").sort(B).join("") === u),
  1281. (c.detectDuplicates = !!l),
  1282. m(),
  1283. (c.sortDetached = ja(function (a) {
  1284. return 1 & a.compareDocumentPosition(n.createElement("div"));
  1285. })),
  1286. ja(function (a) {
  1287. return (a.innerHTML = "<a href='#'></a>"), "#" === a.firstChild.getAttribute("href");
  1288. }) ||
  1289. ka("type|href|height|width", function (a, b, c) {
  1290. return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2);
  1291. }),
  1292. (c.attributes &&
  1293. ja(function (a) {
  1294. return (
  1295. (a.innerHTML = "<input/>"),
  1296. a.firstChild.setAttribute("value", ""),
  1297. "" === a.firstChild.getAttribute("value")
  1298. );
  1299. })) ||
  1300. ka("value", function (a, b, c) {
  1301. return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue;
  1302. }),
  1303. ja(function (a) {
  1304. return null == a.getAttribute("disabled");
  1305. }) ||
  1306. ka(K, function (a, b, c) {
  1307. var d;
  1308. return c
  1309. ? void 0
  1310. : a[b] === !0
  1311. ? b.toLowerCase()
  1312. : (d = a.getAttributeNode(b)) && d.specified
  1313. ? d.value
  1314. : null;
  1315. }),
  1316. ga
  1317. );
  1318. })(a);
  1319. (n.find = t),
  1320. (n.expr = t.selectors),
  1321. (n.expr[":"] = n.expr.pseudos),
  1322. (n.unique = t.uniqueSort),
  1323. (n.text = t.getText),
  1324. (n.isXMLDoc = t.isXML),
  1325. (n.contains = t.contains);
  1326. var u = n.expr.match.needsContext,
  1327. v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  1328. w = /^.[^:#\[\.,]*$/;
  1329. function x(a, b, c) {
  1330. if (n.isFunction(b))
  1331. return n.grep(a, function (a, d) {
  1332. return !!b.call(a, d, a) !== c;
  1333. });
  1334. if (b.nodeType)
  1335. return n.grep(a, function (a) {
  1336. return (a === b) !== c;
  1337. });
  1338. if ("string" == typeof b) {
  1339. if (w.test(b)) return n.filter(b, a, c);
  1340. b = n.filter(b, a);
  1341. }
  1342. return n.grep(a, function (a) {
  1343. return g.call(b, a) >= 0 !== c;
  1344. });
  1345. }
  1346. (n.filter = function (a, b, c) {
  1347. var d = b[0];
  1348. return (
  1349. c && (a = ":not(" + a + ")"),
  1350. 1 === b.length && 1 === d.nodeType
  1351. ? n.find.matchesSelector(d, a)
  1352. ? [d]
  1353. : []
  1354. : n.find.matches(
  1355. a,
  1356. n.grep(b, function (a) {
  1357. return 1 === a.nodeType;
  1358. })
  1359. )
  1360. );
  1361. }),
  1362. n.fn.extend({
  1363. find: function (a) {
  1364. var b,
  1365. c = this.length,
  1366. d = [],
  1367. e = this;
  1368. if ("string" != typeof a)
  1369. return this.pushStack(
  1370. n(a).filter(function () {
  1371. for (b = 0; c > b; b++) if (n.contains(e[b], this)) return !0;
  1372. })
  1373. );
  1374. for (b = 0; c > b; b++) n.find(a, e[b], d);
  1375. return (
  1376. (d = this.pushStack(c > 1 ? n.unique(d) : d)),
  1377. (d.selector = this.selector ? this.selector + " " + a : a),
  1378. d
  1379. );
  1380. },
  1381. filter: function (a) {
  1382. return this.pushStack(x(this, a || [], !1));
  1383. },
  1384. not: function (a) {
  1385. return this.pushStack(x(this, a || [], !0));
  1386. },
  1387. is: function (a) {
  1388. return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length;
  1389. },
  1390. });
  1391. var y,
  1392. z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  1393. A = (n.fn.init = function (a, b) {
  1394. var c, d;
  1395. if (!a) return this;
  1396. if ("string" == typeof a) {
  1397. if (
  1398. ((c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a)),
  1399. !c || (!c[1] && b))
  1400. )
  1401. return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
  1402. if (c[1]) {
  1403. if (
  1404. ((b = b instanceof n ? b[0] : b),
  1405. n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)),
  1406. v.test(c[1]) && n.isPlainObject(b))
  1407. )
  1408. for (c in b) n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
  1409. return this;
  1410. }
  1411. return (
  1412. (d = l.getElementById(c[2])),
  1413. d && d.parentNode && ((this.length = 1), (this[0] = d)),
  1414. (this.context = l),
  1415. (this.selector = a),
  1416. this
  1417. );
  1418. }
  1419. return a.nodeType
  1420. ? ((this.context = this[0] = a), (this.length = 1), this)
  1421. : n.isFunction(a)
  1422. ? "undefined" != typeof y.ready
  1423. ? y.ready(a)
  1424. : a(n)
  1425. : (void 0 !== a.selector && ((this.selector = a.selector), (this.context = a.context)),
  1426. n.makeArray(a, this));
  1427. });
  1428. (A.prototype = n.fn), (y = n(l));
  1429. var B = /^(?:parents|prev(?:Until|All))/,
  1430. C = { children: !0, contents: !0, next: !0, prev: !0 };
  1431. n.extend({
  1432. dir: function (a, b, c) {
  1433. var d = [],
  1434. e = void 0 !== c;
  1435. while ((a = a[b]) && 9 !== a.nodeType)
  1436. if (1 === a.nodeType) {
  1437. if (e && n(a).is(c)) break;
  1438. d.push(a);
  1439. }
  1440. return d;
  1441. },
  1442. sibling: function (a, b) {
  1443. for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
  1444. return c;
  1445. },
  1446. }),
  1447. n.fn.extend({
  1448. has: function (a) {
  1449. var b = n(a, this),
  1450. c = b.length;
  1451. return this.filter(function () {
  1452. for (var a = 0; c > a; a++) if (n.contains(this, b[a])) return !0;
  1453. });
  1454. },
  1455. closest: function (a, b) {
  1456. for (
  1457. var c,
  1458. d = 0,
  1459. e = this.length,
  1460. f = [],
  1461. g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0;
  1462. e > d;
  1463. d++
  1464. )
  1465. for (c = this[d]; c && c !== b; c = c.parentNode)
  1466. if (
  1467. c.nodeType < 11 &&
  1468. (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))
  1469. ) {
  1470. f.push(c);
  1471. break;
  1472. }
  1473. return this.pushStack(f.length > 1 ? n.unique(f) : f);
  1474. },
  1475. index: function (a) {
  1476. return a
  1477. ? "string" == typeof a
  1478. ? g.call(n(a), this[0])
  1479. : g.call(this, a.jquery ? a[0] : a)
  1480. : this[0] && this[0].parentNode
  1481. ? this.first().prevAll().length
  1482. : -1;
  1483. },
  1484. add: function (a, b) {
  1485. return this.pushStack(n.unique(n.merge(this.get(), n(a, b))));
  1486. },
  1487. addBack: function (a) {
  1488. return this.add(null == a ? this.prevObject : this.prevObject.filter(a));
  1489. },
  1490. });
  1491. function D(a, b) {
  1492. while ((a = a[b]) && 1 !== a.nodeType);
  1493. return a;
  1494. }
  1495. n.each(
  1496. {
  1497. parent: function (a) {
  1498. var b = a.parentNode;
  1499. return b && 11 !== b.nodeType ? b : null;
  1500. },
  1501. parents: function (a) {
  1502. return n.dir(a, "parentNode");
  1503. },
  1504. parentsUntil: function (a, b, c) {
  1505. return n.dir(a, "parentNode", c);
  1506. },
  1507. next: function (a) {
  1508. return D(a, "nextSibling");
  1509. },
  1510. prev: function (a) {
  1511. return D(a, "previousSibling");
  1512. },
  1513. nextAll: function (a) {
  1514. return n.dir(a, "nextSibling");
  1515. },
  1516. prevAll: function (a) {
  1517. return n.dir(a, "previousSibling");
  1518. },
  1519. nextUntil: function (a, b, c) {
  1520. return n.dir(a, "nextSibling", c);
  1521. },
  1522. prevUntil: function (a, b, c) {
  1523. return n.dir(a, "previousSibling", c);
  1524. },
  1525. siblings: function (a) {
  1526. return n.sibling((a.parentNode || {}).firstChild, a);
  1527. },
  1528. children: function (a) {
  1529. return n.sibling(a.firstChild);
  1530. },
  1531. contents: function (a) {
  1532. return a.contentDocument || n.merge([], a.childNodes);
  1533. },
  1534. },
  1535. function (a, b) {
  1536. n.fn[a] = function (c, d) {
  1537. var e = n.map(this, b, c);
  1538. return (
  1539. "Until" !== a.slice(-5) && (d = c),
  1540. d && "string" == typeof d && (e = n.filter(d, e)),
  1541. this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()),
  1542. this.pushStack(e)
  1543. );
  1544. };
  1545. }
  1546. );
  1547. var E = /\S+/g,
  1548. F = {};
  1549. function G(a) {
  1550. var b = (F[a] = {});
  1551. return (
  1552. n.each(a.match(E) || [], function (a, c) {
  1553. b[c] = !0;
  1554. }),
  1555. b
  1556. );
  1557. }
  1558. (n.Callbacks = function (a) {
  1559. a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a);
  1560. var b,
  1561. c,
  1562. d,
  1563. e,
  1564. f,
  1565. g,
  1566. h = [],
  1567. i = !a.once && [],
  1568. j = function (l) {
  1569. for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++)
  1570. if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
  1571. b = !1;
  1572. break;
  1573. }
  1574. (d = !1), h && (i ? i.length && j(i.shift()) : b ? (h = []) : k.disable());
  1575. },
  1576. k = {
  1577. add: function () {
  1578. if (h) {
  1579. var c = h.length;
  1580. !(function g(b) {
  1581. n.each(b, function (b, c) {
  1582. var d = n.type(c);
  1583. "function" === d
  1584. ? (a.unique && k.has(c)) || h.push(c)
  1585. : c && c.length && "string" !== d && g(c);
  1586. });
  1587. })(arguments),
  1588. d ? (f = h.length) : b && ((e = c), j(b));
  1589. }
  1590. return this;
  1591. },
  1592. remove: function () {
  1593. return (
  1594. h &&
  1595. n.each(arguments, function (a, b) {
  1596. var c;
  1597. while ((c = n.inArray(b, h, c)) > -1)
  1598. h.splice(c, 1), d && (f >= c && f--, g >= c && g--);
  1599. }),
  1600. this
  1601. );
  1602. },
  1603. has: function (a) {
  1604. return a ? n.inArray(a, h) > -1 : !(!h || !h.length);
  1605. },
  1606. empty: function () {
  1607. return (h = []), (f = 0), this;
  1608. },
  1609. disable: function () {
  1610. return (h = i = b = void 0), this;
  1611. },
  1612. disabled: function () {
  1613. return !h;
  1614. },
  1615. lock: function () {
  1616. return (i = void 0), b || k.disable(), this;
  1617. },
  1618. locked: function () {
  1619. return !i;
  1620. },
  1621. fireWith: function (a, b) {
  1622. return (
  1623. !h || (c && !i) || ((b = b || []), (b = [a, b.slice ? b.slice() : b]), d ? i.push(b) : j(b)),
  1624. this
  1625. );
  1626. },
  1627. fire: function () {
  1628. return k.fireWith(this, arguments), this;
  1629. },
  1630. fired: function () {
  1631. return !!c;
  1632. },
  1633. };
  1634. return k;
  1635. }),
  1636. n.extend({
  1637. Deferred: function (a) {
  1638. var b = [
  1639. ["resolve", "done", n.Callbacks("once memory"), "resolved"],
  1640. ["reject", "fail", n.Callbacks("once memory"), "rejected"],
  1641. ["notify", "progress", n.Callbacks("memory")],
  1642. ],
  1643. c = "pending",
  1644. d = {
  1645. state: function () {
  1646. return c;
  1647. },
  1648. always: function () {
  1649. return e.done(arguments).fail(arguments), this;
  1650. },
  1651. then: function () {
  1652. var a = arguments;
  1653. return n
  1654. .Deferred(function (c) {
  1655. n.each(b, function (b, f) {
  1656. var g = n.isFunction(a[b]) && a[b];
  1657. e[f[1]](function () {
  1658. var a = g && g.apply(this, arguments);
  1659. a && n.isFunction(a.promise)
  1660. ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify)
  1661. : c[f[0] + "With"](
  1662. this === d ? c.promise() : this,
  1663. g ? [a] : arguments
  1664. );
  1665. });
  1666. }),
  1667. (a = null);
  1668. })
  1669. .promise();
  1670. },
  1671. promise: function (a) {
  1672. return null != a ? n.extend(a, d) : d;
  1673. },
  1674. },
  1675. e = {};
  1676. return (
  1677. (d.pipe = d.then),
  1678. n.each(b, function (a, f) {
  1679. var g = f[2],
  1680. h = f[3];
  1681. (d[f[1]] = g.add),
  1682. h &&
  1683. g.add(
  1684. function () {
  1685. c = h;
  1686. },
  1687. b[1 ^ a][2].disable,
  1688. b[2][2].lock
  1689. ),
  1690. (e[f[0]] = function () {
  1691. return e[f[0] + "With"](this === e ? d : this, arguments), this;
  1692. }),
  1693. (e[f[0] + "With"] = g.fireWith);
  1694. }),
  1695. d.promise(e),
  1696. a && a.call(e, e),
  1697. e
  1698. );
  1699. },
  1700. when: function (a) {
  1701. var b = 0,
  1702. c = d.call(arguments),
  1703. e = c.length,
  1704. f = 1 !== e || (a && n.isFunction(a.promise)) ? e : 0,
  1705. g = 1 === f ? a : n.Deferred(),
  1706. h = function (a, b, c) {
  1707. return function (e) {
  1708. (b[a] = this),
  1709. (c[a] = arguments.length > 1 ? d.call(arguments) : e),
  1710. c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c);
  1711. };
  1712. },
  1713. i,
  1714. j,
  1715. k;
  1716. if (e > 1)
  1717. for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)
  1718. c[b] && n.isFunction(c[b].promise)
  1719. ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i))
  1720. : --f;
  1721. return f || g.resolveWith(k, c), g.promise();
  1722. },
  1723. });
  1724. var H;
  1725. (n.fn.ready = function (a) {
  1726. return n.ready.promise().done(a), this;
  1727. }),
  1728. n.extend({
  1729. isReady: !1,
  1730. readyWait: 1,
  1731. holdReady: function (a) {
  1732. a ? n.readyWait++ : n.ready(!0);
  1733. },
  1734. ready: function (a) {
  1735. (a === !0 ? --n.readyWait : n.isReady) ||
  1736. ((n.isReady = !0),
  1737. (a !== !0 && --n.readyWait > 0) ||
  1738. (H.resolveWith(l, [n]),
  1739. n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready"))));
  1740. },
  1741. });
  1742. function I() {
  1743. l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready();
  1744. }
  1745. (n.ready.promise = function (b) {
  1746. return (
  1747. H ||
  1748. ((H = n.Deferred()),
  1749. "complete" === l.readyState
  1750. ? setTimeout(n.ready)
  1751. : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))),
  1752. H.promise(b)
  1753. );
  1754. }),
  1755. n.ready.promise();
  1756. var J = (n.access = function (a, b, c, d, e, f, g) {
  1757. var h = 0,
  1758. i = a.length,
  1759. j = null == c;
  1760. if ("object" === n.type(c)) {
  1761. e = !0;
  1762. for (h in c) n.access(a, b, h, c[h], !0, f, g);
  1763. } else if (
  1764. void 0 !== d &&
  1765. ((e = !0),
  1766. n.isFunction(d) || (g = !0),
  1767. j &&
  1768. (g
  1769. ? (b.call(a, d), (b = null))
  1770. : ((j = b),
  1771. (b = function (a, b, c) {
  1772. return j.call(n(a), c);
  1773. }))),
  1774. b)
  1775. )
  1776. for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
  1777. return e ? a : j ? b.call(a) : i ? b(a[0], c) : f;
  1778. });
  1779. n.acceptData = function (a) {
  1780. return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType;
  1781. };
  1782. function K() {
  1783. Object.defineProperty((this.cache = {}), 0, {
  1784. get: function () {
  1785. return {};
  1786. },
  1787. }),
  1788. (this.expando = n.expando + K.uid++);
  1789. }
  1790. (K.uid = 1),
  1791. (K.accepts = n.acceptData),
  1792. (K.prototype = {
  1793. key: function (a) {
  1794. if (!K.accepts(a)) return 0;
  1795. var b = {},
  1796. c = a[this.expando];
  1797. if (!c) {
  1798. c = K.uid++;
  1799. try {
  1800. (b[this.expando] = { value: c }), Object.defineProperties(a, b);
  1801. } catch (d) {
  1802. (b[this.expando] = c), n.extend(a, b);
  1803. }
  1804. }
  1805. return this.cache[c] || (this.cache[c] = {}), c;
  1806. },
  1807. set: function (a, b, c) {
  1808. var d,
  1809. e = this.key(a),
  1810. f = this.cache[e];
  1811. if ("string" == typeof b) f[b] = c;
  1812. else if (n.isEmptyObject(f)) n.extend(this.cache[e], b);
  1813. else for (d in b) f[d] = b[d];
  1814. return f;
  1815. },
  1816. get: function (a, b) {
  1817. var c = this.cache[this.key(a)];
  1818. return void 0 === b ? c : c[b];
  1819. },
  1820. access: function (a, b, c) {
  1821. var d;
  1822. return void 0 === b || (b && "string" == typeof b && void 0 === c)
  1823. ? ((d = this.get(a, b)), void 0 !== d ? d : this.get(a, n.camelCase(b)))
  1824. : (this.set(a, b, c), void 0 !== c ? c : b);
  1825. },
  1826. remove: function (a, b) {
  1827. var c,
  1828. d,
  1829. e,
  1830. f = this.key(a),
  1831. g = this.cache[f];
  1832. if (void 0 === b) this.cache[f] = {};
  1833. else {
  1834. n.isArray(b)
  1835. ? (d = b.concat(b.map(n.camelCase)))
  1836. : ((e = n.camelCase(b)),
  1837. b in g ? (d = [b, e]) : ((d = e), (d = d in g ? [d] : d.match(E) || []))),
  1838. (c = d.length);
  1839. while (c--) delete g[d[c]];
  1840. }
  1841. },
  1842. hasData: function (a) {
  1843. return !n.isEmptyObject(this.cache[a[this.expando]] || {});
  1844. },
  1845. discard: function (a) {
  1846. a[this.expando] && delete this.cache[a[this.expando]];
  1847. },
  1848. });
  1849. var L = new K(),
  1850. M = new K(),
  1851. N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  1852. O = /([A-Z])/g;
  1853. function P(a, b, c) {
  1854. var d;
  1855. if (void 0 === c && 1 === a.nodeType)
  1856. if (((d = "data-" + b.replace(O, "-$1").toLowerCase()), (c = a.getAttribute(d)), "string" == typeof c)) {
  1857. try {
  1858. c =
  1859. "true" === c
  1860. ? !0
  1861. : "false" === c
  1862. ? !1
  1863. : "null" === c
  1864. ? null
  1865. : +c + "" === c
  1866. ? +c
  1867. : N.test(c)
  1868. ? n.parseJSON(c)
  1869. : c;
  1870. } catch (e) {}
  1871. M.set(a, b, c);
  1872. } else c = void 0;
  1873. return c;
  1874. }
  1875. n.extend({
  1876. hasData: function (a) {
  1877. return M.hasData(a) || L.hasData(a);
  1878. },
  1879. data: function (a, b, c) {
  1880. return M.access(a, b, c);
  1881. },
  1882. removeData: function (a, b) {
  1883. M.remove(a, b);
  1884. },
  1885. _data: function (a, b, c) {
  1886. return L.access(a, b, c);
  1887. },
  1888. _removeData: function (a, b) {
  1889. L.remove(a, b);
  1890. },
  1891. }),
  1892. n.fn.extend({
  1893. data: function (a, b) {
  1894. var c,
  1895. d,
  1896. e,
  1897. f = this[0],
  1898. g = f && f.attributes;
  1899. if (void 0 === a) {
  1900. if (this.length && ((e = M.get(f)), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) {
  1901. c = g.length;
  1902. while (c--)
  1903. g[c] &&
  1904. ((d = g[c].name),
  1905. 0 === d.indexOf("data-") && ((d = n.camelCase(d.slice(5))), P(f, d, e[d])));
  1906. L.set(f, "hasDataAttrs", !0);
  1907. }
  1908. return e;
  1909. }
  1910. return "object" == typeof a
  1911. ? this.each(function () {
  1912. M.set(this, a);
  1913. })
  1914. : J(
  1915. this,
  1916. function (b) {
  1917. var c,
  1918. d = n.camelCase(a);
  1919. if (f && void 0 === b) {
  1920. if (((c = M.get(f, a)), void 0 !== c)) return c;
  1921. if (((c = M.get(f, d)), void 0 !== c)) return c;
  1922. if (((c = P(f, d, void 0)), void 0 !== c)) return c;
  1923. } else
  1924. this.each(function () {
  1925. var c = M.get(this, d);
  1926. M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b);
  1927. });
  1928. },
  1929. null,
  1930. b,
  1931. arguments.length > 1,
  1932. null,
  1933. !0
  1934. );
  1935. },
  1936. removeData: function (a) {
  1937. return this.each(function () {
  1938. M.remove(this, a);
  1939. });
  1940. },
  1941. }),
  1942. n.extend({
  1943. queue: function (a, b, c) {
  1944. var d;
  1945. return a
  1946. ? ((b = (b || "fx") + "queue"),
  1947. (d = L.get(a, b)),
  1948. c && (!d || n.isArray(c) ? (d = L.access(a, b, n.makeArray(c))) : d.push(c)),
  1949. d || [])
  1950. : void 0;
  1951. },
  1952. dequeue: function (a, b) {
  1953. b = b || "fx";
  1954. var c = n.queue(a, b),
  1955. d = c.length,
  1956. e = c.shift(),
  1957. f = n._queueHooks(a, b),
  1958. g = function () {
  1959. n.dequeue(a, b);
  1960. };
  1961. "inprogress" === e && ((e = c.shift()), d--),
  1962. e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)),
  1963. !d && f && f.empty.fire();
  1964. },
  1965. _queueHooks: function (a, b) {
  1966. var c = b + "queueHooks";
  1967. return (
  1968. L.get(a, c) ||
  1969. L.access(a, c, {
  1970. empty: n.Callbacks("once memory").add(function () {
  1971. L.remove(a, [b + "queue", c]);
  1972. }),
  1973. })
  1974. );
  1975. },
  1976. }),
  1977. n.fn.extend({
  1978. queue: function (a, b) {
  1979. var c = 2;
  1980. return (
  1981. "string" != typeof a && ((b = a), (a = "fx"), c--),
  1982. arguments.length < c
  1983. ? n.queue(this[0], a)
  1984. : void 0 === b
  1985. ? this
  1986. : this.each(function () {
  1987. var c = n.queue(this, a, b);
  1988. n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a);
  1989. })
  1990. );
  1991. },
  1992. dequeue: function (a) {
  1993. return this.each(function () {
  1994. n.dequeue(this, a);
  1995. });
  1996. },
  1997. clearQueue: function (a) {
  1998. return this.queue(a || "fx", []);
  1999. },
  2000. promise: function (a, b) {
  2001. var c,
  2002. d = 1,
  2003. e = n.Deferred(),
  2004. f = this,
  2005. g = this.length,
  2006. h = function () {
  2007. --d || e.resolveWith(f, [f]);
  2008. };
  2009. "string" != typeof a && ((b = a), (a = void 0)), (a = a || "fx");
  2010. while (g--) (c = L.get(f[g], a + "queueHooks")), c && c.empty && (d++, c.empty.add(h));
  2011. return h(), e.promise(b);
  2012. },
  2013. });
  2014. var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  2015. R = ["Top", "Right", "Bottom", "Left"],
  2016. S = function (a, b) {
  2017. return (a = b || a), "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a);
  2018. },
  2019. T = /^(?:checkbox|radio)$/i;
  2020. !(function () {
  2021. var a = l.createDocumentFragment(),
  2022. b = a.appendChild(l.createElement("div")),
  2023. c = l.createElement("input");
  2024. c.setAttribute("type", "radio"),
  2025. c.setAttribute("checked", "checked"),
  2026. c.setAttribute("name", "t"),
  2027. b.appendChild(c),
  2028. (k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked),
  2029. (b.innerHTML = "<textarea>x</textarea>"),
  2030. (k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue);
  2031. })();
  2032. var U = "undefined";
  2033. k.focusinBubbles = "onfocusin" in a;
  2034. var V = /^key/,
  2035. W = /^(?:mouse|pointer|contextmenu)|click/,
  2036. X = /^(?:focusinfocus|focusoutblur)$/,
  2037. Y = /^([^.]*)(?:\.(.+)|)$/;
  2038. function Z() {
  2039. return !0;
  2040. }
  2041. function $() {
  2042. return !1;
  2043. }
  2044. function _() {
  2045. try {
  2046. return l.activeElement;
  2047. } catch (a) {}
  2048. }
  2049. (n.event = {
  2050. global: {},
  2051. add: function (a, b, c, d, e) {
  2052. var f,
  2053. g,
  2054. h,
  2055. i,
  2056. j,
  2057. k,
  2058. l,
  2059. m,
  2060. o,
  2061. p,
  2062. q,
  2063. r = L.get(a);
  2064. if (r) {
  2065. c.handler && ((f = c), (c = f.handler), (e = f.selector)),
  2066. c.guid || (c.guid = n.guid++),
  2067. (i = r.events) || (i = r.events = {}),
  2068. (g = r.handle) ||
  2069. (g = r.handle =
  2070. function (b) {
  2071. return typeof n !== U && n.event.triggered !== b.type
  2072. ? n.event.dispatch.apply(a, arguments)
  2073. : void 0;
  2074. }),
  2075. (b = (b || "").match(E) || [""]),
  2076. (j = b.length);
  2077. while (j--)
  2078. (h = Y.exec(b[j]) || []),
  2079. (o = q = h[1]),
  2080. (p = (h[2] || "").split(".").sort()),
  2081. o &&
  2082. ((l = n.event.special[o] || {}),
  2083. (o = (e ? l.delegateType : l.bindType) || o),
  2084. (l = n.event.special[o] || {}),
  2085. (k = n.extend(
  2086. {
  2087. type: o,
  2088. origType: q,
  2089. data: d,
  2090. handler: c,
  2091. guid: c.guid,
  2092. selector: e,
  2093. needsContext: e && n.expr.match.needsContext.test(e),
  2094. namespace: p.join("."),
  2095. },
  2096. f
  2097. )),
  2098. (m = i[o]) ||
  2099. ((m = i[o] = []),
  2100. (m.delegateCount = 0),
  2101. (l.setup && l.setup.call(a, d, p, g) !== !1) ||
  2102. (a.addEventListener && a.addEventListener(o, g, !1))),
  2103. l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)),
  2104. e ? m.splice(m.delegateCount++, 0, k) : m.push(k),
  2105. (n.event.global[o] = !0));
  2106. }
  2107. },
  2108. remove: function (a, b, c, d, e) {
  2109. var f,
  2110. g,
  2111. h,
  2112. i,
  2113. j,
  2114. k,
  2115. l,
  2116. m,
  2117. o,
  2118. p,
  2119. q,
  2120. r = L.hasData(a) && L.get(a);
  2121. if (r && (i = r.events)) {
  2122. (b = (b || "").match(E) || [""]), (j = b.length);
  2123. while (j--)
  2124. if (((h = Y.exec(b[j]) || []), (o = q = h[1]), (p = (h[2] || "").split(".").sort()), o)) {
  2125. (l = n.event.special[o] || {}),
  2126. (o = (d ? l.delegateType : l.bindType) || o),
  2127. (m = i[o] || []),
  2128. (h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)")),
  2129. (g = f = m.length);
  2130. while (f--)
  2131. (k = m[f]),
  2132. (!e && q !== k.origType) ||
  2133. (c && c.guid !== k.guid) ||
  2134. (h && !h.test(k.namespace)) ||
  2135. (d && d !== k.selector && ("**" !== d || !k.selector)) ||
  2136. (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k));
  2137. g &&
  2138. !m.length &&
  2139. ((l.teardown && l.teardown.call(a, p, r.handle) !== !1) || n.removeEvent(a, o, r.handle),
  2140. delete i[o]);
  2141. } else for (o in i) n.event.remove(a, o + b[j], c, d, !0);
  2142. n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events"));
  2143. }
  2144. },
  2145. trigger: function (b, c, d, e) {
  2146. var f,
  2147. g,
  2148. h,
  2149. i,
  2150. k,
  2151. m,
  2152. o,
  2153. p = [d || l],
  2154. q = j.call(b, "type") ? b.type : b,
  2155. r = j.call(b, "namespace") ? b.namespace.split(".") : [];
  2156. if (
  2157. ((g = h = d = d || l),
  2158. 3 !== d.nodeType &&
  2159. 8 !== d.nodeType &&
  2160. !X.test(q + n.event.triggered) &&
  2161. (q.indexOf(".") >= 0 && ((r = q.split(".")), (q = r.shift()), r.sort()),
  2162. (k = q.indexOf(":") < 0 && "on" + q),
  2163. (b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b)),
  2164. (b.isTrigger = e ? 2 : 3),
  2165. (b.namespace = r.join(".")),
  2166. (b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null),
  2167. (b.result = void 0),
  2168. b.target || (b.target = d),
  2169. (c = null == c ? [b] : n.makeArray(c, [b])),
  2170. (o = n.event.special[q] || {}),
  2171. e || !o.trigger || o.trigger.apply(d, c) !== !1))
  2172. ) {
  2173. if (!e && !o.noBubble && !n.isWindow(d)) {
  2174. for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode)
  2175. p.push(g), (h = g);
  2176. h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a);
  2177. }
  2178. f = 0;
  2179. while ((g = p[f++]) && !b.isPropagationStopped())
  2180. (b.type = f > 1 ? i : o.bindType || q),
  2181. (m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle")),
  2182. m && m.apply(g, c),
  2183. (m = k && g[k]),
  2184. m &&
  2185. m.apply &&
  2186. n.acceptData(g) &&
  2187. ((b.result = m.apply(g, c)), b.result === !1 && b.preventDefault());
  2188. return (
  2189. (b.type = q),
  2190. e ||
  2191. b.isDefaultPrevented() ||
  2192. (o._default && o._default.apply(p.pop(), c) !== !1) ||
  2193. !n.acceptData(d) ||
  2194. (k &&
  2195. n.isFunction(d[q]) &&
  2196. !n.isWindow(d) &&
  2197. ((h = d[k]),
  2198. h && (d[k] = null),
  2199. (n.event.triggered = q),
  2200. d[q](),
  2201. (n.event.triggered = void 0),
  2202. h && (d[k] = h))),
  2203. b.result
  2204. );
  2205. }
  2206. },
  2207. dispatch: function (a) {
  2208. a = n.event.fix(a);
  2209. var b,
  2210. c,
  2211. e,
  2212. f,
  2213. g,
  2214. h = [],
  2215. i = d.call(arguments),
  2216. j = (L.get(this, "events") || {})[a.type] || [],
  2217. k = n.event.special[a.type] || {};
  2218. if (((i[0] = a), (a.delegateTarget = this), !k.preDispatch || k.preDispatch.call(this, a) !== !1)) {
  2219. (h = n.event.handlers.call(this, a, j)), (b = 0);
  2220. while ((f = h[b++]) && !a.isPropagationStopped()) {
  2221. (a.currentTarget = f.elem), (c = 0);
  2222. while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())
  2223. (!a.namespace_re || a.namespace_re.test(g.namespace)) &&
  2224. ((a.handleObj = g),
  2225. (a.data = g.data),
  2226. (e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i)),
  2227. void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation()));
  2228. }
  2229. return k.postDispatch && k.postDispatch.call(this, a), a.result;
  2230. }
  2231. },
  2232. handlers: function (a, b) {
  2233. var c,
  2234. d,
  2235. e,
  2236. f,
  2237. g = [],
  2238. h = b.delegateCount,
  2239. i = a.target;
  2240. if (h && i.nodeType && (!a.button || "click" !== a.type))
  2241. for (; i !== this; i = i.parentNode || this)
  2242. if (i.disabled !== !0 || "click" !== a.type) {
  2243. for (d = [], c = 0; h > c; c++)
  2244. (f = b[c]),
  2245. (e = f.selector + " "),
  2246. void 0 === d[e] &&
  2247. (d[e] = f.needsContext
  2248. ? n(e, this).index(i) >= 0
  2249. : n.find(e, this, null, [i]).length),
  2250. d[e] && d.push(f);
  2251. d.length && g.push({ elem: i, handlers: d });
  2252. }
  2253. return h < b.length && g.push({ elem: this, handlers: b.slice(h) }), g;
  2254. },
  2255. props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(
  2256. " "
  2257. ),
  2258. fixHooks: {},
  2259. keyHooks: {
  2260. props: "char charCode key keyCode".split(" "),
  2261. filter: function (a, b) {
  2262. return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a;
  2263. },
  2264. },
  2265. mouseHooks: {
  2266. props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
  2267. filter: function (a, b) {
  2268. var c,
  2269. d,
  2270. e,
  2271. f = b.button;
  2272. return (
  2273. null == a.pageX &&
  2274. null != b.clientX &&
  2275. ((c = a.target.ownerDocument || l),
  2276. (d = c.documentElement),
  2277. (e = c.body),
  2278. (a.pageX =
  2279. b.clientX +
  2280. ((d && d.scrollLeft) || (e && e.scrollLeft) || 0) -
  2281. ((d && d.clientLeft) || (e && e.clientLeft) || 0)),
  2282. (a.pageY =
  2283. b.clientY +
  2284. ((d && d.scrollTop) || (e && e.scrollTop) || 0) -
  2285. ((d && d.clientTop) || (e && e.clientTop) || 0))),
  2286. a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0),
  2287. a
  2288. );
  2289. },
  2290. },
  2291. fix: function (a) {
  2292. if (a[n.expando]) return a;
  2293. var b,
  2294. c,
  2295. d,
  2296. e = a.type,
  2297. f = a,
  2298. g = this.fixHooks[e];
  2299. g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}),
  2300. (d = g.props ? this.props.concat(g.props) : this.props),
  2301. (a = new n.Event(f)),
  2302. (b = d.length);
  2303. while (b--) (c = d[b]), (a[c] = f[c]);
  2304. return (
  2305. a.target || (a.target = l),
  2306. 3 === a.target.nodeType && (a.target = a.target.parentNode),
  2307. g.filter ? g.filter(a, f) : a
  2308. );
  2309. },
  2310. special: {
  2311. load: { noBubble: !0 },
  2312. focus: {
  2313. trigger: function () {
  2314. return this !== _() && this.focus ? (this.focus(), !1) : void 0;
  2315. },
  2316. delegateType: "focusin",
  2317. },
  2318. blur: {
  2319. trigger: function () {
  2320. return this === _() && this.blur ? (this.blur(), !1) : void 0;
  2321. },
  2322. delegateType: "focusout",
  2323. },
  2324. click: {
  2325. trigger: function () {
  2326. return "checkbox" === this.type && this.click && n.nodeName(this, "input")
  2327. ? (this.click(), !1)
  2328. : void 0;
  2329. },
  2330. _default: function (a) {
  2331. return n.nodeName(a.target, "a");
  2332. },
  2333. },
  2334. beforeunload: {
  2335. postDispatch: function (a) {
  2336. void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result);
  2337. },
  2338. },
  2339. },
  2340. simulate: function (a, b, c, d) {
  2341. var e = n.extend(new n.Event(), c, { type: a, isSimulated: !0, originalEvent: {} });
  2342. d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault();
  2343. },
  2344. }),
  2345. (n.removeEvent = function (a, b, c) {
  2346. a.removeEventListener && a.removeEventListener(b, c, !1);
  2347. }),
  2348. (n.Event = function (a, b) {
  2349. return this instanceof n.Event
  2350. ? (a && a.type
  2351. ? ((this.originalEvent = a),
  2352. (this.type = a.type),
  2353. (this.isDefaultPrevented =
  2354. a.defaultPrevented || (void 0 === a.defaultPrevented && a.returnValue === !1) ? Z : $))
  2355. : (this.type = a),
  2356. b && n.extend(this, b),
  2357. (this.timeStamp = (a && a.timeStamp) || n.now()),
  2358. void (this[n.expando] = !0))
  2359. : new n.Event(a, b);
  2360. }),
  2361. (n.Event.prototype = {
  2362. isDefaultPrevented: $,
  2363. isPropagationStopped: $,
  2364. isImmediatePropagationStopped: $,
  2365. preventDefault: function () {
  2366. var a = this.originalEvent;
  2367. (this.isDefaultPrevented = Z), a && a.preventDefault && a.preventDefault();
  2368. },
  2369. stopPropagation: function () {
  2370. var a = this.originalEvent;
  2371. (this.isPropagationStopped = Z), a && a.stopPropagation && a.stopPropagation();
  2372. },
  2373. stopImmediatePropagation: function () {
  2374. var a = this.originalEvent;
  2375. (this.isImmediatePropagationStopped = Z),
  2376. a && a.stopImmediatePropagation && a.stopImmediatePropagation(),
  2377. this.stopPropagation();
  2378. },
  2379. }),
  2380. n.each(
  2381. {
  2382. mouseenter: "mouseover",
  2383. mouseleave: "mouseout",
  2384. pointerenter: "pointerover",
  2385. pointerleave: "pointerout",
  2386. },
  2387. function (a, b) {
  2388. n.event.special[a] = {
  2389. delegateType: b,
  2390. bindType: b,
  2391. handle: function (a) {
  2392. var c,
  2393. d = this,
  2394. e = a.relatedTarget,
  2395. f = a.handleObj;
  2396. return (
  2397. (!e || (e !== d && !n.contains(d, e))) &&
  2398. ((a.type = f.origType), (c = f.handler.apply(this, arguments)), (a.type = b)),
  2399. c
  2400. );
  2401. },
  2402. };
  2403. }
  2404. ),
  2405. k.focusinBubbles ||
  2406. n.each({ focus: "focusin", blur: "focusout" }, function (a, b) {
  2407. var c = function (a) {
  2408. n.event.simulate(b, a.target, n.event.fix(a), !0);
  2409. };
  2410. n.event.special[b] = {
  2411. setup: function () {
  2412. var d = this.ownerDocument || this,
  2413. e = L.access(d, b);
  2414. e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1);
  2415. },
  2416. teardown: function () {
  2417. var d = this.ownerDocument || this,
  2418. e = L.access(d, b) - 1;
  2419. e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b));
  2420. },
  2421. };
  2422. }),
  2423. n.fn.extend({
  2424. on: function (a, b, c, d, e) {
  2425. var f, g;
  2426. if ("object" == typeof a) {
  2427. "string" != typeof b && ((c = c || b), (b = void 0));
  2428. for (g in a) this.on(g, b, c, a[g], e);
  2429. return this;
  2430. }
  2431. if (
  2432. (null == c && null == d
  2433. ? ((d = b), (c = b = void 0))
  2434. : null == d &&
  2435. ("string" == typeof b ? ((d = c), (c = void 0)) : ((d = c), (c = b), (b = void 0))),
  2436. d === !1)
  2437. )
  2438. d = $;
  2439. else if (!d) return this;
  2440. return (
  2441. 1 === e &&
  2442. ((f = d),
  2443. (d = function (a) {
  2444. return n().off(a), f.apply(this, arguments);
  2445. }),
  2446. (d.guid = f.guid || (f.guid = n.guid++))),
  2447. this.each(function () {
  2448. n.event.add(this, a, d, c, b);
  2449. })
  2450. );
  2451. },
  2452. one: function (a, b, c, d) {
  2453. return this.on(a, b, c, d, 1);
  2454. },
  2455. off: function (a, b, c) {
  2456. var d, e;
  2457. if (a && a.preventDefault && a.handleObj)
  2458. return (
  2459. (d = a.handleObj),
  2460. n(a.delegateTarget).off(
  2461. d.namespace ? d.origType + "." + d.namespace : d.origType,
  2462. d.selector,
  2463. d.handler
  2464. ),
  2465. this
  2466. );
  2467. if ("object" == typeof a) {
  2468. for (e in a) this.off(e, b, a[e]);
  2469. return this;
  2470. }
  2471. return (
  2472. (b === !1 || "function" == typeof b) && ((c = b), (b = void 0)),
  2473. c === !1 && (c = $),
  2474. this.each(function () {
  2475. n.event.remove(this, a, c, b);
  2476. })
  2477. );
  2478. },
  2479. trigger: function (a, b) {
  2480. return this.each(function () {
  2481. n.event.trigger(a, b, this);
  2482. });
  2483. },
  2484. triggerHandler: function (a, b) {
  2485. var c = this[0];
  2486. return c ? n.event.trigger(a, b, c, !0) : void 0;
  2487. },
  2488. });
  2489. var aa = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  2490. ba = /<([\w:]+)/,
  2491. ca = /<|&#?\w+;/,
  2492. da = /<(?:script|style|link)/i,
  2493. ea = /checked\s*(?:[^=]|=\s*.checked.)/i,
  2494. fa = /^$|\/(?:java|ecma)script/i,
  2495. ga = /^true\/(.*)/,
  2496. ha = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  2497. ia = {
  2498. option: [1, "<select multiple='multiple'>", "</select>"],
  2499. thead: [1, "<table>", "</table>"],
  2500. col: [2, "<table><colgroup>", "</colgroup></table>"],
  2501. tr: [2, "<table><tbody>", "</tbody></table>"],
  2502. td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  2503. _default: [0, "", ""],
  2504. };
  2505. (ia.optgroup = ia.option), (ia.tbody = ia.tfoot = ia.colgroup = ia.caption = ia.thead), (ia.th = ia.td);
  2506. function ja(a, b) {
  2507. return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr")
  2508. ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody"))
  2509. : a;
  2510. }
  2511. function ka(a) {
  2512. return (a.type = (null !== a.getAttribute("type")) + "/" + a.type), a;
  2513. }
  2514. function la(a) {
  2515. var b = ga.exec(a.type);
  2516. return b ? (a.type = b[1]) : a.removeAttribute("type"), a;
  2517. }
  2518. function ma(a, b) {
  2519. for (var c = 0, d = a.length; d > c; c++) L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval"));
  2520. }
  2521. function na(a, b) {
  2522. var c, d, e, f, g, h, i, j;
  2523. if (1 === b.nodeType) {
  2524. if (L.hasData(a) && ((f = L.access(a)), (g = L.set(b, f)), (j = f.events))) {
  2525. delete g.handle, (g.events = {});
  2526. for (e in j) for (c = 0, d = j[e].length; d > c; c++) n.event.add(b, e, j[e][c]);
  2527. }
  2528. M.hasData(a) && ((h = M.access(a)), (i = n.extend({}, h)), M.set(b, i));
  2529. }
  2530. }
  2531. function oa(a, b) {
  2532. var c = a.getElementsByTagName
  2533. ? a.getElementsByTagName(b || "*")
  2534. : a.querySelectorAll
  2535. ? a.querySelectorAll(b || "*")
  2536. : [];
  2537. return void 0 === b || (b && n.nodeName(a, b)) ? n.merge([a], c) : c;
  2538. }
  2539. function pa(a, b) {
  2540. var c = b.nodeName.toLowerCase();
  2541. "input" === c && T.test(a.type)
  2542. ? (b.checked = a.checked)
  2543. : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue);
  2544. }
  2545. n.extend({
  2546. clone: function (a, b, c) {
  2547. var d,
  2548. e,
  2549. f,
  2550. g,
  2551. h = a.cloneNode(!0),
  2552. i = n.contains(a.ownerDocument, a);
  2553. if (!(k.noCloneChecked || (1 !== a.nodeType && 11 !== a.nodeType) || n.isXMLDoc(a)))
  2554. for (g = oa(h), f = oa(a), d = 0, e = f.length; e > d; d++) pa(f[d], g[d]);
  2555. if (b)
  2556. if (c) for (f = f || oa(a), g = g || oa(h), d = 0, e = f.length; e > d; d++) na(f[d], g[d]);
  2557. else na(a, h);
  2558. return (g = oa(h, "script")), g.length > 0 && ma(g, !i && oa(a, "script")), h;
  2559. },
  2560. buildFragment: function (a, b, c, d) {
  2561. for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++)
  2562. if (((e = a[m]), e || 0 === e))
  2563. if ("object" === n.type(e)) n.merge(l, e.nodeType ? [e] : e);
  2564. else if (ca.test(e)) {
  2565. (f = f || k.appendChild(b.createElement("div"))),
  2566. (g = (ba.exec(e) || ["", ""])[1].toLowerCase()),
  2567. (h = ia[g] || ia._default),
  2568. (f.innerHTML = h[1] + e.replace(aa, "<$1></$2>") + h[2]),
  2569. (j = h[0]);
  2570. while (j--) f = f.lastChild;
  2571. n.merge(l, f.childNodes), (f = k.firstChild), (f.textContent = "");
  2572. } else l.push(b.createTextNode(e));
  2573. (k.textContent = ""), (m = 0);
  2574. while ((e = l[m++]))
  2575. if (
  2576. (!d || -1 === n.inArray(e, d)) &&
  2577. ((i = n.contains(e.ownerDocument, e)), (f = oa(k.appendChild(e), "script")), i && ma(f), c)
  2578. ) {
  2579. j = 0;
  2580. while ((e = f[j++])) fa.test(e.type || "") && c.push(e);
  2581. }
  2582. return k;
  2583. },
  2584. cleanData: function (a) {
  2585. for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) {
  2586. if (n.acceptData(c) && ((e = c[L.expando]), e && (b = L.cache[e]))) {
  2587. if (b.events) for (d in b.events) f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
  2588. L.cache[e] && delete L.cache[e];
  2589. }
  2590. delete M.cache[c[M.expando]];
  2591. }
  2592. },
  2593. }),
  2594. n.fn.extend({
  2595. text: function (a) {
  2596. return J(
  2597. this,
  2598. function (a) {
  2599. return void 0 === a
  2600. ? n.text(this)
  2601. : this.empty().each(function () {
  2602. (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) &&
  2603. (this.textContent = a);
  2604. });
  2605. },
  2606. null,
  2607. a,
  2608. arguments.length
  2609. );
  2610. },
  2611. append: function () {
  2612. return this.domManip(arguments, function (a) {
  2613. if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  2614. var b = ja(this, a);
  2615. b.appendChild(a);
  2616. }
  2617. });
  2618. },
  2619. prepend: function () {
  2620. return this.domManip(arguments, function (a) {
  2621. if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  2622. var b = ja(this, a);
  2623. b.insertBefore(a, b.firstChild);
  2624. }
  2625. });
  2626. },
  2627. before: function () {
  2628. return this.domManip(arguments, function (a) {
  2629. this.parentNode && this.parentNode.insertBefore(a, this);
  2630. });
  2631. },
  2632. after: function () {
  2633. return this.domManip(arguments, function (a) {
  2634. this.parentNode && this.parentNode.insertBefore(a, this.nextSibling);
  2635. });
  2636. },
  2637. remove: function (a, b) {
  2638. for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++)
  2639. b || 1 !== c.nodeType || n.cleanData(oa(c)),
  2640. c.parentNode &&
  2641. (b && n.contains(c.ownerDocument, c) && ma(oa(c, "script")), c.parentNode.removeChild(c));
  2642. return this;
  2643. },
  2644. empty: function () {
  2645. for (var a, b = 0; null != (a = this[b]); b++)
  2646. 1 === a.nodeType && (n.cleanData(oa(a, !1)), (a.textContent = ""));
  2647. return this;
  2648. },
  2649. clone: function (a, b) {
  2650. return (
  2651. (a = null == a ? !1 : a),
  2652. (b = null == b ? a : b),
  2653. this.map(function () {
  2654. return n.clone(this, a, b);
  2655. })
  2656. );
  2657. },
  2658. html: function (a) {
  2659. return J(
  2660. this,
  2661. function (a) {
  2662. var b = this[0] || {},
  2663. c = 0,
  2664. d = this.length;
  2665. if (void 0 === a && 1 === b.nodeType) return b.innerHTML;
  2666. if ("string" == typeof a && !da.test(a) && !ia[(ba.exec(a) || ["", ""])[1].toLowerCase()]) {
  2667. a = a.replace(aa, "<$1></$2>");
  2668. try {
  2669. for (; d > c; c++)
  2670. (b = this[c] || {}),
  2671. 1 === b.nodeType && (n.cleanData(oa(b, !1)), (b.innerHTML = a));
  2672. b = 0;
  2673. } catch (e) {}
  2674. }
  2675. b && this.empty().append(a);
  2676. },
  2677. null,
  2678. a,
  2679. arguments.length
  2680. );
  2681. },
  2682. replaceWith: function () {
  2683. var a = arguments[0];
  2684. return (
  2685. this.domManip(arguments, function (b) {
  2686. (a = this.parentNode), n.cleanData(oa(this)), a && a.replaceChild(b, this);
  2687. }),
  2688. a && (a.length || a.nodeType) ? this : this.remove()
  2689. );
  2690. },
  2691. detach: function (a) {
  2692. return this.remove(a, !0);
  2693. },
  2694. domManip: function (a, b) {
  2695. a = e.apply([], a);
  2696. var c,
  2697. d,
  2698. f,
  2699. g,
  2700. h,
  2701. i,
  2702. j = 0,
  2703. l = this.length,
  2704. m = this,
  2705. o = l - 1,
  2706. p = a[0],
  2707. q = n.isFunction(p);
  2708. if (q || (l > 1 && "string" == typeof p && !k.checkClone && ea.test(p)))
  2709. return this.each(function (c) {
  2710. var d = m.eq(c);
  2711. q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b);
  2712. });
  2713. if (
  2714. l &&
  2715. ((c = n.buildFragment(a, this[0].ownerDocument, !1, this)),
  2716. (d = c.firstChild),
  2717. 1 === c.childNodes.length && (c = d),
  2718. d)
  2719. ) {
  2720. for (f = n.map(oa(c, "script"), ka), g = f.length; l > j; j++)
  2721. (h = c),
  2722. j !== o && ((h = n.clone(h, !0, !0)), g && n.merge(f, oa(h, "script"))),
  2723. b.call(this[j], h, j);
  2724. if (g)
  2725. for (i = f[f.length - 1].ownerDocument, n.map(f, la), j = 0; g > j; j++)
  2726. (h = f[j]),
  2727. fa.test(h.type || "") &&
  2728. !L.access(h, "globalEval") &&
  2729. n.contains(i, h) &&
  2730. (h.src
  2731. ? n._evalUrl && n._evalUrl(h.src)
  2732. : n.globalEval(h.textContent.replace(ha, "")));
  2733. }
  2734. return this;
  2735. },
  2736. }),
  2737. n.each(
  2738. {
  2739. appendTo: "append",
  2740. prependTo: "prepend",
  2741. insertBefore: "before",
  2742. insertAfter: "after",
  2743. replaceAll: "replaceWith",
  2744. },
  2745. function (a, b) {
  2746. n.fn[a] = function (a) {
  2747. for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++)
  2748. (c = h === g ? this : this.clone(!0)), n(e[h])[b](c), f.apply(d, c.get());
  2749. return this.pushStack(d);
  2750. };
  2751. }
  2752. );
  2753. var qa,
  2754. ra = {};
  2755. function sa(b, c) {
  2756. var d,
  2757. e = n(c.createElement(b)).appendTo(c.body),
  2758. f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display");
  2759. return e.detach(), f;
  2760. }
  2761. function ta(a) {
  2762. var b = l,
  2763. c = ra[a];
  2764. return (
  2765. c ||
  2766. ((c = sa(a, b)),
  2767. ("none" !== c && c) ||
  2768. ((qa = (qa || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement)),
  2769. (b = qa[0].contentDocument),
  2770. b.write(),
  2771. b.close(),
  2772. (c = sa(a, b)),
  2773. qa.detach()),
  2774. (ra[a] = c)),
  2775. c
  2776. );
  2777. }
  2778. var ua = /^margin/,
  2779. va = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"),
  2780. wa = function (b) {
  2781. return b.ownerDocument.defaultView.opener
  2782. ? b.ownerDocument.defaultView.getComputedStyle(b, null)
  2783. : a.getComputedStyle(b, null);
  2784. };
  2785. function xa(a, b, c) {
  2786. var d,
  2787. e,
  2788. f,
  2789. g,
  2790. h = a.style;
  2791. return (
  2792. (c = c || wa(a)),
  2793. c && (g = c.getPropertyValue(b) || c[b]),
  2794. c &&
  2795. ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)),
  2796. va.test(g) &&
  2797. ua.test(b) &&
  2798. ((d = h.width),
  2799. (e = h.minWidth),
  2800. (f = h.maxWidth),
  2801. (h.minWidth = h.maxWidth = h.width = g),
  2802. (g = c.width),
  2803. (h.width = d),
  2804. (h.minWidth = e),
  2805. (h.maxWidth = f))),
  2806. void 0 !== g ? g + "" : g
  2807. );
  2808. }
  2809. function ya(a, b) {
  2810. return {
  2811. get: function () {
  2812. return a() ? void delete this.get : (this.get = b).apply(this, arguments);
  2813. },
  2814. };
  2815. }
  2816. !(function () {
  2817. var b,
  2818. c,
  2819. d = l.documentElement,
  2820. e = l.createElement("div"),
  2821. f = l.createElement("div");
  2822. if (f.style) {
  2823. (f.style.backgroundClip = "content-box"),
  2824. (f.cloneNode(!0).style.backgroundClip = ""),
  2825. (k.clearCloneStyle = "content-box" === f.style.backgroundClip),
  2826. (e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute"),
  2827. e.appendChild(f);
  2828. function g() {
  2829. (f.style.cssText =
  2830. "-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"),
  2831. (f.innerHTML = ""),
  2832. d.appendChild(e);
  2833. var g = a.getComputedStyle(f, null);
  2834. (b = "1%" !== g.top), (c = "4px" === g.width), d.removeChild(e);
  2835. }
  2836. a.getComputedStyle &&
  2837. n.extend(k, {
  2838. pixelPosition: function () {
  2839. return g(), b;
  2840. },
  2841. boxSizingReliable: function () {
  2842. return null == c && g(), c;
  2843. },
  2844. reliableMarginRight: function () {
  2845. var b,
  2846. c = f.appendChild(l.createElement("div"));
  2847. return (
  2848. (c.style.cssText = f.style.cssText =
  2849. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0"),
  2850. (c.style.marginRight = c.style.width = "0"),
  2851. (f.style.width = "1px"),
  2852. d.appendChild(e),
  2853. (b = !parseFloat(a.getComputedStyle(c, null).marginRight)),
  2854. d.removeChild(e),
  2855. f.removeChild(c),
  2856. b
  2857. );
  2858. },
  2859. });
  2860. }
  2861. })(),
  2862. (n.swap = function (a, b, c, d) {
  2863. var e,
  2864. f,
  2865. g = {};
  2866. for (f in b) (g[f] = a.style[f]), (a.style[f] = b[f]);
  2867. e = c.apply(a, d || []);
  2868. for (f in b) a.style[f] = g[f];
  2869. return e;
  2870. });
  2871. var za = /^(none|table(?!-c[ea]).+)/,
  2872. Aa = new RegExp("^(" + Q + ")(.*)$", "i"),
  2873. Ba = new RegExp("^([+-])=(" + Q + ")", "i"),
  2874. Ca = { position: "absolute", visibility: "hidden", display: "block" },
  2875. Da = { letterSpacing: "0", fontWeight: "400" },
  2876. Ea = ["Webkit", "O", "Moz", "ms"];
  2877. function Fa(a, b) {
  2878. if (b in a) return b;
  2879. var c = b[0].toUpperCase() + b.slice(1),
  2880. d = b,
  2881. e = Ea.length;
  2882. while (e--) if (((b = Ea[e] + c), b in a)) return b;
  2883. return d;
  2884. }
  2885. function Ga(a, b, c) {
  2886. var d = Aa.exec(b);
  2887. return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b;
  2888. }
  2889. function Ha(a, b, c, d, e) {
  2890. for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2)
  2891. "margin" === c && (g += n.css(a, c + R[f], !0, e)),
  2892. d
  2893. ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)),
  2894. "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e)))
  2895. : ((g += n.css(a, "padding" + R[f], !0, e)),
  2896. "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e)));
  2897. return g;
  2898. }
  2899. function Ia(a, b, c) {
  2900. var d = !0,
  2901. e = "width" === b ? a.offsetWidth : a.offsetHeight,
  2902. f = wa(a),
  2903. g = "border-box" === n.css(a, "boxSizing", !1, f);
  2904. if (0 >= e || null == e) {
  2905. if (((e = xa(a, b, f)), (0 > e || null == e) && (e = a.style[b]), va.test(e))) return e;
  2906. (d = g && (k.boxSizingReliable() || e === a.style[b])), (e = parseFloat(e) || 0);
  2907. }
  2908. return e + Ha(a, b, c || (g ? "border" : "content"), d, f) + "px";
  2909. }
  2910. function Ja(a, b) {
  2911. for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)
  2912. (d = a[g]),
  2913. d.style &&
  2914. ((f[g] = L.get(d, "olddisplay")),
  2915. (c = d.style.display),
  2916. b
  2917. ? (f[g] || "none" !== c || (d.style.display = ""),
  2918. "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", ta(d.nodeName))))
  2919. : ((e = S(d)), ("none" === c && e) || L.set(d, "olddisplay", e ? c : n.css(d, "display"))));
  2920. for (g = 0; h > g; g++)
  2921. (d = a[g]),
  2922. d.style &&
  2923. ((b && "none" !== d.style.display && "" !== d.style.display) ||
  2924. (d.style.display = b ? f[g] || "" : "none"));
  2925. return a;
  2926. }
  2927. n.extend({
  2928. cssHooks: {
  2929. opacity: {
  2930. get: function (a, b) {
  2931. if (b) {
  2932. var c = xa(a, "opacity");
  2933. return "" === c ? "1" : c;
  2934. }
  2935. },
  2936. },
  2937. },
  2938. cssNumber: {
  2939. columnCount: !0,
  2940. fillOpacity: !0,
  2941. flexGrow: !0,
  2942. flexShrink: !0,
  2943. fontWeight: !0,
  2944. lineHeight: !0,
  2945. opacity: !0,
  2946. order: !0,
  2947. orphans: !0,
  2948. widows: !0,
  2949. zIndex: !0,
  2950. zoom: !0,
  2951. },
  2952. cssProps: { float: "cssFloat" },
  2953. style: function (a, b, c, d) {
  2954. if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  2955. var e,
  2956. f,
  2957. g,
  2958. h = n.camelCase(b),
  2959. i = a.style;
  2960. return (
  2961. (b = n.cssProps[h] || (n.cssProps[h] = Fa(i, h))),
  2962. (g = n.cssHooks[b] || n.cssHooks[h]),
  2963. void 0 === c
  2964. ? g && "get" in g && void 0 !== (e = g.get(a, !1, d))
  2965. ? e
  2966. : i[b]
  2967. : ((f = typeof c),
  2968. "string" === f &&
  2969. (e = Ba.exec(c)) &&
  2970. ((c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b))), (f = "number")),
  2971. null != c &&
  2972. c === c &&
  2973. ("number" !== f || n.cssNumber[h] || (c += "px"),
  2974. k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"),
  2975. (g && "set" in g && void 0 === (c = g.set(a, c, d))) || (i[b] = c)),
  2976. void 0)
  2977. );
  2978. }
  2979. },
  2980. css: function (a, b, c, d) {
  2981. var e,
  2982. f,
  2983. g,
  2984. h = n.camelCase(b);
  2985. return (
  2986. (b = n.cssProps[h] || (n.cssProps[h] = Fa(a.style, h))),
  2987. (g = n.cssHooks[b] || n.cssHooks[h]),
  2988. g && "get" in g && (e = g.get(a, !0, c)),
  2989. void 0 === e && (e = xa(a, b, d)),
  2990. "normal" === e && b in Da && (e = Da[b]),
  2991. "" === c || c ? ((f = parseFloat(e)), c === !0 || n.isNumeric(f) ? f || 0 : e) : e
  2992. );
  2993. },
  2994. }),
  2995. n.each(["height", "width"], function (a, b) {
  2996. n.cssHooks[b] = {
  2997. get: function (a, c, d) {
  2998. return c
  2999. ? za.test(n.css(a, "display")) && 0 === a.offsetWidth
  3000. ? n.swap(a, Ca, function () {
  3001. return Ia(a, b, d);
  3002. })
  3003. : Ia(a, b, d)
  3004. : void 0;
  3005. },
  3006. set: function (a, c, d) {
  3007. var e = d && wa(a);
  3008. return Ga(a, c, d ? Ha(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0);
  3009. },
  3010. };
  3011. }),
  3012. (n.cssHooks.marginRight = ya(k.reliableMarginRight, function (a, b) {
  3013. return b ? n.swap(a, { display: "inline-block" }, xa, [a, "marginRight"]) : void 0;
  3014. })),
  3015. n.each({ margin: "", padding: "", border: "Width" }, function (a, b) {
  3016. (n.cssHooks[a + b] = {
  3017. expand: function (c) {
  3018. for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++)
  3019. e[a + R[d] + b] = f[d] || f[d - 2] || f[0];
  3020. return e;
  3021. },
  3022. }),
  3023. ua.test(a) || (n.cssHooks[a + b].set = Ga);
  3024. }),
  3025. n.fn.extend({
  3026. css: function (a, b) {
  3027. return J(
  3028. this,
  3029. function (a, b, c) {
  3030. var d,
  3031. e,
  3032. f = {},
  3033. g = 0;
  3034. if (n.isArray(b)) {
  3035. for (d = wa(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d);
  3036. return f;
  3037. }
  3038. return void 0 !== c ? n.style(a, b, c) : n.css(a, b);
  3039. },
  3040. a,
  3041. b,
  3042. arguments.length > 1
  3043. );
  3044. },
  3045. show: function () {
  3046. return Ja(this, !0);
  3047. },
  3048. hide: function () {
  3049. return Ja(this);
  3050. },
  3051. toggle: function (a) {
  3052. return "boolean" == typeof a
  3053. ? a
  3054. ? this.show()
  3055. : this.hide()
  3056. : this.each(function () {
  3057. S(this) ? n(this).show() : n(this).hide();
  3058. });
  3059. },
  3060. });
  3061. function Ka(a, b, c, d, e) {
  3062. return new Ka.prototype.init(a, b, c, d, e);
  3063. }
  3064. (n.Tween = Ka),
  3065. (Ka.prototype = {
  3066. constructor: Ka,
  3067. init: function (a, b, c, d, e, f) {
  3068. (this.elem = a),
  3069. (this.prop = c),
  3070. (this.easing = e || "swing"),
  3071. (this.options = b),
  3072. (this.start = this.now = this.cur()),
  3073. (this.end = d),
  3074. (this.unit = f || (n.cssNumber[c] ? "" : "px"));
  3075. },
  3076. cur: function () {
  3077. var a = Ka.propHooks[this.prop];
  3078. return a && a.get ? a.get(this) : Ka.propHooks._default.get(this);
  3079. },
  3080. run: function (a) {
  3081. var b,
  3082. c = Ka.propHooks[this.prop];
  3083. return (
  3084. this.options.duration
  3085. ? (this.pos = b =
  3086. n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration))
  3087. : (this.pos = b = a),
  3088. (this.now = (this.end - this.start) * b + this.start),
  3089. this.options.step && this.options.step.call(this.elem, this.now, this),
  3090. c && c.set ? c.set(this) : Ka.propHooks._default.set(this),
  3091. this
  3092. );
  3093. },
  3094. }),
  3095. (Ka.prototype.init.prototype = Ka.prototype),
  3096. (Ka.propHooks = {
  3097. _default: {
  3098. get: function (a) {
  3099. var b;
  3100. return null == a.elem[a.prop] || (a.elem.style && null != a.elem.style[a.prop])
  3101. ? ((b = n.css(a.elem, a.prop, "")), b && "auto" !== b ? b : 0)
  3102. : a.elem[a.prop];
  3103. },
  3104. set: function (a) {
  3105. n.fx.step[a.prop]
  3106. ? n.fx.step[a.prop](a)
  3107. : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop])
  3108. ? n.style(a.elem, a.prop, a.now + a.unit)
  3109. : (a.elem[a.prop] = a.now);
  3110. },
  3111. },
  3112. }),
  3113. (Ka.propHooks.scrollTop = Ka.propHooks.scrollLeft =
  3114. {
  3115. set: function (a) {
  3116. a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now);
  3117. },
  3118. }),
  3119. (n.easing = {
  3120. linear: function (a) {
  3121. return a;
  3122. },
  3123. swing: function (a) {
  3124. return 0.5 - Math.cos(a * Math.PI) / 2;
  3125. },
  3126. }),
  3127. (n.fx = Ka.prototype.init),
  3128. (n.fx.step = {});
  3129. var La,
  3130. Ma,
  3131. Na = /^(?:toggle|show|hide)$/,
  3132. Oa = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"),
  3133. Pa = /queueHooks$/,
  3134. Qa = [Va],
  3135. Ra = {
  3136. "*": [
  3137. function (a, b) {
  3138. var c = this.createTween(a, b),
  3139. d = c.cur(),
  3140. e = Oa.exec(b),
  3141. f = (e && e[3]) || (n.cssNumber[a] ? "" : "px"),
  3142. g = (n.cssNumber[a] || ("px" !== f && +d)) && Oa.exec(n.css(c.elem, a)),
  3143. h = 1,
  3144. i = 20;
  3145. if (g && g[3] !== f) {
  3146. (f = f || g[3]), (e = e || []), (g = +d || 1);
  3147. do (h = h || ".5"), (g /= h), n.style(c.elem, a, g + f);
  3148. while (h !== (h = c.cur() / d) && 1 !== h && --i);
  3149. }
  3150. return (
  3151. e &&
  3152. ((g = c.start = +g || +d || 0),
  3153. (c.unit = f),
  3154. (c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2])),
  3155. c
  3156. );
  3157. },
  3158. ],
  3159. };
  3160. function Sa() {
  3161. return (
  3162. setTimeout(function () {
  3163. La = void 0;
  3164. }),
  3165. (La = n.now())
  3166. );
  3167. }
  3168. function Ta(a, b) {
  3169. var c,
  3170. d = 0,
  3171. e = { height: a };
  3172. for (b = b ? 1 : 0; 4 > d; d += 2 - b) (c = R[d]), (e["margin" + c] = e["padding" + c] = a);
  3173. return b && (e.opacity = e.width = a), e;
  3174. }
  3175. function Ua(a, b, c) {
  3176. for (var d, e = (Ra[b] || []).concat(Ra["*"]), f = 0, g = e.length; g > f; f++)
  3177. if ((d = e[f].call(c, b, a))) return d;
  3178. }
  3179. function Va(a, b, c) {
  3180. var d,
  3181. e,
  3182. f,
  3183. g,
  3184. h,
  3185. i,
  3186. j,
  3187. k,
  3188. l = this,
  3189. m = {},
  3190. o = a.style,
  3191. p = a.nodeType && S(a),
  3192. q = L.get(a, "fxshow");
  3193. c.queue ||
  3194. ((h = n._queueHooks(a, "fx")),
  3195. null == h.unqueued &&
  3196. ((h.unqueued = 0),
  3197. (i = h.empty.fire),
  3198. (h.empty.fire = function () {
  3199. h.unqueued || i();
  3200. })),
  3201. h.unqueued++,
  3202. l.always(function () {
  3203. l.always(function () {
  3204. h.unqueued--, n.queue(a, "fx").length || h.empty.fire();
  3205. });
  3206. })),
  3207. 1 === a.nodeType &&
  3208. ("height" in b || "width" in b) &&
  3209. ((c.overflow = [o.overflow, o.overflowX, o.overflowY]),
  3210. (j = n.css(a, "display")),
  3211. (k = "none" === j ? L.get(a, "olddisplay") || ta(a.nodeName) : j),
  3212. "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")),
  3213. c.overflow &&
  3214. ((o.overflow = "hidden"),
  3215. l.always(function () {
  3216. (o.overflow = c.overflow[0]), (o.overflowX = c.overflow[1]), (o.overflowY = c.overflow[2]);
  3217. }));
  3218. for (d in b)
  3219. if (((e = b[d]), Na.exec(e))) {
  3220. if ((delete b[d], (f = f || "toggle" === e), e === (p ? "hide" : "show"))) {
  3221. if ("show" !== e || !q || void 0 === q[d]) continue;
  3222. p = !0;
  3223. }
  3224. m[d] = (q && q[d]) || n.style(a, d);
  3225. } else j = void 0;
  3226. if (n.isEmptyObject(m)) "inline" === ("none" === j ? ta(a.nodeName) : j) && (o.display = j);
  3227. else {
  3228. q ? "hidden" in q && (p = q.hidden) : (q = L.access(a, "fxshow", {})),
  3229. f && (q.hidden = !p),
  3230. p
  3231. ? n(a).show()
  3232. : l.done(function () {
  3233. n(a).hide();
  3234. }),
  3235. l.done(function () {
  3236. var b;
  3237. L.remove(a, "fxshow");
  3238. for (b in m) n.style(a, b, m[b]);
  3239. });
  3240. for (d in m)
  3241. (g = Ua(p ? q[d] : 0, d, l)),
  3242. d in q ||
  3243. ((q[d] = g.start),
  3244. p && ((g.end = g.start), (g.start = "width" === d || "height" === d ? 1 : 0)));
  3245. }
  3246. }
  3247. function Wa(a, b) {
  3248. var c, d, e, f, g;
  3249. for (c in a)
  3250. if (
  3251. ((d = n.camelCase(c)),
  3252. (e = b[d]),
  3253. (f = a[c]),
  3254. n.isArray(f) && ((e = f[1]), (f = a[c] = f[0])),
  3255. c !== d && ((a[d] = f), delete a[c]),
  3256. (g = n.cssHooks[d]),
  3257. g && "expand" in g)
  3258. ) {
  3259. (f = g.expand(f)), delete a[d];
  3260. for (c in f) c in a || ((a[c] = f[c]), (b[c] = e));
  3261. } else b[d] = e;
  3262. }
  3263. function Xa(a, b, c) {
  3264. var d,
  3265. e,
  3266. f = 0,
  3267. g = Qa.length,
  3268. h = n.Deferred().always(function () {
  3269. delete i.elem;
  3270. }),
  3271. i = function () {
  3272. if (e) return !1;
  3273. for (
  3274. var b = La || Sa(),
  3275. c = Math.max(0, j.startTime + j.duration - b),
  3276. d = c / j.duration || 0,
  3277. f = 1 - d,
  3278. g = 0,
  3279. i = j.tweens.length;
  3280. i > g;
  3281. g++
  3282. )
  3283. j.tweens[g].run(f);
  3284. return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1);
  3285. },
  3286. j = h.promise({
  3287. elem: a,
  3288. props: n.extend({}, b),
  3289. opts: n.extend(!0, { specialEasing: {} }, c),
  3290. originalProperties: b,
  3291. originalOptions: c,
  3292. startTime: La || Sa(),
  3293. duration: c.duration,
  3294. tweens: [],
  3295. createTween: function (b, c) {
  3296. var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
  3297. return j.tweens.push(d), d;
  3298. },
  3299. stop: function (b) {
  3300. var c = 0,
  3301. d = b ? j.tweens.length : 0;
  3302. if (e) return this;
  3303. for (e = !0; d > c; c++) j.tweens[c].run(1);
  3304. return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this;
  3305. },
  3306. }),
  3307. k = j.props;
  3308. for (Wa(k, j.opts.specialEasing); g > f; f++) if ((d = Qa[f].call(j, a, k, j.opts))) return d;
  3309. return (
  3310. n.map(k, Ua, j),
  3311. n.isFunction(j.opts.start) && j.opts.start.call(a, j),
  3312. n.fx.timer(n.extend(i, { elem: a, anim: j, queue: j.opts.queue })),
  3313. j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
  3314. );
  3315. }
  3316. (n.Animation = n.extend(Xa, {
  3317. tweener: function (a, b) {
  3318. n.isFunction(a) ? ((b = a), (a = ["*"])) : (a = a.split(" "));
  3319. for (var c, d = 0, e = a.length; e > d; d++) (c = a[d]), (Ra[c] = Ra[c] || []), Ra[c].unshift(b);
  3320. },
  3321. prefilter: function (a, b) {
  3322. b ? Qa.unshift(a) : Qa.push(a);
  3323. },
  3324. })),
  3325. (n.speed = function (a, b, c) {
  3326. var d =
  3327. a && "object" == typeof a
  3328. ? n.extend({}, a)
  3329. : {
  3330. complete: c || (!c && b) || (n.isFunction(a) && a),
  3331. duration: a,
  3332. easing: (c && b) || (b && !n.isFunction(b) && b),
  3333. };
  3334. return (
  3335. (d.duration = n.fx.off
  3336. ? 0
  3337. : "number" == typeof d.duration
  3338. ? d.duration
  3339. : d.duration in n.fx.speeds
  3340. ? n.fx.speeds[d.duration]
  3341. : n.fx.speeds._default),
  3342. (null == d.queue || d.queue === !0) && (d.queue = "fx"),
  3343. (d.old = d.complete),
  3344. (d.complete = function () {
  3345. n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue);
  3346. }),
  3347. d
  3348. );
  3349. }),
  3350. n.fn.extend({
  3351. fadeTo: function (a, b, c, d) {
  3352. return this.filter(S).css("opacity", 0).show().end().animate({ opacity: b }, a, c, d);
  3353. },
  3354. animate: function (a, b, c, d) {
  3355. var e = n.isEmptyObject(a),
  3356. f = n.speed(b, c, d),
  3357. g = function () {
  3358. var b = Xa(this, n.extend({}, a), f);
  3359. (e || L.get(this, "finish")) && b.stop(!0);
  3360. };
  3361. return (g.finish = g), e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g);
  3362. },
  3363. stop: function (a, b, c) {
  3364. var d = function (a) {
  3365. var b = a.stop;
  3366. delete a.stop, b(c);
  3367. };
  3368. return (
  3369. "string" != typeof a && ((c = b), (b = a), (a = void 0)),
  3370. b && a !== !1 && this.queue(a || "fx", []),
  3371. this.each(function () {
  3372. var b = !0,
  3373. e = null != a && a + "queueHooks",
  3374. f = n.timers,
  3375. g = L.get(this);
  3376. if (e) g[e] && g[e].stop && d(g[e]);
  3377. else for (e in g) g[e] && g[e].stop && Pa.test(e) && d(g[e]);
  3378. for (e = f.length; e--; )
  3379. f[e].elem !== this ||
  3380. (null != a && f[e].queue !== a) ||
  3381. (f[e].anim.stop(c), (b = !1), f.splice(e, 1));
  3382. (b || !c) && n.dequeue(this, a);
  3383. })
  3384. );
  3385. },
  3386. finish: function (a) {
  3387. return (
  3388. a !== !1 && (a = a || "fx"),
  3389. this.each(function () {
  3390. var b,
  3391. c = L.get(this),
  3392. d = c[a + "queue"],
  3393. e = c[a + "queueHooks"],
  3394. f = n.timers,
  3395. g = d ? d.length : 0;
  3396. for (
  3397. c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length;
  3398. b--;
  3399.  
  3400. )
  3401. f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
  3402. for (b = 0; g > b; b++) d[b] && d[b].finish && d[b].finish.call(this);
  3403. delete c.finish;
  3404. })
  3405. );
  3406. },
  3407. }),
  3408. n.each(["toggle", "show", "hide"], function (a, b) {
  3409. var c = n.fn[b];
  3410. n.fn[b] = function (a, d, e) {
  3411. return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Ta(b, !0), a, d, e);
  3412. };
  3413. }),
  3414. n.each(
  3415. {
  3416. slideDown: Ta("show"),
  3417. slideUp: Ta("hide"),
  3418. slideToggle: Ta("toggle"),
  3419. fadeIn: { opacity: "show" },
  3420. fadeOut: { opacity: "hide" },
  3421. fadeToggle: { opacity: "toggle" },
  3422. },
  3423. function (a, b) {
  3424. n.fn[a] = function (a, c, d) {
  3425. return this.animate(b, a, c, d);
  3426. };
  3427. }
  3428. ),
  3429. (n.timers = []),
  3430. (n.fx.tick = function () {
  3431. var a,
  3432. b = 0,
  3433. c = n.timers;
  3434. for (La = n.now(); b < c.length; b++) (a = c[b]), a() || c[b] !== a || c.splice(b--, 1);
  3435. c.length || n.fx.stop(), (La = void 0);
  3436. }),
  3437. (n.fx.timer = function (a) {
  3438. n.timers.push(a), a() ? n.fx.start() : n.timers.pop();
  3439. }),
  3440. (n.fx.interval = 13),
  3441. (n.fx.start = function () {
  3442. Ma || (Ma = setInterval(n.fx.tick, n.fx.interval));
  3443. }),
  3444. (n.fx.stop = function () {
  3445. clearInterval(Ma), (Ma = null);
  3446. }),
  3447. (n.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
  3448. (n.fn.delay = function (a, b) {
  3449. return (
  3450. (a = n.fx ? n.fx.speeds[a] || a : a),
  3451. (b = b || "fx"),
  3452. this.queue(b, function (b, c) {
  3453. var d = setTimeout(b, a);
  3454. c.stop = function () {
  3455. clearTimeout(d);
  3456. };
  3457. })
  3458. );
  3459. }),
  3460. (function () {
  3461. var a = l.createElement("input"),
  3462. b = l.createElement("select"),
  3463. c = b.appendChild(l.createElement("option"));
  3464. (a.type = "checkbox"),
  3465. (k.checkOn = "" !== a.value),
  3466. (k.optSelected = c.selected),
  3467. (b.disabled = !0),
  3468. (k.optDisabled = !c.disabled),
  3469. (a = l.createElement("input")),
  3470. (a.value = "t"),
  3471. (a.type = "radio"),
  3472. (k.radioValue = "t" === a.value);
  3473. })();
  3474. var Ya,
  3475. Za,
  3476. $a = n.expr.attrHandle;
  3477. n.fn.extend({
  3478. attr: function (a, b) {
  3479. return J(this, n.attr, a, b, arguments.length > 1);
  3480. },
  3481. removeAttr: function (a) {
  3482. return this.each(function () {
  3483. n.removeAttr(this, a);
  3484. });
  3485. },
  3486. }),
  3487. n.extend({
  3488. attr: function (a, b, c) {
  3489. var d,
  3490. e,
  3491. f = a.nodeType;
  3492. if (a && 3 !== f && 8 !== f && 2 !== f)
  3493. return typeof a.getAttribute === U
  3494. ? n.prop(a, b, c)
  3495. : ((1 === f && n.isXMLDoc(a)) ||
  3496. ((b = b.toLowerCase()), (d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Za : Ya))),
  3497. void 0 === c
  3498. ? d && "get" in d && null !== (e = d.get(a, b))
  3499. ? e
  3500. : ((e = n.find.attr(a, b)), null == e ? void 0 : e)
  3501. : null !== c
  3502. ? d && "set" in d && void 0 !== (e = d.set(a, c, b))
  3503. ? e
  3504. : (a.setAttribute(b, c + ""), c)
  3505. : void n.removeAttr(a, b));
  3506. },
  3507. removeAttr: function (a, b) {
  3508. var c,
  3509. d,
  3510. e = 0,
  3511. f = b && b.match(E);
  3512. if (f && 1 === a.nodeType)
  3513. while ((c = f[e++]))
  3514. (d = n.propFix[c] || c), n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c);
  3515. },
  3516. attrHooks: {
  3517. type: {
  3518. set: function (a, b) {
  3519. if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) {
  3520. var c = a.value;
  3521. return a.setAttribute("type", b), c && (a.value = c), b;
  3522. }
  3523. },
  3524. },
  3525. },
  3526. }),
  3527. (Za = {
  3528. set: function (a, b, c) {
  3529. return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c;
  3530. },
  3531. }),
  3532. n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
  3533. var c = $a[b] || n.find.attr;
  3534. $a[b] = function (a, b, d) {
  3535. var e, f;
  3536. return (
  3537. d || ((f = $a[b]), ($a[b] = e), (e = null != c(a, b, d) ? b.toLowerCase() : null), ($a[b] = f)), e
  3538. );
  3539. };
  3540. });
  3541. var _a = /^(?:input|select|textarea|button)$/i;
  3542. n.fn.extend({
  3543. prop: function (a, b) {
  3544. return J(this, n.prop, a, b, arguments.length > 1);
  3545. },
  3546. removeProp: function (a) {
  3547. return this.each(function () {
  3548. delete this[n.propFix[a] || a];
  3549. });
  3550. },
  3551. }),
  3552. n.extend({
  3553. propFix: { for: "htmlFor", class: "className" },
  3554. prop: function (a, b, c) {
  3555. var d,
  3556. e,
  3557. f,
  3558. g = a.nodeType;
  3559. if (a && 3 !== g && 8 !== g && 2 !== g)
  3560. return (
  3561. (f = 1 !== g || !n.isXMLDoc(a)),
  3562. f && ((b = n.propFix[b] || b), (e = n.propHooks[b])),
  3563. void 0 !== c
  3564. ? e && "set" in e && void 0 !== (d = e.set(a, c, b))
  3565. ? d
  3566. : (a[b] = c)
  3567. : e && "get" in e && null !== (d = e.get(a, b))
  3568. ? d
  3569. : a[b]
  3570. );
  3571. },
  3572. propHooks: {
  3573. tabIndex: {
  3574. get: function (a) {
  3575. return a.hasAttribute("tabindex") || _a.test(a.nodeName) || a.href ? a.tabIndex : -1;
  3576. },
  3577. },
  3578. },
  3579. }),
  3580. k.optSelected ||
  3581. (n.propHooks.selected = {
  3582. get: function (a) {
  3583. var b = a.parentNode;
  3584. return b && b.parentNode && b.parentNode.selectedIndex, null;
  3585. },
  3586. }),
  3587. n.each(
  3588. [
  3589. "tabIndex",
  3590. "readOnly",
  3591. "maxLength",
  3592. "cellSpacing",
  3593. "cellPadding",
  3594. "rowSpan",
  3595. "colSpan",
  3596. "useMap",
  3597. "frameBorder",
  3598. "contentEditable",
  3599. ],
  3600. function () {
  3601. n.propFix[this.toLowerCase()] = this;
  3602. }
  3603. );
  3604. var ab = /[\t\r\n\f]/g;
  3605. n.fn.extend({
  3606. addClass: function (a) {
  3607. var b,
  3608. c,
  3609. d,
  3610. e,
  3611. f,
  3612. g,
  3613. h = "string" == typeof a && a,
  3614. i = 0,
  3615. j = this.length;
  3616. if (n.isFunction(a))
  3617. return this.each(function (b) {
  3618. n(this).addClass(a.call(this, b, this.className));
  3619. });
  3620. if (h)
  3621. for (b = (a || "").match(E) || []; j > i; i++)
  3622. if (
  3623. ((c = this[i]),
  3624. (d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ab, " ") : " ")))
  3625. ) {
  3626. f = 0;
  3627. while ((e = b[f++])) d.indexOf(" " + e + " ") < 0 && (d += e + " ");
  3628. (g = n.trim(d)), c.className !== g && (c.className = g);
  3629. }
  3630. return this;
  3631. },
  3632. removeClass: function (a) {
  3633. var b,
  3634. c,
  3635. d,
  3636. e,
  3637. f,
  3638. g,
  3639. h = 0 === arguments.length || ("string" == typeof a && a),
  3640. i = 0,
  3641. j = this.length;
  3642. if (n.isFunction(a))
  3643. return this.each(function (b) {
  3644. n(this).removeClass(a.call(this, b, this.className));
  3645. });
  3646. if (h)
  3647. for (b = (a || "").match(E) || []; j > i; i++)
  3648. if (
  3649. ((c = this[i]),
  3650. (d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ab, " ") : "")))
  3651. ) {
  3652. f = 0;
  3653. while ((e = b[f++])) while (d.indexOf(" " + e + " ") >= 0) d = d.replace(" " + e + " ", " ");
  3654. (g = a ? n.trim(d) : ""), c.className !== g && (c.className = g);
  3655. }
  3656. return this;
  3657. },
  3658. toggleClass: function (a, b) {
  3659. var c = typeof a;
  3660. return "boolean" == typeof b && "string" === c
  3661. ? b
  3662. ? this.addClass(a)
  3663. : this.removeClass(a)
  3664. : this.each(
  3665. n.isFunction(a)
  3666. ? function (c) {
  3667. n(this).toggleClass(a.call(this, c, this.className, b), b);
  3668. }
  3669. : function () {
  3670. if ("string" === c) {
  3671. var b,
  3672. d = 0,
  3673. e = n(this),
  3674. f = a.match(E) || [];
  3675. while ((b = f[d++])) e.hasClass(b) ? e.removeClass(b) : e.addClass(b);
  3676. } else
  3677. (c === U || "boolean" === c) &&
  3678. (this.className && L.set(this, "__className__", this.className),
  3679. (this.className =
  3680. this.className || a === !1 ? "" : L.get(this, "__className__") || ""));
  3681. }
  3682. );
  3683. },
  3684. hasClass: function (a) {
  3685. for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)
  3686. if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ab, " ").indexOf(b) >= 0)
  3687. return !0;
  3688. return !1;
  3689. },
  3690. });
  3691. var bb = /\r/g;
  3692. n.fn.extend({
  3693. val: function (a) {
  3694. var b,
  3695. c,
  3696. d,
  3697. e = this[0];
  3698. {
  3699. if (arguments.length)
  3700. return (
  3701. (d = n.isFunction(a)),
  3702. this.each(function (c) {
  3703. var e;
  3704. 1 === this.nodeType &&
  3705. ((e = d ? a.call(this, c, n(this).val()) : a),
  3706. null == e
  3707. ? (e = "")
  3708. : "number" == typeof e
  3709. ? (e += "")
  3710. : n.isArray(e) &&
  3711. (e = n.map(e, function (a) {
  3712. return null == a ? "" : a + "";
  3713. })),
  3714. (b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()]),
  3715. (b && "set" in b && void 0 !== b.set(this, e, "value")) || (this.value = e));
  3716. })
  3717. );
  3718. if (e)
  3719. return (
  3720. (b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()]),
  3721. b && "get" in b && void 0 !== (c = b.get(e, "value"))
  3722. ? c
  3723. : ((c = e.value), "string" == typeof c ? c.replace(bb, "") : null == c ? "" : c)
  3724. );
  3725. }
  3726. },
  3727. }),
  3728. n.extend({
  3729. valHooks: {
  3730. option: {
  3731. get: function (a) {
  3732. var b = n.find.attr(a, "value");
  3733. return null != b ? b : n.trim(n.text(a));
  3734. },
  3735. },
  3736. select: {
  3737. get: function (a) {
  3738. for (
  3739. var b,
  3740. c,
  3741. d = a.options,
  3742. e = a.selectedIndex,
  3743. f = "select-one" === a.type || 0 > e,
  3744. g = f ? null : [],
  3745. h = f ? e + 1 : d.length,
  3746. i = 0 > e ? h : f ? e : 0;
  3747. h > i;
  3748. i++
  3749. )
  3750. if (
  3751. ((c = d[i]),
  3752. !(
  3753. (!c.selected && i !== e) ||
  3754. (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) ||
  3755. (c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))
  3756. ))
  3757. ) {
  3758. if (((b = n(c).val()), f)) return b;
  3759. g.push(b);
  3760. }
  3761. return g;
  3762. },
  3763. set: function (a, b) {
  3764. var c,
  3765. d,
  3766. e = a.options,
  3767. f = n.makeArray(b),
  3768. g = e.length;
  3769. while (g--) (d = e[g]), (d.selected = n.inArray(d.value, f) >= 0) && (c = !0);
  3770. return c || (a.selectedIndex = -1), f;
  3771. },
  3772. },
  3773. },
  3774. }),
  3775. n.each(["radio", "checkbox"], function () {
  3776. (n.valHooks[this] = {
  3777. set: function (a, b) {
  3778. return n.isArray(b) ? (a.checked = n.inArray(n(a).val(), b) >= 0) : void 0;
  3779. },
  3780. }),
  3781. k.checkOn ||
  3782. (n.valHooks[this].get = function (a) {
  3783. return null === a.getAttribute("value") ? "on" : a.value;
  3784. });
  3785. }),
  3786. n.each(
  3787. "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(
  3788. " "
  3789. ),
  3790. function (a, b) {
  3791. n.fn[b] = function (a, c) {
  3792. return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b);
  3793. };
  3794. }
  3795. ),
  3796. n.fn.extend({
  3797. hover: function (a, b) {
  3798. return this.mouseenter(a).mouseleave(b || a);
  3799. },
  3800. bind: function (a, b, c) {
  3801. return this.on(a, null, b, c);
  3802. },
  3803. unbind: function (a, b) {
  3804. return this.off(a, null, b);
  3805. },
  3806. delegate: function (a, b, c, d) {
  3807. return this.on(b, a, c, d);
  3808. },
  3809. undelegate: function (a, b, c) {
  3810. return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c);
  3811. },
  3812. });
  3813. var cb = n.now(),
  3814. db = /\?/;
  3815. (n.parseJSON = function (a) {
  3816. return JSON.parse(a + "");
  3817. }),
  3818. (n.parseXML = function (a) {
  3819. var b, c;
  3820. if (!a || "string" != typeof a) return null;
  3821. try {
  3822. (c = new DOMParser()), (b = c.parseFromString(a, "text/xml"));
  3823. } catch (d) {
  3824. b = void 0;
  3825. }
  3826. return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b;
  3827. });
  3828. var eb = /#.*$/,
  3829. fb = /([?&])_=[^&]*/,
  3830. gb = /^(.*?):[ \t]*([^\r\n]*)$/gm,
  3831. hb = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  3832. ib = /^(?:GET|HEAD)$/,
  3833. jb = /^\/\//,
  3834. kb = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  3835. lb = {},
  3836. mb = {},
  3837. nb = "*/".concat("*"),
  3838. ob = a.location.href,
  3839. pb = kb.exec(ob.toLowerCase()) || [];
  3840. function qb(a) {
  3841. return function (b, c) {
  3842. "string" != typeof b && ((c = b), (b = "*"));
  3843. var d,
  3844. e = 0,
  3845. f = b.toLowerCase().match(E) || [];
  3846. if (n.isFunction(c))
  3847. while ((d = f[e++]))
  3848. "+" === d[0]
  3849. ? ((d = d.slice(1) || "*"), (a[d] = a[d] || []).unshift(c))
  3850. : (a[d] = a[d] || []).push(c);
  3851. };
  3852. }
  3853. function rb(a, b, c, d) {
  3854. var e = {},
  3855. f = a === mb;
  3856. function g(h) {
  3857. var i;
  3858. return (
  3859. (e[h] = !0),
  3860. n.each(a[h] || [], function (a, h) {
  3861. var j = h(b, c, d);
  3862. return "string" != typeof j || f || e[j]
  3863. ? f
  3864. ? !(i = j)
  3865. : void 0
  3866. : (b.dataTypes.unshift(j), g(j), !1);
  3867. }),
  3868. i
  3869. );
  3870. }
  3871. return g(b.dataTypes[0]) || (!e["*"] && g("*"));
  3872. }
  3873. function sb(a, b) {
  3874. var c,
  3875. d,
  3876. e = n.ajaxSettings.flatOptions || {};
  3877. for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
  3878. return d && n.extend(!0, a, d), a;
  3879. }
  3880. function tb(a, b, c) {
  3881. var d,
  3882. e,
  3883. f,
  3884. g,
  3885. h = a.contents,
  3886. i = a.dataTypes;
  3887. while ("*" === i[0]) i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
  3888. if (d)
  3889. for (e in h)
  3890. if (h[e] && h[e].test(d)) {
  3891. i.unshift(e);
  3892. break;
  3893. }
  3894. if (i[0] in c) f = i[0];
  3895. else {
  3896. for (e in c) {
  3897. if (!i[0] || a.converters[e + " " + i[0]]) {
  3898. f = e;
  3899. break;
  3900. }
  3901. g || (g = e);
  3902. }
  3903. f = f || g;
  3904. }
  3905. return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0;
  3906. }
  3907. function ub(a, b, c, d) {
  3908. var e,
  3909. f,
  3910. g,
  3911. h,
  3912. i,
  3913. j = {},
  3914. k = a.dataTypes.slice();
  3915. if (k[1]) for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
  3916. f = k.shift();
  3917. while (f)
  3918. if (
  3919. (a.responseFields[f] && (c[a.responseFields[f]] = b),
  3920. !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)),
  3921. (i = f),
  3922. (f = k.shift()))
  3923. )
  3924. if ("*" === f) f = i;
  3925. else if ("*" !== i && i !== f) {
  3926. if (((g = j[i + " " + f] || j["* " + f]), !g))
  3927. for (e in j)
  3928. if (((h = e.split(" ")), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]]))) {
  3929. g === !0 ? (g = j[e]) : j[e] !== !0 && ((f = h[0]), k.unshift(h[1]));
  3930. break;
  3931. }
  3932. if (g !== !0)
  3933. if (g && a["throws"]) b = g(b);
  3934. else
  3935. try {
  3936. b = g(b);
  3937. } catch (l) {
  3938. return { state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f };
  3939. }
  3940. }
  3941. return { state: "success", data: b };
  3942. }
  3943. n.extend({
  3944. active: 0,
  3945. lastModified: {},
  3946. etag: {},
  3947. ajaxSettings: {
  3948. url: ob,
  3949. type: "GET",
  3950. isLocal: hb.test(pb[1]),
  3951. global: !0,
  3952. processData: !0,
  3953. async: !0,
  3954. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  3955. accepts: {
  3956. "*": nb,
  3957. text: "text/plain",
  3958. html: "text/html",
  3959. xml: "application/xml, text/xml",
  3960. json: "application/json, text/javascript",
  3961. },
  3962. contents: { xml: /xml/, html: /html/, json: /json/ },
  3963. responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" },
  3964. converters: { "* text": String, "text html": !0, "text json": n.parseJSON, "text xml": n.parseXML },
  3965. flatOptions: { url: !0, context: !0 },
  3966. },
  3967. ajaxSetup: function (a, b) {
  3968. return b ? sb(sb(a, n.ajaxSettings), b) : sb(n.ajaxSettings, a);
  3969. },
  3970. ajaxPrefilter: qb(lb),
  3971. ajaxTransport: qb(mb),
  3972. ajax: function (a, b) {
  3973. "object" == typeof a && ((b = a), (a = void 0)), (b = b || {});
  3974. var c,
  3975. d,
  3976. e,
  3977. f,
  3978. g,
  3979. h,
  3980. i,
  3981. j,
  3982. k = n.ajaxSetup({}, b),
  3983. l = k.context || k,
  3984. m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
  3985. o = n.Deferred(),
  3986. p = n.Callbacks("once memory"),
  3987. q = k.statusCode || {},
  3988. r = {},
  3989. s = {},
  3990. t = 0,
  3991. u = "canceled",
  3992. v = {
  3993. readyState: 0,
  3994. getResponseHeader: function (a) {
  3995. var b;
  3996. if (2 === t) {
  3997. if (!f) {
  3998. f = {};
  3999. while ((b = gb.exec(e))) f[b[1].toLowerCase()] = b[2];
  4000. }
  4001. b = f[a.toLowerCase()];
  4002. }
  4003. return null == b ? null : b;
  4004. },
  4005. getAllResponseHeaders: function () {
  4006. return 2 === t ? e : null;
  4007. },
  4008. setRequestHeader: function (a, b) {
  4009. var c = a.toLowerCase();
  4010. return t || ((a = s[c] = s[c] || a), (r[a] = b)), this;
  4011. },
  4012. overrideMimeType: function (a) {
  4013. return t || (k.mimeType = a), this;
  4014. },
  4015. statusCode: function (a) {
  4016. var b;
  4017. if (a)
  4018. if (2 > t) for (b in a) q[b] = [q[b], a[b]];
  4019. else v.always(a[v.status]);
  4020. return this;
  4021. },
  4022. abort: function (a) {
  4023. var b = a || u;
  4024. return c && c.abort(b), x(0, b), this;
  4025. },
  4026. };
  4027. if (
  4028. ((o.promise(v).complete = p.add),
  4029. (v.success = v.done),
  4030. (v.error = v.fail),
  4031. (k.url = ((a || k.url || ob) + "").replace(eb, "").replace(jb, pb[1] + "//")),
  4032. (k.type = b.method || b.type || k.method || k.type),
  4033. (k.dataTypes = n
  4034. .trim(k.dataType || "*")
  4035. .toLowerCase()
  4036. .match(E) || [""]),
  4037. null == k.crossDomain &&
  4038. ((h = kb.exec(k.url.toLowerCase())),
  4039. (k.crossDomain = !(
  4040. !h ||
  4041. (h[1] === pb[1] &&
  4042. h[2] === pb[2] &&
  4043. (h[3] || ("http:" === h[1] ? "80" : "443")) ===
  4044. (pb[3] || ("http:" === pb[1] ? "80" : "443")))
  4045. ))),
  4046. k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)),
  4047. rb(lb, k, b, v),
  4048. 2 === t)
  4049. )
  4050. return v;
  4051. (i = n.event && k.global),
  4052. i && 0 === n.active++ && n.event.trigger("ajaxStart"),
  4053. (k.type = k.type.toUpperCase()),
  4054. (k.hasContent = !ib.test(k.type)),
  4055. (d = k.url),
  4056. k.hasContent ||
  4057. (k.data && ((d = k.url += (db.test(d) ? "&" : "?") + k.data), delete k.data),
  4058. k.cache === !1 &&
  4059. (k.url = fb.test(d)
  4060. ? d.replace(fb, "$1_=" + cb++)
  4061. : d + (db.test(d) ? "&" : "?") + "_=" + cb++)),
  4062. k.ifModified &&
  4063. (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]),
  4064. n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])),
  4065. ((k.data && k.hasContent && k.contentType !== !1) || b.contentType) &&
  4066. v.setRequestHeader("Content-Type", k.contentType),
  4067. v.setRequestHeader(
  4068. "Accept",
  4069. k.dataTypes[0] && k.accepts[k.dataTypes[0]]
  4070. ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + nb + "; q=0.01" : "")
  4071. : k.accepts["*"]
  4072. );
  4073. for (j in k.headers) v.setRequestHeader(j, k.headers[j]);
  4074. if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t)) return v.abort();
  4075. u = "abort";
  4076. for (j in { success: 1, error: 1, complete: 1 }) v[j](k[j]);
  4077. if ((c = rb(mb, k, b, v))) {
  4078. (v.readyState = 1),
  4079. i && m.trigger("ajaxSend", [v, k]),
  4080. k.async &&
  4081. k.timeout > 0 &&
  4082. (g = setTimeout(function () {
  4083. v.abort("timeout");
  4084. }, k.timeout));
  4085. try {
  4086. (t = 1), c.send(r, x);
  4087. } catch (w) {
  4088. if (!(2 > t)) throw w;
  4089. x(-1, w);
  4090. }
  4091. } else x(-1, "No Transport");
  4092. function x(a, b, f, h) {
  4093. var j,
  4094. r,
  4095. s,
  4096. u,
  4097. w,
  4098. x = b;
  4099. 2 !== t &&
  4100. ((t = 2),
  4101. g && clearTimeout(g),
  4102. (c = void 0),
  4103. (e = h || ""),
  4104. (v.readyState = a > 0 ? 4 : 0),
  4105. (j = (a >= 200 && 300 > a) || 304 === a),
  4106. f && (u = tb(k, v, f)),
  4107. (u = ub(k, u, v, j)),
  4108. j
  4109. ? (k.ifModified &&
  4110. ((w = v.getResponseHeader("Last-Modified")),
  4111. w && (n.lastModified[d] = w),
  4112. (w = v.getResponseHeader("etag")),
  4113. w && (n.etag[d] = w)),
  4114. 204 === a || "HEAD" === k.type
  4115. ? (x = "nocontent")
  4116. : 304 === a
  4117. ? (x = "notmodified")
  4118. : ((x = u.state), (r = u.data), (s = u.error), (j = !s)))
  4119. : ((s = x), (a || !x) && ((x = "error"), 0 > a && (a = 0))),
  4120. (v.status = a),
  4121. (v.statusText = (b || x) + ""),
  4122. j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]),
  4123. v.statusCode(q),
  4124. (q = void 0),
  4125. i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]),
  4126. p.fireWith(l, [v, x]),
  4127. i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")));
  4128. }
  4129. return v;
  4130. },
  4131. getJSON: function (a, b, c) {
  4132. return n.get(a, b, c, "json");
  4133. },
  4134. getScript: function (a, b) {
  4135. return n.get(a, void 0, b, "script");
  4136. },
  4137. }),
  4138. n.each(["get", "post"], function (a, b) {
  4139. n[b] = function (a, c, d, e) {
  4140. return (
  4141. n.isFunction(c) && ((e = e || d), (d = c), (c = void 0)),
  4142. n.ajax({ url: a, type: b, dataType: e, data: c, success: d })
  4143. );
  4144. };
  4145. }),
  4146. (n._evalUrl = function (a) {
  4147. return n.ajax({ url: a, type: "GET", dataType: "script", async: !1, global: !1, throws: !0 });
  4148. }),
  4149. n.fn.extend({
  4150. wrapAll: function (a) {
  4151. var b;
  4152. return n.isFunction(a)
  4153. ? this.each(function (b) {
  4154. n(this).wrapAll(a.call(this, b));
  4155. })
  4156. : (this[0] &&
  4157. ((b = n(a, this[0].ownerDocument).eq(0).clone(!0)),
  4158. this[0].parentNode && b.insertBefore(this[0]),
  4159. b
  4160. .map(function () {
  4161. var a = this;
  4162. while (a.firstElementChild) a = a.firstElementChild;
  4163. return a;
  4164. })
  4165. .append(this)),
  4166. this);
  4167. },
  4168. wrapInner: function (a) {
  4169. return this.each(
  4170. n.isFunction(a)
  4171. ? function (b) {
  4172. n(this).wrapInner(a.call(this, b));
  4173. }
  4174. : function () {
  4175. var b = n(this),
  4176. c = b.contents();
  4177. c.length ? c.wrapAll(a) : b.append(a);
  4178. }
  4179. );
  4180. },
  4181. wrap: function (a) {
  4182. var b = n.isFunction(a);
  4183. return this.each(function (c) {
  4184. n(this).wrapAll(b ? a.call(this, c) : a);
  4185. });
  4186. },
  4187. unwrap: function () {
  4188. return this.parent()
  4189. .each(function () {
  4190. n.nodeName(this, "body") || n(this).replaceWith(this.childNodes);
  4191. })
  4192. .end();
  4193. },
  4194. }),
  4195. (n.expr.filters.hidden = function (a) {
  4196. return a.offsetWidth <= 0 && a.offsetHeight <= 0;
  4197. }),
  4198. (n.expr.filters.visible = function (a) {
  4199. return !n.expr.filters.hidden(a);
  4200. });
  4201. var vb = /%20/g,
  4202. wb = /\[\]$/,
  4203. xb = /\r?\n/g,
  4204. yb = /^(?:submit|button|image|reset|file)$/i,
  4205. zb = /^(?:input|select|textarea|keygen)/i;
  4206. function Ab(a, b, c, d) {
  4207. var e;
  4208. if (n.isArray(b))
  4209. n.each(b, function (b, e) {
  4210. c || wb.test(a) ? d(a, e) : Ab(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d);
  4211. });
  4212. else if (c || "object" !== n.type(b)) d(a, b);
  4213. else for (e in b) Ab(a + "[" + e + "]", b[e], c, d);
  4214. }
  4215. (n.param = function (a, b) {
  4216. var c,
  4217. d = [],
  4218. e = function (a, b) {
  4219. (b = n.isFunction(b) ? b() : null == b ? "" : b),
  4220. (d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b));
  4221. };
  4222. if (
  4223. (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional),
  4224. n.isArray(a) || (a.jquery && !n.isPlainObject(a)))
  4225. )
  4226. n.each(a, function () {
  4227. e(this.name, this.value);
  4228. });
  4229. else for (c in a) Ab(c, a[c], b, e);
  4230. return d.join("&").replace(vb, "+");
  4231. }),
  4232. n.fn.extend({
  4233. serialize: function () {
  4234. return n.param(this.serializeArray());
  4235. },
  4236. serializeArray: function () {
  4237. return this.map(function () {
  4238. var a = n.prop(this, "elements");
  4239. return a ? n.makeArray(a) : this;
  4240. })
  4241. .filter(function () {
  4242. var a = this.type;
  4243. return (
  4244. this.name &&
  4245. !n(this).is(":disabled") &&
  4246. zb.test(this.nodeName) &&
  4247. !yb.test(a) &&
  4248. (this.checked || !T.test(a))
  4249. );
  4250. })
  4251. .map(function (a, b) {
  4252. var c = n(this).val();
  4253. return null == c
  4254. ? null
  4255. : n.isArray(c)
  4256. ? n.map(c, function (a) {
  4257. return { name: b.name, value: a.replace(xb, "\r\n") };
  4258. })
  4259. : { name: b.name, value: c.replace(xb, "\r\n") };
  4260. })
  4261. .get();
  4262. },
  4263. }),
  4264. (n.ajaxSettings.xhr = function () {
  4265. try {
  4266. return new XMLHttpRequest();
  4267. } catch (a) {}
  4268. });
  4269. var Bb = 0,
  4270. Cb = {},
  4271. Db = { 0: 200, 1223: 204 },
  4272. Eb = n.ajaxSettings.xhr();
  4273. a.attachEvent &&
  4274. a.attachEvent("onunload", function () {
  4275. for (var a in Cb) Cb[a]();
  4276. }),
  4277. (k.cors = !!Eb && "withCredentials" in Eb),
  4278. (k.ajax = Eb = !!Eb),
  4279. n.ajaxTransport(function (a) {
  4280. var b;
  4281. return k.cors || (Eb && !a.crossDomain)
  4282. ? {
  4283. send: function (c, d) {
  4284. var e,
  4285. f = a.xhr(),
  4286. g = ++Bb;
  4287. if ((f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields))
  4288. for (e in a.xhrFields) f[e] = a.xhrFields[e];
  4289. a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType),
  4290. a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
  4291. for (e in c) f.setRequestHeader(e, c[e]);
  4292. (b = function (a) {
  4293. return function () {
  4294. b &&
  4295. (delete Cb[g],
  4296. (b = f.onload = f.onerror = null),
  4297. "abort" === a
  4298. ? f.abort()
  4299. : "error" === a
  4300. ? d(f.status, f.statusText)
  4301. : d(
  4302. Db[f.status] || f.status,
  4303. f.statusText,
  4304. "string" == typeof f.responseText
  4305. ? { text: f.responseText }
  4306. : void 0,
  4307. f.getAllResponseHeaders()
  4308. ));
  4309. };
  4310. }),
  4311. (f.onload = b()),
  4312. (f.onerror = b("error")),
  4313. (b = Cb[g] = b("abort"));
  4314. try {
  4315. f.send((a.hasContent && a.data) || null);
  4316. } catch (h) {
  4317. if (b) throw h;
  4318. }
  4319. },
  4320. abort: function () {
  4321. b && b();
  4322. },
  4323. }
  4324. : void 0;
  4325. }),
  4326. n.ajaxSetup({
  4327. accepts: {
  4328. script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",
  4329. },
  4330. contents: { script: /(?:java|ecma)script/ },
  4331. converters: {
  4332. "text script": function (a) {
  4333. return n.globalEval(a), a;
  4334. },
  4335. },
  4336. }),
  4337. n.ajaxPrefilter("script", function (a) {
  4338. void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET");
  4339. }),
  4340. n.ajaxTransport("script", function (a) {
  4341. if (a.crossDomain) {
  4342. var b, c;
  4343. return {
  4344. send: function (d, e) {
  4345. (b = n("<script>")
  4346. .prop({ async: !0, charset: a.scriptCharset, src: a.url })
  4347. .on(
  4348. "load error",
  4349. (c = function (a) {
  4350. b.remove(), (c = null), a && e("error" === a.type ? 404 : 200, a.type);
  4351. })
  4352. )),
  4353. l.head.appendChild(b[0]);
  4354. },
  4355. abort: function () {
  4356. c && c();
  4357. },
  4358. };
  4359. }
  4360. });
  4361. var Fb = [],
  4362. Gb = /(=)\?(?=&|$)|\?\?/;
  4363. n.ajaxSetup({
  4364. jsonp: "callback",
  4365. jsonpCallback: function () {
  4366. var a = Fb.pop() || n.expando + "_" + cb++;
  4367. return (this[a] = !0), a;
  4368. },
  4369. }),
  4370. n.ajaxPrefilter("json jsonp", function (b, c, d) {
  4371. var e,
  4372. f,
  4373. g,
  4374. h =
  4375. b.jsonp !== !1 &&
  4376. (Gb.test(b.url)
  4377. ? "url"
  4378. : "string" == typeof b.data &&
  4379. !(b.contentType || "").indexOf("application/x-www-form-urlencoded") &&
  4380. Gb.test(b.data) &&
  4381. "data");
  4382. return h || "jsonp" === b.dataTypes[0]
  4383. ? ((e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback),
  4384. h
  4385. ? (b[h] = b[h].replace(Gb, "$1" + e))
  4386. : b.jsonp !== !1 && (b.url += (db.test(b.url) ? "&" : "?") + b.jsonp + "=" + e),
  4387. (b.converters["script json"] = function () {
  4388. return g || n.error(e + " was not called"), g[0];
  4389. }),
  4390. (b.dataTypes[0] = "json"),
  4391. (f = a[e]),
  4392. (a[e] = function () {
  4393. g = arguments;
  4394. }),
  4395. d.always(function () {
  4396. (a[e] = f),
  4397. b[e] && ((b.jsonpCallback = c.jsonpCallback), Fb.push(e)),
  4398. g && n.isFunction(f) && f(g[0]),
  4399. (g = f = void 0);
  4400. }),
  4401. "script")
  4402. : void 0;
  4403. }),
  4404. (n.parseHTML = function (a, b, c) {
  4405. if (!a || "string" != typeof a) return null;
  4406. "boolean" == typeof b && ((c = b), (b = !1)), (b = b || l);
  4407. var d = v.exec(a),
  4408. e = !c && [];
  4409. return d
  4410. ? [b.createElement(d[1])]
  4411. : ((d = n.buildFragment([a], b, e)), e && e.length && n(e).remove(), n.merge([], d.childNodes));
  4412. });
  4413. var Hb = n.fn.load;
  4414. (n.fn.load = function (a, b, c) {
  4415. if ("string" != typeof a && Hb) return Hb.apply(this, arguments);
  4416. var d,
  4417. e,
  4418. f,
  4419. g = this,
  4420. h = a.indexOf(" ");
  4421. return (
  4422. h >= 0 && ((d = n.trim(a.slice(h))), (a = a.slice(0, h))),
  4423. n.isFunction(b) ? ((c = b), (b = void 0)) : b && "object" == typeof b && (e = "POST"),
  4424. g.length > 0 &&
  4425. n
  4426. .ajax({ url: a, type: e, dataType: "html", data: b })
  4427. .done(function (a) {
  4428. (f = arguments), g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a);
  4429. })
  4430. .complete(
  4431. c &&
  4432. function (a, b) {
  4433. g.each(c, f || [a.responseText, b, a]);
  4434. }
  4435. ),
  4436. this
  4437. );
  4438. }),
  4439. n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
  4440. n.fn[b] = function (a) {
  4441. return this.on(b, a);
  4442. };
  4443. }),
  4444. (n.expr.filters.animated = function (a) {
  4445. return n.grep(n.timers, function (b) {
  4446. return a === b.elem;
  4447. }).length;
  4448. });
  4449. var Ib = a.document.documentElement;
  4450. function Jb(a) {
  4451. return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView;
  4452. }
  4453. (n.offset = {
  4454. setOffset: function (a, b, c) {
  4455. var d,
  4456. e,
  4457. f,
  4458. g,
  4459. h,
  4460. i,
  4461. j,
  4462. k = n.css(a, "position"),
  4463. l = n(a),
  4464. m = {};
  4465. "static" === k && (a.style.position = "relative"),
  4466. (h = l.offset()),
  4467. (f = n.css(a, "top")),
  4468. (i = n.css(a, "left")),
  4469. (j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1),
  4470. j
  4471. ? ((d = l.position()), (g = d.top), (e = d.left))
  4472. : ((g = parseFloat(f) || 0), (e = parseFloat(i) || 0)),
  4473. n.isFunction(b) && (b = b.call(a, c, h)),
  4474. null != b.top && (m.top = b.top - h.top + g),
  4475. null != b.left && (m.left = b.left - h.left + e),
  4476. "using" in b ? b.using.call(a, m) : l.css(m);
  4477. },
  4478. }),
  4479. n.fn.extend({
  4480. offset: function (a) {
  4481. if (arguments.length)
  4482. return void 0 === a
  4483. ? this
  4484. : this.each(function (b) {
  4485. n.offset.setOffset(this, a, b);
  4486. });
  4487. var b,
  4488. c,
  4489. d = this[0],
  4490. e = { top: 0, left: 0 },
  4491. f = d && d.ownerDocument;
  4492. if (f)
  4493. return (
  4494. (b = f.documentElement),
  4495. n.contains(b, d)
  4496. ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()),
  4497. (c = Jb(f)),
  4498. { top: e.top + c.pageYOffset - b.clientTop, left: e.left + c.pageXOffset - b.clientLeft })
  4499. : e
  4500. );
  4501. },
  4502. position: function () {
  4503. if (this[0]) {
  4504. var a,
  4505. b,
  4506. c = this[0],
  4507. d = { top: 0, left: 0 };
  4508. return (
  4509. "fixed" === n.css(c, "position")
  4510. ? (b = c.getBoundingClientRect())
  4511. : ((a = this.offsetParent()),
  4512. (b = this.offset()),
  4513. n.nodeName(a[0], "html") || (d = a.offset()),
  4514. (d.top += n.css(a[0], "borderTopWidth", !0)),
  4515. (d.left += n.css(a[0], "borderLeftWidth", !0))),
  4516. {
  4517. top: b.top - d.top - n.css(c, "marginTop", !0),
  4518. left: b.left - d.left - n.css(c, "marginLeft", !0),
  4519. }
  4520. );
  4521. }
  4522. },
  4523. offsetParent: function () {
  4524. return this.map(function () {
  4525. var a = this.offsetParent || Ib;
  4526. while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) a = a.offsetParent;
  4527. return a || Ib;
  4528. });
  4529. },
  4530. }),
  4531. n.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function (b, c) {
  4532. var d = "pageYOffset" === c;
  4533. n.fn[b] = function (e) {
  4534. return J(
  4535. this,
  4536. function (b, e, f) {
  4537. var g = Jb(b);
  4538. return void 0 === f
  4539. ? g
  4540. ? g[c]
  4541. : b[e]
  4542. : void (g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : (b[e] = f));
  4543. },
  4544. b,
  4545. e,
  4546. arguments.length,
  4547. null
  4548. );
  4549. };
  4550. }),
  4551. n.each(["top", "left"], function (a, b) {
  4552. n.cssHooks[b] = ya(k.pixelPosition, function (a, c) {
  4553. return c ? ((c = xa(a, b)), va.test(c) ? n(a).position()[b] + "px" : c) : void 0;
  4554. });
  4555. }),
  4556. n.each({ Height: "height", Width: "width" }, function (a, b) {
  4557. n.each({ padding: "inner" + a, content: b, "": "outer" + a }, function (c, d) {
  4558. n.fn[d] = function (d, e) {
  4559. var f = arguments.length && (c || "boolean" != typeof d),
  4560. g = c || (d === !0 || e === !0 ? "margin" : "border");
  4561. return J(
  4562. this,
  4563. function (b, c, d) {
  4564. var e;
  4565. return n.isWindow(b)
  4566. ? b.document.documentElement["client" + a]
  4567. : 9 === b.nodeType
  4568. ? ((e = b.documentElement),
  4569. Math.max(
  4570. b.body["scroll" + a],
  4571. e["scroll" + a],
  4572. b.body["offset" + a],
  4573. e["offset" + a],
  4574. e["client" + a]
  4575. ))
  4576. : void 0 === d
  4577. ? n.css(b, c, g)
  4578. : n.style(b, c, d, g);
  4579. },
  4580. b,
  4581. f ? d : void 0,
  4582. f,
  4583. null
  4584. );
  4585. };
  4586. });
  4587. }),
  4588. (n.fn.size = function () {
  4589. return this.length;
  4590. }),
  4591. (n.fn.andSelf = n.fn.addBack),
  4592. "function" == typeof define &&
  4593. define.amd &&
  4594. define("jquery", [], function () {
  4595. return n;
  4596. });
  4597. var Kb = a.jQuery,
  4598. Lb = a.$;
  4599. return (
  4600. (n.noConflict = function (b) {
  4601. return a.$ === n && (a.$ = Lb), b && a.jQuery === n && (a.jQuery = Kb), n;
  4602. }),
  4603. typeof b === U && (a.jQuery = a.$ = n),
  4604. n
  4605. );
  4606. });
  4607. //# sourceMappingURL=jquery.min.map