jquery-1.4.4.min.js 135 KB

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