jquery.min.js 154 KB

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