jquery.min.js 142 KB

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