You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5377 lines
155 KiB

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