jquery-2.1.3.min.js 166 KB

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