node-rsa-new.js 199 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859
  1. /*! For license information please see node-rsa.bundle.js.LICENSE.txt */ ! function(t, e) {
  2. "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.NODERSA = e() : t.NODERSA = e()
  3. }(globalThis, (() => (() => {
  4. var t = {
  5. 6395: t => {
  6. t.exports = {
  7. newInvalidAsn1Error: function(t) {
  8. var e = new Error;
  9. return e.name = "InvalidAsn1Error", e.message = t || "", e
  10. }
  11. }
  12. },
  13. 5670: (t, e, r) => {
  14. var n = r(6395),
  15. i = r(6299),
  16. o = r(3319),
  17. s = r(1431);
  18. for (var a in t.exports = {
  19. Reader: o,
  20. Writer: s
  21. }, i) i.hasOwnProperty(a) && (t.exports[a] = i[a]);
  22. for (var f in n) n.hasOwnProperty(f) && (t.exports[f] = n[f])
  23. },
  24. 3319: (t, e, r) => {
  25. var n = r(4529),
  26. i = r(4774)
  27. .Buffer,
  28. o = r(6299),
  29. s = r(6395)
  30. .newInvalidAsn1Error;
  31. function a(t) {
  32. if (!t || !i.isBuffer(t)) throw new TypeError("data must be a node Buffer");
  33. this._buf = t, this._size = t.length, this._len = 0, this._offset = 0
  34. }
  35. Object.defineProperty(a.prototype, "length", {
  36. enumerable: !0,
  37. get: function() {
  38. return this._len
  39. }
  40. }), Object.defineProperty(a.prototype, "offset", {
  41. enumerable: !0,
  42. get: function() {
  43. return this._offset
  44. }
  45. }), Object.defineProperty(a.prototype, "remain", {
  46. get: function() {
  47. return this._size - this._offset
  48. }
  49. }), Object.defineProperty(a.prototype, "buffer", {
  50. get: function() {
  51. return this._buf.slice(this._offset)
  52. }
  53. }), a.prototype.readByte = function(t) {
  54. if (this._size - this._offset < 1) return null;
  55. var e = 255 & this._buf[this._offset];
  56. return t || (this._offset += 1), e
  57. }, a.prototype.peek = function() {
  58. return this.readByte(!0)
  59. }, a.prototype.readLength = function(t) {
  60. if (void 0 === t && (t = this._offset), t >= this._size) return null;
  61. var e = 255 & this._buf[t++];
  62. if (null === e) return null;
  63. if (128 & ~e) this._len = e;
  64. else {
  65. if (0 == (e &= 127)) throw s("Indefinite length not supported");
  66. if (e > 4) throw s("encoding too long");
  67. if (this._size - t < e) return null;
  68. this._len = 0;
  69. for (var r = 0; r < e; r++) this._len = (this._len << 8) + (255 & this._buf[t++])
  70. }
  71. return t
  72. }, a.prototype.readSequence = function(t) {
  73. var e = this.peek();
  74. if (null === e) return null;
  75. if (void 0 !== t && t !== e) throw s("Expected 0x" + t.toString(16) + ": got 0x" + e.toString(16));
  76. var r = this.readLength(this._offset + 1);
  77. return null === r ? null : (this._offset = r, e)
  78. }, a.prototype.readInt = function() {
  79. return this._readTag(o.Integer)
  80. }, a.prototype.readBoolean = function() {
  81. return 0 !== this._readTag(o.Boolean)
  82. }, a.prototype.readEnumeration = function() {
  83. return this._readTag(o.Enumeration)
  84. }, a.prototype.readString = function(t, e) {
  85. t || (t = o.OctetString);
  86. var r = this.peek();
  87. if (null === r) return null;
  88. if (r !== t) throw s("Expected 0x" + t.toString(16) + ": got 0x" + r.toString(16));
  89. var n = this.readLength(this._offset + 1);
  90. if (null === n) return null;
  91. if (this.length > this._size - n) return null;
  92. if (this._offset = n, 0 === this.length) return e ? i.alloc(0) : "";
  93. var a = this._buf.slice(this._offset, this._offset + this.length);
  94. return this._offset += this.length, e ? a : a.toString("utf8")
  95. }, a.prototype.readOID = function(t) {
  96. t || (t = o.OID);
  97. var e = this.readString(t, !0);
  98. if (null === e) return null;
  99. for (var r = [], n = 0, i = 0; i < e.length; i++) {
  100. var s = 255 & e[i];
  101. n <<= 7, n += 127 & s, 128 & s || (r.push(n), n = 0)
  102. }
  103. return n = r.shift(), r.unshift(n % 40), r.unshift(n / 40 | 0), r.join(".")
  104. }, a.prototype._readTag = function(t) {
  105. n.ok(void 0 !== t);
  106. var e = this.peek();
  107. if (null === e) return null;
  108. if (e !== t) throw s("Expected 0x" + t.toString(16) + ": got 0x" + e.toString(16));
  109. var r = this.readLength(this._offset + 1);
  110. if (null === r) return null;
  111. if (this.length > 4) throw s("Integer too long: " + this.length);
  112. if (this.length > this._size - r) return null;
  113. this._offset = r;
  114. for (var i = this._buf[this._offset], o = 0, a = 0; a < this.length; a++) o <<= 8, o |= 255 & this._buf[this._offset++];
  115. return 128 & ~i || 4 === a || (o -= 1 << 8 * a), 0 | o
  116. }, t.exports = a
  117. },
  118. 6299: t => {
  119. t.exports = {
  120. EOC: 0,
  121. Boolean: 1,
  122. Integer: 2,
  123. BitString: 3,
  124. OctetString: 4,
  125. Null: 5,
  126. OID: 6,
  127. ObjectDescriptor: 7,
  128. External: 8,
  129. Real: 9,
  130. Enumeration: 10,
  131. PDV: 11,
  132. Utf8String: 12,
  133. RelativeOID: 13,
  134. Sequence: 16,
  135. Set: 17,
  136. NumericString: 18,
  137. PrintableString: 19,
  138. T61String: 20,
  139. VideotexString: 21,
  140. IA5String: 22,
  141. UTCTime: 23,
  142. GeneralizedTime: 24,
  143. GraphicString: 25,
  144. VisibleString: 26,
  145. GeneralString: 28,
  146. UniversalString: 29,
  147. CharacterString: 30,
  148. BMPString: 31,
  149. Constructor: 32,
  150. Context: 128
  151. }
  152. },
  153. 1431: (t, e, r) => {
  154. var n = r(4529),
  155. i = r(4774)
  156. .Buffer,
  157. o = r(6299),
  158. s = r(6395)
  159. .newInvalidAsn1Error,
  160. a = {
  161. size: 1024,
  162. growthFactor: 8
  163. };
  164. function f(t) {
  165. var e, r;
  166. e = a, r = t || {}, n.ok(e), n.equal(typeof e, "object"), n.ok(r), n.equal(typeof r, "object"), Object.getOwnPropertyNames(e)
  167. .forEach((function(t) {
  168. if (!r[t]) {
  169. var n = Object.getOwnPropertyDescriptor(e, t);
  170. Object.defineProperty(r, t, n)
  171. }
  172. })), t = r, this._buf = i.alloc(t.size || 1024), this._size = this._buf.length, this._offset = 0, this._options = t, this._seq = []
  173. }
  174. Object.defineProperty(f.prototype, "buffer", {
  175. get: function() {
  176. if (this._seq.length) throw s(this._seq.length + " unended sequence(s)");
  177. return this._buf.slice(0, this._offset)
  178. }
  179. }), f.prototype.writeByte = function(t) {
  180. if ("number" != typeof t) throw new TypeError("argument must be a Number");
  181. this._ensure(1), this._buf[this._offset++] = t
  182. }, f.prototype.writeInt = function(t, e) {
  183. if ("number" != typeof t) throw new TypeError("argument must be a Number");
  184. "number" != typeof e && (e = o.Integer);
  185. for (var r = 4;
  186. (!(4286578688 & t) || -8388608 == (4286578688 & t)) && r > 1;) r--, t <<= 8;
  187. if (r > 4) throw s("BER ints cannot be > 0xffffffff");
  188. for (this._ensure(2 + r), this._buf[this._offset++] = e, this._buf[this._offset++] = r; r-- > 0;) this._buf[this._offset++] = (4278190080 & t) >>> 24, t <<= 8
  189. }, f.prototype.writeNull = function() {
  190. this.writeByte(o.Null), this.writeByte(0)
  191. }, f.prototype.writeEnumeration = function(t, e) {
  192. if ("number" != typeof t) throw new TypeError("argument must be a Number");
  193. return "number" != typeof e && (e = o.Enumeration), this.writeInt(t, e)
  194. }, f.prototype.writeBoolean = function(t, e) {
  195. if ("boolean" != typeof t) throw new TypeError("argument must be a Boolean");
  196. "number" != typeof e && (e = o.Boolean), this._ensure(3), this._buf[this._offset++] = e, this._buf[this._offset++] = 1, this._buf[this._offset++] = t ? 255 : 0
  197. }, f.prototype.writeString = function(t, e) {
  198. if ("string" != typeof t) throw new TypeError("argument must be a string (was: " + typeof t + ")");
  199. "number" != typeof e && (e = o.OctetString);
  200. var r = i.byteLength(t);
  201. this.writeByte(e), this.writeLength(r), r && (this._ensure(r), this._buf.write(t, this._offset), this._offset += r)
  202. }, f.prototype.writeBuffer = function(t, e) {
  203. if ("number" != typeof e) throw new TypeError("tag must be a number");
  204. if (!i.isBuffer(t)) throw new TypeError("argument must be a buffer");
  205. this.writeByte(e), this.writeLength(t.length), this._ensure(t.length), t.copy(this._buf, this._offset, 0, t.length), this._offset += t.length
  206. }, f.prototype.writeStringArray = function(t) {
  207. if (!t instanceof Array) throw new TypeError("argument must be an Array[String]");
  208. var e = this;
  209. t.forEach((function(t) {
  210. e.writeString(t)
  211. }))
  212. }, f.prototype.writeOID = function(t, e) {
  213. if ("string" != typeof t) throw new TypeError("argument must be a string");
  214. if ("number" != typeof e && (e = o.OID), !/^([0-9]+\.){3,}[0-9]+$/.test(t)) throw new Error("argument is not a valid OID string");
  215. var r = t.split("."),
  216. n = [];
  217. n.push(40 * parseInt(r[0], 10) + parseInt(r[1], 10)), r.slice(2)
  218. .forEach((function(t) {
  219. ! function(t, e) {
  220. e < 128 ? t.push(e) : e < 16384 ? (t.push(e >>> 7 | 128), t.push(127 & e)) : e < 2097152 ? (t.push(e >>> 14 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e)) : e < 268435456 ? (t.push(e >>> 21 | 128), t.push(e >>> 14 & 255 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e)) : (t.push(e >>> 28 & 255 | 128), t.push(e >>> 21 & 255 | 128), t.push(e >>> 14 & 255 | 128), t.push(e >>> 7 & 255 | 128), t.push(127 & e))
  221. }(n, parseInt(t, 10))
  222. }));
  223. var i = this;
  224. this._ensure(2 + n.length), this.writeByte(e), this.writeLength(n.length), n.forEach((function(t) {
  225. i.writeByte(t)
  226. }))
  227. }, f.prototype.writeLength = function(t) {
  228. if ("number" != typeof t) throw new TypeError("argument must be a Number");
  229. if (this._ensure(4), t <= 127) this._buf[this._offset++] = t;
  230. else if (t <= 255) this._buf[this._offset++] = 129, this._buf[this._offset++] = t;
  231. else if (t <= 65535) this._buf[this._offset++] = 130, this._buf[this._offset++] = t >> 8, this._buf[this._offset++] = t;
  232. else {
  233. if (!(t <= 16777215)) throw s("Length too long (> 4 bytes)");
  234. this._buf[this._offset++] = 131, this._buf[this._offset++] = t >> 16, this._buf[this._offset++] = t >> 8, this._buf[this._offset++] = t
  235. }
  236. }, f.prototype.startSequence = function(t) {
  237. "number" != typeof t && (t = o.Sequence | o.Constructor), this.writeByte(t), this._seq.push(this._offset), this._ensure(3), this._offset += 3
  238. }, f.prototype.endSequence = function() {
  239. var t = this._seq.pop(),
  240. e = t + 3,
  241. r = this._offset - e;
  242. if (r <= 127) this._shift(e, r, -2), this._buf[t] = r;
  243. else if (r <= 255) this._shift(e, r, -1), this._buf[t] = 129, this._buf[t + 1] = r;
  244. else if (r <= 65535) this._buf[t] = 130, this._buf[t + 1] = r >> 8, this._buf[t + 2] = r;
  245. else {
  246. if (!(r <= 16777215)) throw s("Sequence too long");
  247. this._shift(e, r, 1), this._buf[t] = 131, this._buf[t + 1] = r >> 16, this._buf[t + 2] = r >> 8, this._buf[t + 3] = r
  248. }
  249. }, f.prototype._shift = function(t, e, r) {
  250. n.ok(void 0 !== t), n.ok(void 0 !== e), n.ok(r), this._buf.copy(this._buf, t + r, t, t + e), this._offset += r
  251. }, f.prototype._ensure = function(t) {
  252. if (n.ok(t), this._size - this._offset < t) {
  253. var e = this._size * this._options.growthFactor;
  254. e - this._offset < t && (e += t);
  255. var r = i.alloc(e);
  256. this._buf.copy(r, 0, 0, this._offset), this._buf = r, this._size = e
  257. }
  258. }, t.exports = f
  259. },
  260. 3100: (t, e, r) => {
  261. var n = r(5670);
  262. t.exports = {
  263. Ber: n,
  264. BerReader: n.Reader,
  265. BerWriter: n.Writer
  266. }
  267. },
  268. 4529: (t, e, r) => {
  269. "use strict";
  270. var n = r(1514)();
  271. function i(t, e) {
  272. if (t === e) return 0;
  273. for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i) if (t[i] !== e[i]) {
  274. r = t[i], n = e[i];
  275. break
  276. }
  277. return r < n ? -1 : n < r ? 1 : 0
  278. }
  279. function o(t) {
  280. return r.g.Buffer && "function" == typeof r.g.Buffer.isBuffer ? r.g.Buffer.isBuffer(t) : !(null == t || !t._isBuffer)
  281. }
  282. var s = r(4591),
  283. a = Object.prototype.hasOwnProperty,
  284. f = Array.prototype.slice,
  285. u = "foo" === function() {}.name;
  286. function c(t) {
  287. return Object.prototype.toString.call(t)
  288. }
  289. function h(t) {
  290. return !o(t) && "function" == typeof r.g.ArrayBuffer && ("function" == typeof ArrayBuffer.isView ? ArrayBuffer.isView(t) : !! t && (t instanceof DataView || !! (t.buffer && t.buffer instanceof ArrayBuffer)))
  291. }
  292. var p = t.exports = m,
  293. l = /\s*function\s+([^\(\s]*)\s*/;
  294. function y(t) {
  295. if (s.isFunction(t)) {
  296. if (u) return t.name;
  297. var e = t.toString()
  298. .match(l);
  299. return e && e[1]
  300. }
  301. }
  302. function g(t, e) {
  303. return "string" == typeof t ? t.length < e ? t : t.slice(0, e) : t
  304. }
  305. function d(t) {
  306. if (u || !s.isFunction(t)) return s.inspect(t);
  307. var e = y(t);
  308. return "[Function" + (e ? ": " + e : "") + "]"
  309. }
  310. function v(t, e, r, n, i) {
  311. throw new p.AssertionError({
  312. message: r,
  313. actual: t,
  314. expected: e,
  315. operator: n,
  316. stackStartFunction: i
  317. })
  318. }
  319. function m(t, e) {
  320. t || v(t, !0, e, "==", p.ok)
  321. }
  322. function S(t, e, r, n) {
  323. if (t === e) return !0;
  324. if (o(t) && o(e)) return 0 === i(t, e);
  325. if (s.isDate(t) && s.isDate(e)) return t.getTime() === e.getTime();
  326. if (s.isRegExp(t) && s.isRegExp(e)) return t.source === e.source && t.global === e.global && t.multiline === e.multiline && t.lastIndex === e.lastIndex && t.ignoreCase === e.ignoreCase;
  327. if (null !== t && "object" == typeof t || null !== e && "object" == typeof e) {
  328. if (h(t) && h(e) && c(t) === c(e) && !(t instanceof Float32Array || t instanceof Float64Array)) return 0 === i(new Uint8Array(t.buffer), new Uint8Array(e.buffer));
  329. if (o(t) !== o(e)) return !1;
  330. var a = (n = n || {
  331. actual: [],
  332. expected: []
  333. })
  334. .actual.indexOf(t);
  335. return -1 !== a && a === n.expected.indexOf(e) || (n.actual.push(t), n.expected.push(e), function(t, e, r, n) {
  336. if (null == t || null == e) return !1;
  337. if (s.isPrimitive(t) || s.isPrimitive(e)) return t === e;
  338. if (r && Object.getPrototypeOf(t) !== Object.getPrototypeOf(e)) return !1;
  339. var i = _(t),
  340. o = _(e);
  341. if (i && !o || !i && o) return !1;
  342. if (i) return S(t = f.call(t), e = f.call(e), r);
  343. var a, u, c = w(t),
  344. h = w(e);
  345. if (c.length !== h.length) return !1;
  346. for (c.sort(), h.sort(), u = c.length - 1; u >= 0; u--) if (c[u] !== h[u]) return !1;
  347. for (u = c.length - 1; u >= 0; u--) if (!S(t[a = c[u]], e[a], r, n)) return !1;
  348. return !0
  349. }(t, e, r, n))
  350. }
  351. return r ? t === e : t == e
  352. }
  353. function _(t) {
  354. return "[object Arguments]" == Object.prototype.toString.call(t)
  355. }
  356. function b(t, e) {
  357. if (!t || !e) return !1;
  358. if ("[object RegExp]" == Object.prototype.toString.call(e)) return e.test(t);
  359. try {
  360. if (t instanceof e) return !0
  361. } catch (t) {}
  362. return !Error.isPrototypeOf(e) && !0 === e.call({}, t)
  363. }
  364. function E(t, e, r, n) {
  365. var i;
  366. if ("function" != typeof e) throw new TypeError('"block" argument must be a function');
  367. "string" == typeof r && (n = r, r = null), i = function(t) {
  368. var e;
  369. try {
  370. t()
  371. } catch (t) {
  372. e = t
  373. }
  374. return e
  375. }(e), n = (r && r.name ? " (" + r.name + ")." : ".") + (n ? " " + n : "."), t && !i && v(i, r, "Missing expected exception" + n);
  376. var o = "string" == typeof n,
  377. a = !t && i && !r;
  378. if ((!t && s.isError(i) && o && b(i, r) || a) && v(i, r, "Got unwanted exception" + n), t && i && r && !b(i, r) || !t && i) throw i
  379. }
  380. p.AssertionError = function(t) {
  381. this.name = "AssertionError", this.actual = t.actual, this.expected = t.expected, this.operator = t.operator, t.message ? (this.message = t.message, this.generatedMessage = !1) : (this.message = g(d(this.actual), 128) + " " + this.operator + " " + g(d(this.expected), 128), this.generatedMessage = !0);
  382. var e = t.stackStartFunction || v;
  383. if (Error.captureStackTrace) Error.captureStackTrace(this, e);
  384. else {
  385. var r = new Error;
  386. if (r.stack) {
  387. var n = r.stack,
  388. i = y(e),
  389. o = n.indexOf("\n" + i);
  390. if (o >= 0) {
  391. var s = n.indexOf("\n", o + 1);
  392. n = n.substring(s + 1)
  393. }
  394. this.stack = n
  395. }
  396. }
  397. }, s.inherits(p.AssertionError, Error), p.fail = v, p.ok = m, p.equal = function(t, e, r) {
  398. t != e && v(t, e, r, "==", p.equal)
  399. }, p.notEqual = function(t, e, r) {
  400. t == e && v(t, e, r, "!=", p.notEqual)
  401. }, p.deepEqual = function(t, e, r) {
  402. S(t, e, !1) || v(t, e, r, "deepEqual", p.deepEqual)
  403. }, p.deepStrictEqual = function(t, e, r) {
  404. S(t, e, !0) || v(t, e, r, "deepStrictEqual", p.deepStrictEqual)
  405. }, p.notDeepEqual = function(t, e, r) {
  406. S(t, e, !1) && v(t, e, r, "notDeepEqual", p.notDeepEqual)
  407. }, p.notDeepStrictEqual = function t(e, r, n) {
  408. S(e, r, !0) && v(e, r, n, "notDeepStrictEqual", t)
  409. }, p.strictEqual = function(t, e, r) {
  410. t !== e && v(t, e, r, "===", p.strictEqual)
  411. }, p.notStrictEqual = function(t, e, r) {
  412. t === e && v(t, e, r, "!==", p.notStrictEqual)
  413. }, p.throws = function(t, e, r) {
  414. E(!0, t, e, r)
  415. }, p.doesNotThrow = function(t, e, r) {
  416. E(!1, t, e, r)
  417. }, p.ifError = function(t) {
  418. if (t) throw t
  419. }, p.strict = n((function t(e, r) {
  420. e || v(e, !0, r, "==", t)
  421. }), p, {
  422. equal: p.strictEqual,
  423. deepEqual: p.deepStrictEqual,
  424. notEqual: p.notStrictEqual,
  425. notDeepEqual: p.notDeepStrictEqual
  426. }), p.strict.strict = p.strict;
  427. var w = Object.keys || function(t) {
  428. var e = [];
  429. for (var r in t) a.call(t, r) && e.push(r);
  430. return e
  431. }
  432. },
  433. 6100: t => {
  434. "function" == typeof Object.create ? t.exports = function(t, e) {
  435. t.super_ = e, t.prototype = Object.create(e.prototype, {
  436. constructor: {
  437. value: t,
  438. enumerable: !1,
  439. writable: !0,
  440. configurable: !0
  441. }
  442. })
  443. } : t.exports = function(t, e) {
  444. t.super_ = e;
  445. var r = function() {};
  446. r.prototype = e.prototype, t.prototype = new r, t.prototype.constructor = t
  447. }
  448. },
  449. 3845: t => {
  450. t.exports = function(t) {
  451. return t && "object" == typeof t && "function" == typeof t.copy && "function" == typeof t.fill && "function" == typeof t.readUInt8
  452. }
  453. },
  454. 4591: (t, e, r) => {
  455. var n = r(5606),
  456. i = /%[sdj%]/g;
  457. e.format = function(t) {
  458. if (!v(t)) {
  459. for (var e = [], r = 0; r < arguments.length; r++) e.push(a(arguments[r]));
  460. return e.join(" ")
  461. }
  462. r = 1;
  463. for (var n = arguments, o = n.length, s = String(t)
  464. .replace(i, (function(t) {
  465. if ("%%" === t) return "%";
  466. if (r >= o) return t;
  467. switch (t) {
  468. case "%s":
  469. return String(n[r++]);
  470. case "%d":
  471. return Number(n[r++]);
  472. case "%j":
  473. try {
  474. return JSON.stringify(n[r++])
  475. } catch (t) {
  476. return "[Circular]"
  477. }
  478. default:
  479. return t
  480. }
  481. })), f = n[r]; r < o; f = n[++r]) g(f) || !_(f) ? s += " " + f : s += " " + a(f);
  482. return s
  483. }, e.deprecate = function(t, i) {
  484. if (m(r.g.process)) return function() {
  485. return e.deprecate(t, i)
  486. .apply(this, arguments)
  487. };
  488. if (!0 === n.noDeprecation) return t;
  489. var o = !1;
  490. return function() {
  491. if (!o) {
  492. if (n.throwDeprecation) throw new Error(i);
  493. n.traceDeprecation ? console.trace(i) : console.error(i), o = !0
  494. }
  495. return t.apply(this, arguments)
  496. }
  497. };
  498. var o, s = {};
  499. function a(t, r) {
  500. var n = {
  501. seen: [],
  502. stylize: u
  503. };
  504. return arguments.length >= 3 && (n.depth = arguments[2]), arguments.length >= 4 && (n.colors = arguments[3]), y(r) ? n.showHidden = r : r && e._extend(n, r), m(n.showHidden) && (n.showHidden = !1), m(n.depth) && (n.depth = 2), m(n.colors) && (n.colors = !1), m(n.customInspect) && (n.customInspect = !0), n.colors && (n.stylize = f), c(n, t, n.depth)
  505. }
  506. function f(t, e) {
  507. var r = a.styles[e];
  508. return r ? "[" + a.colors[r][0] + "m" + t + "[" + a.colors[r][1] + "m" : t
  509. }
  510. function u(t, e) {
  511. return t
  512. }
  513. function c(t, r, n) {
  514. if (t.customInspect && r && w(r.inspect) && r.inspect !== e.inspect && (!r.constructor || r.constructor.prototype !== r)) {
  515. var i = r.inspect(n, t);
  516. return v(i) || (i = c(t, i, n)), i
  517. }
  518. var o = function(t, e) {
  519. if (m(e)) return t.stylize("undefined", "undefined");
  520. if (v(e)) {
  521. var r = "'" + JSON.stringify(e)
  522. .replace(/^"|"$/g, "")
  523. .replace(/'/g, "\\'")
  524. .replace(/\\"/g, '"') + "'";
  525. return t.stylize(r, "string")
  526. }
  527. return d(e) ? t.stylize("" + e, "number") : y(e) ? t.stylize("" + e, "boolean") : g(e) ? t.stylize("null", "null") : void 0
  528. }(t, r);
  529. if (o) return o;
  530. var s = Object.keys(r),
  531. a = function(t) {
  532. var e = {};
  533. return t.forEach((function(t, r) {
  534. e[t] = !0
  535. })), e
  536. }(s);
  537. if (t.showHidden && (s = Object.getOwnPropertyNames(r)), E(r) && (s.indexOf("message") >= 0 || s.indexOf("description") >= 0)) return h(r);
  538. if (0 === s.length) {
  539. if (w(r)) {
  540. var f = r.name ? ": " + r.name : "";
  541. return t.stylize("[Function" + f + "]", "special")
  542. }
  543. if (S(r)) return t.stylize(RegExp.prototype.toString.call(r), "regexp");
  544. if (b(r)) return t.stylize(Date.prototype.toString.call(r), "date");
  545. if (E(r)) return h(r)
  546. }
  547. var u, _ = "",
  548. O = !1,
  549. B = ["{", "}"];
  550. return l(r) && (O = !0, B = ["[", "]"]), w(r) && (_ = " [Function" + (r.name ? ": " + r.name : "") + "]"), S(r) && (_ = " " + RegExp.prototype.toString.call(r)), b(r) && (_ = " " + Date.prototype.toUTCString.call(r)), E(r) && (_ = " " + h(r)), 0 !== s.length || O && 0 != r.length ? n < 0 ? S(r) ? t.stylize(RegExp.prototype.toString.call(r), "regexp") : t.stylize("[Object]", "special") : (t.seen.push(r), u = O ? function(t, e, r, n, i) {
  551. for (var o = [], s = 0, a = e.length; s < a; ++s) x(e, String(s)) ? o.push(p(t, e, r, n, String(s), !0)) : o.push("");
  552. return i.forEach((function(i) {
  553. i.match(/^\d+$/) || o.push(p(t, e, r, n, i, !0))
  554. })), o
  555. }(t, r, n, a, s) : s.map((function(e) {
  556. return p(t, r, n, a, e, O)
  557. })), t.seen.pop(), function(t, e, r) {
  558. return t.reduce((function(t, e) {
  559. return e.indexOf("\n"), t + e.replace(/\u001b\[\d\d?m/g, "")
  560. .length + 1
  561. }), 0) > 60 ? r[0] + ("" === e ? "" : e + "\n ") + " " + t.join(",\n ") + " " + r[1] : r[0] + e + " " + t.join(", ") + " " + r[1]
  562. }(u, _, B)) : B[0] + _ + B[1]
  563. }
  564. function h(t) {
  565. return "[" + Error.prototype.toString.call(t) + "]"
  566. }
  567. function p(t, e, r, n, i, o) {
  568. var s, a, f;
  569. if ((f = Object.getOwnPropertyDescriptor(e, i) || {
  570. value: e[i]
  571. })
  572. .get ? a = f.set ? t.stylize("[Getter/Setter]", "special") : t.stylize("[Getter]", "special") : f.set && (a = t.stylize("[Setter]", "special")), x(n, i) || (s = "[" + i + "]"), a || (t.seen.indexOf(f.value) < 0 ? (a = g(r) ? c(t, f.value, null) : c(t, f.value, r - 1))
  573. .indexOf("\n") > -1 && (a = o ? a.split("\n")
  574. .map((function(t) {
  575. return " " + t
  576. }))
  577. .join("\n")
  578. .substr(2) : "\n" + a.split("\n")
  579. .map((function(t) {
  580. return " " + t
  581. }))
  582. .join("\n")) : a = t.stylize("[Circular]", "special")), m(s)) {
  583. if (o && i.match(/^\d+$/)) return a;
  584. (s = JSON.stringify("" + i))
  585. .match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (s = s.substr(1, s.length - 2), s = t.stylize(s, "name")) : (s = s.replace(/'/g, "\\'")
  586. .replace(/\\"/g, '"')
  587. .replace(/(^"|"$)/g, "'"), s = t.stylize(s, "string"))
  588. }
  589. return s + ": " + a
  590. }
  591. function l(t) {
  592. return Array.isArray(t)
  593. }
  594. function y(t) {
  595. return "boolean" == typeof t
  596. }
  597. function g(t) {
  598. return null === t
  599. }
  600. function d(t) {
  601. return "number" == typeof t
  602. }
  603. function v(t) {
  604. return "string" == typeof t
  605. }
  606. function m(t) {
  607. return void 0 === t
  608. }
  609. function S(t) {
  610. return _(t) && "[object RegExp]" === O(t)
  611. }
  612. function _(t) {
  613. return "object" == typeof t && null !== t
  614. }
  615. function b(t) {
  616. return _(t) && "[object Date]" === O(t)
  617. }
  618. function E(t) {
  619. return _(t) && ("[object Error]" === O(t) || t instanceof Error)
  620. }
  621. function w(t) {
  622. return "function" == typeof t
  623. }
  624. function O(t) {
  625. return Object.prototype.toString.call(t)
  626. }
  627. function B(t) {
  628. return t < 10 ? "0" + t.toString(10) : t.toString(10)
  629. }
  630. e.debuglog = function(t) {
  631. if (m(o) && (o = n.env.NODE_DEBUG || ""), t = t.toUpperCase(), !s[t]) if (new RegExp("\\b" + t + "\\b", "i")
  632. .test(o)) {
  633. var r = n.pid;
  634. s[t] = function() {
  635. var n = e.format.apply(e, arguments);
  636. console.error("%s %d: %s", t, r, n)
  637. }
  638. } else s[t] = function() {};
  639. return s[t]
  640. }, e.inspect = a, a.colors = {
  641. bold: [1, 22],
  642. italic: [3, 23],
  643. underline: [4, 24],
  644. inverse: [7, 27],
  645. white: [37, 39],
  646. grey: [90, 39],
  647. black: [30, 39],
  648. blue: [34, 39],
  649. cyan: [36, 39],
  650. green: [32, 39],
  651. magenta: [35, 39],
  652. red: [31, 39],
  653. yellow: [33, 39]
  654. }, a.styles = {
  655. special: "cyan",
  656. number: "yellow",
  657. boolean: "yellow",
  658. undefined: "grey",
  659. null: "bold",
  660. string: "green",
  661. date: "magenta",
  662. regexp: "red"
  663. }, e.isArray = l, e.isBoolean = y, e.isNull = g, e.isNullOrUndefined = function(t) {
  664. return null == t
  665. }, e.isNumber = d, e.isString = v, e.isSymbol = function(t) {
  666. return "symbol" == typeof t
  667. }, e.isUndefined = m, e.isRegExp = S, e.isObject = _, e.isDate = b, e.isError = E, e.isFunction = w, e.isPrimitive = function(t) {
  668. return null === t || "boolean" == typeof t || "number" == typeof t || "string" == typeof t || "symbol" == typeof t || void 0 === t
  669. }, e.isBuffer = r(3845);
  670. var A = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
  671. function x(t, e) {
  672. return Object.prototype.hasOwnProperty.call(t, e)
  673. }
  674. e.log = function() {
  675. var t, r;
  676. console.log("%s - %s", (r = [B((t = new Date)
  677. .getHours()), B(t.getMinutes()), B(t.getSeconds())].join(":"), [t.getDate(), A[t.getMonth()], r].join(" ")), e.format.apply(e, arguments))
  678. }, e.inherits = r(6100), e._extend = function(t, e) {
  679. if (!e || !_(e)) return t;
  680. for (var r = Object.keys(e), n = r.length; n--;) t[r[n]] = e[r[n]];
  681. return t
  682. }
  683. },
  684. 7526: (t, e) => {
  685. "use strict";
  686. e.byteLength = function(t) {
  687. var e = a(t),
  688. r = e[0],
  689. n = e[1];
  690. return 3 * (r + n) / 4 - n
  691. }, e.toByteArray = function(t) {
  692. var e, r, o = a(t),
  693. s = o[0],
  694. f = o[1],
  695. u = new i(function(t, e, r) {
  696. return 3 * (e + r) / 4 - r
  697. }(0, s, f)),
  698. c = 0,
  699. h = f > 0 ? s - 4 : s;
  700. for (r = 0; r < h; r += 4) e = n[t.charCodeAt(r)] << 18 | n[t.charCodeAt(r + 1)] << 12 | n[t.charCodeAt(r + 2)] << 6 | n[t.charCodeAt(r + 3)], u[c++] = e >> 16 & 255, u[c++] = e >> 8 & 255, u[c++] = 255 & e;
  701. return 2 === f && (e = n[t.charCodeAt(r)] << 2 | n[t.charCodeAt(r + 1)] >> 4, u[c++] = 255 & e), 1 === f && (e = n[t.charCodeAt(r)] << 10 | n[t.charCodeAt(r + 1)] << 4 | n[t.charCodeAt(r + 2)] >> 2, u[c++] = e >> 8 & 255, u[c++] = 255 & e), u
  702. }, e.fromByteArray = function(t) {
  703. for (var e, n = t.length, i = n % 3, o = [], s = 16383, a = 0, u = n - i; a < u; a += s) o.push(f(t, a, a + s > u ? u : a + s));
  704. return 1 === i ? (e = t[n - 1], o.push(r[e >> 2] + r[e << 4 & 63] + "==")) : 2 === i && (e = (t[n - 2] << 8) + t[n - 1], o.push(r[e >> 10] + r[e >> 4 & 63] + r[e << 2 & 63] + "=")), o.join("")
  705. };
  706. for (var r = [], n = [], i = "undefined" != typeof Uint8Array ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0; s < 64; ++s) r[s] = o[s], n[o.charCodeAt(s)] = s;
  707. function a(t) {
  708. var e = t.length;
  709. if (e % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
  710. var r = t.indexOf("=");
  711. return -1 === r && (r = e), [r, r === e ? 0 : 4 - r % 4]
  712. }
  713. function f(t, e, n) {
  714. for (var i, o, s = [], a = e; a < n; a += 3) i = (t[a] << 16 & 16711680) + (t[a + 1] << 8 & 65280) + (255 & t[a + 2]), s.push(r[(o = i) >> 18 & 63] + r[o >> 12 & 63] + r[o >> 6 & 63] + r[63 & o]);
  715. return s.join("")
  716. }
  717. n["-".charCodeAt(0)] = 62, n["_".charCodeAt(0)] = 63
  718. },
  719. 8287: (t, e, r) => {
  720. "use strict";
  721. var n = r(7526),
  722. i = r(251);
  723. e.Buffer = a, e.SlowBuffer = function(t) {
  724. return +t != t && (t = 0), a.alloc(+t)
  725. }, e.INSPECT_MAX_BYTES = 50;
  726. var o = 2147483647;
  727. function s(t) {
  728. if (t > o) throw new RangeError('The value "' + t + '" is invalid for option "size"');
  729. var e = new Uint8Array(t);
  730. return e.__proto__ = a.prototype, e
  731. }
  732. function a(t, e, r) {
  733. if ("number" == typeof t) {
  734. if ("string" == typeof e) throw new TypeError('The "string" argument must be of type string. Received type number');
  735. return c(t)
  736. }
  737. return f(t, e, r)
  738. }
  739. function f(t, e, r) {
  740. if ("string" == typeof t) return function(t, e) {
  741. if ("string" == typeof e && "" !== e || (e = "utf8"), !a.isEncoding(e)) throw new TypeError("Unknown encoding: " + e);
  742. var r = 0 | l(t, e),
  743. n = s(r),
  744. i = n.write(t, e);
  745. return i !== r && (n = n.slice(0, i)), n
  746. }(t, e);
  747. if (ArrayBuffer.isView(t)) return h(t);
  748. if (null == t) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
  749. if (H(t, ArrayBuffer) || t && H(t.buffer, ArrayBuffer)) return function(t, e, r) {
  750. if (e < 0 || t.byteLength < e) throw new RangeError('"offset" is outside of buffer bounds');
  751. if (t.byteLength < e + (r || 0)) throw new RangeError('"length" is outside of buffer bounds');
  752. var n;
  753. return (n = void 0 === e && void 0 === r ? new Uint8Array(t) : void 0 === r ? new Uint8Array(t, e) : new Uint8Array(t, e, r))
  754. .__proto__ = a.prototype, n
  755. }(t, e, r);
  756. if ("number" == typeof t) throw new TypeError('The "value" argument must not be of type number. Received type number');
  757. var n = t.valueOf && t.valueOf();
  758. if (null != n && n !== t) return a.from(n, e, r);
  759. var i = function(t) {
  760. if (a.isBuffer(t)) {
  761. var e = 0 | p(t.length),
  762. r = s(e);
  763. return 0 === r.length || t.copy(r, 0, 0, e), r
  764. }
  765. return void 0 !== t.length ? "number" != typeof t.length || F(t.length) ? s(0) : h(t) : "Buffer" === t.type && Array.isArray(t.data) ? h(t.data) : void 0
  766. }(t);
  767. if (i) return i;
  768. if ("undefined" != typeof Symbol && null != Symbol.toPrimitive && "function" == typeof t[Symbol.toPrimitive]) return a.from(t[Symbol.toPrimitive]("string"), e, r);
  769. throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t)
  770. }
  771. function u(t) {
  772. if ("number" != typeof t) throw new TypeError('"size" argument must be of type number');
  773. if (t < 0) throw new RangeError('The value "' + t + '" is invalid for option "size"')
  774. }
  775. function c(t) {
  776. return u(t), s(t < 0 ? 0 : 0 | p(t))
  777. }
  778. function h(t) {
  779. for (var e = t.length < 0 ? 0 : 0 | p(t.length), r = s(e), n = 0; n < e; n += 1) r[n] = 255 & t[n];
  780. return r
  781. }
  782. function p(t) {
  783. if (t >= o) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes");
  784. return 0 | t
  785. }
  786. function l(t, e) {
  787. if (a.isBuffer(t)) return t.length;
  788. if (ArrayBuffer.isView(t) || H(t, ArrayBuffer)) return t.byteLength;
  789. if ("string" != typeof t) throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof t);
  790. var r = t.length,
  791. n = arguments.length > 2 && !0 === arguments[2];
  792. if (!n && 0 === r) return 0;
  793. for (var i = !1;;) switch (e) {
  794. case "ascii":
  795. case "latin1":
  796. case "binary":
  797. return r;
  798. case "utf8":
  799. case "utf-8":
  800. return U(t)
  801. .length;
  802. case "ucs2":
  803. case "ucs-2":
  804. case "utf16le":
  805. case "utf-16le":
  806. return 2 * r;
  807. case "hex":
  808. return r >>> 1;
  809. case "base64":
  810. return M(t)
  811. .length;
  812. default:
  813. if (i) return n ? -1 : U(t)
  814. .length;
  815. e = ("" + e)
  816. .toLowerCase(), i = !0
  817. }
  818. }
  819. function y(t, e, r) {
  820. var n = !1;
  821. if ((void 0 === e || e < 0) && (e = 0), e > this.length) return "";
  822. if ((void 0 === r || r > this.length) && (r = this.length), r <= 0) return "";
  823. if ((r >>>= 0) <= (e >>>= 0)) return "";
  824. for (t || (t = "utf8");;) switch (t) {
  825. case "hex":
  826. return T(this, e, r);
  827. case "utf8":
  828. case "utf-8":
  829. return B(this, e, r);
  830. case "ascii":
  831. return x(this, e, r);
  832. case "latin1":
  833. case "binary":
  834. return P(this, e, r);
  835. case "base64":
  836. return O(this, e, r);
  837. case "ucs2":
  838. case "ucs-2":
  839. case "utf16le":
  840. case "utf-16le":
  841. return I(this, e, r);
  842. default:
  843. if (n) throw new TypeError("Unknown encoding: " + t);
  844. t = (t + "")
  845. .toLowerCase(), n = !0
  846. }
  847. }
  848. function g(t, e, r) {
  849. var n = t[e];
  850. t[e] = t[r], t[r] = n
  851. }
  852. function d(t, e, r, n, i) {
  853. if (0 === t.length) return -1;
  854. if ("string" == typeof r ? (n = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), F(r = +r) && (r = i ? 0 : t.length - 1), r < 0 && (r = t.length + r), r >= t.length) {
  855. if (i) return -1;
  856. r = t.length - 1
  857. } else if (r < 0) {
  858. if (!i) return -1;
  859. r = 0
  860. }
  861. if ("string" == typeof e && (e = a.from(e, n)), a.isBuffer(e)) return 0 === e.length ? -1 : v(t, e, r, n, i);
  862. if ("number" == typeof e) return e &= 255, "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(t, e, r) : Uint8Array.prototype.lastIndexOf.call(t, e, r) : v(t, [e], r, n, i);
  863. throw new TypeError("val must be string, number or Buffer")
  864. }
  865. function v(t, e, r, n, i) {
  866. var o, s = 1,
  867. a = t.length,
  868. f = e.length;
  869. if (void 0 !== n && ("ucs2" === (n = String(n)
  870. .toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
  871. if (t.length < 2 || e.length < 2) return -1;
  872. s = 2, a /= 2, f /= 2, r /= 2
  873. }
  874. function u(t, e) {
  875. return 1 === s ? t[e] : t.readUInt16BE(e * s)
  876. }
  877. if (i) {
  878. var c = -1;
  879. for (o = r; o < a; o++) if (u(t, o) === u(e, -1 === c ? 0 : o - c)) {
  880. if (-1 === c && (c = o), o - c + 1 === f) return c * s
  881. } else -1 !== c && (o -= o - c), c = -1
  882. } else for (r + f > a && (r = a - f), o = r; o >= 0; o--) {
  883. for (var h = !0, p = 0; p < f; p++) if (u(t, o + p) !== u(e, p)) {
  884. h = !1;
  885. break
  886. }
  887. if (h) return o
  888. }
  889. return -1
  890. }
  891. function m(t, e, r, n) {
  892. r = Number(r) || 0;
  893. var i = t.length - r;
  894. n ? (n = Number(n)) > i && (n = i) : n = i;
  895. var o = e.length;
  896. n > o / 2 && (n = o / 2);
  897. for (var s = 0; s < n; ++s) {
  898. var a = parseInt(e.substr(2 * s, 2), 16);
  899. if (F(a)) return s;
  900. t[r + s] = a
  901. }
  902. return s
  903. }
  904. function S(t, e, r, n) {
  905. return j(U(e, t.length - r), t, r, n)
  906. }
  907. function _(t, e, r, n) {
  908. return j(function(t) {
  909. for (var e = [], r = 0; r < t.length; ++r) e.push(255 & t.charCodeAt(r));
  910. return e
  911. }(e), t, r, n)
  912. }
  913. function b(t, e, r, n) {
  914. return _(t, e, r, n)
  915. }
  916. function E(t, e, r, n) {
  917. return j(M(e), t, r, n)
  918. }
  919. function w(t, e, r, n) {
  920. return j(function(t, e) {
  921. for (var r, n, i, o = [], s = 0; s < t.length && !((e -= 2) < 0); ++s) n = (r = t.charCodeAt(s)) >> 8, i = r % 256, o.push(i), o.push(n);
  922. return o
  923. }(e, t.length - r), t, r, n)
  924. }
  925. function O(t, e, r) {
  926. return 0 === e && r === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, r))
  927. }
  928. function B(t, e, r) {
  929. r = Math.min(t.length, r);
  930. for (var n = [], i = e; i < r;) {
  931. var o, s, a, f, u = t[i],
  932. c = null,
  933. h = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1;
  934. if (i + h <= r) switch (h) {
  935. case 1:
  936. u < 128 && (c = u);
  937. break;
  938. case 2:
  939. 128 == (192 & (o = t[i + 1])) && (f = (31 & u) << 6 | 63 & o) > 127 && (c = f);
  940. break;
  941. case 3:
  942. o = t[i + 1], s = t[i + 2], 128 == (192 & o) && 128 == (192 & s) && (f = (15 & u) << 12 | (63 & o) << 6 | 63 & s) > 2047 && (f < 55296 || f > 57343) && (c = f);
  943. break;
  944. case 4:
  945. o = t[i + 1], s = t[i + 2], a = t[i + 3], 128 == (192 & o) && 128 == (192 & s) && 128 == (192 & a) && (f = (15 & u) << 18 | (63 & o) << 12 | (63 & s) << 6 | 63 & a) > 65535 && f < 1114112 && (c = f)
  946. }
  947. null === c ? (c = 65533, h = 1) : c > 65535 && (c -= 65536, n.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), n.push(c), i += h
  948. }
  949. return function(t) {
  950. var e = t.length;
  951. if (e <= A) return String.fromCharCode.apply(String, t);
  952. for (var r = "", n = 0; n < e;) r += String.fromCharCode.apply(String, t.slice(n, n += A));
  953. return r
  954. }(n)
  955. }
  956. e.kMaxLength = o, a.TYPED_ARRAY_SUPPORT = function() {
  957. try {
  958. var t = new Uint8Array(1);
  959. return t.__proto__ = {
  960. __proto__: Uint8Array.prototype,
  961. foo: function() {
  962. return 42
  963. }
  964. }, 42 === t.foo()
  965. } catch (t) {
  966. return !1
  967. }
  968. }(), a.TYPED_ARRAY_SUPPORT || "undefined" == typeof console || "function" != typeof console.error || console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."), Object.defineProperty(a.prototype, "parent", {
  969. enumerable: !0,
  970. get: function() {
  971. if (a.isBuffer(this)) return this.buffer
  972. }
  973. }), Object.defineProperty(a.prototype, "offset", {
  974. enumerable: !0,
  975. get: function() {
  976. if (a.isBuffer(this)) return this.byteOffset
  977. }
  978. }), "undefined" != typeof Symbol && null != Symbol.species && a[Symbol.species] === a && Object.defineProperty(a, Symbol.species, {
  979. value: null,
  980. configurable: !0,
  981. enumerable: !1,
  982. writable: !1
  983. }), a.poolSize = 8192, a.from = function(t, e, r) {
  984. return f(t, e, r)
  985. }, a.prototype.__proto__ = Uint8Array.prototype, a.__proto__ = Uint8Array, a.alloc = function(t, e, r) {
  986. return function(t, e, r) {
  987. return u(t), t <= 0 ? s(t) : void 0 !== e ? "string" == typeof r ? s(t)
  988. .fill(e, r) : s(t)
  989. .fill(e) : s(t)
  990. }(t, e, r)
  991. }, a.allocUnsafe = function(t) {
  992. return c(t)
  993. }, a.allocUnsafeSlow = function(t) {
  994. return c(t)
  995. }, a.isBuffer = function(t) {
  996. return null != t && !0 === t._isBuffer && t !== a.prototype
  997. }, a.compare = function(t, e) {
  998. if (H(t, Uint8Array) && (t = a.from(t, t.offset, t.byteLength)), H(e, Uint8Array) && (e = a.from(e, e.offset, e.byteLength)), !a.isBuffer(t) || !a.isBuffer(e)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');
  999. if (t === e) return 0;
  1000. for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i) if (t[i] !== e[i]) {
  1001. r = t[i], n = e[i];
  1002. break
  1003. }
  1004. return r < n ? -1 : n < r ? 1 : 0
  1005. }, a.isEncoding = function(t) {
  1006. switch (String(t)
  1007. .toLowerCase()) {
  1008. case "hex":
  1009. case "utf8":
  1010. case "utf-8":
  1011. case "ascii":
  1012. case "latin1":
  1013. case "binary":
  1014. case "base64":
  1015. case "ucs2":
  1016. case "ucs-2":
  1017. case "utf16le":
  1018. case "utf-16le":
  1019. return !0;
  1020. default:
  1021. return !1
  1022. }
  1023. }, a.concat = function(t, e) {
  1024. if (!Array.isArray(t)) throw new TypeError('"list" argument must be an Array of Buffers');
  1025. if (0 === t.length) return a.alloc(0);
  1026. var r;
  1027. if (void 0 === e) for (e = 0, r = 0; r < t.length; ++r) e += t[r].length;
  1028. var n = a.allocUnsafe(e),
  1029. i = 0;
  1030. for (r = 0; r < t.length; ++r) {
  1031. var o = t[r];
  1032. if (H(o, Uint8Array) && (o = a.from(o)), !a.isBuffer(o)) throw new TypeError('"list" argument must be an Array of Buffers');
  1033. o.copy(n, i), i += o.length
  1034. }
  1035. return n
  1036. }, a.byteLength = l, a.prototype._isBuffer = !0, a.prototype.swap16 = function() {
  1037. var t = this.length;
  1038. if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
  1039. for (var e = 0; e < t; e += 2) g(this, e, e + 1);
  1040. return this
  1041. }, a.prototype.swap32 = function() {
  1042. var t = this.length;
  1043. if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
  1044. for (var e = 0; e < t; e += 4) g(this, e, e + 3), g(this, e + 1, e + 2);
  1045. return this
  1046. }, a.prototype.swap64 = function() {
  1047. var t = this.length;
  1048. if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
  1049. for (var e = 0; e < t; e += 8) g(this, e, e + 7), g(this, e + 1, e + 6), g(this, e + 2, e + 5), g(this, e + 3, e + 4);
  1050. return this
  1051. }, a.prototype.toString = function() {
  1052. var t = this.length;
  1053. return 0 === t ? "" : 0 === arguments.length ? B(this, 0, t) : y.apply(this, arguments)
  1054. }, a.prototype.toLocaleString = a.prototype.toString, a.prototype.equals = function(t) {
  1055. if (!a.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
  1056. return this === t || 0 === a.compare(this, t)
  1057. }, a.prototype.inspect = function() {
  1058. var t = "",
  1059. r = e.INSPECT_MAX_BYTES;
  1060. return t = this.toString("hex", 0, r)
  1061. .replace(/(.{2})/g, "$1 ")
  1062. .trim(), this.length > r && (t += " ... "), "<Buffer " + t + ">"
  1063. }, a.prototype.compare = function(t, e, r, n, i) {
  1064. if (H(t, Uint8Array) && (t = a.from(t, t.offset, t.byteLength)), !a.isBuffer(t)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof t);
  1065. if (void 0 === e && (e = 0), void 0 === r && (r = t ? t.length : 0), void 0 === n && (n = 0), void 0 === i && (i = this.length), e < 0 || r > t.length || n < 0 || i > this.length) throw new RangeError("out of range index");
  1066. if (n >= i && e >= r) return 0;
  1067. if (n >= i) return -1;
  1068. if (e >= r) return 1;
  1069. if (this === t) return 0;
  1070. for (var o = (i >>>= 0) - (n >>>= 0), s = (r >>>= 0) - (e >>>= 0), f = Math.min(o, s), u = this.slice(n, i), c = t.slice(e, r), h = 0; h < f; ++h) if (u[h] !== c[h]) {
  1071. o = u[h], s = c[h];
  1072. break
  1073. }
  1074. return o < s ? -1 : s < o ? 1 : 0
  1075. }, a.prototype.includes = function(t, e, r) {
  1076. return -1 !== this.indexOf(t, e, r)
  1077. }, a.prototype.indexOf = function(t, e, r) {
  1078. return d(this, t, e, r, !0)
  1079. }, a.prototype.lastIndexOf = function(t, e, r) {
  1080. return d(this, t, e, r, !1)
  1081. }, a.prototype.write = function(t, e, r, n) {
  1082. if (void 0 === e) n = "utf8", r = this.length, e = 0;
  1083. else if (void 0 === r && "string" == typeof e) n = e, r = this.length, e = 0;
  1084. else {
  1085. if (!isFinite(e)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
  1086. e >>>= 0, isFinite(r) ? (r >>>= 0, void 0 === n && (n = "utf8")) : (n = r, r = void 0)
  1087. }
  1088. var i = this.length - e;
  1089. if ((void 0 === r || r > i) && (r = i), t.length > 0 && (r < 0 || e < 0) || e > this.length) throw new RangeError("Attempt to write outside buffer bounds");
  1090. n || (n = "utf8");
  1091. for (var o = !1;;) switch (n) {
  1092. case "hex":
  1093. return m(this, t, e, r);
  1094. case "utf8":
  1095. case "utf-8":
  1096. return S(this, t, e, r);
  1097. case "ascii":
  1098. return _(this, t, e, r);
  1099. case "latin1":
  1100. case "binary":
  1101. return b(this, t, e, r);
  1102. case "base64":
  1103. return E(this, t, e, r);
  1104. case "ucs2":
  1105. case "ucs-2":
  1106. case "utf16le":
  1107. case "utf-16le":
  1108. return w(this, t, e, r);
  1109. default:
  1110. if (o) throw new TypeError("Unknown encoding: " + n);
  1111. n = ("" + n)
  1112. .toLowerCase(), o = !0
  1113. }
  1114. }, a.prototype.toJSON = function() {
  1115. return {
  1116. type: "Buffer",
  1117. data: Array.prototype.slice.call(this._arr || this, 0)
  1118. }
  1119. };
  1120. var A = 4096;
  1121. function x(t, e, r) {
  1122. var n = "";
  1123. r = Math.min(t.length, r);
  1124. for (var i = e; i < r; ++i) n += String.fromCharCode(127 & t[i]);
  1125. return n
  1126. }
  1127. function P(t, e, r) {
  1128. var n = "";
  1129. r = Math.min(t.length, r);
  1130. for (var i = e; i < r; ++i) n += String.fromCharCode(t[i]);
  1131. return n
  1132. }
  1133. function T(t, e, r) {
  1134. var n, i = t.length;
  1135. (!e || e < 0) && (e = 0), (!r || r < 0 || r > i) && (r = i);
  1136. for (var o = "", s = e; s < r; ++s) o += (n = t[s]) < 16 ? "0" + n.toString(16) : n.toString(16);
  1137. return o
  1138. }
  1139. function I(t, e, r) {
  1140. for (var n = t.slice(e, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]);
  1141. return i
  1142. }
  1143. function k(t, e, r) {
  1144. if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint");
  1145. if (t + e > r) throw new RangeError("Trying to access beyond buffer length")
  1146. }
  1147. function D(t, e, r, n, i, o) {
  1148. if (!a.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance');
  1149. if (e > i || e < o) throw new RangeError('"value" argument is out of bounds');
  1150. if (r + n > t.length) throw new RangeError("Index out of range")
  1151. }
  1152. function R(t, e, r, n, i, o) {
  1153. if (r + n > t.length) throw new RangeError("Index out of range");
  1154. if (r < 0) throw new RangeError("Index out of range")
  1155. }
  1156. function N(t, e, r, n, o) {
  1157. return e = +e, r >>>= 0, o || R(t, 0, r, 4), i.write(t, e, r, n, 23, 4), r + 4
  1158. }
  1159. function L(t, e, r, n, o) {
  1160. return e = +e, r >>>= 0, o || R(t, 0, r, 8), i.write(t, e, r, n, 52, 8), r + 8
  1161. }
  1162. a.prototype.slice = function(t, e) {
  1163. var r = this.length;
  1164. (t = ~~t) < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), (e = void 0 === e ? r : ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), e < t && (e = t);
  1165. var n = this.subarray(t, e);
  1166. return n.__proto__ = a.prototype, n
  1167. }, a.prototype.readUIntLE = function(t, e, r) {
  1168. t >>>= 0, e >>>= 0, r || k(t, e, this.length);
  1169. for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256);) n += this[t + o] * i;
  1170. return n
  1171. }, a.prototype.readUIntBE = function(t, e, r) {
  1172. t >>>= 0, e >>>= 0, r || k(t, e, this.length);
  1173. for (var n = this[t + --e], i = 1; e > 0 && (i *= 256);) n += this[t + --e] * i;
  1174. return n
  1175. }, a.prototype.readUInt8 = function(t, e) {
  1176. return t >>>= 0, e || k(t, 1, this.length), this[t]
  1177. }, a.prototype.readUInt16LE = function(t, e) {
  1178. return t >>>= 0, e || k(t, 2, this.length), this[t] | this[t + 1] << 8
  1179. }, a.prototype.readUInt16BE = function(t, e) {
  1180. return t >>>= 0, e || k(t, 2, this.length), this[t] << 8 | this[t + 1]
  1181. }, a.prototype.readUInt32LE = function(t, e) {
  1182. return t >>>= 0, e || k(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + 16777216 * this[t + 3]
  1183. }, a.prototype.readUInt32BE = function(t, e) {
  1184. return t >>>= 0, e || k(t, 4, this.length), 16777216 * this[t] + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3])
  1185. }, a.prototype.readIntLE = function(t, e, r) {
  1186. t >>>= 0, e >>>= 0, r || k(t, e, this.length);
  1187. for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256);) n += this[t + o] * i;
  1188. return n >= (i *= 128) && (n -= Math.pow(2, 8 * e)), n
  1189. }, a.prototype.readIntBE = function(t, e, r) {
  1190. t >>>= 0, e >>>= 0, r || k(t, e, this.length);
  1191. for (var n = e, i = 1, o = this[t + --n]; n > 0 && (i *= 256);) o += this[t + --n] * i;
  1192. return o >= (i *= 128) && (o -= Math.pow(2, 8 * e)), o
  1193. }, a.prototype.readInt8 = function(t, e) {
  1194. return t >>>= 0, e || k(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t]
  1195. }, a.prototype.readInt16LE = function(t, e) {
  1196. t >>>= 0, e || k(t, 2, this.length);
  1197. var r = this[t] | this[t + 1] << 8;
  1198. return 32768 & r ? 4294901760 | r : r
  1199. }, a.prototype.readInt16BE = function(t, e) {
  1200. t >>>= 0, e || k(t, 2, this.length);
  1201. var r = this[t + 1] | this[t] << 8;
  1202. return 32768 & r ? 4294901760 | r : r
  1203. }, a.prototype.readInt32LE = function(t, e) {
  1204. return t >>>= 0, e || k(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24
  1205. }, a.prototype.readInt32BE = function(t, e) {
  1206. return t >>>= 0, e || k(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]
  1207. }, a.prototype.readFloatLE = function(t, e) {
  1208. return t >>>= 0, e || k(t, 4, this.length), i.read(this, t, !0, 23, 4)
  1209. }, a.prototype.readFloatBE = function(t, e) {
  1210. return t >>>= 0, e || k(t, 4, this.length), i.read(this, t, !1, 23, 4)
  1211. }, a.prototype.readDoubleLE = function(t, e) {
  1212. return t >>>= 0, e || k(t, 8, this.length), i.read(this, t, !0, 52, 8)
  1213. }, a.prototype.readDoubleBE = function(t, e) {
  1214. return t >>>= 0, e || k(t, 8, this.length), i.read(this, t, !1, 52, 8)
  1215. }, a.prototype.writeUIntLE = function(t, e, r, n) {
  1216. t = +t, e >>>= 0, r >>>= 0, n || D(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
  1217. var i = 1,
  1218. o = 0;
  1219. for (this[e] = 255 & t; ++o < r && (i *= 256);) this[e + o] = t / i & 255;
  1220. return e + r
  1221. }, a.prototype.writeUIntBE = function(t, e, r, n) {
  1222. t = +t, e >>>= 0, r >>>= 0, n || D(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
  1223. var i = r - 1,
  1224. o = 1;
  1225. for (this[e + i] = 255 & t; --i >= 0 && (o *= 256);) this[e + i] = t / o & 255;
  1226. return e + r
  1227. }, a.prototype.writeUInt8 = function(t, e, r) {
  1228. return t = +t, e >>>= 0, r || D(this, t, e, 1, 255, 0), this[e] = 255 & t, e + 1
  1229. }, a.prototype.writeUInt16LE = function(t, e, r) {
  1230. return t = +t, e >>>= 0, r || D(this, t, e, 2, 65535, 0), this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2
  1231. }, a.prototype.writeUInt16BE = function(t, e, r) {
  1232. return t = +t, e >>>= 0, r || D(this, t, e, 2, 65535, 0), this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2
  1233. }, a.prototype.writeUInt32LE = function(t, e, r) {
  1234. return t = +t, e >>>= 0, r || D(this, t, e, 4, 4294967295, 0), this[e + 3] = t >>> 24, this[e + 2] = t >>> 16, this[e + 1] = t >>> 8, this[e] = 255 & t, e + 4
  1235. }, a.prototype.writeUInt32BE = function(t, e, r) {
  1236. return t = +t, e >>>= 0, r || D(this, t, e, 4, 4294967295, 0), this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t, e + 4
  1237. }, a.prototype.writeIntLE = function(t, e, r, n) {
  1238. if (t = +t, e >>>= 0, !n) {
  1239. var i = Math.pow(2, 8 * r - 1);
  1240. D(this, t, e, r, i - 1, -i)
  1241. }
  1242. var o = 0,
  1243. s = 1,
  1244. a = 0;
  1245. for (this[e] = 255 & t; ++o < r && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + o - 1] && (a = 1), this[e + o] = (t / s | 0) - a & 255;
  1246. return e + r
  1247. }, a.prototype.writeIntBE = function(t, e, r, n) {
  1248. if (t = +t, e >>>= 0, !n) {
  1249. var i = Math.pow(2, 8 * r - 1);
  1250. D(this, t, e, r, i - 1, -i)
  1251. }
  1252. var o = r - 1,
  1253. s = 1,
  1254. a = 0;
  1255. for (this[e + o] = 255 & t; --o >= 0 && (s *= 256);) t < 0 && 0 === a && 0 !== this[e + o + 1] && (a = 1), this[e + o] = (t / s | 0) - a & 255;
  1256. return e + r
  1257. }, a.prototype.writeInt8 = function(t, e, r) {
  1258. return t = +t, e >>>= 0, r || D(this, t, e, 1, 127, -128), t < 0 && (t = 255 + t + 1), this[e] = 255 & t, e + 1
  1259. }, a.prototype.writeInt16LE = function(t, e, r) {
  1260. return t = +t, e >>>= 0, r || D(this, t, e, 2, 32767, -32768), this[e] = 255 & t, this[e + 1] = t >>> 8, e + 2
  1261. }, a.prototype.writeInt16BE = function(t, e, r) {
  1262. return t = +t, e >>>= 0, r || D(this, t, e, 2, 32767, -32768), this[e] = t >>> 8, this[e + 1] = 255 & t, e + 2
  1263. }, a.prototype.writeInt32LE = function(t, e, r) {
  1264. return t = +t, e >>>= 0, r || D(this, t, e, 4, 2147483647, -2147483648), this[e] = 255 & t, this[e + 1] = t >>> 8, this[e + 2] = t >>> 16, this[e + 3] = t >>> 24, e + 4
  1265. }, a.prototype.writeInt32BE = function(t, e, r) {
  1266. return t = +t, e >>>= 0, r || D(this, t, e, 4, 2147483647, -2147483648), t < 0 && (t = 4294967295 + t + 1), this[e] = t >>> 24, this[e + 1] = t >>> 16, this[e + 2] = t >>> 8, this[e + 3] = 255 & t, e + 4
  1267. }, a.prototype.writeFloatLE = function(t, e, r) {
  1268. return N(this, t, e, !0, r)
  1269. }, a.prototype.writeFloatBE = function(t, e, r) {
  1270. return N(this, t, e, !1, r)
  1271. }, a.prototype.writeDoubleLE = function(t, e, r) {
  1272. return L(this, t, e, !0, r)
  1273. }, a.prototype.writeDoubleBE = function(t, e, r) {
  1274. return L(this, t, e, !1, r)
  1275. }, a.prototype.copy = function(t, e, r, n) {
  1276. if (!a.isBuffer(t)) throw new TypeError("argument should be a Buffer");
  1277. if (r || (r = 0), n || 0 === n || (n = this.length), e >= t.length && (e = t.length), e || (e = 0), n > 0 && n < r && (n = r), n === r) return 0;
  1278. if (0 === t.length || 0 === this.length) return 0;
  1279. if (e < 0) throw new RangeError("targetStart out of bounds");
  1280. if (r < 0 || r >= this.length) throw new RangeError("Index out of range");
  1281. if (n < 0) throw new RangeError("sourceEnd out of bounds");
  1282. n > this.length && (n = this.length), t.length - e < n - r && (n = t.length - e + r);
  1283. var i = n - r;
  1284. if (this === t && "function" == typeof Uint8Array.prototype.copyWithin) this.copyWithin(e, r, n);
  1285. else if (this === t && r < e && e < n) for (var o = i - 1; o >= 0; --o) t[o + e] = this[o + r];
  1286. else Uint8Array.prototype.set.call(t, this.subarray(r, n), e);
  1287. return i
  1288. }, a.prototype.fill = function(t, e, r, n) {
  1289. if ("string" == typeof t) {
  1290. if ("string" == typeof e ? (n = e, e = 0, r = this.length) : "string" == typeof r && (n = r, r = this.length), void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string");
  1291. if ("string" == typeof n && !a.isEncoding(n)) throw new TypeError("Unknown encoding: " + n);
  1292. if (1 === t.length) {
  1293. var i = t.charCodeAt(0);
  1294. ("utf8" === n && i < 128 || "latin1" === n) && (t = i)
  1295. }
  1296. } else "number" == typeof t && (t &= 255);
  1297. if (e < 0 || this.length < e || this.length < r) throw new RangeError("Out of range index");
  1298. if (r <= e) return this;
  1299. var o;
  1300. if (e >>>= 0, r = void 0 === r ? this.length : r >>> 0, t || (t = 0), "number" == typeof t) for (o = e; o < r; ++o) this[o] = t;
  1301. else {
  1302. var s = a.isBuffer(t) ? t : a.from(t, n),
  1303. f = s.length;
  1304. if (0 === f) throw new TypeError('The value "' + t + '" is invalid for argument "value"');
  1305. for (o = 0; o < r - e; ++o) this[o + e] = s[o % f]
  1306. }
  1307. return this
  1308. };
  1309. var C = /[^+/0-9A-Za-z-_]/g;
  1310. function U(t, e) {
  1311. var r;
  1312. e = e || 1 / 0;
  1313. for (var n = t.length, i = null, o = [], s = 0; s < n; ++s) {
  1314. if ((r = t.charCodeAt(s)) > 55295 && r < 57344) {
  1315. if (!i) {
  1316. if (r > 56319) {
  1317. (e -= 3) > -1 && o.push(239, 191, 189);
  1318. continue
  1319. }
  1320. if (s + 1 === n) {
  1321. (e -= 3) > -1 && o.push(239, 191, 189);
  1322. continue
  1323. }
  1324. i = r;
  1325. continue
  1326. }
  1327. if (r < 56320) {
  1328. (e -= 3) > -1 && o.push(239, 191, 189), i = r;
  1329. continue
  1330. }
  1331. r = 65536 + (i - 55296 << 10 | r - 56320)
  1332. } else i && (e -= 3) > -1 && o.push(239, 191, 189);
  1333. if (i = null, r < 128) {
  1334. if ((e -= 1) < 0) break;
  1335. o.push(r)
  1336. } else if (r < 2048) {
  1337. if ((e -= 2) < 0) break;
  1338. o.push(r >> 6 | 192, 63 & r | 128)
  1339. } else if (r < 65536) {
  1340. if ((e -= 3) < 0) break;
  1341. o.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128)
  1342. } else {
  1343. if (!(r < 1114112)) throw new Error("Invalid code point");
  1344. if ((e -= 4) < 0) break;
  1345. o.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128)
  1346. }
  1347. }
  1348. return o
  1349. }
  1350. function M(t) {
  1351. return n.toByteArray(function(t) {
  1352. if ((t = (t = t.split("=")[0])
  1353. .trim()
  1354. .replace(C, ""))
  1355. .length < 2) return "";
  1356. for (; t.length % 4 != 0;) t += "=";
  1357. return t
  1358. }(t))
  1359. }
  1360. function j(t, e, r, n) {
  1361. for (var i = 0; i < n && !(i + r >= e.length || i >= t.length); ++i) e[i + r] = t[i];
  1362. return i
  1363. }
  1364. function H(t, e) {
  1365. return t instanceof e || null != t && null != t.constructor && null != t.constructor.name && t.constructor.name === e.name
  1366. }
  1367. function F(t) {
  1368. return t != t
  1369. }
  1370. },
  1371. 8075: (t, e, r) => {
  1372. "use strict";
  1373. var n = r(453),
  1374. i = r(487),
  1375. o = i(n("String.prototype.indexOf"));
  1376. t.exports = function(t, e) {
  1377. var r = n(t, !! e);
  1378. return "function" == typeof r && o(t, ".prototype.") > -1 ? i(r) : r
  1379. }
  1380. },
  1381. 487: (t, e, r) => {
  1382. "use strict";
  1383. var n = r(6743),
  1384. i = r(453),
  1385. o = r(6897),
  1386. s = r(9675),
  1387. a = i("%Function.prototype.apply%"),
  1388. f = i("%Function.prototype.call%"),
  1389. u = i("%Reflect.apply%", !0) || n.call(f, a),
  1390. c = r(655),
  1391. h = i("%Math.max%");
  1392. t.exports = function(t) {
  1393. if ("function" != typeof t) throw new s("a function is required");
  1394. var e = u(n, f, arguments);
  1395. return o(e, 1 + h(0, t.length - (arguments.length - 1)), !0)
  1396. };
  1397. var p = function() {
  1398. return u(n, a, arguments)
  1399. };
  1400. c ? c(t.exports, "apply", {
  1401. value: p
  1402. }) : t.exports.apply = p
  1403. },
  1404. 955: function(t, e, r) {
  1405. var n;
  1406. t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
  1407. var t = n,
  1408. e = t.lib.BlockCipher,
  1409. r = t.algo,
  1410. i = [],
  1411. o = [],
  1412. s = [],
  1413. a = [],
  1414. f = [],
  1415. u = [],
  1416. c = [],
  1417. h = [],
  1418. p = [],
  1419. l = [];
  1420. ! function() {
  1421. for (var t = [], e = 0; e < 256; e++) t[e] = e < 128 ? e << 1 : e << 1 ^ 283;
  1422. var r = 0,
  1423. n = 0;
  1424. for (e = 0; e < 256; e++) {
  1425. var y = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4;
  1426. y = y >>> 8 ^ 255 & y ^ 99, i[r] = y, o[y] = r;
  1427. var g = t[r],
  1428. d = t[g],
  1429. v = t[d],
  1430. m = 257 * t[y] ^ 16843008 * y;
  1431. s[r] = m << 24 | m >>> 8, a[r] = m << 16 | m >>> 16, f[r] = m << 8 | m >>> 24, u[r] = m, m = 16843009 * v ^ 65537 * d ^ 257 * g ^ 16843008 * r, c[y] = m << 24 | m >>> 8, h[y] = m << 16 | m >>> 16, p[y] = m << 8 | m >>> 24, l[y] = m, r ? (r = g ^ t[t[t[v ^ g]]], n ^= t[t[n]]) : r = n = 1
  1432. }
  1433. }();
  1434. var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54],
  1435. g = r.AES = e.extend({
  1436. _doReset: function() {
  1437. if (!this._nRounds || this._keyPriorReset !== this._key) {
  1438. for (var t = this._keyPriorReset = this._key, e = t.words, r = t.sigBytes / 4, n = 4 * ((this._nRounds = r + 6) + 1), o = this._keySchedule = [], s = 0; s < n; s++) if (s < r) o[s] = e[s];
  1439. else {
  1440. var a = o[s - 1];
  1441. s % r ? r > 6 && s % r == 4 && (a = i[a >>> 24] << 24 | i[a >>> 16 & 255] << 16 | i[a >>> 8 & 255] << 8 | i[255 & a]) : (a = i[(a = a << 8 | a >>> 24) >>> 24] << 24 | i[a >>> 16 & 255] << 16 | i[a >>> 8 & 255] << 8 | i[255 & a], a ^= y[s / r | 0] << 24), o[s] = o[s - r] ^ a
  1442. }
  1443. for (var f = this._invKeySchedule = [], u = 0; u < n; u++) s = n - u, a = u % 4 ? o[s] : o[s - 4], f[u] = u < 4 || s <= 4 ? a : c[i[a >>> 24]] ^ h[i[a >>> 16 & 255]] ^ p[i[a >>> 8 & 255]] ^ l[i[255 & a]]
  1444. }
  1445. },
  1446. encryptBlock: function(t, e) {
  1447. this._doCryptBlock(t, e, this._keySchedule, s, a, f, u, i)
  1448. },
  1449. decryptBlock: function(t, e) {
  1450. var r = t[e + 1];
  1451. t[e + 1] = t[e + 3], t[e + 3] = r, this._doCryptBlock(t, e, this._invKeySchedule, c, h, p, l, o), r = t[e + 1], t[e + 1] = t[e + 3], t[e + 3] = r
  1452. },
  1453. _doCryptBlock: function(t, e, r, n, i, o, s, a) {
  1454. for (var f = this._nRounds, u = t[e] ^ r[0], c = t[e + 1] ^ r[1], h = t[e + 2] ^ r[2], p = t[e + 3] ^ r[3], l = 4, y = 1; y < f; y++) {
  1455. var g = n[u >>> 24] ^ i[c >>> 16 & 255] ^ o[h >>> 8 & 255] ^ s[255 & p] ^ r[l++],
  1456. d = n[c >>> 24] ^ i[h >>> 16 & 255] ^ o[p >>> 8 & 255] ^ s[255 & u] ^ r[l++],
  1457. v = n[h >>> 24] ^ i[p >>> 16 & 255] ^ o[u >>> 8 & 255] ^ s[255 & c] ^ r[l++],
  1458. m = n[p >>> 24] ^ i[u >>> 16 & 255] ^ o[c >>> 8 & 255] ^ s[255 & h] ^ r[l++];
  1459. u = g, c = d, h = v, p = m
  1460. }
  1461. g = (a[u >>> 24] << 24 | a[c >>> 16 & 255] << 16 | a[h >>> 8 & 255] << 8 | a[255 & p]) ^ r[l++], d = (a[c >>> 24] << 24 | a[h >>> 16 & 255] << 16 | a[p >>> 8 & 255] << 8 | a[255 & u]) ^ r[l++], v = (a[h >>> 24] << 24 | a[p >>> 16 & 255] << 16 | a[u >>> 8 & 255] << 8 | a[255 & c]) ^ r[l++], m = (a[p >>> 24] << 24 | a[u >>> 16 & 255] << 16 | a[c >>> 8 & 255] << 8 | a[255 & h]) ^ r[l++], t[e] = g, t[e + 1] = d, t[e + 2] = v, t[e + 3] = m
  1462. },
  1463. keySize: 8
  1464. });
  1465. t.AES = e._createHelper(g)
  1466. }(), n.AES)
  1467. },
  1468. 7165: function(t, e, r) {
  1469. var n, i, o, s, a, f, u, c, h, p, l, y, g, d, v, m, S, _, b;
  1470. t.exports = (n = r(9021), r(9506), void(n.lib.Cipher || (i = n, o = i.lib, s = o.Base, a = o.WordArray, f = o.BufferedBlockAlgorithm, u = i.enc, u.Utf8, c = u.Base64, h = i.algo.EvpKDF, p = o.Cipher = f.extend({
  1471. cfg: s.extend(),
  1472. createEncryptor: function(t, e) {
  1473. return this.create(this._ENC_XFORM_MODE, t, e)
  1474. },
  1475. createDecryptor: function(t, e) {
  1476. return this.create(this._DEC_XFORM_MODE, t, e)
  1477. },
  1478. init: function(t, e, r) {
  1479. this.cfg = this.cfg.extend(r), this._xformMode = t, this._key = e, this.reset()
  1480. },
  1481. reset: function() {
  1482. f.reset.call(this), this._doReset()
  1483. },
  1484. process: function(t) {
  1485. return this._append(t), this._process()
  1486. },
  1487. finalize: function(t) {
  1488. return t && this._append(t), this._doFinalize()
  1489. },
  1490. keySize: 4,
  1491. ivSize: 4,
  1492. _ENC_XFORM_MODE: 1,
  1493. _DEC_XFORM_MODE: 2,
  1494. _createHelper: function() {
  1495. function t(t) {
  1496. return "string" == typeof t ? b : S
  1497. }
  1498. return function(e) {
  1499. return {
  1500. encrypt: function(r, n, i) {
  1501. return t(n)
  1502. .encrypt(e, r, n, i)
  1503. },
  1504. decrypt: function(r, n, i) {
  1505. return t(n)
  1506. .decrypt(e, r, n, i)
  1507. }
  1508. }
  1509. }
  1510. }()
  1511. }), o.StreamCipher = p.extend({
  1512. _doFinalize: function() {
  1513. return this._process(!0)
  1514. },
  1515. blockSize: 1
  1516. }), l = i.mode = {}, y = o.BlockCipherMode = s.extend({
  1517. createEncryptor: function(t, e) {
  1518. return this.Encryptor.create(t, e)
  1519. },
  1520. createDecryptor: function(t, e) {
  1521. return this.Decryptor.create(t, e)
  1522. },
  1523. init: function(t, e) {
  1524. this._cipher = t, this._iv = e
  1525. }
  1526. }), g = l.CBC = function() {
  1527. var t = y.extend();
  1528. function e(t, e, r) {
  1529. var n = this._iv;
  1530. if (n) {
  1531. var i = n;
  1532. this._iv = void 0
  1533. } else i = this._prevBlock;
  1534. for (var o = 0; o < r; o++) t[e + o] ^= i[o]
  1535. }
  1536. return t.Encryptor = t.extend({
  1537. processBlock: function(t, r) {
  1538. var n = this._cipher,
  1539. i = n.blockSize;
  1540. e.call(this, t, r, i), n.encryptBlock(t, r), this._prevBlock = t.slice(r, r + i)
  1541. }
  1542. }), t.Decryptor = t.extend({
  1543. processBlock: function(t, r) {
  1544. var n = this._cipher,
  1545. i = n.blockSize,
  1546. o = t.slice(r, r + i);
  1547. n.decryptBlock(t, r), e.call(this, t, r, i), this._prevBlock = o
  1548. }
  1549. }), t
  1550. }(), d = (i.pad = {})
  1551. .Pkcs7 = {
  1552. pad: function(t, e) {
  1553. for (var r = 4 * e, n = r - t.sigBytes % r, i = n << 24 | n << 16 | n << 8 | n, o = [], s = 0; s < n; s += 4) o.push(i);
  1554. var f = a.create(o, n);
  1555. t.concat(f)
  1556. },
  1557. unpad: function(t) {
  1558. var e = 255 & t.words[t.sigBytes - 1 >>> 2];
  1559. t.sigBytes -= e
  1560. }
  1561. }, o.BlockCipher = p.extend({
  1562. cfg: p.cfg.extend({
  1563. mode: g,
  1564. padding: d
  1565. }),
  1566. reset: function() {
  1567. p.reset.call(this);
  1568. var t = this.cfg,
  1569. e = t.iv,
  1570. r = t.mode;
  1571. if (this._xformMode == this._ENC_XFORM_MODE) var n = r.createEncryptor;
  1572. else n = r.createDecryptor, this._minBufferSize = 1;
  1573. this._mode && this._mode.__creator == n ? this._mode.init(this, e && e.words) : (this._mode = n.call(r, this, e && e.words), this._mode.__creator = n)
  1574. },
  1575. _doProcessBlock: function(t, e) {
  1576. this._mode.processBlock(t, e)
  1577. },
  1578. _doFinalize: function() {
  1579. var t = this.cfg.padding;
  1580. if (this._xformMode == this._ENC_XFORM_MODE) {
  1581. t.pad(this._data, this.blockSize);
  1582. var e = this._process(!0)
  1583. } else e = this._process(!0), t.unpad(e);
  1584. return e
  1585. },
  1586. blockSize: 4
  1587. }), v = o.CipherParams = s.extend({
  1588. init: function(t) {
  1589. this.mixIn(t)
  1590. },
  1591. toString: function(t) {
  1592. return (t || this.formatter)
  1593. .stringify(this)
  1594. }
  1595. }), m = (i.format = {})
  1596. .OpenSSL = {
  1597. stringify: function(t) {
  1598. var e = t.ciphertext,
  1599. r = t.salt;
  1600. if (r) var n = a.create([1398893684, 1701076831])
  1601. .concat(r)
  1602. .concat(e);
  1603. else n = e;
  1604. return n.toString(c)
  1605. },
  1606. parse: function(t) {
  1607. var e = c.parse(t),
  1608. r = e.words;
  1609. if (1398893684 == r[0] && 1701076831 == r[1]) {
  1610. var n = a.create(r.slice(2, 4));
  1611. r.splice(0, 4), e.sigBytes -= 16
  1612. }
  1613. return v.create({
  1614. ciphertext: e,
  1615. salt: n
  1616. })
  1617. }
  1618. }, S = o.SerializableCipher = s.extend({
  1619. cfg: s.extend({
  1620. format: m
  1621. }),
  1622. encrypt: function(t, e, r, n) {
  1623. n = this.cfg.extend(n);
  1624. var i = t.createEncryptor(r, n),
  1625. o = i.finalize(e),
  1626. s = i.cfg;
  1627. return v.create({
  1628. ciphertext: o,
  1629. key: r,
  1630. iv: s.iv,
  1631. algorithm: t,
  1632. mode: s.mode,
  1633. padding: s.padding,
  1634. blockSize: t.blockSize,
  1635. formatter: n.format
  1636. })
  1637. },
  1638. decrypt: function(t, e, r, n) {
  1639. return n = this.cfg.extend(n), e = this._parse(e, n.format), t.createDecryptor(r, n)
  1640. .finalize(e.ciphertext)
  1641. },
  1642. _parse: function(t, e) {
  1643. return "string" == typeof t ? e.parse(t, this) : t
  1644. }
  1645. }), _ = (i.kdf = {})
  1646. .OpenSSL = {
  1647. execute: function(t, e, r, n) {
  1648. n || (n = a.random(8));
  1649. var i = h.create({
  1650. keySize: e + r
  1651. })
  1652. .compute(t, n),
  1653. o = a.create(i.words.slice(e), 4 * r);
  1654. return i.sigBytes = 4 * e, v.create({
  1655. key: i,
  1656. iv: o,
  1657. salt: n
  1658. })
  1659. }
  1660. }, b = o.PasswordBasedCipher = S.extend({
  1661. cfg: S.cfg.extend({
  1662. kdf: _
  1663. }),
  1664. encrypt: function(t, e, r, n) {
  1665. var i = (n = this.cfg.extend(n))
  1666. .kdf.execute(r, t.keySize, t.ivSize);
  1667. n.iv = i.iv;
  1668. var o = S.encrypt.call(this, t, e, i.key, n);
  1669. return o.mixIn(i), o
  1670. },
  1671. decrypt: function(t, e, r, n) {
  1672. n = this.cfg.extend(n), e = this._parse(e, n.format);
  1673. var i = n.kdf.execute(r, t.keySize, t.ivSize, e.salt);
  1674. return n.iv = i.iv, S.decrypt.call(this, t, e, i.key, n)
  1675. }
  1676. }))))
  1677. },
  1678. 9021: function(t, e) {
  1679. var r;
  1680. t.exports = (r = r || function(t, e) {
  1681. var r = Object.create || function() {
  1682. function t() {}
  1683. return function(e) {
  1684. var r;
  1685. return t.prototype = e, r = new t, t.prototype = null, r
  1686. }
  1687. }(),
  1688. n = {}, i = n.lib = {}, o = i.Base = {
  1689. extend: function(t) {
  1690. var e = r(this);
  1691. return t && e.mixIn(t), e.hasOwnProperty("init") && this.init !== e.init || (e.init = function() {
  1692. e.$super.init.apply(this, arguments)
  1693. }), e.init.prototype = e, e.$super = this, e
  1694. },
  1695. create: function() {
  1696. var t = this.extend();
  1697. return t.init.apply(t, arguments), t
  1698. },
  1699. init: function() {},
  1700. mixIn: function(t) {
  1701. for (var e in t) t.hasOwnProperty(e) && (this[e] = t[e]);
  1702. t.hasOwnProperty("toString") && (this.toString = t.toString)
  1703. },
  1704. clone: function() {
  1705. return this.init.prototype.extend(this)
  1706. }
  1707. }, s = i.WordArray = o.extend({
  1708. init: function(t, e) {
  1709. t = this.words = t || [], this.sigBytes = null != e ? e : 4 * t.length
  1710. },
  1711. toString: function(t) {
  1712. return (t || f)
  1713. .stringify(this)
  1714. },
  1715. concat: function(t) {
  1716. var e = this.words,
  1717. r = t.words,
  1718. n = this.sigBytes,
  1719. i = t.sigBytes;
  1720. if (this.clamp(), n % 4) for (var o = 0; o < i; o++) {
  1721. var s = r[o >>> 2] >>> 24 - o % 4 * 8 & 255;
  1722. e[n + o >>> 2] |= s << 24 - (n + o) % 4 * 8
  1723. } else for (o = 0; o < i; o += 4) e[n + o >>> 2] = r[o >>> 2];
  1724. return this.sigBytes += i, this
  1725. },
  1726. clamp: function() {
  1727. var e = this.words,
  1728. r = this.sigBytes;
  1729. e[r >>> 2] &= 4294967295 << 32 - r % 4 * 8, e.length = t.ceil(r / 4)
  1730. },
  1731. clone: function() {
  1732. var t = o.clone.call(this);
  1733. return t.words = this.words.slice(0), t
  1734. },
  1735. random: function(e) {
  1736. for (var r, n = [], i = function(e) {
  1737. var r = 987654321,
  1738. n = 4294967295;
  1739. return function() {
  1740. var i = ((r = 36969 * (65535 & r) + (r >> 16) & n) << 16) + (e = 18e3 * (65535 & e) + (e >> 16) & n) & n;
  1741. return i /= 4294967296, (i += .5) * (t.random() > .5 ? 1 : -1)
  1742. }
  1743. }, o = 0; o < e; o += 4) {
  1744. var a = i(4294967296 * (r || t.random()));
  1745. r = 987654071 * a(), n.push(4294967296 * a() | 0)
  1746. }
  1747. return new s.init(n, e)
  1748. }
  1749. }),
  1750. a = n.enc = {}, f = a.Hex = {
  1751. stringify: function(t) {
  1752. for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i++) {
  1753. var o = e[i >>> 2] >>> 24 - i % 4 * 8 & 255;
  1754. n.push((o >>> 4)
  1755. .toString(16)), n.push((15 & o)
  1756. .toString(16))
  1757. }
  1758. return n.join("")
  1759. },
  1760. parse: function(t) {
  1761. for (var e = t.length, r = [], n = 0; n < e; n += 2) r[n >>> 3] |= parseInt(t.substr(n, 2), 16) << 24 - n % 8 * 4;
  1762. return new s.init(r, e / 2)
  1763. }
  1764. }, u = a.Latin1 = {
  1765. stringify: function(t) {
  1766. for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i++) {
  1767. var o = e[i >>> 2] >>> 24 - i % 4 * 8 & 255;
  1768. n.push(String.fromCharCode(o))
  1769. }
  1770. return n.join("")
  1771. },
  1772. parse: function(t) {
  1773. for (var e = t.length, r = [], n = 0; n < e; n++) r[n >>> 2] |= (255 & t.charCodeAt(n)) << 24 - n % 4 * 8;
  1774. return new s.init(r, e)
  1775. }
  1776. }, c = a.Utf8 = {
  1777. stringify: function(t) {
  1778. try {
  1779. return decodeURIComponent(escape(u.stringify(t)))
  1780. } catch (t) {
  1781. throw new Error("Malformed UTF-8 data")
  1782. }
  1783. },
  1784. parse: function(t) {
  1785. return u.parse(unescape(encodeURIComponent(t)))
  1786. }
  1787. }, h = i.BufferedBlockAlgorithm = o.extend({
  1788. reset: function() {
  1789. this._data = new s.init, this._nDataBytes = 0
  1790. },
  1791. _append: function(t) {
  1792. "string" == typeof t && (t = c.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes
  1793. },
  1794. _process: function(e) {
  1795. var r = this._data,
  1796. n = r.words,
  1797. i = r.sigBytes,
  1798. o = this.blockSize,
  1799. a = i / (4 * o),
  1800. f = (a = e ? t.ceil(a) : t.max((0 | a) - this._minBufferSize, 0)) * o,
  1801. u = t.min(4 * f, i);
  1802. if (f) {
  1803. for (var c = 0; c < f; c += o) this._doProcessBlock(n, c);
  1804. var h = n.splice(0, f);
  1805. r.sigBytes -= u
  1806. }
  1807. return new s.init(h, u)
  1808. },
  1809. clone: function() {
  1810. var t = o.clone.call(this);
  1811. return t._data = this._data.clone(), t
  1812. },
  1813. _minBufferSize: 0
  1814. }),
  1815. p = (i.Hasher = h.extend({
  1816. cfg: o.extend(),
  1817. init: function(t) {
  1818. this.cfg = this.cfg.extend(t), this.reset()
  1819. },
  1820. reset: function() {
  1821. h.reset.call(this), this._doReset()
  1822. },
  1823. update: function(t) {
  1824. return this._append(t), this._process(), this
  1825. },
  1826. finalize: function(t) {
  1827. return t && this._append(t), this._doFinalize()
  1828. },
  1829. blockSize: 16,
  1830. _createHelper: function(t) {
  1831. return function(e, r) {
  1832. return new t.init(r)
  1833. .finalize(e)
  1834. }
  1835. },
  1836. _createHmacHelper: function(t) {
  1837. return function(e, r) {
  1838. return new p.HMAC.init(t, r)
  1839. .finalize(e)
  1840. }
  1841. }
  1842. }), n.algo = {});
  1843. return n
  1844. }(Math), r)
  1845. },
  1846. 754: function(t, e, r) {
  1847. var n, i, o;
  1848. t.exports = (n = r(9021), o = (i = n)
  1849. .lib.WordArray, i.enc.Base64 = {
  1850. stringify: function(t) {
  1851. var e = t.words,
  1852. r = t.sigBytes,
  1853. n = this._map;
  1854. t.clamp();
  1855. for (var i = [], o = 0; o < r; o += 3) for (var s = (e[o >>> 2] >>> 24 - o % 4 * 8 & 255) << 16 | (e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255) << 8 | e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, a = 0; a < 4 && o + .75 * a < r; a++) i.push(n.charAt(s >>> 6 * (3 - a) & 63));
  1856. var f = n.charAt(64);
  1857. if (f) for (; i.length % 4;) i.push(f);
  1858. return i.join("")
  1859. },
  1860. parse: function(t) {
  1861. var e = t.length,
  1862. r = this._map,
  1863. n = this._reverseMap;
  1864. if (!n) {
  1865. n = this._reverseMap = [];
  1866. for (var i = 0; i < r.length; i++) n[r.charCodeAt(i)] = i
  1867. }
  1868. var s = r.charAt(64);
  1869. if (s) {
  1870. var a = t.indexOf(s); - 1 !== a && (e = a)
  1871. }
  1872. return function(t, e, r) {
  1873. for (var n = [], i = 0, s = 0; s < e; s++) if (s % 4) {
  1874. var a = r[t.charCodeAt(s - 1)] << s % 4 * 2,
  1875. f = r[t.charCodeAt(s)] >>> 6 - s % 4 * 2;
  1876. n[i >>> 2] |= (a | f) << 24 - i % 4 * 8, i++
  1877. }
  1878. return o.create(n, i)
  1879. }(t, e, n)
  1880. },
  1881. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  1882. }, n.enc.Base64)
  1883. },
  1884. 5503: function(t, e, r) {
  1885. var n;
  1886. t.exports = (n = r(9021), function() {
  1887. var t = n,
  1888. e = t.lib.WordArray,
  1889. r = t.enc;
  1890. function i(t) {
  1891. return t << 8 & 4278255360 | t >>> 8 & 16711935
  1892. }
  1893. r.Utf16 = r.Utf16BE = {
  1894. stringify: function(t) {
  1895. for (var e = t.words, r = t.sigBytes, n = [], i = 0; i < r; i += 2) {
  1896. var o = e[i >>> 2] >>> 16 - i % 4 * 8 & 65535;
  1897. n.push(String.fromCharCode(o))
  1898. }
  1899. return n.join("")
  1900. },
  1901. parse: function(t) {
  1902. for (var r = t.length, n = [], i = 0; i < r; i++) n[i >>> 1] |= t.charCodeAt(i) << 16 - i % 2 * 16;
  1903. return e.create(n, 2 * r)
  1904. }
  1905. }, r.Utf16LE = {
  1906. stringify: function(t) {
  1907. for (var e = t.words, r = t.sigBytes, n = [], o = 0; o < r; o += 2) {
  1908. var s = i(e[o >>> 2] >>> 16 - o % 4 * 8 & 65535);
  1909. n.push(String.fromCharCode(s))
  1910. }
  1911. return n.join("")
  1912. },
  1913. parse: function(t) {
  1914. for (var r = t.length, n = [], o = 0; o < r; o++) n[o >>> 1] |= i(t.charCodeAt(o) << 16 - o % 2 * 16);
  1915. return e.create(n, 2 * r)
  1916. }
  1917. }
  1918. }(), n.enc.Utf16)
  1919. },
  1920. 9506: function(t, e, r) {
  1921. var n, i, o, s, a, f, u, c;
  1922. t.exports = (c = r(9021), r(5471), r(1025), o = (i = (n = c)
  1923. .lib)
  1924. .Base, s = i.WordArray, f = (a = n.algo)
  1925. .MD5, u = a.EvpKDF = o.extend({
  1926. cfg: o.extend({
  1927. keySize: 4,
  1928. hasher: f,
  1929. iterations: 1
  1930. }),
  1931. init: function(t) {
  1932. this.cfg = this.cfg.extend(t)
  1933. },
  1934. compute: function(t, e) {
  1935. for (var r = this.cfg, n = r.hasher.create(), i = s.create(), o = i.words, a = r.keySize, f = r.iterations; o.length < a;) {
  1936. u && n.update(u);
  1937. var u = n.update(t)
  1938. .finalize(e);
  1939. n.reset();
  1940. for (var c = 1; c < f; c++) u = n.finalize(u), n.reset();
  1941. i.concat(u)
  1942. }
  1943. return i.sigBytes = 4 * a, i
  1944. }
  1945. }), n.EvpKDF = function(t, e, r) {
  1946. return u.create(r)
  1947. .compute(t, e)
  1948. }, c.EvpKDF)
  1949. },
  1950. 25: function(t, e, r) {
  1951. var n, i, o, s;
  1952. t.exports = (s = r(9021), r(7165), i = (n = s)
  1953. .lib.CipherParams, o = n.enc.Hex, n.format.Hex = {
  1954. stringify: function(t) {
  1955. return t.ciphertext.toString(o)
  1956. },
  1957. parse: function(t) {
  1958. var e = o.parse(t);
  1959. return i.create({
  1960. ciphertext: e
  1961. })
  1962. }
  1963. }, s.format.Hex)
  1964. },
  1965. 1025: function(t, e, r) {
  1966. var n, i, o;
  1967. t.exports = (i = (n = r(9021))
  1968. .lib.Base, o = n.enc.Utf8, void(n.algo.HMAC = i.extend({
  1969. init: function(t, e) {
  1970. t = this._hasher = new t.init, "string" == typeof e && (e = o.parse(e));
  1971. var r = t.blockSize,
  1972. n = 4 * r;
  1973. e.sigBytes > n && (e = t.finalize(e)), e.clamp();
  1974. for (var i = this._oKey = e.clone(), s = this._iKey = e.clone(), a = i.words, f = s.words, u = 0; u < r; u++) a[u] ^= 1549556828, f[u] ^= 909522486;
  1975. i.sigBytes = s.sigBytes = n, this.reset()
  1976. },
  1977. reset: function() {
  1978. var t = this._hasher;
  1979. t.reset(), t.update(this._iKey)
  1980. },
  1981. update: function(t) {
  1982. return this._hasher.update(t), this
  1983. },
  1984. finalize: function(t) {
  1985. var e = this._hasher,
  1986. r = e.finalize(t);
  1987. return e.reset(), e.finalize(this._oKey.clone()
  1988. .concat(r))
  1989. }
  1990. })))
  1991. },
  1992. 1396: function(t, e, r) {
  1993. var n;
  1994. t.exports = (n = r(9021), r(3240), r(6440), r(5503), r(754), r(4636), r(5471), r(3009), r(6308), r(1380), r(9557), r(5953), r(8056), r(1025), r(19), r(9506), r(7165), r(2169), r(6939), r(6372), r(3797), r(8454), r(2073), r(4905), r(482), r(2155), r(8124), r(25), r(955), r(7628), r(7193), r(6298), r(2696), n)
  1995. },
  1996. 6440: function(t, e, r) {
  1997. var n;
  1998. t.exports = (n = r(9021), function() {
  1999. if ("function" == typeof ArrayBuffer) {
  2000. var t = n.lib.WordArray,
  2001. e = t.init,
  2002. r = t.init = function(t) {
  2003. if (t instanceof ArrayBuffer && (t = new Uint8Array(t)), (t instanceof Int8Array || "undefined" != typeof Uint8ClampedArray && t instanceof Uint8ClampedArray || t instanceof Int16Array || t instanceof Uint16Array || t instanceof Int32Array || t instanceof Uint32Array || t instanceof Float32Array || t instanceof Float64Array) && (t = new Uint8Array(t.buffer, t.byteOffset, t.byteLength)), t instanceof Uint8Array) {
  2004. for (var r = t.byteLength, n = [], i = 0; i < r; i++) n[i >>> 2] |= t[i] << 24 - i % 4 * 8;
  2005. e.call(this, n, r)
  2006. } else e.apply(this, arguments)
  2007. };
  2008. r.prototype = t
  2009. }
  2010. }(), n.lib.WordArray)
  2011. },
  2012. 4636: function(t, e, r) {
  2013. var n;
  2014. t.exports = (n = r(9021), function(t) {
  2015. var e = n,
  2016. r = e.lib,
  2017. i = r.WordArray,
  2018. o = r.Hasher,
  2019. s = e.algo,
  2020. a = [];
  2021. ! function() {
  2022. for (var e = 0; e < 64; e++) a[e] = 4294967296 * t.abs(t.sin(e + 1)) | 0
  2023. }();
  2024. var f = s.MD5 = o.extend({
  2025. _doReset: function() {
  2026. this._hash = new i.init([1732584193, 4023233417, 2562383102, 271733878])
  2027. },
  2028. _doProcessBlock: function(t, e) {
  2029. for (var r = 0; r < 16; r++) {
  2030. var n = e + r,
  2031. i = t[n];
  2032. t[n] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8)
  2033. }
  2034. var o = this._hash.words,
  2035. s = t[e + 0],
  2036. f = t[e + 1],
  2037. l = t[e + 2],
  2038. y = t[e + 3],
  2039. g = t[e + 4],
  2040. d = t[e + 5],
  2041. v = t[e + 6],
  2042. m = t[e + 7],
  2043. S = t[e + 8],
  2044. _ = t[e + 9],
  2045. b = t[e + 10],
  2046. E = t[e + 11],
  2047. w = t[e + 12],
  2048. O = t[e + 13],
  2049. B = t[e + 14],
  2050. A = t[e + 15],
  2051. x = o[0],
  2052. P = o[1],
  2053. T = o[2],
  2054. I = o[3];
  2055. x = u(x, P, T, I, s, 7, a[0]), I = u(I, x, P, T, f, 12, a[1]), T = u(T, I, x, P, l, 17, a[2]), P = u(P, T, I, x, y, 22, a[3]), x = u(x, P, T, I, g, 7, a[4]), I = u(I, x, P, T, d, 12, a[5]), T = u(T, I, x, P, v, 17, a[6]), P = u(P, T, I, x, m, 22, a[7]), x = u(x, P, T, I, S, 7, a[8]), I = u(I, x, P, T, _, 12, a[9]), T = u(T, I, x, P, b, 17, a[10]), P = u(P, T, I, x, E, 22, a[11]), x = u(x, P, T, I, w, 7, a[12]), I = u(I, x, P, T, O, 12, a[13]), T = u(T, I, x, P, B, 17, a[14]), x = c(x, P = u(P, T, I, x, A, 22, a[15]), T, I, f, 5, a[16]), I = c(I, x, P, T, v, 9, a[17]), T = c(T, I, x, P, E, 14, a[18]), P = c(P, T, I, x, s, 20, a[19]), x = c(x, P, T, I, d, 5, a[20]), I = c(I, x, P, T, b, 9, a[21]), T = c(T, I, x, P, A, 14, a[22]), P = c(P, T, I, x, g, 20, a[23]), x = c(x, P, T, I, _, 5, a[24]), I = c(I, x, P, T, B, 9, a[25]), T = c(T, I, x, P, y, 14, a[26]), P = c(P, T, I, x, S, 20, a[27]), x = c(x, P, T, I, O, 5, a[28]), I = c(I, x, P, T, l, 9, a[29]), T = c(T, I, x, P, m, 14, a[30]), x = h(x, P = c(P, T, I, x, w, 20, a[31]), T, I, d, 4, a[32]), I = h(I, x, P, T, S, 11, a[33]), T = h(T, I, x, P, E, 16, a[34]), P = h(P, T, I, x, B, 23, a[35]), x = h(x, P, T, I, f, 4, a[36]), I = h(I, x, P, T, g, 11, a[37]), T = h(T, I, x, P, m, 16, a[38]), P = h(P, T, I, x, b, 23, a[39]), x = h(x, P, T, I, O, 4, a[40]), I = h(I, x, P, T, s, 11, a[41]), T = h(T, I, x, P, y, 16, a[42]), P = h(P, T, I, x, v, 23, a[43]), x = h(x, P, T, I, _, 4, a[44]), I = h(I, x, P, T, w, 11, a[45]), T = h(T, I, x, P, A, 16, a[46]), x = p(x, P = h(P, T, I, x, l, 23, a[47]), T, I, s, 6, a[48]), I = p(I, x, P, T, m, 10, a[49]), T = p(T, I, x, P, B, 15, a[50]), P = p(P, T, I, x, d, 21, a[51]), x = p(x, P, T, I, w, 6, a[52]), I = p(I, x, P, T, y, 10, a[53]), T = p(T, I, x, P, b, 15, a[54]), P = p(P, T, I, x, f, 21, a[55]), x = p(x, P, T, I, S, 6, a[56]), I = p(I, x, P, T, A, 10, a[57]), T = p(T, I, x, P, v, 15, a[58]), P = p(P, T, I, x, O, 21, a[59]), x = p(x, P, T, I, g, 6, a[60]), I = p(I, x, P, T, E, 10, a[61]), T = p(T, I, x, P, l, 15, a[62]), P = p(P, T, I, x, _, 21, a[63]), o[0] = o[0] + x | 0, o[1] = o[1] + P | 0, o[2] = o[2] + T | 0, o[3] = o[3] + I | 0
  2056. },
  2057. _doFinalize: function() {
  2058. var e = this._data,
  2059. r = e.words,
  2060. n = 8 * this._nDataBytes,
  2061. i = 8 * e.sigBytes;
  2062. r[i >>> 5] |= 128 << 24 - i % 32;
  2063. var o = t.floor(n / 4294967296),
  2064. s = n;
  2065. r[15 + (i + 64 >>> 9 << 4)] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), r[14 + (i + 64 >>> 9 << 4)] = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), e.sigBytes = 4 * (r.length + 1), this._process();
  2066. for (var a = this._hash, f = a.words, u = 0; u < 4; u++) {
  2067. var c = f[u];
  2068. f[u] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8)
  2069. }
  2070. return a
  2071. },
  2072. clone: function() {
  2073. var t = o.clone.call(this);
  2074. return t._hash = this._hash.clone(), t
  2075. }
  2076. });
  2077. function u(t, e, r, n, i, o, s) {
  2078. var a = t + (e & r | ~e & n) + i + s;
  2079. return (a << o | a >>> 32 - o) + e
  2080. }
  2081. function c(t, e, r, n, i, o, s) {
  2082. var a = t + (e & n | r & ~n) + i + s;
  2083. return (a << o | a >>> 32 - o) + e
  2084. }
  2085. function h(t, e, r, n, i, o, s) {
  2086. var a = t + (e ^ r ^ n) + i + s;
  2087. return (a << o | a >>> 32 - o) + e
  2088. }
  2089. function p(t, e, r, n, i, o, s) {
  2090. var a = t + (r ^ (e | ~n)) + i + s;
  2091. return (a << o | a >>> 32 - o) + e
  2092. }
  2093. e.MD5 = o._createHelper(f), e.HmacMD5 = o._createHmacHelper(f)
  2094. }(Math), n.MD5)
  2095. },
  2096. 2169: function(t, e, r) {
  2097. var n;
  2098. t.exports = (n = r(9021), r(7165), n.mode.CFB = function() {
  2099. var t = n.lib.BlockCipherMode.extend();
  2100. function e(t, e, r, n) {
  2101. var i = this._iv;
  2102. if (i) {
  2103. var o = i.slice(0);
  2104. this._iv = void 0
  2105. } else o = this._prevBlock;
  2106. n.encryptBlock(o, 0);
  2107. for (var s = 0; s < r; s++) t[e + s] ^= o[s]
  2108. }
  2109. return t.Encryptor = t.extend({
  2110. processBlock: function(t, r) {
  2111. var n = this._cipher,
  2112. i = n.blockSize;
  2113. e.call(this, t, r, i, n), this._prevBlock = t.slice(r, r + i)
  2114. }
  2115. }), t.Decryptor = t.extend({
  2116. processBlock: function(t, r) {
  2117. var n = this._cipher,
  2118. i = n.blockSize,
  2119. o = t.slice(r, r + i);
  2120. e.call(this, t, r, i, n), this._prevBlock = o
  2121. }
  2122. }), t
  2123. }(), n.mode.CFB)
  2124. },
  2125. 6372: function(t, e, r) {
  2126. var n;
  2127. t.exports = (n = r(9021), r(7165), n.mode.CTRGladman = function() {
  2128. var t = n.lib.BlockCipherMode.extend();
  2129. function e(t) {
  2130. if (255 & ~ (t >> 24)) t += 1 << 24;
  2131. else {
  2132. var e = t >> 16 & 255,
  2133. r = t >> 8 & 255,
  2134. n = 255 & t;
  2135. 255 === e ? (e = 0, 255 === r ? (r = 0, 255 === n ? n = 0 : ++n) : ++r) : ++e, t = 0, t += e << 16, t += r << 8, t += n
  2136. }
  2137. return t
  2138. }
  2139. var r = t.Encryptor = t.extend({
  2140. processBlock: function(t, r) {
  2141. var n = this._cipher,
  2142. i = n.blockSize,
  2143. o = this._iv,
  2144. s = this._counter;
  2145. o && (s = this._counter = o.slice(0), this._iv = void 0),
  2146. function(t) {
  2147. 0 === (t[0] = e(t[0])) && (t[1] = e(t[1]))
  2148. }(s);
  2149. var a = s.slice(0);
  2150. n.encryptBlock(a, 0);
  2151. for (var f = 0; f < i; f++) t[r + f] ^= a[f]
  2152. }
  2153. });
  2154. return t.Decryptor = r, t
  2155. }(), n.mode.CTRGladman)
  2156. },
  2157. 6939: function(t, e, r) {
  2158. var n, i, o;
  2159. t.exports = (o = r(9021), r(7165), o.mode.CTR = (i = (n = o.lib.BlockCipherMode.extend())
  2160. .Encryptor = n.extend({
  2161. processBlock: function(t, e) {
  2162. var r = this._cipher,
  2163. n = r.blockSize,
  2164. i = this._iv,
  2165. o = this._counter;
  2166. i && (o = this._counter = i.slice(0), this._iv = void 0);
  2167. var s = o.slice(0);
  2168. r.encryptBlock(s, 0), o[n - 1] = o[n - 1] + 1 | 0;
  2169. for (var a = 0; a < n; a++) t[e + a] ^= s[a]
  2170. }
  2171. }), n.Decryptor = i, n), o.mode.CTR)
  2172. },
  2173. 8454: function(t, e, r) {
  2174. var n, i;
  2175. t.exports = (i = r(9021), r(7165), i.mode.ECB = ((n = i.lib.BlockCipherMode.extend())
  2176. .Encryptor = n.extend({
  2177. processBlock: function(t, e) {
  2178. this._cipher.encryptBlock(t, e)
  2179. }
  2180. }), n.Decryptor = n.extend({
  2181. processBlock: function(t, e) {
  2182. this._cipher.decryptBlock(t, e)
  2183. }
  2184. }), n), i.mode.ECB)
  2185. },
  2186. 3797: function(t, e, r) {
  2187. var n, i, o;
  2188. t.exports = (o = r(9021), r(7165), o.mode.OFB = (i = (n = o.lib.BlockCipherMode.extend())
  2189. .Encryptor = n.extend({
  2190. processBlock: function(t, e) {
  2191. var r = this._cipher,
  2192. n = r.blockSize,
  2193. i = this._iv,
  2194. o = this._keystream;
  2195. i && (o = this._keystream = i.slice(0), this._iv = void 0), r.encryptBlock(o, 0);
  2196. for (var s = 0; s < n; s++) t[e + s] ^= o[s]
  2197. }
  2198. }), n.Decryptor = i, n), o.mode.OFB)
  2199. },
  2200. 2073: function(t, e, r) {
  2201. var n;
  2202. t.exports = (n = r(9021), r(7165), n.pad.AnsiX923 = {
  2203. pad: function(t, e) {
  2204. var r = t.sigBytes,
  2205. n = 4 * e,
  2206. i = n - r % n,
  2207. o = r + i - 1;
  2208. t.clamp(), t.words[o >>> 2] |= i << 24 - o % 4 * 8, t.sigBytes += i
  2209. },
  2210. unpad: function(t) {
  2211. var e = 255 & t.words[t.sigBytes - 1 >>> 2];
  2212. t.sigBytes -= e
  2213. }
  2214. }, n.pad.Ansix923)
  2215. },
  2216. 4905: function(t, e, r) {
  2217. var n;
  2218. t.exports = (n = r(9021), r(7165), n.pad.Iso10126 = {
  2219. pad: function(t, e) {
  2220. var r = 4 * e,
  2221. i = r - t.sigBytes % r;
  2222. t.concat(n.lib.WordArray.random(i - 1))
  2223. .concat(n.lib.WordArray.create([i << 24], 1))
  2224. },
  2225. unpad: function(t) {
  2226. var e = 255 & t.words[t.sigBytes - 1 >>> 2];
  2227. t.sigBytes -= e
  2228. }
  2229. }, n.pad.Iso10126)
  2230. },
  2231. 482: function(t, e, r) {
  2232. var n;
  2233. t.exports = (n = r(9021), r(7165), n.pad.Iso97971 = {
  2234. pad: function(t, e) {
  2235. t.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(t, e)
  2236. },
  2237. unpad: function(t) {
  2238. n.pad.ZeroPadding.unpad(t), t.sigBytes--
  2239. }
  2240. }, n.pad.Iso97971)
  2241. },
  2242. 8124: function(t, e, r) {
  2243. var n;
  2244. t.exports = (n = r(9021), r(7165), n.pad.NoPadding = {
  2245. pad: function() {},
  2246. unpad: function() {}
  2247. }, n.pad.NoPadding)
  2248. },
  2249. 2155: function(t, e, r) {
  2250. var n;
  2251. t.exports = (n = r(9021), r(7165), n.pad.ZeroPadding = {
  2252. pad: function(t, e) {
  2253. var r = 4 * e;
  2254. t.clamp(), t.sigBytes += r - (t.sigBytes % r || r)
  2255. },
  2256. unpad: function(t) {
  2257. for (var e = t.words, r = t.sigBytes - 1; !(e[r >>> 2] >>> 24 - r % 4 * 8 & 255);) r--;
  2258. t.sigBytes = r + 1
  2259. }
  2260. }, n.pad.ZeroPadding)
  2261. },
  2262. 19: function(t, e, r) {
  2263. var n, i, o, s, a, f, u, c, h;
  2264. t.exports = (h = r(9021), r(5471), r(1025), o = (i = (n = h)
  2265. .lib)
  2266. .Base, s = i.WordArray, f = (a = n.algo)
  2267. .SHA1, u = a.HMAC, c = a.PBKDF2 = o.extend({
  2268. cfg: o.extend({
  2269. keySize: 4,
  2270. hasher: f,
  2271. iterations: 1
  2272. }),
  2273. init: function(t) {
  2274. this.cfg = this.cfg.extend(t)
  2275. },
  2276. compute: function(t, e) {
  2277. for (var r = this.cfg, n = u.create(r.hasher, t), i = s.create(), o = s.create([1]), a = i.words, f = o.words, c = r.keySize, h = r.iterations; a.length < c;) {
  2278. var p = n.update(e)
  2279. .finalize(o);
  2280. n.reset();
  2281. for (var l = p.words, y = l.length, g = p, d = 1; d < h; d++) {
  2282. g = n.finalize(g), n.reset();
  2283. for (var v = g.words, m = 0; m < y; m++) l[m] ^= v[m]
  2284. }
  2285. i.concat(p), f[0]++
  2286. }
  2287. return i.sigBytes = 4 * c, i
  2288. }
  2289. }), n.PBKDF2 = function(t, e, r) {
  2290. return c.create(r)
  2291. .compute(t, e)
  2292. }, h.PBKDF2)
  2293. },
  2294. 2696: function(t, e, r) {
  2295. var n;
  2296. t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
  2297. var t = n,
  2298. e = t.lib.StreamCipher,
  2299. r = t.algo,
  2300. i = [],
  2301. o = [],
  2302. s = [],
  2303. a = r.RabbitLegacy = e.extend({
  2304. _doReset: function() {
  2305. var t = this._key.words,
  2306. e = this.cfg.iv,
  2307. r = this._X = [t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16],
  2308. n = this._C = [t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0]];
  2309. this._b = 0;
  2310. for (var i = 0; i < 4; i++) f.call(this);
  2311. for (i = 0; i < 8; i++) n[i] ^= r[i + 4 & 7];
  2312. if (e) {
  2313. var o = e.words,
  2314. s = o[0],
  2315. a = o[1],
  2316. u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8),
  2317. c = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8),
  2318. h = u >>> 16 | 4294901760 & c,
  2319. p = c << 16 | 65535 & u;
  2320. for (n[0] ^= u, n[1] ^= h, n[2] ^= c, n[3] ^= p, n[4] ^= u, n[5] ^= h, n[6] ^= c, n[7] ^= p, i = 0; i < 4; i++) f.call(this)
  2321. }
  2322. },
  2323. _doProcessBlock: function(t, e) {
  2324. var r = this._X;
  2325. f.call(this), i[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, i[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, i[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, i[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
  2326. for (var n = 0; n < 4; n++) i[n] = 16711935 & (i[n] << 8 | i[n] >>> 24) | 4278255360 & (i[n] << 24 | i[n] >>> 8), t[e + n] ^= i[n]
  2327. },
  2328. blockSize: 4,
  2329. ivSize: 2
  2330. });
  2331. function f() {
  2332. for (var t = this._X, e = this._C, r = 0; r < 8; r++) o[r] = e[r];
  2333. for (e[0] = e[0] + 1295307597 + this._b | 0, e[1] = e[1] + 3545052371 + (e[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, e[2] = e[2] + 886263092 + (e[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, e[3] = e[3] + 1295307597 + (e[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, e[4] = e[4] + 3545052371 + (e[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, e[5] = e[5] + 886263092 + (e[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, e[6] = e[6] + 1295307597 + (e[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, e[7] = e[7] + 3545052371 + (e[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = e[7] >>> 0 < o[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) {
  2334. var n = t[r] + e[r],
  2335. i = 65535 & n,
  2336. a = n >>> 16,
  2337. f = ((i * i >>> 17) + i * a >>> 15) + a * a,
  2338. u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
  2339. s[r] = f ^ u
  2340. }
  2341. t[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, t[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, t[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, t[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, t[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, t[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, t[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, t[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
  2342. }
  2343. t.RabbitLegacy = e._createHelper(a)
  2344. }(), n.RabbitLegacy)
  2345. },
  2346. 6298: function(t, e, r) {
  2347. var n;
  2348. t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
  2349. var t = n,
  2350. e = t.lib.StreamCipher,
  2351. r = t.algo,
  2352. i = [],
  2353. o = [],
  2354. s = [],
  2355. a = r.Rabbit = e.extend({
  2356. _doReset: function() {
  2357. for (var t = this._key.words, e = this.cfg.iv, r = 0; r < 4; r++) t[r] = 16711935 & (t[r] << 8 | t[r] >>> 24) | 4278255360 & (t[r] << 24 | t[r] >>> 8);
  2358. var n = this._X = [t[0], t[3] << 16 | t[2] >>> 16, t[1], t[0] << 16 | t[3] >>> 16, t[2], t[1] << 16 | t[0] >>> 16, t[3], t[2] << 16 | t[1] >>> 16],
  2359. i = this._C = [t[2] << 16 | t[2] >>> 16, 4294901760 & t[0] | 65535 & t[1], t[3] << 16 | t[3] >>> 16, 4294901760 & t[1] | 65535 & t[2], t[0] << 16 | t[0] >>> 16, 4294901760 & t[2] | 65535 & t[3], t[1] << 16 | t[1] >>> 16, 4294901760 & t[3] | 65535 & t[0]];
  2360. for (this._b = 0, r = 0; r < 4; r++) f.call(this);
  2361. for (r = 0; r < 8; r++) i[r] ^= n[r + 4 & 7];
  2362. if (e) {
  2363. var o = e.words,
  2364. s = o[0],
  2365. a = o[1],
  2366. u = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8),
  2367. c = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8),
  2368. h = u >>> 16 | 4294901760 & c,
  2369. p = c << 16 | 65535 & u;
  2370. for (i[0] ^= u, i[1] ^= h, i[2] ^= c, i[3] ^= p, i[4] ^= u, i[5] ^= h, i[6] ^= c, i[7] ^= p, r = 0; r < 4; r++) f.call(this)
  2371. }
  2372. },
  2373. _doProcessBlock: function(t, e) {
  2374. var r = this._X;
  2375. f.call(this), i[0] = r[0] ^ r[5] >>> 16 ^ r[3] << 16, i[1] = r[2] ^ r[7] >>> 16 ^ r[5] << 16, i[2] = r[4] ^ r[1] >>> 16 ^ r[7] << 16, i[3] = r[6] ^ r[3] >>> 16 ^ r[1] << 16;
  2376. for (var n = 0; n < 4; n++) i[n] = 16711935 & (i[n] << 8 | i[n] >>> 24) | 4278255360 & (i[n] << 24 | i[n] >>> 8), t[e + n] ^= i[n]
  2377. },
  2378. blockSize: 4,
  2379. ivSize: 2
  2380. });
  2381. function f() {
  2382. for (var t = this._X, e = this._C, r = 0; r < 8; r++) o[r] = e[r];
  2383. for (e[0] = e[0] + 1295307597 + this._b | 0, e[1] = e[1] + 3545052371 + (e[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, e[2] = e[2] + 886263092 + (e[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, e[3] = e[3] + 1295307597 + (e[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, e[4] = e[4] + 3545052371 + (e[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, e[5] = e[5] + 886263092 + (e[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, e[6] = e[6] + 1295307597 + (e[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, e[7] = e[7] + 3545052371 + (e[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = e[7] >>> 0 < o[7] >>> 0 ? 1 : 0, r = 0; r < 8; r++) {
  2384. var n = t[r] + e[r],
  2385. i = 65535 & n,
  2386. a = n >>> 16,
  2387. f = ((i * i >>> 17) + i * a >>> 15) + a * a,
  2388. u = ((4294901760 & n) * n | 0) + ((65535 & n) * n | 0);
  2389. s[r] = f ^ u
  2390. }
  2391. t[0] = s[0] + (s[7] << 16 | s[7] >>> 16) + (s[6] << 16 | s[6] >>> 16) | 0, t[1] = s[1] + (s[0] << 8 | s[0] >>> 24) + s[7] | 0, t[2] = s[2] + (s[1] << 16 | s[1] >>> 16) + (s[0] << 16 | s[0] >>> 16) | 0, t[3] = s[3] + (s[2] << 8 | s[2] >>> 24) + s[1] | 0, t[4] = s[4] + (s[3] << 16 | s[3] >>> 16) + (s[2] << 16 | s[2] >>> 16) | 0, t[5] = s[5] + (s[4] << 8 | s[4] >>> 24) + s[3] | 0, t[6] = s[6] + (s[5] << 16 | s[5] >>> 16) + (s[4] << 16 | s[4] >>> 16) | 0, t[7] = s[7] + (s[6] << 8 | s[6] >>> 24) + s[5] | 0
  2392. }
  2393. t.Rabbit = e._createHelper(a)
  2394. }(), n.Rabbit)
  2395. },
  2396. 7193: function(t, e, r) {
  2397. var n;
  2398. t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
  2399. var t = n,
  2400. e = t.lib.StreamCipher,
  2401. r = t.algo,
  2402. i = r.RC4 = e.extend({
  2403. _doReset: function() {
  2404. for (var t = this._key, e = t.words, r = t.sigBytes, n = this._S = [], i = 0; i < 256; i++) n[i] = i;
  2405. i = 0;
  2406. for (var o = 0; i < 256; i++) {
  2407. var s = i % r,
  2408. a = e[s >>> 2] >>> 24 - s % 4 * 8 & 255;
  2409. o = (o + n[i] + a) % 256;
  2410. var f = n[i];
  2411. n[i] = n[o], n[o] = f
  2412. }
  2413. this._i = this._j = 0
  2414. },
  2415. _doProcessBlock: function(t, e) {
  2416. t[e] ^= o.call(this)
  2417. },
  2418. keySize: 8,
  2419. ivSize: 0
  2420. });
  2421. function o() {
  2422. for (var t = this._S, e = this._i, r = this._j, n = 0, i = 0; i < 4; i++) {
  2423. r = (r + t[e = (e + 1) % 256]) % 256;
  2424. var o = t[e];
  2425. t[e] = t[r], t[r] = o, n |= t[(t[e] + t[r]) % 256] << 24 - 8 * i
  2426. }
  2427. return this._i = e, this._j = r, n
  2428. }
  2429. t.RC4 = e._createHelper(i);
  2430. var s = r.RC4Drop = i.extend({
  2431. cfg: i.cfg.extend({
  2432. drop: 192
  2433. }),
  2434. _doReset: function() {
  2435. i._doReset.call(this);
  2436. for (var t = this.cfg.drop; t > 0; t--) o.call(this)
  2437. }
  2438. });
  2439. t.RC4Drop = e._createHelper(s)
  2440. }(), n.RC4)
  2441. },
  2442. 8056: function(t, e, r) {
  2443. var n;
  2444. t.exports = (n = r(9021), function(t) {
  2445. var e = n,
  2446. r = e.lib,
  2447. i = r.WordArray,
  2448. o = r.Hasher,
  2449. s = e.algo,
  2450. a = i.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]),
  2451. f = i.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]),
  2452. u = i.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]),
  2453. c = i.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]),
  2454. h = i.create([0, 1518500249, 1859775393, 2400959708, 2840853838]),
  2455. p = i.create([1352829926, 1548603684, 1836072691, 2053994217, 0]),
  2456. l = s.RIPEMD160 = o.extend({
  2457. _doReset: function() {
  2458. this._hash = i.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
  2459. },
  2460. _doProcessBlock: function(t, e) {
  2461. for (var r = 0; r < 16; r++) {
  2462. var n = e + r,
  2463. i = t[n];
  2464. t[n] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8)
  2465. }
  2466. var o, s, l, _, b, E, w, O, B, A, x, P = this._hash.words,
  2467. T = h.words,
  2468. I = p.words,
  2469. k = a.words,
  2470. D = f.words,
  2471. R = u.words,
  2472. N = c.words;
  2473. for (E = o = P[0], w = s = P[1], O = l = P[2], B = _ = P[3], A = b = P[4], r = 0; r < 80; r += 1) x = o + t[e + k[r]] | 0, x += r < 16 ? y(s, l, _) + T[0] : r < 32 ? g(s, l, _) + T[1] : r < 48 ? d(s, l, _) + T[2] : r < 64 ? v(s, l, _) + T[3] : m(s, l, _) + T[4], x = (x = S(x |= 0, R[r])) + b | 0, o = b, b = _, _ = S(l, 10), l = s, s = x, x = E + t[e + D[r]] | 0, x += r < 16 ? m(w, O, B) + I[0] : r < 32 ? v(w, O, B) + I[1] : r < 48 ? d(w, O, B) + I[2] : r < 64 ? g(w, O, B) + I[3] : y(w, O, B) + I[4], x = (x = S(x |= 0, N[r])) + A | 0, E = A, A = B, B = S(O, 10), O = w, w = x;
  2474. x = P[1] + l + B | 0, P[1] = P[2] + _ + A | 0, P[2] = P[3] + b + E | 0, P[3] = P[4] + o + w | 0, P[4] = P[0] + s + O | 0, P[0] = x
  2475. },
  2476. _doFinalize: function() {
  2477. var t = this._data,
  2478. e = t.words,
  2479. r = 8 * this._nDataBytes,
  2480. n = 8 * t.sigBytes;
  2481. e[n >>> 5] |= 128 << 24 - n % 32, e[14 + (n + 64 >>> 9 << 4)] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8), t.sigBytes = 4 * (e.length + 1), this._process();
  2482. for (var i = this._hash, o = i.words, s = 0; s < 5; s++) {
  2483. var a = o[s];
  2484. o[s] = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8)
  2485. }
  2486. return i
  2487. },
  2488. clone: function() {
  2489. var t = o.clone.call(this);
  2490. return t._hash = this._hash.clone(), t
  2491. }
  2492. });
  2493. function y(t, e, r) {
  2494. return t ^ e ^ r
  2495. }
  2496. function g(t, e, r) {
  2497. return t & e | ~t & r
  2498. }
  2499. function d(t, e, r) {
  2500. return (t | ~e) ^ r
  2501. }
  2502. function v(t, e, r) {
  2503. return t & r | e & ~r
  2504. }
  2505. function m(t, e, r) {
  2506. return t ^ (e | ~r)
  2507. }
  2508. function S(t, e) {
  2509. return t << e | t >>> 32 - e
  2510. }
  2511. e.RIPEMD160 = o._createHelper(l), e.HmacRIPEMD160 = o._createHmacHelper(l)
  2512. }(Math), n.RIPEMD160)
  2513. },
  2514. 5471: function(t, e, r) {
  2515. var n, i, o, s, a, f, u, c;
  2516. t.exports = (i = (n = c = r(9021))
  2517. .lib, o = i.WordArray, s = i.Hasher, a = n.algo, f = [], u = a.SHA1 = s.extend({
  2518. _doReset: function() {
  2519. this._hash = new o.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
  2520. },
  2521. _doProcessBlock: function(t, e) {
  2522. for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], u = 0; u < 80; u++) {
  2523. if (u < 16) f[u] = 0 | t[e + u];
  2524. else {
  2525. var c = f[u - 3] ^ f[u - 8] ^ f[u - 14] ^ f[u - 16];
  2526. f[u] = c << 1 | c >>> 31
  2527. }
  2528. var h = (n << 5 | n >>> 27) + a + f[u];
  2529. h += u < 20 ? 1518500249 + (i & o | ~i & s) : u < 40 ? 1859775393 + (i ^ o ^ s) : u < 60 ? (i & o | i & s | o & s) - 1894007588 : (i ^ o ^ s) - 899497514, a = s, s = o, o = i << 30 | i >>> 2, i = n, n = h
  2530. }
  2531. r[0] = r[0] + n | 0, r[1] = r[1] + i | 0, r[2] = r[2] + o | 0, r[3] = r[3] + s | 0, r[4] = r[4] + a | 0
  2532. },
  2533. _doFinalize: function() {
  2534. var t = this._data,
  2535. e = t.words,
  2536. r = 8 * this._nDataBytes,
  2537. n = 8 * t.sigBytes;
  2538. return e[n >>> 5] |= 128 << 24 - n % 32, e[14 + (n + 64 >>> 9 << 4)] = Math.floor(r / 4294967296), e[15 + (n + 64 >>> 9 << 4)] = r, t.sigBytes = 4 * e.length, this._process(), this._hash
  2539. },
  2540. clone: function() {
  2541. var t = s.clone.call(this);
  2542. return t._hash = this._hash.clone(), t
  2543. }
  2544. }), n.SHA1 = s._createHelper(u), n.HmacSHA1 = s._createHmacHelper(u), c.SHA1)
  2545. },
  2546. 6308: function(t, e, r) {
  2547. var n, i, o, s, a, f;
  2548. t.exports = (f = r(9021), r(3009), i = (n = f)
  2549. .lib.WordArray, o = n.algo, s = o.SHA256, a = o.SHA224 = s.extend({
  2550. _doReset: function() {
  2551. this._hash = new i.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428])
  2552. },
  2553. _doFinalize: function() {
  2554. var t = s._doFinalize.call(this);
  2555. return t.sigBytes -= 4, t
  2556. }
  2557. }), n.SHA224 = s._createHelper(a), n.HmacSHA224 = s._createHmacHelper(a), f.SHA224)
  2558. },
  2559. 3009: function(t, e, r) {
  2560. var n;
  2561. t.exports = (n = r(9021), function(t) {
  2562. var e = n,
  2563. r = e.lib,
  2564. i = r.WordArray,
  2565. o = r.Hasher,
  2566. s = e.algo,
  2567. a = [],
  2568. f = [];
  2569. ! function() {
  2570. function e(e) {
  2571. for (var r = t.sqrt(e), n = 2; n <= r; n++) if (!(e % n)) return !1;
  2572. return !0
  2573. }
  2574. function r(t) {
  2575. return 4294967296 * (t - (0 | t)) | 0
  2576. }
  2577. for (var n = 2, i = 0; i < 64;) e(n) && (i < 8 && (a[i] = r(t.pow(n, .5))), f[i] = r(t.pow(n, 1 / 3)), i++), n++
  2578. }();
  2579. var u = [],
  2580. c = s.SHA256 = o.extend({
  2581. _doReset: function() {
  2582. this._hash = new i.init(a.slice(0))
  2583. },
  2584. _doProcessBlock: function(t, e) {
  2585. for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], c = r[5], h = r[6], p = r[7], l = 0; l < 64; l++) {
  2586. if (l < 16) u[l] = 0 | t[e + l];
  2587. else {
  2588. var y = u[l - 15],
  2589. g = (y << 25 | y >>> 7) ^ (y << 14 | y >>> 18) ^ y >>> 3,
  2590. d = u[l - 2],
  2591. v = (d << 15 | d >>> 17) ^ (d << 13 | d >>> 19) ^ d >>> 10;
  2592. u[l] = g + u[l - 7] + v + u[l - 16]
  2593. }
  2594. var m = n & i ^ n & o ^ i & o,
  2595. S = (n << 30 | n >>> 2) ^ (n << 19 | n >>> 13) ^ (n << 10 | n >>> 22),
  2596. _ = p + ((a << 26 | a >>> 6) ^ (a << 21 | a >>> 11) ^ (a << 7 | a >>> 25)) + (a & c ^ ~a & h) + f[l] + u[l];
  2597. p = h, h = c, c = a, a = s + _ | 0, s = o, o = i, i = n, n = _ + (S + m) | 0
  2598. }
  2599. r[0] = r[0] + n | 0, r[1] = r[1] + i | 0, r[2] = r[2] + o | 0, r[3] = r[3] + s | 0, r[4] = r[4] + a | 0, r[5] = r[5] + c | 0, r[6] = r[6] + h | 0, r[7] = r[7] + p | 0
  2600. },
  2601. _doFinalize: function() {
  2602. var e = this._data,
  2603. r = e.words,
  2604. n = 8 * this._nDataBytes,
  2605. i = 8 * e.sigBytes;
  2606. return r[i >>> 5] |= 128 << 24 - i % 32, r[14 + (i + 64 >>> 9 << 4)] = t.floor(n / 4294967296), r[15 + (i + 64 >>> 9 << 4)] = n, e.sigBytes = 4 * r.length, this._process(), this._hash
  2607. },
  2608. clone: function() {
  2609. var t = o.clone.call(this);
  2610. return t._hash = this._hash.clone(), t
  2611. }
  2612. });
  2613. e.SHA256 = o._createHelper(c), e.HmacSHA256 = o._createHmacHelper(c)
  2614. }(Math), n.SHA256)
  2615. },
  2616. 5953: function(t, e, r) {
  2617. var n;
  2618. t.exports = (n = r(9021), r(3240), function(t) {
  2619. var e = n,
  2620. r = e.lib,
  2621. i = r.WordArray,
  2622. o = r.Hasher,
  2623. s = e.x64.Word,
  2624. a = e.algo,
  2625. f = [],
  2626. u = [],
  2627. c = [];
  2628. ! function() {
  2629. for (var t = 1, e = 0, r = 0; r < 24; r++) {
  2630. f[t + 5 * e] = (r + 1) * (r + 2) / 2 % 64;
  2631. var n = (2 * t + 3 * e) % 5;
  2632. t = e % 5, e = n
  2633. }
  2634. for (t = 0; t < 5; t++) for (e = 0; e < 5; e++) u[t + 5 * e] = e + (2 * t + 3 * e) % 5 * 5;
  2635. for (var i = 1, o = 0; o < 24; o++) {
  2636. for (var a = 0, h = 0, p = 0; p < 7; p++) {
  2637. if (1 & i) {
  2638. var l = (1 << p) - 1;
  2639. l < 32 ? h ^= 1 << l : a ^= 1 << l - 32
  2640. }
  2641. 128 & i ? i = i << 1 ^ 113 : i <<= 1
  2642. }
  2643. c[o] = s.create(a, h)
  2644. }
  2645. }();
  2646. var h = [];
  2647. ! function() {
  2648. for (var t = 0; t < 25; t++) h[t] = s.create()
  2649. }();
  2650. var p = a.SHA3 = o.extend({
  2651. cfg: o.cfg.extend({
  2652. outputLength: 512
  2653. }),
  2654. _doReset: function() {
  2655. for (var t = this._state = [], e = 0; e < 25; e++) t[e] = new s.init;
  2656. this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32
  2657. },
  2658. _doProcessBlock: function(t, e) {
  2659. for (var r = this._state, n = this.blockSize / 2, i = 0; i < n; i++) {
  2660. var o = t[e + 2 * i],
  2661. s = t[e + 2 * i + 1];
  2662. o = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), s = 16711935 & (s << 8 | s >>> 24) | 4278255360 & (s << 24 | s >>> 8), (P = r[i])
  2663. .high ^= s, P.low ^= o
  2664. }
  2665. for (var a = 0; a < 24; a++) {
  2666. for (var p = 0; p < 5; p++) {
  2667. for (var l = 0, y = 0, g = 0; g < 5; g++) l ^= (P = r[p + 5 * g])
  2668. .high, y ^= P.low;
  2669. var d = h[p];
  2670. d.high = l, d.low = y
  2671. }
  2672. for (p = 0; p < 5; p++) {
  2673. var v = h[(p + 4) % 5],
  2674. m = h[(p + 1) % 5],
  2675. S = m.high,
  2676. _ = m.low;
  2677. for (l = v.high ^ (S << 1 | _ >>> 31), y = v.low ^ (_ << 1 | S >>> 31), g = 0; g < 5; g++)(P = r[p + 5 * g])
  2678. .high ^= l, P.low ^= y
  2679. }
  2680. for (var b = 1; b < 25; b++) {
  2681. var E = (P = r[b])
  2682. .high,
  2683. w = P.low,
  2684. O = f[b];
  2685. O < 32 ? (l = E << O | w >>> 32 - O, y = w << O | E >>> 32 - O) : (l = w << O - 32 | E >>> 64 - O, y = E << O - 32 | w >>> 64 - O);
  2686. var B = h[u[b]];
  2687. B.high = l, B.low = y
  2688. }
  2689. var A = h[0],
  2690. x = r[0];
  2691. for (A.high = x.high, A.low = x.low, p = 0; p < 5; p++) for (g = 0; g < 5; g++) {
  2692. var P = r[b = p + 5 * g],
  2693. T = h[b],
  2694. I = h[(p + 1) % 5 + 5 * g],
  2695. k = h[(p + 2) % 5 + 5 * g];
  2696. P.high = T.high ^ ~I.high & k.high, P.low = T.low ^ ~I.low & k.low
  2697. }
  2698. P = r[0];
  2699. var D = c[a];
  2700. P.high ^= D.high, P.low ^= D.low
  2701. }
  2702. },
  2703. _doFinalize: function() {
  2704. var e = this._data,
  2705. r = e.words,
  2706. n = (this._nDataBytes, 8 * e.sigBytes),
  2707. o = 32 * this.blockSize;
  2708. r[n >>> 5] |= 1 << 24 - n % 32, r[(t.ceil((n + 1) / o) * o >>> 5) - 1] |= 128, e.sigBytes = 4 * r.length, this._process();
  2709. for (var s = this._state, a = this.cfg.outputLength / 8, f = a / 8, u = [], c = 0; c < f; c++) {
  2710. var h = s[c],
  2711. p = h.high,
  2712. l = h.low;
  2713. p = 16711935 & (p << 8 | p >>> 24) | 4278255360 & (p << 24 | p >>> 8), l = 16711935 & (l << 8 | l >>> 24) | 4278255360 & (l << 24 | l >>> 8), u.push(l), u.push(p)
  2714. }
  2715. return new i.init(u, a)
  2716. },
  2717. clone: function() {
  2718. for (var t = o.clone.call(this), e = t._state = this._state.slice(0), r = 0; r < 25; r++) e[r] = e[r].clone();
  2719. return t
  2720. }
  2721. });
  2722. e.SHA3 = o._createHelper(p), e.HmacSHA3 = o._createHmacHelper(p)
  2723. }(Math), n.SHA3)
  2724. },
  2725. 9557: function(t, e, r) {
  2726. var n, i, o, s, a, f, u, c;
  2727. t.exports = (c = r(9021), r(3240), r(1380), i = (n = c)
  2728. .x64, o = i.Word, s = i.WordArray, a = n.algo, f = a.SHA512, u = a.SHA384 = f.extend({
  2729. _doReset: function() {
  2730. this._hash = new s.init([new o.init(3418070365, 3238371032), new o.init(1654270250, 914150663), new o.init(2438529370, 812702999), new o.init(355462360, 4144912697), new o.init(1731405415, 4290775857), new o.init(2394180231, 1750603025), new o.init(3675008525, 1694076839), new o.init(1203062813, 3204075428)])
  2731. },
  2732. _doFinalize: function() {
  2733. var t = f._doFinalize.call(this);
  2734. return t.sigBytes -= 16, t
  2735. }
  2736. }), n.SHA384 = f._createHelper(u), n.HmacSHA384 = f._createHmacHelper(u), c.SHA384)
  2737. },
  2738. 1380: function(t, e, r) {
  2739. var n;
  2740. t.exports = (n = r(9021), r(3240), function() {
  2741. var t = n,
  2742. e = t.lib.Hasher,
  2743. r = t.x64,
  2744. i = r.Word,
  2745. o = r.WordArray,
  2746. s = t.algo;
  2747. function a() {
  2748. return i.create.apply(i, arguments)
  2749. }
  2750. var f = [a(1116352408, 3609767458), a(1899447441, 602891725), a(3049323471, 3964484399), a(3921009573, 2173295548), a(961987163, 4081628472), a(1508970993, 3053834265), a(2453635748, 2937671579), a(2870763221, 3664609560), a(3624381080, 2734883394), a(310598401, 1164996542), a(607225278, 1323610764), a(1426881987, 3590304994), a(1925078388, 4068182383), a(2162078206, 991336113), a(2614888103, 633803317), a(3248222580, 3479774868), a(3835390401, 2666613458), a(4022224774, 944711139), a(264347078, 2341262773), a(604807628, 2007800933), a(770255983, 1495990901), a(1249150122, 1856431235), a(1555081692, 3175218132), a(1996064986, 2198950837), a(2554220882, 3999719339), a(2821834349, 766784016), a(2952996808, 2566594879), a(3210313671, 3203337956), a(3336571891, 1034457026), a(3584528711, 2466948901), a(113926993, 3758326383), a(338241895, 168717936), a(666307205, 1188179964), a(773529912, 1546045734), a(1294757372, 1522805485), a(1396182291, 2643833823), a(1695183700, 2343527390), a(1986661051, 1014477480), a(2177026350, 1206759142), a(2456956037, 344077627), a(2730485921, 1290863460), a(2820302411, 3158454273), a(3259730800, 3505952657), a(3345764771, 106217008), a(3516065817, 3606008344), a(3600352804, 1432725776), a(4094571909, 1467031594), a(275423344, 851169720), a(430227734, 3100823752), a(506948616, 1363258195), a(659060556, 3750685593), a(883997877, 3785050280), a(958139571, 3318307427), a(1322822218, 3812723403), a(1537002063, 2003034995), a(1747873779, 3602036899), a(1955562222, 1575990012), a(2024104815, 1125592928), a(2227730452, 2716904306), a(2361852424, 442776044), a(2428436474, 593698344), a(2756734187, 3733110249), a(3204031479, 2999351573), a(3329325298, 3815920427), a(3391569614, 3928383900), a(3515267271, 566280711), a(3940187606, 3454069534), a(4118630271, 4000239992), a(116418474, 1914138554), a(174292421, 2731055270), a(289380356, 3203993006), a(460393269, 320620315), a(685471733, 587496836), a(852142971, 1086792851), a(1017036298, 365543100), a(1126000580, 2618297676), a(1288033470, 3409855158), a(1501505948, 4234509866), a(1607167915, 987167468), a(1816402316, 1246189591)],
  2751. u = [];
  2752. ! function() {
  2753. for (var t = 0; t < 80; t++) u[t] = a()
  2754. }();
  2755. var c = s.SHA512 = e.extend({
  2756. _doReset: function() {
  2757. this._hash = new o.init([new i.init(1779033703, 4089235720), new i.init(3144134277, 2227873595), new i.init(1013904242, 4271175723), new i.init(2773480762, 1595750129), new i.init(1359893119, 2917565137), new i.init(2600822924, 725511199), new i.init(528734635, 4215389547), new i.init(1541459225, 327033209)])
  2758. },
  2759. _doProcessBlock: function(t, e) {
  2760. for (var r = this._hash.words, n = r[0], i = r[1], o = r[2], s = r[3], a = r[4], c = r[5], h = r[6], p = r[7], l = n.high, y = n.low, g = i.high, d = i.low, v = o.high, m = o.low, S = s.high, _ = s.low, b = a.high, E = a.low, w = c.high, O = c.low, B = h.high, A = h.low, x = p.high, P = p.low, T = l, I = y, k = g, D = d, R = v, N = m, L = S, C = _, U = b, M = E, j = w, H = O, F = B, z = A, G = x, q = P, $ = 0; $ < 80; $++) {
  2761. var K = u[$];
  2762. if ($ < 16) var W = K.high = 0 | t[e + 2 * $],
  2763. V = K.low = 0 | t[e + 2 * $ + 1];
  2764. else {
  2765. var Y = u[$ - 15],
  2766. X = Y.high,
  2767. Z = Y.low,
  2768. J = (X >>> 1 | Z << 31) ^ (X >>> 8 | Z << 24) ^ X >>> 7,
  2769. Q = (Z >>> 1 | X << 31) ^ (Z >>> 8 | X << 24) ^ (Z >>> 7 | X << 25),
  2770. tt = u[$ - 2],
  2771. et = tt.high,
  2772. rt = tt.low,
  2773. nt = (et >>> 19 | rt << 13) ^ (et << 3 | rt >>> 29) ^ et >>> 6,
  2774. it = (rt >>> 19 | et << 13) ^ (rt << 3 | et >>> 29) ^ (rt >>> 6 | et << 26),
  2775. ot = u[$ - 7],
  2776. st = ot.high,
  2777. at = ot.low,
  2778. ft = u[$ - 16],
  2779. ut = ft.high,
  2780. ct = ft.low;
  2781. W = (W = (W = J + st + ((V = Q + at) >>> 0 < Q >>> 0 ? 1 : 0)) + nt + ((V += it) >>> 0 < it >>> 0 ? 1 : 0)) + ut + ((V += ct) >>> 0 < ct >>> 0 ? 1 : 0), K.high = W, K.low = V
  2782. }
  2783. var ht, pt = U & j ^ ~U & F,
  2784. lt = M & H ^ ~M & z,
  2785. yt = T & k ^ T & R ^ k & R,
  2786. gt = I & D ^ I & N ^ D & N,
  2787. dt = (T >>> 28 | I << 4) ^ (T << 30 | I >>> 2) ^ (T << 25 | I >>> 7),
  2788. vt = (I >>> 28 | T << 4) ^ (I << 30 | T >>> 2) ^ (I << 25 | T >>> 7),
  2789. mt = (U >>> 14 | M << 18) ^ (U >>> 18 | M << 14) ^ (U << 23 | M >>> 9),
  2790. St = (M >>> 14 | U << 18) ^ (M >>> 18 | U << 14) ^ (M << 23 | U >>> 9),
  2791. _t = f[$],
  2792. bt = _t.high,
  2793. Et = _t.low,
  2794. wt = G + mt + ((ht = q + St) >>> 0 < q >>> 0 ? 1 : 0),
  2795. Ot = vt + gt;
  2796. G = F, q = z, F = j, z = H, j = U, H = M, U = L + (wt = (wt = (wt = wt + pt + ((ht += lt) >>> 0 < lt >>> 0 ? 1 : 0)) + bt + ((ht += Et) >>> 0 < Et >>> 0 ? 1 : 0)) + W + ((ht += V) >>> 0 < V >>> 0 ? 1 : 0)) + ((M = C + ht | 0) >>> 0 < C >>> 0 ? 1 : 0) | 0, L = R, C = N, R = k, N = D, k = T, D = I, T = wt + (dt + yt + (Ot >>> 0 < vt >>> 0 ? 1 : 0)) + ((I = ht + Ot | 0) >>> 0 < ht >>> 0 ? 1 : 0) | 0
  2797. }
  2798. y = n.low = y + I, n.high = l + T + (y >>> 0 < I >>> 0 ? 1 : 0), d = i.low = d + D, i.high = g + k + (d >>> 0 < D >>> 0 ? 1 : 0), m = o.low = m + N, o.high = v + R + (m >>> 0 < N >>> 0 ? 1 : 0), _ = s.low = _ + C, s.high = S + L + (_ >>> 0 < C >>> 0 ? 1 : 0), E = a.low = E + M, a.high = b + U + (E >>> 0 < M >>> 0 ? 1 : 0), O = c.low = O + H, c.high = w + j + (O >>> 0 < H >>> 0 ? 1 : 0), A = h.low = A + z, h.high = B + F + (A >>> 0 < z >>> 0 ? 1 : 0), P = p.low = P + q, p.high = x + G + (P >>> 0 < q >>> 0 ? 1 : 0)
  2799. },
  2800. _doFinalize: function() {
  2801. var t = this._data,
  2802. e = t.words,
  2803. r = 8 * this._nDataBytes,
  2804. n = 8 * t.sigBytes;
  2805. return e[n >>> 5] |= 128 << 24 - n % 32, e[30 + (n + 128 >>> 10 << 5)] = Math.floor(r / 4294967296), e[31 + (n + 128 >>> 10 << 5)] = r, t.sigBytes = 4 * e.length, this._process(), this._hash.toX32()
  2806. },
  2807. clone: function() {
  2808. var t = e.clone.call(this);
  2809. return t._hash = this._hash.clone(), t
  2810. },
  2811. blockSize: 32
  2812. });
  2813. t.SHA512 = e._createHelper(c), t.HmacSHA512 = e._createHmacHelper(c)
  2814. }(), n.SHA512)
  2815. },
  2816. 7628: function(t, e, r) {
  2817. var n;
  2818. t.exports = (n = r(9021), r(754), r(4636), r(9506), r(7165), function() {
  2819. var t = n,
  2820. e = t.lib,
  2821. r = e.WordArray,
  2822. i = e.BlockCipher,
  2823. o = t.algo,
  2824. s = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4],
  2825. a = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32],
  2826. f = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28],
  2827. u = [{
  2828. 0: 8421888,
  2829. 268435456: 32768,
  2830. 536870912: 8421378,
  2831. 805306368: 2,
  2832. 1073741824: 512,
  2833. 1342177280: 8421890,
  2834. 1610612736: 8389122,
  2835. 1879048192: 8388608,
  2836. 2147483648: 514,
  2837. 2415919104: 8389120,
  2838. 2684354560: 33280,
  2839. 2952790016: 8421376,
  2840. 3221225472: 32770,
  2841. 3489660928: 8388610,
  2842. 3758096384: 0,
  2843. 4026531840: 33282,
  2844. 134217728: 0,
  2845. 402653184: 8421890,
  2846. 671088640: 33282,
  2847. 939524096: 32768,
  2848. 1207959552: 8421888,
  2849. 1476395008: 512,
  2850. 1744830464: 8421378,
  2851. 2013265920: 2,
  2852. 2281701376: 8389120,
  2853. 2550136832: 33280,
  2854. 2818572288: 8421376,
  2855. 3087007744: 8389122,
  2856. 3355443200: 8388610,
  2857. 3623878656: 32770,
  2858. 3892314112: 514,
  2859. 4160749568: 8388608,
  2860. 1: 32768,
  2861. 268435457: 2,
  2862. 536870913: 8421888,
  2863. 805306369: 8388608,
  2864. 1073741825: 8421378,
  2865. 1342177281: 33280,
  2866. 1610612737: 512,
  2867. 1879048193: 8389122,
  2868. 2147483649: 8421890,
  2869. 2415919105: 8421376,
  2870. 2684354561: 8388610,
  2871. 2952790017: 33282,
  2872. 3221225473: 514,
  2873. 3489660929: 8389120,
  2874. 3758096385: 32770,
  2875. 4026531841: 0,
  2876. 134217729: 8421890,
  2877. 402653185: 8421376,
  2878. 671088641: 8388608,
  2879. 939524097: 512,
  2880. 1207959553: 32768,
  2881. 1476395009: 8388610,
  2882. 1744830465: 2,
  2883. 2013265921: 33282,
  2884. 2281701377: 32770,
  2885. 2550136833: 8389122,
  2886. 2818572289: 514,
  2887. 3087007745: 8421888,
  2888. 3355443201: 8389120,
  2889. 3623878657: 0,
  2890. 3892314113: 33280,
  2891. 4160749569: 8421378
  2892. }, {
  2893. 0: 1074282512,
  2894. 16777216: 16384,
  2895. 33554432: 524288,
  2896. 50331648: 1074266128,
  2897. 67108864: 1073741840,
  2898. 83886080: 1074282496,
  2899. 100663296: 1073758208,
  2900. 117440512: 16,
  2901. 134217728: 540672,
  2902. 150994944: 1073758224,
  2903. 167772160: 1073741824,
  2904. 184549376: 540688,
  2905. 201326592: 524304,
  2906. 218103808: 0,
  2907. 234881024: 16400,
  2908. 251658240: 1074266112,
  2909. 8388608: 1073758208,
  2910. 25165824: 540688,
  2911. 41943040: 16,
  2912. 58720256: 1073758224,
  2913. 75497472: 1074282512,
  2914. 92274688: 1073741824,
  2915. 109051904: 524288,
  2916. 125829120: 1074266128,
  2917. 142606336: 524304,
  2918. 159383552: 0,
  2919. 176160768: 16384,
  2920. 192937984: 1074266112,
  2921. 209715200: 1073741840,
  2922. 226492416: 540672,
  2923. 243269632: 1074282496,
  2924. 260046848: 16400,
  2925. 268435456: 0,
  2926. 285212672: 1074266128,
  2927. 301989888: 1073758224,
  2928. 318767104: 1074282496,
  2929. 335544320: 1074266112,
  2930. 352321536: 16,
  2931. 369098752: 540688,
  2932. 385875968: 16384,
  2933. 402653184: 16400,
  2934. 419430400: 524288,
  2935. 436207616: 524304,
  2936. 452984832: 1073741840,
  2937. 469762048: 540672,
  2938. 486539264: 1073758208,
  2939. 503316480: 1073741824,
  2940. 520093696: 1074282512,
  2941. 276824064: 540688,
  2942. 293601280: 524288,
  2943. 310378496: 1074266112,
  2944. 327155712: 16384,
  2945. 343932928: 1073758208,
  2946. 360710144: 1074282512,
  2947. 377487360: 16,
  2948. 394264576: 1073741824,
  2949. 411041792: 1074282496,
  2950. 427819008: 1073741840,
  2951. 444596224: 1073758224,
  2952. 461373440: 524304,
  2953. 478150656: 0,
  2954. 494927872: 16400,
  2955. 511705088: 1074266128,
  2956. 528482304: 540672
  2957. }, {
  2958. 0: 260,
  2959. 1048576: 0,
  2960. 2097152: 67109120,
  2961. 3145728: 65796,
  2962. 4194304: 65540,
  2963. 5242880: 67108868,
  2964. 6291456: 67174660,
  2965. 7340032: 67174400,
  2966. 8388608: 67108864,
  2967. 9437184: 67174656,
  2968. 10485760: 65792,
  2969. 11534336: 67174404,
  2970. 12582912: 67109124,
  2971. 13631488: 65536,
  2972. 14680064: 4,
  2973. 15728640: 256,
  2974. 524288: 67174656,
  2975. 1572864: 67174404,
  2976. 2621440: 0,
  2977. 3670016: 67109120,
  2978. 4718592: 67108868,
  2979. 5767168: 65536,
  2980. 6815744: 65540,
  2981. 7864320: 260,
  2982. 8912896: 4,
  2983. 9961472: 256,
  2984. 11010048: 67174400,
  2985. 12058624: 65796,
  2986. 13107200: 65792,
  2987. 14155776: 67109124,
  2988. 15204352: 67174660,
  2989. 16252928: 67108864,
  2990. 16777216: 67174656,
  2991. 17825792: 65540,
  2992. 18874368: 65536,
  2993. 19922944: 67109120,
  2994. 20971520: 256,
  2995. 22020096: 67174660,
  2996. 23068672: 67108868,
  2997. 24117248: 0,
  2998. 25165824: 67109124,
  2999. 26214400: 67108864,
  3000. 27262976: 4,
  3001. 28311552: 65792,
  3002. 29360128: 67174400,
  3003. 30408704: 260,
  3004. 31457280: 65796,
  3005. 32505856: 67174404,
  3006. 17301504: 67108864,
  3007. 18350080: 260,
  3008. 19398656: 67174656,
  3009. 20447232: 0,
  3010. 21495808: 65540,
  3011. 22544384: 67109120,
  3012. 23592960: 256,
  3013. 24641536: 67174404,
  3014. 25690112: 65536,
  3015. 26738688: 67174660,
  3016. 27787264: 65796,
  3017. 28835840: 67108868,
  3018. 29884416: 67109124,
  3019. 30932992: 67174400,
  3020. 31981568: 4,
  3021. 33030144: 65792
  3022. }, {
  3023. 0: 2151682048,
  3024. 65536: 2147487808,
  3025. 131072: 4198464,
  3026. 196608: 2151677952,
  3027. 262144: 0,
  3028. 327680: 4198400,
  3029. 393216: 2147483712,
  3030. 458752: 4194368,
  3031. 524288: 2147483648,
  3032. 589824: 4194304,
  3033. 655360: 64,
  3034. 720896: 2147487744,
  3035. 786432: 2151678016,
  3036. 851968: 4160,
  3037. 917504: 4096,
  3038. 983040: 2151682112,
  3039. 32768: 2147487808,
  3040. 98304: 64,
  3041. 163840: 2151678016,
  3042. 229376: 2147487744,
  3043. 294912: 4198400,
  3044. 360448: 2151682112,
  3045. 425984: 0,
  3046. 491520: 2151677952,
  3047. 557056: 4096,
  3048. 622592: 2151682048,
  3049. 688128: 4194304,
  3050. 753664: 4160,
  3051. 819200: 2147483648,
  3052. 884736: 4194368,
  3053. 950272: 4198464,
  3054. 1015808: 2147483712,
  3055. 1048576: 4194368,
  3056. 1114112: 4198400,
  3057. 1179648: 2147483712,
  3058. 1245184: 0,
  3059. 1310720: 4160,
  3060. 1376256: 2151678016,
  3061. 1441792: 2151682048,
  3062. 1507328: 2147487808,
  3063. 1572864: 2151682112,
  3064. 1638400: 2147483648,
  3065. 1703936: 2151677952,
  3066. 1769472: 4198464,
  3067. 1835008: 2147487744,
  3068. 1900544: 4194304,
  3069. 1966080: 64,
  3070. 2031616: 4096,
  3071. 1081344: 2151677952,
  3072. 1146880: 2151682112,
  3073. 1212416: 0,
  3074. 1277952: 4198400,
  3075. 1343488: 4194368,
  3076. 1409024: 2147483648,
  3077. 1474560: 2147487808,
  3078. 1540096: 64,
  3079. 1605632: 2147483712,
  3080. 1671168: 4096,
  3081. 1736704: 2147487744,
  3082. 1802240: 2151678016,
  3083. 1867776: 4160,
  3084. 1933312: 2151682048,
  3085. 1998848: 4194304,
  3086. 2064384: 4198464
  3087. }, {
  3088. 0: 128,
  3089. 4096: 17039360,
  3090. 8192: 262144,
  3091. 12288: 536870912,
  3092. 16384: 537133184,
  3093. 20480: 16777344,
  3094. 24576: 553648256,
  3095. 28672: 262272,
  3096. 32768: 16777216,
  3097. 36864: 537133056,
  3098. 40960: 536871040,
  3099. 45056: 553910400,
  3100. 49152: 553910272,
  3101. 53248: 0,
  3102. 57344: 17039488,
  3103. 61440: 553648128,
  3104. 2048: 17039488,
  3105. 6144: 553648256,
  3106. 10240: 128,
  3107. 14336: 17039360,
  3108. 18432: 262144,
  3109. 22528: 537133184,
  3110. 26624: 553910272,
  3111. 30720: 536870912,
  3112. 34816: 537133056,
  3113. 38912: 0,
  3114. 43008: 553910400,
  3115. 47104: 16777344,
  3116. 51200: 536871040,
  3117. 55296: 553648128,
  3118. 59392: 16777216,
  3119. 63488: 262272,
  3120. 65536: 262144,
  3121. 69632: 128,
  3122. 73728: 536870912,
  3123. 77824: 553648256,
  3124. 81920: 16777344,
  3125. 86016: 553910272,
  3126. 90112: 537133184,
  3127. 94208: 16777216,
  3128. 98304: 553910400,
  3129. 102400: 553648128,
  3130. 106496: 17039360,
  3131. 110592: 537133056,
  3132. 114688: 262272,
  3133. 118784: 536871040,
  3134. 122880: 0,
  3135. 126976: 17039488,
  3136. 67584: 553648256,
  3137. 71680: 16777216,
  3138. 75776: 17039360,
  3139. 79872: 537133184,
  3140. 83968: 536870912,
  3141. 88064: 17039488,
  3142. 92160: 128,
  3143. 96256: 553910272,
  3144. 100352: 262272,
  3145. 104448: 553910400,
  3146. 108544: 0,
  3147. 112640: 553648128,
  3148. 116736: 16777344,
  3149. 120832: 262144,
  3150. 124928: 537133056,
  3151. 129024: 536871040
  3152. }, {
  3153. 0: 268435464,
  3154. 256: 8192,
  3155. 512: 270532608,
  3156. 768: 270540808,
  3157. 1024: 268443648,
  3158. 1280: 2097152,
  3159. 1536: 2097160,
  3160. 1792: 268435456,
  3161. 2048: 0,
  3162. 2304: 268443656,
  3163. 2560: 2105344,
  3164. 2816: 8,
  3165. 3072: 270532616,
  3166. 3328: 2105352,
  3167. 3584: 8200,
  3168. 3840: 270540800,
  3169. 128: 270532608,
  3170. 384: 270540808,
  3171. 640: 8,
  3172. 896: 2097152,
  3173. 1152: 2105352,
  3174. 1408: 268435464,
  3175. 1664: 268443648,
  3176. 1920: 8200,
  3177. 2176: 2097160,
  3178. 2432: 8192,
  3179. 2688: 268443656,
  3180. 2944: 270532616,
  3181. 3200: 0,
  3182. 3456: 270540800,
  3183. 3712: 2105344,
  3184. 3968: 268435456,
  3185. 4096: 268443648,
  3186. 4352: 270532616,
  3187. 4608: 270540808,
  3188. 4864: 8200,
  3189. 5120: 2097152,
  3190. 5376: 268435456,
  3191. 5632: 268435464,
  3192. 5888: 2105344,
  3193. 6144: 2105352,
  3194. 6400: 0,
  3195. 6656: 8,
  3196. 6912: 270532608,
  3197. 7168: 8192,
  3198. 7424: 268443656,
  3199. 7680: 270540800,
  3200. 7936: 2097160,
  3201. 4224: 8,
  3202. 4480: 2105344,
  3203. 4736: 2097152,
  3204. 4992: 268435464,
  3205. 5248: 268443648,
  3206. 5504: 8200,
  3207. 5760: 270540808,
  3208. 6016: 270532608,
  3209. 6272: 270540800,
  3210. 6528: 270532616,
  3211. 6784: 8192,
  3212. 7040: 2105352,
  3213. 7296: 2097160,
  3214. 7552: 0,
  3215. 7808: 268435456,
  3216. 8064: 268443656
  3217. }, {
  3218. 0: 1048576,
  3219. 16: 33555457,
  3220. 32: 1024,
  3221. 48: 1049601,
  3222. 64: 34604033,
  3223. 80: 0,
  3224. 96: 1,
  3225. 112: 34603009,
  3226. 128: 33555456,
  3227. 144: 1048577,
  3228. 160: 33554433,
  3229. 176: 34604032,
  3230. 192: 34603008,
  3231. 208: 1025,
  3232. 224: 1049600,
  3233. 240: 33554432,
  3234. 8: 34603009,
  3235. 24: 0,
  3236. 40: 33555457,
  3237. 56: 34604032,
  3238. 72: 1048576,
  3239. 88: 33554433,
  3240. 104: 33554432,
  3241. 120: 1025,
  3242. 136: 1049601,
  3243. 152: 33555456,
  3244. 168: 34603008,
  3245. 184: 1048577,
  3246. 200: 1024,
  3247. 216: 34604033,
  3248. 232: 1,
  3249. 248: 1049600,
  3250. 256: 33554432,
  3251. 272: 1048576,
  3252. 288: 33555457,
  3253. 304: 34603009,
  3254. 320: 1048577,
  3255. 336: 33555456,
  3256. 352: 34604032,
  3257. 368: 1049601,
  3258. 384: 1025,
  3259. 400: 34604033,
  3260. 416: 1049600,
  3261. 432: 1,
  3262. 448: 0,
  3263. 464: 34603008,
  3264. 480: 33554433,
  3265. 496: 1024,
  3266. 264: 1049600,
  3267. 280: 33555457,
  3268. 296: 34603009,
  3269. 312: 1,
  3270. 328: 33554432,
  3271. 344: 1048576,
  3272. 360: 1025,
  3273. 376: 34604032,
  3274. 392: 33554433,
  3275. 408: 34603008,
  3276. 424: 0,
  3277. 440: 34604033,
  3278. 456: 1049601,
  3279. 472: 1024,
  3280. 488: 33555456,
  3281. 504: 1048577
  3282. }, {
  3283. 0: 134219808,
  3284. 1: 131072,
  3285. 2: 134217728,
  3286. 3: 32,
  3287. 4: 131104,
  3288. 5: 134350880,
  3289. 6: 134350848,
  3290. 7: 2048,
  3291. 8: 134348800,
  3292. 9: 134219776,
  3293. 10: 133120,
  3294. 11: 134348832,
  3295. 12: 2080,
  3296. 13: 0,
  3297. 14: 134217760,
  3298. 15: 133152,
  3299. 2147483648: 2048,
  3300. 2147483649: 134350880,
  3301. 2147483650: 134219808,
  3302. 2147483651: 134217728,
  3303. 2147483652: 134348800,
  3304. 2147483653: 133120,
  3305. 2147483654: 133152,
  3306. 2147483655: 32,
  3307. 2147483656: 134217760,
  3308. 2147483657: 2080,
  3309. 2147483658: 131104,
  3310. 2147483659: 134350848,
  3311. 2147483660: 0,
  3312. 2147483661: 134348832,
  3313. 2147483662: 134219776,
  3314. 2147483663: 131072,
  3315. 16: 133152,
  3316. 17: 134350848,
  3317. 18: 32,
  3318. 19: 2048,
  3319. 20: 134219776,
  3320. 21: 134217760,
  3321. 22: 134348832,
  3322. 23: 131072,
  3323. 24: 0,
  3324. 25: 131104,
  3325. 26: 134348800,
  3326. 27: 134219808,
  3327. 28: 134350880,
  3328. 29: 133120,
  3329. 30: 2080,
  3330. 31: 134217728,
  3331. 2147483664: 131072,
  3332. 2147483665: 2048,
  3333. 2147483666: 134348832,
  3334. 2147483667: 133152,
  3335. 2147483668: 32,
  3336. 2147483669: 134348800,
  3337. 2147483670: 134217728,
  3338. 2147483671: 134219808,
  3339. 2147483672: 134350880,
  3340. 2147483673: 134217760,
  3341. 2147483674: 134219776,
  3342. 2147483675: 0,
  3343. 2147483676: 133120,
  3344. 2147483677: 2080,
  3345. 2147483678: 131104,
  3346. 2147483679: 134350848
  3347. }],
  3348. c = [4160749569, 528482304, 33030144, 2064384, 129024, 8064, 504, 2147483679],
  3349. h = o.DES = i.extend({
  3350. _doReset: function() {
  3351. for (var t = this._key.words, e = [], r = 0; r < 56; r++) {
  3352. var n = s[r] - 1;
  3353. e[r] = t[n >>> 5] >>> 31 - n % 32 & 1
  3354. }
  3355. for (var i = this._subKeys = [], o = 0; o < 16; o++) {
  3356. var u = i[o] = [],
  3357. c = f[o];
  3358. for (r = 0; r < 24; r++) u[r / 6 | 0] |= e[(a[r] - 1 + c) % 28] << 31 - r % 6, u[4 + (r / 6 | 0)] |= e[28 + (a[r + 24] - 1 + c) % 28] << 31 - r % 6;
  3359. for (u[0] = u[0] << 1 | u[0] >>> 31, r = 1; r < 7; r++) u[r] = u[r] >>> 4 * (r - 1) + 3;
  3360. u[7] = u[7] << 5 | u[7] >>> 27
  3361. }
  3362. var h = this._invSubKeys = [];
  3363. for (r = 0; r < 16; r++) h[r] = i[15 - r]
  3364. },
  3365. encryptBlock: function(t, e) {
  3366. this._doCryptBlock(t, e, this._subKeys)
  3367. },
  3368. decryptBlock: function(t, e) {
  3369. this._doCryptBlock(t, e, this._invSubKeys)
  3370. },
  3371. _doCryptBlock: function(t, e, r) {
  3372. this._lBlock = t[e], this._rBlock = t[e + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), p.call(this, 1, 1431655765);
  3373. for (var n = 0; n < 16; n++) {
  3374. for (var i = r[n], o = this._lBlock, s = this._rBlock, a = 0, f = 0; f < 8; f++) a |= u[f][((s ^ i[f]) & c[f]) >>> 0];
  3375. this._lBlock = s, this._rBlock = o ^ a
  3376. }
  3377. var h = this._lBlock;
  3378. this._lBlock = this._rBlock, this._rBlock = h, p.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), t[e] = this._lBlock, t[e + 1] = this._rBlock
  3379. },
  3380. keySize: 2,
  3381. ivSize: 2,
  3382. blockSize: 2
  3383. });
  3384. function p(t, e) {
  3385. var r = (this._lBlock >>> t ^ this._rBlock) & e;
  3386. this._rBlock ^= r, this._lBlock ^= r << t
  3387. }
  3388. function l(t, e) {
  3389. var r = (this._rBlock >>> t ^ this._lBlock) & e;
  3390. this._lBlock ^= r, this._rBlock ^= r << t
  3391. }
  3392. t.DES = i._createHelper(h);
  3393. var y = o.TripleDES = i.extend({
  3394. _doReset: function() {
  3395. var t = this._key.words;
  3396. this._des1 = h.createEncryptor(r.create(t.slice(0, 2))), this._des2 = h.createEncryptor(r.create(t.slice(2, 4))), this._des3 = h.createEncryptor(r.create(t.slice(4, 6)))
  3397. },
  3398. encryptBlock: function(t, e) {
  3399. this._des1.encryptBlock(t, e), this._des2.decryptBlock(t, e), this._des3.encryptBlock(t, e)
  3400. },
  3401. decryptBlock: function(t, e) {
  3402. this._des3.decryptBlock(t, e), this._des2.encryptBlock(t, e), this._des1.decryptBlock(t, e)
  3403. },
  3404. keySize: 6,
  3405. ivSize: 2,
  3406. blockSize: 2
  3407. });
  3408. t.TripleDES = i._createHelper(y)
  3409. }(), n.TripleDES)
  3410. },
  3411. 3240: function(t, e, r) {
  3412. var n, i, o, s, a, f;
  3413. t.exports = (n = r(9021), o = (i = n)
  3414. .lib, s = o.Base, a = o.WordArray, (f = i.x64 = {})
  3415. .Word = s.extend({
  3416. init: function(t, e) {
  3417. this.high = t, this.low = e
  3418. }
  3419. }), f.WordArray = s.extend({
  3420. init: function(t, e) {
  3421. t = this.words = t || [], this.sigBytes = null != e ? e : 8 * t.length
  3422. },
  3423. toX32: function() {
  3424. for (var t = this.words, e = t.length, r = [], n = 0; n < e; n++) {
  3425. var i = t[n];
  3426. r.push(i.high), r.push(i.low)
  3427. }
  3428. return a.create(r, this.sigBytes)
  3429. },
  3430. clone: function() {
  3431. for (var t = s.clone.call(this), e = t.words = this.words.slice(0), r = e.length, n = 0; n < r; n++) e[n] = e[n].clone();
  3432. return t
  3433. }
  3434. }), n)
  3435. },
  3436. 41: (t, e, r) => {
  3437. "use strict";
  3438. var n = r(655),
  3439. i = r(8068),
  3440. o = r(9675),
  3441. s = r(5795);
  3442. t.exports = function(t, e, r) {
  3443. if (!t || "object" != typeof t && "function" != typeof t) throw new o("`obj` must be an object or a function`");
  3444. if ("string" != typeof e && "symbol" != typeof e) throw new o("`property` must be a string or a symbol`");
  3445. if (arguments.length > 3 && "boolean" != typeof arguments[3] && null !== arguments[3]) throw new o("`nonEnumerable`, if provided, must be a boolean or null");
  3446. if (arguments.length > 4 && "boolean" != typeof arguments[4] && null !== arguments[4]) throw new o("`nonWritable`, if provided, must be a boolean or null");
  3447. if (arguments.length > 5 && "boolean" != typeof arguments[5] && null !== arguments[5]) throw new o("`nonConfigurable`, if provided, must be a boolean or null");
  3448. if (arguments.length > 6 && "boolean" != typeof arguments[6]) throw new o("`loose`, if provided, must be a boolean");
  3449. var a = arguments.length > 3 ? arguments[3] : null,
  3450. f = arguments.length > 4 ? arguments[4] : null,
  3451. u = arguments.length > 5 ? arguments[5] : null,
  3452. c = arguments.length > 6 && arguments[6],
  3453. h = !! s && s(t, e);
  3454. if (n) n(t, e, {
  3455. configurable: null === u && h ? h.configurable : !u,
  3456. enumerable: null === a && h ? h.enumerable : !a,
  3457. value: r,
  3458. writable: null === f && h ? h.writable : !f
  3459. });
  3460. else {
  3461. if (!c && (a || f || u)) throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
  3462. t[e] = r
  3463. }
  3464. }
  3465. },
  3466. 655: (t, e, r) => {
  3467. "use strict";
  3468. var n = r(453)("%Object.defineProperty%", !0) || !1;
  3469. if (n) try {
  3470. n({}, "a", {
  3471. value: 1
  3472. })
  3473. } catch (t) {
  3474. n = !1
  3475. }
  3476. t.exports = n
  3477. },
  3478. 1237: t => {
  3479. "use strict";
  3480. t.exports = EvalError
  3481. },
  3482. 9383: t => {
  3483. "use strict";
  3484. t.exports = Error
  3485. },
  3486. 9290: t => {
  3487. "use strict";
  3488. t.exports = RangeError
  3489. },
  3490. 9538: t => {
  3491. "use strict";
  3492. t.exports = ReferenceError
  3493. },
  3494. 8068: t => {
  3495. "use strict";
  3496. t.exports = SyntaxError
  3497. },
  3498. 9675: t => {
  3499. "use strict";
  3500. t.exports = TypeError
  3501. },
  3502. 5345: t => {
  3503. "use strict";
  3504. t.exports = URIError
  3505. },
  3506. 9353: t => {
  3507. "use strict";
  3508. var e = Object.prototype.toString,
  3509. r = Math.max,
  3510. n = function(t, e) {
  3511. for (var r = [], n = 0; n < t.length; n += 1) r[n] = t[n];
  3512. for (var i = 0; i < e.length; i += 1) r[i + t.length] = e[i];
  3513. return r
  3514. };
  3515. t.exports = function(t) {
  3516. var i = this;
  3517. if ("function" != typeof i || "[object Function]" !== e.apply(i)) throw new TypeError("Function.prototype.bind called on incompatible " + i);
  3518. for (var o, s = function(t, e) {
  3519. for (var r = [], n = 1, i = 0; n < t.length; n += 1, i += 1) r[i] = t[n];
  3520. return r
  3521. }(arguments), a = r(0, i.length - s.length), f = [], u = 0; u < a; u++) f[u] = "$" + u;
  3522. if (o = Function("binder", "return function (" + function(t, e) {
  3523. for (var r = "", n = 0; n < t.length; n += 1) r += t[n], n + 1 < t.length && (r += ",");
  3524. return r
  3525. }(f) + "){ return binder.apply(this,arguments); }")((function() {
  3526. if (this instanceof o) {
  3527. var e = i.apply(this, n(s, arguments));
  3528. return Object(e) === e ? e : this
  3529. }
  3530. return i.apply(t, n(s, arguments))
  3531. })), i.prototype) {
  3532. var c = function() {};
  3533. c.prototype = i.prototype, o.prototype = new c, c.prototype = null
  3534. }
  3535. return o
  3536. }
  3537. },
  3538. 6743: (t, e, r) => {
  3539. "use strict";
  3540. var n = r(9353);
  3541. t.exports = Function.prototype.bind || n
  3542. },
  3543. 453: (t, e, r) => {
  3544. "use strict";
  3545. var n, i = r(9383),
  3546. o = r(1237),
  3547. s = r(9290),
  3548. a = r(9538),
  3549. f = r(8068),
  3550. u = r(9675),
  3551. c = r(5345),
  3552. h = Function,
  3553. p = function(t) {
  3554. try {
  3555. return h('"use strict"; return (' + t + ").constructor;")()
  3556. } catch (t) {}
  3557. }, l = Object.getOwnPropertyDescriptor;
  3558. if (l) try {
  3559. l({}, "")
  3560. } catch (t) {
  3561. l = null
  3562. }
  3563. var y = function() {
  3564. throw new u
  3565. }, g = l ? function() {
  3566. try {
  3567. return y
  3568. } catch (t) {
  3569. try {
  3570. return l(arguments, "callee")
  3571. .get
  3572. } catch (t) {
  3573. return y
  3574. }
  3575. }
  3576. }() : y,
  3577. d = r(4039)(),
  3578. v = r(24)(),
  3579. m = Object.getPrototypeOf || (v ? function(t) {
  3580. return t.__proto__
  3581. } : null),
  3582. S = {}, _ = "undefined" != typeof Uint8Array && m ? m(Uint8Array) : n,
  3583. b = {
  3584. __proto__: null,
  3585. "%AggregateError%": "undefined" == typeof AggregateError ? n : AggregateError,
  3586. "%Array%": Array,
  3587. "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? n : ArrayBuffer,
  3588. "%ArrayIteratorPrototype%": d && m ? m([][Symbol.iterator]()) : n,
  3589. "%AsyncFromSyncIteratorPrototype%": n,
  3590. "%AsyncFunction%": S,
  3591. "%AsyncGenerator%": S,
  3592. "%AsyncGeneratorFunction%": S,
  3593. "%AsyncIteratorPrototype%": S,
  3594. "%Atomics%": "undefined" == typeof Atomics ? n : Atomics,
  3595. "%BigInt%": "undefined" == typeof BigInt ? n : BigInt,
  3596. "%BigInt64Array%": "undefined" == typeof BigInt64Array ? n : BigInt64Array,
  3597. "%BigUint64Array%": "undefined" == typeof BigUint64Array ? n : BigUint64Array,
  3598. "%Boolean%": Boolean,
  3599. "%DataView%": "undefined" == typeof DataView ? n : DataView,
  3600. "%Date%": Date,
  3601. "%decodeURI%": decodeURI,
  3602. "%decodeURIComponent%": decodeURIComponent,
  3603. "%encodeURI%": encodeURI,
  3604. "%encodeURIComponent%": encodeURIComponent,
  3605. "%Error%": i,
  3606. "%eval%": eval,
  3607. "%EvalError%": o,
  3608. "%Float32Array%": "undefined" == typeof Float32Array ? n : Float32Array,
  3609. "%Float64Array%": "undefined" == typeof Float64Array ? n : Float64Array,
  3610. "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? n : FinalizationRegistry,
  3611. "%Function%": h,
  3612. "%GeneratorFunction%": S,
  3613. "%Int8Array%": "undefined" == typeof Int8Array ? n : Int8Array,
  3614. "%Int16Array%": "undefined" == typeof Int16Array ? n : Int16Array,
  3615. "%Int32Array%": "undefined" == typeof Int32Array ? n : Int32Array,
  3616. "%isFinite%": isFinite,
  3617. "%isNaN%": isNaN,
  3618. "%IteratorPrototype%": d && m ? m(m([][Symbol.iterator]())) : n,
  3619. "%JSON%": "object" == typeof JSON ? JSON : n,
  3620. "%Map%": "undefined" == typeof Map ? n : Map,
  3621. "%MapIteratorPrototype%": "undefined" != typeof Map && d && m ? m((new Map)[Symbol.iterator]()) : n,
  3622. "%Math%": Math,
  3623. "%Number%": Number,
  3624. "%Object%": Object,
  3625. "%parseFloat%": parseFloat,
  3626. "%parseInt%": parseInt,
  3627. "%Promise%": "undefined" == typeof Promise ? n : Promise,
  3628. "%Proxy%": "undefined" == typeof Proxy ? n : Proxy,
  3629. "%RangeError%": s,
  3630. "%ReferenceError%": a,
  3631. "%Reflect%": "undefined" == typeof Reflect ? n : Reflect,
  3632. "%RegExp%": RegExp,
  3633. "%Set%": "undefined" == typeof Set ? n : Set,
  3634. "%SetIteratorPrototype%": "undefined" != typeof Set && d && m ? m((new Set)[Symbol.iterator]()) : n,
  3635. "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? n : SharedArrayBuffer,
  3636. "%String%": String,
  3637. "%StringIteratorPrototype%": d && m ? m("" [Symbol.iterator]()) : n,
  3638. "%Symbol%": d ? Symbol : n,
  3639. "%SyntaxError%": f,
  3640. "%ThrowTypeError%": g,
  3641. "%TypedArray%": _,
  3642. "%TypeError%": u,
  3643. "%Uint8Array%": "undefined" == typeof Uint8Array ? n : Uint8Array,
  3644. "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? n : Uint8ClampedArray,
  3645. "%Uint16Array%": "undefined" == typeof Uint16Array ? n : Uint16Array,
  3646. "%Uint32Array%": "undefined" == typeof Uint32Array ? n : Uint32Array,
  3647. "%URIError%": c,
  3648. "%WeakMap%": "undefined" == typeof WeakMap ? n : WeakMap,
  3649. "%WeakRef%": "undefined" == typeof WeakRef ? n : WeakRef,
  3650. "%WeakSet%": "undefined" == typeof WeakSet ? n : WeakSet
  3651. };
  3652. if (m) try {
  3653. null.error
  3654. } catch (t) {
  3655. var E = m(m(t));
  3656. b["%Error.prototype%"] = E
  3657. }
  3658. var w = function t(e) {
  3659. var r;
  3660. if ("%AsyncFunction%" === e) r = p("async function () {}");
  3661. else if ("%GeneratorFunction%" === e) r = p("function* () {}");
  3662. else if ("%AsyncGeneratorFunction%" === e) r = p("async function* () {}");
  3663. else if ("%AsyncGenerator%" === e) {
  3664. var n = t("%AsyncGeneratorFunction%");
  3665. n && (r = n.prototype)
  3666. } else if ("%AsyncIteratorPrototype%" === e) {
  3667. var i = t("%AsyncGenerator%");
  3668. i && m && (r = m(i.prototype))
  3669. }
  3670. return b[e] = r, r
  3671. }, O = {
  3672. __proto__: null,
  3673. "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
  3674. "%ArrayPrototype%": ["Array", "prototype"],
  3675. "%ArrayProto_entries%": ["Array", "prototype", "entries"],
  3676. "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
  3677. "%ArrayProto_keys%": ["Array", "prototype", "keys"],
  3678. "%ArrayProto_values%": ["Array", "prototype", "values"],
  3679. "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
  3680. "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
  3681. "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
  3682. "%BooleanPrototype%": ["Boolean", "prototype"],
  3683. "%DataViewPrototype%": ["DataView", "prototype"],
  3684. "%DatePrototype%": ["Date", "prototype"],
  3685. "%ErrorPrototype%": ["Error", "prototype"],
  3686. "%EvalErrorPrototype%": ["EvalError", "prototype"],
  3687. "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
  3688. "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
  3689. "%FunctionPrototype%": ["Function", "prototype"],
  3690. "%Generator%": ["GeneratorFunction", "prototype"],
  3691. "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
  3692. "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
  3693. "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
  3694. "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
  3695. "%JSONParse%": ["JSON", "parse"],
  3696. "%JSONStringify%": ["JSON", "stringify"],
  3697. "%MapPrototype%": ["Map", "prototype"],
  3698. "%NumberPrototype%": ["Number", "prototype"],
  3699. "%ObjectPrototype%": ["Object", "prototype"],
  3700. "%ObjProto_toString%": ["Object", "prototype", "toString"],
  3701. "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
  3702. "%PromisePrototype%": ["Promise", "prototype"],
  3703. "%PromiseProto_then%": ["Promise", "prototype", "then"],
  3704. "%Promise_all%": ["Promise", "all"],
  3705. "%Promise_reject%": ["Promise", "reject"],
  3706. "%Promise_resolve%": ["Promise", "resolve"],
  3707. "%RangeErrorPrototype%": ["RangeError", "prototype"],
  3708. "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
  3709. "%RegExpPrototype%": ["RegExp", "prototype"],
  3710. "%SetPrototype%": ["Set", "prototype"],
  3711. "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
  3712. "%StringPrototype%": ["String", "prototype"],
  3713. "%SymbolPrototype%": ["Symbol", "prototype"],
  3714. "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
  3715. "%TypedArrayPrototype%": ["TypedArray", "prototype"],
  3716. "%TypeErrorPrototype%": ["TypeError", "prototype"],
  3717. "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
  3718. "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
  3719. "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
  3720. "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
  3721. "%URIErrorPrototype%": ["URIError", "prototype"],
  3722. "%WeakMapPrototype%": ["WeakMap", "prototype"],
  3723. "%WeakSetPrototype%": ["WeakSet", "prototype"]
  3724. }, B = r(6743),
  3725. A = r(9957),
  3726. x = B.call(Function.call, Array.prototype.concat),
  3727. P = B.call(Function.apply, Array.prototype.splice),
  3728. T = B.call(Function.call, String.prototype.replace),
  3729. I = B.call(Function.call, String.prototype.slice),
  3730. k = B.call(Function.call, RegExp.prototype.exec),
  3731. D = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,
  3732. R = /\\(\\)?/g,
  3733. N = function(t, e) {
  3734. var r, n = t;
  3735. if (A(O, n) && (n = "%" + (r = O[n])[0] + "%"), A(b, n)) {
  3736. var i = b[n];
  3737. if (i === S && (i = w(n)), void 0 === i && !e) throw new u("intrinsic " + t + " exists, but is not available. Please file an issue!");
  3738. return {
  3739. alias: r,
  3740. name: n,
  3741. value: i
  3742. }
  3743. }
  3744. throw new f("intrinsic " + t + " does not exist!")
  3745. };
  3746. t.exports = function(t, e) {
  3747. if ("string" != typeof t || 0 === t.length) throw new u("intrinsic name must be a non-empty string");
  3748. if (arguments.length > 1 && "boolean" != typeof e) throw new u('"allowMissing" argument must be a boolean');
  3749. if (null === k(/^%?[^%]*%?$/, t)) throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
  3750. var r = function(t) {
  3751. var e = I(t, 0, 1),
  3752. r = I(t, -1);
  3753. if ("%" === e && "%" !== r) throw new f("invalid intrinsic syntax, expected closing `%`");
  3754. if ("%" === r && "%" !== e) throw new f("invalid intrinsic syntax, expected opening `%`");
  3755. var n = [];
  3756. return T(t, D, (function(t, e, r, i) {
  3757. n[n.length] = r ? T(i, R, "$1") : e || t
  3758. })), n
  3759. }(t),
  3760. n = r.length > 0 ? r[0] : "",
  3761. i = N("%" + n + "%", e),
  3762. o = i.name,
  3763. s = i.value,
  3764. a = !1,
  3765. c = i.alias;
  3766. c && (n = c[0], P(r, x([0, 1], c)));
  3767. for (var h = 1, p = !0; h < r.length; h += 1) {
  3768. var y = r[h],
  3769. g = I(y, 0, 1),
  3770. d = I(y, -1);
  3771. if (('"' === g || "'" === g || "`" === g || '"' === d || "'" === d || "`" === d) && g !== d) throw new f("property names with quotes must have matching quotes");
  3772. if ("constructor" !== y && p || (a = !0), A(b, o = "%" + (n += "." + y) + "%")) s = b[o];
  3773. else if (null != s) {
  3774. if (!(y in s)) {
  3775. if (!e) throw new u("base intrinsic for " + t + " exists, but the property is not available.");
  3776. return
  3777. }
  3778. if (l && h + 1 >= r.length) {
  3779. var v = l(s, y);
  3780. s = (p = !! v) && "get" in v && !("originalValue" in v.get) ? v.get : s[y]
  3781. } else p = A(s, y), s = s[y];
  3782. p && !a && (b[o] = s)
  3783. }
  3784. }
  3785. return s
  3786. }
  3787. },
  3788. 5795: (t, e, r) => {
  3789. "use strict";
  3790. var n = r(453)("%Object.getOwnPropertyDescriptor%", !0);
  3791. if (n) try {
  3792. n([], "length")
  3793. } catch (t) {
  3794. n = null
  3795. }
  3796. t.exports = n
  3797. },
  3798. 592: (t, e, r) => {
  3799. "use strict";
  3800. var n = r(655),
  3801. i = function() {
  3802. return !!n
  3803. };
  3804. i.hasArrayLengthDefineBug = function() {
  3805. if (!n) return null;
  3806. try {
  3807. return 1 !== n([], "length", {
  3808. value: 1
  3809. })
  3810. .length
  3811. } catch (t) {
  3812. return !0
  3813. }
  3814. }, t.exports = i
  3815. },
  3816. 24: t => {
  3817. "use strict";
  3818. var e = {
  3819. __proto__: null,
  3820. foo: {}
  3821. }, r = Object;
  3822. t.exports = function() {
  3823. return {
  3824. __proto__: e
  3825. }.foo === e.foo && !(e instanceof r)
  3826. }
  3827. },
  3828. 4039: (t, e, r) => {
  3829. "use strict";
  3830. var n = "undefined" != typeof Symbol && Symbol,
  3831. i = r(1333);
  3832. t.exports = function() {
  3833. return "function" == typeof n && "function" == typeof Symbol && "symbol" == typeof n("foo") && "symbol" == typeof Symbol("bar") && i()
  3834. }
  3835. },
  3836. 1333: t => {
  3837. "use strict";
  3838. t.exports = function() {
  3839. if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1;
  3840. if ("symbol" == typeof Symbol.iterator) return !0;
  3841. var t = {}, e = Symbol("test"),
  3842. r = Object(e);
  3843. if ("string" == typeof e) return !1;
  3844. if ("[object Symbol]" !== Object.prototype.toString.call(e)) return !1;
  3845. if ("[object Symbol]" !== Object.prototype.toString.call(r)) return !1;
  3846. for (e in t[e] = 42, t) return !1;
  3847. if ("function" == typeof Object.keys && 0 !== Object.keys(t)
  3848. .length) return !1;
  3849. if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(t)
  3850. .length) return !1;
  3851. var n = Object.getOwnPropertySymbols(t);
  3852. if (1 !== n.length || n[0] !== e) return !1;
  3853. if (!Object.prototype.propertyIsEnumerable.call(t, e)) return !1;
  3854. if ("function" == typeof Object.getOwnPropertyDescriptor) {
  3855. var i = Object.getOwnPropertyDescriptor(t, e);
  3856. if (42 !== i.value || !0 !== i.enumerable) return !1
  3857. }
  3858. return !0
  3859. }
  3860. },
  3861. 9957: (t, e, r) => {
  3862. "use strict";
  3863. var n = Function.prototype.call,
  3864. i = Object.prototype.hasOwnProperty,
  3865. o = r(6743);
  3866. t.exports = o.call(n, i)
  3867. },
  3868. 251: (t, e) => {
  3869. e.read = function(t, e, r, n, i) {
  3870. var o, s, a = 8 * i - n - 1,
  3871. f = (1 << a) - 1,
  3872. u = f >> 1,
  3873. c = -7,
  3874. h = r ? i - 1 : 0,
  3875. p = r ? -1 : 1,
  3876. l = t[e + h];
  3877. for (h += p, o = l & (1 << -c) - 1, l >>= -c, c += a; c > 0; o = 256 * o + t[e + h], h += p, c -= 8);
  3878. for (s = o & (1 << -c) - 1, o >>= -c, c += n; c > 0; s = 256 * s + t[e + h], h += p, c -= 8);
  3879. if (0 === o) o = 1 - u;
  3880. else {
  3881. if (o === f) return s ? NaN : 1 / 0 * (l ? -1 : 1);
  3882. s += Math.pow(2, n), o -= u
  3883. }
  3884. return (l ? -1 : 1) * s * Math.pow(2, o - n)
  3885. }, e.write = function(t, e, r, n, i, o) {
  3886. var s, a, f, u = 8 * o - i - 1,
  3887. c = (1 << u) - 1,
  3888. h = c >> 1,
  3889. p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
  3890. l = n ? 0 : o - 1,
  3891. y = n ? 1 : -1,
  3892. g = e < 0 || 0 === e && 1 / e < 0 ? 1 : 0;
  3893. for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = c) : (s = Math.floor(Math.log(e) / Math.LN2), e * (f = Math.pow(2, -s)) < 1 && (s--, f *= 2), (e += s + h >= 1 ? p / f : p * Math.pow(2, 1 - h)) * f >= 2 && (s++, f /= 2), s + h >= c ? (a = 0, s = c) : s + h >= 1 ? (a = (e * f - 1) * Math.pow(2, i), s += h) : (a = e * Math.pow(2, h - 1) * Math.pow(2, i), s = 0)); i >= 8; t[r + l] = 255 & a, l += y, a /= 256, i -= 8);
  3894. for (s = s << i | a, u += i; u > 0; t[r + l] = 255 & s, l += y, s /= 256, u -= 8);
  3895. t[r + l - y] |= 128 * g
  3896. }
  3897. },
  3898. 3229: (t, e, r) => {
  3899. var n = r(8287)
  3900. .Buffer,
  3901. i = r(7449),
  3902. o = r(5682),
  3903. s = (r(3200), r(3100)
  3904. .Ber, r(8226)
  3905. ._),
  3906. a = r(8226),
  3907. f = r(1768),
  3908. u = r(7460);
  3909. void 0 === i.RSA_NO_PADDING && (i.RSA_NO_PADDING = 3), t.exports = function() {
  3910. var t = {
  3911. node10: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
  3912. node: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
  3913. iojs: ["md4", "md5", "ripemd160", "sha1", "sha224", "sha256", "sha384", "sha512"],
  3914. browser: ["md5", "ripemd160", "sha1", "sha256", "sha512"]
  3915. }, e = "pkcs1_oaep",
  3916. r = "pkcs1",
  3917. i = {
  3918. private: "pkcs1-private-pem",
  3919. "private-der": "pkcs1-private-der",
  3920. public: "pkcs8-public-pem",
  3921. "public-der": "pkcs8-public-der"
  3922. };
  3923. function c(t, i, f) {
  3924. if (!(this instanceof c)) return new c(t, i, f);
  3925. s.isObject(i) && (f = i, i = void 0), this.$options = {
  3926. signingScheme: r,
  3927. signingSchemeOptions: {
  3928. hash: "sha256",
  3929. saltLength: null
  3930. },
  3931. encryptionScheme: e,
  3932. encryptionSchemeOptions: {
  3933. hash: "sha1",
  3934. label: null
  3935. },
  3936. environment: a.detectEnvironment(),
  3937. rsaUtils: this
  3938. }, this.keyPair = new o.Key, this.$cache = {}, n.isBuffer(t) || s.isString(t) ? this.importKey(t, i) : s.isObject(t) && this.generateKeyPair(t.b, t.e), this.setOptions(f)
  3939. }
  3940. return c.prototype.setOptions = function(n) {
  3941. if ((n = n || {})
  3942. .environment && (this.$options.environment = n.environment), n.signingScheme) {
  3943. if (s.isString(n.signingScheme)) {
  3944. var i = n.signingScheme.toLowerCase()
  3945. .split("-");
  3946. 1 == i.length ? t.node.indexOf(i[0]) > -1 ? (this.$options.signingSchemeOptions = {
  3947. hash: i[0]
  3948. }, this.$options.signingScheme = r) : (this.$options.signingScheme = i[0], this.$options.signingSchemeOptions = {
  3949. hash: null
  3950. }) : (this.$options.signingSchemeOptions = {
  3951. hash: i[1]
  3952. }, this.$options.signingScheme = i[0])
  3953. } else s.isObject(n.signingScheme) && (this.$options.signingScheme = n.signingScheme.scheme || r, this.$options.signingSchemeOptions = s.omit(n.signingScheme, "scheme"));
  3954. if (!f.isSignature(this.$options.signingScheme)) throw Error("Unsupported signing scheme");
  3955. if (this.$options.signingSchemeOptions.hash && -1 === t[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash)) throw Error("Unsupported hashing algorithm for " + this.$options.environment + " environment")
  3956. }
  3957. if (n.encryptionScheme) {
  3958. if (s.isString(n.encryptionScheme) ? (this.$options.encryptionScheme = n.encryptionScheme.toLowerCase(), this.$options.encryptionSchemeOptions = {}) : s.isObject(n.encryptionScheme) && (this.$options.encryptionScheme = n.encryptionScheme.scheme || e, this.$options.encryptionSchemeOptions = s.omit(n.encryptionScheme, "scheme")), !f.isEncryption(this.$options.encryptionScheme)) throw Error("Unsupported encryption scheme");
  3959. if (this.$options.encryptionSchemeOptions.hash && -1 === t[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash)) throw Error("Unsupported hashing algorithm for " + this.$options.environment + " environment")
  3960. }
  3961. this.keyPair.setOptions(this.$options)
  3962. }, c.prototype.generateKeyPair = function(t, e) {
  3963. if (e = e || 65537, (t = t || 2048) % 8 != 0) throw Error("Key size must be a multiple of 8.");
  3964. return this.keyPair.generate(t, e.toString(16)), this.$cache = {}, this
  3965. }, c.prototype.importKey = function(t, e) {
  3966. if (!t) throw Error("Empty key given");
  3967. if (e && (e = i[e] || e), !u.detectAndImport(this.keyPair, t, e) && void 0 === e) throw Error("Key format must be specified");
  3968. return this.$cache = {}, this
  3969. }, c.prototype.exportKey = function(t) {
  3970. return t = i[t = t || "private"] || t, this.$cache[t] || (this.$cache[t] = u.detectAndExport(this.keyPair, t)), this.$cache[t]
  3971. }, c.prototype.isPrivate = function() {
  3972. return this.keyPair.isPrivate()
  3973. }, c.prototype.isPublic = function(t) {
  3974. return this.keyPair.isPublic(t)
  3975. }, c.prototype.isEmpty = function(t) {
  3976. return !(this.keyPair.n || this.keyPair.e || this.keyPair.d)
  3977. }, c.prototype.encrypt = function(t, e, r) {
  3978. return this.$$encryptKey(!1, t, e, r)
  3979. }, c.prototype.decrypt = function(t, e) {
  3980. return this.$$decryptKey(!1, t, e)
  3981. }, c.prototype.encryptPrivate = function(t, e, r) {
  3982. return this.$$encryptKey(!0, t, e, r)
  3983. }, c.prototype.decryptPublic = function(t, e) {
  3984. return this.$$decryptKey(!0, t, e)
  3985. }, c.prototype.$$encryptKey = function(t, e, r, n) {
  3986. try {
  3987. var i = this.keyPair.encrypt(this.$getDataForEncrypt(e, n), t);
  3988. return "buffer" != r && r ? i.toString(r) : i
  3989. } catch (t) {
  3990. throw Error("Error during encryption. Original error: " + t)
  3991. }
  3992. }, c.prototype.$$decryptKey = function(t, e, r) {
  3993. try {
  3994. e = s.isString(e) ? n.from(e, "base64") : e;
  3995. var i = this.keyPair.decrypt(e, t);
  3996. if (null === i) throw Error("Key decrypt method returns null.");
  3997. return this.$getDecryptedData(i, r)
  3998. } catch (t) {
  3999. throw Error("Error during decryption (probably incorrect key). Original error: " + t)
  4000. }
  4001. }, c.prototype.sign = function(t, e, r) {
  4002. if (!this.isPrivate()) throw Error("This is not private key");
  4003. var n = this.keyPair.sign(this.$getDataForEncrypt(t, r));
  4004. return e && "buffer" != e && (n = n.toString(e)), n
  4005. }, c.prototype.verify = function(t, e, r, n) {
  4006. if (!this.isPublic()) throw Error("This is not public key");
  4007. return n = n && "buffer" != n ? n : null, this.keyPair.verify(this.$getDataForEncrypt(t, r), e, n)
  4008. }, c.prototype.getKeySize = function() {
  4009. return this.keyPair.keySize
  4010. }, c.prototype.getMaxMessageSize = function() {
  4011. return this.keyPair.maxMessageLength
  4012. }, c.prototype.$getDataForEncrypt = function(t, e) {
  4013. if (s.isString(t) || s.isNumber(t)) return n.from("" + t, e || "utf8");
  4014. if (n.isBuffer(t)) return t;
  4015. if (s.isObject(t)) return n.from(JSON.stringify(t));
  4016. throw Error("Unexpected data type")
  4017. }, c.prototype.$getDecryptedData = function(t, e) {
  4018. return "buffer" == (e = e || "buffer") ? t : "json" == e ? JSON.parse(t.toString()) : t.toString(e)
  4019. }, c
  4020. }()
  4021. },
  4022. 4538: (t, e, r) => {
  4023. var n = r(3200);
  4024. t.exports = {
  4025. getEngine: function(t, e) {
  4026. var i = r(7469);
  4027. return "node" === e.environment && "function" == typeof n.publicEncrypt && "function" == typeof n.privateDecrypt && (i = "function" == typeof n.privateEncrypt && "function" == typeof n.publicDecrypt ? r(2418) : r(1957)), i(t, e)
  4028. }
  4029. }
  4030. },
  4031. 2418: (t, e, r) => {
  4032. var n = r(3200),
  4033. i = r(7449),
  4034. o = r(1768);
  4035. t.exports = function(t, e) {
  4036. var r = o.pkcs1.makeScheme(t, e);
  4037. return {
  4038. encrypt: function(t, o) {
  4039. var s;
  4040. if (o) return s = i.RSA_PKCS1_PADDING, e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding), n.privateEncrypt({
  4041. key: e.rsaUtils.exportKey("private"),
  4042. padding: s
  4043. }, t);
  4044. s = i.RSA_PKCS1_OAEP_PADDING, "pkcs1" === e.encryptionScheme && (s = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding);
  4045. var a = t;
  4046. return s === i.RSA_NO_PADDING && (a = r.pkcs0pad(t)), n.publicEncrypt({
  4047. key: e.rsaUtils.exportKey("public"),
  4048. padding: s
  4049. }, a)
  4050. },
  4051. decrypt: function(t, o) {
  4052. var s;
  4053. if (o) return s = i.RSA_PKCS1_PADDING, e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding), n.publicDecrypt({
  4054. key: e.rsaUtils.exportKey("public"),
  4055. padding: s
  4056. }, t);
  4057. s = i.RSA_PKCS1_OAEP_PADDING, "pkcs1" === e.encryptionScheme && (s = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (s = e.encryptionSchemeOptions.padding);
  4058. var a = n.privateDecrypt({
  4059. key: e.rsaUtils.exportKey("private"),
  4060. padding: s
  4061. }, t);
  4062. return s === i.RSA_NO_PADDING ? r.pkcs0unpad(a) : a
  4063. }
  4064. }
  4065. }
  4066. },
  4067. 7469: (t, e, r) => {
  4068. var n = r(1973),
  4069. i = r(1768);
  4070. t.exports = function(t, e) {
  4071. var r = i.pkcs1.makeScheme(t, e);
  4072. return {
  4073. encrypt: function(e, i) {
  4074. var o, s;
  4075. return i ? (o = new n(r.encPad(e, {
  4076. type: 1
  4077. })), s = t.$doPrivate(o)) : (o = new n(t.encryptionScheme.encPad(e)), s = t.$doPublic(o)), s.toBuffer(t.encryptedDataLength)
  4078. },
  4079. decrypt: function(e, i) {
  4080. var o, s = new n(e);
  4081. return i ? (o = t.$doPublic(s), r.encUnPad(o.toBuffer(t.encryptedDataLength), {
  4082. type: 1
  4083. })) : (o = t.$doPrivate(s), t.encryptionScheme.encUnPad(o.toBuffer(t.encryptedDataLength)))
  4084. }
  4085. }
  4086. }
  4087. },
  4088. 1957: (t, e, r) => {
  4089. var n = r(3200),
  4090. i = r(7449),
  4091. o = r(1768);
  4092. t.exports = function(t, e) {
  4093. var s = r(7469)(t, e),
  4094. a = o.pkcs1.makeScheme(t, e);
  4095. return {
  4096. encrypt: function(t, r) {
  4097. if (r) return s.encrypt(t, r);
  4098. var o = i.RSA_PKCS1_OAEP_PADDING;
  4099. "pkcs1" === e.encryptionScheme && (o = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (o = e.encryptionSchemeOptions.padding);
  4100. var f = t;
  4101. return o === i.RSA_NO_PADDING && (f = a.pkcs0pad(t)), n.publicEncrypt({
  4102. key: e.rsaUtils.exportKey("public"),
  4103. padding: o
  4104. }, f)
  4105. },
  4106. decrypt: function(t, r) {
  4107. if (r) return s.decrypt(t, r);
  4108. var o = i.RSA_PKCS1_OAEP_PADDING;
  4109. "pkcs1" === e.encryptionScheme && (o = i.RSA_PKCS1_PADDING), e.encryptionSchemeOptions && e.encryptionSchemeOptions.padding && (o = e.encryptionSchemeOptions.padding);
  4110. var f = n.privateDecrypt({
  4111. key: e.rsaUtils.exportKey("private"),
  4112. padding: o
  4113. }, t);
  4114. return o === i.RSA_NO_PADDING ? a.pkcs0unpad(f) : f
  4115. }
  4116. }
  4117. }
  4118. },
  4119. 3374: (t, e, r) => {
  4120. r(8226)
  4121. ._, r(8226), t.exports = {
  4122. privateExport: function(t, e) {
  4123. return {
  4124. n: t.n.toBuffer(),
  4125. e: t.e,
  4126. d: t.d.toBuffer(),
  4127. p: t.p.toBuffer(),
  4128. q: t.q.toBuffer(),
  4129. dmp1: t.dmp1.toBuffer(),
  4130. dmq1: t.dmq1.toBuffer(),
  4131. coeff: t.coeff.toBuffer()
  4132. }
  4133. },
  4134. privateImport: function(t, e, r) {
  4135. if (!(e.n && e.e && e.d && e.p && e.q && e.dmp1 && e.dmq1 && e.coeff)) throw Error("Invalid key data");
  4136. t.setPrivate(e.n, e.e, e.d, e.p, e.q, e.dmp1, e.dmq1, e.coeff)
  4137. },
  4138. publicExport: function(t, e) {
  4139. return {
  4140. n: t.n.toBuffer(),
  4141. e: t.e
  4142. }
  4143. },
  4144. publicImport: function(t, e, r) {
  4145. if (!e.n || !e.e) throw Error("Invalid key data");
  4146. t.setPublic(e.n, e.e)
  4147. },
  4148. autoImport: function(e, r) {
  4149. return !(!r.n || !r.e || (r.d && r.p && r.q && r.dmp1 && r.dmq1 && r.coeff ? (t.exports.privateImport(e, r), 0) : (t.exports.publicImport(e, r), 0)))
  4150. }
  4151. }
  4152. },
  4153. 7460: (t, e, r) => {
  4154. function n(t) {
  4155. t = t.split("-");
  4156. for (var e = "private", r = {
  4157. type: "default"
  4158. }, n = 1; n < t.length; n++) if (t[n]) switch (t[n]) {
  4159. case "public":
  4160. case "private":
  4161. e = t[n];
  4162. break;
  4163. case "pem":
  4164. case "der":
  4165. r.type = t[n]
  4166. }
  4167. return {
  4168. scheme: t[0],
  4169. keyType: e,
  4170. keyOpt: r
  4171. }
  4172. }
  4173. r(8226)
  4174. ._, t.exports = {
  4175. pkcs1: r(6566),
  4176. pkcs8: r(8573),
  4177. components: r(3374),
  4178. openssh: r(3194),
  4179. isPrivateExport: function(e) {
  4180. return t.exports[e] && "function" == typeof t.exports[e].privateExport
  4181. },
  4182. isPrivateImport: function(e) {
  4183. return t.exports[e] && "function" == typeof t.exports[e].privateImport
  4184. },
  4185. isPublicExport: function(e) {
  4186. return t.exports[e] && "function" == typeof t.exports[e].publicExport
  4187. },
  4188. isPublicImport: function(e) {
  4189. return t.exports[e] && "function" == typeof t.exports[e].publicImport
  4190. },
  4191. detectAndImport: function(e, r, i) {
  4192. if (void 0 === i) {
  4193. for (var o in t.exports) if ("function" == typeof t.exports[o].autoImport && t.exports[o].autoImport(e, r)) return !0
  4194. } else if (i) {
  4195. var s = n(i);
  4196. if (!t.exports[s.scheme]) throw Error("Unsupported key format");
  4197. "private" === s.keyType ? t.exports[s.scheme].privateImport(e, r, s.keyOpt) : t.exports[s.scheme].publicImport(e, r, s.keyOpt)
  4198. }
  4199. return !1
  4200. },
  4201. detectAndExport: function(e, r) {
  4202. if (r) {
  4203. var i = n(r);
  4204. if (t.exports[i.scheme]) {
  4205. if ("private" === i.keyType) {
  4206. if (!e.isPrivate()) throw Error("This is not private key");
  4207. return t.exports[i.scheme].privateExport(e, i.keyOpt)
  4208. }
  4209. if (!e.isPublic()) throw Error("This is not public key");
  4210. return t.exports[i.scheme].publicExport(e, i.keyOpt)
  4211. }
  4212. throw Error("Unsupported key format")
  4213. }
  4214. }
  4215. }
  4216. },
  4217. 3194: (t, e, r) => {
  4218. var n = r(8287)
  4219. .Buffer,
  4220. i = r(8226)
  4221. ._,
  4222. o = r(8226),
  4223. s = r(1973);
  4224. const a = "-----BEGIN OPENSSH PRIVATE KEY-----", f = "-----END OPENSSH PRIVATE KEY-----";
  4225. function u(t) {
  4226. const e = t.buf.readInt32BE(t.off);
  4227. t.off += 4;
  4228. const r = t.buf.slice(t.off, t.off + e);
  4229. return t.off += e, r
  4230. }
  4231. function c(t, e) {
  4232. t.buf.writeInt32BE(e.byteLength, t.off), t.off += 4, t.off += e.copy(t.buf, t.off)
  4233. }
  4234. t.exports = {
  4235. privateExport: function(t, e) {
  4236. const r = t.n.toBuffer();
  4237. let i = n.alloc(4);
  4238. for (i.writeUInt32BE(t.e, 0); 0 === i[0];) i = i.slice(1);
  4239. const s = t.d.toBuffer(), u = t.coeff.toBuffer(), h = t.p.toBuffer(), p = t.q.toBuffer();
  4240. let l;
  4241. l = void 0 !== t.sshcomment ? n.from(t.sshcomment) : n.from([]);
  4242. const y = 15 + i.byteLength + 4 + r.byteLength, g = 23 + r.byteLength + 4 + i.byteLength + 4 + s.byteLength + 4 + u.byteLength + 4 + h.byteLength + 4 + p.byteLength + 4 + l.byteLength;
  4243. let d = 43 + y + 4 + g;
  4244. d += 8 * Math.ceil(g / 8) - g;
  4245. const v = n.alloc(d), m = {
  4246. buf: v,
  4247. off: 0
  4248. };
  4249. v.write("openssh-key-v1", "utf8"), v.writeUInt8(0, 14), m.off += 15, c(m, n.from("none")), c(m, n.from("none")), c(m, n.from("")), m.off = m.buf.writeUInt32BE(1, m.off), m.off = m.buf.writeUInt32BE(y, m.off), c(m, n.from("ssh-rsa")), c(m, i), c(m, r), m.off = m.buf.writeUInt32BE(d - 47 - y, m.off), m.off += 8, c(m, n.from("ssh-rsa")), c(m, r), c(m, i), c(m, s), c(m, u), c(m, h), c(m, p), c(m, l);
  4250. let S = 1;
  4251. for (; m.off < d;) m.off = m.buf.writeUInt8(S++, m.off);
  4252. return "der" === e.type ? m.buf : a + "\n" + o.linebrk(v.toString("base64"), 70) + "\n" + f + "\n"
  4253. },
  4254. privateImport: function(t, e, r) {
  4255. var c;
  4256. if ("der" !== (r = r || {})
  4257. .type) {
  4258. if (n.isBuffer(e) && (e = e.toString("utf8")), !i.isString(e)) throw Error("Unsupported key format");
  4259. var h = o.trimSurroundingText(e, a, f)
  4260. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4261. c = n.from(h, "base64")
  4262. } else {
  4263. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4264. c = e
  4265. }
  4266. const p = {
  4267. buf: c,
  4268. off: 0
  4269. };
  4270. if ("openssh-key-v1" !== c.slice(0, 14)
  4271. .toString("ascii")) throw "Invalid file format.";
  4272. if (p.off += 15, "none" !== u(p)
  4273. .toString("ascii")) throw Error("Unsupported key type");
  4274. if ("none" !== u(p)
  4275. .toString("ascii")) throw Error("Unsupported key type");
  4276. if ("" !== u(p)
  4277. .toString("ascii")) throw Error("Unsupported key type");
  4278. if (p.off += 4, p.off += 4, "ssh-rsa" !== u(p)
  4279. .toString("ascii")) throw Error("Unsupported key type");
  4280. if (u(p), u(p), p.off += 12, "ssh-rsa" !== u(p)
  4281. .toString("ascii")) throw Error("Unsupported key type");
  4282. const l = u(p), y = u(p), g = u(p), d = u(p), v = u(p), m = u(p), S = new s(g), _ = new s(m), b = new s(v), E = S.mod(b.subtract(s.ONE)), w = S.mod(_.subtract(s.ONE));
  4283. t.setPrivate(l, y, g, v, m, E.toBuffer(), w.toBuffer(), d), t.sshcomment = u(p)
  4284. .toString("ascii")
  4285. },
  4286. publicExport: function(t, e) {
  4287. let r = n.alloc(4);
  4288. for (r.writeUInt32BE(t.e, 0); 0 === r[0];) r = r.slice(1);
  4289. const i = t.n.toBuffer(), o = n.alloc(r.byteLength + 4 + i.byteLength + 4 + 7 + 4), s = {
  4290. buf: o,
  4291. off: 0
  4292. };
  4293. c(s, n.from("ssh-rsa")), c(s, r), c(s, i);
  4294. let a = t.sshcomment || "";
  4295. return "der" === e.type ? s.buf : "ssh-rsa " + o.toString("base64") + " " + a + "\n"
  4296. },
  4297. publicImport: function(t, e, r) {
  4298. var o;
  4299. if ("der" !== (r = r || {})
  4300. .type) {
  4301. if (n.isBuffer(e) && (e = e.toString("utf8")), !i.isString(e)) throw Error("Unsupported key format"); {
  4302. if ("ssh-rsa " !== e.substring(0, 8)) throw Error("Unsupported key format");
  4303. let r = e.indexOf(" ", 8); - 1 === r ? r = e.length : t.sshcomment = e.substring(r + 1)
  4304. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4305. const i = e.substring(8, r)
  4306. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4307. o = n.from(i, "base64")
  4308. }
  4309. } else {
  4310. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4311. o = e
  4312. }
  4313. const s = {
  4314. buf: o,
  4315. off: 0
  4316. }, a = u(s)
  4317. .toString("ascii");
  4318. if ("ssh-rsa" !== a) throw Error("Invalid key type: " + a);
  4319. const f = u(s), c = u(s);
  4320. t.setPublic(c, f)
  4321. },
  4322. autoImport: function(e, r) {
  4323. return /^[\S\s]*-----BEGIN OPENSSH PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END OPENSSH PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !! /^[\S\s]*ssh-rsa \s*(?=(([A-Za-z0-9+/=]+\s*)+))\1[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
  4324. }
  4325. }
  4326. },
  4327. 6566: (t, e, r) => {
  4328. var n = r(8287)
  4329. .Buffer,
  4330. i = r(3100)
  4331. .Ber,
  4332. o = r(8226)
  4333. ._,
  4334. s = r(8226);
  4335. const a = "-----BEGIN RSA PRIVATE KEY-----", f = "-----END RSA PRIVATE KEY-----", u = "-----BEGIN RSA PUBLIC KEY-----", c = "-----END RSA PUBLIC KEY-----";
  4336. t.exports = {
  4337. privateExport: function(t, e) {
  4338. e = e || {};
  4339. var r = t.n.toBuffer(),
  4340. n = t.d.toBuffer(),
  4341. o = t.p.toBuffer(),
  4342. u = t.q.toBuffer(),
  4343. c = t.dmp1.toBuffer(),
  4344. h = t.dmq1.toBuffer(),
  4345. p = t.coeff.toBuffer(),
  4346. l = r.length + n.length + o.length + u.length + c.length + h.length + p.length + 512,
  4347. y = new i.Writer({
  4348. size: l
  4349. });
  4350. return y.startSequence(), y.writeInt(0), y.writeBuffer(r, 2), y.writeInt(t.e), y.writeBuffer(n, 2), y.writeBuffer(o, 2), y.writeBuffer(u, 2), y.writeBuffer(c, 2), y.writeBuffer(h, 2), y.writeBuffer(p, 2), y.endSequence(), "der" === e.type ? y.buffer : a + "\n" + s.linebrk(y.buffer.toString("base64"), 64) + "\n" + f
  4351. },
  4352. privateImport: function(t, e, r) {
  4353. var u;
  4354. if ("der" !== (r = r || {})
  4355. .type) {
  4356. if (n.isBuffer(e) && (e = e.toString("utf8")), !o.isString(e)) throw Error("Unsupported key format");
  4357. var c = s.trimSurroundingText(e, a, f)
  4358. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4359. u = n.from(c, "base64")
  4360. } else {
  4361. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4362. u = e
  4363. }
  4364. var h = new i.Reader(u);
  4365. h.readSequence(), h.readString(2, !0), t.setPrivate(h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0), h.readString(2, !0))
  4366. },
  4367. publicExport: function(t, e) {
  4368. e = e || {};
  4369. var r = t.n.toBuffer(),
  4370. n = r.length + 512,
  4371. o = new i.Writer({
  4372. size: n
  4373. });
  4374. return o.startSequence(), o.writeBuffer(r, 2), o.writeInt(t.e), o.endSequence(), "der" === e.type ? o.buffer : u + "\n" + s.linebrk(o.buffer.toString("base64"), 64) + "\n" + c
  4375. },
  4376. publicImport: function(t, e, r) {
  4377. var a;
  4378. if ("der" !== (r = r || {})
  4379. .type) {
  4380. if (n.isBuffer(e) && (e = e.toString("utf8")), o.isString(e)) {
  4381. var f = s.trimSurroundingText(e, u, c)
  4382. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4383. a = n.from(f, "base64")
  4384. }
  4385. } else {
  4386. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4387. a = e
  4388. }
  4389. var h = new i.Reader(a);
  4390. h.readSequence(), t.setPublic(h.readString(2, !0), h.readString(2, !0))
  4391. },
  4392. autoImport: function(e, r) {
  4393. return /^[\S\s]*-----BEGIN RSA PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !! /^[\S\s]*-----BEGIN RSA PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END RSA PUBLIC KEY-----[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
  4394. }
  4395. }
  4396. },
  4397. 8573: (t, e, r) => {
  4398. var n = r(8287)
  4399. .Buffer,
  4400. i = r(3100)
  4401. .Ber,
  4402. o = r(8226)
  4403. ._,
  4404. s = "1.2.840.113549.1.1.1",
  4405. a = r(8226);
  4406. const f = "-----BEGIN PRIVATE KEY-----", u = "-----END PRIVATE KEY-----", c = "-----BEGIN PUBLIC KEY-----", h = "-----END PUBLIC KEY-----";
  4407. t.exports = {
  4408. privateExport: function(t, e) {
  4409. e = e || {};
  4410. var r = t.n.toBuffer(),
  4411. n = t.d.toBuffer(),
  4412. o = t.p.toBuffer(),
  4413. c = t.q.toBuffer(),
  4414. h = t.dmp1.toBuffer(),
  4415. p = t.dmq1.toBuffer(),
  4416. l = t.coeff.toBuffer(),
  4417. y = r.length + n.length + o.length + c.length + h.length + p.length + l.length + 512,
  4418. g = new i.Writer({
  4419. size: y
  4420. });
  4421. g.startSequence(), g.writeInt(0), g.writeBuffer(r, 2), g.writeInt(t.e), g.writeBuffer(n, 2), g.writeBuffer(o, 2), g.writeBuffer(c, 2), g.writeBuffer(h, 2), g.writeBuffer(p, 2), g.writeBuffer(l, 2), g.endSequence();
  4422. var d = new i.Writer({
  4423. size: y
  4424. });
  4425. return d.startSequence(), d.writeInt(0), d.startSequence(), d.writeOID(s), d.writeNull(), d.endSequence(), d.writeBuffer(g.buffer, 4), d.endSequence(), "der" === e.type ? d.buffer : f + "\n" + a.linebrk(d.buffer.toString("base64"), 64) + "\n" + u
  4426. },
  4427. privateImport: function(t, e, r) {
  4428. var c;
  4429. if ("der" !== (r = r || {})
  4430. .type) {
  4431. if (n.isBuffer(e) && (e = e.toString("utf8")), !o.isString(e)) throw Error("Unsupported key format");
  4432. var h = a.trimSurroundingText(e, f, u)
  4433. .replace("-----END PRIVATE KEY-----", "")
  4434. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4435. c = n.from(h, "base64")
  4436. } else {
  4437. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4438. c = e
  4439. }
  4440. var p = new i.Reader(c);
  4441. if (p.readSequence(), p.readInt(0), new i.Reader(p.readString(48, !0))
  4442. .readOID(6, !0) !== s) throw Error("Invalid Public key format");
  4443. var l = new i.Reader(p.readString(4, !0));
  4444. l.readSequence(), l.readString(2, !0), t.setPrivate(l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0), l.readString(2, !0))
  4445. },
  4446. publicExport: function(t, e) {
  4447. e = e || {};
  4448. var r = t.n.toBuffer(),
  4449. n = r.length + 512,
  4450. o = new i.Writer({
  4451. size: n
  4452. });
  4453. o.writeByte(0), o.startSequence(), o.writeBuffer(r, 2), o.writeInt(t.e), o.endSequence();
  4454. var f = new i.Writer({
  4455. size: n
  4456. });
  4457. return f.startSequence(), f.startSequence(), f.writeOID(s), f.writeNull(), f.endSequence(), f.writeBuffer(o.buffer, 3), f.endSequence(), "der" === e.type ? f.buffer : c + "\n" + a.linebrk(f.buffer.toString("base64"), 64) + "\n" + h
  4458. },
  4459. publicImport: function(t, e, r) {
  4460. var f;
  4461. if ("der" !== (r = r || {})
  4462. .type) {
  4463. if (n.isBuffer(e) && (e = e.toString("utf8")), o.isString(e)) {
  4464. var u = a.trimSurroundingText(e, c, h)
  4465. .replace(/\s+|\n\r|\n|\r$/gm, "");
  4466. f = n.from(u, "base64")
  4467. }
  4468. } else {
  4469. if (!n.isBuffer(e)) throw Error("Unsupported key format");
  4470. f = e
  4471. }
  4472. var p = new i.Reader(f);
  4473. if (p.readSequence(), new i.Reader(p.readString(48, !0))
  4474. .readOID(6, !0) !== s) throw Error("Invalid Public key format");
  4475. var l = new i.Reader(p.readString(3, !0));
  4476. l.readByte(), l.readSequence(), t.setPublic(l.readString(2, !0), l.readString(2, !0))
  4477. },
  4478. autoImport: function(e, r) {
  4479. return /^[\S\s]*-----BEGIN PRIVATE KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PRIVATE KEY-----[\S\s]*$/g.test(r) ? (t.exports.privateImport(e, r), !0) : !! /^[\S\s]*-----BEGIN PUBLIC KEY-----\s*(?=(([A-Za-z0-9+/=]+\s*)+))\1-----END PUBLIC KEY-----[\S\s]*$/g.test(r) && (t.exports.publicImport(e, r), !0)
  4480. }
  4481. }
  4482. },
  4483. 1973: (t, e, r) => {
  4484. var n = r(8287)
  4485. .Buffer,
  4486. i = r(3200),
  4487. o = r(8226)
  4488. ._;
  4489. function s(t, e) {
  4490. null != t && ("number" == typeof t ? this.fromNumber(t, e) : n.isBuffer(t) ? this.fromBuffer(t) : null == e && "string" != typeof t ? this.fromByteArray(t) : this.fromString(t, e))
  4491. }
  4492. function a() {
  4493. return new s(null)
  4494. }
  4495. s.prototype.am = function(t, e, r, n, i, o) {
  4496. for (var s = 16383 & e, a = e >> 14; --o >= 0;) {
  4497. var f = 16383 & this[t],
  4498. u = this[t++] >> 14,
  4499. c = a * f + u * s;
  4500. i = ((f = s * f + ((16383 & c) << 14) + r[n] + i) >> 28) + (c >> 14) + a * u, r[n++] = 268435455 & f
  4501. }
  4502. return i
  4503. }, s.prototype.DB = 28, s.prototype.DM = 268435455, s.prototype.DV = 1 << 28, s.prototype.FV = Math.pow(2, 52), s.prototype.F1 = 24, s.prototype.F2 = 4;
  4504. var f, u, c = new Array;
  4505. for (f = "0".charCodeAt(0), u = 0; u <= 9; ++u) c[f++] = u;
  4506. for (f = "a".charCodeAt(0), u = 10; u < 36; ++u) c[f++] = u;
  4507. for (f = "A".charCodeAt(0), u = 10; u < 36; ++u) c[f++] = u;
  4508. function h(t) {
  4509. return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)
  4510. }
  4511. function p(t, e) {
  4512. var r = c[t.charCodeAt(e)];
  4513. return null == r ? -1 : r
  4514. }
  4515. function l(t) {
  4516. var e = a();
  4517. return e.fromInt(t), e
  4518. }
  4519. function y(t) {
  4520. var e, r = 1;
  4521. return 0 != (e = t >>> 16) && (t = e, r += 16), 0 != (e = t >> 8) && (t = e, r += 8), 0 != (e = t >> 4) && (t = e, r += 4), 0 != (e = t >> 2) && (t = e, r += 2), 0 != (e = t >> 1) && (t = e, r += 1), r
  4522. }
  4523. function g(t) {
  4524. this.m = t
  4525. }
  4526. function d(t) {
  4527. this.m = t, this.mp = t.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << t.DB - 15) - 1, this.mt2 = 2 * t.t
  4528. }
  4529. function v(t, e) {
  4530. return t & e
  4531. }
  4532. function m(t, e) {
  4533. return t | e
  4534. }
  4535. function S(t, e) {
  4536. return t ^ e
  4537. }
  4538. function _(t, e) {
  4539. return t & ~e
  4540. }
  4541. function b(t) {
  4542. if (0 === t) return -1;
  4543. var e = 0;
  4544. return 65535 & t || (t >>= 16, e += 16), 255 & t || (t >>= 8, e += 8), 15 & t || (t >>= 4, e += 4), 3 & t || (t >>= 2, e += 2), 1 & t || ++e, e
  4545. }
  4546. function E(t) {
  4547. for (var e = 0; 0 != t;) t &= t - 1, ++e;
  4548. return e
  4549. }
  4550. function w() {}
  4551. function O(t) {
  4552. return t
  4553. }
  4554. function B(t) {
  4555. this.r2 = a(), this.q3 = a(), s.ONE.dlShiftTo(2 * t.t, this.r2), this.mu = this.r2.divide(t), this.m = t
  4556. }
  4557. g.prototype.convert = function(t) {
  4558. return t.s < 0 || t.compareTo(this.m) >= 0 ? t.mod(this.m) : t
  4559. }, g.prototype.revert = function(t) {
  4560. return t
  4561. }, g.prototype.reduce = function(t) {
  4562. t.divRemTo(this.m, null, t)
  4563. }, g.prototype.mulTo = function(t, e, r) {
  4564. t.multiplyTo(e, r), this.reduce(r)
  4565. }, g.prototype.sqrTo = function(t, e) {
  4566. t.squareTo(e), this.reduce(e)
  4567. }, d.prototype.convert = function(t) {
  4568. var e = a();
  4569. return t.abs()
  4570. .dlShiftTo(this.m.t, e), e.divRemTo(this.m, null, e), t.s < 0 && e.compareTo(s.ZERO) > 0 && this.m.subTo(e, e), e
  4571. }, d.prototype.revert = function(t) {
  4572. var e = a();
  4573. return t.copyTo(e), this.reduce(e), e
  4574. }, d.prototype.reduce = function(t) {
  4575. for (; t.t <= this.mt2;) t[t.t++] = 0;
  4576. for (var e = 0; e < this.m.t; ++e) {
  4577. var r = 32767 & t[e],
  4578. n = r * this.mpl + ((r * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
  4579. for (t[r = e + this.m.t] += this.m.am(0, n, t, e, 0, this.m.t); t[r] >= t.DV;) t[r] -= t.DV, t[++r]++
  4580. }
  4581. t.clamp(), t.drShiftTo(this.m.t, t), t.compareTo(this.m) >= 0 && t.subTo(this.m, t)
  4582. }, d.prototype.mulTo = function(t, e, r) {
  4583. t.multiplyTo(e, r), this.reduce(r)
  4584. }, d.prototype.sqrTo = function(t, e) {
  4585. t.squareTo(e), this.reduce(e)
  4586. }, w.prototype.convert = O, w.prototype.revert = O, w.prototype.mulTo = function(t, e, r) {
  4587. t.multiplyTo(e, r)
  4588. }, w.prototype.sqrTo = function(t, e) {
  4589. t.squareTo(e)
  4590. }, B.prototype.convert = function(t) {
  4591. if (t.s < 0 || t.t > 2 * this.m.t) return t.mod(this.m);
  4592. if (t.compareTo(this.m) < 0) return t;
  4593. var e = a();
  4594. return t.copyTo(e), this.reduce(e), e
  4595. }, B.prototype.revert = function(t) {
  4596. return t
  4597. }, B.prototype.reduce = function(t) {
  4598. for (t.drShiftTo(this.m.t - 1, this.r2), t.t > this.m.t + 1 && (t.t = this.m.t + 1, t.clamp()), this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3), this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); t.compareTo(this.r2) < 0;) t.dAddOffset(1, this.m.t + 1);
  4599. for (t.subTo(this.r2, t); t.compareTo(this.m) >= 0;) t.subTo(this.m, t)
  4600. }, B.prototype.mulTo = function(t, e, r) {
  4601. t.multiplyTo(e, r), this.reduce(r)
  4602. }, B.prototype.sqrTo = function(t, e) {
  4603. t.squareTo(e), this.reduce(e)
  4604. };
  4605. var A = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997],
  4606. x = (1 << 26) / A[A.length - 1];
  4607. s.prototype.copyTo = function(t) {
  4608. for (var e = this.t - 1; e >= 0; --e) t[e] = this[e];
  4609. t.t = this.t, t.s = this.s
  4610. }, s.prototype.fromInt = function(t) {
  4611. this.t = 1, this.s = t < 0 ? -1 : 0, t > 0 ? this[0] = t : t < -1 ? this[0] = t + DV : this.t = 0
  4612. }, s.prototype.fromString = function(t, e, r) {
  4613. var n;
  4614. switch (e) {
  4615. case 2:
  4616. n = 1;
  4617. break;
  4618. case 4:
  4619. n = 2;
  4620. break;
  4621. case 8:
  4622. n = 3;
  4623. break;
  4624. case 16:
  4625. n = 4;
  4626. break;
  4627. case 32:
  4628. n = 5;
  4629. break;
  4630. case 256:
  4631. n = 8;
  4632. break;
  4633. default:
  4634. return void this.fromRadix(t, e)
  4635. }
  4636. this.t = 0, this.s = 0;
  4637. for (var i = t.length, o = !1, a = 0; --i >= 0;) {
  4638. var f = 8 == n ? 255 & t[i] : p(t, i);
  4639. f < 0 ? "-" == t.charAt(i) && (o = !0) : (o = !1, 0 === a ? this[this.t++] = f : a + n > this.DB ? (this[this.t - 1] |= (f & (1 << this.DB - a) - 1) << a, this[this.t++] = f >> this.DB - a) : this[this.t - 1] |= f << a, (a += n) >= this.DB && (a -= this.DB))
  4640. }!r && 8 == n && 128 & t[0] && (this.s = -1, a > 0 && (this[this.t - 1] |= (1 << this.DB - a) - 1 << a)), this.clamp(), o && s.ZERO.subTo(this, this)
  4641. }, s.prototype.fromByteArray = function(t, e) {
  4642. this.fromString(t, 256, e)
  4643. }, s.prototype.fromBuffer = function(t) {
  4644. this.fromString(t, 256, !0)
  4645. }, s.prototype.clamp = function() {
  4646. for (var t = this.s & this.DM; this.t > 0 && this[this.t - 1] == t;)--this.t
  4647. }, s.prototype.dlShiftTo = function(t, e) {
  4648. var r;
  4649. for (r = this.t - 1; r >= 0; --r) e[r + t] = this[r];
  4650. for (r = t - 1; r >= 0; --r) e[r] = 0;
  4651. e.t = this.t + t, e.s = this.s
  4652. }, s.prototype.drShiftTo = function(t, e) {
  4653. for (var r = t; r < this.t; ++r) e[r - t] = this[r];
  4654. e.t = Math.max(this.t - t, 0), e.s = this.s
  4655. }, s.prototype.lShiftTo = function(t, e) {
  4656. var r, n = t % this.DB,
  4657. i = this.DB - n,
  4658. o = (1 << i) - 1,
  4659. s = Math.floor(t / this.DB),
  4660. a = this.s << n & this.DM;
  4661. for (r = this.t - 1; r >= 0; --r) e[r + s + 1] = this[r] >> i | a, a = (this[r] & o) << n;
  4662. for (r = s - 1; r >= 0; --r) e[r] = 0;
  4663. e[s] = a, e.t = this.t + s + 1, e.s = this.s, e.clamp()
  4664. }, s.prototype.rShiftTo = function(t, e) {
  4665. e.s = this.s;
  4666. var r = Math.floor(t / this.DB);
  4667. if (r >= this.t) e.t = 0;
  4668. else {
  4669. var n = t % this.DB,
  4670. i = this.DB - n,
  4671. o = (1 << n) - 1;
  4672. e[0] = this[r] >> n;
  4673. for (var s = r + 1; s < this.t; ++s) e[s - r - 1] |= (this[s] & o) << i, e[s - r] = this[s] >> n;
  4674. n > 0 && (e[this.t - r - 1] |= (this.s & o) << i), e.t = this.t - r, e.clamp()
  4675. }
  4676. }, s.prototype.subTo = function(t, e) {
  4677. for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i;) n += this[r] - t[r], e[r++] = n & this.DM, n >>= this.DB;
  4678. if (t.t < this.t) {
  4679. for (n -= t.s; r < this.t;) n += this[r], e[r++] = n & this.DM, n >>= this.DB;
  4680. n += this.s
  4681. } else {
  4682. for (n += this.s; r < t.t;) n -= t[r], e[r++] = n & this.DM, n >>= this.DB;
  4683. n -= t.s
  4684. }
  4685. e.s = n < 0 ? -1 : 0, n < -1 ? e[r++] = this.DV + n : n > 0 && (e[r++] = n), e.t = r, e.clamp()
  4686. }, s.prototype.multiplyTo = function(t, e) {
  4687. var r = this.abs(),
  4688. n = t.abs(),
  4689. i = r.t;
  4690. for (e.t = i + n.t; --i >= 0;) e[i] = 0;
  4691. for (i = 0; i < n.t; ++i) e[i + r.t] = r.am(0, n[i], e, i, 0, r.t);
  4692. e.s = 0, e.clamp(), this.s != t.s && s.ZERO.subTo(e, e)
  4693. }, s.prototype.squareTo = function(t) {
  4694. for (var e = this.abs(), r = t.t = 2 * e.t; --r >= 0;) t[r] = 0;
  4695. for (r = 0; r < e.t - 1; ++r) {
  4696. var n = e.am(r, e[r], t, 2 * r, 0, 1);
  4697. (t[r + e.t] += e.am(r + 1, 2 * e[r], t, 2 * r + 1, n, e.t - r - 1)) >= e.DV && (t[r + e.t] -= e.DV, t[r + e.t + 1] = 1)
  4698. }
  4699. t.t > 0 && (t[t.t - 1] += e.am(r, e[r], t, 2 * r, 0, 1)), t.s = 0, t.clamp()
  4700. }, s.prototype.divRemTo = function(t, e, r) {
  4701. var n = t.abs();
  4702. if (!(n.t <= 0)) {
  4703. var i = this.abs();
  4704. if (i.t < n.t) return null != e && e.fromInt(0), void(null != r && this.copyTo(r));
  4705. null == r && (r = a());
  4706. var o = a(),
  4707. f = this.s,
  4708. u = t.s,
  4709. c = this.DB - y(n[n.t - 1]);
  4710. c > 0 ? (n.lShiftTo(c, o), i.lShiftTo(c, r)) : (n.copyTo(o), i.copyTo(r));
  4711. var h = o.t,
  4712. p = o[h - 1];
  4713. if (0 !== p) {
  4714. var l = p * (1 << this.F1) + (h > 1 ? o[h - 2] >> this.F2 : 0),
  4715. g = this.FV / l,
  4716. d = (1 << this.F1) / l,
  4717. v = 1 << this.F2,
  4718. m = r.t,
  4719. S = m - h,
  4720. _ = null == e ? a() : e;
  4721. for (o.dlShiftTo(S, _), r.compareTo(_) >= 0 && (r[r.t++] = 1, r.subTo(_, r)), s.ONE.dlShiftTo(h, _), _.subTo(o, o); o.t < h;) o[o.t++] = 0;
  4722. for (; --S >= 0;) {
  4723. var b = r[--m] == p ? this.DM : Math.floor(r[m] * g + (r[m - 1] + v) * d);
  4724. if ((r[m] += o.am(0, b, r, S, 0, h)) < b) for (o.dlShiftTo(S, _), r.subTo(_, r); r[m] < --b;) r.subTo(_, r)
  4725. }
  4726. null != e && (r.drShiftTo(h, e), f != u && s.ZERO.subTo(e, e)), r.t = h, r.clamp(), c > 0 && r.rShiftTo(c, r), f < 0 && s.ZERO.subTo(r, r)
  4727. }
  4728. }
  4729. }, s.prototype.invDigit = function() {
  4730. if (this.t < 1) return 0;
  4731. var t = this[0];
  4732. if (!(1 & t)) return 0;
  4733. var e = 3 & t;
  4734. return (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) > 0 ? this.DV - e : -e
  4735. }, s.prototype.isEven = function() {
  4736. return 0 === (this.t > 0 ? 1 & this[0] : this.s)
  4737. }, s.prototype.exp = function(t, e) {
  4738. if (t > 4294967295 || t < 1) return s.ONE;
  4739. var r = a(),
  4740. n = a(),
  4741. i = e.convert(this),
  4742. o = y(t) - 1;
  4743. for (i.copyTo(r); --o >= 0;) if (e.sqrTo(r, n), (t & 1 << o) > 0) e.mulTo(n, i, r);
  4744. else {
  4745. var f = r;
  4746. r = n, n = f
  4747. }
  4748. return e.revert(r)
  4749. }, s.prototype.chunkSize = function(t) {
  4750. return Math.floor(Math.LN2 * this.DB / Math.log(t))
  4751. }, s.prototype.toRadix = function(t) {
  4752. if (null == t && (t = 10), 0 === this.signum() || t < 2 || t > 36) return "0";
  4753. var e = this.chunkSize(t),
  4754. r = Math.pow(t, e),
  4755. n = l(r),
  4756. i = a(),
  4757. o = a(),
  4758. s = "";
  4759. for (this.divRemTo(n, i, o); i.signum() > 0;) s = (r + o.intValue())
  4760. .toString(t)
  4761. .substr(1) + s, i.divRemTo(n, i, o);
  4762. return o.intValue()
  4763. .toString(t) + s
  4764. }, s.prototype.fromRadix = function(t, e) {
  4765. this.fromInt(0), null == e && (e = 10);
  4766. for (var r = this.chunkSize(e), n = Math.pow(e, r), i = !1, o = 0, a = 0, f = 0; f < t.length; ++f) {
  4767. var u = p(t, f);
  4768. u < 0 ? "-" == t.charAt(f) && 0 === this.signum() && (i = !0) : (a = e * a + u, ++o >= r && (this.dMultiply(n), this.dAddOffset(a, 0), o = 0, a = 0))
  4769. }
  4770. o > 0 && (this.dMultiply(Math.pow(e, o)), this.dAddOffset(a, 0)), i && s.ZERO.subTo(this, this)
  4771. }, s.prototype.fromNumber = function(t, e) {
  4772. if ("number" == typeof e) if (t < 2) this.fromInt(1);
  4773. else for (this.fromNumber(t), this.testBit(t - 1) || this.bitwiseTo(s.ONE.shiftLeft(t - 1), m, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(e);) this.dAddOffset(2, 0), this.bitLength() > t && this.subTo(s.ONE.shiftLeft(t - 1), this);
  4774. else {
  4775. var r = i.randomBytes(1 + (t >> 3)),
  4776. n = 7 & t;
  4777. n > 0 ? r[0] &= (1 << n) - 1 : r[0] = 0, this.fromByteArray(r)
  4778. }
  4779. }, s.prototype.bitwiseTo = function(t, e, r) {
  4780. var n, i, o = Math.min(t.t, this.t);
  4781. for (n = 0; n < o; ++n) r[n] = e(this[n], t[n]);
  4782. if (t.t < this.t) {
  4783. for (i = t.s & this.DM, n = o; n < this.t; ++n) r[n] = e(this[n], i);
  4784. r.t = this.t
  4785. } else {
  4786. for (i = this.s & this.DM, n = o; n < t.t; ++n) r[n] = e(i, t[n]);
  4787. r.t = t.t
  4788. }
  4789. r.s = e(this.s, t.s), r.clamp()
  4790. }, s.prototype.changeBit = function(t, e) {
  4791. var r = s.ONE.shiftLeft(t);
  4792. return this.bitwiseTo(r, e, r), r
  4793. }, s.prototype.addTo = function(t, e) {
  4794. for (var r = 0, n = 0, i = Math.min(t.t, this.t); r < i;) n += this[r] + t[r], e[r++] = n & this.DM, n >>= this.DB;
  4795. if (t.t < this.t) {
  4796. for (n += t.s; r < this.t;) n += this[r], e[r++] = n & this.DM, n >>= this.DB;
  4797. n += this.s
  4798. } else {
  4799. for (n += this.s; r < t.t;) n += t[r], e[r++] = n & this.DM, n >>= this.DB;
  4800. n += t.s
  4801. }
  4802. e.s = n < 0 ? -1 : 0, n > 0 ? e[r++] = n : n < -1 && (e[r++] = this.DV + n), e.t = r, e.clamp()
  4803. }, s.prototype.dMultiply = function(t) {
  4804. this[this.t] = this.am(0, t - 1, this, 0, 0, this.t), ++this.t, this.clamp()
  4805. }, s.prototype.dAddOffset = function(t, e) {
  4806. if (0 !== t) {
  4807. for (; this.t <= e;) this[this.t++] = 0;
  4808. for (this[e] += t; this[e] >= this.DV;) this[e] -= this.DV, ++e >= this.t && (this[this.t++] = 0), ++this[e]
  4809. }
  4810. }, s.prototype.multiplyLowerTo = function(t, e, r) {
  4811. var n, i = Math.min(this.t + t.t, e);
  4812. for (r.s = 0, r.t = i; i > 0;) r[--i] = 0;
  4813. for (n = r.t - this.t; i < n; ++i) r[i + this.t] = this.am(0, t[i], r, i, 0, this.t);
  4814. for (n = Math.min(t.t, e); i < n; ++i) this.am(0, t[i], r, i, 0, e - i);
  4815. r.clamp()
  4816. }, s.prototype.multiplyUpperTo = function(t, e, r) {
  4817. --e;
  4818. var n = r.t = this.t + t.t - e;
  4819. for (r.s = 0; --n >= 0;) r[n] = 0;
  4820. for (n = Math.max(e - this.t, 0); n < t.t; ++n) r[this.t + n - e] = this.am(e - n, t[n], r, 0, 0, this.t + n - e);
  4821. r.clamp(), r.drShiftTo(1, r)
  4822. }, s.prototype.modInt = function(t) {
  4823. if (t <= 0) return 0;
  4824. var e = this.DV % t,
  4825. r = this.s < 0 ? t - 1 : 0;
  4826. if (this.t > 0) if (0 === e) r = this[0] % t;
  4827. else for (var n = this.t - 1; n >= 0; --n) r = (e * r + this[n]) % t;
  4828. return r
  4829. }, s.prototype.millerRabin = function(t) {
  4830. var e = this.subtract(s.ONE),
  4831. r = e.getLowestSetBit();
  4832. if (r <= 0) return !1;
  4833. var n = e.shiftRight(r);
  4834. (t = t + 1 >> 1) > A.length && (t = A.length);
  4835. for (var i = a(), o = 0; o < t; ++o) {
  4836. i.fromInt(A[Math.floor(Math.random() * A.length)]);
  4837. var f = i.modPow(n, this);
  4838. if (0 != f.compareTo(s.ONE) && 0 != f.compareTo(e)) {
  4839. for (var u = 1; u++ < r && 0 != f.compareTo(e);) if (0 === (f = f.modPowInt(2, this))
  4840. .compareTo(s.ONE)) return !1;
  4841. if (0 != f.compareTo(e)) return !1
  4842. }
  4843. }
  4844. return !0
  4845. }, s.prototype.toString = function(t) {
  4846. if (this.s < 0) return "-" + this.negate()
  4847. .toString(t);
  4848. var e;
  4849. if (16 == t) e = 4;
  4850. else if (8 == t) e = 3;
  4851. else if (2 == t) e = 1;
  4852. else if (32 == t) e = 5;
  4853. else {
  4854. if (4 != t) return this.toRadix(t);
  4855. e = 2
  4856. }
  4857. var r, n = (1 << e) - 1,
  4858. i = !1,
  4859. o = "",
  4860. s = this.t,
  4861. a = this.DB - s * this.DB % e;
  4862. if (s-- > 0) for (a < this.DB && (r = this[s] >> a) > 0 && (i = !0, o = h(r)); s >= 0;) a < e ? (r = (this[s] & (1 << a) - 1) << e - a, r |= this[--s] >> (a += this.DB - e)) : (r = this[s] >> (a -= e) & n, a <= 0 && (a += this.DB, --s)), r > 0 && (i = !0), i && (o += h(r));
  4863. return i ? o : "0"
  4864. }, s.prototype.negate = function() {
  4865. var t = a();
  4866. return s.ZERO.subTo(this, t), t
  4867. }, s.prototype.abs = function() {
  4868. return this.s < 0 ? this.negate() : this
  4869. }, s.prototype.compareTo = function(t) {
  4870. var e = this.s - t.s;
  4871. if (0 != e) return e;
  4872. var r = this.t;
  4873. if (0 != (e = r - t.t)) return this.s < 0 ? -e : e;
  4874. for (; --r >= 0;) if (0 != (e = this[r] - t[r])) return e;
  4875. return 0
  4876. }, s.prototype.bitLength = function() {
  4877. return this.t <= 0 ? 0 : this.DB * (this.t - 1) + y(this[this.t - 1] ^ this.s & this.DM)
  4878. }, s.prototype.mod = function(t) {
  4879. var e = a();
  4880. return this.abs()
  4881. .divRemTo(t, null, e), this.s < 0 && e.compareTo(s.ZERO) > 0 && t.subTo(e, e), e
  4882. }, s.prototype.modPowInt = function(t, e) {
  4883. var r;
  4884. return r = t < 256 || e.isEven() ? new g(e) : new d(e), this.exp(t, r)
  4885. }, s.prototype.clone = function() {
  4886. var t = a();
  4887. return this.copyTo(t), t
  4888. }, s.prototype.intValue = function() {
  4889. if (this.s < 0) {
  4890. if (1 == this.t) return this[0] - this.DV;
  4891. if (0 === this.t) return -1
  4892. } else {
  4893. if (1 == this.t) return this[0];
  4894. if (0 === this.t) return 0
  4895. }
  4896. return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0]
  4897. }, s.prototype.byteValue = function() {
  4898. return 0 == this.t ? this.s : this[0] << 24 >> 24
  4899. }, s.prototype.shortValue = function() {
  4900. return 0 == this.t ? this.s : this[0] << 16 >> 16
  4901. }, s.prototype.signum = function() {
  4902. return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1
  4903. }, s.prototype.toByteArray = function() {
  4904. var t = this.t,
  4905. e = new Array;
  4906. e[0] = this.s;
  4907. var r, n = this.DB - t * this.DB % 8,
  4908. i = 0;
  4909. if (t-- > 0) for (n < this.DB && (r = this[t] >> n) != (this.s & this.DM) >> n && (e[i++] = r | this.s << this.DB - n); t >= 0;) n < 8 ? (r = (this[t] & (1 << n) - 1) << 8 - n, r |= this[--t] >> (n += this.DB - 8)) : (r = this[t] >> (n -= 8) & 255, n <= 0 && (n += this.DB, --t)), 128 & r && (r |= -256), 0 === i && (128 & this.s) != (128 & r) && ++i, (i > 0 || r != this.s) && (e[i++] = r);
  4910. return e
  4911. }, s.prototype.toBuffer = function(t) {
  4912. var e = n.from(this.toByteArray());
  4913. if (!0 === t && 0 === e[0]) e = e.slice(1);
  4914. else if (o.isNumber(t)) {
  4915. if (e.length > t) {
  4916. for (var r = 0; r < e.length - t; r++) if (0 !== e[r]) return null;
  4917. return e.slice(e.length - t)
  4918. }
  4919. if (e.length < t) {
  4920. var i = n.alloc(t);
  4921. return i.fill(0, 0, t - e.length), e.copy(i, t - e.length), i
  4922. }
  4923. }
  4924. return e
  4925. }, s.prototype.equals = function(t) {
  4926. return 0 == this.compareTo(t)
  4927. }, s.prototype.min = function(t) {
  4928. return this.compareTo(t) < 0 ? this : t
  4929. }, s.prototype.max = function(t) {
  4930. return this.compareTo(t) > 0 ? this : t
  4931. }, s.prototype.and = function(t) {
  4932. var e = a();
  4933. return this.bitwiseTo(t, v, e), e
  4934. }, s.prototype.or = function(t) {
  4935. var e = a();
  4936. return this.bitwiseTo(t, m, e), e
  4937. }, s.prototype.xor = function(t) {
  4938. var e = a();
  4939. return this.bitwiseTo(t, S, e), e
  4940. }, s.prototype.andNot = function(t) {
  4941. var e = a();
  4942. return this.bitwiseTo(t, _, e), e
  4943. }, s.prototype.not = function() {
  4944. for (var t = a(), e = 0; e < this.t; ++e) t[e] = this.DM & ~this[e];
  4945. return t.t = this.t, t.s = ~this.s, t
  4946. }, s.prototype.shiftLeft = function(t) {
  4947. var e = a();
  4948. return t < 0 ? this.rShiftTo(-t, e) : this.lShiftTo(t, e), e
  4949. }, s.prototype.shiftRight = function(t) {
  4950. var e = a();
  4951. return t < 0 ? this.lShiftTo(-t, e) : this.rShiftTo(t, e), e
  4952. }, s.prototype.getLowestSetBit = function() {
  4953. for (var t = 0; t < this.t; ++t) if (0 != this[t]) return t * this.DB + b(this[t]);
  4954. return this.s < 0 ? this.t * this.DB : -1
  4955. }, s.prototype.bitCount = function() {
  4956. for (var t = 0, e = this.s & this.DM, r = 0; r < this.t; ++r) t += E(this[r] ^ e);
  4957. return t
  4958. }, s.prototype.testBit = function(t) {
  4959. var e = Math.floor(t / this.DB);
  4960. return e >= this.t ? 0 != this.s : !! (this[e] & 1 << t % this.DB)
  4961. }, s.prototype.setBit = function(t) {
  4962. return this.changeBit(t, m)
  4963. }, s.prototype.clearBit = function(t) {
  4964. return this.changeBit(t, _)
  4965. }, s.prototype.flipBit = function(t) {
  4966. return this.changeBit(t, S)
  4967. }, s.prototype.add = function(t) {
  4968. var e = a();
  4969. return this.addTo(t, e), e
  4970. }, s.prototype.subtract = function(t) {
  4971. var e = a();
  4972. return this.subTo(t, e), e
  4973. }, s.prototype.multiply = function(t) {
  4974. var e = a();
  4975. return this.multiplyTo(t, e), e
  4976. }, s.prototype.divide = function(t) {
  4977. var e = a();
  4978. return this.divRemTo(t, e, null), e
  4979. }, s.prototype.remainder = function(t) {
  4980. var e = a();
  4981. return this.divRemTo(t, null, e), e
  4982. }, s.prototype.divideAndRemainder = function(t) {
  4983. var e = a(),
  4984. r = a();
  4985. return this.divRemTo(t, e, r), new Array(e, r)
  4986. }, s.prototype.modPow = function(t, e) {
  4987. var r, n, i = t.bitLength(),
  4988. o = l(1);
  4989. if (i <= 0) return o;
  4990. r = i < 18 ? 1 : i < 48 ? 3 : i < 144 ? 4 : i < 768 ? 5 : 6, n = i < 8 ? new g(e) : e.isEven() ? new B(e) : new d(e);
  4991. var s = new Array,
  4992. f = 3,
  4993. u = r - 1,
  4994. c = (1 << r) - 1;
  4995. if (s[1] = n.convert(this), r > 1) {
  4996. var h = a();
  4997. for (n.sqrTo(s[1], h); f <= c;) s[f] = a(), n.mulTo(h, s[f - 2], s[f]), f += 2
  4998. }
  4999. var p, v, m = t.t - 1,
  5000. S = !0,
  5001. _ = a();
  5002. for (i = y(t[m]) - 1; m >= 0;) {
  5003. for (i >= u ? p = t[m] >> i - u & c : (p = (t[m] & (1 << i + 1) - 1) << u - i, m > 0 && (p |= t[m - 1] >> this.DB + i - u)), f = r; !(1 & p);) p >>= 1, --f;
  5004. if ((i -= f) < 0 && (i += this.DB, --m), S) s[p].copyTo(o), S = !1;
  5005. else {
  5006. for (; f > 1;) n.sqrTo(o, _), n.sqrTo(_, o), f -= 2;
  5007. f > 0 ? n.sqrTo(o, _) : (v = o, o = _, _ = v), n.mulTo(_, s[p], o)
  5008. }
  5009. for (; m >= 0 && !(t[m] & 1 << i);) n.sqrTo(o, _), v = o, o = _, _ = v, --i < 0 && (i = this.DB - 1, --m)
  5010. }
  5011. return n.revert(o)
  5012. }, s.prototype.modInverse = function(t) {
  5013. var e = t.isEven();
  5014. if (this.isEven() && e || 0 === t.signum()) return s.ZERO;
  5015. for (var r = t.clone(), n = this.clone(), i = l(1), o = l(0), a = l(0), f = l(1); 0 != r.signum();) {
  5016. for (; r.isEven();) r.rShiftTo(1, r), e ? (i.isEven() && o.isEven() || (i.addTo(this, i), o.subTo(t, o)), i.rShiftTo(1, i)) : o.isEven() || o.subTo(t, o), o.rShiftTo(1, o);
  5017. for (; n.isEven();) n.rShiftTo(1, n), e ? (a.isEven() && f.isEven() || (a.addTo(this, a), f.subTo(t, f)), a.rShiftTo(1, a)) : f.isEven() || f.subTo(t, f), f.rShiftTo(1, f);
  5018. r.compareTo(n) >= 0 ? (r.subTo(n, r), e && i.subTo(a, i), o.subTo(f, o)) : (n.subTo(r, n), e && a.subTo(i, a), f.subTo(o, f))
  5019. }
  5020. return 0 != n.compareTo(s.ONE) ? s.ZERO : f.compareTo(t) >= 0 ? f.subtract(t) : f.signum() < 0 ? (f.addTo(t, f), f.signum() < 0 ? f.add(t) : f) : f
  5021. }, s.prototype.pow = function(t) {
  5022. return this.exp(t, new w)
  5023. }, s.prototype.gcd = function(t) {
  5024. var e = this.s < 0 ? this.negate() : this.clone(),
  5025. r = t.s < 0 ? t.negate() : t.clone();
  5026. if (e.compareTo(r) < 0) {
  5027. var n = e;
  5028. e = r, r = n
  5029. }
  5030. var i = e.getLowestSetBit(),
  5031. o = r.getLowestSetBit();
  5032. if (o < 0) return e;
  5033. for (i < o && (o = i), o > 0 && (e.rShiftTo(o, e), r.rShiftTo(o, r)); e.signum() > 0;)(i = e.getLowestSetBit()) > 0 && e.rShiftTo(i, e), (i = r.getLowestSetBit()) > 0 && r.rShiftTo(i, r), e.compareTo(r) >= 0 ? (e.subTo(r, e), e.rShiftTo(1, e)) : (r.subTo(e, r), r.rShiftTo(1, r));
  5034. return o > 0 && r.lShiftTo(o, r), r
  5035. }, s.prototype.isProbablePrime = function(t) {
  5036. var e, r = this.abs();
  5037. if (1 == r.t && r[0] <= A[A.length - 1]) {
  5038. for (e = 0; e < A.length; ++e) if (r[0] == A[e]) return !0;
  5039. return !1
  5040. }
  5041. if (r.isEven()) return !1;
  5042. for (e = 1; e < A.length;) {
  5043. for (var n = A[e], i = e + 1; i < A.length && n < x;) n *= A[i++];
  5044. for (n = r.modInt(n); e < i;) if (n % A[e++] == 0) return !1
  5045. }
  5046. return r.millerRabin(t)
  5047. }, s.int2char = h, s.ZERO = l(0), s.ONE = l(1), s.prototype.square = function() {
  5048. var t = a();
  5049. return this.squareTo(t), t
  5050. }, t.exports = s
  5051. },
  5052. 5682: (t, e, r) => {
  5053. var n = r(8287)
  5054. .Buffer,
  5055. i = r(8226)
  5056. ._,
  5057. o = (r(3200), r(1973)),
  5058. s = r(8226),
  5059. a = r(1768),
  5060. f = r(4538);
  5061. e.BigInteger = o, t.exports.Key = function() {
  5062. function t() {
  5063. this.n = null, this.e = 0, this.d = null, this.p = null, this.q = null, this.dmp1 = null, this.dmq1 = null, this.coeff = null
  5064. }
  5065. return t.prototype.setOptions = function(t) {
  5066. var e = a[t.signingScheme],
  5067. r = a[t.encryptionScheme];
  5068. e === r ? this.signingScheme = this.encryptionScheme = r.makeScheme(this, t) : (this.encryptionScheme = r.makeScheme(this, t), this.signingScheme = e.makeScheme(this, t)), this.encryptEngine = f.getEngine(this, t)
  5069. }, t.prototype.generate = function(t, e) {
  5070. var r = t >> 1;
  5071. this.e = parseInt(e, 16);
  5072. for (var n = new o(e, 16);;) {
  5073. for (; this.p = new o(t - r, 1), 0 !== this.p.subtract(o.ONE)
  5074. .gcd(n)
  5075. .compareTo(o.ONE) || !this.p.isProbablePrime(10););
  5076. for (; this.q = new o(r, 1), 0 !== this.q.subtract(o.ONE)
  5077. .gcd(n)
  5078. .compareTo(o.ONE) || !this.q.isProbablePrime(10););
  5079. if (this.p.compareTo(this.q) <= 0) {
  5080. var i = this.p;
  5081. this.p = this.q, this.q = i
  5082. }
  5083. var s = this.p.subtract(o.ONE),
  5084. a = this.q.subtract(o.ONE),
  5085. f = s.multiply(a);
  5086. if (0 === f.gcd(n)
  5087. .compareTo(o.ONE)) {
  5088. if (this.n = this.p.multiply(this.q), this.n.bitLength() < t) continue;
  5089. this.d = n.modInverse(f), this.dmp1 = this.d.mod(s), this.dmq1 = this.d.mod(a), this.coeff = this.q.modInverse(this.p);
  5090. break
  5091. }
  5092. }
  5093. this.$$recalculateCache()
  5094. }, t.prototype.setPrivate = function(t, e, r, n, a, f, u, c) {
  5095. if (!(t && e && r && t.length > 0 && (i.isNumber(e) || e.length > 0) && r.length > 0)) throw Error("Invalid RSA private key");
  5096. this.n = new o(t), this.e = i.isNumber(e) ? e : s.get32IntFromBuffer(e, 0), this.d = new o(r), n && a && f && u && c && (this.p = new o(n), this.q = new o(a), this.dmp1 = new o(f), this.dmq1 = new o(u), this.coeff = new o(c)), this.$$recalculateCache()
  5097. }, t.prototype.setPublic = function(t, e) {
  5098. if (!(t && e && t.length > 0 && (i.isNumber(e) || e.length > 0))) throw Error("Invalid RSA public key");
  5099. this.n = new o(t), this.e = i.isNumber(e) ? e : s.get32IntFromBuffer(e, 0), this.$$recalculateCache()
  5100. }, t.prototype.$doPrivate = function(t) {
  5101. if (this.p || this.q) return t.modPow(this.d, this.n);
  5102. for (var e = t.mod(this.p)
  5103. .modPow(this.dmp1, this.p), r = t.mod(this.q)
  5104. .modPow(this.dmq1, this.q); e.compareTo(r) < 0;) e = e.add(this.p);
  5105. return e.subtract(r)
  5106. .multiply(this.coeff)
  5107. .mod(this.p)
  5108. .multiply(this.q)
  5109. .add(r)
  5110. }, t.prototype.$doPublic = function(t) {
  5111. return t.modPowInt(this.e, this.n)
  5112. }, t.prototype.encrypt = function(t, e) {
  5113. var r = [],
  5114. i = [],
  5115. o = t.length,
  5116. s = Math.ceil(o / this.maxMessageLength) || 1,
  5117. a = Math.ceil(o / s || 1);
  5118. if (1 == s) r.push(t);
  5119. else for (var f = 0; f < s; f++) r.push(t.slice(f * a, (f + 1) * a));
  5120. for (var u = 0; u < r.length; u++) i.push(this.encryptEngine.encrypt(r[u], e));
  5121. return n.concat(i)
  5122. }, t.prototype.decrypt = function(t, e) {
  5123. if (t.length % this.encryptedDataLength > 0) throw Error("Incorrect data or key");
  5124. for (var r = [], i = 0, o = 0, s = t.length / this.encryptedDataLength, a = 0; a < s; a++) o = (i = a * this.encryptedDataLength) + this.encryptedDataLength, r.push(this.encryptEngine.decrypt(t.slice(i, Math.min(o, t.length)), e));
  5125. return n.concat(r)
  5126. }, t.prototype.sign = function(t) {
  5127. return this.signingScheme.sign.apply(this.signingScheme, arguments)
  5128. }, t.prototype.verify = function(t, e, r) {
  5129. return this.signingScheme.verify.apply(this.signingScheme, arguments)
  5130. }, t.prototype.isPrivate = function() {
  5131. return !!(this.n && this.e && this.d)
  5132. }, t.prototype.isPublic = function(t) {
  5133. return this.n && this.e && !(t && this.d) || !1
  5134. }, Object.defineProperty(t.prototype, "keySize", {
  5135. get: function() {
  5136. return this.cache.keyBitLength
  5137. }
  5138. }), Object.defineProperty(t.prototype, "encryptedDataLength", {
  5139. get: function() {
  5140. return this.cache.keyByteLength
  5141. }
  5142. }), Object.defineProperty(t.prototype, "maxMessageLength", {
  5143. get: function() {
  5144. return this.encryptionScheme.maxMessageLength()
  5145. }
  5146. }), t.prototype.$$recalculateCache = function() {
  5147. this.cache = this.cache || {}, this.cache.keyBitLength = this.n.bitLength(), this.cache.keyByteLength = this.cache.keyBitLength + 6 >> 3
  5148. }, t
  5149. }()
  5150. },
  5151. 2487: (t, e, r) => {
  5152. var n = r(8287)
  5153. .Buffer,
  5154. i = (r(1973), r(3200));
  5155. t.exports = {
  5156. isEncryption: !0,
  5157. isSignature: !1
  5158. }, t.exports.digestLength = {
  5159. md4: 16,
  5160. md5: 16,
  5161. ripemd160: 20,
  5162. rmd160: 20,
  5163. sha1: 20,
  5164. sha224: 28,
  5165. sha256: 32,
  5166. sha384: 48,
  5167. sha512: 64
  5168. };
  5169. var o = "sha1";
  5170. t.exports.eme_oaep_mgf1 = function(e, r, s) {
  5171. s = s || o;
  5172. for (var a = t.exports.digestLength[s], f = Math.ceil(r / a), u = n.alloc(a * f), c = n.alloc(4), h = 0; h < f; ++h) {
  5173. var p = i.createHash(s);
  5174. p.update(e), c.writeUInt32BE(h, 0), p.update(c), p.digest()
  5175. .copy(u, h * a)
  5176. }
  5177. return u.slice(0, r)
  5178. }, t.exports.makeScheme = function(e, r) {
  5179. function s(t, e) {
  5180. this.key = t, this.options = e
  5181. }
  5182. return s.prototype.maxMessageLength = function() {
  5183. return this.key.encryptedDataLength - 2 * t.exports.digestLength[this.options.encryptionSchemeOptions.hash || o] - 2
  5184. }, s.prototype.encPad = function(e) {
  5185. var r = this.options.encryptionSchemeOptions.hash || o,
  5186. s = this.options.encryptionSchemeOptions.mgf || t.exports.eme_oaep_mgf1,
  5187. a = this.options.encryptionSchemeOptions.label || n.alloc(0),
  5188. f = this.key.encryptedDataLength,
  5189. u = t.exports.digestLength[r];
  5190. if (e.length > f - 2 * u - 2) throw new Error("Message is too long to encode into an encoded message with a length of " + f + " bytes, increaseemLen to fix this error (minimum value for given parameters and options: " + (f - 2 * u - 2) + ")");
  5191. var c = i.createHash(r);
  5192. c.update(a), c = c.digest();
  5193. var h = n.alloc(f - e.length - 2 * u - 1);
  5194. h.fill(0), h[h.length - 1] = 1;
  5195. for (var p = n.concat([c, h, e]), l = i.randomBytes(u), y = s(l, p.length, r), g = 0; g < p.length; g++) p[g] ^= y[g];
  5196. for (y = s(p, u, r), g = 0; g < l.length; g++) l[g] ^= y[g];
  5197. var d = n.alloc(1 + l.length + p.length);
  5198. return d[0] = 0, l.copy(d, 1), p.copy(d, 1 + l.length), d
  5199. }, s.prototype.encUnPad = function(e) {
  5200. var r = this.options.encryptionSchemeOptions.hash || o,
  5201. s = this.options.encryptionSchemeOptions.mgf || t.exports.eme_oaep_mgf1,
  5202. a = this.options.encryptionSchemeOptions.label || n.alloc(0),
  5203. f = t.exports.digestLength[r];
  5204. if (e.length < 2 * f + 2) throw new Error("Error decoding message, the supplied message is not long enough to be a valid OAEP encoded message");
  5205. for (var u = e.slice(1, f + 1), c = e.slice(1 + f), h = s(c, f, r), p = 0; p < u.length; p++) u[p] ^= h[p];
  5206. for (h = s(u, c.length, r), p = 0; p < c.length; p++) c[p] ^= h[p];
  5207. var l = i.createHash(r);
  5208. if (l.update(a), l = l.digest(), c.slice(0, f)
  5209. .toString("hex") != l.toString("hex")) throw new Error("Error decoding message, the lHash calculated from the label provided and the lHash in the encrypted data do not match.");
  5210. for (p = f; 0 === c[p++] && p < c.length;);
  5211. if (1 != c[p - 1]) throw new Error("Error decoding message, there is no padding message separator byte");
  5212. return c.slice(p)
  5213. }, new s(e, r)
  5214. }
  5215. },
  5216. 8290: (t, e, r) => {
  5217. var n = r(8287)
  5218. .Buffer,
  5219. i = r(1973),
  5220. o = r(3200),
  5221. s = r(7449),
  5222. a = {
  5223. md2: n.from("3020300c06082a864886f70d020205000410", "hex"),
  5224. md5: n.from("3020300c06082a864886f70d020505000410", "hex"),
  5225. sha1: n.from("3021300906052b0e03021a05000414", "hex"),
  5226. sha224: n.from("302d300d06096086480165030402040500041c", "hex"),
  5227. sha256: n.from("3031300d060960864801650304020105000420", "hex"),
  5228. sha384: n.from("3041300d060960864801650304020205000430", "hex"),
  5229. sha512: n.from("3051300d060960864801650304020305000440", "hex"),
  5230. ripemd160: n.from("3021300906052b2403020105000414", "hex"),
  5231. rmd160: n.from("3021300906052b2403020105000414", "hex")
  5232. }, f = {
  5233. ripemd160: "rmd160"
  5234. }, u = "sha256";
  5235. t.exports = {
  5236. isEncryption: !0,
  5237. isSignature: !0
  5238. }, t.exports.makeScheme = function(t, e) {
  5239. function r(t, e) {
  5240. this.key = t, this.options = e
  5241. }
  5242. return r.prototype.maxMessageLength = function() {
  5243. return this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING ? this.key.encryptedDataLength : this.key.encryptedDataLength - 11
  5244. }, r.prototype.encPad = function(t, e) {
  5245. var r;
  5246. if (e = e || {}, t.length > this.key.maxMessageLength) throw new Error("Message too long for RSA (n=" + this.key.encryptedDataLength + ", l=" + t.length + ")");
  5247. if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return (r = n.alloc(this.key.maxMessageLength - t.length))
  5248. .fill(0), n.concat([r, t]);
  5249. if (1 === e.type) return (r = n.alloc(this.key.encryptedDataLength - t.length - 1))
  5250. .fill(255, 0, r.length - 1), r[0] = 1, r[r.length - 1] = 0, n.concat([r, t]);
  5251. (r = n.alloc(this.key.encryptedDataLength - t.length))[0] = 0, r[1] = 2;
  5252. for (var i = o.randomBytes(r.length - 3), a = 0; a < i.length; a++) {
  5253. for (var f = i[a]; 0 === f;) f = o.randomBytes(1)[0];
  5254. r[a + 2] = f
  5255. }
  5256. return r[r.length - 1] = 0, n.concat([r, t])
  5257. }, r.prototype.encUnPad = function(t, e) {
  5258. e = e || {};
  5259. var r = 0;
  5260. if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return "function" == typeof t.lastIndexOf ? t.slice(t.lastIndexOf("\0") + 1, t.length) : t.slice(String.prototype.lastIndexOf.call(t, "\0") + 1, t.length);
  5261. if (t.length < 4) return null;
  5262. if (1 === e.type) {
  5263. if (0 !== t[0] || 1 !== t[1]) return null;
  5264. for (r = 3; 0 !== t[r];) if (255 != t[r] || ++r >= t.length) return null
  5265. } else {
  5266. if (0 !== t[0] || 2 !== t[1]) return null;
  5267. for (r = 3; 0 !== t[r];) if (++r >= t.length) return null
  5268. }
  5269. return t.slice(r + 1, t.length)
  5270. }, r.prototype.sign = function(t) {
  5271. var e = this.options.signingSchemeOptions.hash || u;
  5272. if ("browser" === this.options.environment) {
  5273. e = f[e] || e;
  5274. var r = o.createHash(e);
  5275. r.update(t);
  5276. var n = this.pkcs1pad(r.digest(), e);
  5277. return this.key.$doPrivate(new i(n))
  5278. .toBuffer(this.key.encryptedDataLength)
  5279. }
  5280. var s = o.createSign("RSA-" + e.toUpperCase());
  5281. return s.update(t), s.sign(this.options.rsaUtils.exportKey("private"))
  5282. }, r.prototype.verify = function(t, e, r) {
  5283. if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == s.RSA_NO_PADDING) return !1;
  5284. var a = this.options.signingSchemeOptions.hash || u;
  5285. if ("browser" === this.options.environment) {
  5286. a = f[a] || a, r && (e = n.from(e, r));
  5287. var c = o.createHash(a);
  5288. c.update(t);
  5289. var h = this.pkcs1pad(c.digest(), a);
  5290. return this.key.$doPublic(new i(e))
  5291. .toBuffer()
  5292. .toString("hex") == h.toString("hex")
  5293. }
  5294. var p = o.createVerify("RSA-" + a.toUpperCase());
  5295. return p.update(t), p.verify(this.options.rsaUtils.exportKey("public"), e, r)
  5296. }, r.prototype.pkcs0pad = function(t) {
  5297. var e = n.alloc(this.key.maxMessageLength - t.length);
  5298. return e.fill(0), n.concat([e, t])
  5299. }, r.prototype.pkcs0unpad = function(t) {
  5300. return "function" == typeof t.lastIndexOf ? t.slice(t.lastIndexOf("\0") + 1, t.length) : t.slice(String.prototype.lastIndexOf.call(t, "\0") + 1, t.length)
  5301. }, r.prototype.pkcs1pad = function(t, e) {
  5302. var r = a[e];
  5303. if (!r) throw Error("Unsupported hash algorithm");
  5304. var i = n.concat([r, t]);
  5305. if (i.length + 10 > this.key.encryptedDataLength) throw Error("Key is too short for signing algorithm (" + e + ")");
  5306. var o = n.alloc(this.key.encryptedDataLength - i.length - 1);
  5307. return o.fill(255, 0, o.length - 1), o[0] = 1, o[o.length - 1] = 0, n.concat([o, i])
  5308. }, new r(t, e)
  5309. }
  5310. },
  5311. 4414: (t, e, r) => {
  5312. var n = r(8287)
  5313. .Buffer,
  5314. i = r(1973),
  5315. o = r(3200);
  5316. t.exports = {
  5317. isEncryption: !1,
  5318. isSignature: !0
  5319. };
  5320. var s = "sha1";
  5321. t.exports.makeScheme = function(t, e) {
  5322. var a = r(1768)
  5323. .pkcs1_oaep;
  5324. function f(t, e) {
  5325. this.key = t, this.options = e
  5326. }
  5327. return f.prototype.sign = function(t) {
  5328. var e = o.createHash(this.options.signingSchemeOptions.hash || s);
  5329. e.update(t);
  5330. var r = this.emsa_pss_encode(e.digest(), this.key.keySize - 1);
  5331. return this.key.$doPrivate(new i(r))
  5332. .toBuffer(this.key.encryptedDataLength)
  5333. }, f.prototype.verify = function(t, e, r) {
  5334. r && (e = n.from(e, r)), e = new i(e);
  5335. var a = Math.ceil((this.key.keySize - 1) / 8),
  5336. f = this.key.$doPublic(e)
  5337. .toBuffer(a),
  5338. u = o.createHash(this.options.signingSchemeOptions.hash || s);
  5339. return u.update(t), this.emsa_pss_verify(u.digest(), f, this.key.keySize - 1)
  5340. }, f.prototype.emsa_pss_encode = function(t, e) {
  5341. var r = this.options.signingSchemeOptions.hash || s,
  5342. i = this.options.signingSchemeOptions.mgf || a.eme_oaep_mgf1,
  5343. f = this.options.signingSchemeOptions.saltLength || 20,
  5344. u = a.digestLength[r],
  5345. c = Math.ceil(e / 8);
  5346. if (c < u + f + 2) throw new Error("Output length passed to emBits(" + e + ") is too small for the options specified(" + r + ", " + f + "). To fix this issue increase the value of emBits. (minimum size: " + (8 * u + 8 * f + 9) + ")");
  5347. var h = o.randomBytes(f),
  5348. p = n.alloc(8 + u + f);
  5349. p.fill(0, 0, 8), t.copy(p, 8), h.copy(p, 8 + t.length);
  5350. var l = o.createHash(r);
  5351. l.update(p), l = l.digest();
  5352. var y = n.alloc(c - h.length - u - 2);
  5353. y.fill(0);
  5354. var g = n.alloc(y.length + 1 + h.length);
  5355. y.copy(g), g[y.length] = 1, h.copy(g, y.length + 1);
  5356. for (var d = i(l, g.length, r), v = n.alloc(g.length), m = 0; m < d.length; m++) v[m] = g[m] ^ d[m];
  5357. var S = 8 * c - e,
  5358. _ = 255 ^ 255 >> 8 - S << 8 - S;
  5359. v[0] = v[0] & _;
  5360. var b = n.alloc(v.length + l.length + 1);
  5361. return v.copy(b, 0), l.copy(b, v.length), b[b.length - 1] = 188, b
  5362. }, f.prototype.emsa_pss_verify = function(t, e, r) {
  5363. var i = this.options.signingSchemeOptions.hash || s,
  5364. f = this.options.signingSchemeOptions.mgf || a.eme_oaep_mgf1,
  5365. u = this.options.signingSchemeOptions.saltLength || 20,
  5366. c = a.digestLength[i],
  5367. h = Math.ceil(r / 8);
  5368. if (h < c + u + 2 || 188 != e[e.length - 1]) return !1;
  5369. var p = n.alloc(h - c - 1);
  5370. e.copy(p, 0, 0, h - c - 1);
  5371. for (var l = 0, y = 0, g = 8 * h - r; y < g; y++) l |= 1 << 7 - y;
  5372. if (p[0] & l) return !1;
  5373. var d = e.slice(h - c - 1, h - 1),
  5374. v = f(d, p.length, i);
  5375. for (y = 0; y < p.length; y++) p[y] ^= v[y];
  5376. for (l = 255 ^ 255 >> 8 - (g = 8 * h - r) << 8 - g, p[0] = p[0] & l, y = 0; 0 === p[y] && y < p.length; y++);
  5377. if (1 != p[y]) return !1;
  5378. var m = p.slice(p.length - u),
  5379. S = n.alloc(8 + c + u);
  5380. S.fill(0, 0, 8), t.copy(S, 8), m.copy(S, 8 + t.length);
  5381. var _ = o.createHash(i);
  5382. return _.update(S), _ = _.digest(), d.toString("hex") === _.toString("hex")
  5383. }, new f(t, e)
  5384. }
  5385. },
  5386. 1768: (t, e, r) => {
  5387. t.exports = {
  5388. pkcs1: r(8290),
  5389. pkcs1_oaep: r(2487),
  5390. pss: r(4414),
  5391. isEncryption: function(e) {
  5392. return t.exports[e] && t.exports[e].isEncryption
  5393. },
  5394. isSignature: function(e) {
  5395. return t.exports[e] && t.exports[e].isSignature
  5396. }
  5397. }
  5398. },
  5399. 8226: (t, e, r) => {
  5400. var n = r(5606);
  5401. r(3200), t.exports.linebrk = function(t, e) {
  5402. for (var r = "", n = 0; n + e < t.length;) r += t.substring(n, n + e) + "\n", n += e;
  5403. return r + t.substring(n, t.length)
  5404. }, t.exports.detectEnvironment = function() {
  5405. return "browser";
  5406. "undefined" == typeof window || !window || n && "node" === n.title ? "node" : "browser"
  5407. }, t.exports.get32IntFromBuffer = function(t, e) {
  5408. var r;
  5409. if (e = e || 0, (r = t.length - e) > 0) {
  5410. if (r >= 4) return t.readUIntBE(e, r);
  5411. for (var n = 0, i = e + r, o = 0; i > e; i--, o += 2) n += t[i - 1] * Math.pow(16, o);
  5412. return n
  5413. }
  5414. return NaN
  5415. }, t.exports._ = {
  5416. isObject: function(t) {
  5417. var e = typeof t;
  5418. return !!t && ("object" == e || "function" == e)
  5419. },
  5420. isString: function(t) {
  5421. return "string" == typeof t || t instanceof String
  5422. },
  5423. isNumber: function(t) {
  5424. return "number" == typeof t || !isNaN(parseFloat(t)) && isFinite(t)
  5425. },
  5426. omit: function(t, e) {
  5427. var r = {};
  5428. for (var n in t) t.hasOwnProperty(n) && n !== e && (r[n] = t[n]);
  5429. return r
  5430. }
  5431. }, t.exports.trimSurroundingText = function(t, e, r) {
  5432. var n = 0,
  5433. i = t.length,
  5434. o = t.indexOf(e);
  5435. o >= 0 && (n = o + e.length);
  5436. var s = t.indexOf(r, o);
  5437. return s >= 0 && (i = s), t.substring(n, i)
  5438. }
  5439. },
  5440. 8875: (t, e, r) => {
  5441. "use strict";
  5442. var n;
  5443. if (!Object.keys) {
  5444. var i = Object.prototype.hasOwnProperty,
  5445. o = Object.prototype.toString,
  5446. s = r(1093),
  5447. a = Object.prototype.propertyIsEnumerable,
  5448. f = !a.call({
  5449. toString: null
  5450. }, "toString"),
  5451. u = a.call((function() {}), "prototype"),
  5452. c = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"],
  5453. h = function(t) {
  5454. var e = t.constructor;
  5455. return e && e.prototype === t
  5456. }, p = {
  5457. $applicationCache: !0,
  5458. $console: !0,
  5459. $external: !0,
  5460. $frame: !0,
  5461. $frameElement: !0,
  5462. $frames: !0,
  5463. $innerHeight: !0,
  5464. $innerWidth: !0,
  5465. $onmozfullscreenchange: !0,
  5466. $onmozfullscreenerror: !0,
  5467. $outerHeight: !0,
  5468. $outerWidth: !0,
  5469. $pageXOffset: !0,
  5470. $pageYOffset: !0,
  5471. $parent: !0,
  5472. $scrollLeft: !0,
  5473. $scrollTop: !0,
  5474. $scrollX: !0,
  5475. $scrollY: !0,
  5476. $self: !0,
  5477. $webkitIndexedDB: !0,
  5478. $webkitStorageInfo: !0,
  5479. $window: !0
  5480. }, l = function() {
  5481. if ("undefined" == typeof window) return !1;
  5482. for (var t in window) try {
  5483. if (!p["$" + t] && i.call(window, t) && null !== window[t] && "object" == typeof window[t]) try {
  5484. h(window[t])
  5485. } catch (t) {
  5486. return !0
  5487. }
  5488. } catch (t) {
  5489. return !0
  5490. }
  5491. return !1
  5492. }();
  5493. n = function(t) {
  5494. var e = null !== t && "object" == typeof t,
  5495. r = "[object Function]" === o.call(t),
  5496. n = s(t),
  5497. a = e && "[object String]" === o.call(t),
  5498. p = [];
  5499. if (!e && !r && !n) throw new TypeError("Object.keys called on a non-object");
  5500. var y = u && r;
  5501. if (a && t.length > 0 && !i.call(t, 0)) for (var g = 0; g < t.length; ++g) p.push(String(g));
  5502. if (n && t.length > 0) for (var d = 0; d < t.length; ++d) p.push(String(d));
  5503. else for (var v in t) y && "prototype" === v || !i.call(t, v) || p.push(String(v));
  5504. if (f) for (var m = function(t) {
  5505. if ("undefined" == typeof window || !l) return h(t);
  5506. try {
  5507. return h(t)
  5508. } catch (t) {
  5509. return !1
  5510. }
  5511. }(t), S = 0; S < c.length; ++S) m && "constructor" === c[S] || !i.call(t, c[S]) || p.push(c[S]);
  5512. return p
  5513. }
  5514. }
  5515. t.exports = n
  5516. },
  5517. 1189: (t, e, r) => {
  5518. "use strict";
  5519. var n = Array.prototype.slice,
  5520. i = r(1093),
  5521. o = Object.keys,
  5522. s = o ? function(t) {
  5523. return o(t)
  5524. } : r(8875),
  5525. a = Object.keys;
  5526. s.shim = function() {
  5527. if (Object.keys) {
  5528. var t = function() {
  5529. var t = Object.keys(arguments);
  5530. return t && t.length === arguments.length
  5531. }(1, 2);
  5532. t || (Object.keys = function(t) {
  5533. return i(t) ? a(n.call(t)) : a(t)
  5534. })
  5535. } else Object.keys = s;
  5536. return Object.keys || s
  5537. }, t.exports = s
  5538. },
  5539. 1093: t => {
  5540. "use strict";
  5541. var e = Object.prototype.toString;
  5542. t.exports = function(t) {
  5543. var r = e.call(t),
  5544. n = "[object Arguments]" === r;
  5545. return n || (n = "[object Array]" !== r && null !== t && "object" == typeof t && "number" == typeof t.length && t.length >= 0 && "[object Function]" === e.call(t.callee)), n
  5546. }
  5547. },
  5548. 8403: (t, e, r) => {
  5549. "use strict";
  5550. var n = r(1189),
  5551. i = r(1333)(),
  5552. o = r(8075),
  5553. s = Object,
  5554. a = o("Array.prototype.push"),
  5555. f = o("Object.prototype.propertyIsEnumerable"),
  5556. u = i ? Object.getOwnPropertySymbols : null;
  5557. t.exports = function(t, e) {
  5558. if (null == t) throw new TypeError("target must be an object");
  5559. var r = s(t);
  5560. if (1 === arguments.length) return r;
  5561. for (var o = 1; o < arguments.length; ++o) {
  5562. var c = s(arguments[o]),
  5563. h = n(c),
  5564. p = i && (Object.getOwnPropertySymbols || u);
  5565. if (p) for (var l = p(c), y = 0; y < l.length; ++y) {
  5566. var g = l[y];
  5567. f(c, g) && a(h, g)
  5568. }
  5569. for (var d = 0; d < h.length; ++d) {
  5570. var v = h[d];
  5571. if (f(c, v)) {
  5572. var m = c[v];
  5573. r[v] = m
  5574. }
  5575. }
  5576. }
  5577. return r
  5578. }
  5579. },
  5580. 1514: (t, e, r) => {
  5581. "use strict";
  5582. var n = r(8403);
  5583. t.exports = function() {
  5584. return Object.assign ? function() {
  5585. if (!Object.assign) return !1;
  5586. for (var t = "abcdefghijklmnopqrst", e = t.split(""), r = {}, n = 0; n < e.length; ++n) r[e[n]] = e[n];
  5587. var i = Object.assign({}, r),
  5588. o = "";
  5589. for (var s in i) o += s;
  5590. return t !== o
  5591. }() || function() {
  5592. if (!Object.assign || !Object.preventExtensions) return !1;
  5593. var t = Object.preventExtensions({
  5594. 1: 2
  5595. });
  5596. try {
  5597. Object.assign(t, "xy")
  5598. } catch (e) {
  5599. return "y" === t[1]
  5600. }
  5601. return !1
  5602. }() ? n : Object.assign : n
  5603. }
  5604. },
  5605. 5606: t => {
  5606. var e, r, n = t.exports = {};
  5607. function i() {
  5608. throw new Error("setTimeout has not been defined")
  5609. }
  5610. function o() {
  5611. throw new Error("clearTimeout has not been defined")
  5612. }
  5613. function s(t) {
  5614. if (e === setTimeout) return setTimeout(t, 0);
  5615. if ((e === i || !e) && setTimeout) return e = setTimeout, setTimeout(t, 0);
  5616. try {
  5617. return e(t, 0)
  5618. } catch (r) {
  5619. try {
  5620. return e.call(null, t, 0)
  5621. } catch (r) {
  5622. return e.call(this, t, 0)
  5623. }
  5624. }
  5625. }! function() {
  5626. try {
  5627. e = "function" == typeof setTimeout ? setTimeout : i
  5628. } catch (t) {
  5629. e = i
  5630. }
  5631. try {
  5632. r = "function" == typeof clearTimeout ? clearTimeout : o
  5633. } catch (t) {
  5634. r = o
  5635. }
  5636. }();
  5637. var a, f = [],
  5638. u = !1,
  5639. c = -1;
  5640. function h() {
  5641. u && a && (u = !1, a.length ? f = a.concat(f) : c = -1, f.length && p())
  5642. }
  5643. function p() {
  5644. if (!u) {
  5645. var t = s(h);
  5646. u = !0;
  5647. for (var e = f.length; e;) {
  5648. for (a = f, f = []; ++c < e;) a && a[c].run();
  5649. c = -1, e = f.length
  5650. }
  5651. a = null, u = !1,
  5652. function(t) {
  5653. if (r === clearTimeout) return clearTimeout(t);
  5654. if ((r === o || !r) && clearTimeout) return r = clearTimeout, clearTimeout(t);
  5655. try {
  5656. return r(t)
  5657. } catch (e) {
  5658. try {
  5659. return r.call(null, t)
  5660. } catch (e) {
  5661. return r.call(this, t)
  5662. }
  5663. }
  5664. }(t)
  5665. }
  5666. }
  5667. function l(t, e) {
  5668. this.fun = t, this.array = e
  5669. }
  5670. function y() {}
  5671. n.nextTick = function(t) {
  5672. var e = new Array(arguments.length - 1);
  5673. if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];
  5674. f.push(new l(t, e)), 1 !== f.length || u || s(p)
  5675. }, l.prototype.run = function() {
  5676. this.fun.apply(null, this.array)
  5677. }, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {}, n.on = y, n.addListener = y, n.once = y, n.off = y, n.removeListener = y, n.removeAllListeners = y, n.emit = y, n.prependListener = y, n.prependOnceListener = y, n.listeners = function(t) {
  5678. return []
  5679. }, n.binding = function(t) {
  5680. throw new Error("process.binding is not supported")
  5681. }, n.cwd = function() {
  5682. return "/"
  5683. }, n.chdir = function(t) {
  5684. throw new Error("process.chdir is not supported")
  5685. }, n.umask = function() {
  5686. return 0
  5687. }
  5688. },
  5689. 4774: (t, e, r) => {
  5690. "use strict";
  5691. var n, i = r(5606),
  5692. o = r(8287),
  5693. s = o.Buffer,
  5694. a = {};
  5695. for (n in o) o.hasOwnProperty(n) && "SlowBuffer" !== n && "Buffer" !== n && (a[n] = o[n]);
  5696. var f = a.Buffer = {};
  5697. for (n in s) s.hasOwnProperty(n) && "allocUnsafe" !== n && "allocUnsafeSlow" !== n && (f[n] = s[n]);
  5698. if (a.Buffer.prototype = s.prototype, f.from && f.from !== Uint8Array.from || (f.from = function(t, e, r) {
  5699. if ("number" == typeof t) throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof t);
  5700. if (t && void 0 === t.length) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof t);
  5701. return s(t, e, r)
  5702. }), f.alloc || (f.alloc = function(t, e, r) {
  5703. if ("number" != typeof t) throw new TypeError('The "size" argument must be of type number. Received type ' + typeof t);
  5704. if (t < 0 || t >= 2 * (1 << 30)) throw new RangeError('The value "' + t + '" is invalid for option "size"');
  5705. var n = s(t);
  5706. return e && 0 !== e.length ? "string" == typeof r ? n.fill(e, r) : n.fill(e) : n.fill(0), n
  5707. }), !a.kStringMaxLength) try {
  5708. a.kStringMaxLength = i.binding("buffer")
  5709. .kStringMaxLength
  5710. } catch (t) {}
  5711. a.constants || (a.constants = {
  5712. MAX_LENGTH: a.kMaxLength
  5713. }, a.kStringMaxLength && (a.constants.MAX_STRING_LENGTH = a.kStringMaxLength)), t.exports = a
  5714. },
  5715. 6897: (t, e, r) => {
  5716. "use strict";
  5717. var n = r(453),
  5718. i = r(41),
  5719. o = r(592)(),
  5720. s = r(5795),
  5721. a = r(9675),
  5722. f = n("%Math.floor%");
  5723. t.exports = function(t, e) {
  5724. if ("function" != typeof t) throw new a("`fn` is not a function");
  5725. if ("number" != typeof e || e < 0 || e > 4294967295 || f(e) !== e) throw new a("`length` must be a positive 32-bit integer");
  5726. var r = arguments.length > 2 && !! arguments[2],
  5727. n = !0,
  5728. u = !0;
  5729. if ("length" in t && s) {
  5730. var c = s(t, "length");
  5731. c && !c.configurable && (n = !1), c && !c.writable && (u = !1)
  5732. }
  5733. return (n || u || !r) && (o ? i(t, "length", e, !0, !0) : i(t, "length", e)), t
  5734. }
  5735. },
  5736. 3200: (t, e, r) => {
  5737. var n = r(8287)
  5738. .Buffer,
  5739. i = r(1396),
  5740. o = {
  5741. randomBytes: function(t) {
  5742. for (var e = [], r = 0; r < t; r++) e.push(Math.floor(256 * Math.random()));
  5743. return n.from(e)
  5744. },
  5745. createHash(t) {
  5746. let e = n.from([]);
  5747. return {
  5748. update: function(t) {
  5749. return e = n.concat([e, t]), this
  5750. },
  5751. digest: function() {
  5752. let r = i[t.toUpperCase()](i.lib.WordArray.create(new Uint8Array(e)))
  5753. .toString();
  5754. return n.from(r, "hex")
  5755. }
  5756. }
  5757. }
  5758. };
  5759. t.exports = o
  5760. },
  5761. 7033: (t, e, r) => {
  5762. var n = r(8287)
  5763. .Buffer;
  5764. const i = r(3229);
  5765. let o = {
  5766. outputEncoding: "",
  5767. PublicFormat: "pkcs1-public",
  5768. PrivateFormat: "pkcs1-private",
  5769. options: {
  5770. environment: "browser",
  5771. encryptionScheme: "pkcs1"
  5772. }
  5773. };
  5774. t.exports = {
  5775. NodeRSA: i,
  5776. encryptRSAWithPublicKey: function(t, e, r) {
  5777. r=r||{};
  5778. return r = Object.assign({}, o, r), new i(e, r.PublicFormat, r.options)
  5779. .encrypt(t, r.outEncoding || "base64")
  5780. },
  5781. encryptRSAWithPrivateKey: function(t, e, r) {
  5782. r=r||{};
  5783. return r = Object.assign({}, o, r), new i(e, r.PrivateFormat, r.options)
  5784. .encryptPrivate(t, r.outputEncoding || "base64")
  5785. },
  5786. decryptRSAWithPublicKey: function(t, e, r) {
  5787. r=r||{};
  5788. return r = Object.assign({}, o, r), new i(e, r.PublicEncoding, r.options)
  5789. .decryptPublic(t, r.outEncoding || "utf8")
  5790. },
  5791. decryptRSAWithPrivateKey: function(t, e, r ) {
  5792. r=r||{};
  5793. return r = Object.assign({}, o, r), new i(e, r.PrivateEncoding, r.options)
  5794. .decrypt(t, r.outEncoding || "utf8")
  5795. },
  5796. sign: function(t, e, r) {
  5797. r=r||{};
  5798. return r = Object.assign({}, o, r), new i(e, r.PrivateEncoding, r.options)
  5799. .sign(t, r.outEncoding || "base64")
  5800. },
  5801. verify: function(t, e, r, s) {
  5802. s=s||{};
  5803. return "string" == typeof e && e.match(/^([0-9a-fA-F]{2})*$/) ? e = n.from(e, "hex") : "string" == typeof e && (e = n.from(e, "base64")), s = Object.assign({}, o, s), new i(r, s.PublicEncoding, s.options)
  5804. .verify(t, e)
  5805. }
  5806. }
  5807. },
  5808. 7449: t => {
  5809. "use strict";
  5810. t.exports = JSON.parse('{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":512,"O_EXCL":2048,"O_NOCTTY":131072,"O_TRUNC":1024,"O_APPEND":8,"O_DIRECTORY":1048576,"O_NOFOLLOW":256,"O_SYNC":128,"O_SYMLINK":2097152,"O_NONBLOCK":4,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}')
  5811. }
  5812. }, e = {};
  5813. function r(n) {
  5814. var i = e[n];
  5815. if (void 0 !== i) return i.exports;
  5816. var o = e[n] = {
  5817. exports: {}
  5818. };
  5819. return t[n].call(o.exports, o, o.exports, r), o.exports
  5820. }
  5821. return r.g = function() {
  5822. if ("object" == typeof globalThis) return globalThis;
  5823. try {
  5824. return this || new Function("return this")()
  5825. } catch (t) {
  5826. if ("object" == typeof window) return window
  5827. }
  5828. }(), r(7033)
  5829. })()));