jquery.js 154 KB

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