index3.js 254 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004
  1. var dA = (M, n, A) => new Promise((D, w) => {
  2. var z = (Y) => {
  3. try {
  4. c(A.next(Y));
  5. } catch (B) {
  6. w(B);
  7. }
  8. }, l = (Y) => {
  9. try {
  10. c(A.throw(Y));
  11. } catch (B) {
  12. w(B);
  13. }
  14. }, c = (Y) => Y.done ? D(Y.value) : Promise.resolve(Y.value).then(z, l);
  15. c((A = A.apply(M, n)).next());
  16. });
  17. import { e as Og } from "./base64Util.js";
  18. import { bX as I, df as gw, bY as Bw, n as PA, dg as ZB, dh as bB, di as lB, dj as GB, ad as dB, dk as ww, dl as aB, dm as Dw, I as uB, d9 as yB, B as XB, a6 as sw, a7 as ew, dn as mA, dp as Kg, dq as Cw, y as tw, dr as jB, ao as Mw } from "./index2.js";
  19. import { openBlock as m, createElementBlock as T, normalizeStyle as vA, createElementVNode as V, withDirectives as xg, vShow as Zg, createVNode as o, Transition as vw, withCtx as F, normalizeClass as oA, toDisplayString as E, createCommentVNode as AA, Fragment as FA, renderList as bg, createTextVNode as $, createBlock as DA, resolveDynamicComponent as kA, resolveComponent as YA, withModifiers as jA, ref as MA, computed as rw, reactive as fw, onMounted as nw, unref as Eg, normalizeProps as zw, guardReactiveProps as Pw } from "vue";
  20. import { F as VB, _ as oB } from "./index5.js";
  21. import { T as cw, _ as Yw } from "./index12.js";
  22. import { S as FB } from "./index15.js";
  23. import { _ as Qw } from "./index9.js";
  24. import { useRoute as Ww, useRouter as Hw } from "vue-router";
  25. import { g as Lw } from "./account.js";
  26. import { T as Ow, P as xw, a as Zw } from "./index16.js";
  27. import { S as bw, _ as lw } from "./index17.js";
  28. import { C as Gw } from "./index18.js";
  29. import { _ as dw, a as aw } from "./index10.js";
  30. var NB = { exports: {} };
  31. function uw(M) {
  32. throw new Error('Could not dynamically require "' + M + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
  33. }
  34. var KA = { exports: {} }, Ig;
  35. function U() {
  36. return Ig || (Ig = 1, function(M, n) {
  37. (function(A, D) {
  38. M.exports = D();
  39. })(I, function() {
  40. var A = A || function(D, w) {
  41. var z;
  42. if (typeof window != "undefined" && window.crypto && (z = window.crypto), typeof self != "undefined" && self.crypto && (z = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (z = globalThis.crypto), !z && typeof window != "undefined" && window.msCrypto && (z = window.msCrypto), !z && typeof I != "undefined" && I.crypto && (z = I.crypto), !z && typeof uw == "function")
  43. try {
  44. z = gw;
  45. } catch (g) {
  46. }
  47. var l = function() {
  48. if (z) {
  49. if (typeof z.getRandomValues == "function")
  50. try {
  51. return z.getRandomValues(new Uint32Array(1))[0];
  52. } catch (g) {
  53. }
  54. if (typeof z.randomBytes == "function")
  55. try {
  56. return z.randomBytes(4).readInt32LE();
  57. } catch (g) {
  58. }
  59. }
  60. throw new Error("Native crypto module could not be used to get secure random number.");
  61. }, c = Object.create || /* @__PURE__ */ function() {
  62. function g() {
  63. }
  64. return function(C) {
  65. var r;
  66. return g.prototype = C, r = new g(), g.prototype = null, r;
  67. };
  68. }(), Y = {}, B = Y.lib = {}, s = B.Base = /* @__PURE__ */ function() {
  69. return {
  70. /**
  71. * Creates a new object that inherits from this object.
  72. *
  73. * @param {Object} overrides Properties to copy into the new object.
  74. *
  75. * @return {Object} The new object.
  76. *
  77. * @static
  78. *
  79. * @example
  80. *
  81. * var MyType = CryptoJS.lib.Base.extend({
  82. * field: 'value',
  83. *
  84. * method: function () {
  85. * }
  86. * });
  87. */
  88. extend: function(g) {
  89. var C = c(this);
  90. return g && C.mixIn(g), (!C.hasOwnProperty("init") || this.init === C.init) && (C.init = function() {
  91. C.$super.init.apply(this, arguments);
  92. }), C.init.prototype = C, C.$super = this, C;
  93. },
  94. /**
  95. * Extends this object and runs the init method.
  96. * Arguments to create() will be passed to init().
  97. *
  98. * @return {Object} The new object.
  99. *
  100. * @static
  101. *
  102. * @example
  103. *
  104. * var instance = MyType.create();
  105. */
  106. create: function() {
  107. var g = this.extend();
  108. return g.init.apply(g, arguments), g;
  109. },
  110. /**
  111. * Initializes a newly created object.
  112. * Override this method to add some logic when your objects are created.
  113. *
  114. * @example
  115. *
  116. * var MyType = CryptoJS.lib.Base.extend({
  117. * init: function () {
  118. * // ...
  119. * }
  120. * });
  121. */
  122. init: function() {
  123. },
  124. /**
  125. * Copies properties into this object.
  126. *
  127. * @param {Object} properties The properties to mix in.
  128. *
  129. * @example
  130. *
  131. * MyType.mixIn({
  132. * field: 'value'
  133. * });
  134. */
  135. mixIn: function(g) {
  136. for (var C in g)
  137. g.hasOwnProperty(C) && (this[C] = g[C]);
  138. g.hasOwnProperty("toString") && (this.toString = g.toString);
  139. },
  140. /**
  141. * Creates a copy of this object.
  142. *
  143. * @return {Object} The clone.
  144. *
  145. * @example
  146. *
  147. * var clone = instance.clone();
  148. */
  149. clone: function() {
  150. return this.init.prototype.extend(this);
  151. }
  152. };
  153. }(), Q = B.WordArray = s.extend({
  154. /**
  155. * Initializes a newly created word array.
  156. *
  157. * @param {Array} words (Optional) An array of 32-bit words.
  158. * @param {number} sigBytes (Optional) The number of significant bytes in the words.
  159. *
  160. * @example
  161. *
  162. * var wordArray = CryptoJS.lib.WordArray.create();
  163. * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
  164. * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
  165. */
  166. init: function(g, C) {
  167. g = this.words = g || [], C != w ? this.sigBytes = C : this.sigBytes = g.length * 4;
  168. },
  169. /**
  170. * Converts this word array to a string.
  171. *
  172. * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
  173. *
  174. * @return {string} The stringified word array.
  175. *
  176. * @example
  177. *
  178. * var string = wordArray + '';
  179. * var string = wordArray.toString();
  180. * var string = wordArray.toString(CryptoJS.enc.Utf8);
  181. */
  182. toString: function(g) {
  183. return (g || f).stringify(this);
  184. },
  185. /**
  186. * Concatenates a word array to this word array.
  187. *
  188. * @param {WordArray} wordArray The word array to append.
  189. *
  190. * @return {WordArray} This word array.
  191. *
  192. * @example
  193. *
  194. * wordArray1.concat(wordArray2);
  195. */
  196. concat: function(g) {
  197. var C = this.words, r = g.words, O = this.sigBytes, L = g.sigBytes;
  198. if (this.clamp(), O % 4)
  199. for (var Z = 0; Z < L; Z++) {
  200. var d = r[Z >>> 2] >>> 24 - Z % 4 * 8 & 255;
  201. C[O + Z >>> 2] |= d << 24 - (O + Z) % 4 * 8;
  202. }
  203. else
  204. for (var j = 0; j < L; j += 4)
  205. C[O + j >>> 2] = r[j >>> 2];
  206. return this.sigBytes += L, this;
  207. },
  208. /**
  209. * Removes insignificant bits.
  210. *
  211. * @example
  212. *
  213. * wordArray.clamp();
  214. */
  215. clamp: function() {
  216. var g = this.words, C = this.sigBytes;
  217. g[C >>> 2] &= 4294967295 << 32 - C % 4 * 8, g.length = D.ceil(C / 4);
  218. },
  219. /**
  220. * Creates a copy of this word array.
  221. *
  222. * @return {WordArray} The clone.
  223. *
  224. * @example
  225. *
  226. * var clone = wordArray.clone();
  227. */
  228. clone: function() {
  229. var g = s.clone.call(this);
  230. return g.words = this.words.slice(0), g;
  231. },
  232. /**
  233. * Creates a word array filled with random bytes.
  234. *
  235. * @param {number} nBytes The number of random bytes to generate.
  236. *
  237. * @return {WordArray} The random word array.
  238. *
  239. * @static
  240. *
  241. * @example
  242. *
  243. * var wordArray = CryptoJS.lib.WordArray.random(16);
  244. */
  245. random: function(g) {
  246. for (var C = [], r = 0; r < g; r += 4)
  247. C.push(l());
  248. return new Q.init(C, g);
  249. }
  250. }), e = Y.enc = {}, f = e.Hex = {
  251. /**
  252. * Converts a word array to a hex string.
  253. *
  254. * @param {WordArray} wordArray The word array.
  255. *
  256. * @return {string} The hex string.
  257. *
  258. * @static
  259. *
  260. * @example
  261. *
  262. * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
  263. */
  264. stringify: function(g) {
  265. for (var C = g.words, r = g.sigBytes, O = [], L = 0; L < r; L++) {
  266. var Z = C[L >>> 2] >>> 24 - L % 4 * 8 & 255;
  267. O.push((Z >>> 4).toString(16)), O.push((Z & 15).toString(16));
  268. }
  269. return O.join("");
  270. },
  271. /**
  272. * Converts a hex string to a word array.
  273. *
  274. * @param {string} hexStr The hex string.
  275. *
  276. * @return {WordArray} The word array.
  277. *
  278. * @static
  279. *
  280. * @example
  281. *
  282. * var wordArray = CryptoJS.enc.Hex.parse(hexString);
  283. */
  284. parse: function(g) {
  285. for (var C = g.length, r = [], O = 0; O < C; O += 2)
  286. r[O >>> 3] |= parseInt(g.substr(O, 2), 16) << 24 - O % 8 * 4;
  287. return new Q.init(r, C / 2);
  288. }
  289. }, t = e.Latin1 = {
  290. /**
  291. * Converts a word array to a Latin1 string.
  292. *
  293. * @param {WordArray} wordArray The word array.
  294. *
  295. * @return {string} The Latin1 string.
  296. *
  297. * @static
  298. *
  299. * @example
  300. *
  301. * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
  302. */
  303. stringify: function(g) {
  304. for (var C = g.words, r = g.sigBytes, O = [], L = 0; L < r; L++) {
  305. var Z = C[L >>> 2] >>> 24 - L % 4 * 8 & 255;
  306. O.push(String.fromCharCode(Z));
  307. }
  308. return O.join("");
  309. },
  310. /**
  311. * Converts a Latin1 string to a word array.
  312. *
  313. * @param {string} latin1Str The Latin1 string.
  314. *
  315. * @return {WordArray} The word array.
  316. *
  317. * @static
  318. *
  319. * @example
  320. *
  321. * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
  322. */
  323. parse: function(g) {
  324. for (var C = g.length, r = [], O = 0; O < C; O++)
  325. r[O >>> 2] |= (g.charCodeAt(O) & 255) << 24 - O % 4 * 8;
  326. return new Q.init(r, C);
  327. }
  328. }, P = e.Utf8 = {
  329. /**
  330. * Converts a word array to a UTF-8 string.
  331. *
  332. * @param {WordArray} wordArray The word array.
  333. *
  334. * @return {string} The UTF-8 string.
  335. *
  336. * @static
  337. *
  338. * @example
  339. *
  340. * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
  341. */
  342. stringify: function(g) {
  343. try {
  344. return decodeURIComponent(escape(t.stringify(g)));
  345. } catch (C) {
  346. throw new Error("Malformed UTF-8 data");
  347. }
  348. },
  349. /**
  350. * Converts a UTF-8 string to a word array.
  351. *
  352. * @param {string} utf8Str The UTF-8 string.
  353. *
  354. * @return {WordArray} The word array.
  355. *
  356. * @static
  357. *
  358. * @example
  359. *
  360. * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
  361. */
  362. parse: function(g) {
  363. return t.parse(unescape(encodeURIComponent(g)));
  364. }
  365. }, v = B.BufferedBlockAlgorithm = s.extend({
  366. /**
  367. * Resets this block algorithm's data buffer to its initial state.
  368. *
  369. * @example
  370. *
  371. * bufferedBlockAlgorithm.reset();
  372. */
  373. reset: function() {
  374. this._data = new Q.init(), this._nDataBytes = 0;
  375. },
  376. /**
  377. * Adds new data to this block algorithm's buffer.
  378. *
  379. * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
  380. *
  381. * @example
  382. *
  383. * bufferedBlockAlgorithm._append('data');
  384. * bufferedBlockAlgorithm._append(wordArray);
  385. */
  386. _append: function(g) {
  387. typeof g == "string" && (g = P.parse(g)), this._data.concat(g), this._nDataBytes += g.sigBytes;
  388. },
  389. /**
  390. * Processes available data blocks.
  391. *
  392. * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
  393. *
  394. * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
  395. *
  396. * @return {WordArray} The processed data.
  397. *
  398. * @example
  399. *
  400. * var processedData = bufferedBlockAlgorithm._process();
  401. * var processedData = bufferedBlockAlgorithm._process(!!'flush');
  402. */
  403. _process: function(g) {
  404. var C, r = this._data, O = r.words, L = r.sigBytes, Z = this.blockSize, d = Z * 4, j = L / d;
  405. g ? j = D.ceil(j) : j = D.max((j | 0) - this._minBufferSize, 0);
  406. var W = j * Z, x = D.min(W * 4, L);
  407. if (W) {
  408. for (var u = 0; u < W; u += Z)
  409. this._doProcessBlock(O, u);
  410. C = O.splice(0, W), r.sigBytes -= x;
  411. }
  412. return new Q.init(C, x);
  413. },
  414. /**
  415. * Creates a copy of this object.
  416. *
  417. * @return {Object} The clone.
  418. *
  419. * @example
  420. *
  421. * var clone = bufferedBlockAlgorithm.clone();
  422. */
  423. clone: function() {
  424. var g = s.clone.call(this);
  425. return g._data = this._data.clone(), g;
  426. },
  427. _minBufferSize: 0
  428. });
  429. B.Hasher = v.extend({
  430. /**
  431. * Configuration options.
  432. */
  433. cfg: s.extend(),
  434. /**
  435. * Initializes a newly created hasher.
  436. *
  437. * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
  438. *
  439. * @example
  440. *
  441. * var hasher = CryptoJS.algo.SHA256.create();
  442. */
  443. init: function(g) {
  444. this.cfg = this.cfg.extend(g), this.reset();
  445. },
  446. /**
  447. * Resets this hasher to its initial state.
  448. *
  449. * @example
  450. *
  451. * hasher.reset();
  452. */
  453. reset: function() {
  454. v.reset.call(this), this._doReset();
  455. },
  456. /**
  457. * Updates this hasher with a message.
  458. *
  459. * @param {WordArray|string} messageUpdate The message to append.
  460. *
  461. * @return {Hasher} This hasher.
  462. *
  463. * @example
  464. *
  465. * hasher.update('message');
  466. * hasher.update(wordArray);
  467. */
  468. update: function(g) {
  469. return this._append(g), this._process(), this;
  470. },
  471. /**
  472. * Finalizes the hash computation.
  473. * Note that the finalize operation is effectively a destructive, read-once operation.
  474. *
  475. * @param {WordArray|string} messageUpdate (Optional) A final message update.
  476. *
  477. * @return {WordArray} The hash.
  478. *
  479. * @example
  480. *
  481. * var hash = hasher.finalize();
  482. * var hash = hasher.finalize('message');
  483. * var hash = hasher.finalize(wordArray);
  484. */
  485. finalize: function(g) {
  486. g && this._append(g);
  487. var C = this._doFinalize();
  488. return C;
  489. },
  490. blockSize: 16,
  491. /**
  492. * Creates a shortcut function to a hasher's object interface.
  493. *
  494. * @param {Hasher} hasher The hasher to create a helper for.
  495. *
  496. * @return {Function} The shortcut function.
  497. *
  498. * @static
  499. *
  500. * @example
  501. *
  502. * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
  503. */
  504. _createHelper: function(g) {
  505. return function(C, r) {
  506. return new g.init(r).finalize(C);
  507. };
  508. },
  509. /**
  510. * Creates a shortcut function to the HMAC's object interface.
  511. *
  512. * @param {Hasher} hasher The hasher to use in this HMAC helper.
  513. *
  514. * @return {Function} The shortcut function.
  515. *
  516. * @static
  517. *
  518. * @example
  519. *
  520. * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
  521. */
  522. _createHmacHelper: function(g) {
  523. return function(C, r) {
  524. return new H.HMAC.init(g, r).finalize(C);
  525. };
  526. }
  527. });
  528. var H = Y.algo = {};
  529. return Y;
  530. }(Math);
  531. return A;
  532. });
  533. }(KA)), KA.exports;
  534. }
  535. var EA = { exports: {} }, pg;
  536. function JA() {
  537. return pg || (pg = 1, function(M, n) {
  538. (function(A, D) {
  539. M.exports = D(U());
  540. })(I, function(A) {
  541. return function(D) {
  542. var w = A, z = w.lib, l = z.Base, c = z.WordArray, Y = w.x64 = {};
  543. Y.Word = l.extend({
  544. /**
  545. * Initializes a newly created 64-bit word.
  546. *
  547. * @param {number} high The high 32 bits.
  548. * @param {number} low The low 32 bits.
  549. *
  550. * @example
  551. *
  552. * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
  553. */
  554. init: function(B, s) {
  555. this.high = B, this.low = s;
  556. }
  557. /**
  558. * Bitwise NOTs this word.
  559. *
  560. * @return {X64Word} A new x64-Word object after negating.
  561. *
  562. * @example
  563. *
  564. * var negated = x64Word.not();
  565. */
  566. // not: function () {
  567. // var high = ~this.high;
  568. // var low = ~this.low;
  569. // return X64Word.create(high, low);
  570. // },
  571. /**
  572. * Bitwise ANDs this word with the passed word.
  573. *
  574. * @param {X64Word} word The x64-Word to AND with this word.
  575. *
  576. * @return {X64Word} A new x64-Word object after ANDing.
  577. *
  578. * @example
  579. *
  580. * var anded = x64Word.and(anotherX64Word);
  581. */
  582. // and: function (word) {
  583. // var high = this.high & word.high;
  584. // var low = this.low & word.low;
  585. // return X64Word.create(high, low);
  586. // },
  587. /**
  588. * Bitwise ORs this word with the passed word.
  589. *
  590. * @param {X64Word} word The x64-Word to OR with this word.
  591. *
  592. * @return {X64Word} A new x64-Word object after ORing.
  593. *
  594. * @example
  595. *
  596. * var ored = x64Word.or(anotherX64Word);
  597. */
  598. // or: function (word) {
  599. // var high = this.high | word.high;
  600. // var low = this.low | word.low;
  601. // return X64Word.create(high, low);
  602. // },
  603. /**
  604. * Bitwise XORs this word with the passed word.
  605. *
  606. * @param {X64Word} word The x64-Word to XOR with this word.
  607. *
  608. * @return {X64Word} A new x64-Word object after XORing.
  609. *
  610. * @example
  611. *
  612. * var xored = x64Word.xor(anotherX64Word);
  613. */
  614. // xor: function (word) {
  615. // var high = this.high ^ word.high;
  616. // var low = this.low ^ word.low;
  617. // return X64Word.create(high, low);
  618. // },
  619. /**
  620. * Shifts this word n bits to the left.
  621. *
  622. * @param {number} n The number of bits to shift.
  623. *
  624. * @return {X64Word} A new x64-Word object after shifting.
  625. *
  626. * @example
  627. *
  628. * var shifted = x64Word.shiftL(25);
  629. */
  630. // shiftL: function (n) {
  631. // if (n < 32) {
  632. // var high = (this.high << n) | (this.low >>> (32 - n));
  633. // var low = this.low << n;
  634. // } else {
  635. // var high = this.low << (n - 32);
  636. // var low = 0;
  637. // }
  638. // return X64Word.create(high, low);
  639. // },
  640. /**
  641. * Shifts this word n bits to the right.
  642. *
  643. * @param {number} n The number of bits to shift.
  644. *
  645. * @return {X64Word} A new x64-Word object after shifting.
  646. *
  647. * @example
  648. *
  649. * var shifted = x64Word.shiftR(7);
  650. */
  651. // shiftR: function (n) {
  652. // if (n < 32) {
  653. // var low = (this.low >>> n) | (this.high << (32 - n));
  654. // var high = this.high >>> n;
  655. // } else {
  656. // var low = this.high >>> (n - 32);
  657. // var high = 0;
  658. // }
  659. // return X64Word.create(high, low);
  660. // },
  661. /**
  662. * Rotates this word n bits to the left.
  663. *
  664. * @param {number} n The number of bits to rotate.
  665. *
  666. * @return {X64Word} A new x64-Word object after rotating.
  667. *
  668. * @example
  669. *
  670. * var rotated = x64Word.rotL(25);
  671. */
  672. // rotL: function (n) {
  673. // return this.shiftL(n).or(this.shiftR(64 - n));
  674. // },
  675. /**
  676. * Rotates this word n bits to the right.
  677. *
  678. * @param {number} n The number of bits to rotate.
  679. *
  680. * @return {X64Word} A new x64-Word object after rotating.
  681. *
  682. * @example
  683. *
  684. * var rotated = x64Word.rotR(7);
  685. */
  686. // rotR: function (n) {
  687. // return this.shiftR(n).or(this.shiftL(64 - n));
  688. // },
  689. /**
  690. * Adds this word with the passed word.
  691. *
  692. * @param {X64Word} word The x64-Word to add with this word.
  693. *
  694. * @return {X64Word} A new x64-Word object after adding.
  695. *
  696. * @example
  697. *
  698. * var added = x64Word.add(anotherX64Word);
  699. */
  700. // add: function (word) {
  701. // var low = (this.low + word.low) | 0;
  702. // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
  703. // var high = (this.high + word.high + carry) | 0;
  704. // return X64Word.create(high, low);
  705. // }
  706. }), Y.WordArray = l.extend({
  707. /**
  708. * Initializes a newly created word array.
  709. *
  710. * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
  711. * @param {number} sigBytes (Optional) The number of significant bytes in the words.
  712. *
  713. * @example
  714. *
  715. * var wordArray = CryptoJS.x64.WordArray.create();
  716. *
  717. * var wordArray = CryptoJS.x64.WordArray.create([
  718. * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
  719. * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
  720. * ]);
  721. *
  722. * var wordArray = CryptoJS.x64.WordArray.create([
  723. * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
  724. * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
  725. * ], 10);
  726. */
  727. init: function(B, s) {
  728. B = this.words = B || [], s != D ? this.sigBytes = s : this.sigBytes = B.length * 8;
  729. },
  730. /**
  731. * Converts this 64-bit word array to a 32-bit word array.
  732. *
  733. * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
  734. *
  735. * @example
  736. *
  737. * var x32WordArray = x64WordArray.toX32();
  738. */
  739. toX32: function() {
  740. for (var B = this.words, s = B.length, Q = [], e = 0; e < s; e++) {
  741. var f = B[e];
  742. Q.push(f.high), Q.push(f.low);
  743. }
  744. return c.create(Q, this.sigBytes);
  745. },
  746. /**
  747. * Creates a copy of this word array.
  748. *
  749. * @return {X64WordArray} The clone.
  750. *
  751. * @example
  752. *
  753. * var clone = x64WordArray.clone();
  754. */
  755. clone: function() {
  756. for (var B = l.clone.call(this), s = B.words = this.words.slice(0), Q = s.length, e = 0; e < Q; e++)
  757. s[e] = s[e].clone();
  758. return B;
  759. }
  760. });
  761. }(), A;
  762. });
  763. }(EA)), EA.exports;
  764. }
  765. var IA = { exports: {} }, Tg;
  766. function yw() {
  767. return Tg || (Tg = 1, function(M, n) {
  768. (function(A, D) {
  769. M.exports = D(U());
  770. })(I, function(A) {
  771. return function() {
  772. if (typeof ArrayBuffer == "function") {
  773. var D = A, w = D.lib, z = w.WordArray, l = z.init, c = z.init = function(Y) {
  774. if (Y instanceof ArrayBuffer && (Y = new Uint8Array(Y)), (Y instanceof Int8Array || typeof Uint8ClampedArray != "undefined" && Y instanceof Uint8ClampedArray || Y instanceof Int16Array || Y instanceof Uint16Array || Y instanceof Int32Array || Y instanceof Uint32Array || Y instanceof Float32Array || Y instanceof Float64Array) && (Y = new Uint8Array(Y.buffer, Y.byteOffset, Y.byteLength)), Y instanceof Uint8Array) {
  775. for (var B = Y.byteLength, s = [], Q = 0; Q < B; Q++)
  776. s[Q >>> 2] |= Y[Q] << 24 - Q % 4 * 8;
  777. l.call(this, s, B);
  778. } else
  779. l.apply(this, arguments);
  780. };
  781. c.prototype = z;
  782. }
  783. }(), A.lib.WordArray;
  784. });
  785. }(IA)), IA.exports;
  786. }
  787. var pA = { exports: {} }, Sg;
  788. function Xw() {
  789. return Sg || (Sg = 1, function(M, n) {
  790. (function(A, D) {
  791. M.exports = D(U());
  792. })(I, function(A) {
  793. return function() {
  794. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  795. l.Utf16 = l.Utf16BE = {
  796. /**
  797. * Converts a word array to a UTF-16 BE string.
  798. *
  799. * @param {WordArray} wordArray The word array.
  800. *
  801. * @return {string} The UTF-16 BE string.
  802. *
  803. * @static
  804. *
  805. * @example
  806. *
  807. * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
  808. */
  809. stringify: function(Y) {
  810. for (var B = Y.words, s = Y.sigBytes, Q = [], e = 0; e < s; e += 2) {
  811. var f = B[e >>> 2] >>> 16 - e % 4 * 8 & 65535;
  812. Q.push(String.fromCharCode(f));
  813. }
  814. return Q.join("");
  815. },
  816. /**
  817. * Converts a UTF-16 BE string to a word array.
  818. *
  819. * @param {string} utf16Str The UTF-16 BE string.
  820. *
  821. * @return {WordArray} The word array.
  822. *
  823. * @static
  824. *
  825. * @example
  826. *
  827. * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
  828. */
  829. parse: function(Y) {
  830. for (var B = Y.length, s = [], Q = 0; Q < B; Q++)
  831. s[Q >>> 1] |= Y.charCodeAt(Q) << 16 - Q % 2 * 16;
  832. return z.create(s, B * 2);
  833. }
  834. }, l.Utf16LE = {
  835. /**
  836. * Converts a word array to a UTF-16 LE string.
  837. *
  838. * @param {WordArray} wordArray The word array.
  839. *
  840. * @return {string} The UTF-16 LE string.
  841. *
  842. * @static
  843. *
  844. * @example
  845. *
  846. * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
  847. */
  848. stringify: function(Y) {
  849. for (var B = Y.words, s = Y.sigBytes, Q = [], e = 0; e < s; e += 2) {
  850. var f = c(B[e >>> 2] >>> 16 - e % 4 * 8 & 65535);
  851. Q.push(String.fromCharCode(f));
  852. }
  853. return Q.join("");
  854. },
  855. /**
  856. * Converts a UTF-16 LE string to a word array.
  857. *
  858. * @param {string} utf16Str The UTF-16 LE string.
  859. *
  860. * @return {WordArray} The word array.
  861. *
  862. * @static
  863. *
  864. * @example
  865. *
  866. * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
  867. */
  868. parse: function(Y) {
  869. for (var B = Y.length, s = [], Q = 0; Q < B; Q++)
  870. s[Q >>> 1] |= c(Y.charCodeAt(Q) << 16 - Q % 2 * 16);
  871. return z.create(s, B * 2);
  872. }
  873. };
  874. function c(Y) {
  875. return Y << 8 & 4278255360 | Y >>> 8 & 16711935;
  876. }
  877. }(), A.enc.Utf16;
  878. });
  879. }(pA)), pA.exports;
  880. }
  881. var TA = { exports: {} }, Ug;
  882. function OA() {
  883. return Ug || (Ug = 1, function(M, n) {
  884. (function(A, D) {
  885. M.exports = D(U());
  886. })(I, function(A) {
  887. return function() {
  888. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  889. l.Base64 = {
  890. /**
  891. * Converts a word array to a Base64 string.
  892. *
  893. * @param {WordArray} wordArray The word array.
  894. *
  895. * @return {string} The Base64 string.
  896. *
  897. * @static
  898. *
  899. * @example
  900. *
  901. * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
  902. */
  903. stringify: function(Y) {
  904. var B = Y.words, s = Y.sigBytes, Q = this._map;
  905. Y.clamp();
  906. for (var e = [], f = 0; f < s; f += 3)
  907. for (var t = B[f >>> 2] >>> 24 - f % 4 * 8 & 255, P = B[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, v = B[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, H = t << 16 | P << 8 | v, g = 0; g < 4 && f + g * 0.75 < s; g++)
  908. e.push(Q.charAt(H >>> 6 * (3 - g) & 63));
  909. var C = Q.charAt(64);
  910. if (C)
  911. for (; e.length % 4; )
  912. e.push(C);
  913. return e.join("");
  914. },
  915. /**
  916. * Converts a Base64 string to a word array.
  917. *
  918. * @param {string} base64Str The Base64 string.
  919. *
  920. * @return {WordArray} The word array.
  921. *
  922. * @static
  923. *
  924. * @example
  925. *
  926. * var wordArray = CryptoJS.enc.Base64.parse(base64String);
  927. */
  928. parse: function(Y) {
  929. var B = Y.length, s = this._map, Q = this._reverseMap;
  930. if (!Q) {
  931. Q = this._reverseMap = [];
  932. for (var e = 0; e < s.length; e++)
  933. Q[s.charCodeAt(e)] = e;
  934. }
  935. var f = s.charAt(64);
  936. if (f) {
  937. var t = Y.indexOf(f);
  938. t !== -1 && (B = t);
  939. }
  940. return c(Y, B, Q);
  941. },
  942. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  943. };
  944. function c(Y, B, s) {
  945. for (var Q = [], e = 0, f = 0; f < B; f++)
  946. if (f % 4) {
  947. var t = s[Y.charCodeAt(f - 1)] << f % 4 * 2, P = s[Y.charCodeAt(f)] >>> 6 - f % 4 * 2, v = t | P;
  948. Q[e >>> 2] |= v << 24 - e % 4 * 8, e++;
  949. }
  950. return z.create(Q, e);
  951. }
  952. }(), A.enc.Base64;
  953. });
  954. }(TA)), TA.exports;
  955. }
  956. var SA = { exports: {} }, ig;
  957. function jw() {
  958. return ig || (ig = 1, function(M, n) {
  959. (function(A, D) {
  960. M.exports = D(U());
  961. })(I, function(A) {
  962. return function() {
  963. var D = A, w = D.lib, z = w.WordArray, l = D.enc;
  964. l.Base64url = {
  965. /**
  966. * Converts a word array to a Base64url string.
  967. *
  968. * @param {WordArray} wordArray The word array.
  969. *
  970. * @param {boolean} urlSafe Whether to use url safe
  971. *
  972. * @return {string} The Base64url string.
  973. *
  974. * @static
  975. *
  976. * @example
  977. *
  978. * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
  979. */
  980. stringify: function(Y, B) {
  981. B === void 0 && (B = !0);
  982. var s = Y.words, Q = Y.sigBytes, e = B ? this._safe_map : this._map;
  983. Y.clamp();
  984. for (var f = [], t = 0; t < Q; t += 3)
  985. for (var P = s[t >>> 2] >>> 24 - t % 4 * 8 & 255, v = s[t + 1 >>> 2] >>> 24 - (t + 1) % 4 * 8 & 255, H = s[t + 2 >>> 2] >>> 24 - (t + 2) % 4 * 8 & 255, g = P << 16 | v << 8 | H, C = 0; C < 4 && t + C * 0.75 < Q; C++)
  986. f.push(e.charAt(g >>> 6 * (3 - C) & 63));
  987. var r = e.charAt(64);
  988. if (r)
  989. for (; f.length % 4; )
  990. f.push(r);
  991. return f.join("");
  992. },
  993. /**
  994. * Converts a Base64url string to a word array.
  995. *
  996. * @param {string} base64Str The Base64url string.
  997. *
  998. * @param {boolean} urlSafe Whether to use url safe
  999. *
  1000. * @return {WordArray} The word array.
  1001. *
  1002. * @static
  1003. *
  1004. * @example
  1005. *
  1006. * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
  1007. */
  1008. parse: function(Y, B) {
  1009. B === void 0 && (B = !0);
  1010. var s = Y.length, Q = B ? this._safe_map : this._map, e = this._reverseMap;
  1011. if (!e) {
  1012. e = this._reverseMap = [];
  1013. for (var f = 0; f < Q.length; f++)
  1014. e[Q.charCodeAt(f)] = f;
  1015. }
  1016. var t = Q.charAt(64);
  1017. if (t) {
  1018. var P = Y.indexOf(t);
  1019. P !== -1 && (s = P);
  1020. }
  1021. return c(Y, s, e);
  1022. },
  1023. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  1024. _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
  1025. };
  1026. function c(Y, B, s) {
  1027. for (var Q = [], e = 0, f = 0; f < B; f++)
  1028. if (f % 4) {
  1029. var t = s[Y.charCodeAt(f - 1)] << f % 4 * 2, P = s[Y.charCodeAt(f)] >>> 6 - f % 4 * 2, v = t | P;
  1030. Q[e >>> 2] |= v << 24 - e % 4 * 8, e++;
  1031. }
  1032. return z.create(Q, e);
  1033. }
  1034. }(), A.enc.Base64url;
  1035. });
  1036. }(SA)), SA.exports;
  1037. }
  1038. var UA = { exports: {} }, qg;
  1039. function xA() {
  1040. return qg || (qg = 1, function(M, n) {
  1041. (function(A, D) {
  1042. M.exports = D(U());
  1043. })(I, function(A) {
  1044. return function(D) {
  1045. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = [];
  1046. (function() {
  1047. for (var P = 0; P < 64; P++)
  1048. B[P] = D.abs(D.sin(P + 1)) * 4294967296 | 0;
  1049. })();
  1050. var s = Y.MD5 = c.extend({
  1051. _doReset: function() {
  1052. this._hash = new l.init([
  1053. 1732584193,
  1054. 4023233417,
  1055. 2562383102,
  1056. 271733878
  1057. ]);
  1058. },
  1059. _doProcessBlock: function(P, v) {
  1060. for (var H = 0; H < 16; H++) {
  1061. var g = v + H, C = P[g];
  1062. P[g] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
  1063. }
  1064. var r = this._hash.words, O = P[v + 0], L = P[v + 1], Z = P[v + 2], d = P[v + 3], j = P[v + 4], W = P[v + 5], x = P[v + 6], u = P[v + 7], y = P[v + 8], N = P[v + 9], k = P[v + 10], K = P[v + 11], R = P[v + 12], i = P[v + 13], h = P[v + 14], q = P[v + 15], a = r[0], X = r[1], b = r[2], G = r[3];
  1065. a = Q(a, X, b, G, O, 7, B[0]), G = Q(G, a, X, b, L, 12, B[1]), b = Q(b, G, a, X, Z, 17, B[2]), X = Q(X, b, G, a, d, 22, B[3]), a = Q(a, X, b, G, j, 7, B[4]), G = Q(G, a, X, b, W, 12, B[5]), b = Q(b, G, a, X, x, 17, B[6]), X = Q(X, b, G, a, u, 22, B[7]), a = Q(a, X, b, G, y, 7, B[8]), G = Q(G, a, X, b, N, 12, B[9]), b = Q(b, G, a, X, k, 17, B[10]), X = Q(X, b, G, a, K, 22, B[11]), a = Q(a, X, b, G, R, 7, B[12]), G = Q(G, a, X, b, i, 12, B[13]), b = Q(b, G, a, X, h, 17, B[14]), X = Q(X, b, G, a, q, 22, B[15]), a = e(a, X, b, G, L, 5, B[16]), G = e(G, a, X, b, x, 9, B[17]), b = e(b, G, a, X, K, 14, B[18]), X = e(X, b, G, a, O, 20, B[19]), a = e(a, X, b, G, W, 5, B[20]), G = e(G, a, X, b, k, 9, B[21]), b = e(b, G, a, X, q, 14, B[22]), X = e(X, b, G, a, j, 20, B[23]), a = e(a, X, b, G, N, 5, B[24]), G = e(G, a, X, b, h, 9, B[25]), b = e(b, G, a, X, d, 14, B[26]), X = e(X, b, G, a, y, 20, B[27]), a = e(a, X, b, G, i, 5, B[28]), G = e(G, a, X, b, Z, 9, B[29]), b = e(b, G, a, X, u, 14, B[30]), X = e(X, b, G, a, R, 20, B[31]), a = f(a, X, b, G, W, 4, B[32]), G = f(G, a, X, b, y, 11, B[33]), b = f(b, G, a, X, K, 16, B[34]), X = f(X, b, G, a, h, 23, B[35]), a = f(a, X, b, G, L, 4, B[36]), G = f(G, a, X, b, j, 11, B[37]), b = f(b, G, a, X, u, 16, B[38]), X = f(X, b, G, a, k, 23, B[39]), a = f(a, X, b, G, i, 4, B[40]), G = f(G, a, X, b, O, 11, B[41]), b = f(b, G, a, X, d, 16, B[42]), X = f(X, b, G, a, x, 23, B[43]), a = f(a, X, b, G, N, 4, B[44]), G = f(G, a, X, b, R, 11, B[45]), b = f(b, G, a, X, q, 16, B[46]), X = f(X, b, G, a, Z, 23, B[47]), a = t(a, X, b, G, O, 6, B[48]), G = t(G, a, X, b, u, 10, B[49]), b = t(b, G, a, X, h, 15, B[50]), X = t(X, b, G, a, W, 21, B[51]), a = t(a, X, b, G, R, 6, B[52]), G = t(G, a, X, b, d, 10, B[53]), b = t(b, G, a, X, k, 15, B[54]), X = t(X, b, G, a, L, 21, B[55]), a = t(a, X, b, G, y, 6, B[56]), G = t(G, a, X, b, q, 10, B[57]), b = t(b, G, a, X, x, 15, B[58]), X = t(X, b, G, a, i, 21, B[59]), a = t(a, X, b, G, j, 6, B[60]), G = t(G, a, X, b, K, 10, B[61]), b = t(b, G, a, X, Z, 15, B[62]), X = t(X, b, G, a, N, 21, B[63]), r[0] = r[0] + a | 0, r[1] = r[1] + X | 0, r[2] = r[2] + b | 0, r[3] = r[3] + G | 0;
  1066. },
  1067. _doFinalize: function() {
  1068. var P = this._data, v = P.words, H = this._nDataBytes * 8, g = P.sigBytes * 8;
  1069. v[g >>> 5] |= 128 << 24 - g % 32;
  1070. var C = D.floor(H / 4294967296), r = H;
  1071. v[(g + 64 >>> 9 << 4) + 15] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, v[(g + 64 >>> 9 << 4) + 14] = (r << 8 | r >>> 24) & 16711935 | (r << 24 | r >>> 8) & 4278255360, P.sigBytes = (v.length + 1) * 4, this._process();
  1072. for (var O = this._hash, L = O.words, Z = 0; Z < 4; Z++) {
  1073. var d = L[Z];
  1074. L[Z] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360;
  1075. }
  1076. return O;
  1077. },
  1078. clone: function() {
  1079. var P = c.clone.call(this);
  1080. return P._hash = this._hash.clone(), P;
  1081. }
  1082. });
  1083. function Q(P, v, H, g, C, r, O) {
  1084. var L = P + (v & H | ~v & g) + C + O;
  1085. return (L << r | L >>> 32 - r) + v;
  1086. }
  1087. function e(P, v, H, g, C, r, O) {
  1088. var L = P + (v & g | H & ~g) + C + O;
  1089. return (L << r | L >>> 32 - r) + v;
  1090. }
  1091. function f(P, v, H, g, C, r, O) {
  1092. var L = P + (v ^ H ^ g) + C + O;
  1093. return (L << r | L >>> 32 - r) + v;
  1094. }
  1095. function t(P, v, H, g, C, r, O) {
  1096. var L = P + (H ^ (v | ~g)) + C + O;
  1097. return (L << r | L >>> 32 - r) + v;
  1098. }
  1099. w.MD5 = c._createHelper(s), w.HmacMD5 = c._createHmacHelper(s);
  1100. }(Math), A.MD5;
  1101. });
  1102. }(UA)), UA.exports;
  1103. }
  1104. var iA = { exports: {} }, hg;
  1105. function mB() {
  1106. return hg || (hg = 1, function(M, n) {
  1107. (function(A, D) {
  1108. M.exports = D(U());
  1109. })(I, function(A) {
  1110. return function() {
  1111. var D = A, w = D.lib, z = w.WordArray, l = w.Hasher, c = D.algo, Y = [], B = c.SHA1 = l.extend({
  1112. _doReset: function() {
  1113. this._hash = new z.init([
  1114. 1732584193,
  1115. 4023233417,
  1116. 2562383102,
  1117. 271733878,
  1118. 3285377520
  1119. ]);
  1120. },
  1121. _doProcessBlock: function(s, Q) {
  1122. for (var e = this._hash.words, f = e[0], t = e[1], P = e[2], v = e[3], H = e[4], g = 0; g < 80; g++) {
  1123. if (g < 16)
  1124. Y[g] = s[Q + g] | 0;
  1125. else {
  1126. var C = Y[g - 3] ^ Y[g - 8] ^ Y[g - 14] ^ Y[g - 16];
  1127. Y[g] = C << 1 | C >>> 31;
  1128. }
  1129. var r = (f << 5 | f >>> 27) + H + Y[g];
  1130. g < 20 ? r += (t & P | ~t & v) + 1518500249 : g < 40 ? r += (t ^ P ^ v) + 1859775393 : g < 60 ? r += (t & P | t & v | P & v) - 1894007588 : r += (t ^ P ^ v) - 899497514, H = v, v = P, P = t << 30 | t >>> 2, t = f, f = r;
  1131. }
  1132. e[0] = e[0] + f | 0, e[1] = e[1] + t | 0, e[2] = e[2] + P | 0, e[3] = e[3] + v | 0, e[4] = e[4] + H | 0;
  1133. },
  1134. _doFinalize: function() {
  1135. var s = this._data, Q = s.words, e = this._nDataBytes * 8, f = s.sigBytes * 8;
  1136. return Q[f >>> 5] |= 128 << 24 - f % 32, Q[(f + 64 >>> 9 << 4) + 14] = Math.floor(e / 4294967296), Q[(f + 64 >>> 9 << 4) + 15] = e, s.sigBytes = Q.length * 4, this._process(), this._hash;
  1137. },
  1138. clone: function() {
  1139. var s = l.clone.call(this);
  1140. return s._hash = this._hash.clone(), s;
  1141. }
  1142. });
  1143. D.SHA1 = l._createHelper(B), D.HmacSHA1 = l._createHmacHelper(B);
  1144. }(), A.SHA1;
  1145. });
  1146. }(iA)), iA.exports;
  1147. }
  1148. var qA = { exports: {} }, Rg;
  1149. function lg() {
  1150. return Rg || (Rg = 1, function(M, n) {
  1151. (function(A, D) {
  1152. M.exports = D(U());
  1153. })(I, function(A) {
  1154. return function(D) {
  1155. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = [], s = [];
  1156. (function() {
  1157. function f(H) {
  1158. for (var g = D.sqrt(H), C = 2; C <= g; C++)
  1159. if (!(H % C))
  1160. return !1;
  1161. return !0;
  1162. }
  1163. function t(H) {
  1164. return (H - (H | 0)) * 4294967296 | 0;
  1165. }
  1166. for (var P = 2, v = 0; v < 64; )
  1167. f(P) && (v < 8 && (B[v] = t(D.pow(P, 1 / 2))), s[v] = t(D.pow(P, 1 / 3)), v++), P++;
  1168. })();
  1169. var Q = [], e = Y.SHA256 = c.extend({
  1170. _doReset: function() {
  1171. this._hash = new l.init(B.slice(0));
  1172. },
  1173. _doProcessBlock: function(f, t) {
  1174. for (var P = this._hash.words, v = P[0], H = P[1], g = P[2], C = P[3], r = P[4], O = P[5], L = P[6], Z = P[7], d = 0; d < 64; d++) {
  1175. if (d < 16)
  1176. Q[d] = f[t + d] | 0;
  1177. else {
  1178. var j = Q[d - 15], W = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, x = Q[d - 2], u = (x << 15 | x >>> 17) ^ (x << 13 | x >>> 19) ^ x >>> 10;
  1179. Q[d] = W + Q[d - 7] + u + Q[d - 16];
  1180. }
  1181. var y = r & O ^ ~r & L, N = v & H ^ v & g ^ H & g, k = (v << 30 | v >>> 2) ^ (v << 19 | v >>> 13) ^ (v << 10 | v >>> 22), K = (r << 26 | r >>> 6) ^ (r << 21 | r >>> 11) ^ (r << 7 | r >>> 25), R = Z + K + y + s[d] + Q[d], i = k + N;
  1182. Z = L, L = O, O = r, r = C + R | 0, C = g, g = H, H = v, v = R + i | 0;
  1183. }
  1184. P[0] = P[0] + v | 0, P[1] = P[1] + H | 0, P[2] = P[2] + g | 0, P[3] = P[3] + C | 0, P[4] = P[4] + r | 0, P[5] = P[5] + O | 0, P[6] = P[6] + L | 0, P[7] = P[7] + Z | 0;
  1185. },
  1186. _doFinalize: function() {
  1187. var f = this._data, t = f.words, P = this._nDataBytes * 8, v = f.sigBytes * 8;
  1188. return t[v >>> 5] |= 128 << 24 - v % 32, t[(v + 64 >>> 9 << 4) + 14] = D.floor(P / 4294967296), t[(v + 64 >>> 9 << 4) + 15] = P, f.sigBytes = t.length * 4, this._process(), this._hash;
  1189. },
  1190. clone: function() {
  1191. var f = c.clone.call(this);
  1192. return f._hash = this._hash.clone(), f;
  1193. }
  1194. });
  1195. w.SHA256 = c._createHelper(e), w.HmacSHA256 = c._createHmacHelper(e);
  1196. }(Math), A.SHA256;
  1197. });
  1198. }(qA)), qA.exports;
  1199. }
  1200. var hA = { exports: {} }, _g;
  1201. function Vw() {
  1202. return _g || (_g = 1, function(M, n) {
  1203. (function(A, D, w) {
  1204. M.exports = D(U(), lg());
  1205. })(I, function(A) {
  1206. return function() {
  1207. var D = A, w = D.lib, z = w.WordArray, l = D.algo, c = l.SHA256, Y = l.SHA224 = c.extend({
  1208. _doReset: function() {
  1209. this._hash = new z.init([
  1210. 3238371032,
  1211. 914150663,
  1212. 812702999,
  1213. 4144912697,
  1214. 4290775857,
  1215. 1750603025,
  1216. 1694076839,
  1217. 3204075428
  1218. ]);
  1219. },
  1220. _doFinalize: function() {
  1221. var B = c._doFinalize.call(this);
  1222. return B.sigBytes -= 4, B;
  1223. }
  1224. });
  1225. D.SHA224 = c._createHelper(Y), D.HmacSHA224 = c._createHmacHelper(Y);
  1226. }(), A.SHA224;
  1227. });
  1228. }(hA)), hA.exports;
  1229. }
  1230. var RA = { exports: {} }, $g;
  1231. function kB() {
  1232. return $g || ($g = 1, function(M, n) {
  1233. (function(A, D, w) {
  1234. M.exports = D(U(), JA());
  1235. })(I, function(A) {
  1236. return function() {
  1237. var D = A, w = D.lib, z = w.Hasher, l = D.x64, c = l.Word, Y = l.WordArray, B = D.algo;
  1238. function s() {
  1239. return c.create.apply(c, arguments);
  1240. }
  1241. var Q = [
  1242. s(1116352408, 3609767458),
  1243. s(1899447441, 602891725),
  1244. s(3049323471, 3964484399),
  1245. s(3921009573, 2173295548),
  1246. s(961987163, 4081628472),
  1247. s(1508970993, 3053834265),
  1248. s(2453635748, 2937671579),
  1249. s(2870763221, 3664609560),
  1250. s(3624381080, 2734883394),
  1251. s(310598401, 1164996542),
  1252. s(607225278, 1323610764),
  1253. s(1426881987, 3590304994),
  1254. s(1925078388, 4068182383),
  1255. s(2162078206, 991336113),
  1256. s(2614888103, 633803317),
  1257. s(3248222580, 3479774868),
  1258. s(3835390401, 2666613458),
  1259. s(4022224774, 944711139),
  1260. s(264347078, 2341262773),
  1261. s(604807628, 2007800933),
  1262. s(770255983, 1495990901),
  1263. s(1249150122, 1856431235),
  1264. s(1555081692, 3175218132),
  1265. s(1996064986, 2198950837),
  1266. s(2554220882, 3999719339),
  1267. s(2821834349, 766784016),
  1268. s(2952996808, 2566594879),
  1269. s(3210313671, 3203337956),
  1270. s(3336571891, 1034457026),
  1271. s(3584528711, 2466948901),
  1272. s(113926993, 3758326383),
  1273. s(338241895, 168717936),
  1274. s(666307205, 1188179964),
  1275. s(773529912, 1546045734),
  1276. s(1294757372, 1522805485),
  1277. s(1396182291, 2643833823),
  1278. s(1695183700, 2343527390),
  1279. s(1986661051, 1014477480),
  1280. s(2177026350, 1206759142),
  1281. s(2456956037, 344077627),
  1282. s(2730485921, 1290863460),
  1283. s(2820302411, 3158454273),
  1284. s(3259730800, 3505952657),
  1285. s(3345764771, 106217008),
  1286. s(3516065817, 3606008344),
  1287. s(3600352804, 1432725776),
  1288. s(4094571909, 1467031594),
  1289. s(275423344, 851169720),
  1290. s(430227734, 3100823752),
  1291. s(506948616, 1363258195),
  1292. s(659060556, 3750685593),
  1293. s(883997877, 3785050280),
  1294. s(958139571, 3318307427),
  1295. s(1322822218, 3812723403),
  1296. s(1537002063, 2003034995),
  1297. s(1747873779, 3602036899),
  1298. s(1955562222, 1575990012),
  1299. s(2024104815, 1125592928),
  1300. s(2227730452, 2716904306),
  1301. s(2361852424, 442776044),
  1302. s(2428436474, 593698344),
  1303. s(2756734187, 3733110249),
  1304. s(3204031479, 2999351573),
  1305. s(3329325298, 3815920427),
  1306. s(3391569614, 3928383900),
  1307. s(3515267271, 566280711),
  1308. s(3940187606, 3454069534),
  1309. s(4118630271, 4000239992),
  1310. s(116418474, 1914138554),
  1311. s(174292421, 2731055270),
  1312. s(289380356, 3203993006),
  1313. s(460393269, 320620315),
  1314. s(685471733, 587496836),
  1315. s(852142971, 1086792851),
  1316. s(1017036298, 365543100),
  1317. s(1126000580, 2618297676),
  1318. s(1288033470, 3409855158),
  1319. s(1501505948, 4234509866),
  1320. s(1607167915, 987167468),
  1321. s(1816402316, 1246189591)
  1322. ], e = [];
  1323. (function() {
  1324. for (var t = 0; t < 80; t++)
  1325. e[t] = s();
  1326. })();
  1327. var f = B.SHA512 = z.extend({
  1328. _doReset: function() {
  1329. this._hash = new Y.init([
  1330. new c.init(1779033703, 4089235720),
  1331. new c.init(3144134277, 2227873595),
  1332. new c.init(1013904242, 4271175723),
  1333. new c.init(2773480762, 1595750129),
  1334. new c.init(1359893119, 2917565137),
  1335. new c.init(2600822924, 725511199),
  1336. new c.init(528734635, 4215389547),
  1337. new c.init(1541459225, 327033209)
  1338. ]);
  1339. },
  1340. _doProcessBlock: function(t, P) {
  1341. for (var v = this._hash.words, H = v[0], g = v[1], C = v[2], r = v[3], O = v[4], L = v[5], Z = v[6], d = v[7], j = H.high, W = H.low, x = g.high, u = g.low, y = C.high, N = C.low, k = r.high, K = r.low, R = O.high, i = O.low, h = L.high, q = L.low, a = Z.high, X = Z.low, b = d.high, G = d.low, S = j, p = W, _ = x, J = u, rA = y, fA = N, aA = k, WA = K, sA = R, wA = i, ZA = h, HA = q, bA = a, nA = X, uA = b, LA = G, CA = 0; CA < 80; CA++) {
  1342. var eA, zA, BA = e[CA];
  1343. if (CA < 16)
  1344. zA = BA.high = t[P + CA * 2] | 0, eA = BA.low = t[P + CA * 2 + 1] | 0;
  1345. else {
  1346. var ag = e[CA - 15], lA = ag.high, yA = ag.low, EB = (lA >>> 1 | yA << 31) ^ (lA >>> 8 | yA << 24) ^ lA >>> 7, ug = (yA >>> 1 | lA << 31) ^ (yA >>> 8 | lA << 24) ^ (yA >>> 7 | lA << 25), yg = e[CA - 2], GA = yg.high, XA = yg.low, IB = (GA >>> 19 | XA << 13) ^ (GA << 3 | XA >>> 29) ^ GA >>> 6, Xg = (XA >>> 19 | GA << 13) ^ (XA << 3 | GA >>> 29) ^ (XA >>> 6 | GA << 26), jg = e[CA - 7], pB = jg.high, TB = jg.low, Vg = e[CA - 16], SB = Vg.high, og = Vg.low;
  1347. eA = ug + TB, zA = EB + pB + (eA >>> 0 < ug >>> 0 ? 1 : 0), eA = eA + Xg, zA = zA + IB + (eA >>> 0 < Xg >>> 0 ? 1 : 0), eA = eA + og, zA = zA + SB + (eA >>> 0 < og >>> 0 ? 1 : 0), BA.high = zA, BA.low = eA;
  1348. }
  1349. var UB = sA & ZA ^ ~sA & bA, Fg = wA & HA ^ ~wA & nA, iB = S & _ ^ S & rA ^ _ & rA, qB = p & J ^ p & fA ^ J & fA, hB = (S >>> 28 | p << 4) ^ (S << 30 | p >>> 2) ^ (S << 25 | p >>> 7), Ng = (p >>> 28 | S << 4) ^ (p << 30 | S >>> 2) ^ (p << 25 | S >>> 7), RB = (sA >>> 14 | wA << 18) ^ (sA >>> 18 | wA << 14) ^ (sA << 23 | wA >>> 9), _B = (wA >>> 14 | sA << 18) ^ (wA >>> 18 | sA << 14) ^ (wA << 23 | sA >>> 9), mg = Q[CA], $B = mg.high, kg = mg.low, tA = LA + _B, cA = uA + RB + (tA >>> 0 < LA >>> 0 ? 1 : 0), tA = tA + Fg, cA = cA + UB + (tA >>> 0 < Fg >>> 0 ? 1 : 0), tA = tA + kg, cA = cA + $B + (tA >>> 0 < kg >>> 0 ? 1 : 0), tA = tA + eA, cA = cA + zA + (tA >>> 0 < eA >>> 0 ? 1 : 0), Jg = Ng + qB, Aw = hB + iB + (Jg >>> 0 < Ng >>> 0 ? 1 : 0);
  1350. uA = bA, LA = nA, bA = ZA, nA = HA, ZA = sA, HA = wA, wA = WA + tA | 0, sA = aA + cA + (wA >>> 0 < WA >>> 0 ? 1 : 0) | 0, aA = rA, WA = fA, rA = _, fA = J, _ = S, J = p, p = tA + Jg | 0, S = cA + Aw + (p >>> 0 < tA >>> 0 ? 1 : 0) | 0;
  1351. }
  1352. W = H.low = W + p, H.high = j + S + (W >>> 0 < p >>> 0 ? 1 : 0), u = g.low = u + J, g.high = x + _ + (u >>> 0 < J >>> 0 ? 1 : 0), N = C.low = N + fA, C.high = y + rA + (N >>> 0 < fA >>> 0 ? 1 : 0), K = r.low = K + WA, r.high = k + aA + (K >>> 0 < WA >>> 0 ? 1 : 0), i = O.low = i + wA, O.high = R + sA + (i >>> 0 < wA >>> 0 ? 1 : 0), q = L.low = q + HA, L.high = h + ZA + (q >>> 0 < HA >>> 0 ? 1 : 0), X = Z.low = X + nA, Z.high = a + bA + (X >>> 0 < nA >>> 0 ? 1 : 0), G = d.low = G + LA, d.high = b + uA + (G >>> 0 < LA >>> 0 ? 1 : 0);
  1353. },
  1354. _doFinalize: function() {
  1355. var t = this._data, P = t.words, v = this._nDataBytes * 8, H = t.sigBytes * 8;
  1356. P[H >>> 5] |= 128 << 24 - H % 32, P[(H + 128 >>> 10 << 5) + 30] = Math.floor(v / 4294967296), P[(H + 128 >>> 10 << 5) + 31] = v, t.sigBytes = P.length * 4, this._process();
  1357. var g = this._hash.toX32();
  1358. return g;
  1359. },
  1360. clone: function() {
  1361. var t = z.clone.call(this);
  1362. return t._hash = this._hash.clone(), t;
  1363. },
  1364. blockSize: 1024 / 32
  1365. });
  1366. D.SHA512 = z._createHelper(f), D.HmacSHA512 = z._createHmacHelper(f);
  1367. }(), A.SHA512;
  1368. });
  1369. }(RA)), RA.exports;
  1370. }
  1371. var _A = { exports: {} }, AB;
  1372. function ow() {
  1373. return AB || (AB = 1, function(M, n) {
  1374. (function(A, D, w) {
  1375. M.exports = D(U(), JA(), kB());
  1376. })(I, function(A) {
  1377. return function() {
  1378. var D = A, w = D.x64, z = w.Word, l = w.WordArray, c = D.algo, Y = c.SHA512, B = c.SHA384 = Y.extend({
  1379. _doReset: function() {
  1380. this._hash = new l.init([
  1381. new z.init(3418070365, 3238371032),
  1382. new z.init(1654270250, 914150663),
  1383. new z.init(2438529370, 812702999),
  1384. new z.init(355462360, 4144912697),
  1385. new z.init(1731405415, 4290775857),
  1386. new z.init(2394180231, 1750603025),
  1387. new z.init(3675008525, 1694076839),
  1388. new z.init(1203062813, 3204075428)
  1389. ]);
  1390. },
  1391. _doFinalize: function() {
  1392. var s = Y._doFinalize.call(this);
  1393. return s.sigBytes -= 16, s;
  1394. }
  1395. });
  1396. D.SHA384 = Y._createHelper(B), D.HmacSHA384 = Y._createHmacHelper(B);
  1397. }(), A.SHA384;
  1398. });
  1399. }(_A)), _A.exports;
  1400. }
  1401. var $A = { exports: {} }, gB;
  1402. function Fw() {
  1403. return gB || (gB = 1, function(M, n) {
  1404. (function(A, D, w) {
  1405. M.exports = D(U(), JA());
  1406. })(I, function(A) {
  1407. return function(D) {
  1408. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.x64, B = Y.Word, s = w.algo, Q = [], e = [], f = [];
  1409. (function() {
  1410. for (var v = 1, H = 0, g = 0; g < 24; g++) {
  1411. Q[v + 5 * H] = (g + 1) * (g + 2) / 2 % 64;
  1412. var C = H % 5, r = (2 * v + 3 * H) % 5;
  1413. v = C, H = r;
  1414. }
  1415. for (var v = 0; v < 5; v++)
  1416. for (var H = 0; H < 5; H++)
  1417. e[v + 5 * H] = H + (2 * v + 3 * H) % 5 * 5;
  1418. for (var O = 1, L = 0; L < 24; L++) {
  1419. for (var Z = 0, d = 0, j = 0; j < 7; j++) {
  1420. if (O & 1) {
  1421. var W = (1 << j) - 1;
  1422. W < 32 ? d ^= 1 << W : Z ^= 1 << W - 32;
  1423. }
  1424. O & 128 ? O = O << 1 ^ 113 : O <<= 1;
  1425. }
  1426. f[L] = B.create(Z, d);
  1427. }
  1428. })();
  1429. var t = [];
  1430. (function() {
  1431. for (var v = 0; v < 25; v++)
  1432. t[v] = B.create();
  1433. })();
  1434. var P = s.SHA3 = c.extend({
  1435. /**
  1436. * Configuration options.
  1437. *
  1438. * @property {number} outputLength
  1439. * The desired number of bits in the output hash.
  1440. * Only values permitted are: 224, 256, 384, 512.
  1441. * Default: 512
  1442. */
  1443. cfg: c.cfg.extend({
  1444. outputLength: 512
  1445. }),
  1446. _doReset: function() {
  1447. for (var v = this._state = [], H = 0; H < 25; H++)
  1448. v[H] = new B.init();
  1449. this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
  1450. },
  1451. _doProcessBlock: function(v, H) {
  1452. for (var g = this._state, C = this.blockSize / 2, r = 0; r < C; r++) {
  1453. var O = v[H + 2 * r], L = v[H + 2 * r + 1];
  1454. O = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360, L = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360;
  1455. var Z = g[r];
  1456. Z.high ^= L, Z.low ^= O;
  1457. }
  1458. for (var d = 0; d < 24; d++) {
  1459. for (var j = 0; j < 5; j++) {
  1460. for (var W = 0, x = 0, u = 0; u < 5; u++) {
  1461. var Z = g[j + 5 * u];
  1462. W ^= Z.high, x ^= Z.low;
  1463. }
  1464. var y = t[j];
  1465. y.high = W, y.low = x;
  1466. }
  1467. for (var j = 0; j < 5; j++)
  1468. for (var N = t[(j + 4) % 5], k = t[(j + 1) % 5], K = k.high, R = k.low, W = N.high ^ (K << 1 | R >>> 31), x = N.low ^ (R << 1 | K >>> 31), u = 0; u < 5; u++) {
  1469. var Z = g[j + 5 * u];
  1470. Z.high ^= W, Z.low ^= x;
  1471. }
  1472. for (var i = 1; i < 25; i++) {
  1473. var W, x, Z = g[i], h = Z.high, q = Z.low, a = Q[i];
  1474. a < 32 ? (W = h << a | q >>> 32 - a, x = q << a | h >>> 32 - a) : (W = q << a - 32 | h >>> 64 - a, x = h << a - 32 | q >>> 64 - a);
  1475. var X = t[e[i]];
  1476. X.high = W, X.low = x;
  1477. }
  1478. var b = t[0], G = g[0];
  1479. b.high = G.high, b.low = G.low;
  1480. for (var j = 0; j < 5; j++)
  1481. for (var u = 0; u < 5; u++) {
  1482. var i = j + 5 * u, Z = g[i], S = t[i], p = t[(j + 1) % 5 + 5 * u], _ = t[(j + 2) % 5 + 5 * u];
  1483. Z.high = S.high ^ ~p.high & _.high, Z.low = S.low ^ ~p.low & _.low;
  1484. }
  1485. var Z = g[0], J = f[d];
  1486. Z.high ^= J.high, Z.low ^= J.low;
  1487. }
  1488. },
  1489. _doFinalize: function() {
  1490. var v = this._data, H = v.words;
  1491. this._nDataBytes * 8;
  1492. var g = v.sigBytes * 8, C = this.blockSize * 32;
  1493. H[g >>> 5] |= 1 << 24 - g % 32, H[(D.ceil((g + 1) / C) * C >>> 5) - 1] |= 128, v.sigBytes = H.length * 4, this._process();
  1494. for (var r = this._state, O = this.cfg.outputLength / 8, L = O / 8, Z = [], d = 0; d < L; d++) {
  1495. var j = r[d], W = j.high, x = j.low;
  1496. W = (W << 8 | W >>> 24) & 16711935 | (W << 24 | W >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, Z.push(x), Z.push(W);
  1497. }
  1498. return new l.init(Z, O);
  1499. },
  1500. clone: function() {
  1501. for (var v = c.clone.call(this), H = v._state = this._state.slice(0), g = 0; g < 25; g++)
  1502. H[g] = H[g].clone();
  1503. return v;
  1504. }
  1505. });
  1506. w.SHA3 = c._createHelper(P), w.HmacSHA3 = c._createHmacHelper(P);
  1507. }(Math), A.SHA3;
  1508. });
  1509. }($A)), $A.exports;
  1510. }
  1511. var Ag = { exports: {} }, BB;
  1512. function Nw() {
  1513. return BB || (BB = 1, function(M, n) {
  1514. (function(A, D) {
  1515. M.exports = D(U());
  1516. })(I, function(A) {
  1517. /** @preserve
  1518. (c) 2012 by Cédric Mesnil. All rights reserved.
  1519. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  1520. - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  1521. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  1522. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  1523. */
  1524. return function(D) {
  1525. var w = A, z = w.lib, l = z.WordArray, c = z.Hasher, Y = w.algo, B = l.create([
  1526. 0,
  1527. 1,
  1528. 2,
  1529. 3,
  1530. 4,
  1531. 5,
  1532. 6,
  1533. 7,
  1534. 8,
  1535. 9,
  1536. 10,
  1537. 11,
  1538. 12,
  1539. 13,
  1540. 14,
  1541. 15,
  1542. 7,
  1543. 4,
  1544. 13,
  1545. 1,
  1546. 10,
  1547. 6,
  1548. 15,
  1549. 3,
  1550. 12,
  1551. 0,
  1552. 9,
  1553. 5,
  1554. 2,
  1555. 14,
  1556. 11,
  1557. 8,
  1558. 3,
  1559. 10,
  1560. 14,
  1561. 4,
  1562. 9,
  1563. 15,
  1564. 8,
  1565. 1,
  1566. 2,
  1567. 7,
  1568. 0,
  1569. 6,
  1570. 13,
  1571. 11,
  1572. 5,
  1573. 12,
  1574. 1,
  1575. 9,
  1576. 11,
  1577. 10,
  1578. 0,
  1579. 8,
  1580. 12,
  1581. 4,
  1582. 13,
  1583. 3,
  1584. 7,
  1585. 15,
  1586. 14,
  1587. 5,
  1588. 6,
  1589. 2,
  1590. 4,
  1591. 0,
  1592. 5,
  1593. 9,
  1594. 7,
  1595. 12,
  1596. 2,
  1597. 10,
  1598. 14,
  1599. 1,
  1600. 3,
  1601. 8,
  1602. 11,
  1603. 6,
  1604. 15,
  1605. 13
  1606. ]), s = l.create([
  1607. 5,
  1608. 14,
  1609. 7,
  1610. 0,
  1611. 9,
  1612. 2,
  1613. 11,
  1614. 4,
  1615. 13,
  1616. 6,
  1617. 15,
  1618. 8,
  1619. 1,
  1620. 10,
  1621. 3,
  1622. 12,
  1623. 6,
  1624. 11,
  1625. 3,
  1626. 7,
  1627. 0,
  1628. 13,
  1629. 5,
  1630. 10,
  1631. 14,
  1632. 15,
  1633. 8,
  1634. 12,
  1635. 4,
  1636. 9,
  1637. 1,
  1638. 2,
  1639. 15,
  1640. 5,
  1641. 1,
  1642. 3,
  1643. 7,
  1644. 14,
  1645. 6,
  1646. 9,
  1647. 11,
  1648. 8,
  1649. 12,
  1650. 2,
  1651. 10,
  1652. 0,
  1653. 4,
  1654. 13,
  1655. 8,
  1656. 6,
  1657. 4,
  1658. 1,
  1659. 3,
  1660. 11,
  1661. 15,
  1662. 0,
  1663. 5,
  1664. 12,
  1665. 2,
  1666. 13,
  1667. 9,
  1668. 7,
  1669. 10,
  1670. 14,
  1671. 12,
  1672. 15,
  1673. 10,
  1674. 4,
  1675. 1,
  1676. 5,
  1677. 8,
  1678. 7,
  1679. 6,
  1680. 2,
  1681. 13,
  1682. 14,
  1683. 0,
  1684. 3,
  1685. 9,
  1686. 11
  1687. ]), Q = l.create([
  1688. 11,
  1689. 14,
  1690. 15,
  1691. 12,
  1692. 5,
  1693. 8,
  1694. 7,
  1695. 9,
  1696. 11,
  1697. 13,
  1698. 14,
  1699. 15,
  1700. 6,
  1701. 7,
  1702. 9,
  1703. 8,
  1704. 7,
  1705. 6,
  1706. 8,
  1707. 13,
  1708. 11,
  1709. 9,
  1710. 7,
  1711. 15,
  1712. 7,
  1713. 12,
  1714. 15,
  1715. 9,
  1716. 11,
  1717. 7,
  1718. 13,
  1719. 12,
  1720. 11,
  1721. 13,
  1722. 6,
  1723. 7,
  1724. 14,
  1725. 9,
  1726. 13,
  1727. 15,
  1728. 14,
  1729. 8,
  1730. 13,
  1731. 6,
  1732. 5,
  1733. 12,
  1734. 7,
  1735. 5,
  1736. 11,
  1737. 12,
  1738. 14,
  1739. 15,
  1740. 14,
  1741. 15,
  1742. 9,
  1743. 8,
  1744. 9,
  1745. 14,
  1746. 5,
  1747. 6,
  1748. 8,
  1749. 6,
  1750. 5,
  1751. 12,
  1752. 9,
  1753. 15,
  1754. 5,
  1755. 11,
  1756. 6,
  1757. 8,
  1758. 13,
  1759. 12,
  1760. 5,
  1761. 12,
  1762. 13,
  1763. 14,
  1764. 11,
  1765. 8,
  1766. 5,
  1767. 6
  1768. ]), e = l.create([
  1769. 8,
  1770. 9,
  1771. 9,
  1772. 11,
  1773. 13,
  1774. 15,
  1775. 15,
  1776. 5,
  1777. 7,
  1778. 7,
  1779. 8,
  1780. 11,
  1781. 14,
  1782. 14,
  1783. 12,
  1784. 6,
  1785. 9,
  1786. 13,
  1787. 15,
  1788. 7,
  1789. 12,
  1790. 8,
  1791. 9,
  1792. 11,
  1793. 7,
  1794. 7,
  1795. 12,
  1796. 7,
  1797. 6,
  1798. 15,
  1799. 13,
  1800. 11,
  1801. 9,
  1802. 7,
  1803. 15,
  1804. 11,
  1805. 8,
  1806. 6,
  1807. 6,
  1808. 14,
  1809. 12,
  1810. 13,
  1811. 5,
  1812. 14,
  1813. 13,
  1814. 13,
  1815. 7,
  1816. 5,
  1817. 15,
  1818. 5,
  1819. 8,
  1820. 11,
  1821. 14,
  1822. 14,
  1823. 6,
  1824. 14,
  1825. 6,
  1826. 9,
  1827. 12,
  1828. 9,
  1829. 12,
  1830. 5,
  1831. 15,
  1832. 8,
  1833. 8,
  1834. 5,
  1835. 12,
  1836. 9,
  1837. 12,
  1838. 5,
  1839. 14,
  1840. 6,
  1841. 8,
  1842. 13,
  1843. 6,
  1844. 5,
  1845. 15,
  1846. 13,
  1847. 11,
  1848. 11
  1849. ]), f = l.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), t = l.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), P = Y.RIPEMD160 = c.extend({
  1850. _doReset: function() {
  1851. this._hash = l.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
  1852. },
  1853. _doProcessBlock: function(L, Z) {
  1854. for (var d = 0; d < 16; d++) {
  1855. var j = Z + d, W = L[j];
  1856. L[j] = (W << 8 | W >>> 24) & 16711935 | (W << 24 | W >>> 8) & 4278255360;
  1857. }
  1858. var x = this._hash.words, u = f.words, y = t.words, N = B.words, k = s.words, K = Q.words, R = e.words, i, h, q, a, X, b, G, S, p, _;
  1859. b = i = x[0], G = h = x[1], S = q = x[2], p = a = x[3], _ = X = x[4];
  1860. for (var J, d = 0; d < 80; d += 1)
  1861. J = i + L[Z + N[d]] | 0, d < 16 ? J += v(h, q, a) + u[0] : d < 32 ? J += H(h, q, a) + u[1] : d < 48 ? J += g(h, q, a) + u[2] : d < 64 ? J += C(h, q, a) + u[3] : J += r(h, q, a) + u[4], J = J | 0, J = O(J, K[d]), J = J + X | 0, i = X, X = a, a = O(q, 10), q = h, h = J, J = b + L[Z + k[d]] | 0, d < 16 ? J += r(G, S, p) + y[0] : d < 32 ? J += C(G, S, p) + y[1] : d < 48 ? J += g(G, S, p) + y[2] : d < 64 ? J += H(G, S, p) + y[3] : J += v(G, S, p) + y[4], J = J | 0, J = O(J, R[d]), J = J + _ | 0, b = _, _ = p, p = O(S, 10), S = G, G = J;
  1862. J = x[1] + q + p | 0, x[1] = x[2] + a + _ | 0, x[2] = x[3] + X + b | 0, x[3] = x[4] + i + G | 0, x[4] = x[0] + h + S | 0, x[0] = J;
  1863. },
  1864. _doFinalize: function() {
  1865. var L = this._data, Z = L.words, d = this._nDataBytes * 8, j = L.sigBytes * 8;
  1866. Z[j >>> 5] |= 128 << 24 - j % 32, Z[(j + 64 >>> 9 << 4) + 14] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, L.sigBytes = (Z.length + 1) * 4, this._process();
  1867. for (var W = this._hash, x = W.words, u = 0; u < 5; u++) {
  1868. var y = x[u];
  1869. x[u] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
  1870. }
  1871. return W;
  1872. },
  1873. clone: function() {
  1874. var L = c.clone.call(this);
  1875. return L._hash = this._hash.clone(), L;
  1876. }
  1877. });
  1878. function v(L, Z, d) {
  1879. return L ^ Z ^ d;
  1880. }
  1881. function H(L, Z, d) {
  1882. return L & Z | ~L & d;
  1883. }
  1884. function g(L, Z, d) {
  1885. return (L | ~Z) ^ d;
  1886. }
  1887. function C(L, Z, d) {
  1888. return L & d | Z & ~d;
  1889. }
  1890. function r(L, Z, d) {
  1891. return L ^ (Z | ~d);
  1892. }
  1893. function O(L, Z) {
  1894. return L << Z | L >>> 32 - Z;
  1895. }
  1896. w.RIPEMD160 = c._createHelper(P), w.HmacRIPEMD160 = c._createHmacHelper(P);
  1897. }(), A.RIPEMD160;
  1898. });
  1899. }(Ag)), Ag.exports;
  1900. }
  1901. var gg = { exports: {} }, wB;
  1902. function Gg() {
  1903. return wB || (wB = 1, function(M, n) {
  1904. (function(A, D) {
  1905. M.exports = D(U());
  1906. })(I, function(A) {
  1907. (function() {
  1908. var D = A, w = D.lib, z = w.Base, l = D.enc, c = l.Utf8, Y = D.algo;
  1909. Y.HMAC = z.extend({
  1910. /**
  1911. * Initializes a newly created HMAC.
  1912. *
  1913. * @param {Hasher} hasher The hash algorithm to use.
  1914. * @param {WordArray|string} key The secret key.
  1915. *
  1916. * @example
  1917. *
  1918. * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
  1919. */
  1920. init: function(B, s) {
  1921. B = this._hasher = new B.init(), typeof s == "string" && (s = c.parse(s));
  1922. var Q = B.blockSize, e = Q * 4;
  1923. s.sigBytes > e && (s = B.finalize(s)), s.clamp();
  1924. for (var f = this._oKey = s.clone(), t = this._iKey = s.clone(), P = f.words, v = t.words, H = 0; H < Q; H++)
  1925. P[H] ^= 1549556828, v[H] ^= 909522486;
  1926. f.sigBytes = t.sigBytes = e, this.reset();
  1927. },
  1928. /**
  1929. * Resets this HMAC to its initial state.
  1930. *
  1931. * @example
  1932. *
  1933. * hmacHasher.reset();
  1934. */
  1935. reset: function() {
  1936. var B = this._hasher;
  1937. B.reset(), B.update(this._iKey);
  1938. },
  1939. /**
  1940. * Updates this HMAC with a message.
  1941. *
  1942. * @param {WordArray|string} messageUpdate The message to append.
  1943. *
  1944. * @return {HMAC} This HMAC instance.
  1945. *
  1946. * @example
  1947. *
  1948. * hmacHasher.update('message');
  1949. * hmacHasher.update(wordArray);
  1950. */
  1951. update: function(B) {
  1952. return this._hasher.update(B), this;
  1953. },
  1954. /**
  1955. * Finalizes the HMAC computation.
  1956. * Note that the finalize operation is effectively a destructive, read-once operation.
  1957. *
  1958. * @param {WordArray|string} messageUpdate (Optional) A final message update.
  1959. *
  1960. * @return {WordArray} The HMAC.
  1961. *
  1962. * @example
  1963. *
  1964. * var hmac = hmacHasher.finalize();
  1965. * var hmac = hmacHasher.finalize('message');
  1966. * var hmac = hmacHasher.finalize(wordArray);
  1967. */
  1968. finalize: function(B) {
  1969. var s = this._hasher, Q = s.finalize(B);
  1970. s.reset();
  1971. var e = s.finalize(this._oKey.clone().concat(Q));
  1972. return e;
  1973. }
  1974. });
  1975. })();
  1976. });
  1977. }(gg)), gg.exports;
  1978. }
  1979. var Bg = { exports: {} }, DB;
  1980. function mw() {
  1981. return DB || (DB = 1, function(M, n) {
  1982. (function(A, D, w) {
  1983. M.exports = D(U(), lg(), Gg());
  1984. })(I, function(A) {
  1985. return function() {
  1986. var D = A, w = D.lib, z = w.Base, l = w.WordArray, c = D.algo, Y = c.SHA256, B = c.HMAC, s = c.PBKDF2 = z.extend({
  1987. /**
  1988. * Configuration options.
  1989. *
  1990. * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
  1991. * @property {Hasher} hasher The hasher to use. Default: SHA256
  1992. * @property {number} iterations The number of iterations to perform. Default: 250000
  1993. */
  1994. cfg: z.extend({
  1995. keySize: 128 / 32,
  1996. hasher: Y,
  1997. iterations: 25e4
  1998. }),
  1999. /**
  2000. * Initializes a newly created key derivation function.
  2001. *
  2002. * @param {Object} cfg (Optional) The configuration options to use for the derivation.
  2003. *
  2004. * @example
  2005. *
  2006. * var kdf = CryptoJS.algo.PBKDF2.create();
  2007. * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
  2008. * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
  2009. */
  2010. init: function(Q) {
  2011. this.cfg = this.cfg.extend(Q);
  2012. },
  2013. /**
  2014. * Computes the Password-Based Key Derivation Function 2.
  2015. *
  2016. * @param {WordArray|string} password The password.
  2017. * @param {WordArray|string} salt A salt.
  2018. *
  2019. * @return {WordArray} The derived key.
  2020. *
  2021. * @example
  2022. *
  2023. * var key = kdf.compute(password, salt);
  2024. */
  2025. compute: function(Q, e) {
  2026. for (var f = this.cfg, t = B.create(f.hasher, Q), P = l.create(), v = l.create([1]), H = P.words, g = v.words, C = f.keySize, r = f.iterations; H.length < C; ) {
  2027. var O = t.update(e).finalize(v);
  2028. t.reset();
  2029. for (var L = O.words, Z = L.length, d = O, j = 1; j < r; j++) {
  2030. d = t.finalize(d), t.reset();
  2031. for (var W = d.words, x = 0; x < Z; x++)
  2032. L[x] ^= W[x];
  2033. }
  2034. P.concat(O), g[0]++;
  2035. }
  2036. return P.sigBytes = C * 4, P;
  2037. }
  2038. });
  2039. D.PBKDF2 = function(Q, e, f) {
  2040. return s.create(f).compute(Q, e);
  2041. };
  2042. }(), A.PBKDF2;
  2043. });
  2044. }(Bg)), Bg.exports;
  2045. }
  2046. var wg = { exports: {} }, sB;
  2047. function QA() {
  2048. return sB || (sB = 1, function(M, n) {
  2049. (function(A, D, w) {
  2050. M.exports = D(U(), mB(), Gg());
  2051. })(I, function(A) {
  2052. return function() {
  2053. var D = A, w = D.lib, z = w.Base, l = w.WordArray, c = D.algo, Y = c.MD5, B = c.EvpKDF = z.extend({
  2054. /**
  2055. * Configuration options.
  2056. *
  2057. * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
  2058. * @property {Hasher} hasher The hash algorithm to use. Default: MD5
  2059. * @property {number} iterations The number of iterations to perform. Default: 1
  2060. */
  2061. cfg: z.extend({
  2062. keySize: 128 / 32,
  2063. hasher: Y,
  2064. iterations: 1
  2065. }),
  2066. /**
  2067. * Initializes a newly created key derivation function.
  2068. *
  2069. * @param {Object} cfg (Optional) The configuration options to use for the derivation.
  2070. *
  2071. * @example
  2072. *
  2073. * var kdf = CryptoJS.algo.EvpKDF.create();
  2074. * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
  2075. * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
  2076. */
  2077. init: function(s) {
  2078. this.cfg = this.cfg.extend(s);
  2079. },
  2080. /**
  2081. * Derives a key from a password.
  2082. *
  2083. * @param {WordArray|string} password The password.
  2084. * @param {WordArray|string} salt A salt.
  2085. *
  2086. * @return {WordArray} The derived key.
  2087. *
  2088. * @example
  2089. *
  2090. * var key = kdf.compute(password, salt);
  2091. */
  2092. compute: function(s, Q) {
  2093. for (var e, f = this.cfg, t = f.hasher.create(), P = l.create(), v = P.words, H = f.keySize, g = f.iterations; v.length < H; ) {
  2094. e && t.update(e), e = t.update(s).finalize(Q), t.reset();
  2095. for (var C = 1; C < g; C++)
  2096. e = t.finalize(e), t.reset();
  2097. P.concat(e);
  2098. }
  2099. return P.sigBytes = H * 4, P;
  2100. }
  2101. });
  2102. D.EvpKDF = function(s, Q, e) {
  2103. return B.create(e).compute(s, Q);
  2104. };
  2105. }(), A.EvpKDF;
  2106. });
  2107. }(wg)), wg.exports;
  2108. }
  2109. var Dg = { exports: {} }, eB;
  2110. function gA() {
  2111. return eB || (eB = 1, function(M, n) {
  2112. (function(A, D, w) {
  2113. M.exports = D(U(), QA());
  2114. })(I, function(A) {
  2115. A.lib.Cipher || function(D) {
  2116. var w = A, z = w.lib, l = z.Base, c = z.WordArray, Y = z.BufferedBlockAlgorithm, B = w.enc;
  2117. B.Utf8;
  2118. var s = B.Base64, Q = w.algo, e = Q.EvpKDF, f = z.Cipher = Y.extend({
  2119. /**
  2120. * Configuration options.
  2121. *
  2122. * @property {WordArray} iv The IV to use for this operation.
  2123. */
  2124. cfg: l.extend(),
  2125. /**
  2126. * Creates this cipher in encryption mode.
  2127. *
  2128. * @param {WordArray} key The key.
  2129. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2130. *
  2131. * @return {Cipher} A cipher instance.
  2132. *
  2133. * @static
  2134. *
  2135. * @example
  2136. *
  2137. * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
  2138. */
  2139. createEncryptor: function(W, x) {
  2140. return this.create(this._ENC_XFORM_MODE, W, x);
  2141. },
  2142. /**
  2143. * Creates this cipher in decryption mode.
  2144. *
  2145. * @param {WordArray} key The key.
  2146. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2147. *
  2148. * @return {Cipher} A cipher instance.
  2149. *
  2150. * @static
  2151. *
  2152. * @example
  2153. *
  2154. * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
  2155. */
  2156. createDecryptor: function(W, x) {
  2157. return this.create(this._DEC_XFORM_MODE, W, x);
  2158. },
  2159. /**
  2160. * Initializes a newly created cipher.
  2161. *
  2162. * @param {number} xformMode Either the encryption or decryption transormation mode constant.
  2163. * @param {WordArray} key The key.
  2164. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2165. *
  2166. * @example
  2167. *
  2168. * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
  2169. */
  2170. init: function(W, x, u) {
  2171. this.cfg = this.cfg.extend(u), this._xformMode = W, this._key = x, this.reset();
  2172. },
  2173. /**
  2174. * Resets this cipher to its initial state.
  2175. *
  2176. * @example
  2177. *
  2178. * cipher.reset();
  2179. */
  2180. reset: function() {
  2181. Y.reset.call(this), this._doReset();
  2182. },
  2183. /**
  2184. * Adds data to be encrypted or decrypted.
  2185. *
  2186. * @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
  2187. *
  2188. * @return {WordArray} The data after processing.
  2189. *
  2190. * @example
  2191. *
  2192. * var encrypted = cipher.process('data');
  2193. * var encrypted = cipher.process(wordArray);
  2194. */
  2195. process: function(W) {
  2196. return this._append(W), this._process();
  2197. },
  2198. /**
  2199. * Finalizes the encryption or decryption process.
  2200. * Note that the finalize operation is effectively a destructive, read-once operation.
  2201. *
  2202. * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
  2203. *
  2204. * @return {WordArray} The data after final processing.
  2205. *
  2206. * @example
  2207. *
  2208. * var encrypted = cipher.finalize();
  2209. * var encrypted = cipher.finalize('data');
  2210. * var encrypted = cipher.finalize(wordArray);
  2211. */
  2212. finalize: function(W) {
  2213. W && this._append(W);
  2214. var x = this._doFinalize();
  2215. return x;
  2216. },
  2217. keySize: 128 / 32,
  2218. ivSize: 128 / 32,
  2219. _ENC_XFORM_MODE: 1,
  2220. _DEC_XFORM_MODE: 2,
  2221. /**
  2222. * Creates shortcut functions to a cipher's object interface.
  2223. *
  2224. * @param {Cipher} cipher The cipher to create a helper for.
  2225. *
  2226. * @return {Object} An object with encrypt and decrypt shortcut functions.
  2227. *
  2228. * @static
  2229. *
  2230. * @example
  2231. *
  2232. * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
  2233. */
  2234. _createHelper: /* @__PURE__ */ function() {
  2235. function W(x) {
  2236. return typeof x == "string" ? j : L;
  2237. }
  2238. return function(x) {
  2239. return {
  2240. encrypt: function(u, y, N) {
  2241. return W(y).encrypt(x, u, y, N);
  2242. },
  2243. decrypt: function(u, y, N) {
  2244. return W(y).decrypt(x, u, y, N);
  2245. }
  2246. };
  2247. };
  2248. }()
  2249. });
  2250. z.StreamCipher = f.extend({
  2251. _doFinalize: function() {
  2252. var W = this._process(!0);
  2253. return W;
  2254. },
  2255. blockSize: 1
  2256. });
  2257. var t = w.mode = {}, P = z.BlockCipherMode = l.extend({
  2258. /**
  2259. * Creates this mode for encryption.
  2260. *
  2261. * @param {Cipher} cipher A block cipher instance.
  2262. * @param {Array} iv The IV words.
  2263. *
  2264. * @static
  2265. *
  2266. * @example
  2267. *
  2268. * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
  2269. */
  2270. createEncryptor: function(W, x) {
  2271. return this.Encryptor.create(W, x);
  2272. },
  2273. /**
  2274. * Creates this mode for decryption.
  2275. *
  2276. * @param {Cipher} cipher A block cipher instance.
  2277. * @param {Array} iv The IV words.
  2278. *
  2279. * @static
  2280. *
  2281. * @example
  2282. *
  2283. * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
  2284. */
  2285. createDecryptor: function(W, x) {
  2286. return this.Decryptor.create(W, x);
  2287. },
  2288. /**
  2289. * Initializes a newly created mode.
  2290. *
  2291. * @param {Cipher} cipher A block cipher instance.
  2292. * @param {Array} iv The IV words.
  2293. *
  2294. * @example
  2295. *
  2296. * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
  2297. */
  2298. init: function(W, x) {
  2299. this._cipher = W, this._iv = x;
  2300. }
  2301. }), v = t.CBC = function() {
  2302. var W = P.extend();
  2303. W.Encryptor = W.extend({
  2304. /**
  2305. * Processes the data block at offset.
  2306. *
  2307. * @param {Array} words The data words to operate on.
  2308. * @param {number} offset The offset where the block starts.
  2309. *
  2310. * @example
  2311. *
  2312. * mode.processBlock(data.words, offset);
  2313. */
  2314. processBlock: function(u, y) {
  2315. var N = this._cipher, k = N.blockSize;
  2316. x.call(this, u, y, k), N.encryptBlock(u, y), this._prevBlock = u.slice(y, y + k);
  2317. }
  2318. }), W.Decryptor = W.extend({
  2319. /**
  2320. * Processes the data block at offset.
  2321. *
  2322. * @param {Array} words The data words to operate on.
  2323. * @param {number} offset The offset where the block starts.
  2324. *
  2325. * @example
  2326. *
  2327. * mode.processBlock(data.words, offset);
  2328. */
  2329. processBlock: function(u, y) {
  2330. var N = this._cipher, k = N.blockSize, K = u.slice(y, y + k);
  2331. N.decryptBlock(u, y), x.call(this, u, y, k), this._prevBlock = K;
  2332. }
  2333. });
  2334. function x(u, y, N) {
  2335. var k, K = this._iv;
  2336. K ? (k = K, this._iv = D) : k = this._prevBlock;
  2337. for (var R = 0; R < N; R++)
  2338. u[y + R] ^= k[R];
  2339. }
  2340. return W;
  2341. }(), H = w.pad = {}, g = H.Pkcs7 = {
  2342. /**
  2343. * Pads data using the algorithm defined in PKCS #5/7.
  2344. *
  2345. * @param {WordArray} data The data to pad.
  2346. * @param {number} blockSize The multiple that the data should be padded to.
  2347. *
  2348. * @static
  2349. *
  2350. * @example
  2351. *
  2352. * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
  2353. */
  2354. pad: function(W, x) {
  2355. for (var u = x * 4, y = u - W.sigBytes % u, N = y << 24 | y << 16 | y << 8 | y, k = [], K = 0; K < y; K += 4)
  2356. k.push(N);
  2357. var R = c.create(k, y);
  2358. W.concat(R);
  2359. },
  2360. /**
  2361. * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
  2362. *
  2363. * @param {WordArray} data The data to unpad.
  2364. *
  2365. * @static
  2366. *
  2367. * @example
  2368. *
  2369. * CryptoJS.pad.Pkcs7.unpad(wordArray);
  2370. */
  2371. unpad: function(W) {
  2372. var x = W.words[W.sigBytes - 1 >>> 2] & 255;
  2373. W.sigBytes -= x;
  2374. }
  2375. };
  2376. z.BlockCipher = f.extend({
  2377. /**
  2378. * Configuration options.
  2379. *
  2380. * @property {Mode} mode The block mode to use. Default: CBC
  2381. * @property {Padding} padding The padding strategy to use. Default: Pkcs7
  2382. */
  2383. cfg: f.cfg.extend({
  2384. mode: v,
  2385. padding: g
  2386. }),
  2387. reset: function() {
  2388. var W;
  2389. f.reset.call(this);
  2390. var x = this.cfg, u = x.iv, y = x.mode;
  2391. this._xformMode == this._ENC_XFORM_MODE ? W = y.createEncryptor : (W = y.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == W ? this._mode.init(this, u && u.words) : (this._mode = W.call(y, this, u && u.words), this._mode.__creator = W);
  2392. },
  2393. _doProcessBlock: function(W, x) {
  2394. this._mode.processBlock(W, x);
  2395. },
  2396. _doFinalize: function() {
  2397. var W, x = this.cfg.padding;
  2398. return this._xformMode == this._ENC_XFORM_MODE ? (x.pad(this._data, this.blockSize), W = this._process(!0)) : (W = this._process(!0), x.unpad(W)), W;
  2399. },
  2400. blockSize: 128 / 32
  2401. });
  2402. var C = z.CipherParams = l.extend({
  2403. /**
  2404. * Initializes a newly created cipher params object.
  2405. *
  2406. * @param {Object} cipherParams An object with any of the possible cipher parameters.
  2407. *
  2408. * @example
  2409. *
  2410. * var cipherParams = CryptoJS.lib.CipherParams.create({
  2411. * ciphertext: ciphertextWordArray,
  2412. * key: keyWordArray,
  2413. * iv: ivWordArray,
  2414. * salt: saltWordArray,
  2415. * algorithm: CryptoJS.algo.AES,
  2416. * mode: CryptoJS.mode.CBC,
  2417. * padding: CryptoJS.pad.PKCS7,
  2418. * blockSize: 4,
  2419. * formatter: CryptoJS.format.OpenSSL
  2420. * });
  2421. */
  2422. init: function(W) {
  2423. this.mixIn(W);
  2424. },
  2425. /**
  2426. * Converts this cipher params object to a string.
  2427. *
  2428. * @param {Format} formatter (Optional) The formatting strategy to use.
  2429. *
  2430. * @return {string} The stringified cipher params.
  2431. *
  2432. * @throws Error If neither the formatter nor the default formatter is set.
  2433. *
  2434. * @example
  2435. *
  2436. * var string = cipherParams + '';
  2437. * var string = cipherParams.toString();
  2438. * var string = cipherParams.toString(CryptoJS.format.OpenSSL);
  2439. */
  2440. toString: function(W) {
  2441. return (W || this.formatter).stringify(this);
  2442. }
  2443. }), r = w.format = {}, O = r.OpenSSL = {
  2444. /**
  2445. * Converts a cipher params object to an OpenSSL-compatible string.
  2446. *
  2447. * @param {CipherParams} cipherParams The cipher params object.
  2448. *
  2449. * @return {string} The OpenSSL-compatible string.
  2450. *
  2451. * @static
  2452. *
  2453. * @example
  2454. *
  2455. * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
  2456. */
  2457. stringify: function(W) {
  2458. var x, u = W.ciphertext, y = W.salt;
  2459. return y ? x = c.create([1398893684, 1701076831]).concat(y).concat(u) : x = u, x.toString(s);
  2460. },
  2461. /**
  2462. * Converts an OpenSSL-compatible string to a cipher params object.
  2463. *
  2464. * @param {string} openSSLStr The OpenSSL-compatible string.
  2465. *
  2466. * @return {CipherParams} The cipher params object.
  2467. *
  2468. * @static
  2469. *
  2470. * @example
  2471. *
  2472. * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
  2473. */
  2474. parse: function(W) {
  2475. var x, u = s.parse(W), y = u.words;
  2476. return y[0] == 1398893684 && y[1] == 1701076831 && (x = c.create(y.slice(2, 4)), y.splice(0, 4), u.sigBytes -= 16), C.create({ ciphertext: u, salt: x });
  2477. }
  2478. }, L = z.SerializableCipher = l.extend({
  2479. /**
  2480. * Configuration options.
  2481. *
  2482. * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
  2483. */
  2484. cfg: l.extend({
  2485. format: O
  2486. }),
  2487. /**
  2488. * Encrypts a message.
  2489. *
  2490. * @param {Cipher} cipher The cipher algorithm to use.
  2491. * @param {WordArray|string} message The message to encrypt.
  2492. * @param {WordArray} key The key.
  2493. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2494. *
  2495. * @return {CipherParams} A cipher params object.
  2496. *
  2497. * @static
  2498. *
  2499. * @example
  2500. *
  2501. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
  2502. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
  2503. * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2504. */
  2505. encrypt: function(W, x, u, y) {
  2506. y = this.cfg.extend(y);
  2507. var N = W.createEncryptor(u, y), k = N.finalize(x), K = N.cfg;
  2508. return C.create({
  2509. ciphertext: k,
  2510. key: u,
  2511. iv: K.iv,
  2512. algorithm: W,
  2513. mode: K.mode,
  2514. padding: K.padding,
  2515. blockSize: W.blockSize,
  2516. formatter: y.format
  2517. });
  2518. },
  2519. /**
  2520. * Decrypts serialized ciphertext.
  2521. *
  2522. * @param {Cipher} cipher The cipher algorithm to use.
  2523. * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
  2524. * @param {WordArray} key The key.
  2525. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2526. *
  2527. * @return {WordArray} The plaintext.
  2528. *
  2529. * @static
  2530. *
  2531. * @example
  2532. *
  2533. * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2534. * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
  2535. */
  2536. decrypt: function(W, x, u, y) {
  2537. y = this.cfg.extend(y), x = this._parse(x, y.format);
  2538. var N = W.createDecryptor(u, y).finalize(x.ciphertext);
  2539. return N;
  2540. },
  2541. /**
  2542. * Converts serialized ciphertext to CipherParams,
  2543. * else assumed CipherParams already and returns ciphertext unchanged.
  2544. *
  2545. * @param {CipherParams|string} ciphertext The ciphertext.
  2546. * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
  2547. *
  2548. * @return {CipherParams} The unserialized ciphertext.
  2549. *
  2550. * @static
  2551. *
  2552. * @example
  2553. *
  2554. * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
  2555. */
  2556. _parse: function(W, x) {
  2557. return typeof W == "string" ? x.parse(W, this) : W;
  2558. }
  2559. }), Z = w.kdf = {}, d = Z.OpenSSL = {
  2560. /**
  2561. * Derives a key and IV from a password.
  2562. *
  2563. * @param {string} password The password to derive from.
  2564. * @param {number} keySize The size in words of the key to generate.
  2565. * @param {number} ivSize The size in words of the IV to generate.
  2566. * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
  2567. *
  2568. * @return {CipherParams} A cipher params object with the key, IV, and salt.
  2569. *
  2570. * @static
  2571. *
  2572. * @example
  2573. *
  2574. * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
  2575. * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
  2576. */
  2577. execute: function(W, x, u, y, N) {
  2578. if (y || (y = c.random(64 / 8)), N)
  2579. var k = e.create({ keySize: x + u, hasher: N }).compute(W, y);
  2580. else
  2581. var k = e.create({ keySize: x + u }).compute(W, y);
  2582. var K = c.create(k.words.slice(x), u * 4);
  2583. return k.sigBytes = x * 4, C.create({ key: k, iv: K, salt: y });
  2584. }
  2585. }, j = z.PasswordBasedCipher = L.extend({
  2586. /**
  2587. * Configuration options.
  2588. *
  2589. * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
  2590. */
  2591. cfg: L.cfg.extend({
  2592. kdf: d
  2593. }),
  2594. /**
  2595. * Encrypts a message using a password.
  2596. *
  2597. * @param {Cipher} cipher The cipher algorithm to use.
  2598. * @param {WordArray|string} message The message to encrypt.
  2599. * @param {string} password The password.
  2600. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2601. *
  2602. * @return {CipherParams} A cipher params object.
  2603. *
  2604. * @static
  2605. *
  2606. * @example
  2607. *
  2608. * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
  2609. * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
  2610. */
  2611. encrypt: function(W, x, u, y) {
  2612. y = this.cfg.extend(y);
  2613. var N = y.kdf.execute(u, W.keySize, W.ivSize, y.salt, y.hasher);
  2614. y.iv = N.iv;
  2615. var k = L.encrypt.call(this, W, x, N.key, y);
  2616. return k.mixIn(N), k;
  2617. },
  2618. /**
  2619. * Decrypts serialized ciphertext using a password.
  2620. *
  2621. * @param {Cipher} cipher The cipher algorithm to use.
  2622. * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
  2623. * @param {string} password The password.
  2624. * @param {Object} cfg (Optional) The configuration options to use for this operation.
  2625. *
  2626. * @return {WordArray} The plaintext.
  2627. *
  2628. * @static
  2629. *
  2630. * @example
  2631. *
  2632. * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
  2633. * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
  2634. */
  2635. decrypt: function(W, x, u, y) {
  2636. y = this.cfg.extend(y), x = this._parse(x, y.format);
  2637. var N = y.kdf.execute(u, W.keySize, W.ivSize, x.salt, y.hasher);
  2638. y.iv = N.iv;
  2639. var k = L.decrypt.call(this, W, x, N.key, y);
  2640. return k;
  2641. }
  2642. });
  2643. }();
  2644. });
  2645. }(Dg)), Dg.exports;
  2646. }
  2647. var sg = { exports: {} }, CB;
  2648. function kw() {
  2649. return CB || (CB = 1, function(M, n) {
  2650. (function(A, D, w) {
  2651. M.exports = D(U(), gA());
  2652. })(I, function(A) {
  2653. return A.mode.CFB = function() {
  2654. var D = A.lib.BlockCipherMode.extend();
  2655. D.Encryptor = D.extend({
  2656. processBlock: function(z, l) {
  2657. var c = this._cipher, Y = c.blockSize;
  2658. w.call(this, z, l, Y, c), this._prevBlock = z.slice(l, l + Y);
  2659. }
  2660. }), D.Decryptor = D.extend({
  2661. processBlock: function(z, l) {
  2662. var c = this._cipher, Y = c.blockSize, B = z.slice(l, l + Y);
  2663. w.call(this, z, l, Y, c), this._prevBlock = B;
  2664. }
  2665. });
  2666. function w(z, l, c, Y) {
  2667. var B, s = this._iv;
  2668. s ? (B = s.slice(0), this._iv = void 0) : B = this._prevBlock, Y.encryptBlock(B, 0);
  2669. for (var Q = 0; Q < c; Q++)
  2670. z[l + Q] ^= B[Q];
  2671. }
  2672. return D;
  2673. }(), A.mode.CFB;
  2674. });
  2675. }(sg)), sg.exports;
  2676. }
  2677. var eg = { exports: {} }, tB;
  2678. function Jw() {
  2679. return tB || (tB = 1, function(M, n) {
  2680. (function(A, D, w) {
  2681. M.exports = D(U(), gA());
  2682. })(I, function(A) {
  2683. return A.mode.CTR = function() {
  2684. var D = A.lib.BlockCipherMode.extend(), w = D.Encryptor = D.extend({
  2685. processBlock: function(z, l) {
  2686. var c = this._cipher, Y = c.blockSize, B = this._iv, s = this._counter;
  2687. B && (s = this._counter = B.slice(0), this._iv = void 0);
  2688. var Q = s.slice(0);
  2689. c.encryptBlock(Q, 0), s[Y - 1] = s[Y - 1] + 1 | 0;
  2690. for (var e = 0; e < Y; e++)
  2691. z[l + e] ^= Q[e];
  2692. }
  2693. });
  2694. return D.Decryptor = w, D;
  2695. }(), A.mode.CTR;
  2696. });
  2697. }(eg)), eg.exports;
  2698. }
  2699. var Cg = { exports: {} }, MB;
  2700. function Kw() {
  2701. return MB || (MB = 1, function(M, n) {
  2702. (function(A, D, w) {
  2703. M.exports = D(U(), gA());
  2704. })(I, function(A) {
  2705. /** @preserve
  2706. * Counter block mode compatible with Dr Brian Gladman fileenc.c
  2707. * derived from CryptoJS.mode.CTR
  2708. * Jan Hruby jhruby.web@gmail.com
  2709. */
  2710. return A.mode.CTRGladman = function() {
  2711. var D = A.lib.BlockCipherMode.extend();
  2712. function w(c) {
  2713. if ((c >> 24 & 255) === 255) {
  2714. var Y = c >> 16 & 255, B = c >> 8 & 255, s = c & 255;
  2715. Y === 255 ? (Y = 0, B === 255 ? (B = 0, s === 255 ? s = 0 : ++s) : ++B) : ++Y, c = 0, c += Y << 16, c += B << 8, c += s;
  2716. } else
  2717. c += 1 << 24;
  2718. return c;
  2719. }
  2720. function z(c) {
  2721. return (c[0] = w(c[0])) === 0 && (c[1] = w(c[1])), c;
  2722. }
  2723. var l = D.Encryptor = D.extend({
  2724. processBlock: function(c, Y) {
  2725. var B = this._cipher, s = B.blockSize, Q = this._iv, e = this._counter;
  2726. Q && (e = this._counter = Q.slice(0), this._iv = void 0), z(e);
  2727. var f = e.slice(0);
  2728. B.encryptBlock(f, 0);
  2729. for (var t = 0; t < s; t++)
  2730. c[Y + t] ^= f[t];
  2731. }
  2732. });
  2733. return D.Decryptor = l, D;
  2734. }(), A.mode.CTRGladman;
  2735. });
  2736. }(Cg)), Cg.exports;
  2737. }
  2738. var tg = { exports: {} }, vB;
  2739. function Ew() {
  2740. return vB || (vB = 1, function(M, n) {
  2741. (function(A, D, w) {
  2742. M.exports = D(U(), gA());
  2743. })(I, function(A) {
  2744. return A.mode.OFB = function() {
  2745. var D = A.lib.BlockCipherMode.extend(), w = D.Encryptor = D.extend({
  2746. processBlock: function(z, l) {
  2747. var c = this._cipher, Y = c.blockSize, B = this._iv, s = this._keystream;
  2748. B && (s = this._keystream = B.slice(0), this._iv = void 0), c.encryptBlock(s, 0);
  2749. for (var Q = 0; Q < Y; Q++)
  2750. z[l + Q] ^= s[Q];
  2751. }
  2752. });
  2753. return D.Decryptor = w, D;
  2754. }(), A.mode.OFB;
  2755. });
  2756. }(tg)), tg.exports;
  2757. }
  2758. var Mg = { exports: {} }, rB;
  2759. function Iw() {
  2760. return rB || (rB = 1, function(M, n) {
  2761. (function(A, D, w) {
  2762. M.exports = D(U(), gA());
  2763. })(I, function(A) {
  2764. return A.mode.ECB = function() {
  2765. var D = A.lib.BlockCipherMode.extend();
  2766. return D.Encryptor = D.extend({
  2767. processBlock: function(w, z) {
  2768. this._cipher.encryptBlock(w, z);
  2769. }
  2770. }), D.Decryptor = D.extend({
  2771. processBlock: function(w, z) {
  2772. this._cipher.decryptBlock(w, z);
  2773. }
  2774. }), D;
  2775. }(), A.mode.ECB;
  2776. });
  2777. }(Mg)), Mg.exports;
  2778. }
  2779. var vg = { exports: {} }, fB;
  2780. function pw() {
  2781. return fB || (fB = 1, function(M, n) {
  2782. (function(A, D, w) {
  2783. M.exports = D(U(), gA());
  2784. })(I, function(A) {
  2785. return A.pad.AnsiX923 = {
  2786. pad: function(D, w) {
  2787. var z = D.sigBytes, l = w * 4, c = l - z % l, Y = z + c - 1;
  2788. D.clamp(), D.words[Y >>> 2] |= c << 24 - Y % 4 * 8, D.sigBytes += c;
  2789. },
  2790. unpad: function(D) {
  2791. var w = D.words[D.sigBytes - 1 >>> 2] & 255;
  2792. D.sigBytes -= w;
  2793. }
  2794. }, A.pad.Ansix923;
  2795. });
  2796. }(vg)), vg.exports;
  2797. }
  2798. var rg = { exports: {} }, nB;
  2799. function Tw() {
  2800. return nB || (nB = 1, function(M, n) {
  2801. (function(A, D, w) {
  2802. M.exports = D(U(), gA());
  2803. })(I, function(A) {
  2804. return A.pad.Iso10126 = {
  2805. pad: function(D, w) {
  2806. var z = w * 4, l = z - D.sigBytes % z;
  2807. D.concat(A.lib.WordArray.random(l - 1)).concat(A.lib.WordArray.create([l << 24], 1));
  2808. },
  2809. unpad: function(D) {
  2810. var w = D.words[D.sigBytes - 1 >>> 2] & 255;
  2811. D.sigBytes -= w;
  2812. }
  2813. }, A.pad.Iso10126;
  2814. });
  2815. }(rg)), rg.exports;
  2816. }
  2817. var fg = { exports: {} }, zB;
  2818. function Sw() {
  2819. return zB || (zB = 1, function(M, n) {
  2820. (function(A, D, w) {
  2821. M.exports = D(U(), gA());
  2822. })(I, function(A) {
  2823. return A.pad.Iso97971 = {
  2824. pad: function(D, w) {
  2825. D.concat(A.lib.WordArray.create([2147483648], 1)), A.pad.ZeroPadding.pad(D, w);
  2826. },
  2827. unpad: function(D) {
  2828. A.pad.ZeroPadding.unpad(D), D.sigBytes--;
  2829. }
  2830. }, A.pad.Iso97971;
  2831. });
  2832. }(fg)), fg.exports;
  2833. }
  2834. var ng = { exports: {} }, PB;
  2835. function Uw() {
  2836. return PB || (PB = 1, function(M, n) {
  2837. (function(A, D, w) {
  2838. M.exports = D(U(), gA());
  2839. })(I, function(A) {
  2840. return A.pad.ZeroPadding = {
  2841. pad: function(D, w) {
  2842. var z = w * 4;
  2843. D.clamp(), D.sigBytes += z - (D.sigBytes % z || z);
  2844. },
  2845. unpad: function(D) {
  2846. for (var w = D.words, z = D.sigBytes - 1, z = D.sigBytes - 1; z >= 0; z--)
  2847. if (w[z >>> 2] >>> 24 - z % 4 * 8 & 255) {
  2848. D.sigBytes = z + 1;
  2849. break;
  2850. }
  2851. }
  2852. }, A.pad.ZeroPadding;
  2853. });
  2854. }(ng)), ng.exports;
  2855. }
  2856. var zg = { exports: {} }, cB;
  2857. function iw() {
  2858. return cB || (cB = 1, function(M, n) {
  2859. (function(A, D, w) {
  2860. M.exports = D(U(), gA());
  2861. })(I, function(A) {
  2862. return A.pad.NoPadding = {
  2863. pad: function() {
  2864. },
  2865. unpad: function() {
  2866. }
  2867. }, A.pad.NoPadding;
  2868. });
  2869. }(zg)), zg.exports;
  2870. }
  2871. var Pg = { exports: {} }, YB;
  2872. function qw() {
  2873. return YB || (YB = 1, function(M, n) {
  2874. (function(A, D, w) {
  2875. M.exports = D(U(), gA());
  2876. })(I, function(A) {
  2877. return function(D) {
  2878. var w = A, z = w.lib, l = z.CipherParams, c = w.enc, Y = c.Hex, B = w.format;
  2879. B.Hex = {
  2880. /**
  2881. * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
  2882. *
  2883. * @param {CipherParams} cipherParams The cipher params object.
  2884. *
  2885. * @return {string} The hexadecimally encoded string.
  2886. *
  2887. * @static
  2888. *
  2889. * @example
  2890. *
  2891. * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
  2892. */
  2893. stringify: function(s) {
  2894. return s.ciphertext.toString(Y);
  2895. },
  2896. /**
  2897. * Converts a hexadecimally encoded ciphertext string to a cipher params object.
  2898. *
  2899. * @param {string} input The hexadecimally encoded string.
  2900. *
  2901. * @return {CipherParams} The cipher params object.
  2902. *
  2903. * @static
  2904. *
  2905. * @example
  2906. *
  2907. * var cipherParams = CryptoJS.format.Hex.parse(hexString);
  2908. */
  2909. parse: function(s) {
  2910. var Q = Y.parse(s);
  2911. return l.create({ ciphertext: Q });
  2912. }
  2913. };
  2914. }(), A.format.Hex;
  2915. });
  2916. }(Pg)), Pg.exports;
  2917. }
  2918. var cg = { exports: {} }, QB;
  2919. function hw() {
  2920. return QB || (QB = 1, function(M, n) {
  2921. (function(A, D, w) {
  2922. M.exports = D(U(), OA(), xA(), QA(), gA());
  2923. })(I, function(A) {
  2924. return function() {
  2925. var D = A, w = D.lib, z = w.BlockCipher, l = D.algo, c = [], Y = [], B = [], s = [], Q = [], e = [], f = [], t = [], P = [], v = [];
  2926. (function() {
  2927. for (var C = [], r = 0; r < 256; r++)
  2928. r < 128 ? C[r] = r << 1 : C[r] = r << 1 ^ 283;
  2929. for (var O = 0, L = 0, r = 0; r < 256; r++) {
  2930. var Z = L ^ L << 1 ^ L << 2 ^ L << 3 ^ L << 4;
  2931. Z = Z >>> 8 ^ Z & 255 ^ 99, c[O] = Z, Y[Z] = O;
  2932. var d = C[O], j = C[d], W = C[j], x = C[Z] * 257 ^ Z * 16843008;
  2933. B[O] = x << 24 | x >>> 8, s[O] = x << 16 | x >>> 16, Q[O] = x << 8 | x >>> 24, e[O] = x;
  2934. var x = W * 16843009 ^ j * 65537 ^ d * 257 ^ O * 16843008;
  2935. f[Z] = x << 24 | x >>> 8, t[Z] = x << 16 | x >>> 16, P[Z] = x << 8 | x >>> 24, v[Z] = x, O ? (O = d ^ C[C[C[W ^ d]]], L ^= C[C[L]]) : O = L = 1;
  2936. }
  2937. })();
  2938. var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], g = l.AES = z.extend({
  2939. _doReset: function() {
  2940. var C;
  2941. if (!(this._nRounds && this._keyPriorReset === this._key)) {
  2942. for (var r = this._keyPriorReset = this._key, O = r.words, L = r.sigBytes / 4, Z = this._nRounds = L + 6, d = (Z + 1) * 4, j = this._keySchedule = [], W = 0; W < d; W++)
  2943. W < L ? j[W] = O[W] : (C = j[W - 1], W % L ? L > 6 && W % L == 4 && (C = c[C >>> 24] << 24 | c[C >>> 16 & 255] << 16 | c[C >>> 8 & 255] << 8 | c[C & 255]) : (C = C << 8 | C >>> 24, C = c[C >>> 24] << 24 | c[C >>> 16 & 255] << 16 | c[C >>> 8 & 255] << 8 | c[C & 255], C ^= H[W / L | 0] << 24), j[W] = j[W - L] ^ C);
  2944. for (var x = this._invKeySchedule = [], u = 0; u < d; u++) {
  2945. var W = d - u;
  2946. if (u % 4)
  2947. var C = j[W];
  2948. else
  2949. var C = j[W - 4];
  2950. u < 4 || W <= 4 ? x[u] = C : x[u] = f[c[C >>> 24]] ^ t[c[C >>> 16 & 255]] ^ P[c[C >>> 8 & 255]] ^ v[c[C & 255]];
  2951. }
  2952. }
  2953. },
  2954. encryptBlock: function(C, r) {
  2955. this._doCryptBlock(C, r, this._keySchedule, B, s, Q, e, c);
  2956. },
  2957. decryptBlock: function(C, r) {
  2958. var O = C[r + 1];
  2959. C[r + 1] = C[r + 3], C[r + 3] = O, this._doCryptBlock(C, r, this._invKeySchedule, f, t, P, v, Y);
  2960. var O = C[r + 1];
  2961. C[r + 1] = C[r + 3], C[r + 3] = O;
  2962. },
  2963. _doCryptBlock: function(C, r, O, L, Z, d, j, W) {
  2964. for (var x = this._nRounds, u = C[r] ^ O[0], y = C[r + 1] ^ O[1], N = C[r + 2] ^ O[2], k = C[r + 3] ^ O[3], K = 4, R = 1; R < x; R++) {
  2965. var i = L[u >>> 24] ^ Z[y >>> 16 & 255] ^ d[N >>> 8 & 255] ^ j[k & 255] ^ O[K++], h = L[y >>> 24] ^ Z[N >>> 16 & 255] ^ d[k >>> 8 & 255] ^ j[u & 255] ^ O[K++], q = L[N >>> 24] ^ Z[k >>> 16 & 255] ^ d[u >>> 8 & 255] ^ j[y & 255] ^ O[K++], a = L[k >>> 24] ^ Z[u >>> 16 & 255] ^ d[y >>> 8 & 255] ^ j[N & 255] ^ O[K++];
  2966. u = i, y = h, N = q, k = a;
  2967. }
  2968. var i = (W[u >>> 24] << 24 | W[y >>> 16 & 255] << 16 | W[N >>> 8 & 255] << 8 | W[k & 255]) ^ O[K++], h = (W[y >>> 24] << 24 | W[N >>> 16 & 255] << 16 | W[k >>> 8 & 255] << 8 | W[u & 255]) ^ O[K++], q = (W[N >>> 24] << 24 | W[k >>> 16 & 255] << 16 | W[u >>> 8 & 255] << 8 | W[y & 255]) ^ O[K++], a = (W[k >>> 24] << 24 | W[u >>> 16 & 255] << 16 | W[y >>> 8 & 255] << 8 | W[N & 255]) ^ O[K++];
  2969. C[r] = i, C[r + 1] = h, C[r + 2] = q, C[r + 3] = a;
  2970. },
  2971. keySize: 256 / 32
  2972. });
  2973. D.AES = z._createHelper(g);
  2974. }(), A.AES;
  2975. });
  2976. }(cg)), cg.exports;
  2977. }
  2978. var Yg = { exports: {} }, WB;
  2979. function Rw() {
  2980. return WB || (WB = 1, function(M, n) {
  2981. (function(A, D, w) {
  2982. M.exports = D(U(), OA(), xA(), QA(), gA());
  2983. })(I, function(A) {
  2984. return function() {
  2985. var D = A, w = D.lib, z = w.WordArray, l = w.BlockCipher, c = D.algo, Y = [
  2986. 57,
  2987. 49,
  2988. 41,
  2989. 33,
  2990. 25,
  2991. 17,
  2992. 9,
  2993. 1,
  2994. 58,
  2995. 50,
  2996. 42,
  2997. 34,
  2998. 26,
  2999. 18,
  3000. 10,
  3001. 2,
  3002. 59,
  3003. 51,
  3004. 43,
  3005. 35,
  3006. 27,
  3007. 19,
  3008. 11,
  3009. 3,
  3010. 60,
  3011. 52,
  3012. 44,
  3013. 36,
  3014. 63,
  3015. 55,
  3016. 47,
  3017. 39,
  3018. 31,
  3019. 23,
  3020. 15,
  3021. 7,
  3022. 62,
  3023. 54,
  3024. 46,
  3025. 38,
  3026. 30,
  3027. 22,
  3028. 14,
  3029. 6,
  3030. 61,
  3031. 53,
  3032. 45,
  3033. 37,
  3034. 29,
  3035. 21,
  3036. 13,
  3037. 5,
  3038. 28,
  3039. 20,
  3040. 12,
  3041. 4
  3042. ], B = [
  3043. 14,
  3044. 17,
  3045. 11,
  3046. 24,
  3047. 1,
  3048. 5,
  3049. 3,
  3050. 28,
  3051. 15,
  3052. 6,
  3053. 21,
  3054. 10,
  3055. 23,
  3056. 19,
  3057. 12,
  3058. 4,
  3059. 26,
  3060. 8,
  3061. 16,
  3062. 7,
  3063. 27,
  3064. 20,
  3065. 13,
  3066. 2,
  3067. 41,
  3068. 52,
  3069. 31,
  3070. 37,
  3071. 47,
  3072. 55,
  3073. 30,
  3074. 40,
  3075. 51,
  3076. 45,
  3077. 33,
  3078. 48,
  3079. 44,
  3080. 49,
  3081. 39,
  3082. 56,
  3083. 34,
  3084. 53,
  3085. 46,
  3086. 42,
  3087. 50,
  3088. 36,
  3089. 29,
  3090. 32
  3091. ], s = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], Q = [
  3092. {
  3093. 0: 8421888,
  3094. 268435456: 32768,
  3095. 536870912: 8421378,
  3096. 805306368: 2,
  3097. 1073741824: 512,
  3098. 1342177280: 8421890,
  3099. 1610612736: 8389122,
  3100. 1879048192: 8388608,
  3101. 2147483648: 514,
  3102. 2415919104: 8389120,
  3103. 2684354560: 33280,
  3104. 2952790016: 8421376,
  3105. 3221225472: 32770,
  3106. 3489660928: 8388610,
  3107. 3758096384: 0,
  3108. 4026531840: 33282,
  3109. 134217728: 0,
  3110. 402653184: 8421890,
  3111. 671088640: 33282,
  3112. 939524096: 32768,
  3113. 1207959552: 8421888,
  3114. 1476395008: 512,
  3115. 1744830464: 8421378,
  3116. 2013265920: 2,
  3117. 2281701376: 8389120,
  3118. 2550136832: 33280,
  3119. 2818572288: 8421376,
  3120. 3087007744: 8389122,
  3121. 3355443200: 8388610,
  3122. 3623878656: 32770,
  3123. 3892314112: 514,
  3124. 4160749568: 8388608,
  3125. 1: 32768,
  3126. 268435457: 2,
  3127. 536870913: 8421888,
  3128. 805306369: 8388608,
  3129. 1073741825: 8421378,
  3130. 1342177281: 33280,
  3131. 1610612737: 512,
  3132. 1879048193: 8389122,
  3133. 2147483649: 8421890,
  3134. 2415919105: 8421376,
  3135. 2684354561: 8388610,
  3136. 2952790017: 33282,
  3137. 3221225473: 514,
  3138. 3489660929: 8389120,
  3139. 3758096385: 32770,
  3140. 4026531841: 0,
  3141. 134217729: 8421890,
  3142. 402653185: 8421376,
  3143. 671088641: 8388608,
  3144. 939524097: 512,
  3145. 1207959553: 32768,
  3146. 1476395009: 8388610,
  3147. 1744830465: 2,
  3148. 2013265921: 33282,
  3149. 2281701377: 32770,
  3150. 2550136833: 8389122,
  3151. 2818572289: 514,
  3152. 3087007745: 8421888,
  3153. 3355443201: 8389120,
  3154. 3623878657: 0,
  3155. 3892314113: 33280,
  3156. 4160749569: 8421378
  3157. },
  3158. {
  3159. 0: 1074282512,
  3160. 16777216: 16384,
  3161. 33554432: 524288,
  3162. 50331648: 1074266128,
  3163. 67108864: 1073741840,
  3164. 83886080: 1074282496,
  3165. 100663296: 1073758208,
  3166. 117440512: 16,
  3167. 134217728: 540672,
  3168. 150994944: 1073758224,
  3169. 167772160: 1073741824,
  3170. 184549376: 540688,
  3171. 201326592: 524304,
  3172. 218103808: 0,
  3173. 234881024: 16400,
  3174. 251658240: 1074266112,
  3175. 8388608: 1073758208,
  3176. 25165824: 540688,
  3177. 41943040: 16,
  3178. 58720256: 1073758224,
  3179. 75497472: 1074282512,
  3180. 92274688: 1073741824,
  3181. 109051904: 524288,
  3182. 125829120: 1074266128,
  3183. 142606336: 524304,
  3184. 159383552: 0,
  3185. 176160768: 16384,
  3186. 192937984: 1074266112,
  3187. 209715200: 1073741840,
  3188. 226492416: 540672,
  3189. 243269632: 1074282496,
  3190. 260046848: 16400,
  3191. 268435456: 0,
  3192. 285212672: 1074266128,
  3193. 301989888: 1073758224,
  3194. 318767104: 1074282496,
  3195. 335544320: 1074266112,
  3196. 352321536: 16,
  3197. 369098752: 540688,
  3198. 385875968: 16384,
  3199. 402653184: 16400,
  3200. 419430400: 524288,
  3201. 436207616: 524304,
  3202. 452984832: 1073741840,
  3203. 469762048: 540672,
  3204. 486539264: 1073758208,
  3205. 503316480: 1073741824,
  3206. 520093696: 1074282512,
  3207. 276824064: 540688,
  3208. 293601280: 524288,
  3209. 310378496: 1074266112,
  3210. 327155712: 16384,
  3211. 343932928: 1073758208,
  3212. 360710144: 1074282512,
  3213. 377487360: 16,
  3214. 394264576: 1073741824,
  3215. 411041792: 1074282496,
  3216. 427819008: 1073741840,
  3217. 444596224: 1073758224,
  3218. 461373440: 524304,
  3219. 478150656: 0,
  3220. 494927872: 16400,
  3221. 511705088: 1074266128,
  3222. 528482304: 540672
  3223. },
  3224. {
  3225. 0: 260,
  3226. 1048576: 0,
  3227. 2097152: 67109120,
  3228. 3145728: 65796,
  3229. 4194304: 65540,
  3230. 5242880: 67108868,
  3231. 6291456: 67174660,
  3232. 7340032: 67174400,
  3233. 8388608: 67108864,
  3234. 9437184: 67174656,
  3235. 10485760: 65792,
  3236. 11534336: 67174404,
  3237. 12582912: 67109124,
  3238. 13631488: 65536,
  3239. 14680064: 4,
  3240. 15728640: 256,
  3241. 524288: 67174656,
  3242. 1572864: 67174404,
  3243. 2621440: 0,
  3244. 3670016: 67109120,
  3245. 4718592: 67108868,
  3246. 5767168: 65536,
  3247. 6815744: 65540,
  3248. 7864320: 260,
  3249. 8912896: 4,
  3250. 9961472: 256,
  3251. 11010048: 67174400,
  3252. 12058624: 65796,
  3253. 13107200: 65792,
  3254. 14155776: 67109124,
  3255. 15204352: 67174660,
  3256. 16252928: 67108864,
  3257. 16777216: 67174656,
  3258. 17825792: 65540,
  3259. 18874368: 65536,
  3260. 19922944: 67109120,
  3261. 20971520: 256,
  3262. 22020096: 67174660,
  3263. 23068672: 67108868,
  3264. 24117248: 0,
  3265. 25165824: 67109124,
  3266. 26214400: 67108864,
  3267. 27262976: 4,
  3268. 28311552: 65792,
  3269. 29360128: 67174400,
  3270. 30408704: 260,
  3271. 31457280: 65796,
  3272. 32505856: 67174404,
  3273. 17301504: 67108864,
  3274. 18350080: 260,
  3275. 19398656: 67174656,
  3276. 20447232: 0,
  3277. 21495808: 65540,
  3278. 22544384: 67109120,
  3279. 23592960: 256,
  3280. 24641536: 67174404,
  3281. 25690112: 65536,
  3282. 26738688: 67174660,
  3283. 27787264: 65796,
  3284. 28835840: 67108868,
  3285. 29884416: 67109124,
  3286. 30932992: 67174400,
  3287. 31981568: 4,
  3288. 33030144: 65792
  3289. },
  3290. {
  3291. 0: 2151682048,
  3292. 65536: 2147487808,
  3293. 131072: 4198464,
  3294. 196608: 2151677952,
  3295. 262144: 0,
  3296. 327680: 4198400,
  3297. 393216: 2147483712,
  3298. 458752: 4194368,
  3299. 524288: 2147483648,
  3300. 589824: 4194304,
  3301. 655360: 64,
  3302. 720896: 2147487744,
  3303. 786432: 2151678016,
  3304. 851968: 4160,
  3305. 917504: 4096,
  3306. 983040: 2151682112,
  3307. 32768: 2147487808,
  3308. 98304: 64,
  3309. 163840: 2151678016,
  3310. 229376: 2147487744,
  3311. 294912: 4198400,
  3312. 360448: 2151682112,
  3313. 425984: 0,
  3314. 491520: 2151677952,
  3315. 557056: 4096,
  3316. 622592: 2151682048,
  3317. 688128: 4194304,
  3318. 753664: 4160,
  3319. 819200: 2147483648,
  3320. 884736: 4194368,
  3321. 950272: 4198464,
  3322. 1015808: 2147483712,
  3323. 1048576: 4194368,
  3324. 1114112: 4198400,
  3325. 1179648: 2147483712,
  3326. 1245184: 0,
  3327. 1310720: 4160,
  3328. 1376256: 2151678016,
  3329. 1441792: 2151682048,
  3330. 1507328: 2147487808,
  3331. 1572864: 2151682112,
  3332. 1638400: 2147483648,
  3333. 1703936: 2151677952,
  3334. 1769472: 4198464,
  3335. 1835008: 2147487744,
  3336. 1900544: 4194304,
  3337. 1966080: 64,
  3338. 2031616: 4096,
  3339. 1081344: 2151677952,
  3340. 1146880: 2151682112,
  3341. 1212416: 0,
  3342. 1277952: 4198400,
  3343. 1343488: 4194368,
  3344. 1409024: 2147483648,
  3345. 1474560: 2147487808,
  3346. 1540096: 64,
  3347. 1605632: 2147483712,
  3348. 1671168: 4096,
  3349. 1736704: 2147487744,
  3350. 1802240: 2151678016,
  3351. 1867776: 4160,
  3352. 1933312: 2151682048,
  3353. 1998848: 4194304,
  3354. 2064384: 4198464
  3355. },
  3356. {
  3357. 0: 128,
  3358. 4096: 17039360,
  3359. 8192: 262144,
  3360. 12288: 536870912,
  3361. 16384: 537133184,
  3362. 20480: 16777344,
  3363. 24576: 553648256,
  3364. 28672: 262272,
  3365. 32768: 16777216,
  3366. 36864: 537133056,
  3367. 40960: 536871040,
  3368. 45056: 553910400,
  3369. 49152: 553910272,
  3370. 53248: 0,
  3371. 57344: 17039488,
  3372. 61440: 553648128,
  3373. 2048: 17039488,
  3374. 6144: 553648256,
  3375. 10240: 128,
  3376. 14336: 17039360,
  3377. 18432: 262144,
  3378. 22528: 537133184,
  3379. 26624: 553910272,
  3380. 30720: 536870912,
  3381. 34816: 537133056,
  3382. 38912: 0,
  3383. 43008: 553910400,
  3384. 47104: 16777344,
  3385. 51200: 536871040,
  3386. 55296: 553648128,
  3387. 59392: 16777216,
  3388. 63488: 262272,
  3389. 65536: 262144,
  3390. 69632: 128,
  3391. 73728: 536870912,
  3392. 77824: 553648256,
  3393. 81920: 16777344,
  3394. 86016: 553910272,
  3395. 90112: 537133184,
  3396. 94208: 16777216,
  3397. 98304: 553910400,
  3398. 102400: 553648128,
  3399. 106496: 17039360,
  3400. 110592: 537133056,
  3401. 114688: 262272,
  3402. 118784: 536871040,
  3403. 122880: 0,
  3404. 126976: 17039488,
  3405. 67584: 553648256,
  3406. 71680: 16777216,
  3407. 75776: 17039360,
  3408. 79872: 537133184,
  3409. 83968: 536870912,
  3410. 88064: 17039488,
  3411. 92160: 128,
  3412. 96256: 553910272,
  3413. 100352: 262272,
  3414. 104448: 553910400,
  3415. 108544: 0,
  3416. 112640: 553648128,
  3417. 116736: 16777344,
  3418. 120832: 262144,
  3419. 124928: 537133056,
  3420. 129024: 536871040
  3421. },
  3422. {
  3423. 0: 268435464,
  3424. 256: 8192,
  3425. 512: 270532608,
  3426. 768: 270540808,
  3427. 1024: 268443648,
  3428. 1280: 2097152,
  3429. 1536: 2097160,
  3430. 1792: 268435456,
  3431. 2048: 0,
  3432. 2304: 268443656,
  3433. 2560: 2105344,
  3434. 2816: 8,
  3435. 3072: 270532616,
  3436. 3328: 2105352,
  3437. 3584: 8200,
  3438. 3840: 270540800,
  3439. 128: 270532608,
  3440. 384: 270540808,
  3441. 640: 8,
  3442. 896: 2097152,
  3443. 1152: 2105352,
  3444. 1408: 268435464,
  3445. 1664: 268443648,
  3446. 1920: 8200,
  3447. 2176: 2097160,
  3448. 2432: 8192,
  3449. 2688: 268443656,
  3450. 2944: 270532616,
  3451. 3200: 0,
  3452. 3456: 270540800,
  3453. 3712: 2105344,
  3454. 3968: 268435456,
  3455. 4096: 268443648,
  3456. 4352: 270532616,
  3457. 4608: 270540808,
  3458. 4864: 8200,
  3459. 5120: 2097152,
  3460. 5376: 268435456,
  3461. 5632: 268435464,
  3462. 5888: 2105344,
  3463. 6144: 2105352,
  3464. 6400: 0,
  3465. 6656: 8,
  3466. 6912: 270532608,
  3467. 7168: 8192,
  3468. 7424: 268443656,
  3469. 7680: 270540800,
  3470. 7936: 2097160,
  3471. 4224: 8,
  3472. 4480: 2105344,
  3473. 4736: 2097152,
  3474. 4992: 268435464,
  3475. 5248: 268443648,
  3476. 5504: 8200,
  3477. 5760: 270540808,
  3478. 6016: 270532608,
  3479. 6272: 270540800,
  3480. 6528: 270532616,
  3481. 6784: 8192,
  3482. 7040: 2105352,
  3483. 7296: 2097160,
  3484. 7552: 0,
  3485. 7808: 268435456,
  3486. 8064: 268443656
  3487. },
  3488. {
  3489. 0: 1048576,
  3490. 16: 33555457,
  3491. 32: 1024,
  3492. 48: 1049601,
  3493. 64: 34604033,
  3494. 80: 0,
  3495. 96: 1,
  3496. 112: 34603009,
  3497. 128: 33555456,
  3498. 144: 1048577,
  3499. 160: 33554433,
  3500. 176: 34604032,
  3501. 192: 34603008,
  3502. 208: 1025,
  3503. 224: 1049600,
  3504. 240: 33554432,
  3505. 8: 34603009,
  3506. 24: 0,
  3507. 40: 33555457,
  3508. 56: 34604032,
  3509. 72: 1048576,
  3510. 88: 33554433,
  3511. 104: 33554432,
  3512. 120: 1025,
  3513. 136: 1049601,
  3514. 152: 33555456,
  3515. 168: 34603008,
  3516. 184: 1048577,
  3517. 200: 1024,
  3518. 216: 34604033,
  3519. 232: 1,
  3520. 248: 1049600,
  3521. 256: 33554432,
  3522. 272: 1048576,
  3523. 288: 33555457,
  3524. 304: 34603009,
  3525. 320: 1048577,
  3526. 336: 33555456,
  3527. 352: 34604032,
  3528. 368: 1049601,
  3529. 384: 1025,
  3530. 400: 34604033,
  3531. 416: 1049600,
  3532. 432: 1,
  3533. 448: 0,
  3534. 464: 34603008,
  3535. 480: 33554433,
  3536. 496: 1024,
  3537. 264: 1049600,
  3538. 280: 33555457,
  3539. 296: 34603009,
  3540. 312: 1,
  3541. 328: 33554432,
  3542. 344: 1048576,
  3543. 360: 1025,
  3544. 376: 34604032,
  3545. 392: 33554433,
  3546. 408: 34603008,
  3547. 424: 0,
  3548. 440: 34604033,
  3549. 456: 1049601,
  3550. 472: 1024,
  3551. 488: 33555456,
  3552. 504: 1048577
  3553. },
  3554. {
  3555. 0: 134219808,
  3556. 1: 131072,
  3557. 2: 134217728,
  3558. 3: 32,
  3559. 4: 131104,
  3560. 5: 134350880,
  3561. 6: 134350848,
  3562. 7: 2048,
  3563. 8: 134348800,
  3564. 9: 134219776,
  3565. 10: 133120,
  3566. 11: 134348832,
  3567. 12: 2080,
  3568. 13: 0,
  3569. 14: 134217760,
  3570. 15: 133152,
  3571. 2147483648: 2048,
  3572. 2147483649: 134350880,
  3573. 2147483650: 134219808,
  3574. 2147483651: 134217728,
  3575. 2147483652: 134348800,
  3576. 2147483653: 133120,
  3577. 2147483654: 133152,
  3578. 2147483655: 32,
  3579. 2147483656: 134217760,
  3580. 2147483657: 2080,
  3581. 2147483658: 131104,
  3582. 2147483659: 134350848,
  3583. 2147483660: 0,
  3584. 2147483661: 134348832,
  3585. 2147483662: 134219776,
  3586. 2147483663: 131072,
  3587. 16: 133152,
  3588. 17: 134350848,
  3589. 18: 32,
  3590. 19: 2048,
  3591. 20: 134219776,
  3592. 21: 134217760,
  3593. 22: 134348832,
  3594. 23: 131072,
  3595. 24: 0,
  3596. 25: 131104,
  3597. 26: 134348800,
  3598. 27: 134219808,
  3599. 28: 134350880,
  3600. 29: 133120,
  3601. 30: 2080,
  3602. 31: 134217728,
  3603. 2147483664: 131072,
  3604. 2147483665: 2048,
  3605. 2147483666: 134348832,
  3606. 2147483667: 133152,
  3607. 2147483668: 32,
  3608. 2147483669: 134348800,
  3609. 2147483670: 134217728,
  3610. 2147483671: 134219808,
  3611. 2147483672: 134350880,
  3612. 2147483673: 134217760,
  3613. 2147483674: 134219776,
  3614. 2147483675: 0,
  3615. 2147483676: 133120,
  3616. 2147483677: 2080,
  3617. 2147483678: 131104,
  3618. 2147483679: 134350848
  3619. }
  3620. ], e = [
  3621. 4160749569,
  3622. 528482304,
  3623. 33030144,
  3624. 2064384,
  3625. 129024,
  3626. 8064,
  3627. 504,
  3628. 2147483679
  3629. ], f = c.DES = l.extend({
  3630. _doReset: function() {
  3631. for (var H = this._key, g = H.words, C = [], r = 0; r < 56; r++) {
  3632. var O = Y[r] - 1;
  3633. C[r] = g[O >>> 5] >>> 31 - O % 32 & 1;
  3634. }
  3635. for (var L = this._subKeys = [], Z = 0; Z < 16; Z++) {
  3636. for (var d = L[Z] = [], j = s[Z], r = 0; r < 24; r++)
  3637. d[r / 6 | 0] |= C[(B[r] - 1 + j) % 28] << 31 - r % 6, d[4 + (r / 6 | 0)] |= C[28 + (B[r + 24] - 1 + j) % 28] << 31 - r % 6;
  3638. d[0] = d[0] << 1 | d[0] >>> 31;
  3639. for (var r = 1; r < 7; r++)
  3640. d[r] = d[r] >>> (r - 1) * 4 + 3;
  3641. d[7] = d[7] << 5 | d[7] >>> 27;
  3642. }
  3643. for (var W = this._invSubKeys = [], r = 0; r < 16; r++)
  3644. W[r] = L[15 - r];
  3645. },
  3646. encryptBlock: function(H, g) {
  3647. this._doCryptBlock(H, g, this._subKeys);
  3648. },
  3649. decryptBlock: function(H, g) {
  3650. this._doCryptBlock(H, g, this._invSubKeys);
  3651. },
  3652. _doCryptBlock: function(H, g, C) {
  3653. this._lBlock = H[g], this._rBlock = H[g + 1], t.call(this, 4, 252645135), t.call(this, 16, 65535), P.call(this, 2, 858993459), P.call(this, 8, 16711935), t.call(this, 1, 1431655765);
  3654. for (var r = 0; r < 16; r++) {
  3655. for (var O = C[r], L = this._lBlock, Z = this._rBlock, d = 0, j = 0; j < 8; j++)
  3656. d |= Q[j][((Z ^ O[j]) & e[j]) >>> 0];
  3657. this._lBlock = Z, this._rBlock = L ^ d;
  3658. }
  3659. var W = this._lBlock;
  3660. this._lBlock = this._rBlock, this._rBlock = W, t.call(this, 1, 1431655765), P.call(this, 8, 16711935), P.call(this, 2, 858993459), t.call(this, 16, 65535), t.call(this, 4, 252645135), H[g] = this._lBlock, H[g + 1] = this._rBlock;
  3661. },
  3662. keySize: 64 / 32,
  3663. ivSize: 64 / 32,
  3664. blockSize: 64 / 32
  3665. });
  3666. function t(H, g) {
  3667. var C = (this._lBlock >>> H ^ this._rBlock) & g;
  3668. this._rBlock ^= C, this._lBlock ^= C << H;
  3669. }
  3670. function P(H, g) {
  3671. var C = (this._rBlock >>> H ^ this._lBlock) & g;
  3672. this._lBlock ^= C, this._rBlock ^= C << H;
  3673. }
  3674. D.DES = l._createHelper(f);
  3675. var v = c.TripleDES = l.extend({
  3676. _doReset: function() {
  3677. var H = this._key, g = H.words;
  3678. if (g.length !== 2 && g.length !== 4 && g.length < 6)
  3679. throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
  3680. var C = g.slice(0, 2), r = g.length < 4 ? g.slice(0, 2) : g.slice(2, 4), O = g.length < 6 ? g.slice(0, 2) : g.slice(4, 6);
  3681. this._des1 = f.createEncryptor(z.create(C)), this._des2 = f.createEncryptor(z.create(r)), this._des3 = f.createEncryptor(z.create(O));
  3682. },
  3683. encryptBlock: function(H, g) {
  3684. this._des1.encryptBlock(H, g), this._des2.decryptBlock(H, g), this._des3.encryptBlock(H, g);
  3685. },
  3686. decryptBlock: function(H, g) {
  3687. this._des3.decryptBlock(H, g), this._des2.encryptBlock(H, g), this._des1.decryptBlock(H, g);
  3688. },
  3689. keySize: 192 / 32,
  3690. ivSize: 64 / 32,
  3691. blockSize: 64 / 32
  3692. });
  3693. D.TripleDES = l._createHelper(v);
  3694. }(), A.TripleDES;
  3695. });
  3696. }(Yg)), Yg.exports;
  3697. }
  3698. var Qg = { exports: {} }, HB;
  3699. function _w() {
  3700. return HB || (HB = 1, function(M, n) {
  3701. (function(A, D, w) {
  3702. M.exports = D(U(), OA(), xA(), QA(), gA());
  3703. })(I, function(A) {
  3704. return function() {
  3705. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = l.RC4 = z.extend({
  3706. _doReset: function() {
  3707. for (var s = this._key, Q = s.words, e = s.sigBytes, f = this._S = [], t = 0; t < 256; t++)
  3708. f[t] = t;
  3709. for (var t = 0, P = 0; t < 256; t++) {
  3710. var v = t % e, H = Q[v >>> 2] >>> 24 - v % 4 * 8 & 255;
  3711. P = (P + f[t] + H) % 256;
  3712. var g = f[t];
  3713. f[t] = f[P], f[P] = g;
  3714. }
  3715. this._i = this._j = 0;
  3716. },
  3717. _doProcessBlock: function(s, Q) {
  3718. s[Q] ^= Y.call(this);
  3719. },
  3720. keySize: 256 / 32,
  3721. ivSize: 0
  3722. });
  3723. function Y() {
  3724. for (var s = this._S, Q = this._i, e = this._j, f = 0, t = 0; t < 4; t++) {
  3725. Q = (Q + 1) % 256, e = (e + s[Q]) % 256;
  3726. var P = s[Q];
  3727. s[Q] = s[e], s[e] = P, f |= s[(s[Q] + s[e]) % 256] << 24 - t * 8;
  3728. }
  3729. return this._i = Q, this._j = e, f;
  3730. }
  3731. D.RC4 = z._createHelper(c);
  3732. var B = l.RC4Drop = c.extend({
  3733. /**
  3734. * Configuration options.
  3735. *
  3736. * @property {number} drop The number of keystream words to drop. Default 192
  3737. */
  3738. cfg: c.cfg.extend({
  3739. drop: 192
  3740. }),
  3741. _doReset: function() {
  3742. c._doReset.call(this);
  3743. for (var s = this.cfg.drop; s > 0; s--)
  3744. Y.call(this);
  3745. }
  3746. });
  3747. D.RC4Drop = z._createHelper(B);
  3748. }(), A.RC4;
  3749. });
  3750. }(Qg)), Qg.exports;
  3751. }
  3752. var Wg = { exports: {} }, LB;
  3753. function $w() {
  3754. return LB || (LB = 1, function(M, n) {
  3755. (function(A, D, w) {
  3756. M.exports = D(U(), OA(), xA(), QA(), gA());
  3757. })(I, function(A) {
  3758. return function() {
  3759. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = [], Y = [], B = [], s = l.Rabbit = z.extend({
  3760. _doReset: function() {
  3761. for (var e = this._key.words, f = this.cfg.iv, t = 0; t < 4; t++)
  3762. e[t] = (e[t] << 8 | e[t] >>> 24) & 16711935 | (e[t] << 24 | e[t] >>> 8) & 4278255360;
  3763. var P = this._X = [
  3764. e[0],
  3765. e[3] << 16 | e[2] >>> 16,
  3766. e[1],
  3767. e[0] << 16 | e[3] >>> 16,
  3768. e[2],
  3769. e[1] << 16 | e[0] >>> 16,
  3770. e[3],
  3771. e[2] << 16 | e[1] >>> 16
  3772. ], v = this._C = [
  3773. e[2] << 16 | e[2] >>> 16,
  3774. e[0] & 4294901760 | e[1] & 65535,
  3775. e[3] << 16 | e[3] >>> 16,
  3776. e[1] & 4294901760 | e[2] & 65535,
  3777. e[0] << 16 | e[0] >>> 16,
  3778. e[2] & 4294901760 | e[3] & 65535,
  3779. e[1] << 16 | e[1] >>> 16,
  3780. e[3] & 4294901760 | e[0] & 65535
  3781. ];
  3782. this._b = 0;
  3783. for (var t = 0; t < 4; t++)
  3784. Q.call(this);
  3785. for (var t = 0; t < 8; t++)
  3786. v[t] ^= P[t + 4 & 7];
  3787. if (f) {
  3788. var H = f.words, g = H[0], C = H[1], r = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, O = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, L = r >>> 16 | O & 4294901760, Z = O << 16 | r & 65535;
  3789. v[0] ^= r, v[1] ^= L, v[2] ^= O, v[3] ^= Z, v[4] ^= r, v[5] ^= L, v[6] ^= O, v[7] ^= Z;
  3790. for (var t = 0; t < 4; t++)
  3791. Q.call(this);
  3792. }
  3793. },
  3794. _doProcessBlock: function(e, f) {
  3795. var t = this._X;
  3796. Q.call(this), c[0] = t[0] ^ t[5] >>> 16 ^ t[3] << 16, c[1] = t[2] ^ t[7] >>> 16 ^ t[5] << 16, c[2] = t[4] ^ t[1] >>> 16 ^ t[7] << 16, c[3] = t[6] ^ t[3] >>> 16 ^ t[1] << 16;
  3797. for (var P = 0; P < 4; P++)
  3798. c[P] = (c[P] << 8 | c[P] >>> 24) & 16711935 | (c[P] << 24 | c[P] >>> 8) & 4278255360, e[f + P] ^= c[P];
  3799. },
  3800. blockSize: 128 / 32,
  3801. ivSize: 64 / 32
  3802. });
  3803. function Q() {
  3804. for (var e = this._X, f = this._C, t = 0; t < 8; t++)
  3805. Y[t] = f[t];
  3806. f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < Y[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < Y[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < Y[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < Y[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < Y[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < Y[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < Y[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < Y[7] >>> 0 ? 1 : 0;
  3807. for (var t = 0; t < 8; t++) {
  3808. var P = e[t] + f[t], v = P & 65535, H = P >>> 16, g = ((v * v >>> 17) + v * H >>> 15) + H * H, C = ((P & 4294901760) * P | 0) + ((P & 65535) * P | 0);
  3809. B[t] = g ^ C;
  3810. }
  3811. e[0] = B[0] + (B[7] << 16 | B[7] >>> 16) + (B[6] << 16 | B[6] >>> 16) | 0, e[1] = B[1] + (B[0] << 8 | B[0] >>> 24) + B[7] | 0, e[2] = B[2] + (B[1] << 16 | B[1] >>> 16) + (B[0] << 16 | B[0] >>> 16) | 0, e[3] = B[3] + (B[2] << 8 | B[2] >>> 24) + B[1] | 0, e[4] = B[4] + (B[3] << 16 | B[3] >>> 16) + (B[2] << 16 | B[2] >>> 16) | 0, e[5] = B[5] + (B[4] << 8 | B[4] >>> 24) + B[3] | 0, e[6] = B[6] + (B[5] << 16 | B[5] >>> 16) + (B[4] << 16 | B[4] >>> 16) | 0, e[7] = B[7] + (B[6] << 8 | B[6] >>> 24) + B[5] | 0;
  3812. }
  3813. D.Rabbit = z._createHelper(s);
  3814. }(), A.Rabbit;
  3815. });
  3816. }(Wg)), Wg.exports;
  3817. }
  3818. var Hg = { exports: {} }, OB;
  3819. function AD() {
  3820. return OB || (OB = 1, function(M, n) {
  3821. (function(A, D, w) {
  3822. M.exports = D(U(), OA(), xA(), QA(), gA());
  3823. })(I, function(A) {
  3824. return function() {
  3825. var D = A, w = D.lib, z = w.StreamCipher, l = D.algo, c = [], Y = [], B = [], s = l.RabbitLegacy = z.extend({
  3826. _doReset: function() {
  3827. var e = this._key.words, f = this.cfg.iv, t = this._X = [
  3828. e[0],
  3829. e[3] << 16 | e[2] >>> 16,
  3830. e[1],
  3831. e[0] << 16 | e[3] >>> 16,
  3832. e[2],
  3833. e[1] << 16 | e[0] >>> 16,
  3834. e[3],
  3835. e[2] << 16 | e[1] >>> 16
  3836. ], P = this._C = [
  3837. e[2] << 16 | e[2] >>> 16,
  3838. e[0] & 4294901760 | e[1] & 65535,
  3839. e[3] << 16 | e[3] >>> 16,
  3840. e[1] & 4294901760 | e[2] & 65535,
  3841. e[0] << 16 | e[0] >>> 16,
  3842. e[2] & 4294901760 | e[3] & 65535,
  3843. e[1] << 16 | e[1] >>> 16,
  3844. e[3] & 4294901760 | e[0] & 65535
  3845. ];
  3846. this._b = 0;
  3847. for (var v = 0; v < 4; v++)
  3848. Q.call(this);
  3849. for (var v = 0; v < 8; v++)
  3850. P[v] ^= t[v + 4 & 7];
  3851. if (f) {
  3852. var H = f.words, g = H[0], C = H[1], r = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, O = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, L = r >>> 16 | O & 4294901760, Z = O << 16 | r & 65535;
  3853. P[0] ^= r, P[1] ^= L, P[2] ^= O, P[3] ^= Z, P[4] ^= r, P[5] ^= L, P[6] ^= O, P[7] ^= Z;
  3854. for (var v = 0; v < 4; v++)
  3855. Q.call(this);
  3856. }
  3857. },
  3858. _doProcessBlock: function(e, f) {
  3859. var t = this._X;
  3860. Q.call(this), c[0] = t[0] ^ t[5] >>> 16 ^ t[3] << 16, c[1] = t[2] ^ t[7] >>> 16 ^ t[5] << 16, c[2] = t[4] ^ t[1] >>> 16 ^ t[7] << 16, c[3] = t[6] ^ t[3] >>> 16 ^ t[1] << 16;
  3861. for (var P = 0; P < 4; P++)
  3862. c[P] = (c[P] << 8 | c[P] >>> 24) & 16711935 | (c[P] << 24 | c[P] >>> 8) & 4278255360, e[f + P] ^= c[P];
  3863. },
  3864. blockSize: 128 / 32,
  3865. ivSize: 64 / 32
  3866. });
  3867. function Q() {
  3868. for (var e = this._X, f = this._C, t = 0; t < 8; t++)
  3869. Y[t] = f[t];
  3870. f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < Y[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < Y[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < Y[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < Y[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < Y[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < Y[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < Y[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < Y[7] >>> 0 ? 1 : 0;
  3871. for (var t = 0; t < 8; t++) {
  3872. var P = e[t] + f[t], v = P & 65535, H = P >>> 16, g = ((v * v >>> 17) + v * H >>> 15) + H * H, C = ((P & 4294901760) * P | 0) + ((P & 65535) * P | 0);
  3873. B[t] = g ^ C;
  3874. }
  3875. e[0] = B[0] + (B[7] << 16 | B[7] >>> 16) + (B[6] << 16 | B[6] >>> 16) | 0, e[1] = B[1] + (B[0] << 8 | B[0] >>> 24) + B[7] | 0, e[2] = B[2] + (B[1] << 16 | B[1] >>> 16) + (B[0] << 16 | B[0] >>> 16) | 0, e[3] = B[3] + (B[2] << 8 | B[2] >>> 24) + B[1] | 0, e[4] = B[4] + (B[3] << 16 | B[3] >>> 16) + (B[2] << 16 | B[2] >>> 16) | 0, e[5] = B[5] + (B[4] << 8 | B[4] >>> 24) + B[3] | 0, e[6] = B[6] + (B[5] << 16 | B[5] >>> 16) + (B[4] << 16 | B[4] >>> 16) | 0, e[7] = B[7] + (B[6] << 8 | B[6] >>> 24) + B[5] | 0;
  3876. }
  3877. D.RabbitLegacy = z._createHelper(s);
  3878. }(), A.RabbitLegacy;
  3879. });
  3880. }(Hg)), Hg.exports;
  3881. }
  3882. var Lg = { exports: {} }, xB;
  3883. function gD() {
  3884. return xB || (xB = 1, function(M, n) {
  3885. (function(A, D, w) {
  3886. M.exports = D(U(), OA(), xA(), QA(), gA());
  3887. })(I, function(A) {
  3888. return function() {
  3889. var D = A, w = D.lib, z = w.BlockCipher, l = D.algo;
  3890. const c = 16, Y = [
  3891. 608135816,
  3892. 2242054355,
  3893. 320440878,
  3894. 57701188,
  3895. 2752067618,
  3896. 698298832,
  3897. 137296536,
  3898. 3964562569,
  3899. 1160258022,
  3900. 953160567,
  3901. 3193202383,
  3902. 887688300,
  3903. 3232508343,
  3904. 3380367581,
  3905. 1065670069,
  3906. 3041331479,
  3907. 2450970073,
  3908. 2306472731
  3909. ], B = [
  3910. [
  3911. 3509652390,
  3912. 2564797868,
  3913. 805139163,
  3914. 3491422135,
  3915. 3101798381,
  3916. 1780907670,
  3917. 3128725573,
  3918. 4046225305,
  3919. 614570311,
  3920. 3012652279,
  3921. 134345442,
  3922. 2240740374,
  3923. 1667834072,
  3924. 1901547113,
  3925. 2757295779,
  3926. 4103290238,
  3927. 227898511,
  3928. 1921955416,
  3929. 1904987480,
  3930. 2182433518,
  3931. 2069144605,
  3932. 3260701109,
  3933. 2620446009,
  3934. 720527379,
  3935. 3318853667,
  3936. 677414384,
  3937. 3393288472,
  3938. 3101374703,
  3939. 2390351024,
  3940. 1614419982,
  3941. 1822297739,
  3942. 2954791486,
  3943. 3608508353,
  3944. 3174124327,
  3945. 2024746970,
  3946. 1432378464,
  3947. 3864339955,
  3948. 2857741204,
  3949. 1464375394,
  3950. 1676153920,
  3951. 1439316330,
  3952. 715854006,
  3953. 3033291828,
  3954. 289532110,
  3955. 2706671279,
  3956. 2087905683,
  3957. 3018724369,
  3958. 1668267050,
  3959. 732546397,
  3960. 1947742710,
  3961. 3462151702,
  3962. 2609353502,
  3963. 2950085171,
  3964. 1814351708,
  3965. 2050118529,
  3966. 680887927,
  3967. 999245976,
  3968. 1800124847,
  3969. 3300911131,
  3970. 1713906067,
  3971. 1641548236,
  3972. 4213287313,
  3973. 1216130144,
  3974. 1575780402,
  3975. 4018429277,
  3976. 3917837745,
  3977. 3693486850,
  3978. 3949271944,
  3979. 596196993,
  3980. 3549867205,
  3981. 258830323,
  3982. 2213823033,
  3983. 772490370,
  3984. 2760122372,
  3985. 1774776394,
  3986. 2652871518,
  3987. 566650946,
  3988. 4142492826,
  3989. 1728879713,
  3990. 2882767088,
  3991. 1783734482,
  3992. 3629395816,
  3993. 2517608232,
  3994. 2874225571,
  3995. 1861159788,
  3996. 326777828,
  3997. 3124490320,
  3998. 2130389656,
  3999. 2716951837,
  4000. 967770486,
  4001. 1724537150,
  4002. 2185432712,
  4003. 2364442137,
  4004. 1164943284,
  4005. 2105845187,
  4006. 998989502,
  4007. 3765401048,
  4008. 2244026483,
  4009. 1075463327,
  4010. 1455516326,
  4011. 1322494562,
  4012. 910128902,
  4013. 469688178,
  4014. 1117454909,
  4015. 936433444,
  4016. 3490320968,
  4017. 3675253459,
  4018. 1240580251,
  4019. 122909385,
  4020. 2157517691,
  4021. 634681816,
  4022. 4142456567,
  4023. 3825094682,
  4024. 3061402683,
  4025. 2540495037,
  4026. 79693498,
  4027. 3249098678,
  4028. 1084186820,
  4029. 1583128258,
  4030. 426386531,
  4031. 1761308591,
  4032. 1047286709,
  4033. 322548459,
  4034. 995290223,
  4035. 1845252383,
  4036. 2603652396,
  4037. 3431023940,
  4038. 2942221577,
  4039. 3202600964,
  4040. 3727903485,
  4041. 1712269319,
  4042. 422464435,
  4043. 3234572375,
  4044. 1170764815,
  4045. 3523960633,
  4046. 3117677531,
  4047. 1434042557,
  4048. 442511882,
  4049. 3600875718,
  4050. 1076654713,
  4051. 1738483198,
  4052. 4213154764,
  4053. 2393238008,
  4054. 3677496056,
  4055. 1014306527,
  4056. 4251020053,
  4057. 793779912,
  4058. 2902807211,
  4059. 842905082,
  4060. 4246964064,
  4061. 1395751752,
  4062. 1040244610,
  4063. 2656851899,
  4064. 3396308128,
  4065. 445077038,
  4066. 3742853595,
  4067. 3577915638,
  4068. 679411651,
  4069. 2892444358,
  4070. 2354009459,
  4071. 1767581616,
  4072. 3150600392,
  4073. 3791627101,
  4074. 3102740896,
  4075. 284835224,
  4076. 4246832056,
  4077. 1258075500,
  4078. 768725851,
  4079. 2589189241,
  4080. 3069724005,
  4081. 3532540348,
  4082. 1274779536,
  4083. 3789419226,
  4084. 2764799539,
  4085. 1660621633,
  4086. 3471099624,
  4087. 4011903706,
  4088. 913787905,
  4089. 3497959166,
  4090. 737222580,
  4091. 2514213453,
  4092. 2928710040,
  4093. 3937242737,
  4094. 1804850592,
  4095. 3499020752,
  4096. 2949064160,
  4097. 2386320175,
  4098. 2390070455,
  4099. 2415321851,
  4100. 4061277028,
  4101. 2290661394,
  4102. 2416832540,
  4103. 1336762016,
  4104. 1754252060,
  4105. 3520065937,
  4106. 3014181293,
  4107. 791618072,
  4108. 3188594551,
  4109. 3933548030,
  4110. 2332172193,
  4111. 3852520463,
  4112. 3043980520,
  4113. 413987798,
  4114. 3465142937,
  4115. 3030929376,
  4116. 4245938359,
  4117. 2093235073,
  4118. 3534596313,
  4119. 375366246,
  4120. 2157278981,
  4121. 2479649556,
  4122. 555357303,
  4123. 3870105701,
  4124. 2008414854,
  4125. 3344188149,
  4126. 4221384143,
  4127. 3956125452,
  4128. 2067696032,
  4129. 3594591187,
  4130. 2921233993,
  4131. 2428461,
  4132. 544322398,
  4133. 577241275,
  4134. 1471733935,
  4135. 610547355,
  4136. 4027169054,
  4137. 1432588573,
  4138. 1507829418,
  4139. 2025931657,
  4140. 3646575487,
  4141. 545086370,
  4142. 48609733,
  4143. 2200306550,
  4144. 1653985193,
  4145. 298326376,
  4146. 1316178497,
  4147. 3007786442,
  4148. 2064951626,
  4149. 458293330,
  4150. 2589141269,
  4151. 3591329599,
  4152. 3164325604,
  4153. 727753846,
  4154. 2179363840,
  4155. 146436021,
  4156. 1461446943,
  4157. 4069977195,
  4158. 705550613,
  4159. 3059967265,
  4160. 3887724982,
  4161. 4281599278,
  4162. 3313849956,
  4163. 1404054877,
  4164. 2845806497,
  4165. 146425753,
  4166. 1854211946
  4167. ],
  4168. [
  4169. 1266315497,
  4170. 3048417604,
  4171. 3681880366,
  4172. 3289982499,
  4173. 290971e4,
  4174. 1235738493,
  4175. 2632868024,
  4176. 2414719590,
  4177. 3970600049,
  4178. 1771706367,
  4179. 1449415276,
  4180. 3266420449,
  4181. 422970021,
  4182. 1963543593,
  4183. 2690192192,
  4184. 3826793022,
  4185. 1062508698,
  4186. 1531092325,
  4187. 1804592342,
  4188. 2583117782,
  4189. 2714934279,
  4190. 4024971509,
  4191. 1294809318,
  4192. 4028980673,
  4193. 1289560198,
  4194. 2221992742,
  4195. 1669523910,
  4196. 35572830,
  4197. 157838143,
  4198. 1052438473,
  4199. 1016535060,
  4200. 1802137761,
  4201. 1753167236,
  4202. 1386275462,
  4203. 3080475397,
  4204. 2857371447,
  4205. 1040679964,
  4206. 2145300060,
  4207. 2390574316,
  4208. 1461121720,
  4209. 2956646967,
  4210. 4031777805,
  4211. 4028374788,
  4212. 33600511,
  4213. 2920084762,
  4214. 1018524850,
  4215. 629373528,
  4216. 3691585981,
  4217. 3515945977,
  4218. 2091462646,
  4219. 2486323059,
  4220. 586499841,
  4221. 988145025,
  4222. 935516892,
  4223. 3367335476,
  4224. 2599673255,
  4225. 2839830854,
  4226. 265290510,
  4227. 3972581182,
  4228. 2759138881,
  4229. 3795373465,
  4230. 1005194799,
  4231. 847297441,
  4232. 406762289,
  4233. 1314163512,
  4234. 1332590856,
  4235. 1866599683,
  4236. 4127851711,
  4237. 750260880,
  4238. 613907577,
  4239. 1450815602,
  4240. 3165620655,
  4241. 3734664991,
  4242. 3650291728,
  4243. 3012275730,
  4244. 3704569646,
  4245. 1427272223,
  4246. 778793252,
  4247. 1343938022,
  4248. 2676280711,
  4249. 2052605720,
  4250. 1946737175,
  4251. 3164576444,
  4252. 3914038668,
  4253. 3967478842,
  4254. 3682934266,
  4255. 1661551462,
  4256. 3294938066,
  4257. 4011595847,
  4258. 840292616,
  4259. 3712170807,
  4260. 616741398,
  4261. 312560963,
  4262. 711312465,
  4263. 1351876610,
  4264. 322626781,
  4265. 1910503582,
  4266. 271666773,
  4267. 2175563734,
  4268. 1594956187,
  4269. 70604529,
  4270. 3617834859,
  4271. 1007753275,
  4272. 1495573769,
  4273. 4069517037,
  4274. 2549218298,
  4275. 2663038764,
  4276. 504708206,
  4277. 2263041392,
  4278. 3941167025,
  4279. 2249088522,
  4280. 1514023603,
  4281. 1998579484,
  4282. 1312622330,
  4283. 694541497,
  4284. 2582060303,
  4285. 2151582166,
  4286. 1382467621,
  4287. 776784248,
  4288. 2618340202,
  4289. 3323268794,
  4290. 2497899128,
  4291. 2784771155,
  4292. 503983604,
  4293. 4076293799,
  4294. 907881277,
  4295. 423175695,
  4296. 432175456,
  4297. 1378068232,
  4298. 4145222326,
  4299. 3954048622,
  4300. 3938656102,
  4301. 3820766613,
  4302. 2793130115,
  4303. 2977904593,
  4304. 26017576,
  4305. 3274890735,
  4306. 3194772133,
  4307. 1700274565,
  4308. 1756076034,
  4309. 4006520079,
  4310. 3677328699,
  4311. 720338349,
  4312. 1533947780,
  4313. 354530856,
  4314. 688349552,
  4315. 3973924725,
  4316. 1637815568,
  4317. 332179504,
  4318. 3949051286,
  4319. 53804574,
  4320. 2852348879,
  4321. 3044236432,
  4322. 1282449977,
  4323. 3583942155,
  4324. 3416972820,
  4325. 4006381244,
  4326. 1617046695,
  4327. 2628476075,
  4328. 3002303598,
  4329. 1686838959,
  4330. 431878346,
  4331. 2686675385,
  4332. 1700445008,
  4333. 1080580658,
  4334. 1009431731,
  4335. 832498133,
  4336. 3223435511,
  4337. 2605976345,
  4338. 2271191193,
  4339. 2516031870,
  4340. 1648197032,
  4341. 4164389018,
  4342. 2548247927,
  4343. 300782431,
  4344. 375919233,
  4345. 238389289,
  4346. 3353747414,
  4347. 2531188641,
  4348. 2019080857,
  4349. 1475708069,
  4350. 455242339,
  4351. 2609103871,
  4352. 448939670,
  4353. 3451063019,
  4354. 1395535956,
  4355. 2413381860,
  4356. 1841049896,
  4357. 1491858159,
  4358. 885456874,
  4359. 4264095073,
  4360. 4001119347,
  4361. 1565136089,
  4362. 3898914787,
  4363. 1108368660,
  4364. 540939232,
  4365. 1173283510,
  4366. 2745871338,
  4367. 3681308437,
  4368. 4207628240,
  4369. 3343053890,
  4370. 4016749493,
  4371. 1699691293,
  4372. 1103962373,
  4373. 3625875870,
  4374. 2256883143,
  4375. 3830138730,
  4376. 1031889488,
  4377. 3479347698,
  4378. 1535977030,
  4379. 4236805024,
  4380. 3251091107,
  4381. 2132092099,
  4382. 1774941330,
  4383. 1199868427,
  4384. 1452454533,
  4385. 157007616,
  4386. 2904115357,
  4387. 342012276,
  4388. 595725824,
  4389. 1480756522,
  4390. 206960106,
  4391. 497939518,
  4392. 591360097,
  4393. 863170706,
  4394. 2375253569,
  4395. 3596610801,
  4396. 1814182875,
  4397. 2094937945,
  4398. 3421402208,
  4399. 1082520231,
  4400. 3463918190,
  4401. 2785509508,
  4402. 435703966,
  4403. 3908032597,
  4404. 1641649973,
  4405. 2842273706,
  4406. 3305899714,
  4407. 1510255612,
  4408. 2148256476,
  4409. 2655287854,
  4410. 3276092548,
  4411. 4258621189,
  4412. 236887753,
  4413. 3681803219,
  4414. 274041037,
  4415. 1734335097,
  4416. 3815195456,
  4417. 3317970021,
  4418. 1899903192,
  4419. 1026095262,
  4420. 4050517792,
  4421. 356393447,
  4422. 2410691914,
  4423. 3873677099,
  4424. 3682840055
  4425. ],
  4426. [
  4427. 3913112168,
  4428. 2491498743,
  4429. 4132185628,
  4430. 2489919796,
  4431. 1091903735,
  4432. 1979897079,
  4433. 3170134830,
  4434. 3567386728,
  4435. 3557303409,
  4436. 857797738,
  4437. 1136121015,
  4438. 1342202287,
  4439. 507115054,
  4440. 2535736646,
  4441. 337727348,
  4442. 3213592640,
  4443. 1301675037,
  4444. 2528481711,
  4445. 1895095763,
  4446. 1721773893,
  4447. 3216771564,
  4448. 62756741,
  4449. 2142006736,
  4450. 835421444,
  4451. 2531993523,
  4452. 1442658625,
  4453. 3659876326,
  4454. 2882144922,
  4455. 676362277,
  4456. 1392781812,
  4457. 170690266,
  4458. 3921047035,
  4459. 1759253602,
  4460. 3611846912,
  4461. 1745797284,
  4462. 664899054,
  4463. 1329594018,
  4464. 3901205900,
  4465. 3045908486,
  4466. 2062866102,
  4467. 2865634940,
  4468. 3543621612,
  4469. 3464012697,
  4470. 1080764994,
  4471. 553557557,
  4472. 3656615353,
  4473. 3996768171,
  4474. 991055499,
  4475. 499776247,
  4476. 1265440854,
  4477. 648242737,
  4478. 3940784050,
  4479. 980351604,
  4480. 3713745714,
  4481. 1749149687,
  4482. 3396870395,
  4483. 4211799374,
  4484. 3640570775,
  4485. 1161844396,
  4486. 3125318951,
  4487. 1431517754,
  4488. 545492359,
  4489. 4268468663,
  4490. 3499529547,
  4491. 1437099964,
  4492. 2702547544,
  4493. 3433638243,
  4494. 2581715763,
  4495. 2787789398,
  4496. 1060185593,
  4497. 1593081372,
  4498. 2418618748,
  4499. 4260947970,
  4500. 69676912,
  4501. 2159744348,
  4502. 86519011,
  4503. 2512459080,
  4504. 3838209314,
  4505. 1220612927,
  4506. 3339683548,
  4507. 133810670,
  4508. 1090789135,
  4509. 1078426020,
  4510. 1569222167,
  4511. 845107691,
  4512. 3583754449,
  4513. 4072456591,
  4514. 1091646820,
  4515. 628848692,
  4516. 1613405280,
  4517. 3757631651,
  4518. 526609435,
  4519. 236106946,
  4520. 48312990,
  4521. 2942717905,
  4522. 3402727701,
  4523. 1797494240,
  4524. 859738849,
  4525. 992217954,
  4526. 4005476642,
  4527. 2243076622,
  4528. 3870952857,
  4529. 3732016268,
  4530. 765654824,
  4531. 3490871365,
  4532. 2511836413,
  4533. 1685915746,
  4534. 3888969200,
  4535. 1414112111,
  4536. 2273134842,
  4537. 3281911079,
  4538. 4080962846,
  4539. 172450625,
  4540. 2569994100,
  4541. 980381355,
  4542. 4109958455,
  4543. 2819808352,
  4544. 2716589560,
  4545. 2568741196,
  4546. 3681446669,
  4547. 3329971472,
  4548. 1835478071,
  4549. 660984891,
  4550. 3704678404,
  4551. 4045999559,
  4552. 3422617507,
  4553. 3040415634,
  4554. 1762651403,
  4555. 1719377915,
  4556. 3470491036,
  4557. 2693910283,
  4558. 3642056355,
  4559. 3138596744,
  4560. 1364962596,
  4561. 2073328063,
  4562. 1983633131,
  4563. 926494387,
  4564. 3423689081,
  4565. 2150032023,
  4566. 4096667949,
  4567. 1749200295,
  4568. 3328846651,
  4569. 309677260,
  4570. 2016342300,
  4571. 1779581495,
  4572. 3079819751,
  4573. 111262694,
  4574. 1274766160,
  4575. 443224088,
  4576. 298511866,
  4577. 1025883608,
  4578. 3806446537,
  4579. 1145181785,
  4580. 168956806,
  4581. 3641502830,
  4582. 3584813610,
  4583. 1689216846,
  4584. 3666258015,
  4585. 3200248200,
  4586. 1692713982,
  4587. 2646376535,
  4588. 4042768518,
  4589. 1618508792,
  4590. 1610833997,
  4591. 3523052358,
  4592. 4130873264,
  4593. 2001055236,
  4594. 3610705100,
  4595. 2202168115,
  4596. 4028541809,
  4597. 2961195399,
  4598. 1006657119,
  4599. 2006996926,
  4600. 3186142756,
  4601. 1430667929,
  4602. 3210227297,
  4603. 1314452623,
  4604. 4074634658,
  4605. 4101304120,
  4606. 2273951170,
  4607. 1399257539,
  4608. 3367210612,
  4609. 3027628629,
  4610. 1190975929,
  4611. 2062231137,
  4612. 2333990788,
  4613. 2221543033,
  4614. 2438960610,
  4615. 1181637006,
  4616. 548689776,
  4617. 2362791313,
  4618. 3372408396,
  4619. 3104550113,
  4620. 3145860560,
  4621. 296247880,
  4622. 1970579870,
  4623. 3078560182,
  4624. 3769228297,
  4625. 1714227617,
  4626. 3291629107,
  4627. 3898220290,
  4628. 166772364,
  4629. 1251581989,
  4630. 493813264,
  4631. 448347421,
  4632. 195405023,
  4633. 2709975567,
  4634. 677966185,
  4635. 3703036547,
  4636. 1463355134,
  4637. 2715995803,
  4638. 1338867538,
  4639. 1343315457,
  4640. 2802222074,
  4641. 2684532164,
  4642. 233230375,
  4643. 2599980071,
  4644. 2000651841,
  4645. 3277868038,
  4646. 1638401717,
  4647. 4028070440,
  4648. 3237316320,
  4649. 6314154,
  4650. 819756386,
  4651. 300326615,
  4652. 590932579,
  4653. 1405279636,
  4654. 3267499572,
  4655. 3150704214,
  4656. 2428286686,
  4657. 3959192993,
  4658. 3461946742,
  4659. 1862657033,
  4660. 1266418056,
  4661. 963775037,
  4662. 2089974820,
  4663. 2263052895,
  4664. 1917689273,
  4665. 448879540,
  4666. 3550394620,
  4667. 3981727096,
  4668. 150775221,
  4669. 3627908307,
  4670. 1303187396,
  4671. 508620638,
  4672. 2975983352,
  4673. 2726630617,
  4674. 1817252668,
  4675. 1876281319,
  4676. 1457606340,
  4677. 908771278,
  4678. 3720792119,
  4679. 3617206836,
  4680. 2455994898,
  4681. 1729034894,
  4682. 1080033504
  4683. ],
  4684. [
  4685. 976866871,
  4686. 3556439503,
  4687. 2881648439,
  4688. 1522871579,
  4689. 1555064734,
  4690. 1336096578,
  4691. 3548522304,
  4692. 2579274686,
  4693. 3574697629,
  4694. 3205460757,
  4695. 3593280638,
  4696. 3338716283,
  4697. 3079412587,
  4698. 564236357,
  4699. 2993598910,
  4700. 1781952180,
  4701. 1464380207,
  4702. 3163844217,
  4703. 3332601554,
  4704. 1699332808,
  4705. 1393555694,
  4706. 1183702653,
  4707. 3581086237,
  4708. 1288719814,
  4709. 691649499,
  4710. 2847557200,
  4711. 2895455976,
  4712. 3193889540,
  4713. 2717570544,
  4714. 1781354906,
  4715. 1676643554,
  4716. 2592534050,
  4717. 3230253752,
  4718. 1126444790,
  4719. 2770207658,
  4720. 2633158820,
  4721. 2210423226,
  4722. 2615765581,
  4723. 2414155088,
  4724. 3127139286,
  4725. 673620729,
  4726. 2805611233,
  4727. 1269405062,
  4728. 4015350505,
  4729. 3341807571,
  4730. 4149409754,
  4731. 1057255273,
  4732. 2012875353,
  4733. 2162469141,
  4734. 2276492801,
  4735. 2601117357,
  4736. 993977747,
  4737. 3918593370,
  4738. 2654263191,
  4739. 753973209,
  4740. 36408145,
  4741. 2530585658,
  4742. 25011837,
  4743. 3520020182,
  4744. 2088578344,
  4745. 530523599,
  4746. 2918365339,
  4747. 1524020338,
  4748. 1518925132,
  4749. 3760827505,
  4750. 3759777254,
  4751. 1202760957,
  4752. 3985898139,
  4753. 3906192525,
  4754. 674977740,
  4755. 4174734889,
  4756. 2031300136,
  4757. 2019492241,
  4758. 3983892565,
  4759. 4153806404,
  4760. 3822280332,
  4761. 352677332,
  4762. 2297720250,
  4763. 60907813,
  4764. 90501309,
  4765. 3286998549,
  4766. 1016092578,
  4767. 2535922412,
  4768. 2839152426,
  4769. 457141659,
  4770. 509813237,
  4771. 4120667899,
  4772. 652014361,
  4773. 1966332200,
  4774. 2975202805,
  4775. 55981186,
  4776. 2327461051,
  4777. 676427537,
  4778. 3255491064,
  4779. 2882294119,
  4780. 3433927263,
  4781. 1307055953,
  4782. 942726286,
  4783. 933058658,
  4784. 2468411793,
  4785. 3933900994,
  4786. 4215176142,
  4787. 1361170020,
  4788. 2001714738,
  4789. 2830558078,
  4790. 3274259782,
  4791. 1222529897,
  4792. 1679025792,
  4793. 2729314320,
  4794. 3714953764,
  4795. 1770335741,
  4796. 151462246,
  4797. 3013232138,
  4798. 1682292957,
  4799. 1483529935,
  4800. 471910574,
  4801. 1539241949,
  4802. 458788160,
  4803. 3436315007,
  4804. 1807016891,
  4805. 3718408830,
  4806. 978976581,
  4807. 1043663428,
  4808. 3165965781,
  4809. 1927990952,
  4810. 4200891579,
  4811. 2372276910,
  4812. 3208408903,
  4813. 3533431907,
  4814. 1412390302,
  4815. 2931980059,
  4816. 4132332400,
  4817. 1947078029,
  4818. 3881505623,
  4819. 4168226417,
  4820. 2941484381,
  4821. 1077988104,
  4822. 1320477388,
  4823. 886195818,
  4824. 18198404,
  4825. 3786409e3,
  4826. 2509781533,
  4827. 112762804,
  4828. 3463356488,
  4829. 1866414978,
  4830. 891333506,
  4831. 18488651,
  4832. 661792760,
  4833. 1628790961,
  4834. 3885187036,
  4835. 3141171499,
  4836. 876946877,
  4837. 2693282273,
  4838. 1372485963,
  4839. 791857591,
  4840. 2686433993,
  4841. 3759982718,
  4842. 3167212022,
  4843. 3472953795,
  4844. 2716379847,
  4845. 445679433,
  4846. 3561995674,
  4847. 3504004811,
  4848. 3574258232,
  4849. 54117162,
  4850. 3331405415,
  4851. 2381918588,
  4852. 3769707343,
  4853. 4154350007,
  4854. 1140177722,
  4855. 4074052095,
  4856. 668550556,
  4857. 3214352940,
  4858. 367459370,
  4859. 261225585,
  4860. 2610173221,
  4861. 4209349473,
  4862. 3468074219,
  4863. 3265815641,
  4864. 314222801,
  4865. 3066103646,
  4866. 3808782860,
  4867. 282218597,
  4868. 3406013506,
  4869. 3773591054,
  4870. 379116347,
  4871. 1285071038,
  4872. 846784868,
  4873. 2669647154,
  4874. 3771962079,
  4875. 3550491691,
  4876. 2305946142,
  4877. 453669953,
  4878. 1268987020,
  4879. 3317592352,
  4880. 3279303384,
  4881. 3744833421,
  4882. 2610507566,
  4883. 3859509063,
  4884. 266596637,
  4885. 3847019092,
  4886. 517658769,
  4887. 3462560207,
  4888. 3443424879,
  4889. 370717030,
  4890. 4247526661,
  4891. 2224018117,
  4892. 4143653529,
  4893. 4112773975,
  4894. 2788324899,
  4895. 2477274417,
  4896. 1456262402,
  4897. 2901442914,
  4898. 1517677493,
  4899. 1846949527,
  4900. 2295493580,
  4901. 3734397586,
  4902. 2176403920,
  4903. 1280348187,
  4904. 1908823572,
  4905. 3871786941,
  4906. 846861322,
  4907. 1172426758,
  4908. 3287448474,
  4909. 3383383037,
  4910. 1655181056,
  4911. 3139813346,
  4912. 901632758,
  4913. 1897031941,
  4914. 2986607138,
  4915. 3066810236,
  4916. 3447102507,
  4917. 1393639104,
  4918. 373351379,
  4919. 950779232,
  4920. 625454576,
  4921. 3124240540,
  4922. 4148612726,
  4923. 2007998917,
  4924. 544563296,
  4925. 2244738638,
  4926. 2330496472,
  4927. 2058025392,
  4928. 1291430526,
  4929. 424198748,
  4930. 50039436,
  4931. 29584100,
  4932. 3605783033,
  4933. 2429876329,
  4934. 2791104160,
  4935. 1057563949,
  4936. 3255363231,
  4937. 3075367218,
  4938. 3463963227,
  4939. 1469046755,
  4940. 985887462
  4941. ]
  4942. ];
  4943. var s = {
  4944. pbox: [],
  4945. sbox: []
  4946. };
  4947. function Q(v, H) {
  4948. let g = H >> 24 & 255, C = H >> 16 & 255, r = H >> 8 & 255, O = H & 255, L = v.sbox[0][g] + v.sbox[1][C];
  4949. return L = L ^ v.sbox[2][r], L = L + v.sbox[3][O], L;
  4950. }
  4951. function e(v, H, g) {
  4952. let C = H, r = g, O;
  4953. for (let L = 0; L < c; ++L)
  4954. C = C ^ v.pbox[L], r = Q(v, C) ^ r, O = C, C = r, r = O;
  4955. return O = C, C = r, r = O, r = r ^ v.pbox[c], C = C ^ v.pbox[c + 1], { left: C, right: r };
  4956. }
  4957. function f(v, H, g) {
  4958. let C = H, r = g, O;
  4959. for (let L = c + 1; L > 1; --L)
  4960. C = C ^ v.pbox[L], r = Q(v, C) ^ r, O = C, C = r, r = O;
  4961. return O = C, C = r, r = O, r = r ^ v.pbox[1], C = C ^ v.pbox[0], { left: C, right: r };
  4962. }
  4963. function t(v, H, g) {
  4964. for (let Z = 0; Z < 4; Z++) {
  4965. v.sbox[Z] = [];
  4966. for (let d = 0; d < 256; d++)
  4967. v.sbox[Z][d] = B[Z][d];
  4968. }
  4969. let C = 0;
  4970. for (let Z = 0; Z < c + 2; Z++)
  4971. v.pbox[Z] = Y[Z] ^ H[C], C++, C >= g && (C = 0);
  4972. let r = 0, O = 0, L = 0;
  4973. for (let Z = 0; Z < c + 2; Z += 2)
  4974. L = e(v, r, O), r = L.left, O = L.right, v.pbox[Z] = r, v.pbox[Z + 1] = O;
  4975. for (let Z = 0; Z < 4; Z++)
  4976. for (let d = 0; d < 256; d += 2)
  4977. L = e(v, r, O), r = L.left, O = L.right, v.sbox[Z][d] = r, v.sbox[Z][d + 1] = O;
  4978. return !0;
  4979. }
  4980. var P = l.Blowfish = z.extend({
  4981. _doReset: function() {
  4982. if (this._keyPriorReset !== this._key) {
  4983. var v = this._keyPriorReset = this._key, H = v.words, g = v.sigBytes / 4;
  4984. t(s, H, g);
  4985. }
  4986. },
  4987. encryptBlock: function(v, H) {
  4988. var g = e(s, v[H], v[H + 1]);
  4989. v[H] = g.left, v[H + 1] = g.right;
  4990. },
  4991. decryptBlock: function(v, H) {
  4992. var g = f(s, v[H], v[H + 1]);
  4993. v[H] = g.left, v[H + 1] = g.right;
  4994. },
  4995. blockSize: 64 / 32,
  4996. keySize: 128 / 32,
  4997. ivSize: 64 / 32
  4998. });
  4999. D.Blowfish = z._createHelper(P);
  5000. }(), A.Blowfish;
  5001. });
  5002. }(Lg)), Lg.exports;
  5003. }
  5004. (function(M, n) {
  5005. (function(A, D, w) {
  5006. M.exports = D(U(), JA(), yw(), Xw(), OA(), jw(), xA(), mB(), lg(), Vw(), kB(), ow(), Fw(), Nw(), Gg(), mw(), QA(), gA(), kw(), Jw(), Kw(), Ew(), Iw(), pw(), Tw(), Sw(), Uw(), iw(), qw(), hw(), Rw(), _w(), $w(), AD(), gD());
  5007. })(I, function(A) {
  5008. return A;
  5009. });
  5010. })(NB);
  5011. var BD = NB.exports;
  5012. const VA = /* @__PURE__ */ Bw(BD);
  5013. function NA(M, n = "XwKsGlMcdPMEhR1B") {
  5014. var A = VA.enc.Utf8.parse(n), D = VA.enc.Utf8.parse(M), w = VA.AES.encrypt(D, A, { mode: VA.mode.ECB, padding: VA.pad.Pkcs7 });
  5015. return w.toString();
  5016. }
  5017. function JB(M) {
  5018. var n, A, D, w, z = M.$el.parentNode.offsetWidth || window.offsetWidth, l = M.$el.parentNode.offsetHeight || window.offsetHeight;
  5019. return M.imgSize.width.indexOf("%") != -1 ? n = parseInt(this.imgSize.width) / 100 * z + "px" : n = this.imgSize.width, M.imgSize.height.indexOf("%") != -1 ? A = parseInt(this.imgSize.height) / 100 * l + "px" : A = this.imgSize.height, M.barSize.width.indexOf("%") != -1 ? D = parseInt(this.barSize.width) / 100 * z + "px" : D = this.barSize.width, M.barSize.height.indexOf("%") != -1 ? w = parseInt(this.barSize.height) / 100 * l + "px" : w = this.barSize.height, { imgWidth: n, imgHeight: A, barWidth: D, barHeight: w };
  5020. }
  5021. const wD = {
  5022. name: "SVerifySlide",
  5023. props: {
  5024. // eslint-disable-next-line vue/require-default-prop
  5025. captchaType: {
  5026. type: String
  5027. },
  5028. type: {
  5029. type: String,
  5030. default: "1"
  5031. },
  5032. // 弹出式pop,固定fixed
  5033. mode: {
  5034. type: String,
  5035. default: "fixed"
  5036. },
  5037. vSpace: {
  5038. type: Number,
  5039. default: 5
  5040. },
  5041. explain: {
  5042. type: String,
  5043. default: window.$l("向右滑动完成验证")
  5044. },
  5045. imgSize: {
  5046. type: Object,
  5047. default() {
  5048. return {
  5049. width: "310px",
  5050. height: "155px"
  5051. };
  5052. }
  5053. },
  5054. blockSize: {
  5055. type: Object,
  5056. default() {
  5057. return {
  5058. width: "50px",
  5059. height: "50px"
  5060. };
  5061. }
  5062. },
  5063. barSize: {
  5064. type: Object,
  5065. default() {
  5066. return {
  5067. width: "310px",
  5068. height: "40px"
  5069. };
  5070. }
  5071. }
  5072. },
  5073. data() {
  5074. return {
  5075. secretKey: "",
  5076. // 后端返回的加密秘钥 字段
  5077. passFlag: "",
  5078. // 是否通过的标识
  5079. backImgBase: "",
  5080. // 验证码背景图片
  5081. blockBackImgBase: "",
  5082. // 验证滑块的背景图片
  5083. backToken: "",
  5084. // 后端返回的唯一token值
  5085. startMoveTime: "",
  5086. // 移动开始的时间
  5087. endMovetime: "",
  5088. // 移动结束的时间
  5089. tipsBackColor: "",
  5090. // 提示词的背景颜色
  5091. tipWords: "",
  5092. text: "",
  5093. finishText: "",
  5094. setSize: {
  5095. imgHeight: 0,
  5096. imgWidth: 0,
  5097. barHeight: 0,
  5098. barWidth: 0
  5099. },
  5100. top: 0,
  5101. left: 0,
  5102. moveBlockLeft: void 0,
  5103. leftBarWidth: void 0,
  5104. // 移动中样式
  5105. moveBlockBackgroundColor: void 0,
  5106. leftBarBorderColor: "var(--s-border-color-base)",
  5107. iconColor: void 0,
  5108. iconClass: "icon-right",
  5109. status: !1,
  5110. // 鼠标状态
  5111. isEnd: !1,
  5112. // 是够验证完成
  5113. showRefresh: !0,
  5114. transitionLeft: "",
  5115. transitionWidth: ""
  5116. };
  5117. },
  5118. computed: {
  5119. barArea() {
  5120. return this.$el.querySelector(".verify-bar-area");
  5121. },
  5122. resetSize() {
  5123. return JB;
  5124. }
  5125. },
  5126. methods: {
  5127. init() {
  5128. this.text = window.$l(this.explain), this.$utils.ls.get("token") && this.getPictrue(), this.$nextTick(() => {
  5129. const n = this.resetSize(this);
  5130. for (const A in n)
  5131. this.setSize[A] = parseInt(n[A]);
  5132. this.$parent.$emit("ready", this);
  5133. });
  5134. var M = this;
  5135. window.removeEventListener("touchmove", function(n) {
  5136. M.move(n);
  5137. }), window.removeEventListener("mousemove", function(n) {
  5138. M.move(n);
  5139. }), window.removeEventListener("touchend", function() {
  5140. M.end();
  5141. }), window.removeEventListener("mouseup", function() {
  5142. M.end();
  5143. }), window.addEventListener("touchmove", function(n) {
  5144. M.move(n);
  5145. }), window.addEventListener("mousemove", function(n) {
  5146. M.move(n);
  5147. }), window.addEventListener("touchend", function() {
  5148. M.end();
  5149. }), window.addEventListener("mouseup", function() {
  5150. M.end();
  5151. });
  5152. },
  5153. // 鼠标按下
  5154. start: function(M) {
  5155. if (M = M || window.event, M.touches)
  5156. var n = M.touches[0].pageX;
  5157. else
  5158. var n = M.clientX;
  5159. this.startLeft = Math.floor(n - this.barArea.getBoundingClientRect().left), this.startMoveTime = +/* @__PURE__ */ new Date(), this.isEnd == !1 && (this.text = "", this.moveBlockBackgroundColor = "var(--s-color)", this.leftBarBorderColor = "var(--s-color)", this.iconColor = "var(--s-text-color-inverse)", M.stopPropagation(), this.status = !0);
  5160. },
  5161. // 鼠标移动
  5162. move: function(M) {
  5163. if (M = M || window.event, this.status && this.isEnd == !1) {
  5164. if (M.touches)
  5165. var n = M.touches[0].pageX;
  5166. else
  5167. var n = M.clientX;
  5168. var A = this.barArea.getBoundingClientRect().left, D = n - A;
  5169. D >= this.barArea.offsetWidth - parseInt(parseInt(this.blockSize.width) / 2) - 2 && (D = this.barArea.offsetWidth - parseInt(parseInt(this.blockSize.width) / 2) - 2), D <= 0 && (D = parseInt(parseInt(this.blockSize.width) / 2)), this.moveBlockLeft = D - this.startLeft + "px", this.leftBarWidth = D - this.startLeft + "px";
  5170. }
  5171. },
  5172. // 鼠标松开
  5173. end: function() {
  5174. this.endMovetime = +/* @__PURE__ */ new Date();
  5175. var M = this;
  5176. if (this.status && this.isEnd == !1) {
  5177. var n = parseInt((this.moveBlockLeft || "").replace("px", ""));
  5178. n = n * 310 / parseInt(this.setSize.imgWidth);
  5179. const A = {
  5180. captchaType: this.captchaType,
  5181. pointJson: this.secretKey ? NA(JSON.stringify({ x: n, y: 5 }), this.secretKey) : JSON.stringify({ x: n, y: 5 }),
  5182. token: this.backToken
  5183. };
  5184. bB(A).then((D) => {
  5185. if (D.repCode == "0000") {
  5186. this.moveBlockBackgroundColor = "var(--s-color-success)", this.leftBarBorderColor = "var(--s-color-success)", this.iconColor = "var(--s-text-color-inverse)", this.iconClass = "icon-check", this.showRefresh = !1, this.isEnd = !0, this.mode == "pop" && setTimeout(() => {
  5187. this.$parent.clickShow = !1, this.refresh();
  5188. }, 1500), this.passFlag = !0, this.tipWords = `${((this.endMovetime - this.startMoveTime) / 1e3).toFixed(2)}s ${window.$l("验证成功")}`;
  5189. var w = this.secretKey ? NA(
  5190. this.backToken + "---" + JSON.stringify({ x: n, y: 5 }),
  5191. this.secretKey
  5192. ) : this.backToken + "---" + JSON.stringify({ x: n, y: 5 });
  5193. setTimeout(() => {
  5194. this.tipWords = "", this.$parent.closeBox(), this.$parent.$emit("success", { captchaVerification: w });
  5195. }, 1e3);
  5196. } else
  5197. this.moveBlockBackgroundColor = "var(--s-color-error)", this.leftBarBorderColor = "var(--s-color-error)", this.iconColor = "var(--s-text-color-inverse)", this.iconClass = "icon-close", this.passFlag = !1, setTimeout(function() {
  5198. M.refresh();
  5199. }, 1e3), this.$parent.$emit("error", this), this.tipWords = window.$l("验证失败"), setTimeout(() => {
  5200. this.tipWords = "";
  5201. }, 1e3);
  5202. }), this.status = !1;
  5203. }
  5204. },
  5205. refresh: function() {
  5206. this.showRefresh = !0, this.finishText = "", this.transitionLeft = "left .3s", this.moveBlockLeft = 0, this.leftBarWidth = void 0, this.transitionWidth = "width .3s", this.leftBarBorderColor = "var(--s-border-color-base)", this.moveBlockBackgroundColor = "var(--s-bg-color-container)", this.iconColor = "var(--s-text-color)", this.iconClass = "icon-right", this.isEnd = !1, this.getPictrue(), setTimeout(() => {
  5207. this.transitionWidth = "", this.transitionLeft = "", this.text = window.$l(this.explain);
  5208. }, 300);
  5209. },
  5210. // 请求背景图片和验证图片
  5211. getPictrue() {
  5212. const M = {
  5213. captchaType: this.captchaType
  5214. };
  5215. ZB(M).then((n) => {
  5216. n.repCode == "0000" ? (this.backImgBase = n.repData.originalImageBase64, this.blockBackImgBase = n.repData.jigsawImageBase64, this.backToken = n.repData.token, this.secretKey = n.repData.secretKey) : this.tipWords = n.repMsg;
  5217. });
  5218. }
  5219. },
  5220. watch: {
  5221. // type变化则全面刷新
  5222. type: {
  5223. immediate: !0,
  5224. handler() {
  5225. this.init();
  5226. }
  5227. }
  5228. },
  5229. mounted() {
  5230. this.$el.onselectstart = function() {
  5231. return !1;
  5232. };
  5233. }
  5234. }, DD = { style: { position: "relative" } }, sD = ["src"], eD = ["textContent"], CD = ["textContent"], tD = ["src"];
  5235. function MD(M, n, A, D, w, z) {
  5236. return m(), T("div", DD, [
  5237. A.type === "2" ? (m(), T("div", {
  5238. key: 0,
  5239. style: vA({ height: parseInt(w.setSize.imgHeight) + A.vSpace + "px" }),
  5240. class: "verify-img-out"
  5241. }, [
  5242. V("div", {
  5243. style: vA({ width: w.setSize.imgWidth + "px", height: w.setSize.imgHeight + "px" }),
  5244. class: "verify-img-panel"
  5245. }, [
  5246. V("img", {
  5247. src: "data:image/png;base64," + w.backImgBase,
  5248. alt: "",
  5249. style: { width: "100%", height: "100%", display: "block" }
  5250. }, null, 8, sD),
  5251. xg(V("div", {
  5252. onClick: n[0] || (n[0] = (...l) => z.refresh && z.refresh(...l)),
  5253. class: "verify-refresh"
  5254. }, [...n[3] || (n[3] = [
  5255. V("i", { class: "iconfont icon-refresh" }, null, -1)
  5256. ])], 512), [
  5257. [Zg, w.showRefresh]
  5258. ]),
  5259. o(vw, { name: "tips" }, {
  5260. default: F(() => [
  5261. w.tipWords ? (m(), T("span", {
  5262. key: 0,
  5263. class: oA([w.passFlag ? "suc-bg" : "err-bg", "verify-tips"])
  5264. }, E(w.tipWords), 3)) : AA("", !0)
  5265. ]),
  5266. _: 1
  5267. })
  5268. ], 4)
  5269. ], 4)) : AA("", !0),
  5270. V("div", {
  5271. style: vA({
  5272. width: w.setSize.imgWidth + "px",
  5273. height: A.barSize.height,
  5274. "line-height": A.barSize.height
  5275. }),
  5276. class: "verify-bar-area"
  5277. }, [
  5278. V("span", {
  5279. class: "verify-msg",
  5280. textContent: E(w.text)
  5281. }, null, 8, eD),
  5282. V("div", {
  5283. style: vA({
  5284. width: w.leftBarWidth !== void 0 ? w.leftBarWidth : A.barSize.height,
  5285. height: A.barSize.height,
  5286. "border-color": w.leftBarBorderColor,
  5287. transaction: w.transitionWidth
  5288. }),
  5289. class: "verify-left-bar"
  5290. }, [
  5291. V("span", {
  5292. class: "verify-msg",
  5293. textContent: E(w.finishText)
  5294. }, null, 8, CD),
  5295. V("div", {
  5296. style: vA({
  5297. width: A.barSize.height,
  5298. height: A.barSize.height,
  5299. "background-color": w.moveBlockBackgroundColor,
  5300. left: w.moveBlockLeft,
  5301. transition: w.transitionLeft
  5302. }),
  5303. onMousedown: n[1] || (n[1] = (...l) => z.start && z.start(...l)),
  5304. onTouchstart: n[2] || (n[2] = (...l) => z.start && z.start(...l)),
  5305. class: "verify-move-block"
  5306. }, [
  5307. V("i", {
  5308. class: oA(["verify-icon iconfont", w.iconClass]),
  5309. style: vA({ color: w.iconColor })
  5310. }, null, 6),
  5311. A.type === "2" ? (m(), T("div", {
  5312. key: 0,
  5313. style: vA({
  5314. width: Math.floor(parseInt(w.setSize.imgWidth) * 47 / 310) + "px",
  5315. height: w.setSize.imgHeight + "px",
  5316. top: "-" + (parseInt(w.setSize.imgHeight) + A.vSpace) + "px",
  5317. "background-size": w.setSize.imgWidth + "px," + w.setSize.imgHeight + "px"
  5318. }),
  5319. class: "verify-sub-block"
  5320. }, [
  5321. V("img", {
  5322. src: "data:image/png;base64," + w.blockBackImgBase,
  5323. alt: "",
  5324. style: { width: "100%", height: "100%", display: "block" }
  5325. }, null, 8, tD)
  5326. ], 4)) : AA("", !0)
  5327. ], 36)
  5328. ], 4)
  5329. ], 4)
  5330. ]);
  5331. }
  5332. const vD = /* @__PURE__ */ PA(wD, [["render", MD]]), rD = {
  5333. name: "VerifyPoints",
  5334. props: {
  5335. // 弹出式pop,固定fixed
  5336. mode: {
  5337. type: String,
  5338. default: "fixed"
  5339. },
  5340. // eslint-disable-next-line vue/require-default-prop
  5341. captchaType: {
  5342. type: String
  5343. },
  5344. // 间隔
  5345. vSpace: {
  5346. type: Number,
  5347. default: 5
  5348. },
  5349. imgSize: {
  5350. type: Object,
  5351. default() {
  5352. return {
  5353. width: "310px",
  5354. height: "155px"
  5355. };
  5356. }
  5357. },
  5358. barSize: {
  5359. type: Object,
  5360. default() {
  5361. return {
  5362. width: "310px",
  5363. height: "40px"
  5364. };
  5365. }
  5366. }
  5367. },
  5368. data() {
  5369. return {
  5370. secretKey: "",
  5371. // 后端返回的ase加密秘钥
  5372. checkNum: 3,
  5373. // 默认需要点击的字数
  5374. fontPos: [],
  5375. // 选中的坐标信息
  5376. checkPosArr: [],
  5377. // 用户点击的坐标
  5378. num: 1,
  5379. // 点击的记数
  5380. pointBackImgBase: "",
  5381. // 后端获取到的背景图片
  5382. poinTextList: [],
  5383. // 后端返回的点击字体顺序
  5384. backToken: "",
  5385. // 后端返回的token值
  5386. setSize: {
  5387. imgHeight: 0,
  5388. imgWidth: 0,
  5389. barHeight: 0,
  5390. barWidth: 0
  5391. },
  5392. tempPoints: [],
  5393. text: "",
  5394. barAreaColor: void 0,
  5395. barAreaBorderColor: void 0,
  5396. showRefresh: !0,
  5397. bindingClick: !0
  5398. };
  5399. },
  5400. computed: {
  5401. resetSize() {
  5402. return JB;
  5403. }
  5404. },
  5405. methods: {
  5406. init() {
  5407. this.fontPos.splice(0, this.fontPos.length), this.checkPosArr.splice(0, this.checkPosArr.length), this.num = 1, this.$utils.ls.get("token") && this.getPictrue(), this.$nextTick(() => {
  5408. this.setSize = this.resetSize(this), this.$parent.$emit("ready", this);
  5409. });
  5410. },
  5411. canvasClick(M) {
  5412. this.checkPosArr.push(this.getMousePos(this.$refs.canvas, M)), this.num == this.checkNum && (this.num = this.createPoint(this.getMousePos(this.$refs.canvas, M)), this.checkPosArr = this.pointTransfrom(this.checkPosArr, this.setSize), setTimeout(() => {
  5413. var n = this.secretKey ? NA(this.backToken + "---" + JSON.stringify(this.checkPosArr), this.secretKey) : this.backToken + "---" + JSON.stringify(this.checkPosArr);
  5414. const A = {
  5415. captchaType: this.captchaType,
  5416. pointJson: this.secretKey ? NA(JSON.stringify(this.checkPosArr), this.secretKey) : JSON.stringify(this.checkPosArr),
  5417. token: this.backToken
  5418. };
  5419. bB(A).then((D) => {
  5420. D.repCode == "0000" ? (this.barAreaColor = "var(--s-color-success)", this.barAreaBorderColor = "var(--s-color-success)", this.text = window.$l("验证成功"), this.bindingClick = !1, this.mode == "pop" && setTimeout(() => {
  5421. this.$parent.clickShow = !1, this.refresh();
  5422. }, 1500), this.$parent.$emit("success", { captchaVerification: n })) : (this.$parent.$emit("error", this), this.barAreaColor = "var(--s-color-error)", this.barAreaBorderColor = "var(--s-color-error)", this.text = window.$l("验证失败"), setTimeout(() => {
  5423. this.refresh();
  5424. }, 700));
  5425. });
  5426. }, 400)), this.num < this.checkNum && (this.num = this.createPoint(this.getMousePos(this.$refs.canvas, M)));
  5427. },
  5428. // 获取坐标
  5429. getMousePos: function(M, n) {
  5430. var A = n.offsetX, D = n.offsetY;
  5431. return { x: A, y: D };
  5432. },
  5433. // 创建坐标点
  5434. createPoint: function(M) {
  5435. return this.tempPoints.push(Object.assign({}, M)), ++this.num;
  5436. },
  5437. refresh: function() {
  5438. this.tempPoints.splice(0, this.tempPoints.length), this.barAreaColor = "var(--s-text-color)", this.barAreaBorderColor = "var(--s-border-color-base)", this.bindingClick = !0, this.fontPos.splice(0, this.fontPos.length), this.checkPosArr.splice(0, this.checkPosArr.length), this.num = 1, this.getPictrue(), this.text = window.$l("验证失败"), this.showRefresh = !0;
  5439. },
  5440. // 请求背景图片和验证图片
  5441. getPictrue() {
  5442. const M = {
  5443. captchaType: this.captchaType
  5444. };
  5445. ZB(M).then((n) => {
  5446. n.repCode == "0000" ? (this.pointBackImgBase = n.repData.originalImageBase64, this.backToken = n.repData.token, this.secretKey = n.repData.secretKey, this.poinTextList = n.repData.wordList, this.text = window.$l("请依次点击【") + this.poinTextList.join(",") + window.$l("】")) : this.text = n.repMsg;
  5447. });
  5448. },
  5449. // 坐标转换函数
  5450. pointTransfrom(M, n) {
  5451. var A = M.map((D) => {
  5452. const w = Math.round(310 * D.x / parseInt(n.imgWidth)), z = Math.round(155 * D.y / parseInt(n.imgHeight));
  5453. return { x: w, y: z };
  5454. });
  5455. return A;
  5456. }
  5457. },
  5458. watch: {
  5459. // type变化则全面刷新
  5460. type: {
  5461. immediate: !0,
  5462. handler() {
  5463. this.init();
  5464. }
  5465. }
  5466. },
  5467. mounted() {
  5468. this.$el.onselectstart = function() {
  5469. return !1;
  5470. };
  5471. }
  5472. }, fD = { style: { position: "relative" } }, nD = { class: "verify-img-out" }, zD = ["src"], PD = { class: "verify-msg" };
  5473. function cD(M, n, A, D, w, z) {
  5474. return m(), T("div", fD, [
  5475. V("div", nD, [
  5476. V("div", {
  5477. style: vA({
  5478. width: w.setSize.imgWidth,
  5479. height: w.setSize.imgHeight,
  5480. "background-size": w.setSize.imgWidth + " " + w.setSize.imgHeight,
  5481. "margin-bottom": A.vSpace + "px"
  5482. }),
  5483. class: "verify-img-panel"
  5484. }, [
  5485. xg(V("div", {
  5486. onClick: n[0] || (n[0] = (...l) => z.refresh && z.refresh(...l)),
  5487. class: "verify-refresh",
  5488. style: { "z-index": "3" }
  5489. }, [...n[2] || (n[2] = [
  5490. V("i", { class: "iconfont icon-refresh" }, null, -1)
  5491. ])], 512), [
  5492. [Zg, w.showRefresh]
  5493. ]),
  5494. V("img", {
  5495. src: "data:image/png;base64," + w.pointBackImgBase,
  5496. onClick: n[1] || (n[1] = (l) => w.bindingClick ? z.canvasClick(l) : void 0),
  5497. alt: "",
  5498. ref: "canvas",
  5499. style: { width: "100%", height: "100%", display: "block" }
  5500. }, null, 8, zD),
  5501. (m(!0), T(FA, null, bg(w.tempPoints, (l, c) => (m(), T("div", {
  5502. key: c,
  5503. style: vA({
  5504. "background-color": "var(--s-color-success)",
  5505. color: "var(--s-text-color-inverse)",
  5506. "z-index": 9999,
  5507. width: "20px",
  5508. height: "20px",
  5509. "text-align": "center",
  5510. "line-height": "20px",
  5511. "border-radius": "50%",
  5512. position: "absolute",
  5513. top: parseInt(l.y - 10) + "px",
  5514. left: parseInt(l.x - 10) + "px"
  5515. }),
  5516. class: "point-area"
  5517. }, E(c + 1), 5))), 128))
  5518. ], 4)
  5519. ]),
  5520. V("div", {
  5521. style: vA({
  5522. width: w.setSize.imgWidth,
  5523. color: this.barAreaColor,
  5524. "border-color": this.barAreaBorderColor,
  5525. "line-height": this.barSize.height
  5526. }),
  5527. class: "verify-bar-area"
  5528. }, [
  5529. V("span", PD, E(w.text), 1)
  5530. ], 4)
  5531. ]);
  5532. }
  5533. const YD = /* @__PURE__ */ PA(rD, [["render", cD]]), QD = {
  5534. name: "SVerify",
  5535. props: {
  5536. // 双语化
  5537. locale: {
  5538. require: !1,
  5539. type: String,
  5540. default() {
  5541. if (navigator.language)
  5542. var M = navigator.language;
  5543. else
  5544. var M = navigator.browserLanguage;
  5545. return M;
  5546. }
  5547. },
  5548. captchaType: {
  5549. type: String,
  5550. required: !0
  5551. },
  5552. // eslint-disable-next-line vue/require-default-prop
  5553. figure: {
  5554. type: Number
  5555. },
  5556. // eslint-disable-next-line vue/require-default-prop
  5557. arith: {
  5558. type: Number
  5559. },
  5560. mode: {
  5561. type: String,
  5562. default: "pop"
  5563. },
  5564. // eslint-disable-next-line vue/require-default-prop
  5565. vSpace: {
  5566. type: Number
  5567. },
  5568. // eslint-disable-next-line vue/require-default-prop
  5569. explain: {
  5570. type: String
  5571. },
  5572. imgSize: {
  5573. type: Object,
  5574. default() {
  5575. return {
  5576. width: "310px",
  5577. height: "155px"
  5578. };
  5579. }
  5580. },
  5581. // eslint-disable-next-line vue/require-default-prop
  5582. blockSize: {
  5583. type: Object
  5584. },
  5585. // eslint-disable-next-line vue/require-default-prop
  5586. barSize: {
  5587. type: Object
  5588. }
  5589. },
  5590. data() {
  5591. return {
  5592. // showBox:true,
  5593. clickShow: !1,
  5594. // 内部类型
  5595. verifyType: void 0,
  5596. // 所用组件类型
  5597. componentType: void 0
  5598. };
  5599. },
  5600. methods: {
  5601. /**
  5602. * i18n
  5603. * @description 兼容vue-i18n 调用$t来转换ok
  5604. * @param {String} text-被转换的目标
  5605. * @return {String} i18n的结果
  5606. * */
  5607. i18n(M) {
  5608. return this.$t ? this.$t(M) : (this.$options.i18n.messages[this.locale] || this.$options.i18n.messages["en-US"])[M];
  5609. },
  5610. /**
  5611. * refresh
  5612. * @description 刷新
  5613. * */
  5614. refresh() {
  5615. this.instance.refresh && this.instance.refresh();
  5616. },
  5617. closeBox() {
  5618. this.clickShow = !1, this.refresh();
  5619. },
  5620. show() {
  5621. this.mode == "pop" && (this.clickShow = !0);
  5622. }
  5623. },
  5624. computed: {
  5625. instance() {
  5626. return this.$refs.instance || {};
  5627. },
  5628. showBox() {
  5629. return this.mode == "pop" ? this.clickShow : !0;
  5630. }
  5631. },
  5632. watch: {
  5633. captchaType: {
  5634. immediate: !0,
  5635. handler(M) {
  5636. switch (M.toString()) {
  5637. case "blockPuzzle":
  5638. this.verifyType = "2", this.componentType = "VerifySlide";
  5639. break;
  5640. case "clickWord":
  5641. this.verifyType = "", this.componentType = "VerifyPoints";
  5642. break;
  5643. }
  5644. }
  5645. }
  5646. },
  5647. components: {
  5648. VerifySlide: vD,
  5649. VerifyPoints: YD
  5650. }
  5651. }, WD = {
  5652. key: 0,
  5653. class: "verifybox-top"
  5654. };
  5655. function HD(M, n, A, D, w, z) {
  5656. return xg((m(), T("div", {
  5657. class: oA(A.mode == "pop" ? "mask" : "")
  5658. }, [
  5659. V("div", {
  5660. class: oA(A.mode == "pop" ? "verifybox" : ""),
  5661. style: vA({ "max-width": parseInt(A.imgSize.width) + 30 + "px" })
  5662. }, [
  5663. A.mode == "pop" ? (m(), T("div", WD, [
  5664. $(E(M.$l("请完成安全验证")) + " ", 1),
  5665. V("span", {
  5666. onClick: n[0] || (n[0] = (...l) => z.closeBox && z.closeBox(...l)),
  5667. class: "verifybox-close"
  5668. }, [...n[1] || (n[1] = [
  5669. V("i", { class: "iconfont icon-close" }, null, -1)
  5670. ])])
  5671. ])) : AA("", !0),
  5672. V("div", {
  5673. style: vA({ padding: A.mode == "pop" ? "15px" : "0" }),
  5674. class: "verifybox-bottom"
  5675. }, [
  5676. w.componentType ? (m(), DA(kA(w.componentType), {
  5677. key: 0,
  5678. arith: A.arith,
  5679. barSize: A.barSize,
  5680. blockSize: A.blockSize,
  5681. captchaType: A.captchaType,
  5682. explain: A.explain,
  5683. figure: A.figure,
  5684. imgSize: A.imgSize,
  5685. mode: A.mode,
  5686. type: w.verifyType,
  5687. vSpace: A.vSpace,
  5688. ref: "instance"
  5689. }, null, 8, ["arith", "barSize", "blockSize", "captchaType", "explain", "figure", "imgSize", "mode", "type", "vSpace"])) : AA("", !0)
  5690. ], 4)
  5691. ], 6)
  5692. ], 2)), [
  5693. [Zg, z.showBox]
  5694. ]);
  5695. }
  5696. const LD = /* @__PURE__ */ PA(QD, [["render", HD]]), OD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166249698'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1866'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M734.9%20320.9c0%20123.1-99.8%20222.9-222.9%20222.9-123.1%200-222.9-99.8-222.9-222.9S388.9%2098%20512%2098c123.1%200%20222.9%2099.8%20222.9%20222.9z%20m-63.7%200c0-87.9-71.3-159.2-159.2-159.2S352.8%20233%20352.8%20320.9%20424.1%20480.2%20512%20480.2s159.2-71.3%20159.2-159.3z%20m220.6%20372.8c21.3%2010.2%2034.2%2032%2034.2%2055.5v144.9c0%2017.6-14.3%2031.8-31.8%2031.8H129.8c-17.6%200-31.8-14.3-31.8-31.8V749.2c0-23.6%2012.9-45.4%2034.2-55.5%20115.4-55.1%20243.9-86.2%20379.8-86.2s264.4%2031.1%20379.8%2086.2zM512%20671.2c-125.3%200-243.7%2028.4-350.3%2079v112.1h700.6V750.2c-106.6-50.6-225-79-350.3-79z'%20p-id='1867'%3e%3c/path%3e%3c/svg%3e", xD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166259718'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2023'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20543.8c123.1%200%20222.9-99.8%20222.9-222.9S635.1%2098%20512%2098c-123.1%200-222.9%2099.8-222.9%20222.9S388.9%20543.8%20512%20543.8z%20m414%20205.4c0-23.6-12.9-45.4-34.2-55.5-115.4-55.1-243.9-86.2-379.8-86.2s-264.4%2031-379.8%2086.2c-21.3%2010.2-34.2%2032-34.2%2055.5v144.9c0%2017.6%2014.3%2031.8%2031.8%2031.8h764.3c17.6%200%2031.8-14.3%2031.8-31.8V749.2z'%20p-id='2024'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", ZD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166266687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2226'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20543.8c123.1%200%20222.9-99.8%20222.9-222.9S635.1%2098%20512%2098c-123.1%200-222.9%2099.8-222.9%20222.9S388.9%20543.8%20512%20543.8z%20m414%20205.4c0-23.6-12.9-45.4-34.2-55.5-115.4-55.1-243.9-86.2-379.8-86.2s-264.4%2031-379.8%2086.2c-21.3%2010.2-34.2%2032-34.2%2055.5v144.9c0%2017.6%2014.3%2031.8%2031.8%2031.8h764.3c17.6%200%2031.8-14.3%2031.8-31.8V749.2z'%20p-id='2227'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", bD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166274515'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2429'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20387v-72.3C247.9%20176.2%20366.1%2064%20512%2064s264.1%20112.2%20264.1%20250.7V387h113.2c20.8%200%2037.7%2016%2037.7%2035.8v501.4c0%2019.8-16.9%2035.8-37.7%2035.8H134.7c-20.8%200-37.7-16-37.7-35.8V422.8c0-19.8%2016.9-35.8%2037.7-35.8h113.2z%20m75.5-72.3V387h377.3v-72.3c0-98.9-84.5-179.1-188.6-179.1s-188.7%2080.2-188.7%20179.1z%20m528.1%20573.7V458.6h-679v429.8h679zM361.1%20745.1v-71.6h301.8v71.6H361.1z'%20p-id='2430'%3e%3c/path%3e%3c/svg%3e", lD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166284874'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2789'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20314.7V387H134.7c-20.8%200-37.7%2016-37.7%2035.8v501.4c0%2019.8%2016.9%2035.8%2037.7%2035.8h754.5c20.8%200%2037.7-16%2037.7-35.8V422.8c0-19.8-16.9-35.8-37.7-35.8H776.1v-72.3C776.1%20176.2%20657.9%2064%20512%2064S247.9%20176.2%20247.9%20314.7z%20m75.5%2072.3v-72.3c0-98.9%2084.5-179.1%20188.6-179.1s188.6%2080.2%20188.6%20179.1V387H323.4z%20m7.5%20315.1v-57.3h362.2v57.3H330.9z'%20p-id='2790'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", GD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166289317'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2992'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M247.9%20314.7V387H134.7c-20.8%200-37.7%2016-37.7%2035.8v501.4c0%2019.8%2016.9%2035.8%2037.7%2035.8h754.5c20.8%200%2037.7-16%2037.7-35.8V422.8c0-19.8-16.9-35.8-37.7-35.8H776.1v-72.3C776.1%20176.2%20657.9%2064%20512%2064S247.9%20176.2%20247.9%20314.7z%20m75.5%2072.3v-72.3c0-98.9%2084.5-179.1%20188.6-179.1s188.6%2080.2%20188.6%20179.1V387H323.4z%20m7.5%20315.1v-57.3h362.2v57.3H330.9z'%20p-id='2993'%20fill='%23d81e06'%3e%3c/path%3e%3c/svg%3e", dD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166678793'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4912'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M809.71264%20121.30304H209.93536c-64.84992%200-117.6064%2052.75648-117.6064%20117.6064v373.06368c0%2064.84992%2052.75648%20117.6064%20117.6064%20117.6064h279.36256v123.4688H245.08928a30.72%2030.72%200%200%200%200%2061.44h570.32704a30.72%2030.72%200%200%200%200-61.44h-264.6784v-123.4688h258.97984c64.84992%200%20117.6064-52.75648%20117.6064-117.6064V238.90432c-0.00512-64.8448-52.7616-117.60128-117.61152-117.60128z%20m56.1664%20490.67008c0%2030.97088-25.19552%2056.1664-56.1664%2056.1664H209.93536c-30.97088%200-56.1664-25.19552-56.1664-56.1664V238.90432c0-30.97088%2025.19552-56.1664%2056.1664-56.1664h599.7824c30.97088%200%2056.1664%2025.19552%2056.1664%2056.1664v373.0688z'%20fill='%23ffffff'%20p-id='4913'%3e%3c/path%3e%3c/svg%3e", aD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732167079941'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5991'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M384%20928%20192%20928c-52.928%200-96-43.072-96-96l0-192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C480%20884.928%20436.928%20928%20384%20928zM192%20608c-17.632%200-32%2014.336-32%2032l0%20192c0%2017.664%2014.368%2032%2032%2032l192%200c17.632%200%2032-14.336%2032-32l0-192c0-17.664-14.368-32-32-32L192%20608zM736%20896c-17.696%200-32-14.304-32-32l0-64c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2064C768%20881.696%20753.696%20896%20736%20896zM864%20896c-17.696%200-32-14.304-32-32l0-96c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2096C896%20881.696%20881.696%20896%20864%20896zM864%20672c-17.696%200-32-14.304-32-32l0-64c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2064C896%20657.696%20881.696%20672%20864%20672zM736%20736c-17.696%200-32-14.304-32-32l0-128c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%20128C768%20721.696%20753.696%20736%20736%20736zM608%20896c-17.696%200-32-14.304-32-32l0-128c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%20128C640%20881.696%20625.696%20896%20608%20896zM608%20640c-17.696%200-32-14.304-32-32l0-32c0-17.696%2014.304-32%2032-32s32%2014.304%2032%2032l0%2032C640%20625.696%20625.696%20640%20608%20640zM320%20800%20256%20800c-17.664%200-32-14.304-32-32l0-64c0-17.696%2014.336-32%2032-32l64%200c17.664%200%2032%2014.304%2032%2032l0%2064C352%20785.696%20337.664%20800%20320%20800zM384%20480%20192%20480c-52.928%200-96-43.072-96-96L96%20192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C480%20436.928%20436.928%20480%20384%20480zM192%20160C174.368%20160%20160%20174.368%20160%20192l0%20192c0%2017.632%2014.368%2032%2032%2032l192%200c17.632%200%2032-14.368%2032-32L416%20192c0-17.632-14.368-32-32-32L192%20160zM320%20352%20256%20352c-17.664%200-32-14.336-32-32L224%20256c0-17.664%2014.336-32%2032-32l64%200c17.664%200%2032%2014.336%2032%2032l0%2064C352%20337.664%20337.664%20352%20320%20352zM832%20480l-192%200c-52.928%200-96-43.072-96-96L544%20192c0-52.928%2043.072-96%2096-96l192%200c52.928%200%2096%2043.072%2096%2096l0%20192C928%20436.928%20884.928%20480%20832%20480zM640%20160c-17.664%200-32%2014.368-32%2032l0%20192c0%2017.632%2014.336%2032%2032%2032l192%200c17.664%200%2032-14.368%2032-32L864%20192c0-17.632-14.336-32-32-32L640%20160zM768%20352l-64%200c-17.696%200-32-14.336-32-32L672%20256c0-17.664%2014.304-32%2032-32l64%200c17.696%200%2032%2014.336%2032%2032l0%2064C800%20337.664%20785.696%20352%20768%20352z'%20fill='%23ffffff'%20p-id='5992'%3e%3c/path%3e%3c/svg%3e", uD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166311262'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3195'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M954.2%20485.6C856.7%20281%20709.5%20178%20512.1%20178%20314.6%20178%20167.4%20281%2070%20485.6c-7.9%2016.6-7.9%2036.1%200%2052.8C167.4%20743%20314.7%20846%20512.1%20846c197.5%200%20344.6-103%20442.1-307.6%207.9-16.6%207.9-35.9%200-52.8zM512.1%20772.2c-165.7%200-287.1-83.8-372.7-260.2%2085.6-176.4%20207-260.2%20372.7-260.2S799.2%20335.6%20884.8%20512C799.3%20688.4%20678%20772.2%20512.1%20772.2z'%20p-id='3196'%3e%3c/path%3e%3cpath%20d='M688%20494.1c-0.6-5.9-1.5-11.7-2.6-17.5-1.2-5.8-2.6-11.5-4.3-17.2s-3.7-11.2-6-16.7-4.8-10.8-7.6-16-5.8-10.3-9.1-15.2c-3.3-4.9-6.8-9.6-10.6-14.2s-7.7-8.9-11.9-13.1-8.6-8.1-13.2-11.9c-4.6-3.7-9.3-7.3-14.3-10.5-4.9-3.3-10-6.3-15.2-9.1s-10.6-5.3-16-7.6c-5.5-2.3-11-4.2-16.7-6-5.7-1.7-11.4-3.1-17.2-4.3s-11.7-2-17.6-2.6c-5.9-0.6-11.8-0.9-17.7-0.9-5.9%200-11.8%200.3-17.7%200.9-5.9%200.6-11.7%201.4-17.6%202.6-5.8%201.2-11.5%202.6-17.2%204.3-5.7%201.7-11.2%203.7-16.7%206s-10.8%204.8-16%207.6c-5.2%202.8-10.3%205.8-15.2%209.1s-9.7%206.8-14.3%2010.5c-4.6%203.7-9%207.7-13.2%2011.9s-8.2%208.5-11.9%2013.1c-3.8%204.6-7.3%209.3-10.6%2014.2s-6.3%2010-9.1%2015.2c-2.8%205.2-5.3%2010.5-7.6%2016s-4.3%2011-6%2016.7-3.2%2011.4-4.3%2017.2c-1.2%205.8-2%2011.6-2.6%2017.5-0.6%205.9-0.9%2011.8-0.9%2017.7s0.3%2011.8%200.9%2017.7c0.6%205.9%201.4%2011.7%202.6%2017.5s2.6%2011.5%204.3%2017.2%203.7%2011.2%206%2016.7%204.8%2010.8%207.6%2016%205.8%2010.3%209.1%2015.2c3.3%204.9%206.8%209.6%2010.6%2014.2s7.7%208.9%2011.9%2013.1c4.2%204.2%208.6%208.1%2013.2%2011.9%204.6%203.7%209.3%207.3%2014.3%2010.5%204.9%203.3%2010%206.3%2015.2%209.1s10.6%205.3%2016%207.6c5.5%202.3%2011%204.2%2016.7%206%205.7%201.7%2011.4%203.1%2017.2%204.3%205.8%201.2%2011.7%202%2017.6%202.6%205.9%200.6%2011.8%200.9%2017.7%200.9%205.9%200%2011.8-0.3%2017.7-0.9%205.9-0.6%2011.7-1.4%2017.6-2.6%205.8-1.2%2011.5-2.6%2017.2-4.3s11.2-3.7%2016.7-6%2010.8-4.8%2016-7.6%2010.3-5.8%2015.2-9.1%209.7-6.8%2014.3-10.5%209-7.7%2013.2-11.9%208.2-8.5%2011.9-13.1c3.8-4.6%207.3-9.3%2010.6-14.2s6.3-10%209.1-15.2%205.3-10.5%207.6-16%204.3-11%206-16.7%203.2-11.4%204.3-17.2c1.2-5.8%202-11.6%202.6-17.5s0.9-11.8%200.9-17.7c0-5.9-0.3-11.8-0.9-17.7z%20m-65.4%2029.1c-0.4%203.7-1%207.4-1.7%2011.1s-1.6%207.3-2.7%2010.9-2.4%207.1-3.8%2010.6-3%206.9-4.8%2010.2c-1.8%203.4-3.7%206.6-5.8%209.7-2.1%203.1-4.3%206.1-6.7%209-2.4%202.9-4.9%205.6-7.6%208.3-2.7%202.7-5.5%205.2-8.4%207.6-2.9%202.4-6%204.6-9.1%206.7-3.1%202.1-6.4%204-9.7%205.8s-6.7%203.4-10.2%204.8c-3.4%201.4-7%202.7-10.6%203.8-3.7%201.1-7.3%202-11%202.7-3.7%200.8-7.4%201.3-11.2%201.7-3.8%200.4-7.5%200.6-11.3%200.6s-7.5-0.1-11.3-0.6c-3.8-0.4-7.5-1-11.2-1.7s-7.4-1.6-11-2.7c-3.6-1.1-7.1-2.4-10.6-3.8s-6.9-3-10.2-4.8c-3.3-1.8-6.6-3.7-9.7-5.8-3.2-2.1-6.2-4.3-9.1-6.7-2.9-2.4-5.7-4.9-8.4-7.6-2.7-2.6-5.2-5.4-7.6-8.3s-4.6-5.9-6.7-9c-2.1-3.2-4-6.4-5.8-9.7-1.7-3.3-3.4-6.7-4.8-10.2-1.4-3.5-2.7-7-3.8-10.6-1-3.6-2-7.2-2.7-10.9-0.8-3.6-1.3-7.4-1.7-11.1-0.4-3.7-0.6-7.4-0.6-11.2%200-3.7%200.2-7.5%200.6-11.2%200.4-3.7%201-7.4%201.7-11.1s1.6-7.3%202.7-10.9c1.1-3.6%202.4-7.1%203.8-10.6s3-6.9%204.8-10.2c1.8-3.4%203.7-6.6%205.8-9.7%202.1-3.1%204.3-6.1%206.7-9%202.4-2.9%204.9-5.6%207.6-8.3%202.7-2.7%205.5-5.2%208.4-7.6%202.9-2.4%206-4.6%209.1-6.7%203.1-2.1%206.4-4%209.7-5.8s6.7-3.4%2010.2-4.8c3.4-1.4%207-2.7%2010.6-3.8%203.7-1.1%207.3-2%2011-2.7%203.7-0.8%207.4-1.3%2011.2-1.7%203.8-0.4%207.5-0.6%2011.3-0.6s7.5%200.2%2011.3%200.6c3.8%200.4%207.5%201%2011.2%201.7s7.4%201.6%2011%202.7%207.1%202.4%2010.6%203.8%206.9%203%2010.2%204.8%206.6%203.7%209.7%205.8c3.2%202.1%206.2%204.3%209.1%206.7%202.9%202.4%205.7%204.9%208.4%207.6%202.7%202.6%205.2%205.4%207.6%208.3%202.4%202.9%204.6%205.9%206.7%209%202.1%203.2%204%206.4%205.8%209.7%201.7%203.3%203.4%206.7%204.8%2010.2%201.4%203.5%202.7%207%203.8%2010.6%201%203.6%202%207.2%202.7%2010.9%200.8%203.6%201.3%207.4%201.7%2011.1%200.4%203.7%200.6%207.4%200.6%2011.2%200%203.7-0.2%207.5-0.6%2011.2z'%20p-id='3197'%3e%3c/path%3e%3c/svg%3e", yD = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1732166314161'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='3353'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M954.1%20485.6C856.6%20281%20709.4%20178%20512%20178c-197.5%200-344.7%20103-442.1%20307.7-7.9%2016.6-7.9%2036.1%200%2052.8C167.3%20743%20314.6%20846%20512%20846c197.5%200%20344.6-103%20442.1-307.7%207.9-16.6%207.9-35.8%200-52.7z%20m-266.2%2044.1c-0.6%205.9-1.5%2011.7-2.6%2017.5-1.2%205.8-2.6%2011.5-4.3%2017.2s-3.7%2011.2-6%2016.7-4.8%2010.8-7.6%2016c-2.8%205.2-5.8%2010.3-9.1%2015.2-3.3%204.9-6.8%209.6-10.6%2014.2s-7.7%208.9-11.9%2013.1c-4.2%204.2-8.6%208.1-13.2%2011.9-4.6%203.7-9.3%207.3-14.3%2010.5-4.9%203.3-10%206.3-15.2%209.1-5.2%202.8-10.6%205.3-16%207.6-5.5%202.3-11%204.2-16.7%206-5.7%201.7-11.4%203.1-17.2%204.3-5.8%201.2-11.7%202-17.6%202.6-5.9%200.6-11.8%200.9-17.7%200.9-5.9%200-11.8-0.3-17.7-0.9-5.9-0.6-11.7-1.4-17.6-2.6-5.8-1.2-11.5-2.6-17.2-4.3-5.7-1.7-11.2-3.7-16.7-6s-10.8-4.8-16-7.6c-5.2-2.8-10.3-5.8-15.2-9.1-4.9-3.3-9.7-6.8-14.3-10.5-4.6-3.7-9-7.7-13.2-11.9-4.2-4.2-8.2-8.5-11.9-13.1-3.8-4.6-7.3-9.3-10.6-14.2-3.3-4.9-6.3-10-9.1-15.2-2.8-5.2-5.3-10.5-7.6-16s-4.3-11-6-16.7-3.2-11.4-4.3-17.2c-1.2-5.8-2-11.6-2.6-17.5-0.6-5.9-0.9-11.8-0.9-17.7%200-5.9%200.3-11.8%200.9-17.7%200.6-5.9%201.4-11.7%202.6-17.5%201.2-5.8%202.6-11.5%204.3-17.2%201.7-5.7%203.7-11.2%206-16.7s4.8-10.8%207.6-16c2.8-5.2%205.8-10.3%209.1-15.2%203.3-4.9%206.8-9.6%2010.6-14.2s7.7-8.9%2011.9-13.1c4.2-4.2%208.6-8.1%2013.2-11.9%204.6-3.7%209.3-7.3%2014.3-10.5%204.9-3.3%2010-6.3%2015.2-9.1%205.2-2.8%2010.6-5.3%2016-7.6%205.5-2.3%2011-4.2%2016.7-6%205.7-1.7%2011.4-3.1%2017.2-4.3%205.8-1.2%2011.7-2%2017.6-2.6%205.9-0.6%2011.8-0.9%2017.7-0.9%205.9%200%2011.8%200.3%2017.7%200.9%205.9%200.6%2011.7%201.4%2017.6%202.6%205.8%201.2%2011.5%202.6%2017.2%204.3%205.7%201.7%2011.2%203.7%2016.7%206s10.8%204.8%2016%207.6c5.2%202.8%2010.3%205.8%2015.2%209.1%204.9%203.3%209.7%206.8%2014.3%2010.5%204.6%203.7%209%207.7%2013.2%2011.9%204.2%204.2%208.2%208.5%2011.9%2013.1%203.8%204.6%207.3%209.3%2010.6%2014.2%203.3%204.9%206.3%2010%209.1%2015.2%202.8%205.2%205.3%2010.5%207.6%2016s4.3%2011%206%2016.7c1.7%205.7%203.2%2011.4%204.3%2017.2%201.2%205.8%202%2011.6%202.6%2017.5%200.6%205.9%200.9%2011.8%200.9%2017.7-0.1%205.9-0.3%2011.8-0.9%2017.7z'%20p-id='3354'%20fill='%231677FF'%3e%3c/path%3e%3cpath%20d='M623%20512c0%203.8-0.2%207.5-0.6%2011.2-0.4%203.7-0.9%207.5-1.7%2011.1-0.7%203.7-1.7%207.3-2.7%2010.9-1.1%203.6-2.4%207.1-3.8%2010.6s-3.1%206.9-4.8%2010.2c-1.8%203.3-3.7%206.5-5.8%209.7-2.1%203.1-4.3%206.1-6.7%209-2.4%202.9-4.9%205.7-7.6%208.3-2.7%202.7-5.5%205.2-8.4%207.6-2.9%202.4-5.9%204.6-9.1%206.7-3.1%202.1-6.4%204-9.7%205.8-3.3%201.8-6.7%203.4-10.2%204.8-3.5%201.4-7%202.7-10.6%203.8-3.6%201.1-7.3%202-11%202.7-3.7%200.7-7.4%201.3-11.2%201.7-3.8%200.4-7.5%200.6-11.3%200.6-3.8%200-7.5-0.2-11.3-0.6-3.8-0.4-7.5-0.9-11.2-1.7-3.7-0.7-7.3-1.6-11-2.7-3.6-1.1-7.2-2.4-10.6-3.8-3.5-1.4-6.9-3-10.2-4.8-3.3-1.8-6.6-3.7-9.7-5.8-3.1-2.1-6.2-4.3-9.1-6.7-2.9-2.4-5.7-4.9-8.4-7.6-2.7-2.7-5.2-5.4-7.6-8.3-2.4-2.9-4.6-5.9-6.7-9-2.1-3.1-4-6.3-5.8-9.7-1.8-3.3-3.4-6.7-4.8-10.2-1.4-3.5-2.7-7-3.8-10.6-1.1-3.6-2-7.2-2.7-10.9-0.7-3.7-1.3-7.4-1.7-11.1-0.4-3.7-0.6-7.5-0.6-11.2%200-3.8%200.2-7.5%200.6-11.2%200.4-3.7%200.9-7.5%201.7-11.1%200.7-3.7%201.7-7.3%202.7-10.9%201.1-3.6%202.4-7.1%203.8-10.6s3.1-6.9%204.8-10.2c1.8-3.3%203.7-6.5%205.8-9.7%202.1-3.1%204.3-6.1%206.7-9%202.4-2.9%204.9-5.7%207.6-8.3%202.7-2.7%205.5-5.2%208.4-7.6%202.9-2.4%205.9-4.6%209.1-6.7%203.1-2.1%206.4-4%209.7-5.8%203.3-1.8%206.7-3.4%2010.2-4.8%203.5-1.4%207-2.7%2010.6-3.8%203.6-1.1%207.3-2%2011-2.7%203.7-0.7%207.4-1.3%2011.2-1.7%203.8-0.4%207.5-0.6%2011.3-0.6%203.8%200%207.5%200.2%2011.3%200.6%203.8%200.4%207.5%200.9%2011.2%201.7%203.7%200.7%207.3%201.6%2011%202.7%203.6%201.1%207.2%202.4%2010.6%203.8%203.5%201.4%206.9%203%2010.2%204.8%203.3%201.8%206.6%203.7%209.7%205.8%203.1%202.1%206.2%204.3%209.1%206.7%202.9%202.4%205.7%204.9%208.4%207.6%202.7%202.7%205.2%205.4%207.6%208.3%202.4%202.9%204.6%205.9%206.7%209%202.1%203.1%204%206.3%205.8%209.7%201.8%203.3%203.4%206.7%204.8%2010.2%201.4%203.5%202.7%207%203.8%2010.6%201.1%203.6%202%207.2%202.7%2010.9%200.7%203.7%201.3%207.4%201.7%2011.1%200.4%203.7%200.6%207.4%200.6%2011.2z'%20p-id='3355'%20fill='%231677FF'%3e%3c/path%3e%3c/svg%3e", XD = {
  5697. name: "LoginForm",
  5698. components: {
  5699. SVerify: LD
  5700. },
  5701. props: {
  5702. // 手机号登录 - 获取验证码时是否启用拼图验证
  5703. // captchaOpen: {
  5704. // type: Boolean,
  5705. // default: true
  5706. // },
  5707. showTenantry: {
  5708. type: Boolean,
  5709. default: !1
  5710. },
  5711. showAgreement: {
  5712. type: Boolean,
  5713. default: !1
  5714. },
  5715. showAutoLogin: {
  5716. type: Boolean,
  5717. default: !0
  5718. },
  5719. showOtherLogin: {
  5720. type: Boolean,
  5721. default: !1
  5722. }
  5723. },
  5724. data() {
  5725. let M = "clickWord";
  5726. var n = 0, A = 100, D = Math.floor(Math.random() * (A - n)) + n;
  5727. return D % 2 === 0 && (M = "blockPuzzle"), D % 2 === 1 && (M = "clickWord"), {
  5728. iconsFocus: {
  5729. tenantryCode: 1,
  5730. loginName: 1,
  5731. password: 1
  5732. },
  5733. // 密码记录数
  5734. verificationImage: null,
  5735. verificationCodeId: "",
  5736. otherLoginList: [],
  5737. QrCodeLogin: !1,
  5738. typeActive: 1,
  5739. showPassword: !1,
  5740. autoLogin: !1,
  5741. arguments: !1,
  5742. isLoginButtonDisabled: !1,
  5743. // 登录按钮是否禁用
  5744. deadline: 0,
  5745. // 倒计时时间
  5746. isCountdown: !1,
  5747. // 显示倒计时
  5748. loginConfig: {},
  5749. captchaType: M,
  5750. captchaCountdown: 0,
  5751. loginBtn: !1,
  5752. form: {
  5753. tenantryCode: "",
  5754. loginName: "",
  5755. password: "",
  5756. verificationCode: "",
  5757. prefix: "+86",
  5758. mobile: ""
  5759. },
  5760. rules: {
  5761. tenantryCode: [
  5762. {
  5763. required: !0,
  5764. message: this.$l("请输入租户编码"),
  5765. trigger: "blur"
  5766. }
  5767. ],
  5768. loginName: [
  5769. {
  5770. required: !0,
  5771. message: this.$l("请输入账户"),
  5772. trigger: "blur"
  5773. }
  5774. ],
  5775. password: [
  5776. {
  5777. required: !0,
  5778. message: this.$l("请输入密码"),
  5779. trigger: "blur"
  5780. }
  5781. ],
  5782. code: [
  5783. {
  5784. required: !0,
  5785. message: this.$l("请输入短信验证码"),
  5786. trigger: "blur"
  5787. }
  5788. ],
  5789. mobile: [
  5790. {
  5791. required: !0,
  5792. message: this.$l("请输入手机号"),
  5793. trigger: "blur"
  5794. },
  5795. { pattern: /^1[345678]\d{9}$/, message: this.$l("手机号格式不正确"), trigger: "blur" }
  5796. ]
  5797. }
  5798. };
  5799. },
  5800. computed: {
  5801. showPhoneLogin() {
  5802. return this.$utils.env.VITE_APP_LOGIN_PHONE;
  5803. },
  5804. showQRCodeLogin() {
  5805. return this.$utils.env.VITE_APP_LOGIN_QRCODE;
  5806. }
  5807. },
  5808. methods: {
  5809. renderIcon(M, n) {
  5810. return {
  5811. // 租户编码输入框前缀图标:基座没有对应资源(原 tenant-icon-1/2/3.png 从未存在过),
  5812. // 留空即 <img> 不渲染 src、不发请求。业务要图标请自行放到 static 下并在此登记。
  5813. // 注意不能用 new URL('@p/...', import.meta.url):new URL 的资源重写不认 alias,
  5814. // 产物里会原样留下 @p/... 并在运行时 404;要走 import 静态引入。
  5815. tenant: {},
  5816. user: {
  5817. 1: OD,
  5818. 2: xD,
  5819. 3: ZD
  5820. },
  5821. pass: {
  5822. 1: bD,
  5823. 2: lD,
  5824. 3: GD
  5825. },
  5826. login: {
  5827. pcIconWhite: dD,
  5828. qrCodeWhite: aD
  5829. }
  5830. }[M][n];
  5831. },
  5832. handLogin() {
  5833. this.typeActive === 2 ? this.$refs.form.validateFields().then((M) => dA(this, null, function* () {
  5834. M.code && (M.operate = "0", (yield Dw(M)) ? this.handSubmit() : this.$message.error(this.$l("验证码错误/已过期")));
  5835. })).catch(() => {
  5836. this.$message.error(this.$l("验证码错误"));
  5837. }) : this.handSubmit();
  5838. },
  5839. handSubmit() {
  5840. this.$refs.form.validate().then((M) => {
  5841. this.loginBtn = !0;
  5842. const n = {
  5843. clientId: this.$utils.env.VITE_APP_CLIENT_ID
  5844. };
  5845. Object.keys(M).forEach((A) => {
  5846. n[A] = A === "verificationCode" ? M[A] : Og(M[A]);
  5847. }), n.verificationCodeId = this.verificationCodeId, aB(n).then((A) => this.loginSuccess(A)).catch((A) => {
  5848. this.requestFailed(A);
  5849. }).finally(() => {
  5850. this.loginBtn = !1;
  5851. });
  5852. }).catch(() => {
  5853. let M = setTimeout(() => {
  5854. this.loginBtn = !1, clearTimeout(M);
  5855. }, 600);
  5856. });
  5857. },
  5858. // 获取验证码
  5859. handGetCaptchaCount() {
  5860. return dA(this, null, function* () {
  5861. yield this.$refs.form.validateFields("mobile").then((M) => {
  5862. M.mobile && this.$refs.verify.show();
  5863. });
  5864. });
  5865. },
  5866. /**
  5867. * 拼图验证成功 获取验证码
  5868. */
  5869. verifySuccess(M) {
  5870. this.form.verificationCode = M.captchaVerification;
  5871. },
  5872. verifySuccess1(M) {
  5873. this.form.verificationCode = M.captchaVerification, this.captchaCountdown = Date.now() + 1e3 * 60, ww({ mobile: this.form.mobile, operate: "0" }).then((n) => {
  5874. n === "send-success" ? (this.$message.success(this.$l("短信发送成功")), this.captchaCountdown = Date.now() + 1e3 * 60) : this.$message.error(this.$l("短信发送过于频繁,请稍后再试"));
  5875. });
  5876. },
  5877. loginSuccess(M) {
  5878. return dA(this, null, function* () {
  5879. try {
  5880. this.$utils.ls.set("token", M), this.$utils.ls.set("USER-TOKEN", M), this.verificationImage = null, this.verificationCodeId = "";
  5881. const n = window.sessionStorage.getItem("redirect_client_id");
  5882. if (n) {
  5883. const D = dB(), { clients: w } = yield D.Info(), z = w.find((l) => l.clientId === n) || {};
  5884. if (z.redirectUri && z.redirectUri !== "/") {
  5885. this.authorizeUrl(z);
  5886. return;
  5887. }
  5888. }
  5889. const A = this.$utils.env.VITE_APP_DEFAULT_PATH;
  5890. this.$push(A);
  5891. } catch (n) {
  5892. console.log("loginSuccess:", n);
  5893. const A = this.$utils.env.VITE_APP_DEFAULT_PATH;
  5894. this.$push(A);
  5895. }
  5896. });
  5897. },
  5898. authorizeUrl(M) {
  5899. const n = (this.$utils.env.VITE_APP_BASE_URL || "/").replace(/\/+$/, ""), A = `${window.location.protocol}//${window.location.host}${n}/sso.html?client_id=${M.clientId}&scope=${M.scope}&redirect_uri=${encodeURIComponent(M.redirectUri)}`;
  5900. window.location.replace(A);
  5901. },
  5902. requestFailed(M) {
  5903. const n = JSON.parse(M.message);
  5904. if (n != null && n.lockUser) {
  5905. this.$message.error(n.message);
  5906. const A = n == null ? void 0 : n.lockUser, D = A != null && A.lockEndTime && (A != null && A.nowTime) ? A.lockEndTime - A.nowTime : 0;
  5907. D > 0 ? (this.isLoginButtonDisabled = !0, this.isCountdown = !0, this.deadline = Date.now() + D) : (this.isLoginButtonDisabled = !1, this.isCountdown = !1, this.deadline = 0), this.form.verificationCode = "", this.refreshVerificationCode();
  5908. } else {
  5909. let A = !1;
  5910. this.loginConfig && this.loginConfig.enabled && (!this.loginConfig.codeThreshold || this.loginConfig.codeThreshold === "0" ? A = !1 : A = n.failCount >= this.loginConfig.codeThreshold), A && (this.form.verificationCode = "", this.refreshVerificationCode());
  5911. }
  5912. },
  5913. // 获取图片验证码(网关:portal)
  5914. refreshVerificationCode() {
  5915. GB().then((M) => {
  5916. this.verificationImage = `data:image/gif;base64,${M.verificationImage}`, this.verificationCodeId = M.verificationCodeId;
  5917. });
  5918. },
  5919. init() {
  5920. this.otherLoginList = [
  5921. {
  5922. key: "ali",
  5923. icon: "AlipayCircleOutlined"
  5924. },
  5925. {
  5926. key: "weChat",
  5927. icon: "WechatOutlined"
  5928. },
  5929. {
  5930. key: "weibo",
  5931. icon: "WeiboCircleOutlined"
  5932. },
  5933. {
  5934. key: "github",
  5935. icon: "GithubOutlined"
  5936. }
  5937. ], this.getLoginConfig();
  5938. },
  5939. // 登录策略
  5940. getLoginConfig() {
  5941. lB().then((M) => {
  5942. this.loginConfig = M || {};
  5943. });
  5944. },
  5945. handUpdatePassword() {
  5946. console.log("忘记密码");
  5947. },
  5948. onFinish() {
  5949. this.isLoginButtonDisabled = !1, this.isCountdown = !1, this.deadline = 0, this.refreshVerificationCode();
  5950. },
  5951. onFinishReset() {
  5952. this.captchaCountdown = 0;
  5953. },
  5954. formatterTime({ value: M }) {
  5955. console.log(M);
  5956. }
  5957. },
  5958. mounted() {
  5959. this.init();
  5960. }
  5961. }, jD = { class: "form-wrap" }, VD = ["src"], oD = ["src"], FD = { class: "head" }, ND = { class: "welcome" }, mD = {
  5962. key: 0,
  5963. class: "form-main"
  5964. }, kD = {
  5965. key: 0,
  5966. class: "tab-item"
  5967. }, JD = ["src"], KD = ["src"], ED = ["src"], ID = { class: "verification-code-div" }, pD = ["src", "title"], TD = {
  5968. key: 2,
  5969. class: "tools"
  5970. }, SD = {
  5971. key: 3,
  5972. class: "other-login"
  5973. }, UD = { class: "left" }, iD = { class: "label" }, qD = { class: "other-login-list" }, hD = ["src"], RD = { class: "right" }, _D = {
  5974. key: 0,
  5975. class: "tab-item"
  5976. }, $D = { class: "between" }, As = { key: 0 }, gs = {
  5977. key: 0,
  5978. class: "agreement"
  5979. }, Bs = {
  5980. key: 1,
  5981. class: "form-main column-center"
  5982. }, ws = { class: "qr-title" }, Ds = { class: "ICP" };
  5983. function ss(M, n, A, D, w, z) {
  5984. const l = uB, c = oB, Y = YA("s-verify"), B = yB, s = XB, Q = FB, e = Yw, f = ew, t = sw, P = Qw, v = cw, H = VB;
  5985. return m(), T("div", jD, [
  5986. z.showQRCodeLogin ? (m(), T("div", {
  5987. key: 0,
  5988. class: "toggle-login",
  5989. onClick: n[0] || (n[0] = jA((g) => w.QrCodeLogin = !w.QrCodeLogin, ["stop"]))
  5990. })) : AA("", !0),
  5991. z.showQRCodeLogin ? (m(), T("div", {
  5992. key: 1,
  5993. class: "toggle-icon-wrap",
  5994. onClick: n[1] || (n[1] = jA((g) => w.QrCodeLogin = !w.QrCodeLogin, ["stop"]))
  5995. }, [
  5996. w.QrCodeLogin ? (m(), T("img", {
  5997. key: 1,
  5998. class: "toggle-icon",
  5999. src: z.renderIcon("login", "qrCodeWhite")
  6000. }, null, 8, oD)) : (m(), T("img", {
  6001. key: 0,
  6002. class: "toggle-icon",
  6003. src: z.renderIcon("login", "pcIconWhite")
  6004. }, null, 8, VD))
  6005. ])) : AA("", !0),
  6006. o(H, {
  6007. model: w.form,
  6008. rules: w.rules,
  6009. layout: "vertical",
  6010. ref: "form"
  6011. }, {
  6012. default: F(() => [
  6013. V("div", FD, [
  6014. V("div", ND, E(M.$l("欢迎使用")), 1)
  6015. ]),
  6016. w.QrCodeLogin ? (m(), T("div", Bs, [
  6017. V("div", ws, E(M.$l("请使用移动设备扫码登录")), 1),
  6018. n[27] || (n[27] = V("img", {
  6019. src: "",
  6020. class: "qr-code-image"
  6021. }, null, -1))
  6022. ])) : (m(), T("div", mD, [
  6023. o(v, {
  6024. activeKey: w.typeActive,
  6025. "onUpdate:activeKey": n[24] || (n[24] = (g) => w.typeActive = g)
  6026. }, {
  6027. default: F(() => [
  6028. (m(), DA(e, {
  6029. key: 1,
  6030. tab: M.$l("账户密码登录")
  6031. }, {
  6032. default: F(() => [
  6033. w.typeActive === 1 ? (m(), T("div", kD, [
  6034. A.showTenantry ? (m(), DA(c, {
  6035. key: 0,
  6036. label: " ",
  6037. colon: !1,
  6038. name: "tenantryCode"
  6039. }, {
  6040. default: F(() => [
  6041. o(l, {
  6042. value: w.form.tenantryCode,
  6043. "onUpdate:value": n[2] || (n[2] = (g) => w.form.tenantryCode = g),
  6044. valueModifiers: { trim: !0 },
  6045. placeholder: M.$l("租户编码"),
  6046. style: { width: "100%" },
  6047. onFocus: n[3] || (n[3] = (g) => w.iconsFocus.tenantryCode = 2),
  6048. onBlur: n[4] || (n[4] = (g) => w.iconsFocus.tenantryCode = w.form.tenantryCode ? 1 : 3),
  6049. onInput: n[5] || (n[5] = (g) => w.iconsFocus.tenantryCode = w.form.tenantryCode ? 2 : 3),
  6050. allowClear: !0,
  6051. size: "large"
  6052. }, {
  6053. prefix: F(() => [
  6054. V("img", {
  6055. class: "prefix-icon",
  6056. src: z.renderIcon("tenant", w.iconsFocus.tenantryCode)
  6057. }, null, 8, JD)
  6058. ]),
  6059. _: 1
  6060. }, 8, ["value", "placeholder"])
  6061. ]),
  6062. _: 1
  6063. })) : AA("", !0),
  6064. o(c, {
  6065. label: " ",
  6066. colon: !1,
  6067. name: "loginName"
  6068. }, {
  6069. default: F(() => [
  6070. o(l, {
  6071. value: w.form.loginName,
  6072. "onUpdate:value": n[6] || (n[6] = (g) => w.form.loginName = g),
  6073. placeholder: M.$l("账号"),
  6074. style: { width: "100%" },
  6075. onFocus: n[7] || (n[7] = (g) => w.iconsFocus.loginName = 2),
  6076. onBlur: n[8] || (n[8] = (g) => w.iconsFocus.loginName = w.form.loginName ? 1 : 3),
  6077. onInput: n[9] || (n[9] = (g) => w.iconsFocus.loginName = w.form.loginName ? 2 : 3),
  6078. allowClear: !0,
  6079. size: "large"
  6080. }, {
  6081. prefix: F(() => [
  6082. V("img", {
  6083. class: "prefix-icon",
  6084. src: z.renderIcon("user", w.iconsFocus.loginName)
  6085. }, null, 8, KD)
  6086. ]),
  6087. _: 1
  6088. }, 8, ["value", "placeholder"])
  6089. ]),
  6090. _: 1
  6091. }),
  6092. o(c, {
  6093. label: " ",
  6094. colon: !1,
  6095. name: "password"
  6096. }, {
  6097. default: F(() => [
  6098. o(l, {
  6099. value: w.form.password,
  6100. "onUpdate:value": n[12] || (n[12] = (g) => w.form.password = g),
  6101. placeholder: M.$l("密码"),
  6102. style: { width: "100%" },
  6103. type: w.showPassword ? "text" : "password",
  6104. onFocus: n[13] || (n[13] = (g) => w.iconsFocus.password = 2),
  6105. onBlur: n[14] || (n[14] = (g) => w.iconsFocus.password = w.form.password ? 1 : 3),
  6106. onInput: n[15] || (n[15] = (g) => w.iconsFocus.password = w.form.password ? 2 : 3),
  6107. allowClear: !0,
  6108. size: "large"
  6109. }, {
  6110. prefix: F(() => [
  6111. V("img", {
  6112. class: "prefix-icon",
  6113. src: z.renderIcon("pass", w.iconsFocus.password)
  6114. }, null, 8, ED)
  6115. ]),
  6116. suffix: F(() => [
  6117. w.showPassword ? (m(), T("img", {
  6118. key: 1,
  6119. src: yD,
  6120. class: "eye",
  6121. onClick: n[11] || (n[11] = jA((g) => w.showPassword = !w.showPassword, ["stop"]))
  6122. })) : (m(), T("img", {
  6123. key: 0,
  6124. src: uD,
  6125. class: "eye",
  6126. onClick: n[10] || (n[10] = jA((g) => w.showPassword = !w.showPassword, ["stop"]))
  6127. }))
  6128. ]),
  6129. _: 1
  6130. }, 8, ["value", "placeholder", "type"])
  6131. ]),
  6132. _: 1
  6133. }),
  6134. o(Y, {
  6135. onSuccess: z.verifySuccess,
  6136. mode: "pop",
  6137. captchaType: w.captchaType,
  6138. imgSize: { width: "330px", height: "155px" },
  6139. ref: "verify1"
  6140. }, null, 8, ["onSuccess", "captchaType"]),
  6141. w.verificationImage ? (m(), DA(c, {
  6142. key: 1,
  6143. class: "verification-item"
  6144. }, {
  6145. default: F(() => [
  6146. V("div", ID, [
  6147. o(l, {
  6148. value: w.form.verificationCode,
  6149. "onUpdate:value": n[16] || (n[16] = (g) => w.form.verificationCode = g),
  6150. size: "large",
  6151. placeholder: M.$l("请输入验证码"),
  6152. allowClear: !0
  6153. }, null, 8, ["value", "placeholder"]),
  6154. V("img", {
  6155. class: "verification-img",
  6156. src: w.verificationImage,
  6157. title: M.$l("点击刷新验证码"),
  6158. onClick: n[17] || (n[17] = (...g) => z.refreshVerificationCode && z.refreshVerificationCode(...g))
  6159. }, null, 8, pD)
  6160. ])
  6161. ]),
  6162. _: 1
  6163. })) : AA("", !0),
  6164. A.showAutoLogin ? (m(), T("div", TD, [
  6165. o(B, {
  6166. checked: w.autoLogin,
  6167. "onUpdate:checked": n[18] || (n[18] = (g) => w.autoLogin = g)
  6168. }, {
  6169. default: F(() => [
  6170. V("span", null, E(M.$l("自动登录")), 1)
  6171. ]),
  6172. _: 1
  6173. }, 8, ["checked"]),
  6174. o(s, {
  6175. class: "update-password",
  6176. type: "link",
  6177. onClick: z.handUpdatePassword
  6178. }, {
  6179. default: F(() => [
  6180. $(E(M.$l("忘记密码?")), 1)
  6181. ]),
  6182. _: 1
  6183. }, 8, ["onClick"])
  6184. ])) : AA("", !0),
  6185. o(s, {
  6186. class: "login-btn",
  6187. size: "large",
  6188. type: "primary",
  6189. disabled: w.isLoginButtonDisabled,
  6190. onClick: z.handLogin
  6191. }, {
  6192. default: F(() => [
  6193. w.isCountdown ? AA("", !0) : (m(), T("span", {
  6194. key: 0,
  6195. onClick: n[19] || (n[19] = jA((...g) => z.handLogin && z.handLogin(...g), ["stop"]))
  6196. }, E(M.$l("登录")), 1)),
  6197. w.isCountdown ? (m(), DA(Q, {
  6198. key: 1,
  6199. format: "ss",
  6200. size: "mini",
  6201. value: w.deadline,
  6202. onFinish: z.onFinish
  6203. }, null, 8, ["value", "onFinish"])) : AA("", !0)
  6204. ]),
  6205. _: 1
  6206. }, 8, ["disabled", "onClick"]),
  6207. A.showOtherLogin ? (m(), T("div", SD, [
  6208. V("div", UD, [
  6209. V("div", iD, E(M.$l("其他方式登录")), 1),
  6210. V("div", qD, [
  6211. (m(!0), T(FA, null, bg(w.otherLoginList, (g) => (m(), T("div", {
  6212. class: "item",
  6213. key: g.key
  6214. }, [
  6215. g.icon ? (m(), DA(kA(g.icon), {
  6216. key: 0,
  6217. class: "icon-font"
  6218. })) : (m(), T("img", {
  6219. key: 1,
  6220. src: g.src,
  6221. class: "icon"
  6222. }, null, 8, hD))
  6223. ]))), 128))
  6224. ])
  6225. ]),
  6226. V("div", RD, [
  6227. o(s, {
  6228. class: "resign-account",
  6229. type: "link",
  6230. onClick: z.handUpdatePassword
  6231. }, {
  6232. default: F(() => [
  6233. $(E(M.$l("账户注册")), 1)
  6234. ]),
  6235. _: 1
  6236. }, 8, ["onClick"])
  6237. ])
  6238. ])) : AA("", !0)
  6239. ])) : AA("", !0)
  6240. ]),
  6241. _: 1
  6242. }, 8, ["tab"])),
  6243. z.showPhoneLogin ? (m(), DA(e, {
  6244. key: 2,
  6245. tab: M.$l("手机号码登录")
  6246. }, {
  6247. default: F(() => [
  6248. w.typeActive === 2 ? (m(), T("div", _D, [
  6249. o(c, {
  6250. label: " ",
  6251. colon: !1,
  6252. name: "mobile"
  6253. }, {
  6254. default: F(() => [
  6255. o(P, {
  6256. style: { width: "100%" },
  6257. value: w.form.mobile,
  6258. "onUpdate:value": n[21] || (n[21] = (g) => w.form.mobile = g),
  6259. controls: !1,
  6260. "has-feedback": "",
  6261. size: "large",
  6262. placeholder: M.$l("手机号")
  6263. }, {
  6264. addonBefore: F(() => [
  6265. o(t, {
  6266. value: w.form.prefix,
  6267. "onUpdate:value": n[20] || (n[20] = (g) => w.form.prefix = g),
  6268. style: { width: "80px" }
  6269. }, {
  6270. default: F(() => [
  6271. o(f, { value: "+86" }, {
  6272. default: F(() => [...n[26] || (n[26] = [
  6273. $("+86", -1)
  6274. ])]),
  6275. _: 1
  6276. })
  6277. ]),
  6278. _: 1
  6279. }, 8, ["value"])
  6280. ]),
  6281. _: 1
  6282. }, 8, ["value", "placeholder"])
  6283. ]),
  6284. _: 1
  6285. }),
  6286. o(c, {
  6287. label: " ",
  6288. colon: !1,
  6289. name: "code"
  6290. }, {
  6291. default: F(() => [
  6292. V("div", $D, [
  6293. o(P, {
  6294. controls: !1,
  6295. value: w.form.code,
  6296. "onUpdate:value": n[22] || (n[22] = (g) => w.form.code = g),
  6297. placeholder: M.$l("短息验证码"),
  6298. style: { width: "100%" },
  6299. size: "large",
  6300. allowClear: !0
  6301. }, null, 8, ["value", "placeholder"]),
  6302. o(s, { class: "valid-code" }, {
  6303. default: F(() => [
  6304. w.captchaCountdown <= 0 ? (m(), T("span", {
  6305. key: 0,
  6306. onClick: n[23] || (n[23] = (...g) => z.handGetCaptchaCount && z.handGetCaptchaCount(...g))
  6307. }, E(M.$l("获取验证码")), 1)) : (m(), DA(Q, {
  6308. key: 1,
  6309. size: "mini",
  6310. format: "ss",
  6311. value: w.captchaCountdown,
  6312. onFinish: z.onFinishReset
  6313. }, null, 8, ["value", "onFinish"]))
  6314. ]),
  6315. _: 1
  6316. })
  6317. ])
  6318. ]),
  6319. _: 1
  6320. }),
  6321. o(Y, {
  6322. onSuccess: z.verifySuccess1,
  6323. mode: "pop",
  6324. captchaType: w.captchaType,
  6325. imgSize: { width: "330px", height: "155px" },
  6326. ref: "verify"
  6327. }, null, 8, ["onSuccess", "captchaType"]),
  6328. o(s, {
  6329. class: "login-btn",
  6330. size: "large",
  6331. type: "primary",
  6332. disabled: w.isLoginButtonDisabled,
  6333. onClick: z.handLogin
  6334. }, {
  6335. default: F(() => [
  6336. w.isCountdown ? AA("", !0) : (m(), T("span", As, E(M.$l("登录")), 1)),
  6337. w.isCountdown ? (m(), DA(Q, {
  6338. key: 1,
  6339. format: "ss",
  6340. size: "mini",
  6341. value: w.deadline,
  6342. onFinish: z.onFinish
  6343. }, null, 8, ["value", "onFinish"])) : AA("", !0)
  6344. ]),
  6345. _: 1
  6346. }, 8, ["disabled", "onClick"])
  6347. ])) : AA("", !0)
  6348. ]),
  6349. _: 1
  6350. }, 8, ["tab"])) : AA("", !0)
  6351. ]),
  6352. _: 1
  6353. }, 8, ["activeKey"]),
  6354. A.showAgreement ? (m(), T("div", gs, [
  6355. o(B, {
  6356. checked: w.arguments,
  6357. "onUpdate:checked": n[25] || (n[25] = (g) => w.arguments = g)
  6358. }, {
  6359. default: F(() => [
  6360. V("span", null, E(M.$l("我已阅读同意")), 1)
  6361. ]),
  6362. _: 1
  6363. }, 8, ["checked"]),
  6364. o(s, {
  6365. class: "link-btn",
  6366. type: "link",
  6367. onClick: z.handUpdatePassword
  6368. }, {
  6369. default: F(() => [
  6370. $(E(M.$l("《隐私政策》")), 1)
  6371. ]),
  6372. _: 1
  6373. }, 8, ["onClick"]),
  6374. V("span", null, E(M.$l("和")), 1),
  6375. o(s, {
  6376. class: "link-btn",
  6377. type: "link",
  6378. onClick: z.handUpdatePassword
  6379. }, {
  6380. default: F(() => [
  6381. $(E(M.$l("《服务协议》")), 1)
  6382. ]),
  6383. _: 1
  6384. }, 8, ["onClick"])
  6385. ])) : AA("", !0)
  6386. ]))
  6387. ]),
  6388. _: 1
  6389. }, 8, ["model", "rules"]),
  6390. V("div", Ds, E(M.$utils.env.VITE_APP_CASE_NAME), 1)
  6391. ]);
  6392. }
  6393. const dg = /* @__PURE__ */ PA(XD, [["render", ss], ["__scopeId", "data-v-57e98cf8"]]), es = new URL("../img/inline-dfddf18de1.png", import.meta.url).href, Cs = {
  6394. name: "LoginTheme1",
  6395. components: { LoginForm: dg },
  6396. props: {
  6397. // 登录页 logo:默认基座 logo,父级拿到系统外观配置(getActivateSystemIcon)后覆盖
  6398. logo: { type: String, default: mA },
  6399. // 系统名称(封面副标题),国际化文案由父级取好后传入
  6400. sysName: { type: String, default: "" }
  6401. },
  6402. data() {
  6403. return {
  6404. coverImg: es
  6405. };
  6406. }
  6407. }, ts = { class: "container-between" }, Ms = { class: "cover" }, vs = { class: "logo-wrap" }, rs = ["src"], fs = { class: "desc" }, ns = ["src"], zs = { class: "form-content" };
  6408. function Ps(M, n, A, D, w, z) {
  6409. const l = YA("LoginForm");
  6410. return m(), T("div", ts, [
  6411. V("div", Ms, [
  6412. V("div", vs, [
  6413. V("img", {
  6414. src: A.logo,
  6415. class: "logo"
  6416. }, null, 8, rs),
  6417. V("div", fs, E(A.sysName), 1)
  6418. ]),
  6419. V("img", {
  6420. src: w.coverImg,
  6421. class: "left-cover"
  6422. }, null, 8, ns)
  6423. ]),
  6424. V("div", zs, [
  6425. o(l)
  6426. ])
  6427. ]);
  6428. }
  6429. const KB = /* @__PURE__ */ PA(Cs, [["render", Ps], ["__scopeId", "data-v-40b5d475"]]), cs = new URL("../img/inline-529cdf6a8f.png", import.meta.url).href, Ys = {
  6430. name: "LoginTheme2",
  6431. components: { LoginForm: dg },
  6432. props: {
  6433. logo: { type: String, default: mA }
  6434. },
  6435. data() {
  6436. return {
  6437. bgImg: cs
  6438. };
  6439. }
  6440. }, Qs = { class: "container-left" }, Ws = ["src"], Hs = ["src"], Ls = { class: "form-content" };
  6441. function Os(M, n, A, D, w, z) {
  6442. const l = YA("LoginForm");
  6443. return m(), T("div", Qs, [
  6444. V("img", {
  6445. src: w.bgImg,
  6446. class: "bg-cover"
  6447. }, null, 8, Ws),
  6448. V("img", {
  6449. src: A.logo,
  6450. class: "logo"
  6451. }, null, 8, Hs),
  6452. V("div", Ls, [
  6453. o(l)
  6454. ])
  6455. ]);
  6456. }
  6457. const xs = /* @__PURE__ */ PA(Ys, [["render", Os], ["__scopeId", "data-v-695cd6a1"]]), Zs = new URL("../img/inline-0da6ef80f4.png", import.meta.url).href, bs = {
  6458. name: "LoginTheme3",
  6459. components: { LoginForm: dg },
  6460. props: {
  6461. logo: { type: String, default: mA }
  6462. },
  6463. data() {
  6464. return {
  6465. bgImg: Zs
  6466. };
  6467. }
  6468. }, ls = { class: "container-center" }, Gs = ["src"], ds = ["src"], as = { class: "form-content" };
  6469. function us(M, n, A, D, w, z) {
  6470. const l = YA("LoginForm");
  6471. return m(), T("div", ls, [
  6472. V("img", {
  6473. src: w.bgImg,
  6474. class: "bg-cover"
  6475. }, null, 8, Gs),
  6476. V("img", {
  6477. src: A.logo,
  6478. class: "logo"
  6479. }, null, 8, ds),
  6480. V("div", as, [
  6481. o(l)
  6482. ])
  6483. ]);
  6484. }
  6485. const ys = /* @__PURE__ */ PA(bs, [["render", us], ["__scopeId", "data-v-f031e83f"]]), Xs = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHFUlEQVR4AexaTW7jNhQm7Sx7gC4KVF5MgO5aZLpIu2h8kjgnieckTk9id9HRohm0u6KZhV2gQA/QbWz2+yjJFqknmaIkJ5lJwGdJ/Hk/Hx8fn8SM1Gf+9wrAZ+4A6tUDTuUB6e9/JumHj7ek9/cPS9AaZEC8rn+9f1iQ0g8Ps1PpRDmDe0AKo2Hk0mzHa2PMnATBV6AExMJropWakYxRC/S3gKQnAGMwANLfPl7RkJLBqsWfBaQAIwWILca26to7AHR1GL402iyhCWcXl04lIYhDgdArADQerk7D6eJNVm/QSFrhWhBu6wtAmJF/fY+4lt4AoMvD+DXUqJv1jdZ6rsfbyQ9vzwua4r4gzTb2AQ+Cg4tTksvvvpHqnU5tH3oBgDOTu7wkf6O1uoGhk8uLN++ajGAb+7CvNnoKZvQOXJTS4KEG+OsFAMz8QtLNKHVHYy4vzu+k9qa6y+/frDB2ar0CXhPDo4l/0dYZAO7dYFZZ8xru/uPb8xu0dSrWKwZw/UKpTgBw3Wvs3wWz4krj6crF83O+dgIA6/5WMG51CuO5LVpChinoEFwVDQBnH1Kqrj/ednZ78G0sNs8wWVaJ+LNkEG4cUGr0b6MB2Glz7TOzrj/gei3JKwOfqN3Zdamt1W00AFj7ZSWs0FO4vhXk/TBJ8qqCH6MBgAQn4eGWh7pTlX1+kAtM8iWZP4ZfogBIhbe0kVa/hIvt1hNgVzPCkXEmJFRCFAAi89HWnxWxWx+VI62rACj9dQzvKAB2Rv0UI6y3Mbv+vC0KAMkQZmxS/SB1Z48bn+/OPPUS8DUa8LlPsKM8QFqDXZKRtlhJsiSdQvhGARDC+PR9zN8xMiMBEIQ9nonbkDRbbRQVx9fIasO36BsHwE7ahgqW2ZWKI2c3XXJ1jLdfkyt5h7TnB+iUaeb+xgHg8sieRt7WeMjPE7UbV9LmbFD9LwFEqx1njLrGfakIe76wM5QG1N7GASAIQz5ulS0k7UrbUlTecACQLJ3lVebNxi4UBUC+DTVmfqNSaqzx0SSf0WBdAej+hAhvmc4nNfBzwCbTXCfetqIoAGokOLOkvDW5245vQ0HIP7O5/FyhTpvBt0e3+fB07C4aAG30O485zv4O53r8qIn2fcaGWZshIC6aQOAbHQMf+2LsoYwefy4eKgERDWVvw2OrEg2AEuOAG6y01o7rQrMrgMDD0GWK4y4anOLNkjNOwie2yqEKeMzL7l0NiODa4UUsGoBcKT8OXNEoqGRL/oHE78O2K6zxOQ2GQQuNGEFig0ebnIetznk765/un+ti+7T9iQaAgrRWe9fkMwlGOR9K8V3/BvX7pYD70LLBMuPYfX+fNxu6uL8dz59oylzPn+GrFO5d8OTs4IBjwplCXRAQ7MsxeRzBMKVSLBXcOLOPZ3hI+0MXjNuXTh5A40QvMGaWu+teEA9J8hklYCIQNBx9puy7H4gb8uJSwa1T0NfxEKcx8KETAFaG7AUJ3HWRz5rtxh/OKGaWh6ETLI0JDJgCwBveo17TcPZh34Ks8dlRe1FVXFd+36KhzbUzANYL5LMAnOur7N9ehMMLjqMBPPPjva80t8vSzuA3K4Dnb8OVPiEVnQGgEBrAWeS9T4zu2PqWNMb3CL8vjU4RP0gYs+ZYvw+fYfyU4PG+K/UCAJWwINQfYSc0husYiY4BGP+R3t//9e+BHgyNNvmJD3lK1Kfx5N8bAFyr9qXHqH/IuIkAxhckpfSXB1Ihf38ovHXSU0I6h/TpDAANx6wuEfSWMGqmtPoqRHBkn2+th2zHWTYpxJa2fDsBADde0HAI9fdnVA1ebFpNHbp4RBQA+awbO+OD29ksgDogdkSfELcGwEZoeV/ea2oTGgRE7gwk7vGxxKBHAvPaBAptCUBYp1m2iMfw0goAu9aNmdexZ1JDQ21Cc3F+x52BVNc/pJ7bHQl8swQKwGKcnEkatUi5jbaIDcEA0HgIFte6wQcJKKiZ1KDPoIUy4FVTypQEMUjy/wVC40IQAE3G0z0545IyQ9XRqyiTsiGj4g1tQDgKAKMshEgzv8JMTOieaH+SQtnQgf9PWAvCMcUaAUgRVBhlBSb2f/g4E0LbSauoQxMIKWJCk0K1AHCrY+oqDLbGC/VPVnUUhIagKALAAIIER/rvzw2CHV3uyYytE9wIwnZcmyeIADCKQpDz6RnPfAXt/AGCfIaiBhCS3KaK6AoAdvaFvZ4Rl0GnwuGZVVgQql+jFXcG2uarWwGABxh+J+65L8H4Qu/8SzIzx6Iqu7rHbbauAgCivr/lbbjn2t4v6Ac7A5ersz3CC3zb8HZ9xCgtuNORIc+iWVoK8GQHECpa8QBE+Qka6D4rGD/P3QlVL69QdxjN06kNr5InVwCgmQCBLx5TMuDzSyYaDXsmvEp2iABIHT/VulcAXvrMdtX/fwAAAP//un2LNgAAAAZJREFUAwBQ41qup/ExBAAAAABJRU5ErkJggg==", js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEt0lEQVR4AexbzW7bRhCekQr0BXopeigFNHJ7bO2gsH1o/BAFeqt16CHnPkCce3svelFy7zvIQWETqGUUPaVWgkg55xFiafN9lByI5FrU8E+KQ2JH4s7+zMw3w+XukmzJR340AHzkASBNBNQZAeG/z4Pw8sWj8+FoABqD3IJ4Pj4bjvrh5ei4Tp0qj4Alo52btsfOuRMY+AAUgG4SzwMVOXZO+gBlDgYAu6lQ1X+lAITw9pLRFhvmYEzbA/ZhaWitWxkA8OJg4W2rTsv1A/aBvsaMpOWCss5LB4CKQuEBFGSY429lmqD0FJSVAkTSILx4sU6fWX3FyksHAIr2IeE2RU9V9USdHh3sdRXUAUXn2p52VKXnRJ6I/wicuj4B9hfn45YKwCrPKwynsfu79x7v37+X8vr+t99M9ne7Tw73uj0CBHMYHfiLpSgSYpyCmdIAWISnz/MTepeGr6srAUKbI4LmaRPwdunh52KVBgDC85FHgwm83qF3PWUrWWyzAC0VLSryoKxLoRQAwvnkJeV9hHJvpZVrFCISfH0Es2nbB/gaPcarlALAzMkP8W5FOJgxlJN8a56RoBgck+0YBUlennwpAECZ1PSVg1kehXxtODiCn7wUgsW4g6L1U7JmYQAW4R/rl96PMUrIqGoSAMFSLhV5VlGFAfAJbKlOfPxCvJk8S7bHLDE17iTrZOVLAEC/TAtxr9O8gpxPrssHFSoVBmDmXIB+4qk1TYdrvIY5x8EQjZIgpGWjkiUVBsAirGhdjAOxabITKQz0BwWAtK6fwugbECat9vSxFDw+KAB4GfD2itlltJBivqD9uJEU6IHTURVJXYecpYXYDKmeRsdF5wK5IoCGc0GCpe9YRFK3IoCCrS13gttUxSR9rEGi/UXqJDkOMwAUBMP7NDKHvKqaRMvkPNFgBoDGw4qU18HbdIo2TKxKmACg9yFgG42HWlEyrw9MAMis7TP+VLHFhWVrp3ZSPYnMXv5piWl9YANANDXtVZWnXPbyllQ3cV6wbDvPMfD6nMQiLxkB8PQx0+T0NFVpMLz67Pyf5wcWuvjv1U6qowSDgCdY5mxxADJEhpcvf/lU9I202mcWevv2+v+z4dVvGd1nFmdVqBSA88uXXzk3+zNLidvKVfTXs4urn24rL4NfKQBtmX5eWEmVLwr3saKDSgH4fnfnb8j+A5QvqTw73Nv5PV/j9VpVCgBVwMLlIS6DHxW3LBO15OHBbtc0olOelSoHgAod3v/6L+7xm+i7bv7IodA1qRYA1tRlI9UaADYC+xYJbSJgi5yxEVWaCNgI7FsktImALXLGRlRpImAjsFco1Np1EwFWxO5a/SYC7ppHrfY0EWBF7K7VLxwBM3U/bwqUcP6CZky8E8l8TiFLhw0Az5taKnJ8PhxFn7zU/O+cE76ZvmSOSAsbqTFGRsYGwPxNLd97OQHk1E0Q6UnGF7RMAPBRFB6A9jxit4KleEhLHS3KmABgxxRAQTg3XWuoX2niljsf0lqFmAGgAApCJBypvv/Cg5cFAamb5l+gtKcdbrlTNyvlAoBCGAl8iflwr9vDww9+9sLPX+qmIxpOXahTHsoNQB5h29imAWAbvWLRqWjddwAAAP//MGboZgAAAAZJREFUAwAv/CuutfMtNAAAAABJRU5ErkJggg==", Vs = { class: "login-page" }, os = { class: "brand-side" }, Fs = { class: "brand-inner" }, Ns = { class: "brand-logo" }, ms = ["src", "alt"], ks = { class: "brand-footer" }, Js = { class: "form-side" }, Ks = ["src"], Es = ["src"], Is = ["src", "alt"], ps = {
  6486. key: 1,
  6487. class: "error-tip"
  6488. }, Ts = { class: "form-extra" }, Ss = { class: "lock-text" }, Us = { class: "lock-text" }, is = { key: 1 }, qs = { class: "tips" }, hs = /* @__PURE__ */ Object.assign({ name: "LoginTheme4" }, {
  6489. __name: "LoginTheme4",
  6490. props: {
  6491. // 登录页 logo:父级(login.vue)传的兜底图,接口返回 loginPageLogoUrl 后覆盖
  6492. logo: { type: String, default: Kg }
  6493. },
  6494. setup(M) {
  6495. const n = M, A = (b) => window.$l ? window.$l(b) : b, D = Ww(), w = Hw(), z = [
  6496. { icon: "SafetyOutlined", text: "统一身份认证,一次登录全校通行" },
  6497. { icon: "SafetyOutlined", text: "办事、资讯、应用一站聚合" },
  6498. { icon: "SafetyOutlined", text: "全流程安全审计,保障数据隐私" }
  6499. ], l = MA(n.logo || Kg), c = MA("统一认证中心"), Y = MA(null), B = MA(!1), s = MA(""), Q = MA(!1), e = MA(!1), f = MA(""), t = MA(""), P = MA(""), v = MA({}), H = MA(0), g = rw(() => H.value > Date.now()), C = fw({
  6500. loginName: "",
  6501. password: "",
  6502. verificationCode: ""
  6503. }), r = {
  6504. loginName: [{ required: !0, message: A("请输入职工号/学号"), trigger: "blur" }],
  6505. password: [{ required: !0, message: A("请输入登录密码"), trigger: "blur" }],
  6506. verificationCode: [{ required: !0, message: A("请输入验证码"), trigger: "blur" }]
  6507. }, O = () => window.$utils.env, L = () => window.$utils.ls;
  6508. function Z() {
  6509. const b = L().get("LOGIN_ACCOUNT");
  6510. b && (C.loginName = b, Q.value = !0);
  6511. }
  6512. function d() {
  6513. const b = D.params.officeCode;
  6514. b ? (L().set("officeCode", b), f.value = b) : f.value = L().get("officeCode") || "";
  6515. }
  6516. function j() {
  6517. lB({}).then((b) => {
  6518. v.value = b || {};
  6519. }).catch(() => {
  6520. });
  6521. }
  6522. function W() {
  6523. Lw({}).then((b) => {
  6524. Array.isArray(b) && b.length && (e.value = !!b[0].defaultActivateAccount);
  6525. }).catch(() => {
  6526. });
  6527. }
  6528. function x() {
  6529. GB().then((b) => {
  6530. t.value = `data:image/gif;base64,${b.verificationImage}`, P.value = b.verificationCodeId;
  6531. }).catch(() => {
  6532. t.value = "", P.value = "";
  6533. });
  6534. }
  6535. function u() {
  6536. H.value = 0, s.value = "";
  6537. }
  6538. function y(b) {
  6539. if (!b) return {};
  6540. if (typeof b.message == "string")
  6541. try {
  6542. return JSON.parse(b.message);
  6543. } catch (G) {
  6544. return { message: b.message };
  6545. }
  6546. return b;
  6547. }
  6548. function N(b) {
  6549. var p, _;
  6550. const G = y(b);
  6551. if (s.value = G.message || A("账号或密码错误,请重新输入"), G.lockUser) {
  6552. const J = G.lockUser, rA = J.lockEndTime && J.nowTime ? J.lockEndTime - J.nowTime : 0;
  6553. rA > 0 ? H.value = Date.now() + rA : (H.value = 0, s.value = G.message || A("账号已被锁定,请联系管理员")), C.verificationCode = "", x();
  6554. return;
  6555. }
  6556. const S = Number(((p = v.value) == null ? void 0 : p.codeThreshold) || 0);
  6557. (_ = v.value) != null && _.enabled && S > 0 && Number(G.failCount || 0) >= S && (C.verificationCode = "", x());
  6558. }
  6559. function k(b) {
  6560. const G = (O().VITE_APP_BASE_URL || "/").replace(/\/+$/, ""), S = `${window.location.protocol}//${window.location.host}${G}/sso.html?client_id=${b.clientId}&scope=${b.scope}&redirect_uri=${encodeURIComponent(b.redirectUri)}`;
  6561. window.location.replace(S);
  6562. }
  6563. function K(b) {
  6564. return dA(this, null, function* () {
  6565. L().set("token", b), L().set("USER-TOKEN", b), t.value = "", P.value = "";
  6566. const G = window.sessionStorage.getItem("redirect_client_id");
  6567. if (G)
  6568. try {
  6569. const { clients: S } = yield dB().Info(), p = S.find((_) => _.clientId === G) || {};
  6570. if (p.redirectUri && p.redirectUri !== "/") {
  6571. k(p);
  6572. return;
  6573. }
  6574. } catch (S) {
  6575. }
  6576. window.$push(O().VITE_APP_DEFAULT_PATH);
  6577. });
  6578. }
  6579. function R() {
  6580. return dA(this, null, function* () {
  6581. if (!g.value) {
  6582. s.value = "", B.value = !0;
  6583. try {
  6584. const b = {
  6585. clientId: O().VITE_APP_CLIENT_ID,
  6586. loginName: Og(C.loginName || ""),
  6587. password: Og(C.password || ""),
  6588. // 图形验证码按原文提交(与基座 LoginForm 一致)
  6589. verificationCode: C.verificationCode || "",
  6590. verificationCodeId: P.value || ""
  6591. }, G = yield aB(b);
  6592. Q.value ? L().set("LOGIN_ACCOUNT", C.loginName) : L().remove("LOGIN_ACCOUNT"), window.$message.success(A("登录成功,欢迎回来")), yield K(G);
  6593. } catch (b) {
  6594. N(b), C.verificationCode = "";
  6595. } finally {
  6596. B.value = !1;
  6597. }
  6598. }
  6599. });
  6600. }
  6601. function i() {
  6602. w.push("/user/qrCode");
  6603. }
  6604. function h() {
  6605. w.push("/user/forgotPassword");
  6606. }
  6607. function q() {
  6608. w.push("/user/activate");
  6609. }
  6610. function a(b) {
  6611. b && (l.value = b.loginPageLogoUrl || l.value, c.value = b.systemName || c.value);
  6612. }
  6613. function X() {
  6614. const b = L().get("systemIcons");
  6615. if (b) {
  6616. a(b);
  6617. return;
  6618. }
  6619. jB().then((G) => {
  6620. a(G);
  6621. }).catch(() => {
  6622. });
  6623. }
  6624. return nw(() => {
  6625. X(), d(), Z(), j(), W();
  6626. }), (b, G) => {
  6627. const S = Ow, p = xw, _ = Zw, J = bw, rA = uB, fA = oB, aA = Cw, WA = YA("SafetyOutlined"), sA = aw, wA = tw, ZA = dw, HA = YA("ExclamationCircleFilled"), bA = yB, nA = XB, uA = FB, LA = VB, CA = lw, eA = YA("QrcodeOutlined"), zA = Gw;
  6628. return m(), T("div", Vs, [
  6629. V("section", os, [
  6630. G[4] || (G[4] = V("div", { class: "brand-mask" }, null, -1)),
  6631. V("div", Fs, [
  6632. V("div", Ns, [
  6633. V("img", {
  6634. class: "logo-img",
  6635. src: l.value,
  6636. alt: A("学校标识")
  6637. }, null, 8, ms)
  6638. ]),
  6639. o(S, {
  6640. level: 1,
  6641. class: "brand-title"
  6642. }, {
  6643. default: F(() => [
  6644. $(E(c.value), 1)
  6645. ]),
  6646. _: 1
  6647. }),
  6648. o(p, { class: "brand-slogan" }, {
  6649. default: F(() => [
  6650. $(E(A("一个账号,通达校园全部应用与服务")), 1)
  6651. ]),
  6652. _: 1
  6653. }),
  6654. o(J, {
  6655. direction: "vertical",
  6656. size: 16,
  6657. class: "brand-points"
  6658. }, {
  6659. default: F(() => [
  6660. (m(), T(FA, null, bg(z, (BA) => V("div", {
  6661. key: BA.text,
  6662. class: "brand-point"
  6663. }, [
  6664. (m(), DA(kA(BA.icon), { class: "point-icon" })),
  6665. o(_, { class: "point-text" }, {
  6666. default: F(() => [
  6667. $(E(A(BA.text)), 1)
  6668. ]),
  6669. _: 2
  6670. }, 1024)
  6671. ])), 64))
  6672. ]),
  6673. _: 1
  6674. })
  6675. ]),
  6676. V("div", ks, [
  6677. o(_, { class: "copyright-text" }, {
  6678. default: F(() => [
  6679. $(" 智慧校园 · " + E(c.value), 1)
  6680. ]),
  6681. _: 1
  6682. })
  6683. ])
  6684. ]),
  6685. V("section", Js, [
  6686. o(zA, {
  6687. class: "login-card",
  6688. bordered: !1
  6689. }, {
  6690. default: F(() => [
  6691. o(S, {
  6692. level: 3,
  6693. class: "card-title"
  6694. }, {
  6695. default: F(() => [
  6696. $(E(A("账号登录")), 1)
  6697. ]),
  6698. _: 1
  6699. }),
  6700. o(_, {
  6701. type: "secondary",
  6702. class: "card-desc"
  6703. }, {
  6704. default: F(() => [
  6705. $(E(A("学生、教职工请使用学号 / 职工号登录")), 1)
  6706. ]),
  6707. _: 1
  6708. }),
  6709. o(LA, {
  6710. ref_key: "formRef",
  6711. ref: Y,
  6712. class: "login-form",
  6713. model: C,
  6714. rules: r,
  6715. layout: "vertical",
  6716. onFinish: R
  6717. }, {
  6718. default: F(() => [
  6719. o(fA, { name: "loginName" }, {
  6720. default: F(() => [
  6721. o(rA, {
  6722. value: C.loginName,
  6723. "onUpdate:value": G[0] || (G[0] = (BA) => C.loginName = BA),
  6724. size: "large",
  6725. placeholder: A("请输入职工号/学号"),
  6726. autocomplete: "off",
  6727. "allow-clear": ""
  6728. }, {
  6729. prefix: F(() => [
  6730. V("img", {
  6731. class: "field-icon",
  6732. src: Eg(Xs),
  6733. alt: ""
  6734. }, null, 8, Ks)
  6735. ]),
  6736. _: 1
  6737. }, 8, ["value", "placeholder"])
  6738. ]),
  6739. _: 1
  6740. }),
  6741. o(fA, { name: "password" }, {
  6742. default: F(() => [
  6743. o(aA, {
  6744. value: C.password,
  6745. "onUpdate:value": G[1] || (G[1] = (BA) => C.password = BA),
  6746. size: "large",
  6747. placeholder: A("请输入登录密码"),
  6748. autocomplete: "off"
  6749. }, {
  6750. prefix: F(() => [
  6751. V("img", {
  6752. class: "field-icon",
  6753. src: Eg(js),
  6754. alt: ""
  6755. }, null, 8, Es)
  6756. ]),
  6757. _: 1
  6758. }, 8, ["value", "placeholder"])
  6759. ]),
  6760. _: 1
  6761. }),
  6762. t.value ? (m(), DA(fA, {
  6763. key: 0,
  6764. name: "verificationCode"
  6765. }, {
  6766. default: F(() => [
  6767. o(ZA, { gutter: 12 }, {
  6768. default: F(() => [
  6769. o(sA, { span: 14 }, {
  6770. default: F(() => [
  6771. o(rA, {
  6772. value: C.verificationCode,
  6773. "onUpdate:value": G[2] || (G[2] = (BA) => C.verificationCode = BA),
  6774. size: "large",
  6775. placeholder: A("请输入验证码"),
  6776. autocomplete: "off",
  6777. "allow-clear": ""
  6778. }, {
  6779. prefix: F(() => [
  6780. o(WA, { class: "field-icon-text" })
  6781. ]),
  6782. _: 1
  6783. }, 8, ["value", "placeholder"])
  6784. ]),
  6785. _: 1
  6786. }),
  6787. o(sA, { span: 10 }, {
  6788. default: F(() => [
  6789. o(wA, {
  6790. title: A("点击刷新验证码")
  6791. }, {
  6792. default: F(() => [
  6793. V("div", {
  6794. class: "captcha-box",
  6795. onClick: x
  6796. }, [
  6797. V("img", {
  6798. src: t.value,
  6799. alt: A("验证码")
  6800. }, null, 8, Is)
  6801. ])
  6802. ]),
  6803. _: 1
  6804. }, 8, ["title"])
  6805. ]),
  6806. _: 1
  6807. })
  6808. ]),
  6809. _: 1
  6810. })
  6811. ]),
  6812. _: 1
  6813. })) : AA("", !0),
  6814. s.value ? (m(), T("div", ps, [
  6815. o(HA, { class: "error-icon" }),
  6816. o(_, { type: "danger" }, {
  6817. default: F(() => [
  6818. $(E(s.value), 1)
  6819. ]),
  6820. _: 1
  6821. })
  6822. ])) : AA("", !0),
  6823. V("div", Ts, [
  6824. o(bA, {
  6825. checked: Q.value,
  6826. "onUpdate:checked": G[3] || (G[3] = (BA) => Q.value = BA)
  6827. }, {
  6828. default: F(() => [
  6829. $(E(A("记住我")), 1)
  6830. ]),
  6831. _: 1
  6832. }, 8, ["checked"]),
  6833. o(nA, {
  6834. type: "link",
  6835. class: "link-btn",
  6836. onClick: h
  6837. }, {
  6838. default: F(() => [
  6839. $(E(A("忘记密码?")), 1)
  6840. ]),
  6841. _: 1
  6842. })
  6843. ]),
  6844. o(fA, { class: "submit-item" }, {
  6845. default: F(() => [
  6846. o(nA, {
  6847. type: "primary",
  6848. block: "",
  6849. size: "large",
  6850. "html-type": "submit",
  6851. loading: B.value,
  6852. disabled: g.value
  6853. }, {
  6854. default: F(() => [
  6855. g.value ? (m(), T(FA, { key: 0 }, [
  6856. V("span", Ss, E(A("账号已锁定,")), 1),
  6857. o(uA, {
  6858. class: "lock-countdown",
  6859. value: H.value,
  6860. format: "s",
  6861. onFinish: u
  6862. }, null, 8, ["value"]),
  6863. V("span", Us, E(A("秒后重试")), 1)
  6864. ], 64)) : (m(), T("span", is, E(A("登录")), 1))
  6865. ]),
  6866. _: 1
  6867. }, 8, ["loading", "disabled"])
  6868. ]),
  6869. _: 1
  6870. })
  6871. ]),
  6872. _: 1
  6873. }, 8, ["model"]),
  6874. o(CA, { class: "card-divider" }, {
  6875. default: F(() => [
  6876. $(E(A("其他登录方式")), 1)
  6877. ]),
  6878. _: 1
  6879. }),
  6880. o(nA, {
  6881. block: "",
  6882. size: "large",
  6883. class: "qr-btn",
  6884. onClick: i
  6885. }, {
  6886. icon: F(() => [
  6887. o(eA, { class: "qr-code-2" })
  6888. ]),
  6889. default: F(() => [
  6890. V("span", null, E(A("扫码登录")), 1)
  6891. ]),
  6892. _: 1
  6893. }),
  6894. V("div", qs, [
  6895. o(_, { class: "tips-title" }, {
  6896. default: F(() => [
  6897. $(E(A("温馨提示")), 1)
  6898. ]),
  6899. _: 1
  6900. }),
  6901. e.value ? (m(), DA(p, {
  6902. key: 0,
  6903. class: "tips-line"
  6904. }, {
  6905. default: F(() => [
  6906. $(E(A("1. 新生或新入职教职工,请先")) + " ", 1),
  6907. o(nA, {
  6908. type: "link",
  6909. class: "inline-btn",
  6910. onClick: q
  6911. }, {
  6912. default: F(() => [
  6913. $(E(A("激活账号")), 1)
  6914. ]),
  6915. _: 1
  6916. })
  6917. ]),
  6918. _: 1
  6919. })) : (m(), DA(p, {
  6920. key: 1,
  6921. class: "tips-line"
  6922. }, {
  6923. default: F(() => [
  6924. $(E(A("1. 学生、教职工请使用学号、工号登录")), 1)
  6925. ]),
  6926. _: 1
  6927. })),
  6928. o(p, { class: "tips-line" }, {
  6929. default: F(() => [
  6930. $(E(A("2. 校外人员请使用手机号登录")), 1)
  6931. ]),
  6932. _: 1
  6933. })
  6934. ])
  6935. ]),
  6936. _: 1
  6937. })
  6938. ])
  6939. ]);
  6940. };
  6941. }
  6942. }), Rs = /* @__PURE__ */ PA(hs, [["__scopeId", "data-v-7d47f675"]]), _s = {
  6943. 1: KB,
  6944. 2: xs,
  6945. 3: ys,
  6946. 4: Rs
  6947. }, $s = {
  6948. name: "LoginPage",
  6949. data() {
  6950. return {
  6951. spinning: !1,
  6952. sysName: "",
  6953. logo: mA,
  6954. loginTheme: "1"
  6955. };
  6956. },
  6957. computed: {
  6958. themeComponent() {
  6959. return _s[String(this.loginTheme)] || KB;
  6960. },
  6961. // 只有主题 1 有系统名(封面副标题),按主题决定透传哪些 props,避免无用属性落到根节点
  6962. themeProps() {
  6963. const M = { logo: this.logo };
  6964. return String(this.loginTheme) === "1" && (M.sysName = this.sysName), M;
  6965. }
  6966. },
  6967. mounted() {
  6968. this.loginTheme = this.$utils.env.VITE_APP_LOGIN_PATH_THEME, this.spinning = !0, this.spinning = !1, this.getAppearanceConfig();
  6969. },
  6970. methods: {
  6971. getAppearanceConfig() {
  6972. this.sysName = window.$l("统一数据平台 | 管理系统");
  6973. const M = this.$utils.ls.get("systemIcons");
  6974. M ? this.applySystemIcon(M) : jB().then((n) => {
  6975. this.applySystemIcon(n);
  6976. });
  6977. },
  6978. // 应用外观配置:登录页 logo、页签 favicon(已登录后的首页 logo/favicon 由 BasicLayout 处理)
  6979. applySystemIcon(M) {
  6980. M && (M.loginPageLogoUrl && (this.logo = M.loginPageLogoUrl), M.faviconUrl && this.$utils.setFavicon(M.faviconUrl));
  6981. }
  6982. }
  6983. }, A7 = { class: "login-page" }, g7 = { class: "language-check" };
  6984. function B7(M, n, A, D, w, z) {
  6985. const l = YA("s-toggle-language"), c = Mw;
  6986. return m(), DA(c, { spinning: w.spinning }, {
  6987. default: F(() => [
  6988. V("div", A7, [
  6989. (m(), DA(kA(z.themeComponent), zw(Pw(z.themeProps)), null, 16)),
  6990. V("div", g7, [
  6991. o(l, { blockType: "dropdown" })
  6992. ])
  6993. ])
  6994. ]),
  6995. _: 1
  6996. }, 8, ["spinning"]);
  6997. }
  6998. const Y7 = /* @__PURE__ */ PA($s, [["render", B7], ["__scopeId", "data-v-098c9e44"]]);
  6999. export {
  7000. Y7 as default
  7001. };