node-rsa.js 308 KB

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