jquery.min.js 149 KB

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