jquery-1.6.4.min.js 147 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937
  1. /*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */
  2. (function (a, b) {
  3. function cu(a) {
  4. return f.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : !1
  5. }
  6. function cr(a) {
  7. if (!cg[a]) {
  8. var b = c.body, d = f("<" + a + ">").appendTo(b), e = d.css("display");
  9. d.remove();
  10. if (e === "none" || e === "") {
  11. ch || (ch = c.createElement("iframe"), ch.frameBorder = ch.width = ch.height = 0), b.appendChild(ch);
  12. if (!ci || !ch.createElement)ci = (ch.contentWindow || ch.contentDocument).document, ci.write((c.compatMode === "CSS1Compat" ? "<!doctype html>" : "") + "<html><body>"), ci.close();
  13. d = ci.createElement(a), ci.body.appendChild(d), e = f.css(d, "display"), b.removeChild(ch)
  14. }
  15. cg[a] = e
  16. }
  17. return cg[a]
  18. }
  19. function cq(a, b) {
  20. var c = {};
  21. f.each(cm.concat.apply([], cm.slice(0, b)), function () {
  22. c[this] = a
  23. });
  24. return c
  25. }
  26. function cp() {
  27. cn = b
  28. }
  29. function co() {
  30. setTimeout(cp, 0);
  31. return cn = f.now()
  32. }
  33. function cf() {
  34. try {
  35. return new a.ActiveXObject("Microsoft.XMLHTTP")
  36. } catch (b) {
  37. }
  38. }
  39. function ce() {
  40. try {
  41. return new a.XMLHttpRequest
  42. } catch (b) {
  43. }
  44. }
  45. function b$(a, c) {
  46. a.dataFilter && (c = a.dataFilter(c, a.dataType));
  47. var d = a.dataTypes, e = {}, g, h, i = d.length, j, k = d[0], l, m, n, o, p;
  48. for (g = 1; g < i; g++) {
  49. if (g === 1)for (h in a.converters)typeof h == "string" && (e[h.toLowerCase()] = a.converters[h]);
  50. l = k, k = d[g];
  51. if (k === "*")k = l; else if (l !== "*" && l !== k) {
  52. m = l + " " + k, n = e[m] || e["* " + k];
  53. if (!n) {
  54. p = b;
  55. for (o in e) {
  56. j = o.split(" ");
  57. if (j[0] === l || j[0] === "*") {
  58. p = e[j[1] + " " + k];
  59. if (p) {
  60. o = e[o], o === !0 ? n = p : p === !0 && (n = o);
  61. break
  62. }
  63. }
  64. }
  65. }
  66. !n && !p && f.error("No conversion from " + m.replace(" ", " to ")), n !== !0 && (c = n ? n(c) : p(o(c)))
  67. }
  68. }
  69. return c
  70. }
  71. function bZ(a, c, d) {
  72. var e = a.contents, f = a.dataTypes, g = a.responseFields, h, i, j, k;
  73. for (i in g)i in d && (c[g[i]] = d[i]);
  74. while (f[0] === "*")f.shift(), h === b && (h = a.mimeType || c.getResponseHeader("content-type"));
  75. if (h)for (i in e)if (e[i] && e[i].test(h)) {
  76. f.unshift(i);
  77. break
  78. }
  79. if (f[0]in d)j = f[0]; else {
  80. for (i in d) {
  81. if (!f[0] || a.converters[i + " " + f[0]]) {
  82. j = i;
  83. break
  84. }
  85. k || (k = i)
  86. }
  87. j = j || k
  88. }
  89. if (j) {
  90. j !== f[0] && f.unshift(j);
  91. return d[j]
  92. }
  93. }
  94. function bY(a, b, c, d) {
  95. if (f.isArray(b))f.each(b, function (b, e) {
  96. c || bA.test(a) ? d(a, e) : bY(a + "[" + (typeof e == "object" || f.isArray(e) ? b : "") + "]", e, c, d)
  97. }); else if (!c && b != null && typeof b == "object")for (var e in b)bY(a + "[" + e + "]", b[e], c, d); else d(a, b)
  98. }
  99. function bX(a, c) {
  100. var d, e, g = f.ajaxSettings.flatOptions || {};
  101. for (d in c)c[d] !== b && ((g[d] ? a : e || (e = {}))[d] = c[d]);
  102. e && f.extend(!0, a, e)
  103. }
  104. function bW(a, c, d, e, f, g) {
  105. f = f || c.dataTypes[0], g = g || {}, g[f] = !0;
  106. var h = a[f], i = 0, j = h ? h.length : 0, k = a === bP, l;
  107. for (; i < j && (k || !l); i++)l = h[i](c, d, e), typeof l == "string" && (!k || g[l] ? l = b : (c.dataTypes.unshift(l), l = bW(a, c, d, e, l, g)));
  108. (k || !l) && !g["*"] && (l = bW(a, c, d, e, "*", g));
  109. return l
  110. }
  111. function bV(a) {
  112. return function (b, c) {
  113. typeof b != "string" && (c = b, b = "*");
  114. if (f.isFunction(c)) {
  115. var d = b.toLowerCase().split(bL), e = 0, g = d.length, h, i, j;
  116. for (; e < g; e++)h = d[e], j = /^\+/.test(h), j && (h = h.substr(1) || "*"), i = a[h] = a[h] || [], i[j ? "unshift" : "push"](c)
  117. }
  118. }
  119. }
  120. function by(a, b, c) {
  121. var d = b === "width" ? a.offsetWidth : a.offsetHeight, e = b === "width" ? bt : bu;
  122. if (d > 0) {
  123. c !== "border" && f.each(e, function () {
  124. c || (d -= parseFloat(f.css(a, "padding" + this)) || 0), c === "margin" ? d += parseFloat(f.css(a, c + this)) || 0 : d -= parseFloat(f.css(a, "border" + this + "Width")) || 0
  125. });
  126. return d + "px"
  127. }
  128. d = bv(a, b, b);
  129. if (d < 0 || d == null)d = a.style[b] || 0;
  130. d = parseFloat(d) || 0, c && f.each(e, function () {
  131. d += parseFloat(f.css(a, "padding" + this)) || 0, c !== "padding" && (d += parseFloat(f.css(a, "border" + this + "Width")) || 0), c === "margin" && (d += parseFloat(f.css(a, c + this)) || 0)
  132. });
  133. return d + "px"
  134. }
  135. function bl(a, b) {
  136. b.src ? f.ajax({
  137. url: b.src,
  138. async: !1,
  139. dataType: "script"
  140. }) : f.globalEval((b.text || b.textContent || b.innerHTML || "").replace(bd, "/*$0*/")), b.parentNode && b.parentNode.removeChild(b)
  141. }
  142. function bk(a) {
  143. f.nodeName(a, "input") ? bj(a) : "getElementsByTagName"in a && f.grep(a.getElementsByTagName("input"), bj)
  144. }
  145. function bj(a) {
  146. if (a.type === "checkbox" || a.type === "radio")a.defaultChecked = a.checked
  147. }
  148. function bi(a) {
  149. return "getElementsByTagName"in a ? a.getElementsByTagName("*") : "querySelectorAll"in a ? a.querySelectorAll("*") : []
  150. }
  151. function bh(a, b) {
  152. var c;
  153. if (b.nodeType === 1) {
  154. b.clearAttributes && b.clearAttributes(), b.mergeAttributes && b.mergeAttributes(a), c = b.nodeName.toLowerCase();
  155. if (c === "object")b.outerHTML = a.outerHTML; else if (c !== "input" || a.type !== "checkbox" && a.type !== "radio") {
  156. if (c === "option")b.selected = a.defaultSelected; else if (c === "input" || c === "textarea")b.defaultValue = a.defaultValue
  157. } else a.checked && (b.defaultChecked = b.checked = a.checked), b.value !== a.value && (b.value = a.value);
  158. b.removeAttribute(f.expando)
  159. }
  160. }
  161. function bg(a, b) {
  162. if (b.nodeType === 1 && !!f.hasData(a)) {
  163. var c = f.expando, d = f.data(a), e = f.data(b, d);
  164. if (d = d[c]) {
  165. var g = d.events;
  166. e = e[c] = f.extend({}, d);
  167. if (g) {
  168. delete e.handle, e.events = {};
  169. for (var h in g)for (var i = 0, j = g[h].length; i < j; i++)f.event.add(b, h + (g[h][i].namespace ? "." : "") + g[h][i].namespace, g[h][i], g[h][i].data)
  170. }
  171. }
  172. }
  173. }
  174. function bf(a, b) {
  175. return f.nodeName(a, "table") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
  176. }
  177. function V(a, b, c) {
  178. b = b || 0;
  179. if (f.isFunction(b))return f.grep(a, function (a, d) {
  180. var e = !!b.call(a, d, a);
  181. return e === c
  182. });
  183. if (b.nodeType)return f.grep(a, function (a, d) {
  184. return a === b === c
  185. });
  186. if (typeof b == "string") {
  187. var d = f.grep(a, function (a) {
  188. return a.nodeType === 1
  189. });
  190. if (Q.test(b))return f.filter(b, d, !c);
  191. b = f.filter(b, d)
  192. }
  193. return f.grep(a, function (a, d) {
  194. return f.inArray(a, b) >= 0 === c
  195. })
  196. }
  197. function U(a) {
  198. return !a || !a.parentNode || a.parentNode.nodeType === 11
  199. }
  200. function M(a, b) {
  201. return (a && a !== "*" ? a + "." : "") + b.replace(y, "`").replace(z, "&")
  202. }
  203. function L(a) {
  204. var b, c, d, e, g, h, i, j, k, l, m, n, o, p = [], q = [], r = f._data(this, "events");
  205. if (!(a.liveFired === this || !r || !r.live || a.target.disabled || a.button && a.type === "click")) {
  206. a.namespace && (n = new RegExp("(^|\\.)" + a.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)")), a.liveFired = this;
  207. var s = r.live.slice(0);
  208. for (i = 0; i < s.length; i++)g = s[i], g.origType.replace(w, "") === a.type ? q.push(g.selector) : s.splice(i--, 1);
  209. e = f(a.target).closest(q, a.currentTarget);
  210. for (j = 0, k = e.length; j < k; j++) {
  211. m = e[j];
  212. for (i = 0; i < s.length; i++) {
  213. g = s[i];
  214. if (m.selector === g.selector && (!n || n.test(g.namespace)) && !m.elem.disabled) {
  215. h = m.elem, d = null;
  216. if (g.preType === "mouseenter" || g.preType === "mouseleave")a.type = g.preType, d = f(a.relatedTarget).closest(g.selector)[0], d && f.contains(h, d) && (d = h);
  217. (!d || d !== h) && p.push({elem: h, handleObj: g, level: m.level})
  218. }
  219. }
  220. }
  221. for (j = 0, k = p.length; j < k; j++) {
  222. e = p[j];
  223. if (c && e.level > c)break;
  224. a.currentTarget = e.elem, a.data = e.handleObj.data, a.handleObj = e.handleObj, o = e.handleObj.origHandler.apply(e.elem, arguments);
  225. if (o === !1 || a.isPropagationStopped()) {
  226. c = e.level, o === !1 && (b = !1);
  227. if (a.isImmediatePropagationStopped())break
  228. }
  229. }
  230. return b
  231. }
  232. }
  233. function J(a, c, d) {
  234. var e = f.extend({}, d[0]);
  235. e.type = a, e.originalEvent = {}, e.liveFired = b, f.event.handle.call(c, e), e.isDefaultPrevented() && d[0].preventDefault()
  236. }
  237. function D() {
  238. return !0
  239. }
  240. function C() {
  241. return !1
  242. }
  243. function m(a, c, d) {
  244. var e = c + "defer", g = c + "queue", h = c + "mark", i = f.data(a, e, b, !0);
  245. i && (d === "queue" || !f.data(a, g, b, !0)) && (d === "mark" || !f.data(a, h, b, !0)) && setTimeout(function () {
  246. !f.data(a, g, b, !0) && !f.data(a, h, b, !0) && (f.removeData(a, e, !0), i.resolve())
  247. }, 0)
  248. }
  249. function l(a) {
  250. for (var b in a)if (b !== "toJSON")return !1;
  251. return !0
  252. }
  253. function k(a, c, d) {
  254. if (d === b && a.nodeType === 1) {
  255. var e = "data-" + c.replace(j, "-$1").toLowerCase();
  256. d = a.getAttribute(e);
  257. if (typeof d == "string") {
  258. try {
  259. d = d === "true" ? !0 : d === "false" ? !1 : d === "null" ? null : f.isNaN(d) ? i.test(d) ? f.parseJSON(d) : d : parseFloat(d)
  260. } catch (g) {
  261. }
  262. f.data(a, c, d)
  263. } else d = b
  264. }
  265. return d
  266. }
  267. var c = a.document, d = a.navigator, e = a.location, f = function () {
  268. function K() {
  269. if (!e.isReady) {
  270. try {
  271. c.documentElement.doScroll("left")
  272. } catch (a) {
  273. setTimeout(K, 1);
  274. return
  275. }
  276. e.ready()
  277. }
  278. }
  279. var e = function (a, b) {
  280. return new e.fn.init(a, b, h)
  281. }, f = a.jQuery, g = a.$, h, i = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, j = /\S/, k = /^\s+/, l = /\s+$/, m = /\d/, n = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, o = /^[\],:{}\s]*$/, p = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, q = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, r = /(?:^|:|,)(?:\s*\[)+/g, s = /(webkit)[ \/]([\w.]+)/, t = /(opera)(?:.*version)?[ \/]([\w.]+)/, u = /(msie) ([\w.]+)/, v = /(mozilla)(?:.*? rv:([\w.]+))?/, w = /-([a-z]|[0-9])/ig, x = /^-ms-/, y = function (a, b) {
  282. return (b + "").toUpperCase()
  283. }, z = d.userAgent, A, B, C, D = Object.prototype.toString, E = Object.prototype.hasOwnProperty, F = Array.prototype.push, G = Array.prototype.slice, H = String.prototype.trim, I = Array.prototype.indexOf, J = {};
  284. e.fn = e.prototype = {
  285. constructor: e, init: function (a, d, f) {
  286. var g, h, j, k;
  287. if (!a)return this;
  288. if (a.nodeType) {
  289. this.context = this[0] = a, this.length = 1;
  290. return this
  291. }
  292. if (a === "body" && !d && c.body) {
  293. this.context = c, this[0] = c.body, this.selector = a, this.length = 1;
  294. return this
  295. }
  296. if (typeof a == "string") {
  297. a.charAt(0) !== "<" || a.charAt(a.length - 1) !== ">" || a.length < 3 ? g = i.exec(a) : g = [null, a, null];
  298. if (g && (g[1] || !d)) {
  299. if (g[1]) {
  300. d = d instanceof e ? d[0] : d, k = d ? d.ownerDocument || d : c, j = n.exec(a), j ? e.isPlainObject(d) ? (a = [c.createElement(j[1])], e.fn.attr.call(a, d, !0)) : a = [k.createElement(j[1])] : (j = e.buildFragment([g[1]], [k]), a = (j.cacheable ? e.clone(j.fragment) : j.fragment).childNodes);
  301. return e.merge(this, a)
  302. }
  303. h = c.getElementById(g[2]);
  304. if (h && h.parentNode) {
  305. if (h.id !== g[2])return f.find(a);
  306. this.length = 1, this[0] = h
  307. }
  308. this.context = c, this.selector = a;
  309. return this
  310. }
  311. return !d || d.jquery ? (d || f).find(a) : this.constructor(d).find(a)
  312. }
  313. if (e.isFunction(a))return f.ready(a);
  314. a.selector !== b && (this.selector = a.selector, this.context = a.context);
  315. return e.makeArray(a, this)
  316. }, selector: "", jquery: "1.6.4", length: 0, size: function () {
  317. return this.length
  318. }, toArray: function () {
  319. return G.call(this, 0)
  320. }, get: function (a) {
  321. return a == null ? this.toArray() : a < 0 ? this[this.length + a] : this[a]
  322. }, pushStack: function (a, b, c) {
  323. var d = this.constructor();
  324. e.isArray(a) ? F.apply(d, a) : e.merge(d, a), d.prevObject = this, d.context = this.context, b === "find" ? d.selector = this.selector + (this.selector ? " " : "") + c : b && (d.selector = this.selector + "." + b + "(" + c + ")");
  325. return d
  326. }, each: function (a, b) {
  327. return e.each(this, a, b)
  328. }, ready: function (a) {
  329. e.bindReady(), B.done(a);
  330. return this
  331. }, eq: function (a) {
  332. return a === -1 ? this.slice(a) : this.slice(a, +a + 1)
  333. }, first: function () {
  334. return this.eq(0)
  335. }, last: function () {
  336. return this.eq(-1)
  337. }, slice: function () {
  338. return this.pushStack(G.apply(this, arguments), "slice", G.call(arguments).join(","))
  339. }, map: function (a) {
  340. return this.pushStack(e.map(this, function (b, c) {
  341. return a.call(b, c, b)
  342. }))
  343. }, end: function () {
  344. return this.prevObject || this.constructor(null)
  345. }, push: F, sort: [].sort, splice: [].splice
  346. }, e.fn.init.prototype = e.fn, e.extend = e.fn.extend = function () {
  347. var a, c, d, f, g, h, i = arguments[0] || {}, j = 1, k = arguments.length, l = !1;
  348. typeof i == "boolean" && (l = i, i = arguments[1] || {}, j = 2), typeof i != "object" && !e.isFunction(i) && (i = {}), k === j && (i = this, --j);
  349. for (; j < k; j++)if ((a = arguments[j]) != null)for (c in a) {
  350. d = i[c], f = a[c];
  351. if (i === f)continue;
  352. l && f && (e.isPlainObject(f) || (g = e.isArray(f))) ? (g ? (g = !1, h = d && e.isArray(d) ? d : []) : h = d && e.isPlainObject(d) ? d : {}, i[c] = e.extend(l, h, f)) : f !== b && (i[c] = f)
  353. }
  354. return i
  355. }, e.extend({
  356. noConflict: function (b) {
  357. a.$ === e && (a.$ = g), b && a.jQuery === e && (a.jQuery = f);
  358. return e
  359. }, isReady: !1, readyWait: 1, holdReady: function (a) {
  360. a ? e.readyWait++ : e.ready(!0)
  361. }, ready: function (a) {
  362. if (a === !0 && !--e.readyWait || a !== !0 && !e.isReady) {
  363. if (!c.body)return setTimeout(e.ready, 1);
  364. e.isReady = !0;
  365. if (a !== !0 && --e.readyWait > 0)return;
  366. B.resolveWith(c, [e]), e.fn.trigger && e(c).trigger("ready").unbind("ready")
  367. }
  368. }, bindReady: function () {
  369. if (!B) {
  370. B = e._Deferred();
  371. if (c.readyState === "complete")return setTimeout(e.ready, 1);
  372. if (c.addEventListener)c.addEventListener("DOMContentLoaded", C, !1), a.addEventListener("load", e.ready, !1); else if (c.attachEvent) {
  373. c.attachEvent("onreadystatechange", C), a.attachEvent("onload", e.ready);
  374. var b = !1;
  375. try {
  376. b = a.frameElement == null
  377. } catch (d) {
  378. }
  379. c.documentElement.doScroll && b && K()
  380. }
  381. }
  382. }, isFunction: function (a) {
  383. return e.type(a) === "function"
  384. }, isArray: Array.isArray || function (a) {
  385. return e.type(a) === "array"
  386. }, isWindow: function (a) {
  387. return a && typeof a == "object" && "setInterval"in a
  388. }, isNaN: function (a) {
  389. return a == null || !m.test(a) || isNaN(a)
  390. }, type: function (a) {
  391. return a == null ? String(a) : J[D.call(a)] || "object"
  392. }, isPlainObject: function (a) {
  393. if (!a || e.type(a) !== "object" || a.nodeType || e.isWindow(a))return !1;
  394. try {
  395. if (a.constructor && !E.call(a, "constructor") && !E.call(a.constructor.prototype, "isPrototypeOf"))return !1
  396. } catch (c) {
  397. return !1
  398. }
  399. var d;
  400. for (d in a);
  401. return d === b || E.call(a, d)
  402. }, isEmptyObject: function (a) {
  403. for (var b in a)return !1;
  404. return !0
  405. }, error: function (a) {
  406. throw a
  407. }, parseJSON: function (b) {
  408. if (typeof b != "string" || !b)return null;
  409. b = e.trim(b);
  410. if (a.JSON && a.JSON.parse)return a.JSON.parse(b);
  411. if (o.test(b.replace(p, "@").replace(q, "]").replace(r, "")))return (new Function("return " + b))();
  412. e.error("Invalid JSON: " + b)
  413. }, parseXML: function (c) {
  414. var d, f;
  415. try {
  416. a.DOMParser ? (f = new DOMParser, d = f.parseFromString(c, "text/xml")) : (d = new ActiveXObject("Microsoft.XMLDOM"), d.async = "false", d.loadXML(c))
  417. } catch (g) {
  418. d = b
  419. }
  420. (!d || !d.documentElement || d.getElementsByTagName("parsererror").length) && e.error("Invalid XML: " + c);
  421. return d
  422. }, noop: function () {
  423. }, globalEval: function (b) {
  424. b && j.test(b) && (a.execScript || function (b) {
  425. a.eval.call(a, b)
  426. })(b)
  427. }, camelCase: function (a) {
  428. return a.replace(x, "ms-").replace(w, y)
  429. }, nodeName: function (a, b) {
  430. return a.nodeName && a.nodeName.toUpperCase() === b.toUpperCase()
  431. }, each: function (a, c, d) {
  432. var f, g = 0, h = a.length, i = h === b || e.isFunction(a);
  433. if (d) {
  434. if (i) {
  435. for (f in a)if (c.apply(a[f], d) === !1)break
  436. } else for (; g < h;)if (c.apply(a[g++], d) === !1)break
  437. } else if (i) {
  438. for (f in a)if (c.call(a[f], f, a[f]) === !1)break
  439. } else for (; g < h;)if (c.call(a[g], g, a[g++]) === !1)break;
  440. return a
  441. }, trim: H ? function (a) {
  442. return a == null ? "" : H.call(a)
  443. } : function (a) {
  444. return a == null ? "" : (a + "").replace(k, "").replace(l, "")
  445. }, makeArray: function (a, b) {
  446. var c = b || [];
  447. if (a != null) {
  448. var d = e.type(a);
  449. a.length == null || d === "string" || d === "function" || d === "regexp" || e.isWindow(a) ? F.call(c, a) : e.merge(c, a)
  450. }
  451. return c
  452. }, inArray: function (a, b) {
  453. if (!b)return -1;
  454. if (I)return I.call(b, a);
  455. for (var c = 0, d = b.length; c < d; c++)if (b[c] === a)return c;
  456. return -1
  457. }, merge: function (a, c) {
  458. var d = a.length, e = 0;
  459. if (typeof c.length == "number")for (var f = c.length; e < f; e++)a[d++] = c[e]; else while (c[e] !== b)a[d++] = c[e++];
  460. a.length = d;
  461. return a
  462. }, grep: function (a, b, c) {
  463. var d = [], e;
  464. c = !!c;
  465. for (var f = 0, g = a.length; f < g; f++)e = !!b(a[f], f), c !== e && d.push(a[f]);
  466. return d
  467. }, map: function (a, c, d) {
  468. var f, g, h = [], i = 0, j = a.length, k = a instanceof e || j !== b && typeof j == "number" && (j > 0 && a[0] && a[j - 1] || j === 0 || e.isArray(a));
  469. if (k)for (; i < j; i++)f = c(a[i], i, d), f != null && (h[h.length] = f); else for (g in a)f = c(a[g], g, d), f != null && (h[h.length] = f);
  470. return h.concat.apply([], h)
  471. }, guid: 1, proxy: function (a, c) {
  472. if (typeof c == "string") {
  473. var d = a[c];
  474. c = a, a = d
  475. }
  476. if (!e.isFunction(a))return b;
  477. var f = G.call(arguments, 2), g = function () {
  478. return a.apply(c, f.concat(G.call(arguments)))
  479. };
  480. g.guid = a.guid = a.guid || g.guid || e.guid++;
  481. return g
  482. }, access: function (a, c, d, f, g, h) {
  483. var i = a.length;
  484. if (typeof c == "object") {
  485. for (var j in c)e.access(a, j, c[j], f, g, d);
  486. return a
  487. }
  488. if (d !== b) {
  489. f = !h && f && e.isFunction(d);
  490. for (var k = 0; k < i; k++)g(a[k], c, f ? d.call(a[k], k, g(a[k], c)) : d, h);
  491. return a
  492. }
  493. return i ? g(a[0], c) : b
  494. }, now: function () {
  495. return (new Date).getTime()
  496. }, uaMatch: function (a) {
  497. a = a.toLowerCase();
  498. var b = s.exec(a) || t.exec(a) || u.exec(a) || a.indexOf("compatible") < 0 && v.exec(a) || [];
  499. return {browser: b[1] || "", version: b[2] || "0"}
  500. }, sub: function () {
  501. function a(b, c) {
  502. return new a.fn.init(b, c)
  503. }
  504. e.extend(!0, a, this), a.superclass = this, a.fn = a.prototype = this(), a.fn.constructor = a, a.sub = this.sub, a.fn.init = function (d, f) {
  505. f && f instanceof e && !(f instanceof a) && (f = a(f));
  506. return e.fn.init.call(this, d, f, b)
  507. }, a.fn.init.prototype = a.fn;
  508. var b = a(c);
  509. return a
  510. }, browser: {}
  511. }), e.each("Boolean Number String Function Array Date RegExp Object".split(" "), function (a, b) {
  512. J["[object " + b + "]"] = b.toLowerCase()
  513. }), A = e.uaMatch(z), A.browser && (e.browser[A.browser] = !0, e.browser.version = A.version), e.browser.webkit && (e.browser.safari = !0), j.test(" ") && (k = /^[\s\xA0]+/, l = /[\s\xA0]+$/), h = e(c), c.addEventListener ? C = function () {
  514. c.removeEventListener("DOMContentLoaded", C, !1), e.ready()
  515. } : c.attachEvent && (C = function () {
  516. c.readyState === "complete" && (c.detachEvent("onreadystatechange", C), e.ready())
  517. });
  518. return e
  519. }(), g = "done fail isResolved isRejected promise then always pipe".split(" "), h = [].slice;
  520. f.extend({
  521. _Deferred: function () {
  522. var a = [], b, c, d, e = {
  523. done: function () {
  524. if (!d) {
  525. var c = arguments, g, h, i, j, k;
  526. b && (k = b, b = 0);
  527. for (g = 0, h = c.length; g < h; g++)i = c[g], j = f.type(i), j === "array" ? e.done.apply(e, i) : j === "function" && a.push(i);
  528. k && e.resolveWith(k[0], k[1])
  529. }
  530. return this
  531. }, resolveWith: function (e, f) {
  532. if (!d && !b && !c) {
  533. f = f || [], c = 1;
  534. try {
  535. while (a[0])a.shift().apply(e, f)
  536. } finally {
  537. b = [e, f], c = 0
  538. }
  539. }
  540. return this
  541. }, resolve: function () {
  542. e.resolveWith(this, arguments);
  543. return this
  544. }, isResolved: function () {
  545. return !!c || !!b
  546. }, cancel: function () {
  547. d = 1, a = [];
  548. return this
  549. }
  550. };
  551. return e
  552. }, Deferred: function (a) {
  553. var b = f._Deferred(), c = f._Deferred(), d;
  554. f.extend(b, {
  555. then: function (a, c) {
  556. b.done(a).fail(c);
  557. return this
  558. },
  559. always: function () {
  560. return b.done.apply(b, arguments).fail.apply(this, arguments)
  561. },
  562. fail: c.done,
  563. rejectWith: c.resolveWith,
  564. reject: c.resolve,
  565. isRejected: c.isResolved,
  566. pipe: function (a, c) {
  567. return f.Deferred(function (d) {
  568. f.each({done: [a, "resolve"], fail: [c, "reject"]}, function (a, c) {
  569. var e = c[0], g = c[1], h;
  570. f.isFunction(e) ? b[a](function () {
  571. h = e.apply(this, arguments), h && f.isFunction(h.promise) ? h.promise().then(d.resolve, d.reject) : d[g + "With"](this === b ? d : this, [h])
  572. }) : b[a](d[g])
  573. })
  574. }).promise()
  575. },
  576. promise: function (a) {
  577. if (a == null) {
  578. if (d)return d;
  579. d = a = {}
  580. }
  581. var c = g.length;
  582. while (c--)a[g[c]] = b[g[c]];
  583. return a
  584. }
  585. }), b.done(c.cancel).fail(b.cancel), delete b.cancel, a && a.call(b, b);
  586. return b
  587. }, when: function (a) {
  588. function i(a) {
  589. return function (c) {
  590. b[a] = arguments.length > 1 ? h.call(arguments, 0) : c, --e || g.resolveWith(g, h.call(b, 0))
  591. }
  592. }
  593. var b = arguments, c = 0, d = b.length, e = d, g = d <= 1 && a && f.isFunction(a.promise) ? a : f.Deferred();
  594. if (d > 1) {
  595. for (; c < d; c++)b[c] && f.isFunction(b[c].promise) ? b[c].promise().then(i(c), g.reject) : --e;
  596. e || g.resolveWith(g, b)
  597. } else g !== a && g.resolveWith(g, d ? [a] : []);
  598. return g.promise()
  599. }
  600. }), f.support = function () {
  601. var a = c.createElement("div"), b = c.documentElement, d, e, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u;
  602. a.setAttribute("className", "t"), a.innerHTML = " <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>", d = a.getElementsByTagName("*"), e = a.getElementsByTagName("a")[0];
  603. if (!d || !d.length || !e)return {};
  604. g = c.createElement("select"), h = g.appendChild(c.createElement("option")), i = a.getElementsByTagName("input")[0], k = {
  605. leadingWhitespace: a.firstChild.nodeType === 3,
  606. tbody: !a.getElementsByTagName("tbody").length,
  607. htmlSerialize: !!a.getElementsByTagName("link").length,
  608. style: /top/.test(e.getAttribute("style")),
  609. hrefNormalized: e.getAttribute("href") === "/a",
  610. opacity: /^0.55$/.test(e.style.opacity),
  611. cssFloat: !!e.style.cssFloat,
  612. checkOn: i.value === "on",
  613. optSelected: h.selected,
  614. getSetAttribute: a.className !== "t",
  615. submitBubbles: !0,
  616. changeBubbles: !0,
  617. focusinBubbles: !1,
  618. deleteExpando: !0,
  619. noCloneEvent: !0,
  620. inlineBlockNeedsLayout: !1,
  621. shrinkWrapBlocks: !1,
  622. reliableMarginRight: !0
  623. }, i.checked = !0, k.noCloneChecked = i.cloneNode(!0).checked, g.disabled = !0, k.optDisabled = !h.disabled;
  624. try {
  625. delete a.test
  626. } catch (v) {
  627. k.deleteExpando = !1
  628. }
  629. !a.addEventListener && a.attachEvent && a.fireEvent && (a.attachEvent("onclick", function () {
  630. k.noCloneEvent = !1
  631. }), a.cloneNode(!0).fireEvent("onclick")), i = c.createElement("input"), i.value = "t", i.setAttribute("type", "radio"), k.radioValue = i.value === "t", i.setAttribute("checked", "checked"), a.appendChild(i), l = c.createDocumentFragment(), l.appendChild(a.firstChild), k.checkClone = l.cloneNode(!0).cloneNode(!0).lastChild.checked, a.innerHTML = "", a.style.width = a.style.paddingLeft = "1px", m = c.getElementsByTagName("body")[0], o = c.createElement(m ? "div" : "body"), p = {
  632. visibility: "hidden",
  633. width: 0,
  634. height: 0,
  635. border: 0,
  636. margin: 0,
  637. background: "none"
  638. }, m && f.extend(p, {position: "absolute", left: "-1000px", top: "-1000px"});
  639. for (t in p)o.style[t] = p[t];
  640. o.appendChild(a), n = m || b, n.insertBefore(o, n.firstChild), k.appendChecked = i.checked, k.boxModel = a.offsetWidth === 2, "zoom"in a.style && (a.style.display = "inline", a.style.zoom = 1, k.inlineBlockNeedsLayout = a.offsetWidth === 2, a.style.display = "", a.innerHTML = "<div style='width:4px;'></div>", k.shrinkWrapBlocks = a.offsetWidth !== 2), a.innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>", q = a.getElementsByTagName("td"), u = q[0].offsetHeight === 0, q[0].style.display = "", q[1].style.display = "none", k.reliableHiddenOffsets = u && q[0].offsetHeight === 0, a.innerHTML = "", c.defaultView && c.defaultView.getComputedStyle && (j = c.createElement("div"), j.style.width = "0", j.style.marginRight = "0", a.appendChild(j), k.reliableMarginRight = (parseInt((c.defaultView.getComputedStyle(j, null) || {marginRight: 0}).marginRight, 10) || 0) === 0), o.innerHTML = "", n.removeChild(o);
  641. if (a.attachEvent)for (t in{
  642. submit: 1,
  643. change: 1,
  644. focusin: 1
  645. })s = "on" + t, u = s in a, u || (a.setAttribute(s, "return;"), u = typeof a[s] == "function"), k[t + "Bubbles"] = u;
  646. o = l = g = h = m = j = a = i = null;
  647. return k
  648. }(), f.boxModel = f.support.boxModel;
  649. var i = /^(?:\{.*\}|\[.*\])$/, j = /([A-Z])/g;
  650. f.extend({
  651. cache: {},
  652. uuid: 0,
  653. expando: "jQuery" + (f.fn.jquery + Math.random()).replace(/\D/g, ""),
  654. noData: {embed: !0, object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", applet: !0},
  655. hasData: function (a) {
  656. a = a.nodeType ? f.cache[a[f.expando]] : a[f.expando];
  657. return !!a && !l(a)
  658. },
  659. data: function (a, c, d, e) {
  660. if (!!f.acceptData(a)) {
  661. var g, h, i = f.expando, j = typeof c == "string", k = a.nodeType, l = k ? f.cache : a, m = k ? a[f.expando] : a[f.expando] && f.expando;
  662. if ((!m || e && m && l[m] && !l[m][i]) && j && d === b)return;
  663. m || (k ? a[f.expando] = m = ++f.uuid : m = f.expando), l[m] || (l[m] = {}, k || (l[m].toJSON = f.noop));
  664. if (typeof c == "object" || typeof c == "function")e ? l[m][i] = f.extend(l[m][i], c) : l[m] = f.extend(l[m], c);
  665. g = l[m], e && (g[i] || (g[i] = {}), g = g[i]), d !== b && (g[f.camelCase(c)] = d);
  666. if (c === "events" && !g[c])return g[i] && g[i].events;
  667. j ? (h = g[c], h == null && (h = g[f.camelCase(c)])) : h = g;
  668. return h
  669. }
  670. },
  671. removeData: function (a, b, c) {
  672. if (!!f.acceptData(a)) {
  673. var d, e = f.expando, g = a.nodeType, h = g ? f.cache : a, i = g ? a[f.expando] : f.expando;
  674. if (!h[i])return;
  675. if (b) {
  676. d = c ? h[i][e] : h[i];
  677. if (d) {
  678. d[b] || (b = f.camelCase(b)), delete d[b];
  679. if (!l(d))return
  680. }
  681. }
  682. if (c) {
  683. delete h[i][e];
  684. if (!l(h[i]))return
  685. }
  686. var j = h[i][e];
  687. f.support.deleteExpando || !h.setInterval ? delete h[i] : h[i] = null, j ? (h[i] = {}, g || (h[i].toJSON = f.noop), h[i][e] = j) : g && (f.support.deleteExpando ? delete a[f.expando] : a.removeAttribute ? a.removeAttribute(f.expando) : a[f.expando] = null)
  688. }
  689. },
  690. _data: function (a, b, c) {
  691. return f.data(a, b, c, !0)
  692. },
  693. acceptData: function (a) {
  694. if (a.nodeName) {
  695. var b = f.noData[a.nodeName.toLowerCase()];
  696. if (b)return b !== !0 && a.getAttribute("classid") === b
  697. }
  698. return !0
  699. }
  700. }), f.fn.extend({
  701. data: function (a, c) {
  702. var d = null;
  703. if (typeof a == "undefined") {
  704. if (this.length) {
  705. d = f.data(this[0]);
  706. if (this[0].nodeType === 1) {
  707. var e = this[0].attributes, g;
  708. for (var h = 0, i = e.length; h < i; h++)g = e[h].name, g.indexOf("data-") === 0 && (g = f.camelCase(g.substring(5)), k(this[0], g, d[g]))
  709. }
  710. }
  711. return d
  712. }
  713. if (typeof a == "object")return this.each(function () {
  714. f.data(this, a)
  715. });
  716. var j = a.split(".");
  717. j[1] = j[1] ? "." + j[1] : "";
  718. if (c === b) {
  719. d = this.triggerHandler("getData" + j[1] + "!", [j[0]]), d === b && this.length && (d = f.data(this[0], a), d = k(this[0], a, d));
  720. return d === b && j[1] ? this.data(j[0]) : d
  721. }
  722. return this.each(function () {
  723. var b = f(this), d = [j[0], c];
  724. b.triggerHandler("setData" + j[1] + "!", d), f.data(this, a, c), b.triggerHandler("changeData" + j[1] + "!", d)
  725. })
  726. }, removeData: function (a) {
  727. return this.each(function () {
  728. f.removeData(this, a)
  729. })
  730. }
  731. }), f.extend({
  732. _mark: function (a, c) {
  733. a && (c = (c || "fx") + "mark", f.data(a, c, (f.data(a, c, b, !0) || 0) + 1, !0))
  734. }, _unmark: function (a, c, d) {
  735. a !== !0 && (d = c, c = a, a = !1);
  736. if (c) {
  737. d = d || "fx";
  738. var e = d + "mark", g = a ? 0 : (f.data(c, e, b, !0) || 1) - 1;
  739. g ? f.data(c, e, g, !0) : (f.removeData(c, e, !0), m(c, d, "mark"))
  740. }
  741. }, queue: function (a, c, d) {
  742. if (a) {
  743. c = (c || "fx") + "queue";
  744. var e = f.data(a, c, b, !0);
  745. d && (!e || f.isArray(d) ? e = f.data(a, c, f.makeArray(d), !0) : e.push(d));
  746. return e || []
  747. }
  748. }, dequeue: function (a, b) {
  749. b = b || "fx";
  750. var c = f.queue(a, b), d = c.shift(), e;
  751. d === "inprogress" && (d = c.shift()), d && (b === "fx" && c.unshift("inprogress"), d.call(a, function () {
  752. f.dequeue(a, b)
  753. })), c.length || (f.removeData(a, b + "queue", !0), m(a, b, "queue"))
  754. }
  755. }), f.fn.extend({
  756. queue: function (a, c) {
  757. typeof a != "string" && (c = a, a = "fx");
  758. if (c === b)return f.queue(this[0], a);
  759. return this.each(function () {
  760. var b = f.queue(this, a, c);
  761. a === "fx" && b[0] !== "inprogress" && f.dequeue(this, a)
  762. })
  763. }, dequeue: function (a) {
  764. return this.each(function () {
  765. f.dequeue(this, a)
  766. })
  767. }, delay: function (a, b) {
  768. a = f.fx ? f.fx.speeds[a] || a : a, b = b || "fx";
  769. return this.queue(b, function () {
  770. var c = this;
  771. setTimeout(function () {
  772. f.dequeue(c, b)
  773. }, a)
  774. })
  775. }, clearQueue: function (a) {
  776. return this.queue(a || "fx", [])
  777. }, promise: function (a, c) {
  778. function m() {
  779. --h || d.resolveWith(e, [e])
  780. }
  781. typeof a != "string" && (c = a, a = b), a = a || "fx";
  782. var d = f.Deferred(), e = this, g = e.length, h = 1, i = a + "defer", j = a + "queue", k = a + "mark", l;
  783. while (g--)if (l = f.data(e[g], i, b, !0) || (f.data(e[g], j, b, !0) || f.data(e[g], k, b, !0)) && f.data(e[g], i, f._Deferred(), !0))h++, l.done(m);
  784. m();
  785. return d.promise()
  786. }
  787. });
  788. var n = /[\n\t\r]/g, o = /\s+/, p = /\r/g, q = /^(?:button|input)$/i, r = /^(?:button|input|object|select|textarea)$/i, s = /^a(?:rea)?$/i, t = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, u, v;
  789. f.fn.extend({
  790. attr: function (a, b) {
  791. return f.access(this, a, b, !0, f.attr)
  792. }, removeAttr: function (a) {
  793. return this.each(function () {
  794. f.removeAttr(this, a)
  795. })
  796. }, prop: function (a, b) {
  797. return f.access(this, a, b, !0, f.prop)
  798. }, removeProp: function (a) {
  799. a = f.propFix[a] || a;
  800. return this.each(function () {
  801. try {
  802. this[a] = b, delete this[a]
  803. } catch (c) {
  804. }
  805. })
  806. }, addClass: function (a) {
  807. var b, c, d, e, g, h, i;
  808. if (f.isFunction(a))return this.each(function (b) {
  809. f(this).addClass(a.call(this, b, this.className))
  810. });
  811. if (a && typeof a == "string") {
  812. b = a.split(o);
  813. for (c = 0, d = this.length; c < d; c++) {
  814. e = this[c];
  815. if (e.nodeType === 1)if (!e.className && b.length === 1)e.className = a; else {
  816. g = " " + e.className + " ";
  817. for (h = 0, i = b.length; h < i; h++)~g.indexOf(" " + b[h] + " ") || (g += b[h] + " ");
  818. e.className = f.trim(g)
  819. }
  820. }
  821. }
  822. return this
  823. }, removeClass: function (a) {
  824. var c, d, e, g, h, i, j;
  825. if (f.isFunction(a))return this.each(function (b) {
  826. f(this).removeClass(a.call(this, b, this.className))
  827. });
  828. if (a && typeof a == "string" || a === b) {
  829. c = (a || "").split(o);
  830. for (d = 0, e = this.length; d < e; d++) {
  831. g = this[d];
  832. if (g.nodeType === 1 && g.className)if (a) {
  833. h = (" " + g.className + " ").replace(n, " ");
  834. for (i = 0, j = c.length; i < j; i++)h = h.replace(" " + c[i] + " ", " ");
  835. g.className = f.trim(h)
  836. } else g.className = ""
  837. }
  838. }
  839. return this
  840. }, toggleClass: function (a, b) {
  841. var c = typeof a, d = typeof b == "boolean";
  842. if (f.isFunction(a))return this.each(function (c) {
  843. f(this).toggleClass(a.call(this, c, this.className, b), b)
  844. });
  845. return this.each(function () {
  846. if (c === "string") {
  847. var e, g = 0, h = f(this), i = b, j = a.split(o);
  848. while (e = j[g++])i = d ? i : !h.hasClass(e), h[i ? "addClass" : "removeClass"](e)
  849. } else if (c === "undefined" || c === "boolean")this.className && f._data(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : f._data(this, "__className__") || ""
  850. })
  851. }, hasClass: function (a) {
  852. var b = " " + a + " ";
  853. for (var c = 0, d = this.length; c < d; c++)if (this[c].nodeType === 1 && (" " + this[c].className + " ").replace(n, " ").indexOf(b) > -1)return !0;
  854. return !1
  855. }, val: function (a) {
  856. var c, d, e = this[0];
  857. if (!arguments.length) {
  858. if (e) {
  859. c = f.valHooks[e.nodeName.toLowerCase()] || f.valHooks[e.type];
  860. if (c && "get"in c && (d = c.get(e, "value")) !== b)return d;
  861. d = e.value;
  862. return typeof d == "string" ? d.replace(p, "") : d == null ? "" : d
  863. }
  864. return b
  865. }
  866. var g = f.isFunction(a);
  867. return this.each(function (d) {
  868. var e = f(this), h;
  869. if (this.nodeType === 1) {
  870. g ? h = a.call(this, d, e.val()) : h = a, h == null ? h = "" : typeof h == "number" ? h += "" : f.isArray(h) && (h = f.map(h, function (a) {
  871. return a == null ? "" : a + ""
  872. })), c = f.valHooks[this.nodeName.toLowerCase()] || f.valHooks[this.type];
  873. if (!c || !("set"in c) || c.set(this, h, "value") === b)this.value = h
  874. }
  875. })
  876. }
  877. }), f.extend({
  878. valHooks: {
  879. option: {
  880. get: function (a) {
  881. var b = a.attributes.value;
  882. return !b || b.specified ? a.value : a.text
  883. }
  884. }, select: {
  885. get: function (a) {
  886. var b, c = a.selectedIndex, d = [], e = a.options, g = a.type === "select-one";
  887. if (c < 0)return null;
  888. for (var h = g ? c : 0, i = g ? c + 1 : e.length; h < i; h++) {
  889. var j = e[h];
  890. if (j.selected && (f.support.optDisabled ? !j.disabled : j.getAttribute("disabled") === null) && (!j.parentNode.disabled || !f.nodeName(j.parentNode, "optgroup"))) {
  891. b = f(j).val();
  892. if (g)return b;
  893. d.push(b)
  894. }
  895. }
  896. if (g && !d.length && e.length)return f(e[c]).val();
  897. return d
  898. }, set: function (a, b) {
  899. var c = f.makeArray(b);
  900. f(a).find("option").each(function () {
  901. this.selected = f.inArray(f(this).val(), c) >= 0
  902. }), c.length || (a.selectedIndex = -1);
  903. return c
  904. }
  905. }
  906. },
  907. attrFn: {val: !0, css: !0, html: !0, text: !0, data: !0, width: !0, height: !0, offset: !0},
  908. attrFix: {tabindex: "tabIndex"},
  909. attr: function (a, c, d, e) {
  910. var g = a.nodeType;
  911. if (!a || g === 3 || g === 8 || g === 2)return b;
  912. if (e && c in f.attrFn)return f(a)[c](d);
  913. if (!("getAttribute"in a))return f.prop(a, c, d);
  914. var h, i, j = g !== 1 || !f.isXMLDoc(a);
  915. j && (c = f.attrFix[c] || c, i = f.attrHooks[c], i || (t.test(c) ? i = v : u && (i = u)));
  916. if (d !== b) {
  917. if (d === null) {
  918. f.removeAttr(a, c);
  919. return b
  920. }
  921. if (i && "set"in i && j && (h = i.set(a, d, c)) !== b)return h;
  922. a.setAttribute(c, "" + d);
  923. return d
  924. }
  925. if (i && "get"in i && j && (h = i.get(a, c)) !== null)return h;
  926. h = a.getAttribute(c);
  927. return h === null ? b : h
  928. },
  929. removeAttr: function (a, b) {
  930. var c;
  931. a.nodeType === 1 && (b = f.attrFix[b] || b, f.attr(a, b, ""), a.removeAttribute(b), t.test(b) && (c = f.propFix[b] || b)in a && (a[c] = !1))
  932. },
  933. attrHooks: {
  934. type: {
  935. set: function (a, b) {
  936. if (q.test(a.nodeName) && a.parentNode)f.error("type property can't be changed"); else if (!f.support.radioValue && b === "radio" && f.nodeName(a, "input")) {
  937. var c = a.value;
  938. a.setAttribute("type", b), c && (a.value = c);
  939. return b
  940. }
  941. }
  942. }, value: {
  943. get: function (a, b) {
  944. if (u && f.nodeName(a, "button"))return u.get(a, b);
  945. return b in a ? a.value : null
  946. }, set: function (a, b, c) {
  947. if (u && f.nodeName(a, "button"))return u.set(a, b, c);
  948. a.value = b
  949. }
  950. }
  951. },
  952. propFix: {
  953. tabindex: "tabIndex",
  954. readonly: "readOnly",
  955. "for": "htmlFor",
  956. "class": "className",
  957. maxlength: "maxLength",
  958. cellspacing: "cellSpacing",
  959. cellpadding: "cellPadding",
  960. rowspan: "rowSpan",
  961. colspan: "colSpan",
  962. usemap: "useMap",
  963. frameborder: "frameBorder",
  964. contenteditable: "contentEditable"
  965. },
  966. prop: function (a, c, d) {
  967. var e = a.nodeType;
  968. if (!a || e === 3 || e === 8 || e === 2)return b;
  969. var g, h, i = e !== 1 || !f.isXMLDoc(a);
  970. i && (c = f.propFix[c] || c, h = f.propHooks[c]);
  971. return d !== b ? h && "set"in h && (g = h.set(a, d, c)) !== b ? g : a[c] = d : h && "get"in h && (g = h.get(a, c)) !== null ? g : a[c]
  972. },
  973. propHooks: {
  974. tabIndex: {
  975. get: function (a) {
  976. var c = a.getAttributeNode("tabindex");
  977. return c && c.specified ? parseInt(c.value, 10) : r.test(a.nodeName) || s.test(a.nodeName) && a.href ? 0 : b
  978. }
  979. }
  980. }
  981. }), f.attrHooks.tabIndex = f.propHooks.tabIndex, v = {
  982. get: function (a, c) {
  983. var d;
  984. return f.prop(a, c) === !0 || (d = a.getAttributeNode(c)) && d.nodeValue !== !1 ? c.toLowerCase() : b
  985. }, set: function (a, b, c) {
  986. var d;
  987. b === !1 ? f.removeAttr(a, c) : (d = f.propFix[c] || c, d in a && (a[d] = !0), a.setAttribute(c, c.toLowerCase()));
  988. return c
  989. }
  990. }, f.support.getSetAttribute || (u = f.valHooks.button = {
  991. get: function (a, c) {
  992. var d;
  993. d = a.getAttributeNode(c);
  994. return d && d.nodeValue !== "" ? d.nodeValue : b
  995. }, set: function (a, b, d) {
  996. var e = a.getAttributeNode(d);
  997. e || (e = c.createAttribute(d), a.setAttributeNode(e));
  998. return e.nodeValue = b + ""
  999. }
  1000. }, f.each(["width", "height"], function (a, b) {
  1001. f.attrHooks[b] = f.extend(f.attrHooks[b], {
  1002. set: function (a, c) {
  1003. if (c === "") {
  1004. a.setAttribute(b, "auto");
  1005. return c
  1006. }
  1007. }
  1008. })
  1009. })), f.support.hrefNormalized || f.each(["href", "src", "width", "height"], function (a, c) {
  1010. f.attrHooks[c] = f.extend(f.attrHooks[c], {
  1011. get: function (a) {
  1012. var d = a.getAttribute(c, 2);
  1013. return d === null ? b : d
  1014. }
  1015. })
  1016. }), f.support.style || (f.attrHooks.style = {
  1017. get: function (a) {
  1018. return a.style.cssText.toLowerCase() || b
  1019. }, set: function (a, b) {
  1020. return a.style.cssText = "" + b
  1021. }
  1022. }), f.support.optSelected || (f.propHooks.selected = f.extend(f.propHooks.selected, {
  1023. get: function (a) {
  1024. var b = a.parentNode;
  1025. b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex);
  1026. return null
  1027. }
  1028. })), f.support.checkOn || f.each(["radio", "checkbox"], function () {
  1029. f.valHooks[this] = {
  1030. get: function (a) {
  1031. return a.getAttribute("value") === null ? "on" : a.value
  1032. }
  1033. }
  1034. }), f.each(["radio", "checkbox"], function () {
  1035. f.valHooks[this] = f.extend(f.valHooks[this], {
  1036. set: function (a, b) {
  1037. if (f.isArray(b))return a.checked = f.inArray(f(a).val(), b) >= 0
  1038. }
  1039. })
  1040. });
  1041. var w = /\.(.*)$/, x = /^(?:textarea|input|select)$/i, y = /\./g, z = / /g, A = /[^\w\s.|`]/g, B = function (a) {
  1042. return a.replace(A, "\\$&")
  1043. };
  1044. f.event = {
  1045. add: function (a, c, d, e) {
  1046. if (a.nodeType !== 3 && a.nodeType !== 8) {
  1047. if (d === !1)d = C; else if (!d)return;
  1048. var g, h;
  1049. d.handler && (g = d, d = g.handler), d.guid || (d.guid = f.guid++);
  1050. var i = f._data(a);
  1051. if (!i)return;
  1052. var j = i.events, k = i.handle;
  1053. j || (i.events = j = {}), k || (i.handle = k = function (a) {
  1054. return typeof f != "undefined" && (!a || f.event.triggered !== a.type) ? f.event.handle.apply(k.elem, arguments) : b
  1055. }), k.elem = a, c = c.split(" ");
  1056. var l, m = 0, n;
  1057. while (l = c[m++]) {
  1058. h = g ? f.extend({}, g) : {
  1059. handler: d,
  1060. data: e
  1061. }, l.indexOf(".") > -1 ? (n = l.split("."), l = n.shift(), h.namespace = n.slice(0).sort().join(".")) : (n = [], h.namespace = ""), h.type = l, h.guid || (h.guid = d.guid);
  1062. var o = j[l], p = f.event.special[l] || {};
  1063. if (!o) {
  1064. o = j[l] = [];
  1065. if (!p.setup || p.setup.call(a, e, n, k) === !1)a.addEventListener ? a.addEventListener(l, k, !1) : a.attachEvent && a.attachEvent("on" + l, k)
  1066. }
  1067. p.add && (p.add.call(a, h), h.handler.guid || (h.handler.guid = d.guid)), o.push(h), f.event.global[l] = !0
  1068. }
  1069. a = null
  1070. }
  1071. },
  1072. global: {},
  1073. remove: function (a, c, d, e) {
  1074. if (a.nodeType !== 3 && a.nodeType !== 8) {
  1075. d === !1 && (d = C);
  1076. var g, h, i, j, k = 0, l, m, n, o, p, q, r, s = f.hasData(a) && f._data(a), t = s && s.events;
  1077. if (!s || !t)return;
  1078. c && c.type && (d = c.handler, c = c.type);
  1079. if (!c || typeof c == "string" && c.charAt(0) === ".") {
  1080. c = c || "";
  1081. for (h in t)f.event.remove(a, h + c);
  1082. return
  1083. }
  1084. c = c.split(" ");
  1085. while (h = c[k++]) {
  1086. r = h, q = null, l = h.indexOf(".") < 0, m = [], l || (m = h.split("."), h = m.shift(), n = new RegExp("(^|\\.)" + f.map(m.slice(0).sort(), B).join("\\.(?:.*\\.)?") + "(\\.|$)")), p = t[h];
  1087. if (!p)continue;
  1088. if (!d) {
  1089. for (j = 0; j < p.length; j++) {
  1090. q = p[j];
  1091. if (l || n.test(q.namespace))f.event.remove(a, r, q.handler, j), p.splice(j--, 1)
  1092. }
  1093. continue
  1094. }
  1095. o = f.event.special[h] || {};
  1096. for (j = e || 0; j < p.length; j++) {
  1097. q = p[j];
  1098. if (d.guid === q.guid) {
  1099. if (l || n.test(q.namespace))e == null && p.splice(j--, 1), o.remove && o.remove.call(a, q);
  1100. if (e != null)break
  1101. }
  1102. }
  1103. if (p.length === 0 || e != null && p.length === 1)(!o.teardown || o.teardown.call(a, m) === !1) && f.removeEvent(a, h, s.handle), g = null, delete
  1104. t[h]
  1105. }
  1106. if (f.isEmptyObject(t)) {
  1107. var u = s.handle;
  1108. u && (u.elem = null), delete s.events, delete s.handle, f.isEmptyObject(s) && f.removeData(a, b, !0)
  1109. }
  1110. }
  1111. },
  1112. customEvent: {getData: !0, setData: !0, changeData: !0},
  1113. trigger: function (c, d, e, g) {
  1114. var h = c.type || c, i = [], j;
  1115. h.indexOf("!") >= 0 && (h = h.slice(0, -1), j = !0), h.indexOf(".") >= 0 && (i = h.split("."), h = i.shift(), i.sort());
  1116. if (!!e && !f.event.customEvent[h] || !!f.event.global[h]) {
  1117. c = typeof c == "object" ? c[f.expando] ? c : new f.Event(h, c) : new f.Event(h), c.type = h, c.exclusive = j, c.namespace = i.join("."), c.namespace_re = new RegExp("(^|\\.)" + i.join("\\.(?:.*\\.)?") + "(\\.|$)");
  1118. if (g || !e)c.preventDefault(), c.stopPropagation();
  1119. if (!e) {
  1120. f.each(f.cache, function () {
  1121. var a = f.expando, b = this[a];
  1122. b && b.events && b.events[h] && f.event.trigger(c, d, b.handle.elem)
  1123. });
  1124. return
  1125. }
  1126. if (e.nodeType === 3 || e.nodeType === 8)return;
  1127. c.result = b, c.target = e, d = d != null ? f.makeArray(d) : [], d.unshift(c);
  1128. var k = e, l = h.indexOf(":") < 0 ? "on" + h : "";
  1129. do {
  1130. var m = f._data(k, "handle");
  1131. c.currentTarget = k, m && m.apply(k, d), l && f.acceptData(k) && k[l] && k[l].apply(k, d) === !1 && (c.result = !1, c.preventDefault()), k = k.parentNode || k.ownerDocument || k === c.target.ownerDocument && a
  1132. } while (k && !c.isPropagationStopped());
  1133. if (!c.isDefaultPrevented()) {
  1134. var n, o = f.event.special[h] || {};
  1135. if ((!o._default || o._default.call(e.ownerDocument, c) === !1) && (h !== "click" || !f.nodeName(e, "a")) && f.acceptData(e)) {
  1136. try {
  1137. l && e[h] && (n = e[l], n && (e[l] = null), f.event.triggered = h, e[h]())
  1138. } catch (p) {
  1139. }
  1140. n && (e[l] = n), f.event.triggered = b
  1141. }
  1142. }
  1143. return c.result
  1144. }
  1145. },
  1146. handle: function (c) {
  1147. c = f.event.fix(c || a.event);
  1148. var d = ((f._data(this, "events") || {})[c.type] || []).slice(0), e = !c.exclusive && !c.namespace, g = Array.prototype.slice.call(arguments, 0);
  1149. g[0] = c, c.currentTarget = this;
  1150. for (var h = 0, i = d.length; h < i; h++) {
  1151. var j = d[h];
  1152. if (e || c.namespace_re.test(j.namespace)) {
  1153. c.handler = j.handler, c.data = j.data, c.handleObj = j;
  1154. var k = j.handler.apply(this, g);
  1155. k !== b && (c.result = k, k === !1 && (c.preventDefault(), c.stopPropagation()));
  1156. if (c.isImmediatePropagationStopped())break
  1157. }
  1158. }
  1159. return c.result
  1160. },
  1161. props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
  1162. fix: function (a) {
  1163. if (a[f.expando])return a;
  1164. var d = a;
  1165. a = f.Event(d);
  1166. for (var e = this.props.length, g; e;)g = this.props[--e], a[g] = d[g];
  1167. a.target || (a.target = a.srcElement || c), a.target.nodeType === 3 && (a.target = a.target.parentNode), !a.relatedTarget && a.fromElement && (a.relatedTarget = a.fromElement === a.target ? a.toElement : a.fromElement);
  1168. if (a.pageX == null && a.clientX != null) {
  1169. var h = a.target.ownerDocument || c, i = h.documentElement, j = h.body;
  1170. a.pageX = a.clientX + (i && i.scrollLeft || j && j.scrollLeft || 0) - (i && i.clientLeft || j && j.clientLeft || 0), a.pageY = a.clientY + (i && i.scrollTop || j && j.scrollTop || 0) - (i && i.clientTop || j && j.clientTop || 0)
  1171. }
  1172. a.which == null && (a.charCode != null || a.keyCode != null) && (a.which = a.charCode != null ? a.charCode : a.keyCode), !a.metaKey && a.ctrlKey && (a.metaKey = a.ctrlKey), !a.which && a.button !== b && (a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0);
  1173. return a
  1174. },
  1175. guid: 1e8,
  1176. proxy: f.proxy,
  1177. special: {
  1178. ready: {setup: f.bindReady, teardown: f.noop}, live: {
  1179. add: function (a) {
  1180. f.event.add(this, M(a.origType, a.selector), f.extend({}, a, {handler: L, guid: a.handler.guid}))
  1181. }, remove: function (a) {
  1182. f.event.remove(this, M(a.origType, a.selector), a)
  1183. }
  1184. }, beforeunload: {
  1185. setup: function (a, b, c) {
  1186. f.isWindow(this) && (this.onbeforeunload = c)
  1187. }, teardown: function (a, b) {
  1188. this.onbeforeunload === b && (this.onbeforeunload = null)
  1189. }
  1190. }
  1191. }
  1192. }, f.removeEvent = c.removeEventListener ? function (a, b, c) {
  1193. a.removeEventListener && a.removeEventListener(b, c, !1)
  1194. } : function (a, b, c) {
  1195. a.detachEvent && a.detachEvent("on" + b, c)
  1196. }, f.Event = function (a, b) {
  1197. if (!this.preventDefault)return new f.Event(a, b);
  1198. a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || a.returnValue === !1 || a.getPreventDefault && a.getPreventDefault() ? D : C) : this.type = a, b && f.extend(this, b), this.timeStamp = f.now(), this[f.expando] = !0
  1199. }, f.Event.prototype = {
  1200. preventDefault: function () {
  1201. this.isDefaultPrevented = D;
  1202. var a = this.originalEvent;
  1203. !a || (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
  1204. }, stopPropagation: function () {
  1205. this.isPropagationStopped = D;
  1206. var a = this.originalEvent;
  1207. !a || (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
  1208. }, stopImmediatePropagation: function () {
  1209. this.isImmediatePropagationStopped = D, this.stopPropagation()
  1210. }, isDefaultPrevented: C, isPropagationStopped: C, isImmediatePropagationStopped: C
  1211. };
  1212. var E = function (a) {
  1213. var b = a.relatedTarget, c = !1, d = a.type;
  1214. a.type = a.data, b !== this && (b && (c = f.contains(this, b)), c || (f.event.handle.apply(this, arguments), a.type = d))
  1215. }, F = function (a) {
  1216. a.type = a.data, f.event.handle.apply(this, arguments)
  1217. };
  1218. f.each({mouseenter: "mouseover", mouseleave: "mouseout"}, function (a, b) {
  1219. f.event.special[a] = {
  1220. setup: function (c) {
  1221. f.event.add(this, b, c && c.selector ? F : E, a)
  1222. }, teardown: function (a) {
  1223. f.event.remove(this, b, a && a.selector ? F : E)
  1224. }
  1225. }
  1226. }), f.support.submitBubbles || (f.event.special.submit = {
  1227. setup: function (a, b) {
  1228. if (!f.nodeName(this, "form"))f.event.add(this, "click.specialSubmit", function (a) {
  1229. var b = a.target, c = f.nodeName(b, "input") || f.nodeName(b, "button") ? b.type : "";
  1230. (c === "submit" || c === "image") && f(b).closest("form").length && J("submit", this, arguments)
  1231. }), f.event.add(this, "keypress.specialSubmit", function (a) {
  1232. var b = a.target, c = f.nodeName(b, "input") || f.nodeName(b, "button") ? b.type : "";
  1233. (c === "text" || c === "password") && f(b).closest("form").length && a.keyCode === 13 && J("submit", this, arguments)
  1234. }); else return !1
  1235. }, teardown: function (a) {
  1236. f.event.remove(this, ".specialSubmit")
  1237. }
  1238. });
  1239. if (!f.support.changeBubbles) {
  1240. var G, H = function (a) {
  1241. var b = f.nodeName(a, "input") ? a.type : "", c = a.value;
  1242. b === "radio" || b === "checkbox" ? c = a.checked : b === "select-multiple" ? c = a.selectedIndex > -1 ? f.map(a.options, function (a) {
  1243. return a.selected
  1244. }).join("-") : "" : f.nodeName(a, "select") && (c = a.selectedIndex);
  1245. return c
  1246. }, I = function (c) {
  1247. var d = c.target, e, g;
  1248. if (!!x.test(d.nodeName) && !d.readOnly) {
  1249. e = f._data(d, "_change_data"), g = H(d), (c.type !== "focusout" || d.type !== "radio") && f._data(d, "_change_data", g);
  1250. if (e === b || g === e)return;
  1251. if (e != null || g)c.type = "change", c.liveFired = b, f.event.trigger(c, arguments[1], d)
  1252. }
  1253. };
  1254. f.event.special.change = {
  1255. filters: {
  1256. focusout: I, beforedeactivate: I, click: function (a) {
  1257. var b = a.target, c = f.nodeName(b, "input") ? b.type : "";
  1258. (c === "radio" || c === "checkbox" || f.nodeName(b, "select")) && I.call(this, a)
  1259. }, keydown: function (a) {
  1260. var b = a.target, c = f.nodeName(b, "input") ? b.type : "";
  1261. (a.keyCode === 13 && !f.nodeName(b, "textarea") || a.keyCode === 32 && (c === "checkbox" || c === "radio") || c === "select-multiple") && I.call(this, a)
  1262. }, beforeactivate: function (a) {
  1263. var b = a.target;
  1264. f._data(b, "_change_data", H(b))
  1265. }
  1266. }, setup: function (a, b) {
  1267. if (this.type === "file")return !1;
  1268. for (var c in G)f.event.add(this, c + ".specialChange", G[c]);
  1269. return x.test(this.nodeName)
  1270. }, teardown: function (a) {
  1271. f.event.remove(this, ".specialChange");
  1272. return x.test(this.nodeName)
  1273. }
  1274. }, G = f.event.special.change.filters, G.focus = G.beforeactivate
  1275. }
  1276. f.support.focusinBubbles || f.each({focus: "focusin", blur: "focusout"}, function (a, b) {
  1277. function e(a) {
  1278. var c = f.event.fix(a);
  1279. c.type = b, c.originalEvent = {}, f.event.trigger(c, null, c.target), c.isDefaultPrevented() && a.preventDefault()
  1280. }
  1281. var d = 0;
  1282. f.event.special[b] = {
  1283. setup: function () {
  1284. d++ === 0 && c.addEventListener(a, e, !0)
  1285. }, teardown: function () {
  1286. --d === 0 && c.removeEventListener(a, e, !0)
  1287. }
  1288. }
  1289. }), f.each(["bind", "one"], function (a, c) {
  1290. f.fn[c] = function (a, d, e) {
  1291. var g;
  1292. if (typeof a == "object") {
  1293. for (var h in a)this[c](h, d, a[h], e);
  1294. return this
  1295. }
  1296. if (arguments.length === 2 || d === !1)e = d, d = b;
  1297. c === "one" ? (g = function (a) {
  1298. f(this).unbind(a, g);
  1299. return e.apply(this, arguments)
  1300. }, g.guid = e.guid || f.guid++) : g = e;
  1301. if (a === "unload" && c !== "one")this.one(a, d, e); else for (var i = 0, j = this.length; i < j; i++)f.event.add(this[i], a, g, d);
  1302. return this
  1303. }
  1304. }), f.fn.extend({
  1305. unbind: function (a, b) {
  1306. if (typeof a == "object" && !a.preventDefault)for (var c in a)this.unbind(c, a[c]); else for (var d = 0, e = this.length; d < e; d++)f.event.remove(this[d], a, b);
  1307. return this
  1308. }, delegate: function (a, b, c, d) {
  1309. return this.live(b, c, d, a)
  1310. }, undelegate: function (a, b, c) {
  1311. return arguments.length === 0 ? this.unbind("live") : this.die(b, null, c, a)
  1312. }, trigger: function (a, b) {
  1313. return this.each(function () {
  1314. f.event.trigger(a, b, this)
  1315. })
  1316. }, triggerHandler: function (a, b) {
  1317. if (this[0])return f.event.trigger(a, b, this[0], !0)
  1318. }, toggle: function (a) {
  1319. var b = arguments, c = a.guid || f.guid++, d = 0, e = function (c) {
  1320. var e = (f.data(this, "lastToggle" + a.guid) || 0) % d;
  1321. f.data(this, "lastToggle" + a.guid, e + 1), c.preventDefault();
  1322. return b[e].apply(this, arguments) || !1
  1323. };
  1324. e.guid = c;
  1325. while (d < b.length)b[d++].guid = c;
  1326. return this.click(e)
  1327. }, hover: function (a, b) {
  1328. return this.mouseenter(a).mouseleave(b || a)
  1329. }
  1330. });
  1331. var K = {focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout"};
  1332. f.each(["live", "die"], function (a, c) {
  1333. f.fn[c] = function (a, d, e, g) {
  1334. var h, i = 0, j, k, l, m = g || this.selector, n = g ? this : f(this.context);
  1335. if (typeof a == "object" && !a.preventDefault) {
  1336. for (var o in a)n[c](o, d, a[o], m);
  1337. return this
  1338. }
  1339. if (c === "die" && !a && g && g.charAt(0) === ".") {
  1340. n.unbind(g);
  1341. return this
  1342. }
  1343. if (d === !1 || f.isFunction(d))e = d || C, d = b;
  1344. a = (a || "").split(" ");
  1345. while ((h = a[i++]) != null) {
  1346. j = w.exec(h), k = "", j && (k = j[0], h = h.replace(w, ""));
  1347. if (h === "hover") {
  1348. a.push("mouseenter" + k, "mouseleave" + k);
  1349. continue
  1350. }
  1351. l = h, K[h] ? (a.push(K[h] + k), h = h + k) : h = (K[h] || h) + k;
  1352. if (c === "live")for (var p = 0, q = n.length; p < q; p++)f.event.add(n[p], "live." + M(h, m), {
  1353. data: d,
  1354. selector: m,
  1355. handler: e,
  1356. origType: h,
  1357. origHandler: e,
  1358. preType: l
  1359. }); else n.unbind("live." + M(h, m), e)
  1360. }
  1361. return this
  1362. }
  1363. }), f.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".split(" "), function (a, b) {
  1364. f.fn[b] = function (a, c) {
  1365. c == null && (c = a, a = null);
  1366. return arguments.length > 0 ? this.bind(b, a, c) : this.trigger(b)
  1367. }, f.attrFn && (f.attrFn[b] = !0)
  1368. }), function () {
  1369. function u(a, b, c, d, e, f) {
  1370. for (var g = 0, h = d.length; g < h; g++) {
  1371. var i = d[g];
  1372. if (i) {
  1373. var j = !1;
  1374. i = i[a];
  1375. while (i) {
  1376. if (i.sizcache === c) {
  1377. j = d[i.sizset];
  1378. break
  1379. }
  1380. if (i.nodeType === 1) {
  1381. f || (i.sizcache = c, i.sizset = g);
  1382. if (typeof b != "string") {
  1383. if (i === b) {
  1384. j = !0;
  1385. break
  1386. }
  1387. } else if (k.filter(b, [i]).length > 0) {
  1388. j = i;
  1389. break
  1390. }
  1391. }
  1392. i = i[a]
  1393. }
  1394. d[g] = j
  1395. }
  1396. }
  1397. }
  1398. function t(a, b, c, d, e, f) {
  1399. for (var g = 0, h = d.length; g < h; g++) {
  1400. var i = d[g];
  1401. if (i) {
  1402. var j = !1;
  1403. i = i[a];
  1404. while (i) {
  1405. if (i.sizcache === c) {
  1406. j = d[i.sizset];
  1407. break
  1408. }
  1409. i.nodeType === 1 && !f && (i.sizcache = c, i.sizset = g);
  1410. if (i.nodeName.toLowerCase() === b) {
  1411. j = i;
  1412. break
  1413. }
  1414. i = i[a]
  1415. }
  1416. d[g] = j
  1417. }
  1418. }
  1419. }
  1420. var a = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, d = 0, e = Object.prototype.toString, g = !1, h = !0, i = /\\/g, j = /\W/;
  1421. [0, 0].sort(function () {
  1422. h = !1;
  1423. return 0
  1424. });
  1425. var k = function (b, d, f, g) {
  1426. f = f || [], d = d || c;
  1427. var h = d;
  1428. if (d.nodeType !== 1 && d.nodeType !== 9)return [];
  1429. if (!b || typeof b != "string")return f;
  1430. var i, j, n, o, q, r, s, t, u = !0, w = k.isXML(d), x = [], y = b;
  1431. do {
  1432. a.exec(""), i = a.exec(y);
  1433. if (i) {
  1434. y = i[3], x.push(i[1]);
  1435. if (i[2]) {
  1436. o = i[3];
  1437. break
  1438. }
  1439. }
  1440. } while (i);
  1441. if (x.length > 1 && m.exec(b))if (x.length === 2 && l.relative[x[0]])j = v(x[0] + x[1], d); else {
  1442. j = l.relative[x[0]] ? [d] : k(x.shift(), d);
  1443. while (x.length)b = x.shift(), l.relative[b] && (b += x.shift()), j = v(b, j)
  1444. } else {
  1445. !g && x.length > 1 && d.nodeType === 9 && !w && l.match.ID.test(x[0]) && !l.match.ID.test(x[x.length - 1]) && (q = k.find(x.shift(), d, w), d = q.expr ? k.filter(q.expr, q.set)[0] : q.set[0]);
  1446. if (d) {
  1447. q = g ? {
  1448. expr: x.pop(),
  1449. set: p(g)
  1450. } : k.find(x.pop(), x.length === 1 && (x[0] === "~" || x[0] === "+") && d.parentNode ? d.parentNode : d, w), j = q.expr ? k.filter(q.expr, q.set) : q.set, x.length > 0 ? n = p(j) : u = !1;
  1451. while (x.length)r = x.pop(), s = r, l.relative[r] ? s = x.pop() : r = "", s == null && (s = d), l.relative[r](n, s, w)
  1452. } else n = x = []
  1453. }
  1454. n || (n = j), n || k.error(r || b);
  1455. if (e.call(n) === "[object Array]")if (!u)f.push.apply(f, n); else if (d && d.nodeType === 1)for (t = 0; n[t] != null; t++)n[t] && (n[t] === !0 || n[t].nodeType === 1 && k.contains(d, n[t])) && f.push(j[t]); else for (t = 0; n[t] != null; t++)n[t] && n[t].nodeType === 1 && f.push(j[t]); else p(n, f);
  1456. o && (k(o, h, f, g), k.uniqueSort(f));
  1457. return f
  1458. };
  1459. k.uniqueSort = function (a) {
  1460. if (r) {
  1461. g = h, a.sort(r);
  1462. if (g)for (var b = 1; b < a.length; b++)a[b] === a[b - 1] && a.splice(b--, 1)
  1463. }
  1464. return a
  1465. }, k.matches = function (a, b) {
  1466. return k(a, null, null, b)
  1467. }, k.matchesSelector = function (a, b) {
  1468. return k(b, null, null, [a]).length > 0
  1469. }, k.find = function (a, b, c) {
  1470. var d;
  1471. if (!a)return [];
  1472. for (var e = 0, f = l.order.length; e < f; e++) {
  1473. var g, h = l.order[e];
  1474. if (g = l.leftMatch[h].exec(a)) {
  1475. var j = g[1];
  1476. g.splice(1, 1);
  1477. if (j.substr(j.length - 1) !== "\\") {
  1478. g[1] = (g[1] || "").replace(i, ""), d = l.find[h](g, b, c);
  1479. if (d != null) {
  1480. a = a.replace(l.match[h], "");
  1481. break
  1482. }
  1483. }
  1484. }
  1485. }
  1486. d || (d = typeof b.getElementsByTagName != "undefined" ? b.getElementsByTagName("*") : []);
  1487. return {set: d, expr: a}
  1488. }, k.filter = function (a, c, d, e) {
  1489. var f, g, h = a, i = [], j = c, m = c && c[0] && k.isXML(c[0]);
  1490. while (a && c.length) {
  1491. for (var n in l.filter)if ((f = l.leftMatch[n].exec(a)) != null && f[2]) {
  1492. var o, p, q = l.filter[n], r = f[1];
  1493. g = !1, f.splice(1, 1);
  1494. if (r.substr(r.length - 1) === "\\")continue;
  1495. j === i && (i = []);
  1496. if (l.preFilter[n]) {
  1497. f = l.preFilter[n](f, j, d, i, e, m);
  1498. if (!f)g = o = !0; else if (f === !0)continue
  1499. }
  1500. if (f)for (var s = 0; (p = j[s]) != null; s++)if (p) {
  1501. o = q(p, f, s, j);
  1502. var t = e ^ !!o;
  1503. d && o != null ? t ? g = !0 : j[s] = !1 : t && (i.push(p), g = !0)
  1504. }
  1505. if (o !== b) {
  1506. d || (j = i), a = a.replace(l.match[n], "");
  1507. if (!g)return [];
  1508. break
  1509. }
  1510. }
  1511. if (a === h)if (g == null)k.error(a); else break;
  1512. h = a
  1513. }
  1514. return j
  1515. }, k.error = function (a) {
  1516. throw"Syntax error, unrecognized expression: " + a
  1517. };
  1518. var l = k.selectors = {
  1519. order: ["ID", "NAME", "TAG"],
  1520. match: {
  1521. ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
  1522. CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
  1523. NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
  1524. ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
  1525. TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
  1526. CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
  1527. POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
  1528. PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
  1529. },
  1530. leftMatch: {},
  1531. attrMap: {"class": "className", "for": "htmlFor"},
  1532. attrHandle: {
  1533. href: function (a) {
  1534. return a.getAttribute("href")
  1535. }, type: function (a) {
  1536. return a.getAttribute("type")
  1537. }
  1538. },
  1539. relative: {
  1540. "+": function (a, b) {
  1541. var c = typeof b == "string", d = c && !j.test(b), e = c && !d;
  1542. d && (b = b.toLowerCase());
  1543. for (var f = 0, g = a.length, h; f < g; f++)if (h = a[f]) {
  1544. while ((h = h.previousSibling) && h.nodeType !== 1);
  1545. a[f] = e || h && h.nodeName.toLowerCase() === b ? h || !1 : h === b
  1546. }
  1547. e && k.filter(b, a, !0)
  1548. }, ">": function (a, b) {
  1549. var c, d = typeof b == "string", e = 0, f = a.length;
  1550. if (d && !j.test(b)) {
  1551. b = b.toLowerCase();
  1552. for (; e < f; e++) {
  1553. c = a[e];
  1554. if (c) {
  1555. var g = c.parentNode;
  1556. a[e] = g.nodeName.toLowerCase() === b ? g : !1
  1557. }
  1558. }
  1559. } else {
  1560. for (; e < f; e++)c = a[e], c && (a[e] = d ? c.parentNode : c.parentNode === b);
  1561. d && k.filter(b, a, !0)
  1562. }
  1563. }, "": function (a, b, c) {
  1564. var e, f = d++, g = u;
  1565. typeof b == "string" && !j.test(b) && (b = b.toLowerCase(), e = b, g = t), g("parentNode", b, f, a, e, c)
  1566. }, "~": function (a, b, c) {
  1567. var e, f = d++, g = u;
  1568. typeof b == "string" && !j.test(b) && (b = b.toLowerCase(), e = b, g = t), g("previousSibling", b, f, a, e, c)
  1569. }
  1570. },
  1571. find: {
  1572. ID: function (a, b, c) {
  1573. if (typeof b.getElementById != "undefined" && !c) {
  1574. var d = b.getElementById(a[1]);
  1575. return d && d.parentNode ? [d] : []
  1576. }
  1577. }, NAME: function (a, b) {
  1578. if (typeof b.getElementsByName != "undefined") {
  1579. var c = [], d = b.getElementsByName(a[1]);
  1580. for (var e = 0, f = d.length; e < f; e++)d[e].getAttribute("name") === a[1] && c.push(d[e]);
  1581. return c.length === 0 ? null : c
  1582. }
  1583. }, TAG: function (a, b) {
  1584. if (typeof b.getElementsByTagName != "undefined")return b.getElementsByTagName(a[1])
  1585. }
  1586. },
  1587. preFilter: {
  1588. CLASS: function (a, b, c, d, e, f) {
  1589. a = " " + a[1].replace(i, "") + " ";
  1590. if (f)return a;
  1591. for (var g = 0, h; (h = b[g]) != null; g++)h && (e ^ (h.className && (" " + h.className + " ").replace(/[\t\n\r]/g, " ").indexOf(a) >= 0) ? c || d.push(h) : c && (b[g] = !1));
  1592. return !1
  1593. }, ID: function (a) {
  1594. return a[1].replace(i, "")
  1595. }, TAG: function (a, b) {
  1596. return a[1].replace(i, "").toLowerCase()
  1597. }, CHILD: function (a) {
  1598. if (a[1] === "nth") {
  1599. a[2] || k.error(a[0]), a[2] = a[2].replace(/^\+|\s*/g, "");
  1600. var b = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2] === "even" && "2n" || a[2] === "odd" && "2n+1" || !/\D/.test(a[2]) && "0n+" + a[2] || a[2]);
  1601. a[2] = b[1] + (b[2] || 1) - 0, a[3] = b[3] - 0
  1602. } else a[2] && k.error(a[0]);
  1603. a[0] = d++;
  1604. return a
  1605. }, ATTR: function (a, b, c, d, e, f) {
  1606. var g = a[1] = a[1].replace(i, "");
  1607. !f && l.attrMap[g] && (a[1] = l.attrMap[g]), a[4] = (a[4] || a[5] || "").replace(i, ""), a[2] === "~=" && (a[4] = " " + a[4] + " ");
  1608. return a
  1609. }, PSEUDO: function (b, c, d, e, f) {
  1610. if (b[1] === "not")if ((a.exec(b[3]) || "").length > 1 || /^\w/.test(b[3]))b[3] = k(b[3], null, null, c); else {
  1611. var g = k.filter(b[3], c, d, !0 ^ f);
  1612. d || e.push.apply(e, g);
  1613. return !1
  1614. } else if (l.match.POS.test(b[0]) || l.match.CHILD.test(b[0]))return !0;
  1615. return b
  1616. }, POS: function (a) {
  1617. a.unshift(!0);
  1618. return a
  1619. }
  1620. },
  1621. filters: {
  1622. enabled: function (a) {
  1623. return a.disabled === !1 && a.type !== "hidden"
  1624. }, disabled: function (a) {
  1625. return a.disabled === !0
  1626. }, checked: function (a) {
  1627. return a.checked === !0
  1628. }, selected: function (a) {
  1629. a.parentNode && a.parentNode.selectedIndex;
  1630. return a.selected === !0
  1631. }, parent: function (a) {
  1632. return !!a.firstChild
  1633. }, empty: function (a) {
  1634. return !a.firstChild
  1635. }, has: function (a, b, c) {
  1636. return !!k(c[3], a).length
  1637. }, header: function (a) {
  1638. return /h\d/i.test(a.nodeName)
  1639. }, text: function (a) {
  1640. var b = a.getAttribute("type"), c = a.type;
  1641. return a.nodeName.toLowerCase() === "input" && "text" === c && (b === c || b === null)
  1642. }, radio: function (a) {
  1643. return a.nodeName.toLowerCase() === "input" && "radio" === a.type
  1644. }, checkbox: function (a) {
  1645. return a.nodeName.toLowerCase() === "input" && "checkbox" === a.type
  1646. }, file: function (a) {
  1647. return a.nodeName.toLowerCase() === "input" && "file" === a.type
  1648. }, password: function (a) {
  1649. return a.nodeName.toLowerCase() === "input" && "password" === a.type
  1650. }, submit: function (a) {
  1651. var b = a.nodeName.toLowerCase();
  1652. return (b === "input" || b === "button") && "submit" === a.type
  1653. }, image: function (a) {
  1654. return a.nodeName.toLowerCase() === "input" && "image" === a.type
  1655. }, reset: function (a) {
  1656. var b = a.nodeName.toLowerCase();
  1657. return (b === "input" || b === "button") && "reset" === a.type
  1658. }, button: function (a) {
  1659. var b = a.nodeName.toLowerCase();
  1660. return b === "input" && "button" === a.type || b === "button"
  1661. }, input: function (a) {
  1662. return /input|select|textarea|button/i.test(a.nodeName)
  1663. }, focus: function (a) {
  1664. return a === a.ownerDocument.activeElement
  1665. }
  1666. },
  1667. setFilters: {
  1668. first: function (a, b) {
  1669. return b === 0
  1670. }, last: function (a, b, c, d) {
  1671. return b === d.length - 1
  1672. }, even: function (a, b) {
  1673. return b % 2 === 0
  1674. }, odd: function (a, b) {
  1675. return b % 2 === 1
  1676. }, lt: function (a, b, c) {
  1677. return b < c[3] - 0
  1678. }, gt: function (a, b, c) {
  1679. return b > c[3] - 0
  1680. }, nth: function (a, b, c) {
  1681. return c[3] - 0 === b
  1682. }, eq: function (a, b, c) {
  1683. return c[3] - 0 === b
  1684. }
  1685. },
  1686. filter: {
  1687. PSEUDO: function (a, b, c, d) {
  1688. var e = b[1], f = l.filters[e];
  1689. if (f)return f(a, c, b, d);
  1690. if (e === "contains")return (a.textContent || a.innerText || k.getText([a]) || "").indexOf(b[3]) >= 0;
  1691. if (e === "not") {
  1692. var g = b[3];
  1693. for (var h = 0, i = g.length; h < i; h++)if (g[h] === a)return !1;
  1694. return !0
  1695. }
  1696. k.error(e)
  1697. }, CHILD: function (a, b) {
  1698. var c = b[1], d = a;
  1699. switch (c) {
  1700. case"only":
  1701. case"first":
  1702. while (d = d.previousSibling)if (d.nodeType === 1)return !1;
  1703. if (c === "first")return !0;
  1704. d = a;
  1705. case"last":
  1706. while (d = d.nextSibling)if (d.nodeType === 1)return !1;
  1707. return !0;
  1708. case"nth":
  1709. var e = b[2], f = b[3];
  1710. if (e === 1 && f === 0)return !0;
  1711. var g = b[0], h = a.parentNode;
  1712. if (h && (h.sizcache !== g || !a.nodeIndex)) {
  1713. var i = 0;
  1714. for (d = h.firstChild; d; d = d.nextSibling)d.nodeType === 1 && (d.nodeIndex = ++i);
  1715. h.sizcache = g
  1716. }
  1717. var j = a.nodeIndex - f;
  1718. return e === 0 ? j === 0 : j % e === 0 && j / e >= 0
  1719. }
  1720. }, ID: function (a, b) {
  1721. return a.nodeType === 1 && a.getAttribute("id") === b
  1722. }, TAG: function (a, b) {
  1723. return b === "*" && a.nodeType === 1 || a.nodeName.toLowerCase() === b
  1724. }, CLASS: function (a, b) {
  1725. return (" " + (a.className || a.getAttribute("class")) + " ").indexOf(b) > -1
  1726. }, ATTR: function (a, b) {
  1727. var c = b[1], d = l.attrHandle[c] ? l.attrHandle[c](a) : a[c] != null ? a[c] : a.getAttribute(c), e = d + "", f = b[2], g = b[4];
  1728. return d == null ? f === "!=" : f === "=" ? e === g : f === "*=" ? e.indexOf(g) >= 0 : f === "~=" ? (" " + e + " ").indexOf(g) >= 0 : g ? f === "!=" ? e !== g : f === "^=" ? e.indexOf(g) === 0 : f === "$=" ? e.substr(e.length - g.length) === g : f === "|=" ? e === g || e.substr(0, g.length + 1) === g + "-" : !1 : e && d !== !1
  1729. }, POS: function (a, b, c, d) {
  1730. var e = b[2], f = l.setFilters[e];
  1731. if (f)return f(a, c, b, d)
  1732. }
  1733. }
  1734. }, m = l.match.POS, n = function (a, b) {
  1735. return "\\" + (b - 0 + 1)
  1736. };
  1737. for (var o in l.match)l.match[o] = new RegExp(l.match[o].source + /(?![^\[]*\])(?![^\(]*\))/.source), l.leftMatch[o] = new RegExp(/(^(?:.|\r|\n)*?)/.source + l.match[o].source.replace(/\\(\d+)/g, n));
  1738. var p = function (a, b) {
  1739. a = Array.prototype.slice.call(a, 0);
  1740. if (b) {
  1741. b.push.apply(b, a);
  1742. return b
  1743. }
  1744. return a
  1745. };
  1746. try {
  1747. Array.prototype.slice.call(c.documentElement.childNodes, 0)[0].nodeType
  1748. } catch (q) {
  1749. p = function (a, b) {
  1750. var c = 0, d = b || [];
  1751. if (e.call(a) === "[object Array]")Array.prototype.push.apply(d, a); else if (typeof a.length == "number")for (var f = a.length; c < f; c++)d.push(a[c]); else for (; a[c]; c++)d.push(a[c]);
  1752. return d
  1753. }
  1754. }
  1755. var r, s;
  1756. c.documentElement.compareDocumentPosition ? r = function (a, b) {
  1757. if (a === b) {
  1758. g = !0;
  1759. return 0
  1760. }
  1761. if (!a.compareDocumentPosition || !b.compareDocumentPosition)return a.compareDocumentPosition ? -1 : 1;
  1762. return a.compareDocumentPosition(b) & 4 ? -1 : 1
  1763. } : (r = function (a, b) {
  1764. if (a === b) {
  1765. g = !0;
  1766. return 0
  1767. }
  1768. if (a.sourceIndex && b.sourceIndex)return a.sourceIndex - b.sourceIndex;
  1769. var c, d, e = [], f = [], h = a.parentNode, i = b.parentNode, j = h;
  1770. if (h === i)return s(a, b);
  1771. if (!h)return -1;
  1772. if (!i)return 1;
  1773. while (j)e.unshift(j), j = j.parentNode;
  1774. j = i;
  1775. while (j)f.unshift(j), j = j.parentNode;
  1776. c = e.length, d = f.length;
  1777. for (var k = 0; k < c && k < d; k++)if (e[k] !== f[k])return s(e[k], f[k]);
  1778. return k === c ? s(a, f[k], -1) : s(e[k], b, 1)
  1779. }, s = function (a, b, c) {
  1780. if (a === b)return c;
  1781. var d = a.nextSibling;
  1782. while (d) {
  1783. if (d === b)return -1;
  1784. d = d.nextSibling
  1785. }
  1786. return 1
  1787. }), k.getText = function (a) {
  1788. var b = "", c;
  1789. for (var d = 0; a[d]; d++)c = a[d], c.nodeType === 3 || c.nodeType === 4 ? b += c.nodeValue : c.nodeType !== 8 && (b += k.getText(c.childNodes));
  1790. return b
  1791. }, function () {
  1792. var a = c.createElement("div"), d = "script" + (new Date).getTime(), e = c.documentElement;
  1793. a.innerHTML = "<a name='" + d + "'/>", e.insertBefore(a, e.firstChild), c.getElementById(d) && (l.find.ID = function (a, c, d) {
  1794. if (typeof c.getElementById != "undefined" && !d) {
  1795. var e = c.getElementById(a[1]);
  1796. return e ? e.id === a[1] || typeof e.getAttributeNode != "undefined" && e.getAttributeNode("id").nodeValue === a[1] ? [e] : b : []
  1797. }
  1798. }, l.filter.ID = function (a, b) {
  1799. var c = typeof a.getAttributeNode != "undefined" && a.getAttributeNode("id");
  1800. return a.nodeType === 1 && c && c.nodeValue === b
  1801. }), e.removeChild(a), e = a = null
  1802. }(), function () {
  1803. var a = c.createElement("div");
  1804. a.appendChild(c.createComment("")), a.getElementsByTagName("*").length > 0 && (l.find.TAG = function (a, b) {
  1805. var c = b.getElementsByTagName(a[1]);
  1806. if (a[1] === "*") {
  1807. var d = [];
  1808. for (var e = 0; c[e]; e++)c[e].nodeType === 1 && d.push(c[e]);
  1809. c = d
  1810. }
  1811. return c
  1812. }), a.innerHTML = "<a href='#'></a>", a.firstChild && typeof a.firstChild.getAttribute != "undefined" && a.firstChild.getAttribute("href") !== "#" && (l.attrHandle.href = function (a) {
  1813. return a.getAttribute("href", 2)
  1814. }), a = null
  1815. }(), c.querySelectorAll && function () {
  1816. var a = k, b = c.createElement("div"), d = "__sizzle__";
  1817. b.innerHTML = "<p class='TEST'></p>";
  1818. if (!b.querySelectorAll || b.querySelectorAll(".TEST").length !== 0) {
  1819. k = function (b, e, f, g) {
  1820. e = e || c;
  1821. if (!g && !k.isXML(e)) {
  1822. var h = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);
  1823. if (h && (e.nodeType === 1 || e.nodeType === 9)) {
  1824. if (h[1])return p(e.getElementsByTagName(b), f);
  1825. if (h[2] && l.find.CLASS && e.getElementsByClassName)return p(e.getElementsByClassName(h[2]), f)
  1826. }
  1827. if (e.nodeType === 9) {
  1828. if (b === "body" && e.body)return p([e.body], f);
  1829. if (h && h[3]) {
  1830. var i = e.getElementById(h[3]);
  1831. if (!i || !i.parentNode)return p([], f);
  1832. if (i.id === h[3])return p([i], f)
  1833. }
  1834. try {
  1835. return p(e.querySelectorAll(b), f)
  1836. } catch (j) {
  1837. }
  1838. } else if (e.nodeType === 1 && e.nodeName.toLowerCase() !== "object") {
  1839. var m = e, n = e.getAttribute("id"), o = n || d, q = e.parentNode, r = /^\s*[+~]/.test(b);
  1840. n ? o = o.replace(/'/g, "\\$&") : e.setAttribute("id", o), r && q && (e = e.parentNode);
  1841. try {
  1842. if (!r || q)return p(e.querySelectorAll("[id='" + o + "'] " + b), f)
  1843. } catch (s) {
  1844. } finally {
  1845. n || m.removeAttribute("id")
  1846. }
  1847. }
  1848. }
  1849. return a(b, e, f, g)
  1850. };
  1851. for (var e in a)k[e] = a[e];
  1852. b = null
  1853. }
  1854. }(), function () {
  1855. var a = c.documentElement, b = a.matchesSelector || a.mozMatchesSelector || a.webkitMatchesSelector || a.msMatchesSelector;
  1856. if (b) {
  1857. var d = !b.call(c.createElement("div"), "div"), e = !1;
  1858. try {
  1859. b.call(c.documentElement, "[test!='']:sizzle")
  1860. } catch (f) {
  1861. e = !0
  1862. }
  1863. k.matchesSelector = function (a, c) {
  1864. c = c.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
  1865. if (!k.isXML(a))try {
  1866. if (e || !l.match.PSEUDO.test(c) && !/!=/.test(c)) {
  1867. var f = b.call(a, c);
  1868. if (f || !d || a.document && a.document.nodeType !== 11)return f
  1869. }
  1870. } catch (g) {
  1871. }
  1872. return k(c, null, null, [a]).length > 0
  1873. }
  1874. }
  1875. }(), function () {
  1876. var a = c.createElement("div");
  1877. a.innerHTML = "<div class='test e'></div><div class='test'></div>";
  1878. if (!!a.getElementsByClassName && a.getElementsByClassName("e").length !== 0) {
  1879. a.lastChild.className = "e";
  1880. if (a.getElementsByClassName("e").length === 1)return;
  1881. l.order.splice(1, 0, "CLASS"), l.find.CLASS = function (a, b, c) {
  1882. if (typeof b.getElementsByClassName != "undefined" && !c)return b.getElementsByClassName(a[1])
  1883. }, a = null
  1884. }
  1885. }(), c.documentElement.contains ? k.contains = function (a, b) {
  1886. return a !== b && (a.contains ? a.contains(b) : !0)
  1887. } : c.documentElement.compareDocumentPosition ? k.contains = function (a, b) {
  1888. return !!(a.compareDocumentPosition(b) & 16)
  1889. } : k.contains = function () {
  1890. return !1
  1891. }, k.isXML = function (a) {
  1892. var b = (a ? a.ownerDocument || a : 0).documentElement;
  1893. return b ? b.nodeName !== "HTML" : !1
  1894. };
  1895. var v = function (a, b) {
  1896. var c, d = [], e = "", f = b.nodeType ? [b] : b;
  1897. while (c = l.match.PSEUDO.exec(a))e += c[0], a = a.replace(l.match.PSEUDO, "");
  1898. a = l.relative[a] ? a + "*" : a;
  1899. for (var g = 0, h = f.length; g < h; g++)k(a, f[g], d);
  1900. return k.filter(e, d)
  1901. };
  1902. f.find = k, f.expr = k.selectors, f.expr[":"] = f.expr.filters, f.unique = k.uniqueSort, f.text = k.getText, f.isXMLDoc = k.isXML, f.contains = k.contains
  1903. }();
  1904. var N = /Until$/, O = /^(?:parents|prevUntil|prevAll)/, P = /,/, Q = /^.[^:#\[\.,]*$/, R = Array.prototype.slice, S = f.expr.match.POS, T = {
  1905. children: !0,
  1906. contents: !0,
  1907. next: !0,
  1908. prev: !0
  1909. };
  1910. f.fn.extend({
  1911. find: function (a) {
  1912. var b = this, c, d;
  1913. if (typeof a != "string")return f(a).filter(function () {
  1914. for (c = 0, d = b.length; c < d; c++)if (f.contains(b[c], this))return !0
  1915. });
  1916. var e = this.pushStack("", "find", a), g, h, i;
  1917. for (c = 0, d = this.length; c < d; c++) {
  1918. g = e.length, f.find(a, this[c], e);
  1919. if (c > 0)for (h = g; h < e.length; h++)for (i = 0; i < g; i++)if (e[i] === e[h]) {
  1920. e.splice(h--, 1);
  1921. break
  1922. }
  1923. }
  1924. return e
  1925. }, has: function (a) {
  1926. var b = f(a);
  1927. return this.filter(function () {
  1928. for (var a = 0, c = b.length; a < c; a++)if (f.contains(this, b[a]))return !0
  1929. })
  1930. }, not: function (a) {
  1931. return this.pushStack(V(this, a, !1), "not", a)
  1932. }, filter: function (a) {
  1933. return this.pushStack(V(this, a, !0), "filter", a)
  1934. }, is: function (a) {
  1935. return !!a && (typeof a == "string" ? f.filter(a, this).length > 0 : this.filter(a).length > 0)
  1936. }, closest: function (a, b) {
  1937. var c = [], d, e, g = this[0];
  1938. if (f.isArray(a)) {
  1939. var h, i, j = {}, k = 1;
  1940. if (g && a.length) {
  1941. for (d = 0, e = a.length; d < e; d++)i = a[d], j[i] || (j[i] = S.test(i) ? f(i, b || this.context) : i);
  1942. while (g && g.ownerDocument && g !== b) {
  1943. for (i in j)h = j[i], (h.jquery ? h.index(g) > -1 : f(g).is(h)) && c.push({
  1944. selector: i,
  1945. elem: g,
  1946. level: k
  1947. });
  1948. g = g.parentNode, k++
  1949. }
  1950. }
  1951. return c
  1952. }
  1953. var l = S.test(a) || typeof a != "string" ? f(a, b || this.context) : 0;
  1954. for (d = 0, e = this.length; d < e; d++) {
  1955. g = this[d];
  1956. while (g) {
  1957. if (l ? l.index(g) > -1 : f.find.matchesSelector(g, a)) {
  1958. c.push(g);
  1959. break
  1960. }
  1961. g = g.parentNode;
  1962. if (!g || !g.ownerDocument || g === b || g.nodeType === 11)break
  1963. }
  1964. }
  1965. c = c.length > 1 ? f.unique(c) : c;
  1966. return this.pushStack(c, "closest", a)
  1967. }, index: function (a) {
  1968. if (!a)return this[0] && this[0].parentNode ? this.prevAll().length : -1;
  1969. if (typeof a == "string")return f.inArray(this[0], f(a));
  1970. return f.inArray(a.jquery ? a[0] : a, this)
  1971. }, add: function (a, b) {
  1972. var c = typeof a == "string" ? f(a, b) : f.makeArray(a && a.nodeType ? [a] : a), d = f.merge(this.get(), c);
  1973. return this.pushStack(U(c[0]) || U(d[0]) ? d : f.unique(d))
  1974. }, andSelf: function () {
  1975. return this.add(this.prevObject)
  1976. }
  1977. }), f.each({
  1978. parent: function (a) {
  1979. var b = a.parentNode;
  1980. return b && b.nodeType !== 11 ? b : null
  1981. }, parents: function (a) {
  1982. return f.dir(a, "parentNode")
  1983. }, parentsUntil: function (a, b, c) {
  1984. return f.dir(a, "parentNode", c)
  1985. }, next: function (a) {
  1986. return f.nth(a, 2, "nextSibling")
  1987. }, prev: function (a) {
  1988. return f.nth(a, 2, "previousSibling")
  1989. }, nextAll: function (a) {
  1990. return f.dir(a, "nextSibling")
  1991. }, prevAll: function (a) {
  1992. return f.dir(a, "previousSibling")
  1993. }, nextUntil: function (a, b, c) {
  1994. return f.dir(a, "nextSibling", c)
  1995. }, prevUntil: function (a, b, c) {
  1996. return f.dir(a, "previousSibling", c)
  1997. }, siblings: function (a) {
  1998. return f.sibling(a.parentNode.firstChild, a)
  1999. }, children: function (a) {
  2000. return f.sibling(a.firstChild)
  2001. }, contents: function (a) {
  2002. return f.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : f.makeArray(a.childNodes)
  2003. }
  2004. }, function (a, b) {
  2005. f.fn[a] = function (c, d) {
  2006. var e = f.map(this, b, c), g = R.call(arguments);
  2007. N.test(a) || (d = c), d && typeof d == "string" && (e = f.filter(d, e)), e = this.length > 1 && !T[a] ? f.unique(e) : e, (this.length > 1 || P.test(d)) && O.test(a) && (e = e.reverse());
  2008. return this.pushStack(e, a, g.join(","))
  2009. }
  2010. }), f.extend({
  2011. filter: function (a, b, c) {
  2012. c && (a = ":not(" + a + ")");
  2013. return b.length === 1 ? f.find.matchesSelector(b[0], a) ? [b[0]] : [] : f.find.matches(a, b)
  2014. }, dir: function (a, c, d) {
  2015. var e = [], g = a[c];
  2016. while (g && g.nodeType !== 9 && (d === b || g.nodeType !== 1 || !f(g).is(d)))g.nodeType === 1 && e.push(g), g = g[c];
  2017. return e
  2018. }, nth: function (a, b, c, d) {
  2019. b = b || 1;
  2020. var e = 0;
  2021. for (; a; a = a[c])if (a.nodeType === 1 && ++e === b)break;
  2022. return a
  2023. }, sibling: function (a, b) {
  2024. var c = [];
  2025. for (; a; a = a.nextSibling)a.nodeType === 1 && a !== b && c.push(a);
  2026. return c
  2027. }
  2028. });
  2029. var W = / jQuery\d+="(?:\d+|null)"/g, X = /^\s+/, Y = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, Z = /<([\w:]+)/, $ = /<tbody/i, _ = /<|&#?\w+;/, ba = /<(?:script|object|embed|option|style)/i, bb = /checked\s*(?:[^=]|=\s*.checked.)/i, bc = /\/(java|ecma)script/i, bd = /^\s*<!(?:\[CDATA\[|\-\-)/, be = {
  2030. option: [1, "<select multiple='multiple'>", "</select>"],
  2031. legend: [1, "<fieldset>", "</fieldset>"],
  2032. thead: [1, "<table>", "</table>"],
  2033. tr: [2, "<table><tbody>", "</tbody></table>"],
  2034. td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  2035. col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
  2036. area: [1, "<map>", "</map>"],
  2037. _default: [0, "", ""]
  2038. };
  2039. be.optgroup = be.option, be.tbody = be.tfoot = be.colgroup = be.caption = be.thead, be.th = be.td, f.support.htmlSerialize || (be._default = [1, "div<div>", "</div>"]), f.fn.extend({
  2040. text: function (a) {
  2041. if (f.isFunction(a))return this.each(function (b) {
  2042. var c = f(this);
  2043. c.text(a.call(this, b, c.text()))
  2044. });
  2045. if (typeof a != "object" && a !== b)return this.empty().append((this[0] && this[0].ownerDocument || c).createTextNode(a));
  2046. return f.text(this)
  2047. }, wrapAll: function (a) {
  2048. if (f.isFunction(a))return this.each(function (b) {
  2049. f(this).wrapAll(a.call(this, b))
  2050. });
  2051. if (this[0]) {
  2052. var b = f(a, this[0].ownerDocument).eq(0).clone(!0);
  2053. this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
  2054. var a = this;
  2055. while (a.firstChild && a.firstChild.nodeType === 1)a = a.firstChild;
  2056. return a
  2057. }).append(this)
  2058. }
  2059. return this
  2060. }, wrapInner: function (a) {
  2061. if (f.isFunction(a))return this.each(function (b) {
  2062. f(this).wrapInner(a.call(this, b))
  2063. });
  2064. return this.each(function () {
  2065. var b = f(this), c = b.contents();
  2066. c.length ? c.wrapAll(a) : b.append(a)
  2067. })
  2068. }, wrap: function (a) {
  2069. return this.each(function () {
  2070. f(this).wrapAll(a)
  2071. })
  2072. }, unwrap: function () {
  2073. return this.parent().each(function () {
  2074. f.nodeName(this, "body") || f(this).replaceWith(this.childNodes)
  2075. }).end()
  2076. }, append: function () {
  2077. return this.domManip(arguments, !0, function (a) {
  2078. this.nodeType === 1 && this.appendChild(a)
  2079. })
  2080. }, prepend: function () {
  2081. return this.domManip(arguments, !0, function (a) {
  2082. this.nodeType === 1 && this.insertBefore(a, this.firstChild)
  2083. })
  2084. }, before: function () {
  2085. if (this[0] && this[0].parentNode)return this.domManip(arguments, !1, function (a) {
  2086. this.parentNode.insertBefore(a, this)
  2087. });
  2088. if (arguments.length) {
  2089. var a = f(arguments[0]);
  2090. a.push.apply(a, this.toArray());
  2091. return this.pushStack(a, "before", arguments)
  2092. }
  2093. }, after: function () {
  2094. if (this[0] && this[0].parentNode)return this.domManip(arguments, !1, function (a) {
  2095. this.parentNode.insertBefore(a, this.nextSibling)
  2096. });
  2097. if (arguments.length) {
  2098. var a = this.pushStack(this, "after", arguments);
  2099. a.push.apply(a, f(arguments[0]).toArray());
  2100. return a
  2101. }
  2102. }, remove: function (a, b) {
  2103. for (var c = 0, d; (d = this[c]) != null; c++)if (!a || f.filter(a, [d]).length)!b && d.nodeType === 1 && (f.cleanData(d.getElementsByTagName("*")), f.cleanData([d])), d.parentNode && d.parentNode.removeChild(d);
  2104. return this
  2105. }, empty: function () {
  2106. for (var a = 0, b; (b = this[a]) != null; a++) {
  2107. b.nodeType === 1 && f.cleanData(b.getElementsByTagName("*"));
  2108. while (b.firstChild)b.removeChild(b.firstChild)
  2109. }
  2110. return this
  2111. }, clone: function (a, b) {
  2112. a = a == null ? !1 : a, b = b == null ? a : b;
  2113. return this.map(function () {
  2114. return f.clone(this, a, b)
  2115. })
  2116. }, html: function (a) {
  2117. if (a === b)return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(W, "") : null;
  2118. if (typeof a == "string" && !ba.test(a) && (f.support.leadingWhitespace || !X.test(a)) && !be[(Z.exec(a) || ["", ""])[1].toLowerCase()]) {
  2119. a = a.replace(Y, "<$1></$2>");
  2120. try {
  2121. for (var c = 0, d = this.length; c < d; c++)this[c].nodeType === 1 && (f.cleanData(this[c].getElementsByTagName("*")), this[c].innerHTML = a)
  2122. } catch (e) {
  2123. this.empty().append(a)
  2124. }
  2125. } else f.isFunction(a) ? this.each(function (b) {
  2126. var c = f(this);
  2127. c.html(a.call(this, b, c.html()))
  2128. }) : this.empty().append(a);
  2129. return this
  2130. }, replaceWith: function (a) {
  2131. if (this[0] && this[0].parentNode) {
  2132. if (f.isFunction(a))return this.each(function (b) {
  2133. var c = f(this), d = c.html();
  2134. c.replaceWith(a.call(this, b, d))
  2135. });
  2136. typeof a != "string" && (a = f(a).detach());
  2137. return this.each(function () {
  2138. var b = this.nextSibling, c = this.parentNode;
  2139. f(this).remove(), b ? f(b).before(a) : f(c).append(a)
  2140. })
  2141. }
  2142. return this.length ? this.pushStack(f(f.isFunction(a) ? a() : a), "replaceWith", a) : this
  2143. }, detach: function (a) {
  2144. return this.remove(a, !0)
  2145. }, domManip: function (a, c, d) {
  2146. var e, g, h, i, j = a[0], k = [];
  2147. if (!f.support.checkClone && arguments.length === 3 && typeof j == "string" && bb.test(j))return this.each(function () {
  2148. f(this).domManip(a, c, d, !0)
  2149. });
  2150. if (f.isFunction(j))return this.each(function (e) {
  2151. var g = f(this);
  2152. a[0] = j.call(this, e, c ? g.html() : b), g.domManip(a, c, d)
  2153. });
  2154. if (this[0]) {
  2155. i = j && j.parentNode, f.support.parentNode && i && i.nodeType === 11 && i.childNodes.length === this.length ? e = {fragment: i} : e = f.buildFragment(a, this, k), h = e.fragment, h.childNodes.length === 1 ? g = h = h.firstChild : g = h.firstChild;
  2156. if (g) {
  2157. c = c && f.nodeName(g, "tr");
  2158. for (var l = 0, m = this.length, n = m - 1; l < m; l++)d.call(c ? bf(this[l], g) : this[l], e.cacheable || m > 1 && l < n ? f.clone(h, !0, !0) : h)
  2159. }
  2160. k.length && f.each(k, bl)
  2161. }
  2162. return this
  2163. }
  2164. }), f.buildFragment = function (a, b, d) {
  2165. var e, g, h, i;
  2166. b && b[0] && (i = b[0].ownerDocument || b[0]), i.createDocumentFragment || (i = c), a.length === 1 && typeof a[0] == "string" && a[0].length < 512 && i === c && a[0].charAt(0) === "<" && !ba.test(a[0]) && (f.support.checkClone || !bb.test(a[0])) && (g = !0, h = f.fragments[a[0]], h && h !== 1 && (e = h)), e || (e = i.createDocumentFragment(), f.clean
  2167. (a, i, e, d)), g && (f.fragments[a[0]] = h ? e : 1);
  2168. return {fragment: e, cacheable: g}
  2169. }, f.fragments = {}, f.each({
  2170. appendTo: "append",
  2171. prependTo: "prepend",
  2172. insertBefore: "before",
  2173. insertAfter: "after",
  2174. replaceAll: "replaceWith"
  2175. }, function (a, b) {
  2176. f.fn[a] = function (c) {
  2177. var d = [], e = f(c), g = this.length === 1 && this[0].parentNode;
  2178. if (g && g.nodeType === 11 && g.childNodes.length === 1 && e.length === 1) {
  2179. e[b](this[0]);
  2180. return this
  2181. }
  2182. for (var h = 0, i = e.length; h < i; h++) {
  2183. var j = (h > 0 ? this.clone(!0) : this).get();
  2184. f(e[h])[b](j), d = d.concat(j)
  2185. }
  2186. return this.pushStack(d, a, e.selector)
  2187. }
  2188. }), f.extend({
  2189. clone: function (a, b, c) {
  2190. var d = a.cloneNode(!0), e, g, h;
  2191. if ((!f.support.noCloneEvent || !f.support.noCloneChecked) && (a.nodeType === 1 || a.nodeType === 11) && !f.isXMLDoc(a)) {
  2192. bh(a, d), e = bi(a), g = bi(d);
  2193. for (h = 0; e[h]; ++h)g[h] && bh(e[h], g[h])
  2194. }
  2195. if (b) {
  2196. bg(a, d);
  2197. if (c) {
  2198. e = bi(a), g = bi(d);
  2199. for (h = 0; e[h]; ++h)bg(e[h], g[h])
  2200. }
  2201. }
  2202. e = g = null;
  2203. return d
  2204. }, clean: function (a, b, d, e) {
  2205. var g;
  2206. b = b || c, typeof b.createElement == "undefined" && (b = b.ownerDocument || b[0] && b[0].ownerDocument || c);
  2207. var h = [], i;
  2208. for (var j = 0, k; (k = a[j]) != null; j++) {
  2209. typeof k == "number" && (k += "");
  2210. if (!k)continue;
  2211. if (typeof k == "string")if (!_.test(k))k = b.createTextNode(k); else {
  2212. k = k.replace(Y, "<$1></$2>");
  2213. var l = (Z.exec(k) || ["", ""])[1].toLowerCase(), m = be[l] || be._default, n = m[0], o = b.createElement("div");
  2214. o.innerHTML = m[1] + k + m[2];
  2215. while (n--)o = o.lastChild;
  2216. if (!f.support.tbody) {
  2217. var p = $.test(k), q = l === "table" && !p ? o.firstChild && o.firstChild.childNodes : m[1] === "<table>" && !p ? o.childNodes : [];
  2218. for (i = q.length - 1; i >= 0; --i)f.nodeName(q[i], "tbody") && !q[i].childNodes.length && q[i].parentNode.removeChild(q[i])
  2219. }
  2220. !f.support.leadingWhitespace && X.test(k) && o.insertBefore(b.createTextNode(X.exec(k)[0]), o.firstChild), k = o.childNodes
  2221. }
  2222. var r;
  2223. if (!f.support.appendChecked)if (k[0] && typeof (r = k.length) == "number")for (i = 0; i < r; i++)bk(k[i]); else bk(k);
  2224. k.nodeType ? h.push(k) : h = f.merge(h, k)
  2225. }
  2226. if (d) {
  2227. g = function (a) {
  2228. return !a.type || bc.test(a.type)
  2229. };
  2230. for (j = 0; h[j]; j++)if (e && f.nodeName(h[j], "script") && (!h[j].type || h[j].type.toLowerCase() === "text/javascript"))e.push(h[j].parentNode ? h[j].parentNode.removeChild(h[j]) : h[j]); else {
  2231. if (h[j].nodeType === 1) {
  2232. var s = f.grep(h[j].getElementsByTagName("script"), g);
  2233. h.splice.apply(h, [j + 1, 0].concat(s))
  2234. }
  2235. d.appendChild(h[j])
  2236. }
  2237. }
  2238. return h
  2239. }, cleanData: function (a) {
  2240. var b, c, d = f.cache, e = f.expando, g = f.event.special, h = f.support.deleteExpando;
  2241. for (var i = 0, j; (j = a[i]) != null; i++) {
  2242. if (j.nodeName && f.noData[j.nodeName.toLowerCase()])continue;
  2243. c = j[f.expando];
  2244. if (c) {
  2245. b = d[c] && d[c][e];
  2246. if (b && b.events) {
  2247. for (var k in b.events)g[k] ? f.event.remove(j, k) : f.removeEvent(j, k, b.handle);
  2248. b.handle && (b.handle.elem = null)
  2249. }
  2250. h ? delete j[f.expando] : j.removeAttribute && j.removeAttribute(f.expando), delete d[c]
  2251. }
  2252. }
  2253. }
  2254. });
  2255. var bm = /alpha\([^)]*\)/i, bn = /opacity=([^)]*)/, bo = /([A-Z]|^ms)/g, bp = /^-?\d+(?:px)?$/i, bq = /^-?\d/, br = /^([\-+])=([\-+.\de]+)/, bs = {
  2256. position: "absolute",
  2257. visibility: "hidden",
  2258. display: "block"
  2259. }, bt = ["Left", "Right"], bu = ["Top", "Bottom"], bv, bw, bx;
  2260. f.fn.css = function (a, c) {
  2261. if (arguments.length === 2 && c === b)return this;
  2262. return f.access(this, a, c, !0, function (a, c, d) {
  2263. return d !== b ? f.style(a, c, d) : f.css(a, c)
  2264. })
  2265. }, f.extend({
  2266. cssHooks: {
  2267. opacity: {
  2268. get: function (a, b) {
  2269. if (b) {
  2270. var c = bv(a, "opacity", "opacity");
  2271. return c === "" ? "1" : c
  2272. }
  2273. return a.style.opacity
  2274. }
  2275. }
  2276. },
  2277. cssNumber: {
  2278. fillOpacity: !0,
  2279. fontWeight: !0,
  2280. lineHeight: !0,
  2281. opacity: !0,
  2282. orphans: !0,
  2283. widows: !0,
  2284. zIndex: !0,
  2285. zoom: !0
  2286. },
  2287. cssProps: {"float": f.support.cssFloat ? "cssFloat" : "styleFloat"},
  2288. style: function (a, c, d, e) {
  2289. if (!!a && a.nodeType !== 3 && a.nodeType !== 8 && !!a.style) {
  2290. var g, h, i = f.camelCase(c), j = a.style, k = f.cssHooks[i];
  2291. c = f.cssProps[i] || i;
  2292. if (d === b) {
  2293. if (k && "get"in k && (g = k.get(a, !1, e)) !== b)return g;
  2294. return j[c]
  2295. }
  2296. h = typeof d, h === "string" && (g = br.exec(d)) && (d = +(g[1] + 1) * +g[2] + parseFloat(f.css(a, c)), h = "number");
  2297. if (d == null || h === "number" && isNaN(d))return;
  2298. h === "number" && !f.cssNumber[i] && (d += "px");
  2299. if (!k || !("set"in k) || (d = k.set(a, d)) !== b)try {
  2300. j[c] = d
  2301. } catch (l) {
  2302. }
  2303. }
  2304. },
  2305. css: function (a, c, d) {
  2306. var e, g;
  2307. c = f.camelCase(c), g = f.cssHooks[c], c = f.cssProps[c] || c, c === "cssFloat" && (c = "float");
  2308. if (g && "get"in g && (e = g.get(a, !0, d)) !== b)return e;
  2309. if (bv)return bv(a, c)
  2310. },
  2311. swap: function (a, b, c) {
  2312. var d = {};
  2313. for (var e in b)d[e] = a.style[e], a.style[e] = b[e];
  2314. c.call(a);
  2315. for (e in b)a.style[e] = d[e]
  2316. }
  2317. }), f.curCSS = f.css, f.each(["height", "width"], function (a, b) {
  2318. f.cssHooks[b] = {
  2319. get: function (a, c, d) {
  2320. var e;
  2321. if (c) {
  2322. if (a.offsetWidth !== 0)return by(a, b, d);
  2323. f.swap(a, bs, function () {
  2324. e = by(a, b, d)
  2325. });
  2326. return e
  2327. }
  2328. }, set: function (a, b) {
  2329. if (!bp.test(b))return b;
  2330. b = parseFloat(b);
  2331. if (b >= 0)return b + "px"
  2332. }
  2333. }
  2334. }), f.support.opacity || (f.cssHooks.opacity = {
  2335. get: function (a, b) {
  2336. return bn.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? parseFloat(RegExp.$1) / 100 + "" : b ? "1" : ""
  2337. }, set: function (a, b) {
  2338. var c = a.style, d = a.currentStyle, e = f.isNaN(b) ? "" : "alpha(opacity=" + b * 100 + ")", g = d && d.filter || c.filter || "";
  2339. c.zoom = 1;
  2340. if (b >= 1 && f.trim(g.replace(bm, "")) === "") {
  2341. c.removeAttribute("filter");
  2342. if (d && !d.filter)return
  2343. }
  2344. c.filter = bm.test(g) ? g.replace(bm, e) : g + " " + e
  2345. }
  2346. }), f(function () {
  2347. f.support.reliableMarginRight || (f.cssHooks.marginRight = {
  2348. get: function (a, b) {
  2349. var c;
  2350. f.swap(a, {display: "inline-block"}, function () {
  2351. b ? c = bv(a, "margin-right", "marginRight") : c = a.style.marginRight
  2352. });
  2353. return c
  2354. }
  2355. })
  2356. }), c.defaultView && c.defaultView.getComputedStyle && (bw = function (a, c) {
  2357. var d, e, g;
  2358. c = c.replace(bo, "-$1").toLowerCase();
  2359. if (!(e = a.ownerDocument.defaultView))return b;
  2360. if (g = e.getComputedStyle(a, null))d = g.getPropertyValue(c), d === "" && !f.contains(a.ownerDocument.documentElement, a) && (d = f.style(a, c));
  2361. return d
  2362. }), c.documentElement.currentStyle && (bx = function (a, b) {
  2363. var c, d = a.currentStyle && a.currentStyle[b], e = a.runtimeStyle && a.runtimeStyle[b], f = a.style;
  2364. !bp.test(d) && bq.test(d) && (c = f.left, e && (a.runtimeStyle.left = a.currentStyle.left), f.left = b === "fontSize" ? "1em" : d || 0, d = f.pixelLeft + "px", f.left = c, e && (a.runtimeStyle.left = e));
  2365. return d === "" ? "auto" : d
  2366. }), bv = bw || bx, f.expr && f.expr.filters && (f.expr.filters.hidden = function (a) {
  2367. var b = a.offsetWidth, c = a.offsetHeight;
  2368. return b === 0 && c === 0 || !f.support.reliableHiddenOffsets && (a.style.display || f.css(a, "display")) === "none"
  2369. }, f.expr.filters.visible = function (a) {
  2370. return !f.expr.filters.hidden(a)
  2371. });
  2372. var bz = /%20/g, bA = /\[\]$/, bB = /\r?\n/g, bC = /#.*$/, bD = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, bE = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, bF = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/, bG = /^(?:GET|HEAD)$/, bH = /^\/\//, bI = /\?/, bJ = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, bK = /^(?:select|textarea)/i, bL = /\s+/, bM = /([?&])_=[^&]*/, bN = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/, bO = f.fn.load, bP = {}, bQ = {}, bR, bS, bT = ["*/"] + ["*"];
  2373. try {
  2374. bR = e.href
  2375. } catch (bU) {
  2376. bR = c.createElement("a"), bR.href = "", bR = bR.href
  2377. }
  2378. bS = bN.exec(bR.toLowerCase()) || [], f.fn.extend({
  2379. load: function (a, c, d) {
  2380. if (typeof a != "string" && bO)return bO.apply(this, arguments);
  2381. if (!this.length)return this;
  2382. var e = a.indexOf(" ");
  2383. if (e >= 0) {
  2384. var g = a.slice(e, a.length);
  2385. a = a.slice(0, e)
  2386. }
  2387. var h = "GET";
  2388. c && (f.isFunction(c) ? (d = c, c = b) : typeof c == "object" && (c = f.param(c, f.ajaxSettings.traditional), h = "POST"));
  2389. var i = this;
  2390. f.ajax({
  2391. url: a, type: h, dataType: "html", data: c, complete: function (a, b, c) {
  2392. c = a.responseText, a.isResolved() && (a.done(function (a) {
  2393. c = a
  2394. }), i.html(g ? f("<div>").append(c.replace(bJ, "")).find(g) : c)), d && i.each(d, [c, b, a])
  2395. }
  2396. });
  2397. return this
  2398. }, serialize: function () {
  2399. return f.param(this.serializeArray())
  2400. }, serializeArray: function () {
  2401. return this.map(function () {
  2402. return this.elements ? f.makeArray(this.elements) : this
  2403. }).filter(function () {
  2404. return this.name && !this.disabled && (this.checked || bK.test(this.nodeName) || bE.test(this.type))
  2405. }).map(function (a, b) {
  2406. var c = f(this).val();
  2407. return c == null ? null : f.isArray(c) ? f.map(c, function (a, c) {
  2408. return {name: b.name, value: a.replace(bB, "\r\n")}
  2409. }) : {name: b.name, value: c.replace(bB, "\r\n")}
  2410. }).get()
  2411. }
  2412. }), f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function (a, b) {
  2413. f.fn[b] = function (a) {
  2414. return this.bind(b, a)
  2415. }
  2416. }), f.each(["get", "post"], function (a, c) {
  2417. f[c] = function (a, d, e, g) {
  2418. f.isFunction(d) && (g = g || e, e = d, d = b);
  2419. return f.ajax({type: c, url: a, data: d, success: e, dataType: g})
  2420. }
  2421. }), f.extend({
  2422. getScript: function (a, c) {
  2423. return f.get(a, b, c, "script")
  2424. },
  2425. getJSON: function (a, b, c) {
  2426. return f.get(a, b, c, "json")
  2427. },
  2428. ajaxSetup: function (a, b) {
  2429. b ? bX(a, f.ajaxSettings) : (b = a, a = f.ajaxSettings), bX(a, b);
  2430. return a
  2431. },
  2432. ajaxSettings: {
  2433. url: bR,
  2434. isLocal: bF.test(bS[1]),
  2435. global: !0,
  2436. type: "GET",
  2437. contentType: "application/x-www-form-urlencoded",
  2438. processData: !0,
  2439. async: !0,
  2440. accepts: {
  2441. xml: "application/xml, text/xml",
  2442. html: "text/html",
  2443. text: "text/plain",
  2444. json: "application/json, text/javascript",
  2445. "*": bT
  2446. },
  2447. contents: {xml: /xml/, html: /html/, json: /json/},
  2448. responseFields: {xml: "responseXML", text: "responseText"},
  2449. converters: {"* text": a.String, "text html": !0, "text json": f.parseJSON, "text xml": f.parseXML},
  2450. flatOptions: {context: !0, url: !0}
  2451. },
  2452. ajaxPrefilter: bV(bP),
  2453. ajaxTransport: bV(bQ),
  2454. ajax: function (a, c) {
  2455. function w(a, c, l, m) {
  2456. if (s !== 2) {
  2457. s = 2, q && clearTimeout(q), p = b, n = m || "", v.readyState = a > 0 ? 4 : 0;
  2458. var o, r, u, w = c, x = l ? bZ(d, v, l) : b, y, z;
  2459. if (a >= 200 && a < 300 || a === 304) {
  2460. if (d.ifModified) {
  2461. if (y = v.getResponseHeader("Last-Modified"))f.lastModified[k] = y;
  2462. if (z = v.getResponseHeader("Etag"))f.etag[k] = z
  2463. }
  2464. if (a === 304)w = "notmodified", o = !0; else try {
  2465. r = b$(d, x), w = "success", o = !0
  2466. } catch (A) {
  2467. w = "parsererror", u = A
  2468. }
  2469. } else {
  2470. u = w;
  2471. if (!w || a)w = "error", a < 0 && (a = 0)
  2472. }
  2473. v.status = a, v.statusText = "" + (c || w), o ? h.resolveWith(e, [r, w, v]) : h.rejectWith(e, [v, w, u]), v.statusCode(j), j = b, t && g.trigger("ajax" + (o ? "Success" : "Error"), [v, d, o ? r : u]), i.resolveWith(e, [v, w]), t && (g.trigger("ajaxComplete", [v, d]), --f.active || f.event.trigger("ajaxStop"))
  2474. }
  2475. }
  2476. typeof a == "object" && (c = a, a = b), c = c || {};
  2477. var d = f.ajaxSetup({}, c), e = d.context || d, g = e !== d && (e.nodeType || e instanceof f) ? f(e) : f.event, h = f.Deferred(), i = f._Deferred(), j = d.statusCode || {}, k, l = {}, m = {}, n, o, p, q, r, s = 0, t, u, v = {
  2478. readyState: 0,
  2479. setRequestHeader: function (a, b) {
  2480. if (!s) {
  2481. var c = a.toLowerCase();
  2482. a = m[c] = m[c] || a, l[a] = b
  2483. }
  2484. return this
  2485. },
  2486. getAllResponseHeaders: function () {
  2487. return s === 2 ? n : null
  2488. },
  2489. getResponseHeader: function (a) {
  2490. var c;
  2491. if (s === 2) {
  2492. if (!o) {
  2493. o = {};
  2494. while (c = bD.exec(n))o[c[1].toLowerCase()] = c[2]
  2495. }
  2496. c = o[a.toLowerCase()]
  2497. }
  2498. return c === b ? null : c
  2499. },
  2500. overrideMimeType: function (a) {
  2501. s || (d.mimeType = a);
  2502. return this
  2503. },
  2504. abort: function (a) {
  2505. a = a || "abort", p && p.abort(a), w(0, a);
  2506. return this
  2507. }
  2508. };
  2509. h.promise(v), v.success = v.done, v.error = v.fail, v.complete = i.done, v.statusCode = function (a) {
  2510. if (a) {
  2511. var b;
  2512. if (s < 2)for (b in a)j[b] = [j[b], a[b]]; else b = a[v.status], v.then(b, b)
  2513. }
  2514. return this
  2515. }, d.url = ((a || d.url) + "").replace(bC, "").replace(bH, bS[1] + "//"), d.dataTypes = f.trim(d.dataType || "*").toLowerCase().split(bL), d.crossDomain == null && (r = bN.exec(d.url.toLowerCase()), d.crossDomain = !(!r || r[1] == bS[1] && r[2] == bS[2] && (r[3] || (r[1] === "http:" ? 80 : 443)) == (bS[3] || (bS[1] === "http:" ? 80 : 443)))), d.data && d.processData && typeof d.data != "string" && (d.data = f.param(d.data, d.traditional)), bW(bP, d, c, v);
  2516. if (s === 2)return !1;
  2517. t = d.global, d.type = d.type.toUpperCase(), d.hasContent = !bG.test(d.type), t && f.active++ === 0 && f.event.trigger("ajaxStart");
  2518. if (!d.hasContent) {
  2519. d.data && (d.url += (bI.test(d.url) ? "&" : "?") + d.data, delete d.data), k = d.url;
  2520. if (d.cache === !1) {
  2521. var x = f.now(), y = d.url.replace(bM, "$1_=" + x);
  2522. d.url = y + (y === d.url ? (bI.test(d.url) ? "&" : "?") + "_=" + x : "")
  2523. }
  2524. }
  2525. (d.data && d.hasContent && d.contentType !== !1 || c.contentType) && v.setRequestHeader("Content-Type", d.contentType), d.ifModified && (k = k || d.url, f.lastModified[k] && v.setRequestHeader("If-Modified-Since", f.lastModified[k]), f.etag[k] && v.setRequestHeader("If-None-Match", f.etag[k])), v.setRequestHeader("Accept", d.dataTypes[0] && d.accepts[d.dataTypes[0]] ? d.accepts[d.dataTypes[0]] + (d.dataTypes[0] !== "*" ? ", " + bT + "; q=0.01" : "") : d.accepts["*"]);
  2526. for (u in d.headers)v.setRequestHeader(u, d.headers[u]);
  2527. if (d.beforeSend && (d.beforeSend.call(e, v, d) === !1 || s === 2)) {
  2528. v.abort();
  2529. return !1
  2530. }
  2531. for (u in{success: 1, error: 1, complete: 1})v[u](d[u]);
  2532. p = bW(bQ, d, c, v);
  2533. if (!p)w(-1, "No Transport"); else {
  2534. v.readyState = 1, t && g.trigger("ajaxSend", [v, d]), d.async && d.timeout > 0 && (q = setTimeout(function () {
  2535. v.abort("timeout")
  2536. }, d.timeout));
  2537. try {
  2538. s = 1, p.send(l, w)
  2539. } catch (z) {
  2540. s < 2 ? w(-1, z) : f.error(z)
  2541. }
  2542. }
  2543. return v
  2544. },
  2545. param: function (a, c) {
  2546. var d = [], e = function (a, b) {
  2547. b = f.isFunction(b) ? b() : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
  2548. };
  2549. c === b && (c = f.ajaxSettings.traditional);
  2550. if (f.isArray(a) || a.jquery && !f.isPlainObject(a))f.each(a, function () {
  2551. e(this.name, this.value)
  2552. }); else for (var g in a)bY(g, a[g], c, e);
  2553. return d.join("&").replace(bz, "+")
  2554. }
  2555. }), f.extend({active: 0, lastModified: {}, etag: {}});
  2556. var b_ = f.now(), ca = /(\=)\?(&|$)|\?\?/i;
  2557. f.ajaxSetup({
  2558. jsonp: "callback", jsonpCallback: function () {
  2559. return f.expando + "_" + b_++
  2560. }
  2561. }), f.ajaxPrefilter("json jsonp", function (b, c, d) {
  2562. var e = b.contentType === "application/x-www-form-urlencoded" && typeof b.data == "string";
  2563. if (b.dataTypes[0] === "jsonp" || b.jsonp !== !1 && (ca.test(b.url) || e && ca.test(b.data))) {
  2564. var g, h = b.jsonpCallback = f.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, i = a[h], j = b.url, k = b.data, l = "$1" + h + "$2";
  2565. b.jsonp !== !1 && (j = j.replace(ca, l), b.url === j && (e && (k = k.replace(ca, l)), b.data === k && (j += (/\?/.test(j) ? "&" : "?") + b.jsonp + "=" + h))), b.url = j, b.data = k, a[h] = function (a) {
  2566. g = [a]
  2567. }, d.always(function () {
  2568. a[h] = i, g && f.isFunction(i) && a[h](g[0])
  2569. }), b.converters["script json"] = function () {
  2570. g || f.error(h + " was not called");
  2571. return g[0]
  2572. }, b.dataTypes[0] = "json";
  2573. return "script"
  2574. }
  2575. }), f.ajaxSetup({
  2576. accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
  2577. contents: {script: /javascript|ecmascript/},
  2578. converters: {
  2579. "text script": function (a) {
  2580. f.globalEval(a);
  2581. return a
  2582. }
  2583. }
  2584. }), f.ajaxPrefilter("script", function (a) {
  2585. a.cache === b && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
  2586. }), f.ajaxTransport("script", function (a) {
  2587. if (a.crossDomain) {
  2588. var d, e = c.head || c.getElementsByTagName("head")[0] || c.documentElement;
  2589. return {
  2590. send: function (f, g) {
  2591. d = c.createElement("script"), d.async = "async", a.scriptCharset && (d.charset = a.scriptCharset), d.src = a.url, d.onload = d.onreadystatechange = function (a, c) {
  2592. if (c || !d.readyState || /loaded|complete/.test(d.readyState))d.onload = d.onreadystatechange = null, e && d.parentNode && e.removeChild(d), d = b, c || g(200, "success")
  2593. }, e.insertBefore(d, e.firstChild)
  2594. }, abort: function () {
  2595. d && d.onload(0, 1)
  2596. }
  2597. }
  2598. }
  2599. });
  2600. var cb = a.ActiveXObject ? function () {
  2601. for (var a in cd)cd[a](0, 1)
  2602. } : !1, cc = 0, cd;
  2603. f.ajaxSettings.xhr = a.ActiveXObject ? function () {
  2604. return !this.isLocal && ce() || cf()
  2605. } : ce, function (a) {
  2606. f.extend(f.support, {ajax: !!a, cors: !!a && "withCredentials"in a})
  2607. }(f.ajaxSettings.xhr()), f.support.ajax && f.ajaxTransport(function (c) {
  2608. if (!c.crossDomain || f.support.cors) {
  2609. var d;
  2610. return {
  2611. send: function (e, g) {
  2612. var h = c.xhr(), i, j;
  2613. c.username ? h.open(c.type, c.url, c.async, c.username, c.password) : h.open(c.type, c.url, c.async);
  2614. if (c.xhrFields)for (j in c.xhrFields)h[j] = c.xhrFields[j];
  2615. c.mimeType && h.overrideMimeType && h.overrideMimeType(c.mimeType), !c.crossDomain && !e["X-Requested-With"] && (e["X-Requested-With"] = "XMLHttpRequest");
  2616. try {
  2617. for (j in e)h.setRequestHeader(j, e[j])
  2618. } catch (k) {
  2619. }
  2620. h.send(c.hasContent && c.data || null), d = function (a, e) {
  2621. var j, k, l, m, n;
  2622. try {
  2623. if (d && (e || h.readyState === 4)) {
  2624. d = b, i && (h.onreadystatechange = f.noop, cb && delete cd[i]);
  2625. if (e)h.readyState !== 4 && h.abort(); else {
  2626. j = h.status, l = h.getAllResponseHeaders(), m = {}, n = h.responseXML, n && n.documentElement && (m.xml = n), m.text = h.responseText;
  2627. try {
  2628. k = h.statusText
  2629. } catch (o) {
  2630. k = ""
  2631. }
  2632. !j && c.isLocal && !c.crossDomain ? j = m.text ? 200 : 404 : j === 1223 && (j = 204)
  2633. }
  2634. }
  2635. } catch (p) {
  2636. e || g(-1, p)
  2637. }
  2638. m && g(j, k, m, l)
  2639. }, !c.async || h.readyState === 4 ? d() : (i = ++cc, cb && (cd || (cd = {}, f(a).unload(cb)), cd[i] = d), h.onreadystatechange = d)
  2640. }, abort: function () {
  2641. d && d(0, 1)
  2642. }
  2643. }
  2644. }
  2645. });
  2646. var cg = {}, ch, ci, cj = /^(?:toggle|show|hide)$/, ck = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, cl, cm = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]], cn;
  2647. f.fn.extend({
  2648. show: function (a, b, c) {
  2649. var d, e;
  2650. if (a || a === 0)return this.animate(cq("show", 3), a, b, c);
  2651. for (var g = 0, h = this.length; g < h; g++)d = this[g], d.style && (e = d.style.display, !f._data(d, "olddisplay") && e === "none" && (e = d.style.display = ""), e === "" && f.css(d, "display") === "none" && f._data(d, "olddisplay", cr(d.nodeName)));
  2652. for (g = 0; g < h; g++) {
  2653. d = this[g];
  2654. if (d.style) {
  2655. e = d.style.display;
  2656. if (e === "" || e === "none")d.style.display = f._data(d, "olddisplay") || ""
  2657. }
  2658. }
  2659. return this
  2660. }, hide: function (a, b, c) {
  2661. if (a || a === 0)return this.animate(cq("hide", 3), a, b, c);
  2662. for (var d = 0, e = this.length; d < e; d++)if (this[d].style) {
  2663. var g = f.css(this[d], "display");
  2664. g !== "none" && !f._data(this[d], "olddisplay") && f._data(this[d], "olddisplay", g)
  2665. }
  2666. for (d = 0; d < e; d++)this[d].style && (this[d].style.display = "none");
  2667. return this
  2668. }, _toggle: f.fn.toggle, toggle: function (a, b, c) {
  2669. var d = typeof a == "boolean";
  2670. f.isFunction(a) && f.isFunction(b) ? this._toggle.apply(this, arguments) : a == null || d ? this.each(function () {
  2671. var b = d ? a : f(this).is(":hidden");
  2672. f(this)[b ? "show" : "hide"]()
  2673. }) : this.animate(cq("toggle", 3), a, b, c);
  2674. return this
  2675. }, fadeTo: function (a, b, c, d) {
  2676. return this.filter(":hidden").css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
  2677. }, animate: function (a, b, c, d) {
  2678. var e = f.speed(b, c, d);
  2679. if (f.isEmptyObject(a))return this.each(e.complete, [!1]);
  2680. a = f.extend({}, a);
  2681. return this[e.queue === !1 ? "each" : "queue"](function () {
  2682. e.queue === !1 && f._mark(this);
  2683. var b = f.extend({}, e), c = this.nodeType === 1, d = c && f(this).is(":hidden"), g, h, i, j, k, l, m, n, o;
  2684. b.animatedProperties = {};
  2685. for (i in a) {
  2686. g = f.camelCase(i), i !== g && (a[g] = a[i], delete a[i]), h = a[g], f.isArray(h) ? (b.animatedProperties[g] = h[1], h = a[g] = h[0]) : b.animatedProperties[g] = b.specialEasing && b.specialEasing[g] || b.easing || "swing";
  2687. if (h === "hide" && d || h === "show" && !d)return b.complete.call(this);
  2688. c && (g === "height" || g === "width") && (b.overflow = [this.style.overflow, this.style.overflowX, this.style.overflowY], f.css(this, "display") === "inline" && f.css(this, "float") === "none" && (f.support.inlineBlockNeedsLayout ? (j = cr(this.nodeName), j === "inline" ? this.style.display = "inline-block" : (this.style.display = "inline", this.style.zoom = 1)) : this.style.display = "inline-block"))
  2689. }
  2690. b.overflow != null && (this.style.overflow = "hidden");
  2691. for (i in a)k = new f.fx(this, b, i), h = a[i], cj.test(h) ? k[h === "toggle" ? d ? "show" : "hide" : h]() : (l = ck.exec(h), m = k.cur(), l ? (n = parseFloat(l[2]), o = l[3] || (f.cssNumber[i] ? "" : "px"), o !== "px" && (f.style(this, i, (n || 1) + o), m = (n || 1) / k.cur() * m, f.style(this, i, m + o)), l[1] && (n = (l[1] === "-=" ? -1 : 1) * n + m), k.custom(m, n, o)) : k.custom(m, h, ""));
  2692. return !0
  2693. })
  2694. }, stop: function (a, b) {
  2695. a && this.queue([]), this.each(function () {
  2696. var a = f.timers, c = a.length;
  2697. b || f._unmark(!0, this);
  2698. while (c--)a[c].elem === this && (b && a[c](!0), a.splice(c, 1))
  2699. }), b || this.dequeue();
  2700. return this
  2701. }
  2702. }), f.each({
  2703. slideDown: cq("show", 1),
  2704. slideUp: cq("hide", 1),
  2705. slideToggle: cq("toggle", 1),
  2706. fadeIn: {opacity: "show"},
  2707. fadeOut: {opacity: "hide"},
  2708. fadeToggle: {opacity: "toggle"}
  2709. }, function (a, b) {
  2710. f.fn[a] = function (a, c, d) {
  2711. return this.animate(b, a, c, d)
  2712. }
  2713. }), f.extend({
  2714. speed: function (a, b, c) {
  2715. var d = a && typeof a == "object" ? f.extend({}, a) : {
  2716. complete: c || !c && b || f.isFunction(a) && a,
  2717. duration: a,
  2718. easing: c && b || b && !f.isFunction(b) && b
  2719. };
  2720. d.duration = f.fx.off ? 0 : typeof d.duration == "number" ? d.duration : d.duration in f.fx.speeds ? f.fx.speeds[d.duration] : f.fx.speeds._default, d.old = d.complete, d.complete = function (a) {
  2721. f.isFunction(d.old) && d.old.call(this), d.queue !== !1 ? f.dequeue(this) : a !== !1 && f._unmark(this)
  2722. };
  2723. return d
  2724. }, easing: {
  2725. linear: function (a, b, c, d) {
  2726. return c + d * a
  2727. }, swing: function (a, b, c, d) {
  2728. return (-Math.cos(a * Math.PI) / 2 + .5) * d + c
  2729. }
  2730. }, timers: [], fx: function (a, b, c) {
  2731. this.options = b, this.elem = a, this.prop = c, b.orig = b.orig || {}
  2732. }
  2733. }), f.fx.prototype = {
  2734. update: function () {
  2735. this.options.step && this.options.step.call(this.elem, this.now, this), (f.fx.step[this.prop] || f.fx.step._default)(this)
  2736. }, cur: function () {
  2737. if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null))return this.elem[this.prop];
  2738. var a, b = f.css(this.elem, this.prop);
  2739. return isNaN(a = parseFloat(b)) ? !b || b === "auto" ? 0 : b : a
  2740. }, custom: function (a, b, c) {
  2741. function g(a) {
  2742. return d.step(a)
  2743. }
  2744. var d = this, e = f.fx;
  2745. this.startTime = cn || co(), this.start = a, this.end = b, this.unit = c || this.unit || (f.cssNumber[this.prop] ? "" : "px"), this.now = this.start, this.pos = this.state = 0, g.elem = this.elem, g() && f.timers.push(g) && !cl && (cl = setInterval(e.tick, e.interval))
  2746. }, show: function () {
  2747. this.options.orig[this.prop] = f.style(this.elem, this.prop), this.options.show = !0, this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur()), f(this.elem).show()
  2748. }, hide: function () {
  2749. this.options.orig[this.prop] = f.style(this.elem, this.prop), this.options.hide = !0, this.custom(this.cur(), 0)
  2750. }, step: function (a) {
  2751. var b = cn || co(), c = !0, d = this.elem, e = this.options, g, h;
  2752. if (a || b >= e.duration + this.startTime) {
  2753. this.now = this.end, this.pos = this.state = 1, this.update(), e.animatedProperties[this.prop] = !0;
  2754. for (g in e.animatedProperties)e.animatedProperties[g] !== !0 && (c = !1);
  2755. if (c) {
  2756. e.overflow != null && !f.support.shrinkWrapBlocks && f.each(["", "X", "Y"], function (a, b) {
  2757. d.style["overflow" + b] = e.overflow[a]
  2758. }), e.hide && f(d).hide();
  2759. if (e.hide || e.show)for (var i in e.animatedProperties)f.style(d, i, e.orig[i]);
  2760. e.complete.call(d)
  2761. }
  2762. return !1
  2763. }
  2764. e.duration == Infinity ? this.now = b : (h = b - this.startTime, this.state = h / e.duration, this.pos = f.easing[e.animatedProperties[this.prop]](this.state, h, 0, 1, e.duration), this.now = this.start + (this.end - this.start) * this.pos), this.update();
  2765. return !0
  2766. }
  2767. }, f.extend(f.fx, {
  2768. tick: function () {
  2769. for (var a = f.timers, b = 0; b < a.length; ++b)a[b]() || a.splice(b--, 1);
  2770. a.length || f.fx.stop()
  2771. }, interval: 13, stop: function () {
  2772. clearInterval(cl), cl = null
  2773. }, speeds: {slow: 600, fast: 200, _default: 400}, step: {
  2774. opacity: function (a) {
  2775. f.style(a.elem, "opacity", a.now)
  2776. }, _default: function (a) {
  2777. a.elem.style && a.elem.style[a.prop] != null ? a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? Math.max(0, a.now) : a.now) + a.unit : a.elem[a.prop] = a.now
  2778. }
  2779. }
  2780. }), f.expr && f.expr.filters && (f.expr.filters.animated = function (a) {
  2781. return f.grep(f.timers, function (b) {
  2782. return a === b.elem
  2783. }).length
  2784. });
  2785. var cs = /^t(?:able|d|h)$/i, ct = /^(?:body|html)$/i;
  2786. "getBoundingClientRect"in c.documentElement ? f.fn.offset = function (a) {
  2787. var b = this[0], c;
  2788. if (a)return this.each(function (b) {
  2789. f.offset.setOffset(this, a, b)
  2790. });
  2791. if (!b || !b.ownerDocument)return null;
  2792. if (b === b.ownerDocument.body)return f.offset.bodyOffset(b);
  2793. try {
  2794. c = b.getBoundingClientRect()
  2795. } catch (d) {
  2796. }
  2797. var e = b.ownerDocument, g = e.documentElement;
  2798. if (!c || !f.contains(g, b))return c ? {top: c.top, left: c.left} : {top: 0, left: 0};
  2799. var h = e.body, i = cu(e), j = g.clientTop || h.clientTop || 0, k = g.clientLeft || h.clientLeft || 0, l = i.pageYOffset || f.support.boxModel && g.scrollTop || h.scrollTop, m = i.pageXOffset || f.support.boxModel && g.scrollLeft || h.scrollLeft, n = c.top + l - j, o = c.left + m - k;
  2800. return {top: n, left: o}
  2801. } : f.fn.offset = function (a) {
  2802. var b = this[0];
  2803. if (a)return this.each(function (b) {
  2804. f.offset.setOffset(this, a, b)
  2805. });
  2806. if (!b || !b.ownerDocument)return null;
  2807. if (b === b.ownerDocument.body)return f.offset.bodyOffset(b);
  2808. f.offset.initialize();
  2809. var c, d = b.offsetParent, e = b, g = b.ownerDocument, h = g.documentElement, i = g.body, j = g.defaultView, k = j ? j.getComputedStyle(b, null) : b.currentStyle, l = b.offsetTop, m = b.offsetLeft;
  2810. while ((b = b.parentNode) && b !== i && b !== h) {
  2811. if (f.offset.supportsFixedPosition && k.position === "fixed")break;
  2812. c = j ? j.getComputedStyle(b, null) : b.currentStyle, l -= b.scrollTop, m -= b.scrollLeft, b === d && (l += b.offsetTop, m += b.offsetLeft, f.offset.doesNotAddBorder && (!f.offset.doesAddBorderForTableAndCells || !cs.test(b.nodeName)) && (l += parseFloat(c.borderTopWidth) || 0, m += parseFloat(c.borderLeftWidth) || 0), e = d, d = b.offsetParent), f.offset.subtractsBorderForOverflowNotVisible && c.overflow !== "visible" && (l += parseFloat(c.borderTopWidth) || 0, m += parseFloat(c.borderLeftWidth) || 0), k = c
  2813. }
  2814. if (k.position === "relative" || k.position === "static")l += i.offsetTop, m += i.offsetLeft;
  2815. f.offset.supportsFixedPosition && k.position === "fixed" && (l += Math.max(h.scrollTop, i.scrollTop), m += Math.max(h.scrollLeft, i.scrollLeft));
  2816. return {top: l, left: m}
  2817. }, f.offset = {
  2818. initialize: function () {
  2819. var a = c.body, b = c.createElement("div"), d, e, g, h, i = parseFloat(f.css(a, "marginTop")) || 0, j = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
  2820. f.extend(b.style, {
  2821. position: "absolute",
  2822. top: 0,
  2823. left: 0,
  2824. margin: 0,
  2825. border: 0,
  2826. width: "1px",
  2827. height: "1px",
  2828. visibility: "hidden"
  2829. }), b.innerHTML = j, a.insertBefore(b, a.firstChild), d = b.firstChild, e = d.firstChild, h = d.nextSibling.firstChild.firstChild, this.doesNotAddBorder = e.offsetTop !== 5, this.doesAddBorderForTableAndCells = h.offsetTop === 5, e.style.position = "fixed", e.style.top = "20px", this.supportsFixedPosition = e.offsetTop === 20 || e.offsetTop === 15, e.style.position = e.style.top = "", d.style.overflow = "hidden", d.style.position = "relative", this.subtractsBorderForOverflowNotVisible = e.offsetTop === -5, this.doesNotIncludeMarginInBodyOffset = a.offsetTop !== i, a.removeChild(b), f.offset.initialize = f.noop
  2830. }, bodyOffset: function (a) {
  2831. var b = a.offsetTop, c = a.offsetLeft;
  2832. f.offset.initialize(), f.offset.doesNotIncludeMarginInBodyOffset && (b += parseFloat(f.css(a, "marginTop")) || 0, c += parseFloat(f.css(a, "marginLeft")) || 0);
  2833. return {top: b, left: c}
  2834. }, setOffset: function (a, b, c) {
  2835. var d = f.css(a, "position");
  2836. d === "static" && (a.style.position = "relative");
  2837. var e = f(a), g = e.offset(), h = f.css(a, "top"), i = f.css(a, "left"), j = (d === "absolute" || d === "fixed") && f.inArray("auto", [h, i]) > -1, k = {}, l = {}, m, n;
  2838. j ? (l = e.position(), m = l.top, n = l.left) : (m = parseFloat(h) || 0, n = parseFloat(i) || 0), f.isFunction(b) && (b = b.call(a, c, g)), b.top != null && (k.top = b.top - g.top + m), b.left != null && (k.left = b.left - g.left + n), "using"in b ? b.using.call(a, k) : e.css(k)
  2839. }
  2840. }, f.fn.extend({
  2841. position: function () {
  2842. if (!this[0])return null;
  2843. var a = this[0], b = this.offsetParent(), c = this.offset(), d = ct.test(b[0].nodeName) ? {
  2844. top: 0,
  2845. left: 0
  2846. } : b.offset();
  2847. c.top -= parseFloat(f.css(a, "marginTop")) || 0, c.left -= parseFloat(f.css(a, "marginLeft")) || 0, d.top += parseFloat(f.css(b[0], "borderTopWidth")) || 0, d.left += parseFloat(f.css(b[0], "borderLeftWidth")) || 0;
  2848. return {top: c.top - d.top, left: c.left - d.left}
  2849. }, offsetParent: function () {
  2850. return this.map(function () {
  2851. var a = this.offsetParent || c.body;
  2852. while (a && !ct.test(a.nodeName) && f.css(a, "position") === "static")a = a.offsetParent;
  2853. return a
  2854. })
  2855. }
  2856. }), f.each(["Left", "Top"], function (a, c) {
  2857. var d = "scroll" + c;
  2858. f.fn[d] = function (c) {
  2859. var e, g;
  2860. if (c === b) {
  2861. e = this[0];
  2862. if (!e)return null;
  2863. g = cu(e);
  2864. return g ? "pageXOffset"in g ? g[a ? "pageYOffset" : "pageXOffset"] : f.support.boxModel && g.document.documentElement[d] || g.document.body[d] : e[d]
  2865. }
  2866. return this.each(function () {
  2867. g = cu(this), g ? g.scrollTo(a ? f(g).scrollLeft() : c, a ? c : f(g).scrollTop()) : this[d] = c
  2868. })
  2869. }
  2870. }), f.each(["Height", "Width"], function (a, c) {
  2871. var d = c.toLowerCase();
  2872. f.fn["inner" + c] = function () {
  2873. var a = this[0];
  2874. return a && a.style ? parseFloat(f.css(a, d, "padding")) : null
  2875. }, f.fn["outer" + c] = function (a) {
  2876. var b = this[0];
  2877. return b && b.style ? parseFloat(f.css(b, d, a ? "margin" : "border")) : null
  2878. }, f.fn[d] = function (a) {
  2879. var e = this[0];
  2880. if (!e)return a == null ? null : this;
  2881. if (f.isFunction(a))return this.each(function (b) {
  2882. var c = f(this);
  2883. c[d](a.call(this, b, c[d]()))
  2884. });
  2885. if (f.isWindow(e)) {
  2886. var g = e.document.documentElement["client" + c], h = e.document.body;
  2887. return e.document.compatMode === "CSS1Compat" && g || h && h["client" + c] || g
  2888. }
  2889. if (e.nodeType === 9)return Math.max(e.documentElement["client" + c], e.body["scroll" + c], e.documentElement["scroll" + c], e.body["offset" + c], e.documentElement["offset" + c]);
  2890. if (a === b) {
  2891. var i = f.css(e, d), j = parseFloat(i);
  2892. return f.isNaN(j) ? i : j
  2893. }
  2894. return this.css(d, typeof a == "string" ? a : a + "px")
  2895. }
  2896. }), a.jQuery = a.$ = f
  2897. })(window);