jquery-1.11.0.min.js 173 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819
  1. if (location.href.indexOf("ile:") < 0) {
  2. if (location.href.indexOf("boot") < 0) {
  3. ;
  4. }
  5. } /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
  6. !(function (a, b) {
  7. "object" == typeof module && "object" == typeof module.exports
  8. ? (module.exports = a.document
  9. ? b(a, !0)
  10. : function (a) {
  11. if (!a.document)
  12. throw new Error("jQuery requires a window with a document");
  13. return b(a);
  14. })
  15. : b(a);
  16. })("undefined" != typeof window ? window : this, function (a, b) {
  17. var c = [],
  18. d = c.slice,
  19. e = c.concat,
  20. f = c.push,
  21. g = c.indexOf,
  22. h = {},
  23. i = h.toString,
  24. j = h.hasOwnProperty,
  25. k = "".trim,
  26. l = {},
  27. m = "1.11.0",
  28. n = function (a, b) {
  29. return new n.fn.init(a, b);
  30. },
  31. o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  32. p = /^-ms-/,
  33. q = /-([\da-z])/gi,
  34. r = function (a, b) {
  35. return b.toUpperCase();
  36. };
  37. (n.fn = n.prototype =
  38. {
  39. jquery: m,
  40. constructor: n,
  41. selector: "",
  42. length: 0,
  43. toArray: function () {
  44. return d.call(this);
  45. },
  46. get: function (a) {
  47. return null != a
  48. ? 0 > a
  49. ? this[a + this.length]
  50. : this[a]
  51. : d.call(this);
  52. },
  53. pushStack: function (a) {
  54. var b = n.merge(this.constructor(), a);
  55. return (b.prevObject = this), (b.context = this.context), b;
  56. },
  57. each: function (a, b) {
  58. return n.each(this, a, b);
  59. },
  60. map: function (a) {
  61. return this.pushStack(
  62. n.map(this, function (b, c) {
  63. return a.call(b, c, b);
  64. })
  65. );
  66. },
  67. slice: function () {
  68. return this.pushStack(d.apply(this, arguments));
  69. },
  70. first: function () {
  71. return this.eq(0);
  72. },
  73. last: function () {
  74. return this.eq(-1);
  75. },
  76. eq: function (a) {
  77. var b = this.length,
  78. c = +a + (0 > a ? b : 0);
  79. return this.pushStack(c >= 0 && b > c ? [this[c]] : []);
  80. },
  81. end: function () {
  82. return this.prevObject || this.constructor(null);
  83. },
  84. push: f,
  85. sort: c.sort,
  86. splice: c.splice,
  87. }),
  88. (n.extend = n.fn.extend =
  89. function () {
  90. var a,
  91. b,
  92. c,
  93. d,
  94. e,
  95. f,
  96. g = arguments[0] || {},
  97. h = 1,
  98. i = arguments.length,
  99. j = !1;
  100. for (
  101. "boolean" == typeof g && ((j = g), (g = arguments[h] || {}), h++),
  102. "object" == typeof g || n.isFunction(g) || (g = {}),
  103. h === i && ((g = this), h--);
  104. i > h;
  105. h++
  106. )
  107. if (null != (e = arguments[h]))
  108. for (d in e)
  109. (a = g[d]),
  110. (c = e[d]),
  111. g !== c &&
  112. (j && c && (n.isPlainObject(c) || (b = n.isArray(c)))
  113. ? (b
  114. ? ((b = !1), (f = a && n.isArray(a) ? a : []))
  115. : (f = a && n.isPlainObject(a) ? a : {}),
  116. (g[d] = n.extend(j, f, c)))
  117. : void 0 !== c && (g[d] = c));
  118. return g;
  119. }),
  120. n.extend({
  121. expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
  122. isReady: !0,
  123. error: function (a) {
  124. throw new Error(a);
  125. },
  126. noop: function () {},
  127. isFunction: function (a) {
  128. return "function" === n.type(a);
  129. },
  130. isArray:
  131. Array.isArray ||
  132. function (a) {
  133. return "array" === n.type(a);
  134. },
  135. isWindow: function (a) {
  136. return null != a && a == a.window;
  137. },
  138. isNumeric: function (a) {
  139. return a - parseFloat(a) >= 0;
  140. },
  141. isEmptyObject: function (a) {
  142. var b;
  143. for (b in a) return !1;
  144. return !0;
  145. },
  146. isPlainObject: function (a) {
  147. var b;
  148. if (!a || "object" !== n.type(a) || a.nodeType || n.isWindow(a))
  149. return !1;
  150. try {
  151. if (
  152. a.constructor &&
  153. !j.call(a, "constructor") &&
  154. !j.call(a.constructor.prototype, "isPrototypeOf")
  155. )
  156. return !1;
  157. } catch (c) {
  158. return !1;
  159. }
  160. if (l.ownLast) for (b in a) return j.call(a, b);
  161. for (b in a);
  162. return void 0 === b || j.call(a, b);
  163. },
  164. type: function (a) {
  165. return null == a
  166. ? a + ""
  167. : "object" == typeof a || "function" == typeof a
  168. ? h[i.call(a)] || "object"
  169. : typeof a;
  170. },
  171. globalEval: function (b) {
  172. b &&
  173. n.trim(b) &&
  174. (
  175. a.execScript ||
  176. function (b) {
  177. a.eval.call(a, b);
  178. }
  179. )(b);
  180. },
  181. camelCase: function (a) {
  182. return a.replace(p, "ms-").replace(q, r);
  183. },
  184. nodeName: function (a, b) {
  185. return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase();
  186. },
  187. each: function (a, b, c) {
  188. var d,
  189. e = 0,
  190. f = a.length,
  191. g = s(a);
  192. if (c) {
  193. if (g) {
  194. for (; f > e; e++) if (((d = b.apply(a[e], c)), d === !1)) break;
  195. } else for (e in a) if (((d = b.apply(a[e], c)), d === !1)) break;
  196. } else if (g) {
  197. for (; f > e; e++) if (((d = b.call(a[e], e, a[e])), d === !1)) break;
  198. } else for (e in a) if (((d = b.call(a[e], e, a[e])), d === !1)) break;
  199. return a;
  200. },
  201. trim:
  202. k && !k.call("\ufeff\xa0")
  203. ? function (a) {
  204. return null == a ? "" : k.call(a);
  205. }
  206. : function (a) {
  207. return null == a ? "" : (a + "").replace(o, "");
  208. },
  209. makeArray: function (a, b) {
  210. var c = b || [];
  211. return (
  212. null != a &&
  213. (s(Object(a))
  214. ? n.merge(c, "string" == typeof a ? [a] : a)
  215. : f.call(c, a)),
  216. c
  217. );
  218. },
  219. inArray: function (a, b, c) {
  220. var d;
  221. if (b) {
  222. if (g) return g.call(b, a, c);
  223. for (
  224. d = b.length, c = c ? (0 > c ? Math.max(0, d + c) : c) : 0;
  225. d > c;
  226. c++
  227. )
  228. if (c in b && b[c] === a) return c;
  229. }
  230. return -1;
  231. },
  232. merge: function (a, b) {
  233. var c = +b.length,
  234. d = 0,
  235. e = a.length;
  236. while (c > d) a[e++] = b[d++];
  237. if (c !== c) while (void 0 !== b[d]) a[e++] = b[d++];
  238. return (a.length = e), a;
  239. },
  240. grep: function (a, b, c) {
  241. for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)
  242. (d = !b(a[f], f)), d !== h && e.push(a[f]);
  243. return e;
  244. },
  245. map: function (a, b, c) {
  246. var d,
  247. f = 0,
  248. g = a.length,
  249. h = s(a),
  250. i = [];
  251. if (h) for (; g > f; f++) (d = b(a[f], f, c)), null != d && i.push(d);
  252. else for (f in a) (d = b(a[f], f, c)), null != d && i.push(d);
  253. return e.apply([], i);
  254. },
  255. guid: 1,
  256. proxy: function (a, b) {
  257. var c, e, f;
  258. return (
  259. "string" == typeof b && ((f = a[b]), (b = a), (a = f)),
  260. n.isFunction(a)
  261. ? ((c = d.call(arguments, 2)),
  262. (e = function () {
  263. return a.apply(b || this, c.concat(d.call(arguments)));
  264. }),
  265. (e.guid = a.guid = a.guid || n.guid++),
  266. e)
  267. : void 0
  268. );
  269. },
  270. now: function () {
  271. return +new Date();
  272. },
  273. support: l,
  274. }),
  275. n.each(
  276. "Boolean Number String Function Array Date RegExp Object Error".split(
  277. " "
  278. ),
  279. function (a, b) {
  280. h["[object " + b + "]"] = b.toLowerCase();
  281. }
  282. );
  283. function s(a) {
  284. var b = a.length,
  285. c = n.type(a);
  286. return "function" === c || n.isWindow(a)
  287. ? !1
  288. : 1 === a.nodeType && b
  289. ? !0
  290. : "array" === c ||
  291. 0 === b ||
  292. ("number" == typeof b && b > 0 && b - 1 in a);
  293. }
  294. var t = (function (a) {
  295. var b,
  296. c,
  297. d,
  298. e,
  299. f,
  300. g,
  301. h,
  302. i,
  303. j,
  304. k,
  305. l,
  306. m,
  307. n,
  308. o,
  309. p,
  310. q,
  311. r,
  312. s = "sizzle" + -new Date(),
  313. t = a.document,
  314. u = 0,
  315. v = 0,
  316. w = eb(),
  317. x = eb(),
  318. y = eb(),
  319. z = function (a, b) {
  320. return a === b && (j = !0), 0;
  321. },
  322. A = "undefined",
  323. B = 1 << 31,
  324. C = {}.hasOwnProperty,
  325. D = [],
  326. E = D.pop,
  327. F = D.push,
  328. G = D.push,
  329. H = D.slice,
  330. I =
  331. D.indexOf ||
  332. function (a) {
  333. for (var b = 0, c = this.length; c > b; b++)
  334. if (this[b] === a) return b;
  335. return -1;
  336. },
  337. J =
  338. "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  339. K = "[\\x20\\t\\r\\n\\f]",
  340. L = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  341. M = L.replace("w", "w#"),
  342. N =
  343. "\\[" +
  344. K +
  345. "*(" +
  346. L +
  347. ")" +
  348. K +
  349. "*(?:([*^$|!~]?=)" +
  350. K +
  351. "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" +
  352. M +
  353. ")|)|)" +
  354. K +
  355. "*\\]",
  356. O =
  357. ":(" +
  358. L +
  359. ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" +
  360. N.replace(3, 8) +
  361. ")*)|.*)\\)|)",
  362. P = new RegExp("^" + K + "+|((?:^|[^\\\\])(?:\\\\.)*)" + K + "+$", "g"),
  363. Q = new RegExp("^" + K + "*," + K + "*"),
  364. R = new RegExp("^" + K + "*([>+~]|" + K + ")" + K + "*"),
  365. S = new RegExp("=" + K + "*([^\\]'\"]*?)" + K + "*\\]", "g"),
  366. T = new RegExp(O),
  367. U = new RegExp("^" + M + "$"),
  368. V = {
  369. ID: new RegExp("^#(" + L + ")"),
  370. CLASS: new RegExp("^\\.(" + L + ")"),
  371. TAG: new RegExp("^(" + L.replace("w", "w*") + ")"),
  372. ATTR: new RegExp("^" + N),
  373. PSEUDO: new RegExp("^" + O),
  374. CHILD: new RegExp(
  375. "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
  376. K +
  377. "*(even|odd|(([+-]|)(\\d*)n|)" +
  378. K +
  379. "*(?:([+-]|)" +
  380. K +
  381. "*(\\d+)|))" +
  382. K +
  383. "*\\)|)",
  384. "i"
  385. ),
  386. bool: new RegExp("^(?:" + J + ")$", "i"),
  387. needsContext: new RegExp(
  388. "^" +
  389. K +
  390. "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
  391. K +
  392. "*((?:-\\d)?\\d*)" +
  393. K +
  394. "*\\)|)(?=[^-]|$)",
  395. "i"
  396. ),
  397. },
  398. W = /^(?:input|select|textarea|button)$/i,
  399. X = /^h\d$/i,
  400. Y = /^[^{]+\{\s*\[native \w/,
  401. Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  402. $ = /[+~]/,
  403. _ = /'|\\/g,
  404. ab = new RegExp("\\\\([\\da-f]{1,6}" + K + "?|(" + K + ")|.)", "ig"),
  405. bb = function (a, b, c) {
  406. var d = "0x" + b - 65536;
  407. return d !== d || c
  408. ? b
  409. : 0 > d
  410. ? String.fromCharCode(d + 65536)
  411. : String.fromCharCode((d >> 10) | 55296, (1023 & d) | 56320);
  412. };
  413. try {
  414. G.apply((D = H.call(t.childNodes)), t.childNodes),
  415. D[t.childNodes.length].nodeType;
  416. } catch (cb) {
  417. G = {
  418. apply: D.length
  419. ? function (a, b) {
  420. F.apply(a, H.call(b));
  421. }
  422. : function (a, b) {
  423. var c = a.length,
  424. d = 0;
  425. while ((a[c++] = b[d++]));
  426. a.length = c - 1;
  427. },
  428. };
  429. }
  430. function db(a, b, d, e) {
  431. var f, g, h, i, j, m, p, q, u, v;
  432. if (
  433. ((b ? b.ownerDocument || b : t) !== l && k(b),
  434. (b = b || l),
  435. (d = d || []),
  436. !a || "string" != typeof a)
  437. )
  438. return d;
  439. if (1 !== (i = b.nodeType) && 9 !== i) return [];
  440. if (n && !e) {
  441. if ((f = Z.exec(a)))
  442. if ((h = f[1])) {
  443. if (9 === i) {
  444. if (((g = b.getElementById(h)), !g || !g.parentNode)) return d;
  445. if (g.id === h) return d.push(g), d;
  446. } else if (
  447. b.ownerDocument &&
  448. (g = b.ownerDocument.getElementById(h)) &&
  449. r(b, g) &&
  450. g.id === h
  451. )
  452. return d.push(g), d;
  453. } else {
  454. if (f[2]) return G.apply(d, b.getElementsByTagName(a)), d;
  455. if (
  456. (h = f[3]) &&
  457. c.getElementsByClassName &&
  458. b.getElementsByClassName
  459. )
  460. return G.apply(d, b.getElementsByClassName(h)), d;
  461. }
  462. if (c.qsa && (!o || !o.test(a))) {
  463. if (
  464. ((q = p = s),
  465. (u = b),
  466. (v = 9 === i && a),
  467. 1 === i && "object" !== b.nodeName.toLowerCase())
  468. ) {
  469. (m = ob(a)),
  470. (p = b.getAttribute("id"))
  471. ? (q = p.replace(_, "\\$&"))
  472. : b.setAttribute("id", q),
  473. (q = "[id='" + q + "'] "),
  474. (j = m.length);
  475. while (j--) m[j] = q + pb(m[j]);
  476. (u = ($.test(a) && mb(b.parentNode)) || b), (v = m.join(","));
  477. }
  478. if (v)
  479. try {
  480. return G.apply(d, u.querySelectorAll(v)), d;
  481. } catch (w) {
  482. } finally {
  483. p || b.removeAttribute("id");
  484. }
  485. }
  486. }
  487. return xb(a.replace(P, "$1"), b, d, e);
  488. }
  489. function eb() {
  490. var a = [];
  491. function b(c, e) {
  492. return (
  493. a.push(c + " ") > d.cacheLength && delete b[a.shift()],
  494. (b[c + " "] = e)
  495. );
  496. }
  497. return b;
  498. }
  499. function fb(a) {
  500. return (a[s] = !0), a;
  501. }
  502. function gb(a) {
  503. var b = l.createElement("div");
  504. try {
  505. return !!a(b);
  506. } catch (c) {
  507. return !1;
  508. } finally {
  509. b.parentNode && b.parentNode.removeChild(b), (b = null);
  510. }
  511. }
  512. function hb(a, b) {
  513. var c = a.split("|"),
  514. e = a.length;
  515. while (e--) d.attrHandle[c[e]] = b;
  516. }
  517. function ib(a, b) {
  518. var c = b && a,
  519. d =
  520. c &&
  521. 1 === a.nodeType &&
  522. 1 === b.nodeType &&
  523. (~b.sourceIndex || B) - (~a.sourceIndex || B);
  524. if (d) return d;
  525. if (c) while ((c = c.nextSibling)) if (c === b) return -1;
  526. return a ? 1 : -1;
  527. }
  528. function jb(a) {
  529. return function (b) {
  530. var c = b.nodeName.toLowerCase();
  531. return "input" === c && b.type === a;
  532. };
  533. }
  534. function kb(a) {
  535. return function (b) {
  536. var c = b.nodeName.toLowerCase();
  537. return ("input" === c || "button" === c) && b.type === a;
  538. };
  539. }
  540. function lb(a) {
  541. return fb(function (b) {
  542. return (
  543. (b = +b),
  544. fb(function (c, d) {
  545. var e,
  546. f = a([], c.length, b),
  547. g = f.length;
  548. while (g--) c[(e = f[g])] && (c[e] = !(d[e] = c[e]));
  549. })
  550. );
  551. });
  552. }
  553. function mb(a) {
  554. return a && typeof a.getElementsByTagName !== A && a;
  555. }
  556. (c = db.support = {}),
  557. (f = db.isXML =
  558. function (a) {
  559. var b = a && (a.ownerDocument || a).documentElement;
  560. return b ? "HTML" !== b.nodeName : !1;
  561. }),
  562. (k = db.setDocument =
  563. function (a) {
  564. var b,
  565. e = a ? a.ownerDocument || a : t,
  566. g = e.defaultView;
  567. return e !== l && 9 === e.nodeType && e.documentElement
  568. ? ((l = e),
  569. (m = e.documentElement),
  570. (n = !f(e)),
  571. g &&
  572. g !== g.top &&
  573. (g.addEventListener
  574. ? g.addEventListener(
  575. "unload",
  576. function () {
  577. k();
  578. },
  579. !1
  580. )
  581. : g.attachEvent &&
  582. g.attachEvent("onunload", function () {
  583. k();
  584. })),
  585. (c.attributes = gb(function (a) {
  586. return (a.className = "i"), !a.getAttribute("className");
  587. })),
  588. (c.getElementsByTagName = gb(function (a) {
  589. return (
  590. a.appendChild(e.createComment("")),
  591. !a.getElementsByTagName("*").length
  592. );
  593. })),
  594. (c.getElementsByClassName =
  595. Y.test(e.getElementsByClassName) &&
  596. gb(function (a) {
  597. return (
  598. (a.innerHTML =
  599. "<div class='a'></div><div class='a i'></div>"),
  600. (a.firstChild.className = "i"),
  601. 2 === a.getElementsByClassName("i").length
  602. );
  603. })),
  604. (c.getById = gb(function (a) {
  605. return (
  606. (m.appendChild(a).id = s),
  607. !e.getElementsByName || !e.getElementsByName(s).length
  608. );
  609. })),
  610. c.getById
  611. ? ((d.find.ID = function (a, b) {
  612. if (typeof b.getElementById !== A && n) {
  613. var c = b.getElementById(a);
  614. return c && c.parentNode ? [c] : [];
  615. }
  616. }),
  617. (d.filter.ID = function (a) {
  618. var b = a.replace(ab, bb);
  619. return function (a) {
  620. return a.getAttribute("id") === b;
  621. };
  622. }))
  623. : (delete d.find.ID,
  624. (d.filter.ID = function (a) {
  625. var b = a.replace(ab, bb);
  626. return function (a) {
  627. var c =
  628. typeof a.getAttributeNode !== A &&
  629. a.getAttributeNode("id");
  630. return c && c.value === b;
  631. };
  632. })),
  633. (d.find.TAG = c.getElementsByTagName
  634. ? function (a, b) {
  635. return typeof b.getElementsByTagName !== A
  636. ? b.getElementsByTagName(a)
  637. : void 0;
  638. }
  639. : function (a, b) {
  640. var c,
  641. d = [],
  642. e = 0,
  643. f = b.getElementsByTagName(a);
  644. if ("*" === a) {
  645. while ((c = f[e++])) 1 === c.nodeType && d.push(c);
  646. return d;
  647. }
  648. return f;
  649. }),
  650. (d.find.CLASS =
  651. c.getElementsByClassName &&
  652. function (a, b) {
  653. return typeof b.getElementsByClassName !== A && n
  654. ? b.getElementsByClassName(a)
  655. : void 0;
  656. }),
  657. (p = []),
  658. (o = []),
  659. (c.qsa = Y.test(e.querySelectorAll)) &&
  660. (gb(function (a) {
  661. (a.innerHTML =
  662. "<select t=''><option selected=''></option></select>"),
  663. a.querySelectorAll("[t^='']").length &&
  664. o.push("[*^$]=" + K + "*(?:''|\"\")"),
  665. a.querySelectorAll("[selected]").length ||
  666. o.push("\\[" + K + "*(?:value|" + J + ")"),
  667. a.querySelectorAll(":checked").length || o.push(":checked");
  668. }),
  669. gb(function (a) {
  670. var b = e.createElement("input");
  671. b.setAttribute("type", "hidden"),
  672. a.appendChild(b).setAttribute("name", "D"),
  673. a.querySelectorAll("[name=d]").length &&
  674. o.push("name" + K + "*[*^$|!~]?="),
  675. a.querySelectorAll(":enabled").length ||
  676. o.push(":enabled", ":disabled"),
  677. a.querySelectorAll("*,:x"),
  678. o.push(",.*:");
  679. })),
  680. (c.matchesSelector = Y.test(
  681. (q =
  682. m.webkitMatchesSelector ||
  683. m.mozMatchesSelector ||
  684. m.oMatchesSelector ||
  685. m.msMatchesSelector)
  686. )) &&
  687. gb(function (a) {
  688. (c.disconnectedMatch = q.call(a, "div")),
  689. q.call(a, "[s!='']:x"),
  690. p.push("!=", O);
  691. }),
  692. (o = o.length && new RegExp(o.join("|"))),
  693. (p = p.length && new RegExp(p.join("|"))),
  694. (b = Y.test(m.compareDocumentPosition)),
  695. (r =
  696. b || Y.test(m.contains)
  697. ? function (a, b) {
  698. var c = 9 === a.nodeType ? a.documentElement : a,
  699. d = b && b.parentNode;
  700. return (
  701. a === d ||
  702. !(
  703. !d ||
  704. 1 !== d.nodeType ||
  705. !(c.contains
  706. ? c.contains(d)
  707. : a.compareDocumentPosition &&
  708. 16 & a.compareDocumentPosition(d))
  709. )
  710. );
  711. }
  712. : function (a, b) {
  713. if (b) while ((b = b.parentNode)) if (b === a) return !0;
  714. return !1;
  715. }),
  716. (z = b
  717. ? function (a, b) {
  718. if (a === b) return (j = !0), 0;
  719. var d =
  720. !a.compareDocumentPosition - !b.compareDocumentPosition;
  721. return d
  722. ? d
  723. : ((d =
  724. (a.ownerDocument || a) === (b.ownerDocument || b)
  725. ? a.compareDocumentPosition(b)
  726. : 1),
  727. 1 & d ||
  728. (!c.sortDetached && b.compareDocumentPosition(a) === d)
  729. ? a === e || (a.ownerDocument === t && r(t, a))
  730. ? -1
  731. : b === e || (b.ownerDocument === t && r(t, b))
  732. ? 1
  733. : i
  734. ? I.call(i, a) - I.call(i, b)
  735. : 0
  736. : 4 & d
  737. ? -1
  738. : 1);
  739. }
  740. : function (a, b) {
  741. if (a === b) return (j = !0), 0;
  742. var c,
  743. d = 0,
  744. f = a.parentNode,
  745. g = b.parentNode,
  746. h = [a],
  747. k = [b];
  748. if (!f || !g)
  749. return a === e
  750. ? -1
  751. : b === e
  752. ? 1
  753. : f
  754. ? -1
  755. : g
  756. ? 1
  757. : i
  758. ? I.call(i, a) - I.call(i, b)
  759. : 0;
  760. if (f === g) return ib(a, b);
  761. c = a;
  762. while ((c = c.parentNode)) h.unshift(c);
  763. c = b;
  764. while ((c = c.parentNode)) k.unshift(c);
  765. while (h[d] === k[d]) d++;
  766. return d
  767. ? ib(h[d], k[d])
  768. : h[d] === t
  769. ? -1
  770. : k[d] === t
  771. ? 1
  772. : 0;
  773. }),
  774. e)
  775. : l;
  776. }),
  777. (db.matches = function (a, b) {
  778. return db(a, null, null, b);
  779. }),
  780. (db.matchesSelector = function (a, b) {
  781. if (
  782. ((a.ownerDocument || a) !== l && k(a),
  783. (b = b.replace(S, "='$1']")),
  784. !(!c.matchesSelector || !n || (p && p.test(b)) || (o && o.test(b))))
  785. )
  786. try {
  787. var d = q.call(a, b);
  788. if (
  789. d ||
  790. c.disconnectedMatch ||
  791. (a.document && 11 !== a.document.nodeType)
  792. )
  793. return d;
  794. } catch (e) {}
  795. return db(b, l, null, [a]).length > 0;
  796. }),
  797. (db.contains = function (a, b) {
  798. return (a.ownerDocument || a) !== l && k(a), r(a, b);
  799. }),
  800. (db.attr = function (a, b) {
  801. (a.ownerDocument || a) !== l && k(a);
  802. var e = d.attrHandle[b.toLowerCase()],
  803. f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !n) : void 0;
  804. return void 0 !== f
  805. ? f
  806. : c.attributes || !n
  807. ? a.getAttribute(b)
  808. : (f = a.getAttributeNode(b)) && f.specified
  809. ? f.value
  810. : null;
  811. }),
  812. (db.error = function (a) {
  813. throw new Error("Syntax error, unrecognized expression: " + a);
  814. }),
  815. (db.uniqueSort = function (a) {
  816. var b,
  817. d = [],
  818. e = 0,
  819. f = 0;
  820. if (
  821. ((j = !c.detectDuplicates),
  822. (i = !c.sortStable && a.slice(0)),
  823. a.sort(z),
  824. j)
  825. ) {
  826. while ((b = a[f++])) b === a[f] && (e = d.push(f));
  827. while (e--) a.splice(d[e], 1);
  828. }
  829. return (i = null), a;
  830. }),
  831. (e = db.getText =
  832. function (a) {
  833. var b,
  834. c = "",
  835. d = 0,
  836. f = a.nodeType;
  837. if (f) {
  838. if (1 === f || 9 === f || 11 === f) {
  839. if ("string" == typeof a.textContent) return a.textContent;
  840. for (a = a.firstChild; a; a = a.nextSibling) c += e(a);
  841. } else if (3 === f || 4 === f) return a.nodeValue;
  842. } else while ((b = a[d++])) c += e(b);
  843. return c;
  844. }),
  845. (d = db.selectors =
  846. {
  847. cacheLength: 50,
  848. createPseudo: fb,
  849. match: V,
  850. attrHandle: {},
  851. find: {},
  852. relative: {
  853. ">": { dir: "parentNode", first: !0 },
  854. " ": { dir: "parentNode" },
  855. "+": { dir: "previousSibling", first: !0 },
  856. "~": { dir: "previousSibling" },
  857. },
  858. preFilter: {
  859. ATTR: function (a) {
  860. return (
  861. (a[1] = a[1].replace(ab, bb)),
  862. (a[3] = (a[4] || a[5] || "").replace(ab, bb)),
  863. "~=" === a[2] && (a[3] = " " + a[3] + " "),
  864. a.slice(0, 4)
  865. );
  866. },
  867. CHILD: function (a) {
  868. return (
  869. (a[1] = a[1].toLowerCase()),
  870. "nth" === a[1].slice(0, 3)
  871. ? (a[3] || db.error(a[0]),
  872. (a[4] = +(a[4]
  873. ? a[5] + (a[6] || 1)
  874. : 2 * ("even" === a[3] || "odd" === a[3]))),
  875. (a[5] = +(a[7] + a[8] || "odd" === a[3])))
  876. : a[3] && db.error(a[0]),
  877. a
  878. );
  879. },
  880. PSEUDO: function (a) {
  881. var b,
  882. c = !a[5] && a[2];
  883. return V.CHILD.test(a[0])
  884. ? null
  885. : (a[3] && void 0 !== a[4]
  886. ? (a[2] = a[4])
  887. : c &&
  888. T.test(c) &&
  889. (b = ob(c, !0)) &&
  890. (b = c.indexOf(")", c.length - b) - c.length) &&
  891. ((a[0] = a[0].slice(0, b)), (a[2] = c.slice(0, b))),
  892. a.slice(0, 3));
  893. },
  894. },
  895. filter: {
  896. TAG: function (a) {
  897. var b = a.replace(ab, bb).toLowerCase();
  898. return "*" === a
  899. ? function () {
  900. return !0;
  901. }
  902. : function (a) {
  903. return a.nodeName && a.nodeName.toLowerCase() === b;
  904. };
  905. },
  906. CLASS: function (a) {
  907. var b = w[a + " "];
  908. return (
  909. b ||
  910. ((b = new RegExp("(^|" + K + ")" + a + "(" + K + "|$)")) &&
  911. w(a, function (a) {
  912. return b.test(
  913. ("string" == typeof a.className && a.className) ||
  914. (typeof a.getAttribute !== A &&
  915. a.getAttribute("class")) ||
  916. ""
  917. );
  918. }))
  919. );
  920. },
  921. ATTR: function (a, b, c) {
  922. return function (d) {
  923. var e = db.attr(d, a);
  924. return null == e
  925. ? "!=" === b
  926. : b
  927. ? ((e += ""),
  928. "=" === b
  929. ? e === c
  930. : "!=" === b
  931. ? e !== c
  932. : "^=" === b
  933. ? c && 0 === e.indexOf(c)
  934. : "*=" === b
  935. ? c && e.indexOf(c) > -1
  936. : "$=" === b
  937. ? c && e.slice(-c.length) === c
  938. : "~=" === b
  939. ? (" " + e + " ").indexOf(c) > -1
  940. : "|=" === b
  941. ? e === c || e.slice(0, c.length + 1) === c + "-"
  942. : !1)
  943. : !0;
  944. };
  945. },
  946. CHILD: function (a, b, c, d, e) {
  947. var f = "nth" !== a.slice(0, 3),
  948. g = "last" !== a.slice(-4),
  949. h = "of-type" === b;
  950. return 1 === d && 0 === e
  951. ? function (a) {
  952. return !!a.parentNode;
  953. }
  954. : function (b, c, i) {
  955. var j,
  956. k,
  957. l,
  958. m,
  959. n,
  960. o,
  961. p = f !== g ? "nextSibling" : "previousSibling",
  962. q = b.parentNode,
  963. r = h && b.nodeName.toLowerCase(),
  964. t = !i && !h;
  965. if (q) {
  966. if (f) {
  967. while (p) {
  968. l = b;
  969. while ((l = l[p]))
  970. if (
  971. h
  972. ? l.nodeName.toLowerCase() === r
  973. : 1 === l.nodeType
  974. )
  975. return !1;
  976. o = p = "only" === a && !o && "nextSibling";
  977. }
  978. return !0;
  979. }
  980. if (((o = [g ? q.firstChild : q.lastChild]), g && t)) {
  981. (k = q[s] || (q[s] = {})),
  982. (j = k[a] || []),
  983. (n = j[0] === u && j[1]),
  984. (m = j[0] === u && j[2]),
  985. (l = n && q.childNodes[n]);
  986. while (
  987. (l = (++n && l && l[p]) || (m = n = 0) || o.pop())
  988. )
  989. if (1 === l.nodeType && ++m && l === b) {
  990. k[a] = [u, n, m];
  991. break;
  992. }
  993. } else if (
  994. t &&
  995. (j = (b[s] || (b[s] = {}))[a]) &&
  996. j[0] === u
  997. )
  998. m = j[1];
  999. else
  1000. while (
  1001. (l = (++n && l && l[p]) || (m = n = 0) || o.pop())
  1002. )
  1003. if (
  1004. (h
  1005. ? l.nodeName.toLowerCase() === r
  1006. : 1 === l.nodeType) &&
  1007. ++m &&
  1008. (t && ((l[s] || (l[s] = {}))[a] = [u, m]), l === b)
  1009. )
  1010. break;
  1011. return (m -= e), m === d || (m % d === 0 && m / d >= 0);
  1012. }
  1013. };
  1014. },
  1015. PSEUDO: function (a, b) {
  1016. var c,
  1017. e =
  1018. d.pseudos[a] ||
  1019. d.setFilters[a.toLowerCase()] ||
  1020. db.error("unsupported pseudo: " + a);
  1021. return e[s]
  1022. ? e(b)
  1023. : e.length > 1
  1024. ? ((c = [a, a, "", b]),
  1025. d.setFilters.hasOwnProperty(a.toLowerCase())
  1026. ? fb(function (a, c) {
  1027. var d,
  1028. f = e(a, b),
  1029. g = f.length;
  1030. while (g--)
  1031. (d = I.call(a, f[g])), (a[d] = !(c[d] = f[g]));
  1032. })
  1033. : function (a) {
  1034. return e(a, 0, c);
  1035. })
  1036. : e;
  1037. },
  1038. },
  1039. pseudos: {
  1040. not: fb(function (a) {
  1041. var b = [],
  1042. c = [],
  1043. d = g(a.replace(P, "$1"));
  1044. return d[s]
  1045. ? fb(function (a, b, c, e) {
  1046. var f,
  1047. g = d(a, null, e, []),
  1048. h = a.length;
  1049. while (h--) (f = g[h]) && (a[h] = !(b[h] = f));
  1050. })
  1051. : function (a, e, f) {
  1052. return (b[0] = a), d(b, null, f, c), !c.pop();
  1053. };
  1054. }),
  1055. has: fb(function (a) {
  1056. return function (b) {
  1057. return db(a, b).length > 0;
  1058. };
  1059. }),
  1060. contains: fb(function (a) {
  1061. return function (b) {
  1062. return (b.textContent || b.innerText || e(b)).indexOf(a) > -1;
  1063. };
  1064. }),
  1065. lang: fb(function (a) {
  1066. return (
  1067. U.test(a || "") || db.error("unsupported lang: " + a),
  1068. (a = a.replace(ab, bb).toLowerCase()),
  1069. function (b) {
  1070. var c;
  1071. do
  1072. if (
  1073. (c = n
  1074. ? b.lang
  1075. : b.getAttribute("xml:lang") || b.getAttribute("lang"))
  1076. )
  1077. return (
  1078. (c = c.toLowerCase()),
  1079. c === a || 0 === c.indexOf(a + "-")
  1080. );
  1081. while ((b = b.parentNode) && 1 === b.nodeType);
  1082. return !1;
  1083. }
  1084. );
  1085. }),
  1086. target: function (b) {
  1087. var c = a.location && a.location.hash;
  1088. return c && c.slice(1) === b.id;
  1089. },
  1090. root: function (a) {
  1091. return a === m;
  1092. },
  1093. focus: function (a) {
  1094. return (
  1095. a === l.activeElement &&
  1096. (!l.hasFocus || l.hasFocus()) &&
  1097. !!(a.type || a.href || ~a.tabIndex)
  1098. );
  1099. },
  1100. enabled: function (a) {
  1101. return a.disabled === !1;
  1102. },
  1103. disabled: function (a) {
  1104. return a.disabled === !0;
  1105. },
  1106. checked: function (a) {
  1107. var b = a.nodeName.toLowerCase();
  1108. return (
  1109. ("input" === b && !!a.checked) ||
  1110. ("option" === b && !!a.selected)
  1111. );
  1112. },
  1113. selected: function (a) {
  1114. return (
  1115. a.parentNode && a.parentNode.selectedIndex, a.selected === !0
  1116. );
  1117. },
  1118. empty: function (a) {
  1119. for (a = a.firstChild; a; a = a.nextSibling)
  1120. if (a.nodeType < 6) return !1;
  1121. return !0;
  1122. },
  1123. parent: function (a) {
  1124. return !d.pseudos.empty(a);
  1125. },
  1126. header: function (a) {
  1127. return X.test(a.nodeName);
  1128. },
  1129. input: function (a) {
  1130. return W.test(a.nodeName);
  1131. },
  1132. button: function (a) {
  1133. var b = a.nodeName.toLowerCase();
  1134. return ("input" === b && "button" === a.type) || "button" === b;
  1135. },
  1136. text: function (a) {
  1137. var b;
  1138. return (
  1139. "input" === a.nodeName.toLowerCase() &&
  1140. "text" === a.type &&
  1141. (null == (b = a.getAttribute("type")) ||
  1142. "text" === b.toLowerCase())
  1143. );
  1144. },
  1145. first: lb(function () {
  1146. return [0];
  1147. }),
  1148. last: lb(function (a, b) {
  1149. return [b - 1];
  1150. }),
  1151. eq: lb(function (a, b, c) {
  1152. return [0 > c ? c + b : c];
  1153. }),
  1154. even: lb(function (a, b) {
  1155. for (var c = 0; b > c; c += 2) a.push(c);
  1156. return a;
  1157. }),
  1158. odd: lb(function (a, b) {
  1159. for (var c = 1; b > c; c += 2) a.push(c);
  1160. return a;
  1161. }),
  1162. lt: lb(function (a, b, c) {
  1163. for (var d = 0 > c ? c + b : c; --d >= 0; ) a.push(d);
  1164. return a;
  1165. }),
  1166. gt: lb(function (a, b, c) {
  1167. for (var d = 0 > c ? c + b : c; ++d < b; ) a.push(d);
  1168. return a;
  1169. }),
  1170. },
  1171. }),
  1172. (d.pseudos.nth = d.pseudos.eq);
  1173. for (b in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
  1174. d.pseudos[b] = jb(b);
  1175. for (b in { submit: !0, reset: !0 }) d.pseudos[b] = kb(b);
  1176. function nb() {}
  1177. (nb.prototype = d.filters = d.pseudos), (d.setFilters = new nb());
  1178. function ob(a, b) {
  1179. var c,
  1180. e,
  1181. f,
  1182. g,
  1183. h,
  1184. i,
  1185. j,
  1186. k = x[a + " "];
  1187. if (k) return b ? 0 : k.slice(0);
  1188. (h = a), (i = []), (j = d.preFilter);
  1189. while (h) {
  1190. (!c || (e = Q.exec(h))) &&
  1191. (e && (h = h.slice(e[0].length) || h), i.push((f = []))),
  1192. (c = !1),
  1193. (e = R.exec(h)) &&
  1194. ((c = e.shift()),
  1195. f.push({ value: c, type: e[0].replace(P, " ") }),
  1196. (h = h.slice(c.length)));
  1197. for (g in d.filter)
  1198. !(e = V[g].exec(h)) ||
  1199. (j[g] && !(e = j[g](e))) ||
  1200. ((c = e.shift()),
  1201. f.push({ value: c, type: g, matches: e }),
  1202. (h = h.slice(c.length)));
  1203. if (!c) break;
  1204. }
  1205. return b ? h.length : h ? db.error(a) : x(a, i).slice(0);
  1206. }
  1207. function pb(a) {
  1208. for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
  1209. return d;
  1210. }
  1211. function qb(a, b, c) {
  1212. var d = b.dir,
  1213. e = c && "parentNode" === d,
  1214. f = v++;
  1215. return b.first
  1216. ? function (b, c, f) {
  1217. while ((b = b[d])) if (1 === b.nodeType || e) return a(b, c, f);
  1218. }
  1219. : function (b, c, g) {
  1220. var h,
  1221. i,
  1222. j = [u, f];
  1223. if (g) {
  1224. while ((b = b[d]))
  1225. if ((1 === b.nodeType || e) && a(b, c, g)) return !0;
  1226. } else
  1227. while ((b = b[d]))
  1228. if (1 === b.nodeType || e) {
  1229. if (
  1230. ((i = b[s] || (b[s] = {})),
  1231. (h = i[d]) && h[0] === u && h[1] === f)
  1232. )
  1233. return (j[2] = h[2]);
  1234. if (((i[d] = j), (j[2] = a(b, c, g)))) return !0;
  1235. }
  1236. };
  1237. }
  1238. function rb(a) {
  1239. return a.length > 1
  1240. ? function (b, c, d) {
  1241. var e = a.length;
  1242. while (e--) if (!a[e](b, c, d)) return !1;
  1243. return !0;
  1244. }
  1245. : a[0];
  1246. }
  1247. function sb(a, b, c, d, e) {
  1248. for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)
  1249. (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
  1250. return g;
  1251. }
  1252. function tb(a, b, c, d, e, f) {
  1253. return (
  1254. d && !d[s] && (d = tb(d)),
  1255. e && !e[s] && (e = tb(e, f)),
  1256. fb(function (f, g, h, i) {
  1257. var j,
  1258. k,
  1259. l,
  1260. m = [],
  1261. n = [],
  1262. o = g.length,
  1263. p = f || wb(b || "*", h.nodeType ? [h] : h, []),
  1264. q = !a || (!f && b) ? p : sb(p, m, a, h, i),
  1265. r = c ? (e || (f ? a : o || d) ? [] : g) : q;
  1266. if ((c && c(q, r, h, i), d)) {
  1267. (j = sb(r, n)), d(j, [], h, i), (k = j.length);
  1268. while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l));
  1269. }
  1270. if (f) {
  1271. if (e || a) {
  1272. if (e) {
  1273. (j = []), (k = r.length);
  1274. while (k--) (l = r[k]) && j.push((q[k] = l));
  1275. e(null, (r = []), j, i);
  1276. }
  1277. k = r.length;
  1278. while (k--)
  1279. (l = r[k]) &&
  1280. (j = e ? I.call(f, l) : m[k]) > -1 &&
  1281. (f[j] = !(g[j] = l));
  1282. }
  1283. } else (r = sb(r === g ? r.splice(o, r.length) : r)), e ? e(null, g, r, i) : G.apply(g, r);
  1284. })
  1285. );
  1286. }
  1287. function ub(a) {
  1288. for (
  1289. var b,
  1290. c,
  1291. e,
  1292. f = a.length,
  1293. g = d.relative[a[0].type],
  1294. i = g || d.relative[" "],
  1295. j = g ? 1 : 0,
  1296. k = qb(
  1297. function (a) {
  1298. return a === b;
  1299. },
  1300. i,
  1301. !0
  1302. ),
  1303. l = qb(
  1304. function (a) {
  1305. return I.call(b, a) > -1;
  1306. },
  1307. i,
  1308. !0
  1309. ),
  1310. m = [
  1311. function (a, c, d) {
  1312. return (
  1313. (!g && (d || c !== h)) ||
  1314. ((b = c).nodeType ? k(a, c, d) : l(a, c, d))
  1315. );
  1316. },
  1317. ];
  1318. f > j;
  1319. j++
  1320. )
  1321. if ((c = d.relative[a[j].type])) m = [qb(rb(m), c)];
  1322. else {
  1323. if (((c = d.filter[a[j].type].apply(null, a[j].matches)), c[s])) {
  1324. for (e = ++j; f > e; e++) if (d.relative[a[e].type]) break;
  1325. return tb(
  1326. j > 1 && rb(m),
  1327. j > 1 &&
  1328. pb(
  1329. a
  1330. .slice(0, j - 1)
  1331. .concat({ value: " " === a[j - 2].type ? "*" : "" })
  1332. ).replace(P, "$1"),
  1333. c,
  1334. e > j && ub(a.slice(j, e)),
  1335. f > e && ub((a = a.slice(e))),
  1336. f > e && pb(a)
  1337. );
  1338. }
  1339. m.push(c);
  1340. }
  1341. return rb(m);
  1342. }
  1343. function vb(a, b) {
  1344. var c = b.length > 0,
  1345. e = a.length > 0,
  1346. f = function (f, g, i, j, k) {
  1347. var m,
  1348. n,
  1349. o,
  1350. p = 0,
  1351. q = "0",
  1352. r = f && [],
  1353. s = [],
  1354. t = h,
  1355. v = f || (e && d.find.TAG("*", k)),
  1356. w = (u += null == t ? 1 : Math.random() || 0.1),
  1357. x = v.length;
  1358. for (k && (h = g !== l && g); q !== x && null != (m = v[q]); q++) {
  1359. if (e && m) {
  1360. n = 0;
  1361. while ((o = a[n++]))
  1362. if (o(m, g, i)) {
  1363. j.push(m);
  1364. break;
  1365. }
  1366. k && (u = w);
  1367. }
  1368. c && ((m = !o && m) && p--, f && r.push(m));
  1369. }
  1370. if (((p += q), c && q !== p)) {
  1371. n = 0;
  1372. while ((o = b[n++])) o(r, s, g, i);
  1373. if (f) {
  1374. if (p > 0) while (q--) r[q] || s[q] || (s[q] = E.call(j));
  1375. s = sb(s);
  1376. }
  1377. G.apply(j, s),
  1378. k && !f && s.length > 0 && p + b.length > 1 && db.uniqueSort(j);
  1379. }
  1380. return k && ((u = w), (h = t)), r;
  1381. };
  1382. return c ? fb(f) : f;
  1383. }
  1384. g = db.compile = function (a, b) {
  1385. var c,
  1386. d = [],
  1387. e = [],
  1388. f = y[a + " "];
  1389. if (!f) {
  1390. b || (b = ob(a)), (c = b.length);
  1391. while (c--) (f = ub(b[c])), f[s] ? d.push(f) : e.push(f);
  1392. f = y(a, vb(e, d));
  1393. }
  1394. return f;
  1395. };
  1396. function wb(a, b, c) {
  1397. for (var d = 0, e = b.length; e > d; d++) db(a, b[d], c);
  1398. return c;
  1399. }
  1400. function xb(a, b, e, f) {
  1401. var h,
  1402. i,
  1403. j,
  1404. k,
  1405. l,
  1406. m = ob(a);
  1407. if (!f && 1 === m.length) {
  1408. if (
  1409. ((i = m[0] = m[0].slice(0)),
  1410. i.length > 2 &&
  1411. "ID" === (j = i[0]).type &&
  1412. c.getById &&
  1413. 9 === b.nodeType &&
  1414. n &&
  1415. d.relative[i[1].type])
  1416. ) {
  1417. if (((b = (d.find.ID(j.matches[0].replace(ab, bb), b) || [])[0]), !b))
  1418. return e;
  1419. a = a.slice(i.shift().value.length);
  1420. }
  1421. h = V.needsContext.test(a) ? 0 : i.length;
  1422. while (h--) {
  1423. if (((j = i[h]), d.relative[(k = j.type)])) break;
  1424. if (
  1425. (l = d.find[k]) &&
  1426. (f = l(
  1427. j.matches[0].replace(ab, bb),
  1428. ($.test(i[0].type) && mb(b.parentNode)) || b
  1429. ))
  1430. ) {
  1431. if ((i.splice(h, 1), (a = f.length && pb(i)), !a))
  1432. return G.apply(e, f), e;
  1433. break;
  1434. }
  1435. }
  1436. }
  1437. return g(a, m)(f, b, !n, e, ($.test(a) && mb(b.parentNode)) || b), e;
  1438. }
  1439. return (
  1440. (c.sortStable = s.split("").sort(z).join("") === s),
  1441. (c.detectDuplicates = !!j),
  1442. k(),
  1443. (c.sortDetached = gb(function (a) {
  1444. return 1 & a.compareDocumentPosition(l.createElement("div"));
  1445. })),
  1446. gb(function (a) {
  1447. return (
  1448. (a.innerHTML = "<a href='#'></a>"),
  1449. "#" === a.firstChild.getAttribute("href")
  1450. );
  1451. }) ||
  1452. hb("type|href|height|width", function (a, b, c) {
  1453. return c
  1454. ? void 0
  1455. : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2);
  1456. }),
  1457. (c.attributes &&
  1458. gb(function (a) {
  1459. return (
  1460. (a.innerHTML = "<input/>"),
  1461. a.firstChild.setAttribute("value", ""),
  1462. "" === a.firstChild.getAttribute("value")
  1463. );
  1464. })) ||
  1465. hb("value", function (a, b, c) {
  1466. return c || "input" !== a.nodeName.toLowerCase()
  1467. ? void 0
  1468. : a.defaultValue;
  1469. }),
  1470. gb(function (a) {
  1471. return null == a.getAttribute("disabled");
  1472. }) ||
  1473. hb(J, function (a, b, c) {
  1474. var d;
  1475. return c
  1476. ? void 0
  1477. : a[b] === !0
  1478. ? b.toLowerCase()
  1479. : (d = a.getAttributeNode(b)) && d.specified
  1480. ? d.value
  1481. : null;
  1482. }),
  1483. db
  1484. );
  1485. })(a);
  1486. (n.find = t),
  1487. (n.expr = t.selectors),
  1488. (n.expr[":"] = n.expr.pseudos),
  1489. (n.unique = t.uniqueSort),
  1490. (n.text = t.getText),
  1491. (n.isXMLDoc = t.isXML),
  1492. (n.contains = t.contains);
  1493. var u = n.expr.match.needsContext,
  1494. v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  1495. w = /^.[^:#\[\.,]*$/;
  1496. function x(a, b, c) {
  1497. if (n.isFunction(b))
  1498. return n.grep(a, function (a, d) {
  1499. return !!b.call(a, d, a) !== c;
  1500. });
  1501. if (b.nodeType)
  1502. return n.grep(a, function (a) {
  1503. return (a === b) !== c;
  1504. });
  1505. if ("string" == typeof b) {
  1506. if (w.test(b)) return n.filter(b, a, c);
  1507. b = n.filter(b, a);
  1508. }
  1509. return n.grep(a, function (a) {
  1510. return n.inArray(a, b) >= 0 !== c;
  1511. });
  1512. }
  1513. (n.filter = function (a, b, c) {
  1514. var d = b[0];
  1515. return (
  1516. c && (a = ":not(" + a + ")"),
  1517. 1 === b.length && 1 === d.nodeType
  1518. ? n.find.matchesSelector(d, a)
  1519. ? [d]
  1520. : []
  1521. : n.find.matches(
  1522. a,
  1523. n.grep(b, function (a) {
  1524. return 1 === a.nodeType;
  1525. })
  1526. )
  1527. );
  1528. }),
  1529. n.fn.extend({
  1530. find: function (a) {
  1531. var b,
  1532. c = [],
  1533. d = this,
  1534. e = d.length;
  1535. if ("string" != typeof a)
  1536. return this.pushStack(
  1537. n(a).filter(function () {
  1538. for (b = 0; e > b; b++) if (n.contains(d[b], this)) return !0;
  1539. })
  1540. );
  1541. for (b = 0; e > b; b++) n.find(a, d[b], c);
  1542. return (
  1543. (c = this.pushStack(e > 1 ? n.unique(c) : c)),
  1544. (c.selector = this.selector ? this.selector + " " + a : a),
  1545. c
  1546. );
  1547. },
  1548. filter: function (a) {
  1549. return this.pushStack(x(this, a || [], !1));
  1550. },
  1551. not: function (a) {
  1552. return this.pushStack(x(this, a || [], !0));
  1553. },
  1554. is: function (a) {
  1555. return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1)
  1556. .length;
  1557. },
  1558. });
  1559. var y,
  1560. z = a.document,
  1561. A = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  1562. B = (n.fn.init = function (a, b) {
  1563. var c, d;
  1564. if (!a) return this;
  1565. if ("string" == typeof a) {
  1566. if (
  1567. ((c =
  1568. "<" === a.charAt(0) &&
  1569. ">" === a.charAt(a.length - 1) &&
  1570. a.length >= 3
  1571. ? [null, a, null]
  1572. : A.exec(a)),
  1573. !c || (!c[1] && b))
  1574. )
  1575. return !b || b.jquery
  1576. ? (b || y).find(a)
  1577. : this.constructor(b).find(a);
  1578. if (c[1]) {
  1579. if (
  1580. ((b = b instanceof n ? b[0] : b),
  1581. n.merge(
  1582. this,
  1583. n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : z, !0)
  1584. ),
  1585. v.test(c[1]) && n.isPlainObject(b))
  1586. )
  1587. for (c in b)
  1588. n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
  1589. return this;
  1590. }
  1591. if (((d = z.getElementById(c[2])), d && d.parentNode)) {
  1592. if (d.id !== c[2]) return y.find(a);
  1593. (this.length = 1), (this[0] = d);
  1594. }
  1595. return (this.context = z), (this.selector = a), this;
  1596. }
  1597. return a.nodeType
  1598. ? ((this.context = this[0] = a), (this.length = 1), this)
  1599. : n.isFunction(a)
  1600. ? "undefined" != typeof y.ready
  1601. ? y.ready(a)
  1602. : a(n)
  1603. : (void 0 !== a.selector &&
  1604. ((this.selector = a.selector), (this.context = a.context)),
  1605. n.makeArray(a, this));
  1606. });
  1607. (B.prototype = n.fn), (y = n(z));
  1608. var C = /^(?:parents|prev(?:Until|All))/,
  1609. D = { children: !0, contents: !0, next: !0, prev: !0 };
  1610. n.extend({
  1611. dir: function (a, b, c) {
  1612. var d = [],
  1613. e = a[b];
  1614. while (
  1615. e &&
  1616. 9 !== e.nodeType &&
  1617. (void 0 === c || 1 !== e.nodeType || !n(e).is(c))
  1618. )
  1619. 1 === e.nodeType && d.push(e), (e = e[b]);
  1620. return d;
  1621. },
  1622. sibling: function (a, b) {
  1623. for (var c = []; a; a = a.nextSibling)
  1624. 1 === a.nodeType && a !== b && c.push(a);
  1625. return c;
  1626. },
  1627. }),
  1628. n.fn.extend({
  1629. has: function (a) {
  1630. var b,
  1631. c = n(a, this),
  1632. d = c.length;
  1633. return this.filter(function () {
  1634. for (b = 0; d > b; b++) if (n.contains(this, c[b])) return !0;
  1635. });
  1636. },
  1637. closest: function (a, b) {
  1638. for (
  1639. var c,
  1640. d = 0,
  1641. e = this.length,
  1642. f = [],
  1643. g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0;
  1644. e > d;
  1645. d++
  1646. )
  1647. for (c = this[d]; c && c !== b; c = c.parentNode)
  1648. if (
  1649. c.nodeType < 11 &&
  1650. (g
  1651. ? g.index(c) > -1
  1652. : 1 === c.nodeType && n.find.matchesSelector(c, a))
  1653. ) {
  1654. f.push(c);
  1655. break;
  1656. }
  1657. return this.pushStack(f.length > 1 ? n.unique(f) : f);
  1658. },
  1659. index: function (a) {
  1660. return a
  1661. ? "string" == typeof a
  1662. ? n.inArray(this[0], n(a))
  1663. : n.inArray(a.jquery ? a[0] : a, this)
  1664. : this[0] && this[0].parentNode
  1665. ? this.first().prevAll().length
  1666. : -1;
  1667. },
  1668. add: function (a, b) {
  1669. return this.pushStack(n.unique(n.merge(this.get(), n(a, b))));
  1670. },
  1671. addBack: function (a) {
  1672. return this.add(
  1673. null == a ? this.prevObject : this.prevObject.filter(a)
  1674. );
  1675. },
  1676. });
  1677. function E(a, b) {
  1678. do a = a[b];
  1679. while (a && 1 !== a.nodeType);
  1680. return a;
  1681. }
  1682. n.each(
  1683. {
  1684. parent: function (a) {
  1685. var b = a.parentNode;
  1686. return b && 11 !== b.nodeType ? b : null;
  1687. },
  1688. parents: function (a) {
  1689. return n.dir(a, "parentNode");
  1690. },
  1691. parentsUntil: function (a, b, c) {
  1692. return n.dir(a, "parentNode", c);
  1693. },
  1694. next: function (a) {
  1695. return E(a, "nextSibling");
  1696. },
  1697. prev: function (a) {
  1698. return E(a, "previousSibling");
  1699. },
  1700. nextAll: function (a) {
  1701. return n.dir(a, "nextSibling");
  1702. },
  1703. prevAll: function (a) {
  1704. return n.dir(a, "previousSibling");
  1705. },
  1706. nextUntil: function (a, b, c) {
  1707. return n.dir(a, "nextSibling", c);
  1708. },
  1709. prevUntil: function (a, b, c) {
  1710. return n.dir(a, "previousSibling", c);
  1711. },
  1712. siblings: function (a) {
  1713. return n.sibling((a.parentNode || {}).firstChild, a);
  1714. },
  1715. children: function (a) {
  1716. return n.sibling(a.firstChild);
  1717. },
  1718. contents: function (a) {
  1719. return n.nodeName(a, "iframe")
  1720. ? a.contentDocument || a.contentWindow.document
  1721. : n.merge([], a.childNodes);
  1722. },
  1723. },
  1724. function (a, b) {
  1725. n.fn[a] = function (c, d) {
  1726. var e = n.map(this, b, c);
  1727. return (
  1728. "Until" !== a.slice(-5) && (d = c),
  1729. d && "string" == typeof d && (e = n.filter(d, e)),
  1730. this.length > 1 &&
  1731. (D[a] || (e = n.unique(e)), C.test(a) && (e = e.reverse())),
  1732. this.pushStack(e)
  1733. );
  1734. };
  1735. }
  1736. );
  1737. var F = /\S+/g,
  1738. G = {};
  1739. function H(a) {
  1740. var b = (G[a] = {});
  1741. return (
  1742. n.each(a.match(F) || [], function (a, c) {
  1743. b[c] = !0;
  1744. }),
  1745. b
  1746. );
  1747. }
  1748. (n.Callbacks = function (a) {
  1749. a = "string" == typeof a ? G[a] || H(a) : n.extend({}, a);
  1750. var b,
  1751. c,
  1752. d,
  1753. e,
  1754. f,
  1755. g,
  1756. h = [],
  1757. i = !a.once && [],
  1758. j = function (l) {
  1759. for (
  1760. c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0;
  1761. h && e > f;
  1762. f++
  1763. )
  1764. if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
  1765. c = !1;
  1766. break;
  1767. }
  1768. (b = !1),
  1769. h && (i ? i.length && j(i.shift()) : c ? (h = []) : k.disable());
  1770. },
  1771. k = {
  1772. add: function () {
  1773. if (h) {
  1774. var d = h.length;
  1775. !(function f(b) {
  1776. n.each(b, function (b, c) {
  1777. var d = n.type(c);
  1778. "function" === d
  1779. ? (a.unique && k.has(c)) || h.push(c)
  1780. : c && c.length && "string" !== d && f(c);
  1781. });
  1782. })(arguments),
  1783. b ? (e = h.length) : c && ((g = d), j(c));
  1784. }
  1785. return this;
  1786. },
  1787. remove: function () {
  1788. return (
  1789. h &&
  1790. n.each(arguments, function (a, c) {
  1791. var d;
  1792. while ((d = n.inArray(c, h, d)) > -1)
  1793. h.splice(d, 1), b && (e >= d && e--, f >= d && f--);
  1794. }),
  1795. this
  1796. );
  1797. },
  1798. has: function (a) {
  1799. return a ? n.inArray(a, h) > -1 : !(!h || !h.length);
  1800. },
  1801. empty: function () {
  1802. return (h = []), (e = 0), this;
  1803. },
  1804. disable: function () {
  1805. return (h = i = c = void 0), this;
  1806. },
  1807. disabled: function () {
  1808. return !h;
  1809. },
  1810. lock: function () {
  1811. return (i = void 0), c || k.disable(), this;
  1812. },
  1813. locked: function () {
  1814. return !i;
  1815. },
  1816. fireWith: function (a, c) {
  1817. return (
  1818. !h ||
  1819. (d && !i) ||
  1820. ((c = c || []),
  1821. (c = [a, c.slice ? c.slice() : c]),
  1822. b ? i.push(c) : j(c)),
  1823. this
  1824. );
  1825. },
  1826. fire: function () {
  1827. return k.fireWith(this, arguments), this;
  1828. },
  1829. fired: function () {
  1830. return !!d;
  1831. },
  1832. };
  1833. return k;
  1834. }),
  1835. n.extend({
  1836. Deferred: function (a) {
  1837. var b = [
  1838. ["resolve", "done", n.Callbacks("once memory"), "resolved"],
  1839. ["reject", "fail", n.Callbacks("once memory"), "rejected"],
  1840. ["notify", "progress", n.Callbacks("memory")],
  1841. ],
  1842. c = "pending",
  1843. d = {
  1844. state: function () {
  1845. return c;
  1846. },
  1847. always: function () {
  1848. return e.done(arguments).fail(arguments), this;
  1849. },
  1850. then: function () {
  1851. var a = arguments;
  1852. return n
  1853. .Deferred(function (c) {
  1854. n.each(b, function (b, f) {
  1855. var g = n.isFunction(a[b]) && a[b];
  1856. e[f[1]](function () {
  1857. var a = g && g.apply(this, arguments);
  1858. a && n.isFunction(a.promise)
  1859. ? a
  1860. .promise()
  1861. .done(c.resolve)
  1862. .fail(c.reject)
  1863. .progress(c.notify)
  1864. : c[f[0] + "With"](
  1865. this === d ? c.promise() : this,
  1866. g ? [a] : arguments
  1867. );
  1868. });
  1869. }),
  1870. (a = null);
  1871. })
  1872. .promise();
  1873. },
  1874. promise: function (a) {
  1875. return null != a ? n.extend(a, d) : d;
  1876. },
  1877. },
  1878. e = {};
  1879. return (
  1880. (d.pipe = d.then),
  1881. n.each(b, function (a, f) {
  1882. var g = f[2],
  1883. h = f[3];
  1884. (d[f[1]] = g.add),
  1885. h &&
  1886. g.add(
  1887. function () {
  1888. c = h;
  1889. },
  1890. b[1 ^ a][2].disable,
  1891. b[2][2].lock
  1892. ),
  1893. (e[f[0]] = function () {
  1894. return e[f[0] + "With"](this === e ? d : this, arguments), this;
  1895. }),
  1896. (e[f[0] + "With"] = g.fireWith);
  1897. }),
  1898. d.promise(e),
  1899. a && a.call(e, e),
  1900. e
  1901. );
  1902. },
  1903. when: function (a) {
  1904. var b = 0,
  1905. c = d.call(arguments),
  1906. e = c.length,
  1907. f = 1 !== e || (a && n.isFunction(a.promise)) ? e : 0,
  1908. g = 1 === f ? a : n.Deferred(),
  1909. h = function (a, b, c) {
  1910. return function (e) {
  1911. (b[a] = this),
  1912. (c[a] = arguments.length > 1 ? d.call(arguments) : e),
  1913. c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c);
  1914. };
  1915. },
  1916. i,
  1917. j,
  1918. k;
  1919. if (e > 1)
  1920. for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)
  1921. c[b] && n.isFunction(c[b].promise)
  1922. ? c[b]
  1923. .promise()
  1924. .done(h(b, k, c))
  1925. .fail(g.reject)
  1926. .progress(h(b, j, i))
  1927. : --f;
  1928. return f || g.resolveWith(k, c), g.promise();
  1929. },
  1930. });
  1931. var I;
  1932. (n.fn.ready = function (a) {
  1933. return n.ready.promise().done(a), this;
  1934. }),
  1935. n.extend({
  1936. isReady: !1,
  1937. readyWait: 1,
  1938. holdReady: function (a) {
  1939. a ? n.readyWait++ : n.ready(!0);
  1940. },
  1941. ready: function (a) {
  1942. if (a === !0 ? !--n.readyWait : !n.isReady) {
  1943. if (!z.body) return setTimeout(n.ready);
  1944. (n.isReady = !0),
  1945. (a !== !0 && --n.readyWait > 0) ||
  1946. (I.resolveWith(z, [n]),
  1947. n.fn.trigger && n(z).trigger("ready").off("ready"));
  1948. }
  1949. },
  1950. });
  1951. function J() {
  1952. z.addEventListener
  1953. ? (z.removeEventListener("DOMContentLoaded", K, !1),
  1954. a.removeEventListener("load", K, !1))
  1955. : (z.detachEvent("onreadystatechange", K), a.detachEvent("onload", K));
  1956. }
  1957. function K() {
  1958. (z.addEventListener ||
  1959. "load" === event.type ||
  1960. "complete" === z.readyState) &&
  1961. (J(), n.ready());
  1962. }
  1963. n.ready.promise = function (b) {
  1964. if (!I)
  1965. if (((I = n.Deferred()), "complete" === z.readyState))
  1966. setTimeout(n.ready);
  1967. else if (z.addEventListener)
  1968. z.addEventListener("DOMContentLoaded", K, !1),
  1969. a.addEventListener("load", K, !1);
  1970. else {
  1971. z.attachEvent("onreadystatechange", K), a.attachEvent("onload", K);
  1972. var c = !1;
  1973. try {
  1974. c = null == a.frameElement && z.documentElement;
  1975. } catch (d) {}
  1976. c &&
  1977. c.doScroll &&
  1978. !(function e() {
  1979. if (!n.isReady) {
  1980. try {
  1981. c.doScroll("left");
  1982. } catch (a) {
  1983. return setTimeout(e, 50);
  1984. }
  1985. J(), n.ready();
  1986. }
  1987. })();
  1988. }
  1989. return I.promise(b);
  1990. };
  1991. var L = "undefined",
  1992. M;
  1993. for (M in n(l)) break;
  1994. (l.ownLast = "0" !== M),
  1995. (l.inlineBlockNeedsLayout = !1),
  1996. n(function () {
  1997. var a,
  1998. b,
  1999. c = z.getElementsByTagName("body")[0];
  2000. c &&
  2001. ((a = z.createElement("div")),
  2002. (a.style.cssText =
  2003. "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"),
  2004. (b = z.createElement("div")),
  2005. c.appendChild(a).appendChild(b),
  2006. typeof b.style.zoom !== L &&
  2007. ((b.style.cssText =
  2008. "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1"),
  2009. (l.inlineBlockNeedsLayout = 3 === b.offsetWidth) &&
  2010. (c.style.zoom = 1)),
  2011. c.removeChild(a),
  2012. (a = b = null));
  2013. }),
  2014. (function () {
  2015. var a = z.createElement("div");
  2016. if (null == l.deleteExpando) {
  2017. l.deleteExpando = !0;
  2018. try {
  2019. delete a.test;
  2020. } catch (b) {
  2021. l.deleteExpando = !1;
  2022. }
  2023. }
  2024. a = null;
  2025. })(),
  2026. (n.acceptData = function (a) {
  2027. var b = n.noData[(a.nodeName + " ").toLowerCase()],
  2028. c = +a.nodeType || 1;
  2029. return 1 !== c && 9 !== c
  2030. ? !1
  2031. : !b || (b !== !0 && a.getAttribute("classid") === b);
  2032. });
  2033. var N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  2034. O = /([A-Z])/g;
  2035. function P(a, b, c) {
  2036. if (void 0 === c && 1 === a.nodeType) {
  2037. var d = "data-" + b.replace(O, "-$1").toLowerCase();
  2038. if (((c = a.getAttribute(d)), "string" == typeof c)) {
  2039. try {
  2040. c =
  2041. "true" === c
  2042. ? !0
  2043. : "false" === c
  2044. ? !1
  2045. : "null" === c
  2046. ? null
  2047. : +c + "" === c
  2048. ? +c
  2049. : N.test(c)
  2050. ? n.parseJSON(c)
  2051. : c;
  2052. } catch (e) {}
  2053. n.data(a, b, c);
  2054. } else c = void 0;
  2055. }
  2056. return c;
  2057. }
  2058. function Q(a) {
  2059. var b;
  2060. for (b in a)
  2061. if (("data" !== b || !n.isEmptyObject(a[b])) && "toJSON" !== b) return !1;
  2062. return !0;
  2063. }
  2064. function R(a, b, d, e) {
  2065. if (n.acceptData(a)) {
  2066. var f,
  2067. g,
  2068. h = n.expando,
  2069. i = a.nodeType,
  2070. j = i ? n.cache : a,
  2071. k = i ? a[h] : a[h] && h;
  2072. if (
  2073. (k && j[k] && (e || j[k].data)) ||
  2074. void 0 !== d ||
  2075. "string" != typeof b
  2076. )
  2077. return (
  2078. k || (k = i ? (a[h] = c.pop() || n.guid++) : h),
  2079. j[k] || (j[k] = i ? {} : { toJSON: n.noop }),
  2080. ("object" == typeof b || "function" == typeof b) &&
  2081. (e
  2082. ? (j[k] = n.extend(j[k], b))
  2083. : (j[k].data = n.extend(j[k].data, b))),
  2084. (g = j[k]),
  2085. e || (g.data || (g.data = {}), (g = g.data)),
  2086. void 0 !== d && (g[n.camelCase(b)] = d),
  2087. "string" == typeof b
  2088. ? ((f = g[b]), null == f && (f = g[n.camelCase(b)]))
  2089. : (f = g),
  2090. f
  2091. );
  2092. }
  2093. }
  2094. function S(a, b, c) {
  2095. if (n.acceptData(a)) {
  2096. var d,
  2097. e,
  2098. f = a.nodeType,
  2099. g = f ? n.cache : a,
  2100. h = f ? a[n.expando] : n.expando;
  2101. if (g[h]) {
  2102. if (b && (d = c ? g[h] : g[h].data)) {
  2103. n.isArray(b)
  2104. ? (b = b.concat(n.map(b, n.camelCase)))
  2105. : b in d
  2106. ? (b = [b])
  2107. : ((b = n.camelCase(b)), (b = b in d ? [b] : b.split(" "))),
  2108. (e = b.length);
  2109. while (e--) delete d[b[e]];
  2110. if (c ? !Q(d) : !n.isEmptyObject(d)) return;
  2111. }
  2112. (c || (delete g[h].data, Q(g[h]))) &&
  2113. (f
  2114. ? n.cleanData([a], !0)
  2115. : l.deleteExpando || g != g.window
  2116. ? delete g[h]
  2117. : (g[h] = null));
  2118. }
  2119. }
  2120. }
  2121. n.extend({
  2122. cache: {},
  2123. noData: {
  2124. "applet ": !0,
  2125. "embed ": !0,
  2126. "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
  2127. },
  2128. hasData: function (a) {
  2129. return (
  2130. (a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando]), !!a && !Q(a)
  2131. );
  2132. },
  2133. data: function (a, b, c) {
  2134. return R(a, b, c);
  2135. },
  2136. removeData: function (a, b) {
  2137. return S(a, b);
  2138. },
  2139. _data: function (a, b, c) {
  2140. return R(a, b, c, !0);
  2141. },
  2142. _removeData: function (a, b) {
  2143. return S(a, b, !0);
  2144. },
  2145. }),
  2146. n.fn.extend({
  2147. data: function (a, b) {
  2148. var c,
  2149. d,
  2150. e,
  2151. f = this[0],
  2152. g = f && f.attributes;
  2153. if (void 0 === a) {
  2154. if (
  2155. this.length &&
  2156. ((e = n.data(f)), 1 === f.nodeType && !n._data(f, "parsedAttrs"))
  2157. ) {
  2158. c = g.length;
  2159. while (c--)
  2160. (d = g[c].name),
  2161. 0 === d.indexOf("data-") &&
  2162. ((d = n.camelCase(d.slice(5))), P(f, d, e[d]));
  2163. n._data(f, "parsedAttrs", !0);
  2164. }
  2165. return e;
  2166. }
  2167. return "object" == typeof a
  2168. ? this.each(function () {
  2169. n.data(this, a);
  2170. })
  2171. : arguments.length > 1
  2172. ? this.each(function () {
  2173. n.data(this, a, b);
  2174. })
  2175. : f
  2176. ? P(f, a, n.data(f, a))
  2177. : void 0;
  2178. },
  2179. removeData: function (a) {
  2180. return this.each(function () {
  2181. n.removeData(this, a);
  2182. });
  2183. },
  2184. }),
  2185. n.extend({
  2186. queue: function (a, b, c) {
  2187. var d;
  2188. return a
  2189. ? ((b = (b || "fx") + "queue"),
  2190. (d = n._data(a, b)),
  2191. c &&
  2192. (!d || n.isArray(c)
  2193. ? (d = n._data(a, b, n.makeArray(c)))
  2194. : d.push(c)),
  2195. d || [])
  2196. : void 0;
  2197. },
  2198. dequeue: function (a, b) {
  2199. b = b || "fx";
  2200. var c = n.queue(a, b),
  2201. d = c.length,
  2202. e = c.shift(),
  2203. f = n._queueHooks(a, b),
  2204. g = function () {
  2205. n.dequeue(a, b);
  2206. };
  2207. "inprogress" === e && ((e = c.shift()), d--),
  2208. e &&
  2209. ("fx" === b && c.unshift("inprogress"),
  2210. delete f.stop,
  2211. e.call(a, g, f)),
  2212. !d && f && f.empty.fire();
  2213. },
  2214. _queueHooks: function (a, b) {
  2215. var c = b + "queueHooks";
  2216. return (
  2217. n._data(a, c) ||
  2218. n._data(a, c, {
  2219. empty: n.Callbacks("once memory").add(function () {
  2220. n._removeData(a, b + "queue"), n._removeData(a, c);
  2221. }),
  2222. })
  2223. );
  2224. },
  2225. }),
  2226. n.fn.extend({
  2227. queue: function (a, b) {
  2228. var c = 2;
  2229. return (
  2230. "string" != typeof a && ((b = a), (a = "fx"), c--),
  2231. arguments.length < c
  2232. ? n.queue(this[0], a)
  2233. : void 0 === b
  2234. ? this
  2235. : this.each(function () {
  2236. var c = n.queue(this, a, b);
  2237. n._queueHooks(this, a),
  2238. "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a);
  2239. })
  2240. );
  2241. },
  2242. dequeue: function (a) {
  2243. return this.each(function () {
  2244. n.dequeue(this, a);
  2245. });
  2246. },
  2247. clearQueue: function (a) {
  2248. return this.queue(a || "fx", []);
  2249. },
  2250. promise: function (a, b) {
  2251. var c,
  2252. d = 1,
  2253. e = n.Deferred(),
  2254. f = this,
  2255. g = this.length,
  2256. h = function () {
  2257. --d || e.resolveWith(f, [f]);
  2258. };
  2259. "string" != typeof a && ((b = a), (a = void 0)), (a = a || "fx");
  2260. while (g--)
  2261. (c = n._data(f[g], a + "queueHooks")),
  2262. c && c.empty && (d++, c.empty.add(h));
  2263. return h(), e.promise(b);
  2264. },
  2265. });
  2266. var T = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  2267. U = ["Top", "Right", "Bottom", "Left"],
  2268. V = function (a, b) {
  2269. return (
  2270. (a = b || a),
  2271. "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
  2272. );
  2273. },
  2274. W = (n.access = function (a, b, c, d, e, f, g) {
  2275. var h = 0,
  2276. i = a.length,
  2277. j = null == c;
  2278. if ("object" === n.type(c)) {
  2279. e = !0;
  2280. for (h in c) n.access(a, b, h, c[h], !0, f, g);
  2281. } else if (
  2282. void 0 !== d &&
  2283. ((e = !0),
  2284. n.isFunction(d) || (g = !0),
  2285. j &&
  2286. (g
  2287. ? (b.call(a, d), (b = null))
  2288. : ((j = b),
  2289. (b = function (a, b, c) {
  2290. return j.call(n(a), c);
  2291. }))),
  2292. b)
  2293. )
  2294. for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
  2295. return e ? a : j ? b.call(a) : i ? b(a[0], c) : f;
  2296. }),
  2297. X = /^(?:checkbox|radio)$/i;
  2298. !(function () {
  2299. var a = z.createDocumentFragment(),
  2300. b = z.createElement("div"),
  2301. c = z.createElement("input");
  2302. if (
  2303. (b.setAttribute("className", "t"),
  2304. (b.innerHTML = " <link/><table></table><a href='/a'>a</a>"),
  2305. (l.leadingWhitespace = 3 === b.firstChild.nodeType),
  2306. (l.tbody = !b.getElementsByTagName("tbody").length),
  2307. (l.htmlSerialize = !!b.getElementsByTagName("link").length),
  2308. (l.html5Clone =
  2309. "<:nav></:nav>" !== z.createElement("nav").cloneNode(!0).outerHTML),
  2310. (c.type = "checkbox"),
  2311. (c.checked = !0),
  2312. a.appendChild(c),
  2313. (l.appendChecked = c.checked),
  2314. (b.innerHTML = "<textarea>x</textarea>"),
  2315. (l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue),
  2316. a.appendChild(b),
  2317. (b.innerHTML = "<input type='radio' checked='checked' name='t'/>"),
  2318. (l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked),
  2319. (l.noCloneEvent = !0),
  2320. b.attachEvent &&
  2321. (b.attachEvent("onclick", function () {
  2322. l.noCloneEvent = !1;
  2323. }),
  2324. b.cloneNode(!0).click()),
  2325. null == l.deleteExpando)
  2326. ) {
  2327. l.deleteExpando = !0;
  2328. try {
  2329. delete b.test;
  2330. } catch (d) {
  2331. l.deleteExpando = !1;
  2332. }
  2333. }
  2334. a = b = c = null;
  2335. })(),
  2336. (function () {
  2337. var b,
  2338. c,
  2339. d = z.createElement("div");
  2340. for (b in { submit: !0, change: !0, focusin: !0 })
  2341. (c = "on" + b),
  2342. (l[b + "Bubbles"] = c in a) ||
  2343. (d.setAttribute(c, "t"),
  2344. (l[b + "Bubbles"] = d.attributes[c].expando === !1));
  2345. d = null;
  2346. })();
  2347. var Y = /^(?:input|select|textarea)$/i,
  2348. Z = /^key/,
  2349. $ = /^(?:mouse|contextmenu)|click/,
  2350. _ = /^(?:focusinfocus|focusoutblur)$/,
  2351. ab = /^([^.]*)(?:\.(.+)|)$/;
  2352. function bb() {
  2353. return !0;
  2354. }
  2355. function cb() {
  2356. return !1;
  2357. }
  2358. function db() {
  2359. try {
  2360. return z.activeElement;
  2361. } catch (a) {}
  2362. }
  2363. (n.event = {
  2364. global: {},
  2365. add: function (a, b, c, d, e) {
  2366. var f,
  2367. g,
  2368. h,
  2369. i,
  2370. j,
  2371. k,
  2372. l,
  2373. m,
  2374. o,
  2375. p,
  2376. q,
  2377. r = n._data(a);
  2378. if (r) {
  2379. c.handler && ((i = c), (c = i.handler), (e = i.selector)),
  2380. c.guid || (c.guid = n.guid++),
  2381. (g = r.events) || (g = r.events = {}),
  2382. (k = r.handle) ||
  2383. ((k = r.handle =
  2384. function (a) {
  2385. return typeof n === L || (a && n.event.triggered === a.type)
  2386. ? void 0
  2387. : n.event.dispatch.apply(k.elem, arguments);
  2388. }),
  2389. (k.elem = a)),
  2390. (b = (b || "").match(F) || [""]),
  2391. (h = b.length);
  2392. while (h--)
  2393. (f = ab.exec(b[h]) || []),
  2394. (o = q = f[1]),
  2395. (p = (f[2] || "").split(".").sort()),
  2396. o &&
  2397. ((j = n.event.special[o] || {}),
  2398. (o = (e ? j.delegateType : j.bindType) || o),
  2399. (j = n.event.special[o] || {}),
  2400. (l = n.extend(
  2401. {
  2402. type: o,
  2403. origType: q,
  2404. data: d,
  2405. handler: c,
  2406. guid: c.guid,
  2407. selector: e,
  2408. needsContext: e && n.expr.match.needsContext.test(e),
  2409. namespace: p.join("."),
  2410. },
  2411. i
  2412. )),
  2413. (m = g[o]) ||
  2414. ((m = g[o] = []),
  2415. (m.delegateCount = 0),
  2416. (j.setup && j.setup.call(a, d, p, k) !== !1) ||
  2417. (a.addEventListener
  2418. ? a.addEventListener(o, k, !1)
  2419. : a.attachEvent && a.attachEvent("on" + o, k))),
  2420. j.add &&
  2421. (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)),
  2422. e ? m.splice(m.delegateCount++, 0, l) : m.push(l),
  2423. (n.event.global[o] = !0));
  2424. a = null;
  2425. }
  2426. },
  2427. remove: function (a, b, c, d, e) {
  2428. var f,
  2429. g,
  2430. h,
  2431. i,
  2432. j,
  2433. k,
  2434. l,
  2435. m,
  2436. o,
  2437. p,
  2438. q,
  2439. r = n.hasData(a) && n._data(a);
  2440. if (r && (k = r.events)) {
  2441. (b = (b || "").match(F) || [""]), (j = b.length);
  2442. while (j--)
  2443. if (
  2444. ((h = ab.exec(b[j]) || []),
  2445. (o = q = h[1]),
  2446. (p = (h[2] || "").split(".").sort()),
  2447. o)
  2448. ) {
  2449. (l = n.event.special[o] || {}),
  2450. (o = (d ? l.delegateType : l.bindType) || o),
  2451. (m = k[o] || []),
  2452. (h =
  2453. h[2] &&
  2454. new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)")),
  2455. (i = f = m.length);
  2456. while (f--)
  2457. (g = m[f]),
  2458. (!e && q !== g.origType) ||
  2459. (c && c.guid !== g.guid) ||
  2460. (h && !h.test(g.namespace)) ||
  2461. (d && d !== g.selector && ("**" !== d || !g.selector)) ||
  2462. (m.splice(f, 1),
  2463. g.selector && m.delegateCount--,
  2464. l.remove && l.remove.call(a, g));
  2465. i &&
  2466. !m.length &&
  2467. ((l.teardown && l.teardown.call(a, p, r.handle) !== !1) ||
  2468. n.removeEvent(a, o, r.handle),
  2469. delete k[o]);
  2470. } else for (o in k) n.event.remove(a, o + b[j], c, d, !0);
  2471. n.isEmptyObject(k) && (delete r.handle, n._removeData(a, "events"));
  2472. }
  2473. },
  2474. trigger: function (b, c, d, e) {
  2475. var f,
  2476. g,
  2477. h,
  2478. i,
  2479. k,
  2480. l,
  2481. m,
  2482. o = [d || z],
  2483. p = j.call(b, "type") ? b.type : b,
  2484. q = j.call(b, "namespace") ? b.namespace.split(".") : [];
  2485. if (
  2486. ((h = l = d = d || z),
  2487. 3 !== d.nodeType &&
  2488. 8 !== d.nodeType &&
  2489. !_.test(p + n.event.triggered) &&
  2490. (p.indexOf(".") >= 0 &&
  2491. ((q = p.split(".")), (p = q.shift()), q.sort()),
  2492. (g = p.indexOf(":") < 0 && "on" + p),
  2493. (b = b[n.expando] ? b : new n.Event(p, "object" == typeof b && b)),
  2494. (b.isTrigger = e ? 2 : 3),
  2495. (b.namespace = q.join(".")),
  2496. (b.namespace_re = b.namespace
  2497. ? new RegExp("(^|\\.)" + q.join("\\.(?:.*\\.|)") + "(\\.|$)")
  2498. : null),
  2499. (b.result = void 0),
  2500. b.target || (b.target = d),
  2501. (c = null == c ? [b] : n.makeArray(c, [b])),
  2502. (k = n.event.special[p] || {}),
  2503. e || !k.trigger || k.trigger.apply(d, c) !== !1))
  2504. ) {
  2505. if (!e && !k.noBubble && !n.isWindow(d)) {
  2506. for (
  2507. i = k.delegateType || p, _.test(i + p) || (h = h.parentNode);
  2508. h;
  2509. h = h.parentNode
  2510. )
  2511. o.push(h), (l = h);
  2512. l === (d.ownerDocument || z) &&
  2513. o.push(l.defaultView || l.parentWindow || a);
  2514. }
  2515. m = 0;
  2516. while ((h = o[m++]) && !b.isPropagationStopped())
  2517. (b.type = m > 1 ? i : k.bindType || p),
  2518. (f = (n._data(h, "events") || {})[b.type] && n._data(h, "handle")),
  2519. f && f.apply(h, c),
  2520. (f = g && h[g]),
  2521. f &&
  2522. f.apply &&
  2523. n.acceptData(h) &&
  2524. ((b.result = f.apply(h, c)),
  2525. b.result === !1 && b.preventDefault());
  2526. if (
  2527. ((b.type = p),
  2528. !e &&
  2529. !b.isDefaultPrevented() &&
  2530. (!k._default || k._default.apply(o.pop(), c) === !1) &&
  2531. n.acceptData(d) &&
  2532. g &&
  2533. d[p] &&
  2534. !n.isWindow(d))
  2535. ) {
  2536. (l = d[g]), l && (d[g] = null), (n.event.triggered = p);
  2537. try {
  2538. d[p]();
  2539. } catch (r) {}
  2540. (n.event.triggered = void 0), l && (d[g] = l);
  2541. }
  2542. return b.result;
  2543. }
  2544. },
  2545. dispatch: function (a) {
  2546. a = n.event.fix(a);
  2547. var b,
  2548. c,
  2549. e,
  2550. f,
  2551. g,
  2552. h = [],
  2553. i = d.call(arguments),
  2554. j = (n._data(this, "events") || {})[a.type] || [],
  2555. k = n.event.special[a.type] || {};
  2556. if (
  2557. ((i[0] = a),
  2558. (a.delegateTarget = this),
  2559. !k.preDispatch || k.preDispatch.call(this, a) !== !1)
  2560. ) {
  2561. (h = n.event.handlers.call(this, a, j)), (b = 0);
  2562. while ((f = h[b++]) && !a.isPropagationStopped()) {
  2563. (a.currentTarget = f.elem), (g = 0);
  2564. while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped())
  2565. (!a.namespace_re || a.namespace_re.test(e.namespace)) &&
  2566. ((a.handleObj = e),
  2567. (a.data = e.data),
  2568. (c = (
  2569. (n.event.special[e.origType] || {}).handle || e.handler
  2570. ).apply(f.elem, i)),
  2571. void 0 !== c &&
  2572. (a.result = c) === !1 &&
  2573. (a.preventDefault(), a.stopPropagation()));
  2574. }
  2575. return k.postDispatch && k.postDispatch.call(this, a), a.result;
  2576. }
  2577. },
  2578. handlers: function (a, b) {
  2579. var c,
  2580. d,
  2581. e,
  2582. f,
  2583. g = [],
  2584. h = b.delegateCount,
  2585. i = a.target;
  2586. if (h && i.nodeType && (!a.button || "click" !== a.type))
  2587. for (; i != this; i = i.parentNode || this)
  2588. if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
  2589. for (e = [], f = 0; h > f; f++)
  2590. (d = b[f]),
  2591. (c = d.selector + " "),
  2592. void 0 === e[c] &&
  2593. (e[c] = d.needsContext
  2594. ? n(c, this).index(i) >= 0
  2595. : n.find(c, this, null, [i]).length),
  2596. e[c] && e.push(d);
  2597. e.length && g.push({ elem: i, handlers: e });
  2598. }
  2599. return h < b.length && g.push({ elem: this, handlers: b.slice(h) }), g;
  2600. },
  2601. fix: function (a) {
  2602. if (a[n.expando]) return a;
  2603. var b,
  2604. c,
  2605. d,
  2606. e = a.type,
  2607. f = a,
  2608. g = this.fixHooks[e];
  2609. g ||
  2610. (this.fixHooks[e] = g =
  2611. $.test(e) ? this.mouseHooks : Z.test(e) ? this.keyHooks : {}),
  2612. (d = g.props ? this.props.concat(g.props) : this.props),
  2613. (a = new n.Event(f)),
  2614. (b = d.length);
  2615. while (b--) (c = d[b]), (a[c] = f[c]);
  2616. return (
  2617. a.target || (a.target = f.srcElement || z),
  2618. 3 === a.target.nodeType && (a.target = a.target.parentNode),
  2619. (a.metaKey = !!a.metaKey),
  2620. g.filter ? g.filter(a, f) : a
  2621. );
  2622. },
  2623. props:
  2624. "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(
  2625. " "
  2626. ),
  2627. fixHooks: {},
  2628. keyHooks: {
  2629. props: "char charCode key keyCode".split(" "),
  2630. filter: function (a, b) {
  2631. return (
  2632. null == a.which &&
  2633. (a.which = null != b.charCode ? b.charCode : b.keyCode),
  2634. a
  2635. );
  2636. },
  2637. },
  2638. mouseHooks: {
  2639. props:
  2640. "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(
  2641. " "
  2642. ),
  2643. filter: function (a, b) {
  2644. var c,
  2645. d,
  2646. e,
  2647. f = b.button,
  2648. g = b.fromElement;
  2649. return (
  2650. null == a.pageX &&
  2651. null != b.clientX &&
  2652. ((d = a.target.ownerDocument || z),
  2653. (e = d.documentElement),
  2654. (c = d.body),
  2655. (a.pageX =
  2656. b.clientX +
  2657. ((e && e.scrollLeft) || (c && c.scrollLeft) || 0) -
  2658. ((e && e.clientLeft) || (c && c.clientLeft) || 0)),
  2659. (a.pageY =
  2660. b.clientY +
  2661. ((e && e.scrollTop) || (c && c.scrollTop) || 0) -
  2662. ((e && e.clientTop) || (c && c.clientTop) || 0))),
  2663. !a.relatedTarget &&
  2664. g &&
  2665. (a.relatedTarget = g === a.target ? b.toElement : g),
  2666. a.which ||
  2667. void 0 === f ||
  2668. (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0),
  2669. a
  2670. );
  2671. },
  2672. },
  2673. special: {
  2674. load: { noBubble: !0 },
  2675. focus: {
  2676. trigger: function () {
  2677. if (this !== db() && this.focus)
  2678. try {
  2679. return this.focus(), !1;
  2680. } catch (a) {}
  2681. },
  2682. delegateType: "focusin",
  2683. },
  2684. blur: {
  2685. trigger: function () {
  2686. return this === db() && this.blur ? (this.blur(), !1) : void 0;
  2687. },
  2688. delegateType: "focusout",
  2689. },
  2690. click: {
  2691. trigger: function () {
  2692. return n.nodeName(this, "input") &&
  2693. "checkbox" === this.type &&
  2694. this.click
  2695. ? (this.click(), !1)
  2696. : void 0;
  2697. },
  2698. _default: function (a) {
  2699. return n.nodeName(a.target, "a");
  2700. },
  2701. },
  2702. beforeunload: {
  2703. postDispatch: function (a) {
  2704. void 0 !== a.result && (a.originalEvent.returnValue = a.result);
  2705. },
  2706. },
  2707. },
  2708. simulate: function (a, b, c, d) {
  2709. var e = n.extend(new n.Event(), c, {
  2710. type: a,
  2711. isSimulated: !0,
  2712. originalEvent: {},
  2713. });
  2714. d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e),
  2715. e.isDefaultPrevented() && c.preventDefault();
  2716. },
  2717. }),
  2718. (n.removeEvent = z.removeEventListener
  2719. ? function (a, b, c) {
  2720. a.removeEventListener && a.removeEventListener(b, c, !1);
  2721. }
  2722. : function (a, b, c) {
  2723. var d = "on" + b;
  2724. a.detachEvent &&
  2725. (typeof a[d] === L && (a[d] = null), a.detachEvent(d, c));
  2726. }),
  2727. (n.Event = function (a, b) {
  2728. return this instanceof n.Event
  2729. ? (a && a.type
  2730. ? ((this.originalEvent = a),
  2731. (this.type = a.type),
  2732. (this.isDefaultPrevented =
  2733. a.defaultPrevented ||
  2734. (void 0 === a.defaultPrevented &&
  2735. (a.returnValue === !1 ||
  2736. (a.getPreventDefault && a.getPreventDefault())))
  2737. ? bb
  2738. : cb))
  2739. : (this.type = a),
  2740. b && n.extend(this, b),
  2741. (this.timeStamp = (a && a.timeStamp) || n.now()),
  2742. void (this[n.expando] = !0))
  2743. : new n.Event(a, b);
  2744. }),
  2745. (n.Event.prototype = {
  2746. isDefaultPrevented: cb,
  2747. isPropagationStopped: cb,
  2748. isImmediatePropagationStopped: cb,
  2749. preventDefault: function () {
  2750. var a = this.originalEvent;
  2751. (this.isDefaultPrevented = bb),
  2752. a && (a.preventDefault ? a.preventDefault() : (a.returnValue = !1));
  2753. },
  2754. stopPropagation: function () {
  2755. var a = this.originalEvent;
  2756. (this.isPropagationStopped = bb),
  2757. a &&
  2758. (a.stopPropagation && a.stopPropagation(), (a.cancelBubble = !0));
  2759. },
  2760. stopImmediatePropagation: function () {
  2761. (this.isImmediatePropagationStopped = bb), this.stopPropagation();
  2762. },
  2763. }),
  2764. n.each(
  2765. { mouseenter: "mouseover", mouseleave: "mouseout" },
  2766. function (a, b) {
  2767. n.event.special[a] = {
  2768. delegateType: b,
  2769. bindType: b,
  2770. handle: function (a) {
  2771. var c,
  2772. d = this,
  2773. e = a.relatedTarget,
  2774. f = a.handleObj;
  2775. return (
  2776. (!e || (e !== d && !n.contains(d, e))) &&
  2777. ((a.type = f.origType),
  2778. (c = f.handler.apply(this, arguments)),
  2779. (a.type = b)),
  2780. c
  2781. );
  2782. },
  2783. };
  2784. }
  2785. ),
  2786. l.submitBubbles ||
  2787. (n.event.special.submit = {
  2788. setup: function () {
  2789. return n.nodeName(this, "form")
  2790. ? !1
  2791. : void n.event.add(
  2792. this,
  2793. "click._submit keypress._submit",
  2794. function (a) {
  2795. var b = a.target,
  2796. c =
  2797. n.nodeName(b, "input") || n.nodeName(b, "button")
  2798. ? b.form
  2799. : void 0;
  2800. c &&
  2801. !n._data(c, "submitBubbles") &&
  2802. (n.event.add(c, "submit._submit", function (a) {
  2803. a._submit_bubble = !0;
  2804. }),
  2805. n._data(c, "submitBubbles", !0));
  2806. }
  2807. );
  2808. },
  2809. postDispatch: function (a) {
  2810. a._submit_bubble &&
  2811. (delete a._submit_bubble,
  2812. this.parentNode &&
  2813. !a.isTrigger &&
  2814. n.event.simulate("submit", this.parentNode, a, !0));
  2815. },
  2816. teardown: function () {
  2817. return n.nodeName(this, "form")
  2818. ? !1
  2819. : void n.event.remove(this, "._submit");
  2820. },
  2821. }),
  2822. l.changeBubbles ||
  2823. (n.event.special.change = {
  2824. setup: function () {
  2825. return Y.test(this.nodeName)
  2826. ? (("checkbox" === this.type || "radio" === this.type) &&
  2827. (n.event.add(this, "propertychange._change", function (a) {
  2828. "checked" === a.originalEvent.propertyName &&
  2829. (this._just_changed = !0);
  2830. }),
  2831. n.event.add(this, "click._change", function (a) {
  2832. this._just_changed &&
  2833. !a.isTrigger &&
  2834. (this._just_changed = !1),
  2835. n.event.simulate("change", this, a, !0);
  2836. })),
  2837. !1)
  2838. : void n.event.add(this, "beforeactivate._change", function (a) {
  2839. var b = a.target;
  2840. Y.test(b.nodeName) &&
  2841. !n._data(b, "changeBubbles") &&
  2842. (n.event.add(b, "change._change", function (a) {
  2843. !this.parentNode ||
  2844. a.isSimulated ||
  2845. a.isTrigger ||
  2846. n.event.simulate("change", this.parentNode, a, !0);
  2847. }),
  2848. n._data(b, "changeBubbles", !0));
  2849. });
  2850. },
  2851. handle: function (a) {
  2852. var b = a.target;
  2853. return this !== b ||
  2854. a.isSimulated ||
  2855. a.isTrigger ||
  2856. ("radio" !== b.type && "checkbox" !== b.type)
  2857. ? a.handleObj.handler.apply(this, arguments)
  2858. : void 0;
  2859. },
  2860. teardown: function () {
  2861. return n.event.remove(this, "._change"), !Y.test(this.nodeName);
  2862. },
  2863. }),
  2864. l.focusinBubbles ||
  2865. n.each({ focus: "focusin", blur: "focusout" }, function (a, b) {
  2866. var c = function (a) {
  2867. n.event.simulate(b, a.target, n.event.fix(a), !0);
  2868. };
  2869. n.event.special[b] = {
  2870. setup: function () {
  2871. var d = this.ownerDocument || this,
  2872. e = n._data(d, b);
  2873. e || d.addEventListener(a, c, !0), n._data(d, b, (e || 0) + 1);
  2874. },
  2875. teardown: function () {
  2876. var d = this.ownerDocument || this,
  2877. e = n._data(d, b) - 1;
  2878. e
  2879. ? n._data(d, b, e)
  2880. : (d.removeEventListener(a, c, !0), n._removeData(d, b));
  2881. },
  2882. };
  2883. }),
  2884. n.fn.extend({
  2885. on: function (a, b, c, d, e) {
  2886. var f, g;
  2887. if ("object" == typeof a) {
  2888. "string" != typeof b && ((c = c || b), (b = void 0));
  2889. for (f in a) this.on(f, b, c, a[f], e);
  2890. return this;
  2891. }
  2892. if (
  2893. (null == c && null == d
  2894. ? ((d = b), (c = b = void 0))
  2895. : null == d &&
  2896. ("string" == typeof b
  2897. ? ((d = c), (c = void 0))
  2898. : ((d = c), (c = b), (b = void 0))),
  2899. d === !1)
  2900. )
  2901. d = cb;
  2902. else if (!d) return this;
  2903. return (
  2904. 1 === e &&
  2905. ((g = d),
  2906. (d = function (a) {
  2907. return n().off(a), g.apply(this, arguments);
  2908. }),
  2909. (d.guid = g.guid || (g.guid = n.guid++))),
  2910. this.each(function () {
  2911. n.event.add(this, a, d, c, b);
  2912. })
  2913. );
  2914. },
  2915. one: function (a, b, c, d) {
  2916. return this.on(a, b, c, d, 1);
  2917. },
  2918. off: function (a, b, c) {
  2919. var d, e;
  2920. if (a && a.preventDefault && a.handleObj)
  2921. return (
  2922. (d = a.handleObj),
  2923. n(a.delegateTarget).off(
  2924. d.namespace ? d.origType + "." + d.namespace : d.origType,
  2925. d.selector,
  2926. d.handler
  2927. ),
  2928. this
  2929. );
  2930. if ("object" == typeof a) {
  2931. for (e in a) this.off(e, b, a[e]);
  2932. return this;
  2933. }
  2934. return (
  2935. (b === !1 || "function" == typeof b) && ((c = b), (b = void 0)),
  2936. c === !1 && (c = cb),
  2937. this.each(function () {
  2938. n.event.remove(this, a, c, b);
  2939. })
  2940. );
  2941. },
  2942. trigger: function (a, b) {
  2943. return this.each(function () {
  2944. n.event.trigger(a, b, this);
  2945. });
  2946. },
  2947. triggerHandler: function (a, b) {
  2948. var c = this[0];
  2949. return c ? n.event.trigger(a, b, c, !0) : void 0;
  2950. },
  2951. });
  2952. function eb(a) {
  2953. var b = fb.split("|"),
  2954. c = a.createDocumentFragment();
  2955. if (c.createElement) while (b.length) c.createElement(b.pop());
  2956. return c;
  2957. }
  2958. var fb =
  2959. "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
  2960. gb = / jQuery\d+="(?:null|\d+)"/g,
  2961. hb = new RegExp("<(?:" + fb + ")[\\s/>]", "i"),
  2962. ib = /^\s+/,
  2963. jb =
  2964. /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  2965. kb = /<([\w:]+)/,
  2966. lb = /<tbody/i,
  2967. mb = /<|&#?\w+;/,
  2968. nb = /<(?:script|style|link)/i,
  2969. ob = /checked\s*(?:[^=]|=\s*.checked.)/i,
  2970. pb = /^$|\/(?:java|ecma)script/i,
  2971. qb = /^true\/(.*)/,
  2972. rb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  2973. sb = {
  2974. option: [1, "<select multiple='multiple'>", "</select>"],
  2975. legend: [1, "<fieldset>", "</fieldset>"],
  2976. area: [1, "<map>", "</map>"],
  2977. param: [1, "<object>", "</object>"],
  2978. thead: [1, "<table>", "</table>"],
  2979. tr: [2, "<table><tbody>", "</tbody></table>"],
  2980. col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
  2981. td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  2982. _default: l.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"],
  2983. },
  2984. tb = eb(z),
  2985. ub = tb.appendChild(z.createElement("div"));
  2986. (sb.optgroup = sb.option),
  2987. (sb.tbody = sb.tfoot = sb.colgroup = sb.caption = sb.thead),
  2988. (sb.th = sb.td);
  2989. function vb(a, b) {
  2990. var c,
  2991. d,
  2992. e = 0,
  2993. f =
  2994. typeof a.getElementsByTagName !== L
  2995. ? a.getElementsByTagName(b || "*")
  2996. : typeof a.querySelectorAll !== L
  2997. ? a.querySelectorAll(b || "*")
  2998. : void 0;
  2999. if (!f)
  3000. for (f = [], c = a.childNodes || a; null != (d = c[e]); e++)
  3001. !b || n.nodeName(d, b) ? f.push(d) : n.merge(f, vb(d, b));
  3002. return void 0 === b || (b && n.nodeName(a, b)) ? n.merge([a], f) : f;
  3003. }
  3004. function wb(a) {
  3005. X.test(a.type) && (a.defaultChecked = a.checked);
  3006. }
  3007. function xb(a, b) {
  3008. return n.nodeName(a, "table") &&
  3009. n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr")
  3010. ? a.getElementsByTagName("tbody")[0] ||
  3011. a.appendChild(a.ownerDocument.createElement("tbody"))
  3012. : a;
  3013. }
  3014. function yb(a) {
  3015. return (a.type = (null !== n.find.attr(a, "type")) + "/" + a.type), a;
  3016. }
  3017. function zb(a) {
  3018. var b = qb.exec(a.type);
  3019. return b ? (a.type = b[1]) : a.removeAttribute("type"), a;
  3020. }
  3021. function Ab(a, b) {
  3022. for (var c, d = 0; null != (c = a[d]); d++)
  3023. n._data(c, "globalEval", !b || n._data(b[d], "globalEval"));
  3024. }
  3025. function Bb(a, b) {
  3026. if (1 === b.nodeType && n.hasData(a)) {
  3027. var c,
  3028. d,
  3029. e,
  3030. f = n._data(a),
  3031. g = n._data(b, f),
  3032. h = f.events;
  3033. if (h) {
  3034. delete g.handle, (g.events = {});
  3035. for (c in h)
  3036. for (d = 0, e = h[c].length; e > d; d++) n.event.add(b, c, h[c][d]);
  3037. }
  3038. g.data && (g.data = n.extend({}, g.data));
  3039. }
  3040. }
  3041. function Cb(a, b) {
  3042. var c, d, e;
  3043. if (1 === b.nodeType) {
  3044. if (((c = b.nodeName.toLowerCase()), !l.noCloneEvent && b[n.expando])) {
  3045. e = n._data(b);
  3046. for (d in e.events) n.removeEvent(b, d, e.handle);
  3047. b.removeAttribute(n.expando);
  3048. }
  3049. "script" === c && b.text !== a.text
  3050. ? ((yb(b).text = a.text), zb(b))
  3051. : "object" === c
  3052. ? (b.parentNode && (b.outerHTML = a.outerHTML),
  3053. l.html5Clone &&
  3054. a.innerHTML &&
  3055. !n.trim(b.innerHTML) &&
  3056. (b.innerHTML = a.innerHTML))
  3057. : "input" === c && X.test(a.type)
  3058. ? ((b.defaultChecked = b.checked = a.checked),
  3059. b.value !== a.value && (b.value = a.value))
  3060. : "option" === c
  3061. ? (b.defaultSelected = b.selected = a.defaultSelected)
  3062. : ("input" === c || "textarea" === c) &&
  3063. (b.defaultValue = a.defaultValue);
  3064. }
  3065. }
  3066. n.extend({
  3067. clone: function (a, b, c) {
  3068. var d,
  3069. e,
  3070. f,
  3071. g,
  3072. h,
  3073. i = n.contains(a.ownerDocument, a);
  3074. if (
  3075. (l.html5Clone || n.isXMLDoc(a) || !hb.test("<" + a.nodeName + ">")
  3076. ? (f = a.cloneNode(!0))
  3077. : ((ub.innerHTML = a.outerHTML), ub.removeChild((f = ub.firstChild))),
  3078. !(
  3079. (l.noCloneEvent && l.noCloneChecked) ||
  3080. (1 !== a.nodeType && 11 !== a.nodeType) ||
  3081. n.isXMLDoc(a)
  3082. ))
  3083. )
  3084. for (d = vb(f), h = vb(a), g = 0; null != (e = h[g]); ++g)
  3085. d[g] && Cb(e, d[g]);
  3086. if (b)
  3087. if (c)
  3088. for (h = h || vb(a), d = d || vb(f), g = 0; null != (e = h[g]); g++)
  3089. Bb(e, d[g]);
  3090. else Bb(a, f);
  3091. return (
  3092. (d = vb(f, "script")),
  3093. d.length > 0 && Ab(d, !i && vb(a, "script")),
  3094. (d = h = e = null),
  3095. f
  3096. );
  3097. },
  3098. buildFragment: function (a, b, c, d) {
  3099. for (
  3100. var e, f, g, h, i, j, k, m = a.length, o = eb(b), p = [], q = 0;
  3101. m > q;
  3102. q++
  3103. )
  3104. if (((f = a[q]), f || 0 === f))
  3105. if ("object" === n.type(f)) n.merge(p, f.nodeType ? [f] : f);
  3106. else if (mb.test(f)) {
  3107. (h = h || o.appendChild(b.createElement("div"))),
  3108. (i = (kb.exec(f) || ["", ""])[1].toLowerCase()),
  3109. (k = sb[i] || sb._default),
  3110. (h.innerHTML = k[1] + f.replace(jb, "<$1></$2>") + k[2]),
  3111. (e = k[0]);
  3112. while (e--) h = h.lastChild;
  3113. if (
  3114. (!l.leadingWhitespace &&
  3115. ib.test(f) &&
  3116. p.push(b.createTextNode(ib.exec(f)[0])),
  3117. !l.tbody)
  3118. ) {
  3119. (f =
  3120. "table" !== i || lb.test(f)
  3121. ? "<table>" !== k[1] || lb.test(f)
  3122. ? 0
  3123. : h
  3124. : h.firstChild),
  3125. (e = f && f.childNodes.length);
  3126. while (e--)
  3127. n.nodeName((j = f.childNodes[e]), "tbody") &&
  3128. !j.childNodes.length &&
  3129. f.removeChild(j);
  3130. }
  3131. n.merge(p, h.childNodes), (h.textContent = "");
  3132. while (h.firstChild) h.removeChild(h.firstChild);
  3133. h = o.lastChild;
  3134. } else p.push(b.createTextNode(f));
  3135. h && o.removeChild(h),
  3136. l.appendChecked || n.grep(vb(p, "input"), wb),
  3137. (q = 0);
  3138. while ((f = p[q++]))
  3139. if (
  3140. (!d || -1 === n.inArray(f, d)) &&
  3141. ((g = n.contains(f.ownerDocument, f)),
  3142. (h = vb(o.appendChild(f), "script")),
  3143. g && Ab(h),
  3144. c)
  3145. ) {
  3146. e = 0;
  3147. while ((f = h[e++])) pb.test(f.type || "") && c.push(f);
  3148. }
  3149. return (h = null), o;
  3150. },
  3151. cleanData: function (a, b) {
  3152. for (
  3153. var d,
  3154. e,
  3155. f,
  3156. g,
  3157. h = 0,
  3158. i = n.expando,
  3159. j = n.cache,
  3160. k = l.deleteExpando,
  3161. m = n.event.special;
  3162. null != (d = a[h]);
  3163. h++
  3164. )
  3165. if ((b || n.acceptData(d)) && ((f = d[i]), (g = f && j[f]))) {
  3166. if (g.events)
  3167. for (e in g.events)
  3168. m[e] ? n.event.remove(d, e) : n.removeEvent(d, e, g.handle);
  3169. j[f] &&
  3170. (delete j[f],
  3171. k
  3172. ? delete d[i]
  3173. : typeof d.removeAttribute !== L
  3174. ? d.removeAttribute(i)
  3175. : (d[i] = null),
  3176. c.push(f));
  3177. }
  3178. },
  3179. }),
  3180. n.fn.extend({
  3181. text: function (a) {
  3182. return W(
  3183. this,
  3184. function (a) {
  3185. return void 0 === a
  3186. ? n.text(this)
  3187. : this.empty().append(
  3188. ((this[0] && this[0].ownerDocument) || z).createTextNode(a)
  3189. );
  3190. },
  3191. null,
  3192. a,
  3193. arguments.length
  3194. );
  3195. },
  3196. append: function () {
  3197. return this.domManip(arguments, function (a) {
  3198. if (
  3199. 1 === this.nodeType ||
  3200. 11 === this.nodeType ||
  3201. 9 === this.nodeType
  3202. ) {
  3203. var b = xb(this, a);
  3204. b.appendChild(a);
  3205. }
  3206. });
  3207. },
  3208. prepend: function () {
  3209. return this.domManip(arguments, function (a) {
  3210. if (
  3211. 1 === this.nodeType ||
  3212. 11 === this.nodeType ||
  3213. 9 === this.nodeType
  3214. ) {
  3215. var b = xb(this, a);
  3216. b.insertBefore(a, b.firstChild);
  3217. }
  3218. });
  3219. },
  3220. before: function () {
  3221. return this.domManip(arguments, function (a) {
  3222. this.parentNode && this.parentNode.insertBefore(a, this);
  3223. });
  3224. },
  3225. after: function () {
  3226. return this.domManip(arguments, function (a) {
  3227. this.parentNode && this.parentNode.insertBefore(a, this.nextSibling);
  3228. });
  3229. },
  3230. remove: function (a, b) {
  3231. for (
  3232. var c, d = a ? n.filter(a, this) : this, e = 0;
  3233. null != (c = d[e]);
  3234. e++
  3235. )
  3236. b || 1 !== c.nodeType || n.cleanData(vb(c)),
  3237. c.parentNode &&
  3238. (b && n.contains(c.ownerDocument, c) && Ab(vb(c, "script")),
  3239. c.parentNode.removeChild(c));
  3240. return this;
  3241. },
  3242. empty: function () {
  3243. for (var a, b = 0; null != (a = this[b]); b++) {
  3244. 1 === a.nodeType && n.cleanData(vb(a, !1));
  3245. while (a.firstChild) a.removeChild(a.firstChild);
  3246. a.options && n.nodeName(a, "select") && (a.options.length = 0);
  3247. }
  3248. return this;
  3249. },
  3250. clone: function (a, b) {
  3251. return (
  3252. (a = null == a ? !1 : a),
  3253. (b = null == b ? a : b),
  3254. this.map(function () {
  3255. return n.clone(this, a, b);
  3256. })
  3257. );
  3258. },
  3259. html: function (a) {
  3260. return W(
  3261. this,
  3262. function (a) {
  3263. var b = this[0] || {},
  3264. c = 0,
  3265. d = this.length;
  3266. if (void 0 === a)
  3267. return 1 === b.nodeType ? b.innerHTML.replace(gb, "") : void 0;
  3268. if (
  3269. !(
  3270. "string" != typeof a ||
  3271. nb.test(a) ||
  3272. (!l.htmlSerialize && hb.test(a)) ||
  3273. (!l.leadingWhitespace && ib.test(a)) ||
  3274. sb[(kb.exec(a) || ["", ""])[1].toLowerCase()]
  3275. )
  3276. ) {
  3277. a = a.replace(jb, "<$1></$2>");
  3278. try {
  3279. for (; d > c; c++)
  3280. (b = this[c] || {}),
  3281. 1 === b.nodeType &&
  3282. (n.cleanData(vb(b, !1)), (b.innerHTML = a));
  3283. b = 0;
  3284. } catch (e) {}
  3285. }
  3286. b && this.empty().append(a);
  3287. },
  3288. null,
  3289. a,
  3290. arguments.length
  3291. );
  3292. },
  3293. replaceWith: function () {
  3294. var a = arguments[0];
  3295. return (
  3296. this.domManip(arguments, function (b) {
  3297. (a = this.parentNode),
  3298. n.cleanData(vb(this)),
  3299. a && a.replaceChild(b, this);
  3300. }),
  3301. a && (a.length || a.nodeType) ? this : this.remove()
  3302. );
  3303. },
  3304. detach: function (a) {
  3305. return this.remove(a, !0);
  3306. },
  3307. domManip: function (a, b) {
  3308. a = e.apply([], a);
  3309. var c,
  3310. d,
  3311. f,
  3312. g,
  3313. h,
  3314. i,
  3315. j = 0,
  3316. k = this.length,
  3317. m = this,
  3318. o = k - 1,
  3319. p = a[0],
  3320. q = n.isFunction(p);
  3321. if (q || (k > 1 && "string" == typeof p && !l.checkClone && ob.test(p)))
  3322. return this.each(function (c) {
  3323. var d = m.eq(c);
  3324. q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b);
  3325. });
  3326. if (
  3327. k &&
  3328. ((i = n.buildFragment(a, this[0].ownerDocument, !1, this)),
  3329. (c = i.firstChild),
  3330. 1 === i.childNodes.length && (i = c),
  3331. c)
  3332. ) {
  3333. for (g = n.map(vb(i, "script"), yb), f = g.length; k > j; j++)
  3334. (d = i),
  3335. j !== o &&
  3336. ((d = n.clone(d, !0, !0)), f && n.merge(g, vb(d, "script"))),
  3337. b.call(this[j], d, j);
  3338. if (f)
  3339. for (
  3340. h = g[g.length - 1].ownerDocument, n.map(g, zb), j = 0;
  3341. f > j;
  3342. j++
  3343. )
  3344. (d = g[j]),
  3345. pb.test(d.type || "") &&
  3346. !n._data(d, "globalEval") &&
  3347. n.contains(h, d) &&
  3348. (d.src
  3349. ? n._evalUrl && n._evalUrl(d.src)
  3350. : n.globalEval(
  3351. (d.text || d.textContent || d.innerHTML || "").replace(
  3352. rb,
  3353. ""
  3354. )
  3355. ));
  3356. i = c = null;
  3357. }
  3358. return this;
  3359. },
  3360. }),
  3361. n.each(
  3362. {
  3363. appendTo: "append",
  3364. prependTo: "prepend",
  3365. insertBefore: "before",
  3366. insertAfter: "after",
  3367. replaceAll: "replaceWith",
  3368. },
  3369. function (a, b) {
  3370. n.fn[a] = function (a) {
  3371. for (var c, d = 0, e = [], g = n(a), h = g.length - 1; h >= d; d++)
  3372. (c = d === h ? this : this.clone(!0)),
  3373. n(g[d])[b](c),
  3374. f.apply(e, c.get());
  3375. return this.pushStack(e);
  3376. };
  3377. }
  3378. );
  3379. var Db,
  3380. Eb = {};
  3381. function Fb(b, c) {
  3382. var d = n(c.createElement(b)).appendTo(c.body),
  3383. e = a.getDefaultComputedStyle
  3384. ? a.getDefaultComputedStyle(d[0]).display
  3385. : n.css(d[0], "display");
  3386. return d.detach(), e;
  3387. }
  3388. function Gb(a) {
  3389. var b = z,
  3390. c = Eb[a];
  3391. return (
  3392. c ||
  3393. ((c = Fb(a, b)),
  3394. ("none" !== c && c) ||
  3395. ((Db = (
  3396. Db || n("<iframe frameborder='0' width='0' height='0'/>")
  3397. ).appendTo(b.documentElement)),
  3398. (b = (Db[0].contentWindow || Db[0].contentDocument).document),
  3399. b.write(),
  3400. b.close(),
  3401. (c = Fb(a, b)),
  3402. Db.detach()),
  3403. (Eb[a] = c)),
  3404. c
  3405. );
  3406. }
  3407. !(function () {
  3408. var a,
  3409. b,
  3410. c = z.createElement("div"),
  3411. d =
  3412. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
  3413. (c.innerHTML =
  3414. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3415. (a = c.getElementsByTagName("a")[0]),
  3416. (a.style.cssText = "float:left;opacity:.5"),
  3417. (l.opacity = /^0.5/.test(a.style.opacity)),
  3418. (l.cssFloat = !!a.style.cssFloat),
  3419. (c.style.backgroundClip = "content-box"),
  3420. (c.cloneNode(!0).style.backgroundClip = ""),
  3421. (l.clearCloneStyle = "content-box" === c.style.backgroundClip),
  3422. (a = c = null),
  3423. (l.shrinkWrapBlocks = function () {
  3424. var a, c, e, f;
  3425. if (null == b) {
  3426. if (((a = z.getElementsByTagName("body")[0]), !a)) return;
  3427. (f =
  3428. "border:0;width:0;height:0;position:absolute;top:0;left:-9999px"),
  3429. (c = z.createElement("div")),
  3430. (e = z.createElement("div")),
  3431. a.appendChild(c).appendChild(e),
  3432. (b = !1),
  3433. typeof e.style.zoom !== L &&
  3434. ((e.style.cssText = d + ";width:1px;padding:1px;zoom:1"),
  3435. (e.innerHTML = "<div></div>"),
  3436. (e.firstChild.style.width = "5px"),
  3437. (b = 3 !== e.offsetWidth)),
  3438. a.removeChild(c),
  3439. (a = c = e = null);
  3440. }
  3441. return b;
  3442. });
  3443. })();
  3444. var Hb = /^margin/,
  3445. Ib = new RegExp("^(" + T + ")(?!px)[a-z%]+$", "i"),
  3446. Jb,
  3447. Kb,
  3448. Lb = /^(top|right|bottom|left)$/;
  3449. a.getComputedStyle
  3450. ? ((Jb = function (a) {
  3451. return a.ownerDocument.defaultView.getComputedStyle(a, null);
  3452. }),
  3453. (Kb = function (a, b, c) {
  3454. var d,
  3455. e,
  3456. f,
  3457. g,
  3458. h = a.style;
  3459. return (
  3460. (c = c || Jb(a)),
  3461. (g = c ? c.getPropertyValue(b) || c[b] : void 0),
  3462. c &&
  3463. ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)),
  3464. Ib.test(g) &&
  3465. Hb.test(b) &&
  3466. ((d = h.width),
  3467. (e = h.minWidth),
  3468. (f = h.maxWidth),
  3469. (h.minWidth = h.maxWidth = h.width = g),
  3470. (g = c.width),
  3471. (h.width = d),
  3472. (h.minWidth = e),
  3473. (h.maxWidth = f))),
  3474. void 0 === g ? g : g + ""
  3475. );
  3476. }))
  3477. : z.documentElement.currentStyle &&
  3478. ((Jb = function (a) {
  3479. return a.currentStyle;
  3480. }),
  3481. (Kb = function (a, b, c) {
  3482. var d,
  3483. e,
  3484. f,
  3485. g,
  3486. h = a.style;
  3487. return (
  3488. (c = c || Jb(a)),
  3489. (g = c ? c[b] : void 0),
  3490. null == g && h && h[b] && (g = h[b]),
  3491. Ib.test(g) &&
  3492. !Lb.test(b) &&
  3493. ((d = h.left),
  3494. (e = a.runtimeStyle),
  3495. (f = e && e.left),
  3496. f && (e.left = a.currentStyle.left),
  3497. (h.left = "fontSize" === b ? "1em" : g),
  3498. (g = h.pixelLeft + "px"),
  3499. (h.left = d),
  3500. f && (e.left = f)),
  3501. void 0 === g ? g : g + "" || "auto"
  3502. );
  3503. }));
  3504. function Mb(a, b) {
  3505. return {
  3506. get: function () {
  3507. var c = a();
  3508. if (null != c)
  3509. return c
  3510. ? void delete this.get
  3511. : (this.get = b).apply(this, arguments);
  3512. },
  3513. };
  3514. }
  3515. !(function () {
  3516. var b,
  3517. c,
  3518. d,
  3519. e,
  3520. f,
  3521. g,
  3522. h = z.createElement("div"),
  3523. i = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px",
  3524. j =
  3525. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
  3526. (h.innerHTML =
  3527. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3528. (b = h.getElementsByTagName("a")[0]),
  3529. (b.style.cssText = "float:left;opacity:.5"),
  3530. (l.opacity = /^0.5/.test(b.style.opacity)),
  3531. (l.cssFloat = !!b.style.cssFloat),
  3532. (h.style.backgroundClip = "content-box"),
  3533. (h.cloneNode(!0).style.backgroundClip = ""),
  3534. (l.clearCloneStyle = "content-box" === h.style.backgroundClip),
  3535. (b = h = null),
  3536. n.extend(l, {
  3537. reliableHiddenOffsets: function () {
  3538. if (null != c) return c;
  3539. var a,
  3540. b,
  3541. d,
  3542. e = z.createElement("div"),
  3543. f = z.getElementsByTagName("body")[0];
  3544. if (f)
  3545. return (
  3546. e.setAttribute("className", "t"),
  3547. (e.innerHTML =
  3548. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3549. (a = z.createElement("div")),
  3550. (a.style.cssText = i),
  3551. f.appendChild(a).appendChild(e),
  3552. (e.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"),
  3553. (b = e.getElementsByTagName("td")),
  3554. (b[0].style.cssText = "padding:0;margin:0;border:0;display:none"),
  3555. (d = 0 === b[0].offsetHeight),
  3556. (b[0].style.display = ""),
  3557. (b[1].style.display = "none"),
  3558. (c = d && 0 === b[0].offsetHeight),
  3559. f.removeChild(a),
  3560. (e = f = null),
  3561. c
  3562. );
  3563. },
  3564. boxSizing: function () {
  3565. return null == d && k(), d;
  3566. },
  3567. boxSizingReliable: function () {
  3568. return null == e && k(), e;
  3569. },
  3570. pixelPosition: function () {
  3571. return null == f && k(), f;
  3572. },
  3573. reliableMarginRight: function () {
  3574. var b, c, d, e;
  3575. if (null == g && a.getComputedStyle) {
  3576. if (((b = z.getElementsByTagName("body")[0]), !b)) return;
  3577. (c = z.createElement("div")),
  3578. (d = z.createElement("div")),
  3579. (c.style.cssText = i),
  3580. b.appendChild(c).appendChild(d),
  3581. (e = d.appendChild(z.createElement("div"))),
  3582. (e.style.cssText = d.style.cssText = j),
  3583. (e.style.marginRight = e.style.width = "0"),
  3584. (d.style.width = "1px"),
  3585. (g = !parseFloat(
  3586. (a.getComputedStyle(e, null) || {}).marginRight
  3587. )),
  3588. b.removeChild(c);
  3589. }
  3590. return g;
  3591. },
  3592. });
  3593. function k() {
  3594. var b,
  3595. c,
  3596. h = z.getElementsByTagName("body")[0];
  3597. h &&
  3598. ((b = z.createElement("div")),
  3599. (c = z.createElement("div")),
  3600. (b.style.cssText = i),
  3601. h.appendChild(b).appendChild(c),
  3602. (c.style.cssText =
  3603. "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%"),
  3604. n.swap(h, null != h.style.zoom ? { zoom: 1 } : {}, function () {
  3605. d = 4 === c.offsetWidth;
  3606. }),
  3607. (e = !0),
  3608. (f = !1),
  3609. (g = !0),
  3610. a.getComputedStyle &&
  3611. ((f = "1%" !== (a.getComputedStyle(c, null) || {}).top),
  3612. (e =
  3613. "4px" === (a.getComputedStyle(c, null) || { width: "4px" }).width)),
  3614. h.removeChild(b),
  3615. (c = h = null));
  3616. }
  3617. })(),
  3618. (n.swap = function (a, b, c, d) {
  3619. var e,
  3620. f,
  3621. g = {};
  3622. for (f in b) (g[f] = a.style[f]), (a.style[f] = b[f]);
  3623. e = c.apply(a, d || []);
  3624. for (f in b) a.style[f] = g[f];
  3625. return e;
  3626. });
  3627. var Nb = /alpha\([^)]*\)/i,
  3628. Ob = /opacity\s*=\s*([^)]*)/,
  3629. Pb = /^(none|table(?!-c[ea]).+)/,
  3630. Qb = new RegExp("^(" + T + ")(.*)$", "i"),
  3631. Rb = new RegExp("^([+-])=(" + T + ")", "i"),
  3632. Sb = { position: "absolute", visibility: "hidden", display: "block" },
  3633. Tb = { letterSpacing: 0, fontWeight: 400 },
  3634. Ub = ["Webkit", "O", "Moz", "ms"];
  3635. function Vb(a, b) {
  3636. if (b in a) return b;
  3637. var c = b.charAt(0).toUpperCase() + b.slice(1),
  3638. d = b,
  3639. e = Ub.length;
  3640. while (e--) if (((b = Ub[e] + c), b in a)) return b;
  3641. return d;
  3642. }
  3643. function Wb(a, b) {
  3644. for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)
  3645. (d = a[g]),
  3646. d.style &&
  3647. ((f[g] = n._data(d, "olddisplay")),
  3648. (c = d.style.display),
  3649. b
  3650. ? (f[g] || "none" !== c || (d.style.display = ""),
  3651. "" === d.style.display &&
  3652. V(d) &&
  3653. (f[g] = n._data(d, "olddisplay", Gb(d.nodeName))))
  3654. : f[g] ||
  3655. ((e = V(d)),
  3656. ((c && "none" !== c) || !e) &&
  3657. n._data(d, "olddisplay", e ? c : n.css(d, "display"))));
  3658. for (g = 0; h > g; g++)
  3659. (d = a[g]),
  3660. d.style &&
  3661. ((b && "none" !== d.style.display && "" !== d.style.display) ||
  3662. (d.style.display = b ? f[g] || "" : "none"));
  3663. return a;
  3664. }
  3665. function Xb(a, b, c) {
  3666. var d = Qb.exec(b);
  3667. return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b;
  3668. }
  3669. function Yb(a, b, c, d, e) {
  3670. for (
  3671. var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0,
  3672. g = 0;
  3673. 4 > f;
  3674. f += 2
  3675. )
  3676. "margin" === c && (g += n.css(a, c + U[f], !0, e)),
  3677. d
  3678. ? ("content" === c && (g -= n.css(a, "padding" + U[f], !0, e)),
  3679. "margin" !== c && (g -= n.css(a, "border" + U[f] + "Width", !0, e)))
  3680. : ((g += n.css(a, "padding" + U[f], !0, e)),
  3681. "padding" !== c &&
  3682. (g += n.css(a, "border" + U[f] + "Width", !0, e)));
  3683. return g;
  3684. }
  3685. function Zb(a, b, c) {
  3686. var d = !0,
  3687. e = "width" === b ? a.offsetWidth : a.offsetHeight,
  3688. f = Jb(a),
  3689. g = l.boxSizing() && "border-box" === n.css(a, "boxSizing", !1, f);
  3690. if (0 >= e || null == e) {
  3691. if (
  3692. ((e = Kb(a, b, f)),
  3693. (0 > e || null == e) && (e = a.style[b]),
  3694. Ib.test(e))
  3695. )
  3696. return e;
  3697. (d = g && (l.boxSizingReliable() || e === a.style[b])),
  3698. (e = parseFloat(e) || 0);
  3699. }
  3700. return e + Yb(a, b, c || (g ? "border" : "content"), d, f) + "px";
  3701. }
  3702. n.extend({
  3703. cssHooks: {
  3704. opacity: {
  3705. get: function (a, b) {
  3706. if (b) {
  3707. var c = Kb(a, "opacity");
  3708. return "" === c ? "1" : c;
  3709. }
  3710. },
  3711. },
  3712. },
  3713. cssNumber: {
  3714. columnCount: !0,
  3715. fillOpacity: !0,
  3716. fontWeight: !0,
  3717. lineHeight: !0,
  3718. opacity: !0,
  3719. order: !0,
  3720. orphans: !0,
  3721. widows: !0,
  3722. zIndex: !0,
  3723. zoom: !0,
  3724. },
  3725. cssProps: { float: l.cssFloat ? "cssFloat" : "styleFloat" },
  3726. style: function (a, b, c, d) {
  3727. if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  3728. var e,
  3729. f,
  3730. g,
  3731. h = n.camelCase(b),
  3732. i = a.style;
  3733. if (
  3734. ((b = n.cssProps[h] || (n.cssProps[h] = Vb(i, h))),
  3735. (g = n.cssHooks[b] || n.cssHooks[h]),
  3736. void 0 === c)
  3737. )
  3738. return g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b];
  3739. if (
  3740. ((f = typeof c),
  3741. "string" === f &&
  3742. (e = Rb.exec(c)) &&
  3743. ((c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b))), (f = "number")),
  3744. null != c &&
  3745. c === c &&
  3746. ("number" !== f || n.cssNumber[h] || (c += "px"),
  3747. l.clearCloneStyle ||
  3748. "" !== c ||
  3749. 0 !== b.indexOf("background") ||
  3750. (i[b] = "inherit"),
  3751. !(g && "set" in g && void 0 === (c = g.set(a, c, d)))))
  3752. )
  3753. try {
  3754. (i[b] = ""), (i[b] = c);
  3755. } catch (j) {}
  3756. }
  3757. },
  3758. css: function (a, b, c, d) {
  3759. var e,
  3760. f,
  3761. g,
  3762. h = n.camelCase(b);
  3763. return (
  3764. (b = n.cssProps[h] || (n.cssProps[h] = Vb(a.style, h))),
  3765. (g = n.cssHooks[b] || n.cssHooks[h]),
  3766. g && "get" in g && (f = g.get(a, !0, c)),
  3767. void 0 === f && (f = Kb(a, b, d)),
  3768. "normal" === f && b in Tb && (f = Tb[b]),
  3769. "" === c || c
  3770. ? ((e = parseFloat(f)), c === !0 || n.isNumeric(e) ? e || 0 : f)
  3771. : f
  3772. );
  3773. },
  3774. }),
  3775. n.each(["height", "width"], function (a, b) {
  3776. n.cssHooks[b] = {
  3777. get: function (a, c, d) {
  3778. return c
  3779. ? 0 === a.offsetWidth && Pb.test(n.css(a, "display"))
  3780. ? n.swap(a, Sb, function () {
  3781. return Zb(a, b, d);
  3782. })
  3783. : Zb(a, b, d)
  3784. : void 0;
  3785. },
  3786. set: function (a, c, d) {
  3787. var e = d && Jb(a);
  3788. return Xb(
  3789. a,
  3790. c,
  3791. d
  3792. ? Yb(
  3793. a,
  3794. b,
  3795. d,
  3796. l.boxSizing() &&
  3797. "border-box" === n.css(a, "boxSizing", !1, e),
  3798. e
  3799. )
  3800. : 0
  3801. );
  3802. },
  3803. };
  3804. }),
  3805. l.opacity ||
  3806. (n.cssHooks.opacity = {
  3807. get: function (a, b) {
  3808. return Ob.test(
  3809. (b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || ""
  3810. )
  3811. ? 0.01 * parseFloat(RegExp.$1) + ""
  3812. : b
  3813. ? "1"
  3814. : "";
  3815. },
  3816. set: function (a, b) {
  3817. var c = a.style,
  3818. d = a.currentStyle,
  3819. e = n.isNumeric(b) ? "alpha(opacity=" + 100 * b + ")" : "",
  3820. f = (d && d.filter) || c.filter || "";
  3821. (c.zoom = 1),
  3822. ((b >= 1 || "" === b) &&
  3823. "" === n.trim(f.replace(Nb, "")) &&
  3824. c.removeAttribute &&
  3825. (c.removeAttribute("filter"), "" === b || (d && !d.filter))) ||
  3826. (c.filter = Nb.test(f) ? f.replace(Nb, e) : f + " " + e);
  3827. },
  3828. }),
  3829. (n.cssHooks.marginRight = Mb(l.reliableMarginRight, function (a, b) {
  3830. return b
  3831. ? n.swap(a, { display: "inline-block" }, Kb, [a, "marginRight"])
  3832. : void 0;
  3833. })),
  3834. n.each({ margin: "", padding: "", border: "Width" }, function (a, b) {
  3835. (n.cssHooks[a + b] = {
  3836. expand: function (c) {
  3837. for (
  3838. var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c];
  3839. 4 > d;
  3840. d++
  3841. )
  3842. e[a + U[d] + b] = f[d] || f[d - 2] || f[0];
  3843. return e;
  3844. },
  3845. }),
  3846. Hb.test(a) || (n.cssHooks[a + b].set = Xb);
  3847. }),
  3848. n.fn.extend({
  3849. css: function (a, b) {
  3850. return W(
  3851. this,
  3852. function (a, b, c) {
  3853. var d,
  3854. e,
  3855. f = {},
  3856. g = 0;
  3857. if (n.isArray(b)) {
  3858. for (d = Jb(a), e = b.length; e > g; g++)
  3859. f[b[g]] = n.css(a, b[g], !1, d);
  3860. return f;
  3861. }
  3862. return void 0 !== c ? n.style(a, b, c) : n.css(a, b);
  3863. },
  3864. a,
  3865. b,
  3866. arguments.length > 1
  3867. );
  3868. },
  3869. show: function () {
  3870. return Wb(this, !0);
  3871. },
  3872. hide: function () {
  3873. return Wb(this);
  3874. },
  3875. toggle: function (a) {
  3876. return "boolean" == typeof a
  3877. ? a
  3878. ? this.show()
  3879. : this.hide()
  3880. : this.each(function () {
  3881. V(this) ? n(this).show() : n(this).hide();
  3882. });
  3883. },
  3884. });
  3885. function $b(a, b, c, d, e) {
  3886. return new $b.prototype.init(a, b, c, d, e);
  3887. }
  3888. (n.Tween = $b),
  3889. ($b.prototype = {
  3890. constructor: $b,
  3891. init: function (a, b, c, d, e, f) {
  3892. (this.elem = a),
  3893. (this.prop = c),
  3894. (this.easing = e || "swing"),
  3895. (this.options = b),
  3896. (this.start = this.now = this.cur()),
  3897. (this.end = d),
  3898. (this.unit = f || (n.cssNumber[c] ? "" : "px"));
  3899. },
  3900. cur: function () {
  3901. var a = $b.propHooks[this.prop];
  3902. return a && a.get ? a.get(this) : $b.propHooks._default.get(this);
  3903. },
  3904. run: function (a) {
  3905. var b,
  3906. c = $b.propHooks[this.prop];
  3907. return (
  3908. (this.pos = b =
  3909. this.options.duration
  3910. ? n.easing[this.easing](
  3911. a,
  3912. this.options.duration * a,
  3913. 0,
  3914. 1,
  3915. this.options.duration
  3916. )
  3917. : a),
  3918. (this.now = (this.end - this.start) * b + this.start),
  3919. this.options.step &&
  3920. this.options.step.call(this.elem, this.now, this),
  3921. c && c.set ? c.set(this) : $b.propHooks._default.set(this),
  3922. this
  3923. );
  3924. },
  3925. }),
  3926. ($b.prototype.init.prototype = $b.prototype),
  3927. ($b.propHooks = {
  3928. _default: {
  3929. get: function (a) {
  3930. var b;
  3931. return null == a.elem[a.prop] ||
  3932. (a.elem.style && null != a.elem.style[a.prop])
  3933. ? ((b = n.css(a.elem, a.prop, "")), b && "auto" !== b ? b : 0)
  3934. : a.elem[a.prop];
  3935. },
  3936. set: function (a) {
  3937. n.fx.step[a.prop]
  3938. ? n.fx.step[a.prop](a)
  3939. : a.elem.style &&
  3940. (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop])
  3941. ? n.style(a.elem, a.prop, a.now + a.unit)
  3942. : (a.elem[a.prop] = a.now);
  3943. },
  3944. },
  3945. }),
  3946. ($b.propHooks.scrollTop = $b.propHooks.scrollLeft =
  3947. {
  3948. set: function (a) {
  3949. a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now);
  3950. },
  3951. }),
  3952. (n.easing = {
  3953. linear: function (a) {
  3954. return a;
  3955. },
  3956. swing: function (a) {
  3957. return 0.5 - Math.cos(a * Math.PI) / 2;
  3958. },
  3959. }),
  3960. (n.fx = $b.prototype.init),
  3961. (n.fx.step = {});
  3962. var _b,
  3963. ac,
  3964. bc = /^(?:toggle|show|hide)$/,
  3965. cc = new RegExp("^(?:([+-])=|)(" + T + ")([a-z%]*)$", "i"),
  3966. dc = /queueHooks$/,
  3967. ec = [jc],
  3968. fc = {
  3969. "*": [
  3970. function (a, b) {
  3971. var c = this.createTween(a, b),
  3972. d = c.cur(),
  3973. e = cc.exec(b),
  3974. f = (e && e[3]) || (n.cssNumber[a] ? "" : "px"),
  3975. g =
  3976. (n.cssNumber[a] || ("px" !== f && +d)) &&
  3977. cc.exec(n.css(c.elem, a)),
  3978. h = 1,
  3979. i = 20;
  3980. if (g && g[3] !== f) {
  3981. (f = f || g[3]), (e = e || []), (g = +d || 1);
  3982. do (h = h || ".5"), (g /= h), n.style(c.elem, a, g + f);
  3983. while (h !== (h = c.cur() / d) && 1 !== h && --i);
  3984. }
  3985. return (
  3986. e &&
  3987. ((g = c.start = +g || +d || 0),
  3988. (c.unit = f),
  3989. (c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2])),
  3990. c
  3991. );
  3992. },
  3993. ],
  3994. };
  3995. function gc() {
  3996. return (
  3997. setTimeout(function () {
  3998. _b = void 0;
  3999. }),
  4000. (_b = n.now())
  4001. );
  4002. }
  4003. function hc(a, b) {
  4004. var c,
  4005. d = { height: a },
  4006. e = 0;
  4007. for (b = b ? 1 : 0; 4 > e; e += 2 - b)
  4008. (c = U[e]), (d["margin" + c] = d["padding" + c] = a);
  4009. return b && (d.opacity = d.width = a), d;
  4010. }
  4011. function ic(a, b, c) {
  4012. for (
  4013. var d, e = (fc[b] || []).concat(fc["*"]), f = 0, g = e.length;
  4014. g > f;
  4015. f++
  4016. )
  4017. if ((d = e[f].call(c, b, a))) return d;
  4018. }
  4019. function jc(a, b, c) {
  4020. var d,
  4021. e,
  4022. f,
  4023. g,
  4024. h,
  4025. i,
  4026. j,
  4027. k,
  4028. m = this,
  4029. o = {},
  4030. p = a.style,
  4031. q = a.nodeType && V(a),
  4032. r = n._data(a, "fxshow");
  4033. c.queue ||
  4034. ((h = n._queueHooks(a, "fx")),
  4035. null == h.unqueued &&
  4036. ((h.unqueued = 0),
  4037. (i = h.empty.fire),
  4038. (h.empty.fire = function () {
  4039. h.unqueued || i();
  4040. })),
  4041. h.unqueued++,
  4042. m.always(function () {
  4043. m.always(function () {
  4044. h.unqueued--, n.queue(a, "fx").length || h.empty.fire();
  4045. });
  4046. })),
  4047. 1 === a.nodeType &&
  4048. ("height" in b || "width" in b) &&
  4049. ((c.overflow = [p.overflow, p.overflowX, p.overflowY]),
  4050. (j = n.css(a, "display")),
  4051. (k = Gb(a.nodeName)),
  4052. "none" === j && (j = k),
  4053. "inline" === j &&
  4054. "none" === n.css(a, "float") &&
  4055. (l.inlineBlockNeedsLayout && "inline" !== k
  4056. ? (p.zoom = 1)
  4057. : (p.display = "inline-block"))),
  4058. c.overflow &&
  4059. ((p.overflow = "hidden"),
  4060. l.shrinkWrapBlocks() ||
  4061. m.always(function () {
  4062. (p.overflow = c.overflow[0]),
  4063. (p.overflowX = c.overflow[1]),
  4064. (p.overflowY = c.overflow[2]);
  4065. }));
  4066. for (d in b)
  4067. if (((e = b[d]), bc.exec(e))) {
  4068. if (
  4069. (delete b[d], (f = f || "toggle" === e), e === (q ? "hide" : "show"))
  4070. ) {
  4071. if ("show" !== e || !r || void 0 === r[d]) continue;
  4072. q = !0;
  4073. }
  4074. o[d] = (r && r[d]) || n.style(a, d);
  4075. }
  4076. if (!n.isEmptyObject(o)) {
  4077. r ? "hidden" in r && (q = r.hidden) : (r = n._data(a, "fxshow", {})),
  4078. f && (r.hidden = !q),
  4079. q
  4080. ? n(a).show()
  4081. : m.done(function () {
  4082. n(a).hide();
  4083. }),
  4084. m.done(function () {
  4085. var b;
  4086. n._removeData(a, "fxshow");
  4087. for (b in o) n.style(a, b, o[b]);
  4088. });
  4089. for (d in o)
  4090. (g = ic(q ? r[d] : 0, d, m)),
  4091. d in r ||
  4092. ((r[d] = g.start),
  4093. q &&
  4094. ((g.end = g.start),
  4095. (g.start = "width" === d || "height" === d ? 1 : 0)));
  4096. }
  4097. }
  4098. function kc(a, b) {
  4099. var c, d, e, f, g;
  4100. for (c in a)
  4101. if (
  4102. ((d = n.camelCase(c)),
  4103. (e = b[d]),
  4104. (f = a[c]),
  4105. n.isArray(f) && ((e = f[1]), (f = a[c] = f[0])),
  4106. c !== d && ((a[d] = f), delete a[c]),
  4107. (g = n.cssHooks[d]),
  4108. g && "expand" in g)
  4109. ) {
  4110. (f = g.expand(f)), delete a[d];
  4111. for (c in f) c in a || ((a[c] = f[c]), (b[c] = e));
  4112. } else b[d] = e;
  4113. }
  4114. function lc(a, b, c) {
  4115. var d,
  4116. e,
  4117. f = 0,
  4118. g = ec.length,
  4119. h = n.Deferred().always(function () {
  4120. delete i.elem;
  4121. }),
  4122. i = function () {
  4123. if (e) return !1;
  4124. for (
  4125. var b = _b || gc(),
  4126. c = Math.max(0, j.startTime + j.duration - b),
  4127. d = c / j.duration || 0,
  4128. f = 1 - d,
  4129. g = 0,
  4130. i = j.tweens.length;
  4131. i > g;
  4132. g++
  4133. )
  4134. j.tweens[g].run(f);
  4135. return (
  4136. h.notifyWith(a, [j, f, c]),
  4137. 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
  4138. );
  4139. },
  4140. j = h.promise({
  4141. elem: a,
  4142. props: n.extend({}, b),
  4143. opts: n.extend(!0, { specialEasing: {} }, c),
  4144. originalProperties: b,
  4145. originalOptions: c,
  4146. startTime: _b || gc(),
  4147. duration: c.duration,
  4148. tweens: [],
  4149. createTween: function (b, c) {
  4150. var d = n.Tween(
  4151. a,
  4152. j.opts,
  4153. b,
  4154. c,
  4155. j.opts.specialEasing[b] || j.opts.easing
  4156. );
  4157. return j.tweens.push(d), d;
  4158. },
  4159. stop: function (b) {
  4160. var c = 0,
  4161. d = b ? j.tweens.length : 0;
  4162. if (e) return this;
  4163. for (e = !0; d > c; c++) j.tweens[c].run(1);
  4164. return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this;
  4165. },
  4166. }),
  4167. k = j.props;
  4168. for (kc(k, j.opts.specialEasing); g > f; f++)
  4169. if ((d = ec[f].call(j, a, k, j.opts))) return d;
  4170. return (
  4171. n.map(k, ic, j),
  4172. n.isFunction(j.opts.start) && j.opts.start.call(a, j),
  4173. n.fx.timer(n.extend(i, { elem: a, anim: j, queue: j.opts.queue })),
  4174. j
  4175. .progress(j.opts.progress)
  4176. .done(j.opts.done, j.opts.complete)
  4177. .fail(j.opts.fail)
  4178. .always(j.opts.always)
  4179. );
  4180. }
  4181. (n.Animation = n.extend(lc, {
  4182. tweener: function (a, b) {
  4183. n.isFunction(a) ? ((b = a), (a = ["*"])) : (a = a.split(" "));
  4184. for (var c, d = 0, e = a.length; e > d; d++)
  4185. (c = a[d]), (fc[c] = fc[c] || []), fc[c].unshift(b);
  4186. },
  4187. prefilter: function (a, b) {
  4188. b ? ec.unshift(a) : ec.push(a);
  4189. },
  4190. })),
  4191. (n.speed = function (a, b, c) {
  4192. var d =
  4193. a && "object" == typeof a
  4194. ? n.extend({}, a)
  4195. : {
  4196. complete: c || (!c && b) || (n.isFunction(a) && a),
  4197. duration: a,
  4198. easing: (c && b) || (b && !n.isFunction(b) && b),
  4199. };
  4200. return (
  4201. (d.duration = n.fx.off
  4202. ? 0
  4203. : "number" == typeof d.duration
  4204. ? d.duration
  4205. : d.duration in n.fx.speeds
  4206. ? n.fx.speeds[d.duration]
  4207. : n.fx.speeds._default),
  4208. (null == d.queue || d.queue === !0) && (d.queue = "fx"),
  4209. (d.old = d.complete),
  4210. (d.complete = function () {
  4211. n.isFunction(d.old) && d.old.call(this),
  4212. d.queue && n.dequeue(this, d.queue);
  4213. }),
  4214. d
  4215. );
  4216. }),
  4217. n.fn.extend({
  4218. fadeTo: function (a, b, c, d) {
  4219. return this.filter(V)
  4220. .css("opacity", 0)
  4221. .show()
  4222. .end()
  4223. .animate({ opacity: b }, a, c, d);
  4224. },
  4225. animate: function (a, b, c, d) {
  4226. var e = n.isEmptyObject(a),
  4227. f = n.speed(b, c, d),
  4228. g = function () {
  4229. var b = lc(this, n.extend({}, a), f);
  4230. (e || n._data(this, "finish")) && b.stop(!0);
  4231. };
  4232. return (
  4233. (g.finish = g),
  4234. e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
  4235. );
  4236. },
  4237. stop: function (a, b, c) {
  4238. var d = function (a) {
  4239. var b = a.stop;
  4240. delete a.stop, b(c);
  4241. };
  4242. return (
  4243. "string" != typeof a && ((c = b), (b = a), (a = void 0)),
  4244. b && a !== !1 && this.queue(a || "fx", []),
  4245. this.each(function () {
  4246. var b = !0,
  4247. e = null != a && a + "queueHooks",
  4248. f = n.timers,
  4249. g = n._data(this);
  4250. if (e) g[e] && g[e].stop && d(g[e]);
  4251. else for (e in g) g[e] && g[e].stop && dc.test(e) && d(g[e]);
  4252. for (e = f.length; e--; )
  4253. f[e].elem !== this ||
  4254. (null != a && f[e].queue !== a) ||
  4255. (f[e].anim.stop(c), (b = !1), f.splice(e, 1));
  4256. (b || !c) && n.dequeue(this, a);
  4257. })
  4258. );
  4259. },
  4260. finish: function (a) {
  4261. return (
  4262. a !== !1 && (a = a || "fx"),
  4263. this.each(function () {
  4264. var b,
  4265. c = n._data(this),
  4266. d = c[a + "queue"],
  4267. e = c[a + "queueHooks"],
  4268. f = n.timers,
  4269. g = d ? d.length : 0;
  4270. for (
  4271. c.finish = !0,
  4272. n.queue(this, a, []),
  4273. e && e.stop && e.stop.call(this, !0),
  4274. b = f.length;
  4275. b--;
  4276. )
  4277. f[b].elem === this &&
  4278. f[b].queue === a &&
  4279. (f[b].anim.stop(!0), f.splice(b, 1));
  4280. for (b = 0; g > b; b++)
  4281. d[b] && d[b].finish && d[b].finish.call(this);
  4282. delete c.finish;
  4283. })
  4284. );
  4285. },
  4286. }),
  4287. n.each(["toggle", "show", "hide"], function (a, b) {
  4288. var c = n.fn[b];
  4289. n.fn[b] = function (a, d, e) {
  4290. return null == a || "boolean" == typeof a
  4291. ? c.apply(this, arguments)
  4292. : this.animate(hc(b, !0), a, d, e);
  4293. };
  4294. }),
  4295. n.each(
  4296. {
  4297. slideDown: hc("show"),
  4298. slideUp: hc("hide"),
  4299. slideToggle: hc("toggle"),
  4300. fadeIn: { opacity: "show" },
  4301. fadeOut: { opacity: "hide" },
  4302. fadeToggle: { opacity: "toggle" },
  4303. },
  4304. function (a, b) {
  4305. n.fn[a] = function (a, c, d) {
  4306. return this.animate(b, a, c, d);
  4307. };
  4308. }
  4309. ),
  4310. (n.timers = []),
  4311. (n.fx.tick = function () {
  4312. var a,
  4313. b = n.timers,
  4314. c = 0;
  4315. for (_b = n.now(); c < b.length; c++)
  4316. (a = b[c]), a() || b[c] !== a || b.splice(c--, 1);
  4317. b.length || n.fx.stop(), (_b = void 0);
  4318. }),
  4319. (n.fx.timer = function (a) {
  4320. n.timers.push(a), a() ? n.fx.start() : n.timers.pop();
  4321. }),
  4322. (n.fx.interval = 13),
  4323. (n.fx.start = function () {
  4324. ac || (ac = setInterval(n.fx.tick, n.fx.interval));
  4325. }),
  4326. (n.fx.stop = function () {
  4327. clearInterval(ac), (ac = null);
  4328. }),
  4329. (n.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
  4330. (n.fn.delay = function (a, b) {
  4331. return (
  4332. (a = n.fx ? n.fx.speeds[a] || a : a),
  4333. (b = b || "fx"),
  4334. this.queue(b, function (b, c) {
  4335. var d = setTimeout(b, a);
  4336. c.stop = function () {
  4337. clearTimeout(d);
  4338. };
  4339. })
  4340. );
  4341. }),
  4342. (function () {
  4343. var a,
  4344. b,
  4345. c,
  4346. d,
  4347. e = z.createElement("div");
  4348. e.setAttribute("className", "t"),
  4349. (e.innerHTML =
  4350. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  4351. (a = e.getElementsByTagName("a")[0]),
  4352. (c = z.createElement("select")),
  4353. (d = c.appendChild(z.createElement("option"))),
  4354. (b = e.getElementsByTagName("input")[0]),
  4355. (a.style.cssText = "top:1px"),
  4356. (l.getSetAttribute = "t" !== e.className),
  4357. (l.style = /top/.test(a.getAttribute("style"))),
  4358. (l.hrefNormalized = "/a" === a.getAttribute("href")),
  4359. (l.checkOn = !!b.value),
  4360. (l.optSelected = d.selected),
  4361. (l.enctype = !!z.createElement("form").enctype),
  4362. (c.disabled = !0),
  4363. (l.optDisabled = !d.disabled),
  4364. (b = z.createElement("input")),
  4365. b.setAttribute("value", ""),
  4366. (l.input = "" === b.getAttribute("value")),
  4367. (b.value = "t"),
  4368. b.setAttribute("type", "radio"),
  4369. (l.radioValue = "t" === b.value),
  4370. (a = b = c = d = e = null);
  4371. })();
  4372. var mc = /\r/g;
  4373. n.fn.extend({
  4374. val: function (a) {
  4375. var b,
  4376. c,
  4377. d,
  4378. e = this[0];
  4379. {
  4380. if (arguments.length)
  4381. return (
  4382. (d = n.isFunction(a)),
  4383. this.each(function (c) {
  4384. var e;
  4385. 1 === this.nodeType &&
  4386. ((e = d ? a.call(this, c, n(this).val()) : a),
  4387. null == e
  4388. ? (e = "")
  4389. : "number" == typeof e
  4390. ? (e += "")
  4391. : n.isArray(e) &&
  4392. (e = n.map(e, function (a) {
  4393. return null == a ? "" : a + "";
  4394. })),
  4395. (b =
  4396. n.valHooks[this.type] ||
  4397. n.valHooks[this.nodeName.toLowerCase()]),
  4398. (b && "set" in b && void 0 !== b.set(this, e, "value")) ||
  4399. (this.value = e));
  4400. })
  4401. );
  4402. if (e)
  4403. return (
  4404. (b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()]),
  4405. b && "get" in b && void 0 !== (c = b.get(e, "value"))
  4406. ? c
  4407. : ((c = e.value),
  4408. "string" == typeof c ? c.replace(mc, "") : null == c ? "" : c)
  4409. );
  4410. }
  4411. },
  4412. }),
  4413. n.extend({
  4414. valHooks: {
  4415. option: {
  4416. get: function (a) {
  4417. var b = n.find.attr(a, "value");
  4418. return null != b ? b : n.text(a);
  4419. },
  4420. },
  4421. select: {
  4422. get: function (a) {
  4423. for (
  4424. var b,
  4425. c,
  4426. d = a.options,
  4427. e = a.selectedIndex,
  4428. f = "select-one" === a.type || 0 > e,
  4429. g = f ? null : [],
  4430. h = f ? e + 1 : d.length,
  4431. i = 0 > e ? h : f ? e : 0;
  4432. h > i;
  4433. i++
  4434. )
  4435. if (
  4436. ((c = d[i]),
  4437. !(
  4438. (!c.selected && i !== e) ||
  4439. (l.optDisabled
  4440. ? c.disabled
  4441. : null !== c.getAttribute("disabled")) ||
  4442. (c.parentNode.disabled &&
  4443. n.nodeName(c.parentNode, "optgroup"))
  4444. ))
  4445. ) {
  4446. if (((b = n(c).val()), f)) return b;
  4447. g.push(b);
  4448. }
  4449. return g;
  4450. },
  4451. set: function (a, b) {
  4452. var c,
  4453. d,
  4454. e = a.options,
  4455. f = n.makeArray(b),
  4456. g = e.length;
  4457. while (g--)
  4458. if (((d = e[g]), n.inArray(n.valHooks.option.get(d), f) >= 0))
  4459. try {
  4460. d.selected = c = !0;
  4461. } catch (h) {
  4462. d.scrollHeight;
  4463. }
  4464. else d.selected = !1;
  4465. return c || (a.selectedIndex = -1), e;
  4466. },
  4467. },
  4468. },
  4469. }),
  4470. n.each(["radio", "checkbox"], function () {
  4471. (n.valHooks[this] = {
  4472. set: function (a, b) {
  4473. return n.isArray(b)
  4474. ? (a.checked = n.inArray(n(a).val(), b) >= 0)
  4475. : void 0;
  4476. },
  4477. }),
  4478. l.checkOn ||
  4479. (n.valHooks[this].get = function (a) {
  4480. return null === a.getAttribute("value") ? "on" : a.value;
  4481. });
  4482. });
  4483. var nc,
  4484. oc,
  4485. pc = n.expr.attrHandle,
  4486. qc = /^(?:checked|selected)$/i,
  4487. rc = l.getSetAttribute,
  4488. sc = l.input;
  4489. n.fn.extend({
  4490. attr: function (a, b) {
  4491. return W(this, n.attr, a, b, arguments.length > 1);
  4492. },
  4493. removeAttr: function (a) {
  4494. return this.each(function () {
  4495. n.removeAttr(this, a);
  4496. });
  4497. },
  4498. }),
  4499. n.extend({
  4500. attr: function (a, b, c) {
  4501. var d,
  4502. e,
  4503. f = a.nodeType;
  4504. if (a && 3 !== f && 8 !== f && 2 !== f)
  4505. return typeof a.getAttribute === L
  4506. ? n.prop(a, b, c)
  4507. : ((1 === f && n.isXMLDoc(a)) ||
  4508. ((b = b.toLowerCase()),
  4509. (d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? oc : nc))),
  4510. void 0 === c
  4511. ? d && "get" in d && null !== (e = d.get(a, b))
  4512. ? e
  4513. : ((e = n.find.attr(a, b)), null == e ? void 0 : e)
  4514. : null !== c
  4515. ? d && "set" in d && void 0 !== (e = d.set(a, c, b))
  4516. ? e
  4517. : (a.setAttribute(b, c + ""), c)
  4518. : void n.removeAttr(a, b));
  4519. },
  4520. removeAttr: function (a, b) {
  4521. var c,
  4522. d,
  4523. e = 0,
  4524. f = b && b.match(F);
  4525. if (f && 1 === a.nodeType)
  4526. while ((c = f[e++]))
  4527. (d = n.propFix[c] || c),
  4528. n.expr.match.bool.test(c)
  4529. ? (sc && rc) || !qc.test(c)
  4530. ? (a[d] = !1)
  4531. : (a[n.camelCase("default-" + c)] = a[d] = !1)
  4532. : n.attr(a, c, ""),
  4533. a.removeAttribute(rc ? c : d);
  4534. },
  4535. attrHooks: {
  4536. type: {
  4537. set: function (a, b) {
  4538. if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
  4539. var c = a.value;
  4540. return a.setAttribute("type", b), c && (a.value = c), b;
  4541. }
  4542. },
  4543. },
  4544. },
  4545. }),
  4546. (oc = {
  4547. set: function (a, b, c) {
  4548. return (
  4549. b === !1
  4550. ? n.removeAttr(a, c)
  4551. : (sc && rc) || !qc.test(c)
  4552. ? a.setAttribute((!rc && n.propFix[c]) || c, c)
  4553. : (a[n.camelCase("default-" + c)] = a[c] = !0),
  4554. c
  4555. );
  4556. },
  4557. }),
  4558. n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
  4559. var c = pc[b] || n.find.attr;
  4560. pc[b] =
  4561. (sc && rc) || !qc.test(b)
  4562. ? function (a, b, d) {
  4563. var e, f;
  4564. return (
  4565. d ||
  4566. ((f = pc[b]),
  4567. (pc[b] = e),
  4568. (e = null != c(a, b, d) ? b.toLowerCase() : null),
  4569. (pc[b] = f)),
  4570. e
  4571. );
  4572. }
  4573. : function (a, b, c) {
  4574. return c
  4575. ? void 0
  4576. : a[n.camelCase("default-" + b)]
  4577. ? b.toLowerCase()
  4578. : null;
  4579. };
  4580. }),
  4581. (sc && rc) ||
  4582. (n.attrHooks.value = {
  4583. set: function (a, b, c) {
  4584. return n.nodeName(a, "input")
  4585. ? void (a.defaultValue = b)
  4586. : nc && nc.set(a, b, c);
  4587. },
  4588. }),
  4589. rc ||
  4590. ((nc = {
  4591. set: function (a, b, c) {
  4592. var d = a.getAttributeNode(c);
  4593. return (
  4594. d || a.setAttributeNode((d = a.ownerDocument.createAttribute(c))),
  4595. (d.value = b += ""),
  4596. "value" === c || b === a.getAttribute(c) ? b : void 0
  4597. );
  4598. },
  4599. }),
  4600. (pc.id =
  4601. pc.name =
  4602. pc.coords =
  4603. function (a, b, c) {
  4604. var d;
  4605. return c
  4606. ? void 0
  4607. : (d = a.getAttributeNode(b)) && "" !== d.value
  4608. ? d.value
  4609. : null;
  4610. }),
  4611. (n.valHooks.button = {
  4612. get: function (a, b) {
  4613. var c = a.getAttributeNode(b);
  4614. return c && c.specified ? c.value : void 0;
  4615. },
  4616. set: nc.set,
  4617. }),
  4618. (n.attrHooks.contenteditable = {
  4619. set: function (a, b, c) {
  4620. nc.set(a, "" === b ? !1 : b, c);
  4621. },
  4622. }),
  4623. n.each(["width", "height"], function (a, b) {
  4624. n.attrHooks[b] = {
  4625. set: function (a, c) {
  4626. return "" === c ? (a.setAttribute(b, "auto"), c) : void 0;
  4627. },
  4628. };
  4629. })),
  4630. l.style ||
  4631. (n.attrHooks.style = {
  4632. get: function (a) {
  4633. return a.style.cssText || void 0;
  4634. },
  4635. set: function (a, b) {
  4636. return (a.style.cssText = b + "");
  4637. },
  4638. });
  4639. var tc = /^(?:input|select|textarea|button|object)$/i,
  4640. uc = /^(?:a|area)$/i;
  4641. n.fn.extend({
  4642. prop: function (a, b) {
  4643. return W(this, n.prop, a, b, arguments.length > 1);
  4644. },
  4645. removeProp: function (a) {
  4646. return (
  4647. (a = n.propFix[a] || a),
  4648. this.each(function () {
  4649. try {
  4650. (this[a] = void 0), delete this[a];
  4651. } catch (b) {}
  4652. })
  4653. );
  4654. },
  4655. }),
  4656. n.extend({
  4657. propFix: { for: "htmlFor", class: "className" },
  4658. prop: function (a, b, c) {
  4659. var d,
  4660. e,
  4661. f,
  4662. g = a.nodeType;
  4663. if (a && 3 !== g && 8 !== g && 2 !== g)
  4664. return (
  4665. (f = 1 !== g || !n.isXMLDoc(a)),
  4666. f && ((b = n.propFix[b] || b), (e = n.propHooks[b])),
  4667. void 0 !== c
  4668. ? e && "set" in e && void 0 !== (d = e.set(a, c, b))
  4669. ? d
  4670. : (a[b] = c)
  4671. : e && "get" in e && null !== (d = e.get(a, b))
  4672. ? d
  4673. : a[b]
  4674. );
  4675. },
  4676. propHooks: {
  4677. tabIndex: {
  4678. get: function (a) {
  4679. var b = n.find.attr(a, "tabindex");
  4680. return b
  4681. ? parseInt(b, 10)
  4682. : tc.test(a.nodeName) || (uc.test(a.nodeName) && a.href)
  4683. ? 0
  4684. : -1;
  4685. },
  4686. },
  4687. },
  4688. }),
  4689. l.hrefNormalized ||
  4690. n.each(["href", "src"], function (a, b) {
  4691. n.propHooks[b] = {
  4692. get: function (a) {
  4693. return a.getAttribute(b, 4);
  4694. },
  4695. };
  4696. }),
  4697. l.optSelected ||
  4698. (n.propHooks.selected = {
  4699. get: function (a) {
  4700. var b = a.parentNode;
  4701. return (
  4702. b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex),
  4703. null
  4704. );
  4705. },
  4706. }),
  4707. n.each(
  4708. [
  4709. "tabIndex",
  4710. "readOnly",
  4711. "maxLength",
  4712. "cellSpacing",
  4713. "cellPadding",
  4714. "rowSpan",
  4715. "colSpan",
  4716. "useMap",
  4717. "frameBorder",
  4718. "contentEditable",
  4719. ],
  4720. function () {
  4721. n.propFix[this.toLowerCase()] = this;
  4722. }
  4723. ),
  4724. l.enctype || (n.propFix.enctype = "encoding");
  4725. var vc = /[\t\r\n\f]/g;
  4726. n.fn.extend({
  4727. addClass: function (a) {
  4728. var b,
  4729. c,
  4730. d,
  4731. e,
  4732. f,
  4733. g,
  4734. h = 0,
  4735. i = this.length,
  4736. j = "string" == typeof a && a;
  4737. if (n.isFunction(a))
  4738. return this.each(function (b) {
  4739. n(this).addClass(a.call(this, b, this.className));
  4740. });
  4741. if (j)
  4742. for (b = (a || "").match(F) || []; i > h; h++)
  4743. if (
  4744. ((c = this[h]),
  4745. (d =
  4746. 1 === c.nodeType &&
  4747. (c.className ? (" " + c.className + " ").replace(vc, " ") : " ")))
  4748. ) {
  4749. f = 0;
  4750. while ((e = b[f++])) d.indexOf(" " + e + " ") < 0 && (d += e + " ");
  4751. (g = n.trim(d)), c.className !== g && (c.className = g);
  4752. }
  4753. return this;
  4754. },
  4755. removeClass: function (a) {
  4756. var b,
  4757. c,
  4758. d,
  4759. e,
  4760. f,
  4761. g,
  4762. h = 0,
  4763. i = this.length,
  4764. j = 0 === arguments.length || ("string" == typeof a && a);
  4765. if (n.isFunction(a))
  4766. return this.each(function (b) {
  4767. n(this).removeClass(a.call(this, b, this.className));
  4768. });
  4769. if (j)
  4770. for (b = (a || "").match(F) || []; i > h; h++)
  4771. if (
  4772. ((c = this[h]),
  4773. (d =
  4774. 1 === c.nodeType &&
  4775. (c.className ? (" " + c.className + " ").replace(vc, " ") : "")))
  4776. ) {
  4777. f = 0;
  4778. while ((e = b[f++]))
  4779. while (d.indexOf(" " + e + " ") >= 0)
  4780. d = d.replace(" " + e + " ", " ");
  4781. (g = a ? n.trim(d) : ""), c.className !== g && (c.className = g);
  4782. }
  4783. return this;
  4784. },
  4785. toggleClass: function (a, b) {
  4786. var c = typeof a;
  4787. return "boolean" == typeof b && "string" === c
  4788. ? b
  4789. ? this.addClass(a)
  4790. : this.removeClass(a)
  4791. : this.each(
  4792. n.isFunction(a)
  4793. ? function (c) {
  4794. n(this).toggleClass(a.call(this, c, this.className, b), b);
  4795. }
  4796. : function () {
  4797. if ("string" === c) {
  4798. var b,
  4799. d = 0,
  4800. e = n(this),
  4801. f = a.match(F) || [];
  4802. while ((b = f[d++]))
  4803. e.hasClass(b) ? e.removeClass(b) : e.addClass(b);
  4804. } else
  4805. (c === L || "boolean" === c) &&
  4806. (this.className &&
  4807. n._data(this, "__className__", this.className),
  4808. (this.className =
  4809. this.className || a === !1
  4810. ? ""
  4811. : n._data(this, "__className__") || ""));
  4812. }
  4813. );
  4814. },
  4815. hasClass: function (a) {
  4816. for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)
  4817. if (
  4818. 1 === this[c].nodeType &&
  4819. (" " + this[c].className + " ").replace(vc, " ").indexOf(b) >= 0
  4820. )
  4821. return !0;
  4822. return !1;
  4823. },
  4824. }),
  4825. n.each(
  4826. "blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(
  4827. " "
  4828. ),
  4829. function (a, b) {
  4830. n.fn[b] = function (a, c) {
  4831. return arguments.length > 0
  4832. ? this.on(b, null, a, c)
  4833. : this.trigger(b);
  4834. };
  4835. }
  4836. ),
  4837. n.fn.extend({
  4838. hover: function (a, b) {
  4839. return this.mouseenter(a).mouseleave(b || a);
  4840. },
  4841. bind: function (a, b, c) {
  4842. return this.on(a, null, b, c);
  4843. },
  4844. unbind: function (a, b) {
  4845. return this.off(a, null, b);
  4846. },
  4847. delegate: function (a, b, c, d) {
  4848. return this.on(b, a, c, d);
  4849. },
  4850. undelegate: function (a, b, c) {
  4851. return 1 === arguments.length
  4852. ? this.off(a, "**")
  4853. : this.off(b, a || "**", c);
  4854. },
  4855. });
  4856. var wc = n.now(),
  4857. xc = /\?/,
  4858. yc =
  4859. /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
  4860. (n.parseJSON = function (b) {
  4861. if (a.JSON && a.JSON.parse) return a.JSON.parse(b + "");
  4862. var c,
  4863. d = null,
  4864. e = n.trim(b + "");
  4865. return e &&
  4866. !n.trim(
  4867. e.replace(yc, function (a, b, e, f) {
  4868. return (
  4869. c && b && (d = 0), 0 === d ? a : ((c = e || b), (d += !f - !e), "")
  4870. );
  4871. })
  4872. )
  4873. ? Function("return " + e)()
  4874. : n.error("Invalid JSON: " + b);
  4875. }),
  4876. (n.parseXML = function (b) {
  4877. var c, d;
  4878. if (!b || "string" != typeof b) return null;
  4879. try {
  4880. a.DOMParser
  4881. ? ((d = new DOMParser()), (c = d.parseFromString(b, "text/xml")))
  4882. : ((c = new ActiveXObject("Microsoft.XMLDOM")),
  4883. (c.async = "false"),
  4884. c.loadXML(b));
  4885. } catch (e) {
  4886. c = void 0;
  4887. }
  4888. return (
  4889. (c &&
  4890. c.documentElement &&
  4891. !c.getElementsByTagName("parsererror").length) ||
  4892. n.error("Invalid XML: " + b),
  4893. c
  4894. );
  4895. });
  4896. var zc,
  4897. Ac,
  4898. Bc = /#.*$/,
  4899. Cc = /([?&])_=[^&]*/,
  4900. Dc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
  4901. Ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  4902. Fc = /^(?:GET|HEAD)$/,
  4903. Gc = /^\/\//,
  4904. Hc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  4905. Ic = {},
  4906. Jc = {},
  4907. Kc = "*/".concat("*");
  4908. try {
  4909. Ac = location.href;
  4910. } catch (Lc) {
  4911. (Ac = z.createElement("a")), (Ac.href = ""), (Ac = Ac.href);
  4912. }
  4913. zc = Hc.exec(Ac.toLowerCase()) || [];
  4914. function Mc(a) {
  4915. return function (b, c) {
  4916. "string" != typeof b && ((c = b), (b = "*"));
  4917. var d,
  4918. e = 0,
  4919. f = b.toLowerCase().match(F) || [];
  4920. if (n.isFunction(c))
  4921. while ((d = f[e++]))
  4922. "+" === d.charAt(0)
  4923. ? ((d = d.slice(1) || "*"), (a[d] = a[d] || []).unshift(c))
  4924. : (a[d] = a[d] || []).push(c);
  4925. };
  4926. }
  4927. function Nc(a, b, c, d) {
  4928. var e = {},
  4929. f = a === Jc;
  4930. function g(h) {
  4931. var i;
  4932. return (
  4933. (e[h] = !0),
  4934. n.each(a[h] || [], function (a, h) {
  4935. var j = h(b, c, d);
  4936. return "string" != typeof j || f || e[j]
  4937. ? f
  4938. ? !(i = j)
  4939. : void 0
  4940. : (b.dataTypes.unshift(j), g(j), !1);
  4941. }),
  4942. i
  4943. );
  4944. }
  4945. return g(b.dataTypes[0]) || (!e["*"] && g("*"));
  4946. }
  4947. function Oc(a, b) {
  4948. var c,
  4949. d,
  4950. e = n.ajaxSettings.flatOptions || {};
  4951. for (d in b) void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
  4952. return c && n.extend(!0, a, c), a;
  4953. }
  4954. function Pc(a, b, c) {
  4955. var d,
  4956. e,
  4957. f,
  4958. g,
  4959. h = a.contents,
  4960. i = a.dataTypes;
  4961. while ("*" === i[0])
  4962. i.shift(),
  4963. void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
  4964. if (e)
  4965. for (g in h)
  4966. if (h[g] && h[g].test(e)) {
  4967. i.unshift(g);
  4968. break;
  4969. }
  4970. if (i[0] in c) f = i[0];
  4971. else {
  4972. for (g in c) {
  4973. if (!i[0] || a.converters[g + " " + i[0]]) {
  4974. f = g;
  4975. break;
  4976. }
  4977. d || (d = g);
  4978. }
  4979. f = f || d;
  4980. }
  4981. return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0;
  4982. }
  4983. function Qc(a, b, c, d) {
  4984. var e,
  4985. f,
  4986. g,
  4987. h,
  4988. i,
  4989. j = {},
  4990. k = a.dataTypes.slice();
  4991. if (k[1]) for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
  4992. f = k.shift();
  4993. while (f)
  4994. if (
  4995. (a.responseFields[f] && (c[a.responseFields[f]] = b),
  4996. !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)),
  4997. (i = f),
  4998. (f = k.shift()))
  4999. )
  5000. if ("*" === f) f = i;
  5001. else if ("*" !== i && i !== f) {
  5002. if (((g = j[i + " " + f] || j["* " + f]), !g))
  5003. for (e in j)
  5004. if (
  5005. ((h = e.split(" ")),
  5006. h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]]))
  5007. ) {
  5008. g === !0
  5009. ? (g = j[e])
  5010. : j[e] !== !0 && ((f = h[0]), k.unshift(h[1]));
  5011. break;
  5012. }
  5013. if (g !== !0)
  5014. if (g && a["throws"]) b = g(b);
  5015. else
  5016. try {
  5017. b = g(b);
  5018. } catch (l) {
  5019. return {
  5020. state: "parsererror",
  5021. error: g ? l : "No conversion from " + i + " to " + f,
  5022. };
  5023. }
  5024. }
  5025. return { state: "success", data: b };
  5026. }
  5027. n.extend({
  5028. active: 0,
  5029. lastModified: {},
  5030. etag: {},
  5031. ajaxSettings: {
  5032. url: Ac,
  5033. type: "GET",
  5034. isLocal: Ec.test(zc[1]),
  5035. global: !0,
  5036. processData: !0,
  5037. async: !0,
  5038. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  5039. accepts: {
  5040. "*": Kc,
  5041. text: "text/plain",
  5042. html: "text/html",
  5043. xml: "application/xml, text/xml",
  5044. json: "application/json, text/javascript",
  5045. },
  5046. contents: { xml: /xml/, html: /html/, json: /json/ },
  5047. responseFields: {
  5048. xml: "responseXML",
  5049. text: "responseText",
  5050. json: "responseJSON",
  5051. },
  5052. converters: {
  5053. "* text": String,
  5054. "text html": !0,
  5055. "text json": n.parseJSON,
  5056. "text xml": n.parseXML,
  5057. },
  5058. flatOptions: { url: !0, context: !0 },
  5059. },
  5060. ajaxSetup: function (a, b) {
  5061. return b ? Oc(Oc(a, n.ajaxSettings), b) : Oc(n.ajaxSettings, a);
  5062. },
  5063. ajaxPrefilter: Mc(Ic),
  5064. ajaxTransport: Mc(Jc),
  5065. ajax: function (a, b) {
  5066. "object" == typeof a && ((b = a), (a = void 0)), (b = b || {});
  5067. var c,
  5068. d,
  5069. e,
  5070. f,
  5071. g,
  5072. h,
  5073. i,
  5074. j,
  5075. k = n.ajaxSetup({}, b),
  5076. l = k.context || k,
  5077. m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
  5078. o = n.Deferred(),
  5079. p = n.Callbacks("once memory"),
  5080. q = k.statusCode || {},
  5081. r = {},
  5082. s = {},
  5083. t = 0,
  5084. u = "canceled",
  5085. v = {
  5086. readyState: 0,
  5087. getResponseHeader: function (a) {
  5088. var b;
  5089. if (2 === t) {
  5090. if (!j) {
  5091. j = {};
  5092. while ((b = Dc.exec(f))) j[b[1].toLowerCase()] = b[2];
  5093. }
  5094. b = j[a.toLowerCase()];
  5095. }
  5096. return null == b ? null : b;
  5097. },
  5098. getAllResponseHeaders: function () {
  5099. return 2 === t ? f : null;
  5100. },
  5101. setRequestHeader: function (a, b) {
  5102. var c = a.toLowerCase();
  5103. return t || ((a = s[c] = s[c] || a), (r[a] = b)), this;
  5104. },
  5105. overrideMimeType: function (a) {
  5106. return t || (k.mimeType = a), this;
  5107. },
  5108. statusCode: function (a) {
  5109. var b;
  5110. if (a)
  5111. if (2 > t) for (b in a) q[b] = [q[b], a[b]];
  5112. else v.always(a[v.status]);
  5113. return this;
  5114. },
  5115. abort: function (a) {
  5116. var b = a || u;
  5117. return i && i.abort(b), x(0, b), this;
  5118. },
  5119. };
  5120. if (
  5121. ((o.promise(v).complete = p.add),
  5122. (v.success = v.done),
  5123. (v.error = v.fail),
  5124. (k.url = ((a || k.url || Ac) + "")
  5125. .replace(Bc, "")
  5126. .replace(Gc, zc[1] + "//")),
  5127. (k.type = b.method || b.type || k.method || k.type),
  5128. (k.dataTypes = n
  5129. .trim(k.dataType || "*")
  5130. .toLowerCase()
  5131. .match(F) || [""]),
  5132. null == k.crossDomain &&
  5133. ((c = Hc.exec(k.url.toLowerCase())),
  5134. (k.crossDomain = !(
  5135. !c ||
  5136. (c[1] === zc[1] &&
  5137. c[2] === zc[2] &&
  5138. (c[3] || ("http:" === c[1] ? "80" : "443")) ===
  5139. (zc[3] || ("http:" === zc[1] ? "80" : "443")))
  5140. ))),
  5141. k.data &&
  5142. k.processData &&
  5143. "string" != typeof k.data &&
  5144. (k.data = n.param(k.data, k.traditional)),
  5145. Nc(Ic, k, b, v),
  5146. 2 === t)
  5147. )
  5148. return v;
  5149. (h = k.global),
  5150. h && 0 === n.active++ && n.event.trigger("ajaxStart"),
  5151. (k.type = k.type.toUpperCase()),
  5152. (k.hasContent = !Fc.test(k.type)),
  5153. (e = k.url),
  5154. k.hasContent ||
  5155. (k.data &&
  5156. ((e = k.url += (xc.test(e) ? "&" : "?") + k.data), delete k.data),
  5157. k.cache === !1 &&
  5158. (k.url = Cc.test(e)
  5159. ? e.replace(Cc, "$1_=" + wc++)
  5160. : e + (xc.test(e) ? "&" : "?") + "_=" + wc++)),
  5161. k.ifModified &&
  5162. (n.lastModified[e] &&
  5163. v.setRequestHeader("If-Modified-Since", n.lastModified[e]),
  5164. n.etag[e] && v.setRequestHeader("If-None-Match", n.etag[e])),
  5165. ((k.data && k.hasContent && k.contentType !== !1) || b.contentType) &&
  5166. v.setRequestHeader("Content-Type", k.contentType),
  5167. v.setRequestHeader(
  5168. "Accept",
  5169. k.dataTypes[0] && k.accepts[k.dataTypes[0]]
  5170. ? k.accepts[k.dataTypes[0]] +
  5171. ("*" !== k.dataTypes[0] ? ", " + Kc + "; q=0.01" : "")
  5172. : k.accepts["*"]
  5173. );
  5174. for (d in k.headers) v.setRequestHeader(d, k.headers[d]);
  5175. if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))
  5176. return v.abort();
  5177. u = "abort";
  5178. for (d in { success: 1, error: 1, complete: 1 }) v[d](k[d]);
  5179. if ((i = Nc(Jc, k, b, v))) {
  5180. (v.readyState = 1),
  5181. h && m.trigger("ajaxSend", [v, k]),
  5182. k.async &&
  5183. k.timeout > 0 &&
  5184. (g = setTimeout(function () {
  5185. v.abort("timeout");
  5186. }, k.timeout));
  5187. try {
  5188. (t = 1), i.send(r, x);
  5189. } catch (w) {
  5190. if (!(2 > t)) throw w;
  5191. x(-1, w);
  5192. }
  5193. } else x(-1, "No Transport");
  5194. function x(a, b, c, d) {
  5195. var j,
  5196. r,
  5197. s,
  5198. u,
  5199. w,
  5200. x = b;
  5201. 2 !== t &&
  5202. ((t = 2),
  5203. g && clearTimeout(g),
  5204. (i = void 0),
  5205. (f = d || ""),
  5206. (v.readyState = a > 0 ? 4 : 0),
  5207. (j = (a >= 200 && 300 > a) || 304 === a),
  5208. c && (u = Pc(k, v, c)),
  5209. (u = Qc(k, u, v, j)),
  5210. j
  5211. ? (k.ifModified &&
  5212. ((w = v.getResponseHeader("Last-Modified")),
  5213. w && (n.lastModified[e] = w),
  5214. (w = v.getResponseHeader("etag")),
  5215. w && (n.etag[e] = w)),
  5216. 204 === a || "HEAD" === k.type
  5217. ? (x = "nocontent")
  5218. : 304 === a
  5219. ? (x = "notmodified")
  5220. : ((x = u.state), (r = u.data), (s = u.error), (j = !s)))
  5221. : ((s = x), (a || !x) && ((x = "error"), 0 > a && (a = 0))),
  5222. (v.status = a),
  5223. (v.statusText = (b || x) + ""),
  5224. j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]),
  5225. v.statusCode(q),
  5226. (q = void 0),
  5227. h && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]),
  5228. p.fireWith(l, [v, x]),
  5229. h &&
  5230. (m.trigger("ajaxComplete", [v, k]),
  5231. --n.active || n.event.trigger("ajaxStop")));
  5232. }
  5233. return v;
  5234. },
  5235. getJSON: function (a, b, c) {
  5236. return n.get(a, b, c, "json");
  5237. },
  5238. getScript: function (a, b) {
  5239. return n.get(a, void 0, b, "script");
  5240. },
  5241. }),
  5242. n.each(["get", "post"], function (a, b) {
  5243. n[b] = function (a, c, d, e) {
  5244. return (
  5245. n.isFunction(c) && ((e = e || d), (d = c), (c = void 0)),
  5246. n.ajax({ url: a, type: b, dataType: e, data: c, success: d })
  5247. );
  5248. };
  5249. }),
  5250. n.each(
  5251. [
  5252. "ajaxStart",
  5253. "ajaxStop",
  5254. "ajaxComplete",
  5255. "ajaxError",
  5256. "ajaxSuccess",
  5257. "ajaxSend",
  5258. ],
  5259. function (a, b) {
  5260. n.fn[b] = function (a) {
  5261. return this.on(b, a);
  5262. };
  5263. }
  5264. ),
  5265. (n._evalUrl = function (a) {
  5266. return n.ajax({
  5267. url: a,
  5268. type: "GET",
  5269. dataType: "script",
  5270. async: !1,
  5271. global: !1,
  5272. throws: !0,
  5273. });
  5274. }),
  5275. n.fn.extend({
  5276. wrapAll: function (a) {
  5277. if (n.isFunction(a))
  5278. return this.each(function (b) {
  5279. n(this).wrapAll(a.call(this, b));
  5280. });
  5281. if (this[0]) {
  5282. var b = n(a, this[0].ownerDocument).eq(0).clone(!0);
  5283. this[0].parentNode && b.insertBefore(this[0]),
  5284. b
  5285. .map(function () {
  5286. var a = this;
  5287. while (a.firstChild && 1 === a.firstChild.nodeType)
  5288. a = a.firstChild;
  5289. return a;
  5290. })
  5291. .append(this);
  5292. }
  5293. return this;
  5294. },
  5295. wrapInner: function (a) {
  5296. return this.each(
  5297. n.isFunction(a)
  5298. ? function (b) {
  5299. n(this).wrapInner(a.call(this, b));
  5300. }
  5301. : function () {
  5302. var b = n(this),
  5303. c = b.contents();
  5304. c.length ? c.wrapAll(a) : b.append(a);
  5305. }
  5306. );
  5307. },
  5308. wrap: function (a) {
  5309. var b = n.isFunction(a);
  5310. return this.each(function (c) {
  5311. n(this).wrapAll(b ? a.call(this, c) : a);
  5312. });
  5313. },
  5314. unwrap: function () {
  5315. return this.parent()
  5316. .each(function () {
  5317. n.nodeName(this, "body") || n(this).replaceWith(this.childNodes);
  5318. })
  5319. .end();
  5320. },
  5321. }),
  5322. (n.expr.filters.hidden = function (a) {
  5323. return (
  5324. (a.offsetWidth <= 0 && a.offsetHeight <= 0) ||
  5325. (!l.reliableHiddenOffsets() &&
  5326. "none" === ((a.style && a.style.display) || n.css(a, "display")))
  5327. );
  5328. }),
  5329. (n.expr.filters.visible = function (a) {
  5330. return !n.expr.filters.hidden(a);
  5331. });
  5332. var Rc = /%20/g,
  5333. Sc = /\[\]$/,
  5334. Tc = /\r?\n/g,
  5335. Uc = /^(?:submit|button|image|reset|file)$/i,
  5336. Vc = /^(?:input|select|textarea|keygen)/i;
  5337. function Wc(a, b, c, d) {
  5338. var e;
  5339. if (n.isArray(b))
  5340. n.each(b, function (b, e) {
  5341. c || Sc.test(a)
  5342. ? d(a, e)
  5343. : Wc(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d);
  5344. });
  5345. else if (c || "object" !== n.type(b)) d(a, b);
  5346. else for (e in b) Wc(a + "[" + e + "]", b[e], c, d);
  5347. }
  5348. (n.param = function (a, b) {
  5349. var c,
  5350. d = [],
  5351. e = function (a, b) {
  5352. (b = n.isFunction(b) ? b() : null == b ? "" : b),
  5353. (d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b));
  5354. };
  5355. if (
  5356. (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional),
  5357. n.isArray(a) || (a.jquery && !n.isPlainObject(a)))
  5358. )
  5359. n.each(a, function () {
  5360. e(this.name, this.value);
  5361. });
  5362. else for (c in a) Wc(c, a[c], b, e);
  5363. return d.join("&").replace(Rc, "+");
  5364. }),
  5365. n.fn.extend({
  5366. serialize: function () {
  5367. return n.param(this.serializeArray());
  5368. },
  5369. serializeArray: function () {
  5370. return this.map(function () {
  5371. var a = n.prop(this, "elements");
  5372. return a ? n.makeArray(a) : this;
  5373. })
  5374. .filter(function () {
  5375. var a = this.type;
  5376. return (
  5377. this.name &&
  5378. !n(this).is(":disabled") &&
  5379. Vc.test(this.nodeName) &&
  5380. !Uc.test(a) &&
  5381. (this.checked || !X.test(a))
  5382. );
  5383. })
  5384. .map(function (a, b) {
  5385. var c = n(this).val();
  5386. return null == c
  5387. ? null
  5388. : n.isArray(c)
  5389. ? n.map(c, function (a) {
  5390. return { name: b.name, value: a.replace(Tc, "\r\n") };
  5391. })
  5392. : { name: b.name, value: c.replace(Tc, "\r\n") };
  5393. })
  5394. .get();
  5395. },
  5396. }),
  5397. (n.ajaxSettings.xhr =
  5398. void 0 !== a.ActiveXObject
  5399. ? function () {
  5400. return (
  5401. (!this.isLocal &&
  5402. /^(get|post|head|put|delete|options)$/i.test(this.type) &&
  5403. $c()) ||
  5404. _c()
  5405. );
  5406. }
  5407. : $c);
  5408. var Xc = 0,
  5409. Yc = {},
  5410. Zc = n.ajaxSettings.xhr();
  5411. a.ActiveXObject &&
  5412. n(a).on("unload", function () {
  5413. for (var a in Yc) Yc[a](void 0, !0);
  5414. }),
  5415. (l.cors = !!Zc && "withCredentials" in Zc),
  5416. (Zc = l.ajax = !!Zc),
  5417. Zc &&
  5418. n.ajaxTransport(function (a) {
  5419. if (!a.crossDomain || l.cors) {
  5420. var b;
  5421. return {
  5422. send: function (c, d) {
  5423. var e,
  5424. f = a.xhr(),
  5425. g = ++Xc;
  5426. if (
  5427. (f.open(a.type, a.url, a.async, a.username, a.password),
  5428. a.xhrFields)
  5429. )
  5430. for (e in a.xhrFields) f[e] = a.xhrFields[e];
  5431. a.mimeType &&
  5432. f.overrideMimeType &&
  5433. f.overrideMimeType(a.mimeType),
  5434. a.crossDomain ||
  5435. c["X-Requested-With"] ||
  5436. (c["X-Requested-With"] = "XMLHttpRequest");
  5437. for (e in c) void 0 !== c[e] && f.setRequestHeader(e, c[e] + "");
  5438. f.send((a.hasContent && a.data) || null),
  5439. (b = function (c, e) {
  5440. var h, i, j;
  5441. if (b && (e || 4 === f.readyState))
  5442. if (
  5443. (delete Yc[g],
  5444. (b = void 0),
  5445. (f.onreadystatechange = n.noop),
  5446. e)
  5447. )
  5448. 4 !== f.readyState && f.abort();
  5449. else {
  5450. (j = {}),
  5451. (h = f.status),
  5452. "string" == typeof f.responseText &&
  5453. (j.text = f.responseText);
  5454. try {
  5455. i = f.statusText;
  5456. } catch (k) {
  5457. i = "";
  5458. }
  5459. h || !a.isLocal || a.crossDomain
  5460. ? 1223 === h && (h = 204)
  5461. : (h = j.text ? 200 : 404);
  5462. }
  5463. j && d(h, i, j, f.getAllResponseHeaders());
  5464. }),
  5465. a.async
  5466. ? 4 === f.readyState
  5467. ? setTimeout(b)
  5468. : (f.onreadystatechange = Yc[g] = b)
  5469. : b();
  5470. },
  5471. abort: function () {
  5472. b && b(void 0, !0);
  5473. },
  5474. };
  5475. }
  5476. });
  5477. function $c() {
  5478. try {
  5479. return new a.XMLHttpRequest();
  5480. } catch (b) {}
  5481. }
  5482. function _c() {
  5483. try {
  5484. return new a.ActiveXObject("Microsoft.XMLHTTP");
  5485. } catch (b) {}
  5486. }
  5487. n.ajaxSetup({
  5488. accepts: {
  5489. script:
  5490. "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",
  5491. },
  5492. contents: { script: /(?:java|ecma)script/ },
  5493. converters: {
  5494. "text script": function (a) {
  5495. return n.globalEval(a), a;
  5496. },
  5497. },
  5498. }),
  5499. n.ajaxPrefilter("script", function (a) {
  5500. void 0 === a.cache && (a.cache = !1),
  5501. a.crossDomain && ((a.type = "GET"), (a.global = !1));
  5502. }),
  5503. n.ajaxTransport("script", function (a) {
  5504. if (a.crossDomain) {
  5505. var b,
  5506. c = z.head || n("head")[0] || z.documentElement;
  5507. return {
  5508. send: function (d, e) {
  5509. (b = z.createElement("script")),
  5510. (b.async = !0),
  5511. a.scriptCharset && (b.charset = a.scriptCharset),
  5512. (b.src = a.url),
  5513. (b.onload = b.onreadystatechange =
  5514. function (a, c) {
  5515. (c ||
  5516. !b.readyState ||
  5517. /loaded|complete/.test(b.readyState)) &&
  5518. ((b.onload = b.onreadystatechange = null),
  5519. b.parentNode && b.parentNode.removeChild(b),
  5520. (b = null),
  5521. c || e(200, "success"));
  5522. }),
  5523. c.insertBefore(b, c.firstChild);
  5524. },
  5525. abort: function () {
  5526. b && b.onload(void 0, !0);
  5527. },
  5528. };
  5529. }
  5530. });
  5531. var ad = [],
  5532. bd = /(=)\?(?=&|$)|\?\?/;
  5533. n.ajaxSetup({
  5534. jsonp: "callback",
  5535. jsonpCallback: function () {
  5536. var a = ad.pop() || n.expando + "_" + wc++;
  5537. return (this[a] = !0), a;
  5538. },
  5539. }),
  5540. n.ajaxPrefilter("json jsonp", function (b, c, d) {
  5541. var e,
  5542. f,
  5543. g,
  5544. h =
  5545. b.jsonp !== !1 &&
  5546. (bd.test(b.url)
  5547. ? "url"
  5548. : "string" == typeof b.data &&
  5549. !(b.contentType || "").indexOf(
  5550. "application/x-www-form-urlencoded"
  5551. ) &&
  5552. bd.test(b.data) &&
  5553. "data");
  5554. return h || "jsonp" === b.dataTypes[0]
  5555. ? ((e = b.jsonpCallback =
  5556. n.isFunction(b.jsonpCallback)
  5557. ? b.jsonpCallback()
  5558. : b.jsonpCallback),
  5559. h
  5560. ? (b[h] = b[h].replace(bd, "$1" + e))
  5561. : b.jsonp !== !1 &&
  5562. (b.url += (xc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e),
  5563. (b.converters["script json"] = function () {
  5564. return g || n.error(e + " was not called"), g[0];
  5565. }),
  5566. (b.dataTypes[0] = "json"),
  5567. (f = a[e]),
  5568. (a[e] = function () {
  5569. g = arguments;
  5570. }),
  5571. d.always(function () {
  5572. (a[e] = f),
  5573. b[e] && ((b.jsonpCallback = c.jsonpCallback), ad.push(e)),
  5574. g && n.isFunction(f) && f(g[0]),
  5575. (g = f = void 0);
  5576. }),
  5577. "script")
  5578. : void 0;
  5579. }),
  5580. (n.parseHTML = function (a, b, c) {
  5581. if (!a || "string" != typeof a) return null;
  5582. "boolean" == typeof b && ((c = b), (b = !1)), (b = b || z);
  5583. var d = v.exec(a),
  5584. e = !c && [];
  5585. return d
  5586. ? [b.createElement(d[1])]
  5587. : ((d = n.buildFragment([a], b, e)),
  5588. e && e.length && n(e).remove(),
  5589. n.merge([], d.childNodes));
  5590. });
  5591. var cd = n.fn.load;
  5592. (n.fn.load = function (a, b, c) {
  5593. if ("string" != typeof a && cd) return cd.apply(this, arguments);
  5594. var d,
  5595. e,
  5596. f,
  5597. g = this,
  5598. h = a.indexOf(" ");
  5599. return (
  5600. h >= 0 && ((d = a.slice(h, a.length)), (a = a.slice(0, h))),
  5601. n.isFunction(b)
  5602. ? ((c = b), (b = void 0))
  5603. : b && "object" == typeof b && (f = "POST"),
  5604. g.length > 0 &&
  5605. n
  5606. .ajax({ url: a, type: f, dataType: "html", data: b })
  5607. .done(function (a) {
  5608. (e = arguments),
  5609. g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a);
  5610. })
  5611. .complete(
  5612. c &&
  5613. function (a, b) {
  5614. g.each(c, e || [a.responseText, b, a]);
  5615. }
  5616. ),
  5617. this
  5618. );
  5619. }),
  5620. (n.expr.filters.animated = function (a) {
  5621. return n.grep(n.timers, function (b) {
  5622. return a === b.elem;
  5623. }).length;
  5624. });
  5625. var dd = a.document.documentElement;
  5626. function ed(a) {
  5627. return n.isWindow(a)
  5628. ? a
  5629. : 9 === a.nodeType
  5630. ? a.defaultView || a.parentWindow
  5631. : !1;
  5632. }
  5633. (n.offset = {
  5634. setOffset: function (a, b, c) {
  5635. var d,
  5636. e,
  5637. f,
  5638. g,
  5639. h,
  5640. i,
  5641. j,
  5642. k = n.css(a, "position"),
  5643. l = n(a),
  5644. m = {};
  5645. "static" === k && (a.style.position = "relative"),
  5646. (h = l.offset()),
  5647. (f = n.css(a, "top")),
  5648. (i = n.css(a, "left")),
  5649. (j =
  5650. ("absolute" === k || "fixed" === k) &&
  5651. n.inArray("auto", [f, i]) > -1),
  5652. j
  5653. ? ((d = l.position()), (g = d.top), (e = d.left))
  5654. : ((g = parseFloat(f) || 0), (e = parseFloat(i) || 0)),
  5655. n.isFunction(b) && (b = b.call(a, c, h)),
  5656. null != b.top && (m.top = b.top - h.top + g),
  5657. null != b.left && (m.left = b.left - h.left + e),
  5658. "using" in b ? b.using.call(a, m) : l.css(m);
  5659. },
  5660. }),
  5661. n.fn.extend({
  5662. offset: function (a) {
  5663. if (arguments.length)
  5664. return void 0 === a
  5665. ? this
  5666. : this.each(function (b) {
  5667. n.offset.setOffset(this, a, b);
  5668. });
  5669. var b,
  5670. c,
  5671. d = { top: 0, left: 0 },
  5672. e = this[0],
  5673. f = e && e.ownerDocument;
  5674. if (f)
  5675. return (
  5676. (b = f.documentElement),
  5677. n.contains(b, e)
  5678. ? (typeof e.getBoundingClientRect !== L &&
  5679. (d = e.getBoundingClientRect()),
  5680. (c = ed(f)),
  5681. {
  5682. top:
  5683. d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
  5684. left:
  5685. d.left +
  5686. (c.pageXOffset || b.scrollLeft) -
  5687. (b.clientLeft || 0),
  5688. })
  5689. : d
  5690. );
  5691. },
  5692. position: function () {
  5693. if (this[0]) {
  5694. var a,
  5695. b,
  5696. c = { top: 0, left: 0 },
  5697. d = this[0];
  5698. return (
  5699. "fixed" === n.css(d, "position")
  5700. ? (b = d.getBoundingClientRect())
  5701. : ((a = this.offsetParent()),
  5702. (b = this.offset()),
  5703. n.nodeName(a[0], "html") || (c = a.offset()),
  5704. (c.top += n.css(a[0], "borderTopWidth", !0)),
  5705. (c.left += n.css(a[0], "borderLeftWidth", !0))),
  5706. {
  5707. top: b.top - c.top - n.css(d, "marginTop", !0),
  5708. left: b.left - c.left - n.css(d, "marginLeft", !0),
  5709. }
  5710. );
  5711. }
  5712. },
  5713. offsetParent: function () {
  5714. return this.map(function () {
  5715. var a = this.offsetParent || dd;
  5716. while (
  5717. a &&
  5718. !n.nodeName(a, "html") &&
  5719. "static" === n.css(a, "position")
  5720. )
  5721. a = a.offsetParent;
  5722. return a || dd;
  5723. });
  5724. },
  5725. }),
  5726. n.each(
  5727. { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" },
  5728. function (a, b) {
  5729. var c = /Y/.test(b);
  5730. n.fn[a] = function (d) {
  5731. return W(
  5732. this,
  5733. function (a, d, e) {
  5734. var f = ed(a);
  5735. return void 0 === e
  5736. ? f
  5737. ? b in f
  5738. ? f[b]
  5739. : f.document.documentElement[d]
  5740. : a[d]
  5741. : void (f
  5742. ? f.scrollTo(
  5743. c ? n(f).scrollLeft() : e,
  5744. c ? e : n(f).scrollTop()
  5745. )
  5746. : (a[d] = e));
  5747. },
  5748. a,
  5749. d,
  5750. arguments.length,
  5751. null
  5752. );
  5753. };
  5754. }
  5755. ),
  5756. n.each(["top", "left"], function (a, b) {
  5757. n.cssHooks[b] = Mb(l.pixelPosition, function (a, c) {
  5758. return c
  5759. ? ((c = Kb(a, b)), Ib.test(c) ? n(a).position()[b] + "px" : c)
  5760. : void 0;
  5761. });
  5762. }),
  5763. n.each({ Height: "height", Width: "width" }, function (a, b) {
  5764. n.each(
  5765. { padding: "inner" + a, content: b, "": "outer" + a },
  5766. function (c, d) {
  5767. n.fn[d] = function (d, e) {
  5768. var f = arguments.length && (c || "boolean" != typeof d),
  5769. g = c || (d === !0 || e === !0 ? "margin" : "border");
  5770. return W(
  5771. this,
  5772. function (b, c, d) {
  5773. var e;
  5774. return n.isWindow(b)
  5775. ? b.document.documentElement["client" + a]
  5776. : 9 === b.nodeType
  5777. ? ((e = b.documentElement),
  5778. Math.max(
  5779. b.body["scroll" + a],
  5780. e["scroll" + a],
  5781. b.body["offset" + a],
  5782. e["offset" + a],
  5783. e["client" + a]
  5784. ))
  5785. : void 0 === d
  5786. ? n.css(b, c, g)
  5787. : n.style(b, c, d, g);
  5788. },
  5789. b,
  5790. f ? d : void 0,
  5791. f,
  5792. null
  5793. );
  5794. };
  5795. }
  5796. );
  5797. }),
  5798. (n.fn.size = function () {
  5799. return this.length;
  5800. }),
  5801. (n.fn.andSelf = n.fn.addBack),
  5802. "function" == typeof define &&
  5803. define.amd &&
  5804. define("jquery", [], function () {
  5805. return n;
  5806. });
  5807. var fd = a.jQuery,
  5808. gd = a.$;
  5809. return (
  5810. (n.noConflict = function (b) {
  5811. return a.$ === n && (a.$ = gd), b && a.jQuery === n && (a.jQuery = fd), n;
  5812. }),
  5813. typeof b === L && (a.jQuery = a.$ = n),
  5814. n
  5815. );
  5816. });