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