Advertisement
Guest User

Untitled

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