Something went wrong. Try again.
Repo storing adventures in relearning fullstack development using JS
Something went wrong. Try again.
608 kB · 18068 lines
JavaScript
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069/** * @license React * react-dom-profiling.profiling.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */
/* Modernizr 3.0.0pre (Custom Build) | MIT*/"use strict";"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Scheduler = require("scheduler"), React = require("react"), ReactDOM = require("react-dom");function formatProdErrorMessage(code) { var url = "https://react.dev/errors/" + code; if (1 < arguments.length) { url += "?args[]=" + encodeURIComponent(arguments[1]); for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]); } return ( "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." );}function isValidContainer(node) { return !( !node || (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType) );}function getNearestMountedFiber(fiber) { var node = fiber, nearestMounted = fiber; if (fiber.alternate) for (; node.return; ) node = node.return; else { fiber = node; do (node = fiber), 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } return 3 === node.tag ? nearestMounted : null;}function getSuspenseInstanceFromFiber(fiber) { if (13 === fiber.tag) { var suspenseState = fiber.memoizedState; null === suspenseState && ((fiber = fiber.alternate), null !== fiber && (suspenseState = fiber.memoizedState)); if (null !== suspenseState) return suspenseState.dehydrated; } return null;}function getActivityInstanceFromFiber(fiber) { if (31 === fiber.tag) { var activityState = fiber.memoizedState; null === activityState && ((fiber = fiber.alternate), null !== fiber && (activityState = fiber.memoizedState)); if (null !== activityState) return activityState.dehydrated; } return null;}function assertIsMounted(fiber) { if (getNearestMountedFiber(fiber) !== fiber) throw Error(formatProdErrorMessage(188));}function findCurrentFiberUsingSlowPath(fiber) { var alternate = fiber.alternate; if (!alternate) { alternate = getNearestMountedFiber(fiber); if (null === alternate) throw Error(formatProdErrorMessage(188)); return alternate !== fiber ? null : fiber; } for (var a = fiber, b = alternate; ; ) { var parentA = a.return; if (null === parentA) break; var parentB = parentA.alternate; if (null === parentB) { b = parentA.return; if (null !== b) { a = b; continue; } break; } if (parentA.child === parentB.child) { for (parentB = parentA.child; parentB; ) { if (parentB === a) return assertIsMounted(parentA), fiber; if (parentB === b) return assertIsMounted(parentA), alternate; parentB = parentB.sibling; } throw Error(formatProdErrorMessage(188)); } if (a.return !== b.return) (a = parentA), (b = parentB); else { for (var didFindChild = !1, child$0 = parentA.child; child$0; ) { if (child$0 === a) { didFindChild = !0; a = parentA; b = parentB; break; } if (child$0 === b) { didFindChild = !0; b = parentA; a = parentB; break; } child$0 = child$0.sibling; } if (!didFindChild) { for (child$0 = parentB.child; child$0; ) { if (child$0 === a) { didFindChild = !0; a = parentB; b = parentA; break; } if (child$0 === b) { didFindChild = !0; b = parentB; a = parentA; break; } child$0 = child$0.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } } if (a.alternate !== b) throw Error(formatProdErrorMessage(190)); } if (3 !== a.tag) throw Error(formatProdErrorMessage(188)); return a.stateNode.current === a ? fiber : alternate;}function findCurrentHostFiberImpl(node) { var tag = node.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node; for (node = node.child; null !== node; ) { tag = findCurrentHostFiberImpl(node); if (null !== tag) return tag; node = node.sibling; } return null;}var assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy");Symbol.for("react.scope");var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null;}var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; case REACT_ACTIVITY_TYPE: return "Activity"; } if ("object" === typeof type) switch (type.$$typeof) { case REACT_PORTAL_TYPE: return "Portal"; case REACT_CONTEXT_TYPE: return type.displayName || "Context"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || ((type = innerType.displayName || innerType.name || ""), (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); return type; case REACT_MEMO_TYPE: return ( (innerType = type.displayName || null), null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo" ); case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null;}function getComponentNameFromFiber(fiber) { var type = fiber.type; switch (fiber.tag) { case 31: return "Activity"; case 24: return "Cache"; case 9: return (type._context.displayName || "Context") + ".Consumer"; case 10: return type.displayName || "Context"; case 18: return "DehydratedFragment"; case 11: return ( (fiber = type.render), (fiber = fiber.displayName || fiber.name || ""), type.displayName || ("" !== fiber ? "ForwardRef(" + fiber + ")" : "ForwardRef") ); case 7: return "Fragment"; case 26: case 27: case 5: return type; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return getComponentNameFromType(type); case 8: return type === REACT_STRICT_MODE_TYPE ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: return "Profiler"; case 21: return "Scope"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 25: return "TracingMarker"; case 1: case 0: case 14: case 15: if ("function" === typeof type) return type.displayName || type.name || null; if ("string" === typeof type) return type; } return null;}var isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = { pending: !1, data: null, method: null, action: null }, valueStack = [], index = -1;function createCursor(defaultValue) { return { current: defaultValue };}function pop(cursor) { 0 > index || ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);}function push(cursor, value) { index++; valueStack[index] = cursor.current; cursor.current = value;}var contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null);function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor, null); switch (nextRootInstance.nodeType) { case 9: case 11: fiber = (fiber = nextRootInstance.documentElement) ? (fiber = fiber.namespaceURI) ? getOwnHostContext(fiber) : 0 : 0; break; default: if ( ((fiber = nextRootInstance.tagName), (nextRootInstance = nextRootInstance.namespaceURI)) ) (nextRootInstance = getOwnHostContext(nextRootInstance)), (fiber = getChildHostContextProd(nextRootInstance, fiber)); else switch (fiber) { case "svg": fiber = 1; break; case "math": fiber = 2; break; default: fiber = 0; } } pop(contextStackCursor); push(contextStackCursor, fiber);}function popHostContainer() { pop(contextStackCursor); pop(contextFiberStackCursor); pop(rootInstanceStackCursor);}function pushHostContext(fiber) { null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber); var context = contextStackCursor.current; var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type); context !== JSCompiler_inline_result && (push(contextFiberStackCursor, fiber), push(contextStackCursor, JSCompiler_inline_result));}function popHostContext(fiber) { contextFiberStackCursor.current === fiber && (pop(contextStackCursor), pop(contextFiberStackCursor)); hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor), (HostTransitionContext._currentValue = sharedNotPendingObject));}var prefix, suffix;function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = (match && match[1]) || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix;}var reentry = !1;function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; reentry = !0; var previousPrepareStackTrace = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$1) { control = x$1; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$2) { control = x$2; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor( RunInRootFrame.DetermineComponentFrameRoot, "name" ); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty( RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for ( namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
) RunInRootFrame++; for ( ; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes( "DetermineComponentFrameRoot" );
) namePropDescriptor++; if ( RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length ) for ( RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
) namePropDescriptor--; for ( ; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor-- ) if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { if (1 !== RunInRootFrame || 1 !== namePropDescriptor) { do if ( (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) ) { var frame = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at "); fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName)); return frame; } while (1 <= RunInRootFrame && 0 <= namePropDescriptor); } break; } } } finally { (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace); } return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";}function describeFiber(fiber, childFiber) { switch (fiber.tag) { case 26: case 27: case 5: return describeBuiltInComponentFrame(fiber.type); case 16: return describeBuiltInComponentFrame("Lazy"); case 13: return fiber.child !== childFiber && null !== childFiber ? describeBuiltInComponentFrame("Suspense Fallback") : describeBuiltInComponentFrame("Suspense"); case 19: return describeBuiltInComponentFrame("SuspenseList"); case 0: case 15: return describeNativeComponentFrame(fiber.type, !1); case 11: return describeNativeComponentFrame(fiber.type.render, !1); case 1: return describeNativeComponentFrame(fiber.type, !0); case 31: return describeBuiltInComponentFrame("Activity"); default: return ""; }}function getStackByFiberInDevAndProd(workInProgress) { try { var info = "", previous = null; do (info += describeFiber(workInProgress, previous)), (previous = workInProgress), (workInProgress = workInProgress.return); while (workInProgress); return info; } catch (x) { return "\nError generating stack: " + x.message + "\n" + x.stack; }}var hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now$1 = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function setIsStrictModeForDevtools(newIsStrictMode) { "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode); if (injectedHook && "function" === typeof injectedHook.setStrictMode) try { injectedHook.setStrictMode(rendererID, newIsStrictMode); } catch (err) {}}var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2;function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;}var nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304;function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; if (0 !== pendingSyncLanes) return pendingSyncLanes; switch (lanes & -lanes) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: return 64; case 128: return 128; case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: return lanes & 3932160; case 4194304: case 8388608: case 16777216: case 33554432: return lanes & 62914560; case 67108864: return 67108864; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 0; default: return lanes; }}function getNextLanes(root, wipLanes, rootHasPendingCommit) { var pendingLanes = root.pendingLanes; if (0 === pendingLanes) return 0; var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes; root = root.warmLanes; var nonIdlePendingLanes = pendingLanes & 134217727; 0 !== nonIdlePendingLanes ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes), 0 !== pendingLanes ? (nextLanes = getHighestPriorityLanes(pendingLanes)) : ((pingedLanes &= nonIdlePendingLanes), 0 !== pingedLanes ? (nextLanes = getHighestPriorityLanes(pingedLanes)) : rootHasPendingCommit || ((rootHasPendingCommit = nonIdlePendingLanes & ~root), 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes), 0 !== nonIdlePendingLanes ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes)) : 0 !== pingedLanes ? (nextLanes = getHighestPriorityLanes(pingedLanes)) : rootHasPendingCommit || ((rootHasPendingCommit = pendingLanes & ~root), 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))); return 0 === nextLanes ? 0 : 0 !== wipLanes && wipLanes !== nextLanes && 0 === (wipLanes & suspendedLanes) && ((suspendedLanes = nextLanes & -nextLanes), (rootHasPendingCommit = wipLanes & -wipLanes), suspendedLanes >= rootHasPendingCommit || (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048))) ? wipLanes : nextLanes;}function checkIfRootIsPrerendering(root, renderLanes) { return ( 0 === (root.pendingLanes & ~(root.suspendedLanes & ~root.pingedLanes) & renderLanes) );}function computeExpirationTime(lane, currentTime) { switch (lane) { case 1: case 2: case 4: case 8: case 64: return currentTime + 250; case 16: case 32: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return currentTime + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: return -1; case 67108864: case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; }}function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304); return lane;}function createLaneMap(initial) { for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial); return laneMap;}function markRootUpdated$1(root, updateLane) { root.pendingLanes |= updateLane; 268435456 !== updateLane && ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));}function markRootFinished( root, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) { var previouslyPendingLanes = root.pendingLanes; root.pendingLanes = remainingLanes; root.suspendedLanes = 0; root.pingedLanes = 0; root.warmLanes = 0; root.expiredLanes &= remainingLanes; root.entangledLanes &= remainingLanes; root.errorRecoveryDisabledLanes &= remainingLanes; root.shellSuspendCounter = 0; var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates; for ( remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;
) { var index$7 = 31 - clz32(remainingLanes), lane = 1 << index$7; entanglements[index$7] = 0; expirationTimes[index$7] = -1; var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( hiddenUpdates[index$7] = null, index$7 = 0; index$7 < hiddenUpdatesForLane.length; index$7++ ) { var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; } 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0); 0 !== suspendedRetryLanes && 0 === updatedLanes && 0 !== root.tag && (root.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));}function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.pendingLanes |= spawnedLane; root.suspendedLanes &= ~spawnedLane; var spawnedLaneIndex = 31 - clz32(spawnedLane); root.entangledLanes |= spawnedLane; root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | (entangledLanes & 261930);}function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { var index$8 = 31 - clz32(rootEntangledLanes), lane = 1 << index$8; (lane & entangledLanes) | (root[index$8] & entangledLanes) && (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; }}function getBumpedLaneForHydration(root, renderLanes) { var renderLane = renderLanes & -renderLanes; renderLane = 0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane); return 0 !== (renderLane & (root.suspendedLanes | renderLanes)) ? 0 : renderLane;}function getBumpedLaneForHydrationByLane(lane) { switch (lane) { case 2: lane = 1; break; case 8: lane = 4; break; case 32: lane = 16; break; case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: lane = 128; break; case 268435456: lane = 134217728; break; default: lane = 0; } return lane;}function addFiberToLanesMap(root, fiber, lanes) { if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) { var index$10 = 31 - clz32(lanes), lane = 1 << index$10; root[index$10].add(fiber); lanes &= ~lane; }}function movePendingFibersToMemoized(root, lanes) { if (isDevToolsPresent) for ( var pendingUpdatersLaneMap = root.pendingUpdatersLaneMap, memoizedUpdaters = root.memoizedUpdaters; 0 < lanes;
) { var index$11 = 31 - clz32(lanes); root = 1 << index$11; index$11 = pendingUpdatersLaneMap[index$11]; 0 < index$11.size && (index$11.forEach(function (fiber) { var alternate = fiber.alternate; (null !== alternate && memoizedUpdaters.has(alternate)) || memoizedUpdaters.add(fiber); }), index$11.clear()); lanes &= ~root; }}function lanesToEventPriority(lanes) { lanes &= -lanes; return 2 < lanes ? 8 < lanes ? 0 !== (lanes & 134217727) ? 32 : 268435456 : 8 : 2;}function resolveUpdatePriority() { var updatePriority = ReactDOMSharedInternals.p; if (0 !== updatePriority) return updatePriority; updatePriority = window.event; return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);}function runWithPriority(priority, fn) { var previousPriority = ReactDOMSharedInternals.p; try { return (ReactDOMSharedInternals.p = priority), fn(); } finally { ReactDOMSharedInternals.p = previousPriority; }}var randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey;function detachDeletedInstance(node) { delete node[internalInstanceKey]; delete node[internalPropsKey]; delete node[internalEventHandlersKey]; delete node[internalEventHandlerListenersKey]; delete node[internalEventHandlesSetKey];}function getClosestInstanceFromNode(targetNode) { var targetInst = targetNode[internalInstanceKey]; if (targetInst) return targetInst; for (var parentNode = targetNode.parentNode; parentNode; ) { if ( (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) ) { parentNode = targetInst.alternate; if ( null !== targetInst.child || (null !== parentNode && null !== parentNode.child) ) for ( targetNode = getParentHydrationBoundary(targetNode); null !== targetNode;
) { if ((parentNode = targetNode[internalInstanceKey])) return parentNode; targetNode = getParentHydrationBoundary(targetNode); } return targetInst; } targetNode = parentNode; parentNode = targetNode.parentNode; } return null;}function getInstanceFromNode(node) { if ( (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) ) { var tag = node.tag; if ( 5 === tag || 6 === tag || 13 === tag || 31 === tag || 26 === tag || 27 === tag || 3 === tag ) return node; } return null;}function getNodeFromInstance(inst) { var tag = inst.tag; if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode; throw Error(formatProdErrorMessage(33));}function getResourcesFromRoot(root) { var resources = root[internalRootNodeResourcesKey]; resources || (resources = root[internalRootNodeResourcesKey] = { hoistableStyles: new Map(), hoistableScripts: new Map() }); return resources;}function markNodeAsHoistable(node) { node[internalHoistableMarker] = !0;}var allNativeEvents = new Set(), registrationNameDependencies = {};function registerTwoPhaseEvent(registrationName, dependencies) { registerDirectEvent(registrationName, dependencies); registerDirectEvent(registrationName + "Capture", dependencies);}function registerDirectEvent(registrationName, dependencies) { registrationNameDependencies[registrationName] = dependencies; for ( registrationName = 0; registrationName < dependencies.length; registrationName++ ) allNativeEvents.add(dependencies[registrationName]);}var VALID_ATTRIBUTE_NAME_REGEX = RegExp( "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$" ), illegalAttributeNameCache = {}, validatedAttributeNameCache = {};function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return !0; if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return (validatedAttributeNameCache[attributeName] = !0); illegalAttributeNameCache[attributeName] = !0; return !1;}function setValueForAttribute(node, name, value) { if (isAttributeNameSafe(name)) if (null === value) node.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": node.removeAttribute(name); return; case "boolean": var prefix$12 = name.toLowerCase().slice(0, 5); if ("data-" !== prefix$12 && "aria-" !== prefix$12) { node.removeAttribute(name); return; } } node.setAttribute(name, "" + value); }}function setValueForKnownAttribute(node, name, value) { if (null === value) node.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node.removeAttribute(name); return; } node.setAttribute(name, "" + value); }}function setValueForNamespacedAttribute(node, namespace, name, value) { if (null === value) node.removeAttribute(name); else { switch (typeof value) { case "undefined": case "function": case "symbol": case "boolean": node.removeAttribute(name); return; } node.setAttributeNS(namespace, name, "" + value); }}function getToStringValue(value) { switch (typeof value) { case "bigint": case "boolean": case "number": case "string": case "undefined": return value; case "object": return value; default: return ""; }}function isCheckable(elem) { var type = elem.type; return ( (elem = elem.nodeName) && "input" === elem.toLowerCase() && ("checkbox" === type || "radio" === type) );}function trackValueOnNode(node, valueField, currentValue) { var descriptor = Object.getOwnPropertyDescriptor( node.constructor.prototype, valueField ); if ( !node.hasOwnProperty(valueField) && "undefined" !== typeof descriptor && "function" === typeof descriptor.get && "function" === typeof descriptor.set ) { var get = descriptor.get, set = descriptor.set; Object.defineProperty(node, valueField, { configurable: !0, get: function () { return get.call(this); }, set: function (value) { currentValue = "" + value; set.call(this, value); } }); Object.defineProperty(node, valueField, { enumerable: descriptor.enumerable }); return { getValue: function () { return currentValue; }, setValue: function (value) { currentValue = "" + value; }, stopTracking: function () { node._valueTracker = null; delete node[valueField]; } }; }}function track(node) { if (!node._valueTracker) { var valueField = isCheckable(node) ? "checked" : "value"; node._valueTracker = trackValueOnNode( node, valueField, "" + node[valueField] ); }}function updateValueIfChanged(node) { if (!node) return !1; var tracker = node._valueTracker; if (!tracker) return !0; var lastValue = tracker.getValue(); var value = ""; node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value); node = value; return node !== lastValue ? (tracker.setValue(node), !0) : !1;}function getActiveElement(doc) { doc = doc || ("undefined" !== typeof document ? document : void 0); if ("undefined" === typeof doc) return null; try { return doc.activeElement || doc.body; } catch (e) { return doc.body; }}var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g;function escapeSelectorAttributeValueInsideDoubleQuotes(value) { return value.replace( escapeSelectorAttributeValueInsideDoubleQuotesRegex, function (ch) { return "\\" + ch.charCodeAt(0).toString(16) + " "; } );}function updateInput( element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name) { element.name = ""; null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type ? (element.type = type) : element.removeAttribute("type"); if (null != value) if ("number" === type) { if ((0 === value && "" === element.value) || element.value != value) element.value = "" + getToStringValue(value); } else element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)); else ("submit" !== type && "reset" !== type) || element.removeAttribute("value"); null != value ? setDefaultValue(element, type, getToStringValue(value)) : null != defaultValue ? setDefaultValue(element, type, getToStringValue(defaultValue)) : null != lastDefaultValue && element.removeAttribute("value"); null == checked && null != defaultChecked && (element.defaultChecked = !!defaultChecked); null != checked && (element.checked = checked && "function" !== typeof checked && "symbol" !== typeof checked); null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name ? (element.name = "" + getToStringValue(name)) : element.removeAttribute("name");}function initInput( element, value, defaultValue, checked, defaultChecked, type, name, isHydrating) { null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (element.type = type); if (null != value || null != defaultValue) { if ( !( ("submit" !== type && "reset" !== type) || (void 0 !== value && null !== value) ) ) { track(element); return; } defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : ""; value = null != value ? "" + getToStringValue(value) : defaultValue; isHydrating || value === element.value || (element.value = value); element.defaultValue = value; } checked = null != checked ? checked : defaultChecked; checked = "function" !== typeof checked && "symbol" !== typeof checked && !!checked; element.checked = isHydrating ? element.checked : !!checked; element.defaultChecked = !!checked; null != name && "function" !== typeof name && "symbol" !== typeof name && "boolean" !== typeof name && (element.name = name); track(element);}function setDefaultValue(node, type, value) { ("number" === type && getActiveElement(node.ownerDocument) === node) || node.defaultValue === "" + value || (node.defaultValue = "" + value);}function updateOptions(node, multiple, propValue, setDefaultSelected) { node = node.options; if (multiple) { multiple = {}; for (var i = 0; i < propValue.length; i++) multiple["$" + propValue[i]] = !0; for (propValue = 0; propValue < node.length; propValue++) (i = multiple.hasOwnProperty("$" + node[propValue].value)), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = !0); } else { propValue = "" + getToStringValue(propValue); multiple = null; for (i = 0; i < node.length; i++) { if (node[i].value === propValue) { node[i].selected = !0; setDefaultSelected && (node[i].defaultSelected = !0); return; } null !== multiple || node[i].disabled || (multiple = node[i]); } null !== multiple && (multiple.selected = !0); }}function updateTextarea(element, value, defaultValue) { if ( null != value && ((value = "" + getToStringValue(value)), value !== element.value && (element.value = value), null == defaultValue) ) { element.defaultValue !== value && (element.defaultValue = value); return; } element.defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : "";}function initTextarea(element, value, defaultValue, children) { if (null == value) { if (null != children) { if (null != defaultValue) throw Error(formatProdErrorMessage(92)); if (isArrayImpl(children)) { if (1 < children.length) throw Error(formatProdErrorMessage(93)); children = children[0]; } defaultValue = children; } null == defaultValue && (defaultValue = ""); value = defaultValue; } defaultValue = getToStringValue(value); element.defaultValue = defaultValue; children = element.textContent; children === defaultValue && "" !== children && null !== children && (element.value = children); track(element);}function setTextContent(node, text) { if (text) { var firstChild = node.firstChild; if ( firstChild && firstChild === node.lastChild && 3 === firstChild.nodeType ) { firstChild.nodeValue = text; return; } } node.textContent = text;}var unitlessNumbers = new Set( "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split( " " ));function setValueForStyle(style, styleName, value) { var isCustomProperty = 0 === styleName.indexOf("--"); null == value || "boolean" === typeof value || "" === value ? isCustomProperty ? style.setProperty(styleName, "") : "float" === styleName ? (style.cssFloat = "") : (style[styleName] = "") : isCustomProperty ? style.setProperty(styleName, value) : "number" !== typeof value || 0 === value || unitlessNumbers.has(styleName) ? "float" === styleName ? (style.cssFloat = value) : (style[styleName] = ("" + value).trim()) : (style[styleName] = value + "px");}function setValueForStyles(node, styles, prevStyles) { if (null != styles && "object" !== typeof styles) throw Error(formatProdErrorMessage(62)); node = node.style; if (null != prevStyles) { for (var styleName in prevStyles) !prevStyles.hasOwnProperty(styleName) || (null != styles && styles.hasOwnProperty(styleName)) || (0 === styleName.indexOf("--") ? node.setProperty(styleName, "") : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); for (var styleName$18 in styles) (styleName = styles[styleName$18]), styles.hasOwnProperty(styleName$18) && prevStyles[styleName$18] !== styleName && setValueForStyle(node, styleName$18, styleName); } else for (var styleName$19 in styles) styles.hasOwnProperty(styleName$19) && setValueForStyle(node, styleName$19, styles[styleName$19]);}function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; switch (tagName) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return !1; default: return !0; }}var aliases = new Map([ ["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"], ["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"], ["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"], ["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], ["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity", "stop-opacity"], ["strikethroughPosition", "strikethrough-position"], ["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"], ["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"], ["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"], ["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"], ["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"], ["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing", "word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"] ]), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sanitizeURL(url) { return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url;}function noop$1() {}var currentReplayingEvent = null;function getEventTarget(nativeEvent) { nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement); return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;}var restoreTarget = null, restoreQueue = null;function restoreStateOfTarget(target) { var internalInstance = getInstanceFromNode(target); if (internalInstance && (target = internalInstance.stateNode)) { var props = target[internalPropsKey] || null; a: switch (((target = internalInstance.stateNode), internalInstance.type)) { case "input": updateInput( target, props.value, props.defaultValue, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name ); internalInstance = props.name; if ("radio" === props.type && null != internalInstance) { for (props = target; props.parentNode; ) props = props.parentNode; props = props.querySelectorAll( 'input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes( "" + internalInstance ) + '"][type="radio"]' ); for ( internalInstance = 0; internalInstance < props.length; internalInstance++ ) { var otherNode = props[internalInstance]; if (otherNode !== target && otherNode.form === target.form) { var otherProps = otherNode[internalPropsKey] || null; if (!otherProps) throw Error(formatProdErrorMessage(90)); updateInput( otherNode, otherProps.value, otherProps.defaultValue, otherProps.defaultValue, otherProps.checked, otherProps.defaultChecked, otherProps.type, otherProps.name ); } } for ( internalInstance = 0; internalInstance < props.length; internalInstance++ ) (otherNode = props[internalInstance]), otherNode.form === target.form && updateValueIfChanged(otherNode); } break a; case "textarea": updateTextarea(target, props.value, props.defaultValue); break a; case "select": (internalInstance = props.value), null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, !1); } }}var isInsideEventHandler = !1;function batchedUpdates$2(fn, a, b) { if (isInsideEventHandler) return fn(a, b); isInsideEventHandler = !0; try { var JSCompiler_inline_result = fn(a); return JSCompiler_inline_result; } finally { if ( ((isInsideEventHandler = !1), null !== restoreTarget || null !== restoreQueue) ) if ( (flushSyncWork$1(), restoreTarget && ((a = restoreTarget), (fn = restoreQueue), (restoreQueue = restoreTarget = null), restoreStateOfTarget(a), fn)) ) for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]); }}function getListener(inst, registrationName) { var stateNode = inst.stateNode; if (null === stateNode) return null; var props = stateNode[internalPropsKey] || null; if (null === props) return null; stateNode = props[registrationName]; a: switch (registrationName) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (props = !props.disabled) || ((inst = inst.type), (props = !( "button" === inst || "input" === inst || "select" === inst || "textarea" === inst ))); inst = !props; break a; default: inst = !1; } if (inst) return null; if (stateNode && "function" !== typeof stateNode) throw Error( formatProdErrorMessage(231, registrationName, typeof stateNode) ); return stateNode;}var canUseDOM = !( "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ), passiveBrowserEventsSupported = !1;if (canUseDOM) try { var options = {}; Object.defineProperty(options, "passive", { get: function () { passiveBrowserEventsSupported = !0; } }); window.addEventListener("test", options, options); window.removeEventListener("test", options, options); } catch (e) { passiveBrowserEventsSupported = !1; }var root = null, startText = null, fallbackText = null;function getData() { if (fallbackText) return fallbackText; var start, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length; for ( start = 0; start < startLength && startValue[start] === endValue[start]; start++ ); var minEnd = startLength - start; for ( end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++ ); return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));}function getEventCharCode(nativeEvent) { var keyCode = nativeEvent.keyCode; "charCode" in nativeEvent ? ((nativeEvent = nativeEvent.charCode), 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) : (nativeEvent = keyCode); 10 === nativeEvent && (nativeEvent = 13); return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;}function functionThatReturnsTrue() { return !0;}function functionThatReturnsFalse() { return !1;}function createSyntheticEvent(Interface) { function SyntheticBaseEvent( reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget ) { this._reactName = reactName; this._targetInst = targetInst; this.type = reactEventType; this.nativeEvent = nativeEvent; this.target = nativeEventTarget; this.currentTarget = null; for (var propName in Interface) Interface.hasOwnProperty(propName) && ((reactName = Interface[propName]), (this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : !1 === nativeEvent.returnValue ) ? functionThatReturnsTrue : functionThatReturnsFalse; this.isPropagationStopped = functionThatReturnsFalse; return this; } assign(SyntheticBaseEvent.prototype, { preventDefault: function () { this.defaultPrevented = !0; var event = this.nativeEvent; event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = !1), (this.isDefaultPrevented = functionThatReturnsTrue)); }, stopPropagation: function () { var event = this.nativeEvent; event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = !0), (this.isPropagationStopped = functionThatReturnsTrue)); }, persist: function () {}, isPersistent: functionThatReturnsTrue }); return SyntheticBaseEvent;}var EventInterface = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function (event) { return event.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: getEventModifierState, button: 0, buttons: 0, relatedTarget: function (event) { return void 0 === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget; }, movementX: function (event) { if ("movementX" in event) return event.movementX; event !== lastMouseEvent && (lastMouseEvent && "mousemove" === event.type ? ((lastMovementX = event.screenX - lastMouseEvent.screenX), (lastMovementY = event.screenY - lastMouseEvent.screenY)) : (lastMovementY = lastMovementX = 0), (lastMouseEvent = event)); return lastMovementX; }, movementY: function (event) { return "movementY" in event ? event.movementY : lastMovementY; } }), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, { clipboardData: function (event) { return "clipboardData" in event ? event.clipboardData : window.clipboardData; } }), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { data: 0 }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), normalizeKey = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, translateToKey = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, modifierKeyToProp = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };function modifierStateGetter(keyArg) { var nativeEvent = this.nativeEvent; return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1;}function getEventModifierState() { return modifierStateGetter;}var KeyboardEventInterface = assign({}, UIEventInterface, { key: function (nativeEvent) { if (nativeEvent.key) { var key = normalizeKey[nativeEvent.key] || nativeEvent.key; if ("Unidentified" !== key) return key; } return "keypress" === nativeEvent.type ? ((nativeEvent = getEventCharCode(nativeEvent)), 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type ? translateToKey[nativeEvent.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: getEventModifierState, charCode: function (event) { return "keypress" === event.type ? getEventCharCode(event) : 0; }, keyCode: function (event) { return "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; }, which: function (event) { return "keypress" === event.type ? getEventCharCode(event) : "keydown" === event.type || "keyup" === event.type ? event.keyCode : 0; } }), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), TouchEventInterface = assign({}, UIEventInterface, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: getEventModifierState }), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, { deltaX: function (event) { return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0; }, deltaY: function (event) { return "deltaY" in event ? event.deltaY : "wheelDeltaY" in event ? -event.wheelDeltaY : "wheelDelta" in event ? -event.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0 }), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, { newState: 0, oldState: 0 }), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [9, 13, 27, 32], canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, documentMode = null;canUseDOM && "documentMode" in document && (documentMode = document.documentMode);var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || (documentMode && 8 < documentMode && 11 >= documentMode)), SPACEBAR_CHAR = String.fromCharCode(32), hasSpaceKeypress = !1;function isFallbackCompositionEnd(domEventName, nativeEvent) { switch (domEventName) { case "keyup": return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); case "keydown": return 229 !== nativeEvent.keyCode; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; }}function getDataFromCustomEvent(nativeEvent) { nativeEvent = nativeEvent.detail; return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null;}var isComposing = !1;function getNativeBeforeInputChars(domEventName, nativeEvent) { switch (domEventName) { case "compositionend": return getDataFromCustomEvent(nativeEvent); case "keypress": if (32 !== nativeEvent.which) return null; hasSpaceKeypress = !0; return SPACEBAR_CHAR; case "textInput": return ( (domEventName = nativeEvent.data), domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName ); default: return null; }}function getFallbackBeforeInputChars(domEventName, nativeEvent) { if (isComposing) return "compositionend" === domEventName || (!canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent)) ? ((domEventName = getData()), (fallbackText = startText = root = null), (isComposing = !1), domEventName) : null; switch (domEventName) { case "paste": return null; case "keypress": if ( !(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || (nativeEvent.ctrlKey && nativeEvent.altKey) ) { if (nativeEvent.char && 1 < nativeEvent.char.length) return nativeEvent.char; if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); } return null; case "compositionend": return useFallbackCompositionData && "ko" !== nativeEvent.locale ? null : nativeEvent.data; default: return null; }}var supportedInputTypes = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0};function isTextInputElement(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? !0 : !1;}function createAndAccumulateChangeEvent( dispatchQueue, inst, nativeEvent, target) { restoreTarget ? restoreQueue ? restoreQueue.push(target) : (restoreQueue = [target]) : (restoreTarget = target); inst = accumulateTwoPhaseListeners(inst, "onChange"); 0 < inst.length && ((nativeEvent = new SyntheticEvent( "onChange", "change", null, nativeEvent, target )), dispatchQueue.push({ event: nativeEvent, listeners: inst }));}var activeElement$1 = null, activeElementInst$1 = null;function runEventInBatch(dispatchQueue) { processDispatchQueue(dispatchQueue, 0);}function getInstIfValueChanged(targetInst) { var targetNode = getNodeFromInstance(targetInst); if (updateValueIfChanged(targetNode)) return targetInst;}function getTargetInstForChangeEvent(domEventName, targetInst) { if ("change" === domEventName) return targetInst;}var isInputEventSupported = !1;if (canUseDOM) { var JSCompiler_inline_result$jscomp$330; if (canUseDOM) { var isSupported$jscomp$inline_473 = "oninput" in document; if (!isSupported$jscomp$inline_473) { var element$jscomp$inline_474 = document.createElement("div"); element$jscomp$inline_474.setAttribute("oninput", "return;"); isSupported$jscomp$inline_473 = "function" === typeof element$jscomp$inline_474.oninput; } JSCompiler_inline_result$jscomp$330 = isSupported$jscomp$inline_473; } else JSCompiler_inline_result$jscomp$330 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$330 && (!document.documentMode || 9 < document.documentMode);}function stopWatchingForValueChange() { activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), (activeElementInst$1 = activeElement$1 = null));}function handlePropertyChange(nativeEvent) { if ( "value" === nativeEvent.propertyName && getInstIfValueChanged(activeElementInst$1) ) { var dispatchQueue = []; createAndAccumulateChangeEvent( dispatchQueue, activeElementInst$1, nativeEvent, getEventTarget(nativeEvent) ); batchedUpdates$2(runEventInBatch, dispatchQueue); }}function handleEventsForInputEventPolyfill(domEventName, target, targetInst) { "focusin" === domEventName ? (stopWatchingForValueChange(), (activeElement$1 = target), (activeElementInst$1 = targetInst), activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : "focusout" === domEventName && stopWatchingForValueChange();}function getTargetInstForInputEventPolyfill(domEventName) { if ( "selectionchange" === domEventName || "keyup" === domEventName || "keydown" === domEventName ) return getInstIfValueChanged(activeElementInst$1);}function getTargetInstForClickEvent(domEventName, targetInst) { if ("click" === domEventName) return getInstIfValueChanged(targetInst);}function getTargetInstForInputOrChangeEvent(domEventName, targetInst) { if ("input" === domEventName || "change" === domEventName) return getInstIfValueChanged(targetInst);}function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);}var objectIs = "function" === typeof Object.is ? Object.is : is;function shallowEqual(objA, objB) { if (objectIs(objA, objB)) return !0; if ( "object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB ) return !1; var keysA = Object.keys(objA), keysB = Object.keys(objB); if (keysA.length !== keysB.length) return !1; for (keysB = 0; keysB < keysA.length; keysB++) { var currentKey = keysA[keysB]; if ( !hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey]) ) return !1; } return !0;}function getLeafNode(node) { for (; node && node.firstChild; ) node = node.firstChild; return node;}function getNodeForCharacterOffset(root, offset) { var node = getLeafNode(root); root = 0; for (var nodeEnd; node; ) { if (3 === node.nodeType) { nodeEnd = root + node.textContent.length; if (root <= offset && nodeEnd >= offset) return { node: node, offset: offset - root }; root = nodeEnd; } a: { for (; node; ) { if (node.nextSibling) { node = node.nextSibling; break a; } node = node.parentNode; } node = void 0; } node = getLeafNode(node); }}function containsNode(outerNode, innerNode) { return outerNode && innerNode ? outerNode === innerNode ? !0 : outerNode && 3 === outerNode.nodeType ? !1 : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : !1 : !1;}function getActiveElementDeep(containerInfo) { containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window; for ( var element = getActiveElement(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement;
) { try { var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; element = getActiveElement(containerInfo.document); } return element;}function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); return ( nodeName && (("input" === nodeName && ("text" === elem.type || "search" === elem.type || "tel" === elem.type || "url" === elem.type || "password" === elem.type)) || "textarea" === nodeName || "true" === elem.contentEditable) );}var skipSelectionChangeEvent = canUseDOM && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = !1;function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) { var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument; mouseDown || null == activeElement || activeElement !== getActiveElement(doc) || ((doc = activeElement), "selectionStart" in doc && hasSelectionCapabilities(doc) ? (doc = { start: doc.selectionStart, end: doc.selectionEnd }) : ((doc = ( (doc.ownerDocument && doc.ownerDocument.defaultView) || window ).getSelection()), (doc = { anchorNode: doc.anchorNode, anchorOffset: doc.anchorOffset, focusNode: doc.focusNode, focusOffset: doc.focusOffset })), (lastSelection && shallowEqual(lastSelection, doc)) || ((lastSelection = doc), (doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect")), 0 < doc.length && ((nativeEvent = new SyntheticEvent( "onSelect", "select", null, nativeEvent, nativeEventTarget )), dispatchQueue.push({ event: nativeEvent, listeners: doc }), (nativeEvent.target = activeElement))));}function makePrefixMap(styleProp, eventName) { var prefixes = {}; prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); prefixes["Webkit" + styleProp] = "webkit" + eventName; prefixes["Moz" + styleProp] = "moz" + eventName; return prefixes;}var vendorPrefixes = { animationend: makePrefixMap("Animation", "AnimationEnd"), animationiteration: makePrefixMap("Animation", "AnimationIteration"), animationstart: makePrefixMap("Animation", "AnimationStart"), transitionrun: makePrefixMap("Transition", "TransitionRun"), transitionstart: makePrefixMap("Transition", "TransitionStart"), transitioncancel: makePrefixMap("Transition", "TransitionCancel"), transitionend: makePrefixMap("Transition", "TransitionEnd") }, prefixedEventNames = {}, style = {};canUseDOM && ((style = document.createElement("div").style), "AnimationEvent" in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes.transitionend.transition);function getVendorPrefixedEventName(eventName) { if (prefixedEventNames[eventName]) return prefixedEventNames[eventName]; if (!vendorPrefixes[eventName]) return eventName; var prefixMap = vendorPrefixes[eventName], styleProp; for (styleProp in prefixMap) if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) return (prefixedEventNames[eventName] = prefixMap[styleProp]); return eventName;}var ANIMATION_END = getVendorPrefixedEventName("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), ANIMATION_START = getVendorPrefixedEventName("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), TRANSITION_START = getVendorPrefixedEventName("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName("transitionend"), topLevelEventsToReactNames = new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( " " );simpleEventPluginEvents.push("scrollEnd");function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]);}var reportGlobalError = "function" === typeof reportError ? reportError : function (error) { if ( "object" === typeof window && "function" === typeof window.ErrorEvent ) { var event = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error: error }); if (!window.dispatchEvent(event)) return; } else if ( "object" === typeof process && "function" === typeof process.emit ) { process.emit("uncaughtException", error); return; } console.error(error); }, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && !0, currentTrack = "Blocking";function setCurrentTrackFromLanes(lanes) { currentTrack = lanes & 63 ? "Blocking" : lanes & 64 ? "Gesture" : lanes & 4194176 ? "Transition" : lanes & 62914560 ? "Suspense" : lanes & 2080374784 ? "Idle" : "Other";}function logComponentTrigger(fiber, startTime, endTime, trigger) { supportsUserTiming && ((reusableComponentOptions.start = startTime), (reusableComponentOptions.end = endTime), (reusableComponentDevToolDetails.color = "warning"), (reusableComponentDevToolDetails.tooltipText = trigger), (reusableComponentDevToolDetails.properties = null), performance.measure(trigger, reusableComponentOptions));}function logComponentReappeared(fiber, startTime, endTime) { logComponentTrigger(fiber, startTime, endTime, "Reconnect");}var reusableComponentDevToolDetails = { color: "primary", properties: null, tooltipText: "", track: "Components \u269b" }, reusableComponentOptions = { start: -0, end: -0, detail: { devtools: reusableComponentDevToolDetails } };function logComponentRender(fiber, startTime, endTime, wasHydrated) { var name = getComponentNameFromFiber(fiber); if (null !== name && supportsUserTiming) { var alternate = fiber.alternate, selfTime = fiber.actualDuration; if (null === alternate || alternate.child !== fiber.child) for (fiber = fiber.child; null !== fiber; fiber = fiber.sibling) selfTime -= fiber.actualDuration; console.timeStamp( name, startTime, endTime, "Components \u269b", void 0, 0.5 > selfTime ? wasHydrated ? "tertiary-light" : "primary-light" : 10 > selfTime ? wasHydrated ? "tertiary" : "primary" : 100 > selfTime ? wasHydrated ? "tertiary-dark" : "primary-dark" : "error" ); }}function logComponentErrored(fiber, startTime, endTime) { supportsUserTiming && ((fiber = getComponentNameFromFiber(fiber)), null !== fiber && console.timeStamp( fiber, startTime, endTime, "Components \u269b", void 0, "error" ));}function logComponentEffect(fiber, startTime, endTime, selfTime, errors) { null !== errors ? supportsUserTiming && ((selfTime = getComponentNameFromFiber(fiber)), null !== selfTime && console.timeStamp( selfTime, startTime, endTime, "Components \u269b", void 0, "error" )) : ((fiber = getComponentNameFromFiber(fiber)), null !== fiber && supportsUserTiming && console.timeStamp( fiber, startTime, endTime, "Components \u269b", void 0, 1 > selfTime ? "secondary-light" : 100 > selfTime ? "secondary" : 500 > selfTime ? "secondary-dark" : "error" ));}function logSuspendedRenderPhase(startTime, endTime, lanes) { !supportsUserTiming || endTime <= startTime || console.timeStamp( "Prewarm", startTime, endTime, currentTrack, "Scheduler \u269b", (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark" );}function logSuspendedWithDelayPhase(startTime, endTime, lanes) { !supportsUserTiming || endTime <= startTime || console.timeStamp( "Suspended", startTime, endTime, currentTrack, "Scheduler \u269b", (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark" );}function logErroredRenderPhase(startTime, endTime) { !supportsUserTiming || endTime <= startTime || console.timeStamp( "Errored", startTime, endTime, currentTrack, "Scheduler \u269b", "error" );}function logCommitErrored(startTime, endTime) { !supportsUserTiming || endTime <= startTime || console.timeStamp( "Errored", startTime, endTime, currentTrack, "Scheduler \u269b", "error" );}var concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0;function finishQueueingConcurrentUpdates() { for ( var endIndex = concurrentQueuesIndex, i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0); i < endIndex;
) { var fiber = concurrentQueues[i]; concurrentQueues[i++] = null; var queue = concurrentQueues[i]; concurrentQueues[i++] = null; var update = concurrentQueues[i]; concurrentQueues[i++] = null; var lane = concurrentQueues[i]; concurrentQueues[i++] = null; if (null !== queue && null !== update) { var pending = queue.pending; null === pending ? (update.next = update) : ((update.next = pending.next), (pending.next = update)); queue.pending = update; } 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane); }}function enqueueUpdate$1(fiber, queue, update, lane) { concurrentQueues[concurrentQueuesIndex++] = fiber; concurrentQueues[concurrentQueuesIndex++] = queue; concurrentQueues[concurrentQueuesIndex++] = update; concurrentQueues[concurrentQueuesIndex++] = lane; concurrentlyUpdatedLanes |= lane; fiber.lanes |= lane; fiber = fiber.alternate; null !== fiber && (fiber.lanes |= lane);}function enqueueConcurrentHookUpdate(fiber, queue, update, lane) { enqueueUpdate$1(fiber, queue, update, lane); return getRootForUpdatedFiber(fiber);}function enqueueConcurrentRenderForLane(fiber, lane) { enqueueUpdate$1(fiber, null, null, lane); return getRootForUpdatedFiber(fiber);}function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) { sourceFiber.lanes |= lane; var alternate = sourceFiber.alternate; null !== alternate && (alternate.lanes |= lane); for (var isHidden = !1, parent = sourceFiber.return; null !== parent; ) (parent.childLanes |= lane), (alternate = parent.alternate), null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && ((sourceFiber = parent.stateNode), null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)), (sourceFiber = parent), (parent = parent.return); return 3 === sourceFiber.tag ? ((parent = sourceFiber.stateNode), isHidden && null !== update && ((isHidden = 31 - clz32(lane)), (sourceFiber = parent.hiddenUpdates), (alternate = sourceFiber[isHidden]), null === alternate ? (sourceFiber[isHidden] = [update]) : alternate.push(update), (update.lane = lane | 536870912)), parent) : null;}function getRootForUpdatedFiber(sourceFiber) { if (50 < nestedUpdateCount) throw ( ((nestedUpdateCount = 0), (rootWithNestedUpdates = null), Error(formatProdErrorMessage(185))) ); for (var parent = sourceFiber.return; null !== parent; ) (sourceFiber = parent), (parent = sourceFiber.return); return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;}var emptyContextObject = {};function FiberNode(tag, pendingProps, key, mode) { this.tag = tag; this.key = key; this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null; this.index = 0; this.refCleanup = this.ref = null; this.pendingProps = pendingProps; this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null; this.mode = mode; this.subtreeFlags = this.flags = 0; this.deletions = null; this.childLanes = this.lanes = 0; this.alternate = null; this.actualDuration = -0; this.actualStartTime = -1.1; this.treeBaseDuration = this.selfBaseDuration = -0;}function createFiberImplClass(tag, pendingProps, key, mode) { return new FiberNode(tag, pendingProps, key, mode);}function shouldConstruct(Component) { Component = Component.prototype; return !(!Component || !Component.isReactComponent);}function createWorkInProgress(current, pendingProps) { var workInProgress = current.alternate; null === workInProgress ? ((workInProgress = createFiberImplClass( current.tag, pendingProps, current.key, current.mode )), (workInProgress.elementType = current.elementType), (workInProgress.type = current.type), (workInProgress.stateNode = current.stateNode), (workInProgress.alternate = current), (current.alternate = workInProgress)) : ((workInProgress.pendingProps = pendingProps), (workInProgress.type = current.type), (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null), (workInProgress.actualDuration = -0), (workInProgress.actualStartTime = -1.1)); workInProgress.flags = current.flags & 65011712; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; workInProgress.memoizedProps = current.memoizedProps; workInProgress.memoizedState = current.memoizedState; workInProgress.updateQueue = current.updateQueue; pendingProps = current.dependencies; workInProgress.dependencies = null === pendingProps ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext }; workInProgress.sibling = current.sibling; workInProgress.index = current.index; workInProgress.ref = current.ref; workInProgress.refCleanup = current.refCleanup; workInProgress.selfBaseDuration = current.selfBaseDuration; workInProgress.treeBaseDuration = current.treeBaseDuration; return workInProgress;}function resetWorkInProgress(workInProgress, renderLanes) { workInProgress.flags &= 65011714; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), (workInProgress.lanes = renderLanes), (workInProgress.child = null), (workInProgress.subtreeFlags = 0), (workInProgress.memoizedProps = null), (workInProgress.memoizedState = null), (workInProgress.updateQueue = null), (workInProgress.dependencies = null), (workInProgress.stateNode = null), (workInProgress.selfBaseDuration = 0), (workInProgress.treeBaseDuration = 0)) : ((workInProgress.childLanes = current.childLanes), (workInProgress.lanes = current.lanes), (workInProgress.child = current.child), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null), (workInProgress.memoizedProps = current.memoizedProps), (workInProgress.memoizedState = current.memoizedState), (workInProgress.updateQueue = current.updateQueue), (workInProgress.type = current.type), (renderLanes = current.dependencies), (workInProgress.dependencies = null === renderLanes ? null : { lanes: renderLanes.lanes, firstContext: renderLanes.firstContext }), (workInProgress.selfBaseDuration = current.selfBaseDuration), (workInProgress.treeBaseDuration = current.treeBaseDuration)); return workInProgress;}function createFiberFromTypeAndProps( type, key, pendingProps, owner, mode, lanes) { var fiberTag = 0; owner = type; if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1); else if ("string" === typeof type) fiberTag = isHostHoistableType( type, pendingProps, contextStackCursor.current ) ? 26 : "html" === type || "head" === type || "body" === type ? 27 : 5; else a: switch (type) { case REACT_ACTIVITY_TYPE: return ( (type = createFiberImplClass(31, pendingProps, key, mode)), (type.elementType = REACT_ACTIVITY_TYPE), (type.lanes = lanes), type ); case REACT_FRAGMENT_TYPE: return createFiberFromFragment(pendingProps.children, mode, lanes, key); case REACT_STRICT_MODE_TYPE: fiberTag = 8; mode |= 24; break; case REACT_PROFILER_TYPE: return ( (type = createFiberImplClass(12, pendingProps, key, mode | 2)), (type.elementType = REACT_PROFILER_TYPE), (type.lanes = lanes), (type.stateNode = { effectDuration: 0, passiveEffectDuration: 0 }), type ); case REACT_SUSPENSE_TYPE: return ( (type = createFiberImplClass(13, pendingProps, key, mode)), (type.elementType = REACT_SUSPENSE_TYPE), (type.lanes = lanes), type ); case REACT_SUSPENSE_LIST_TYPE: return ( (type = createFiberImplClass(19, pendingProps, key, mode)), (type.elementType = REACT_SUSPENSE_LIST_TYPE), (type.lanes = lanes), type ); default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { case REACT_CONTEXT_TYPE: fiberTag = 10; break a; case REACT_CONSUMER_TYPE: fiberTag = 9; break a; case REACT_FORWARD_REF_TYPE: fiberTag = 11; break a; case REACT_MEMO_TYPE: fiberTag = 14; break a; case REACT_LAZY_TYPE: fiberTag = 16; owner = null; break a; } fiberTag = 29; pendingProps = Error( formatProdErrorMessage(130, null === type ? "null" : typeof type, "") ); owner = null; } key = createFiberImplClass(fiberTag, pendingProps, key, mode); key.elementType = type; key.type = owner; key.lanes = lanes; return key;}function createFiberFromFragment(elements, mode, lanes, key) { elements = createFiberImplClass(7, elements, key, mode); elements.lanes = lanes; return elements;}function createFiberFromText(content, mode, lanes) { content = createFiberImplClass(6, content, null, mode); content.lanes = lanes; return content;}function createFiberFromDehydratedFragment(dehydratedNode) { var fiber = createFiberImplClass(18, null, null, 0); fiber.stateNode = dehydratedNode; return fiber;}function createFiberFromPortal(portal, mode, lanes) { mode = createFiberImplClass( 4, null !== portal.children ? portal.children : [], portal.key, mode ); mode.lanes = lanes; mode.stateNode = { containerInfo: portal.containerInfo, pendingChildren: null, implementation: portal.implementation }; return mode;}var CapturedStacks = new WeakMap();function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); if (void 0 !== existing) return existing; source = { value: value, source: source, stack: getStackByFiberInDevAndProd(source) }; CapturedStacks.set(value, source); return source; } return { value: value, source: source, stack: getStackByFiberInDevAndProd(source) };}var forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "";function pushTreeFork(workInProgress, totalChildren) { forkStack[forkStackIndex++] = treeForkCount; forkStack[forkStackIndex++] = treeForkProvider; treeForkProvider = workInProgress; treeForkCount = totalChildren;}function pushTreeId(workInProgress, totalChildren, index) { idStack[idStackIndex++] = treeContextId; idStack[idStackIndex++] = treeContextOverflow; idStack[idStackIndex++] = treeContextProvider; treeContextProvider = workInProgress; var baseIdWithLeadingBit = treeContextId; workInProgress = treeContextOverflow; var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; baseIdWithLeadingBit &= ~(1 << baseLength); index += 1; var length = 32 - clz32(totalChildren) + baseLength; if (30 < length) { var numberOfOverflowBits = baseLength - (baseLength % 5); length = ( baseIdWithLeadingBit & ((1 << numberOfOverflowBits) - 1) ).toString(32); baseIdWithLeadingBit >>= numberOfOverflowBits; baseLength -= numberOfOverflowBits; treeContextId = (1 << (32 - clz32(totalChildren) + baseLength)) | (index << baseLength) | baseIdWithLeadingBit; treeContextOverflow = length + workInProgress; } else (treeContextId = (1 << length) | (index << baseLength) | baseIdWithLeadingBit), (treeContextOverflow = workInProgress);}function pushMaterializedTreeId(workInProgress) { null !== workInProgress.return && (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));}function popTreeContext(workInProgress) { for (; workInProgress === treeForkProvider; ) (treeForkProvider = forkStack[--forkStackIndex]), (forkStack[forkStackIndex] = null), (treeForkCount = forkStack[--forkStackIndex]), (forkStack[forkStackIndex] = null); for (; workInProgress === treeContextProvider; ) (treeContextProvider = idStack[--idStackIndex]), (idStack[idStackIndex] = null), (treeContextOverflow = idStack[--idStackIndex]), (idStack[idStackIndex] = null), (treeContextId = idStack[--idStackIndex]), (idStack[idStackIndex] = null);}function restoreSuspendedTreeContext(workInProgress, suspendedContext) { idStack[idStackIndex++] = treeContextId; idStack[idStackIndex++] = treeContextOverflow; idStack[idStackIndex++] = treeContextProvider; treeContextId = suspendedContext.id; treeContextOverflow = suspendedContext.overflow; treeContextProvider = workInProgress;}var hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519));function throwOnHydrationMismatch(fiber) { var error = Error( formatProdErrorMessage( 418, 1 < arguments.length && void 0 !== arguments[1] && arguments[1] ? "text" : "HTML", "" ) ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException;}function prepareToHydrateHostInstance(fiber) { var instance = fiber.stateNode, type = fiber.type, props = fiber.memoizedProps; instance[internalInstanceKey] = fiber; instance[internalPropsKey] = props; switch (type) { case "dialog": listenToNonDelegatedEvent("cancel", instance); listenToNonDelegatedEvent("close", instance); break; case "iframe": case "object": case "embed": listenToNonDelegatedEvent("load", instance); break; case "video": case "audio": for (type = 0; type < mediaEventTypes.length; type++) listenToNonDelegatedEvent(mediaEventTypes[type], instance); break; case "source": listenToNonDelegatedEvent("error", instance); break; case "img": case "image": case "link": listenToNonDelegatedEvent("error", instance); listenToNonDelegatedEvent("load", instance); break; case "details": listenToNonDelegatedEvent("toggle", instance); break; case "input": listenToNonDelegatedEvent("invalid", instance); initInput( instance, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name, !0 ); break; case "select": listenToNonDelegatedEvent("invalid", instance); break; case "textarea": listenToNonDelegatedEvent("invalid", instance), initTextarea(instance, props.value, props.defaultValue, props.children); } type = props.children; ("string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type) || instance.textContent === "" + type || !0 === props.suppressHydrationWarning || checkForUnmatchedText(instance.textContent, type) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), null != props.onScroll && listenToNonDelegatedEvent("scroll", instance), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", instance), null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); instance || throwOnHydrationMismatch(fiber, !0);}function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { case 5: case 31: case 13: rootOrSingletonContext = !1; return; case 27: case 3: rootOrSingletonContext = !0; return; default: hydrationParentFiber = hydrationParentFiber.return; }}function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; var tag = fiber.tag, JSCompiler_temp; if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber); } else if (31 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber); } else 27 === tag ? ((tag = nextHydratableInstance), isSingletonScope(fiber.type) ? ((fiber = previousHydratableOnEnteringScopedSingleton), (previousHydratableOnEnteringScopedSingleton = null), (nextHydratableInstance = fiber)) : (nextHydratableInstance = tag)) : (nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null); return !0;}function resetHydrationState() { nextHydratableInstance = hydrationParentFiber = null; isHydrating = !1;}function upgradeHydrationErrorsToRecoverable() { var queuedErrors = hydrationErrors; null !== queuedErrors && (null === workInProgressRootRecoverableErrors ? (workInProgressRootRecoverableErrors = queuedErrors) : workInProgressRootRecoverableErrors.push.apply( workInProgressRootRecoverableErrors, queuedErrors ), (hydrationErrors = null)); return queuedErrors;}function queueHydrationError(error) { null === hydrationErrors ? (hydrationErrors = [error]) : hydrationErrors.push(error);}var valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null;function pushProvider(providerFiber, context, nextValue) { push(valueCursor, context._currentValue); context._currentValue = nextValue;}function popProvider(context) { context._currentValue = valueCursor.current; pop(valueCursor);}function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { for (; null !== parent; ) { var alternate = parent.alternate; (parent.childLanes & renderLanes) !== renderLanes ? ((parent.childLanes |= renderLanes), null !== alternate && (alternate.childLanes |= renderLanes)) : null !== alternate && (alternate.childLanes & renderLanes) !== renderLanes && (alternate.childLanes |= renderLanes); if (parent === propagationRoot) break; parent = parent.return; }}function propagateContextChanges( workInProgress, contexts, renderLanes, forcePropagateEntireTree) { var fiber = workInProgress.child; null !== fiber && (fiber.return = workInProgress); for (; null !== fiber; ) { var list = fiber.dependencies; if (null !== list) { var nextFiber = fiber.child; list = list.firstContext; a: for (; null !== list; ) { var dependency = list; list = fiber; for (var i = 0; i < contexts.length; i++) if (dependency.context === contexts[i]) { list.lanes |= renderLanes; dependency = list.alternate; null !== dependency && (dependency.lanes |= renderLanes); scheduleContextWorkOnParentPath( list.return, renderLanes, workInProgress ); forcePropagateEntireTree || (nextFiber = null); break a; } list = dependency.next; } } else if (18 === fiber.tag) { nextFiber = fiber.return; if (null === nextFiber) throw Error(formatProdErrorMessage(341)); nextFiber.lanes |= renderLanes; list = nextFiber.alternate; null !== list && (list.lanes |= renderLanes); scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress); nextFiber = null; } else nextFiber = fiber.child; if (null !== nextFiber) nextFiber.return = fiber; else for (nextFiber = fiber; null !== nextFiber; ) { if (nextFiber === workInProgress) { nextFiber = null; break; } fiber = nextFiber.sibling; if (null !== fiber) { fiber.return = nextFiber.return; nextFiber = fiber; break; } nextFiber = nextFiber.return; } fiber = nextFiber; }}function propagateParentContextChanges( current, workInProgress, renderLanes, forcePropagateEntireTree) { current = null; for ( var parent = workInProgress, isInsidePropagationBailout = !1; null !== parent;
) { if (!isInsidePropagationBailout) if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); currentParent = currentParent.memoizedProps; if (null !== currentParent) { var context = parent.type; objectIs(parent.pendingProps.value, currentParent.value) || (null !== current ? current.push(context) : (current = [context])); } } else if (parent === hostTransitionProviderCursor.current) { currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); currentParent.memoizedState.memoizedState !== parent.memoizedState.memoizedState && (null !== current ? current.push(HostTransitionContext) : (current = [HostTransitionContext])); } parent = parent.return; } null !== current && propagateContextChanges( workInProgress, current, renderLanes, forcePropagateEntireTree ); workInProgress.flags |= 262144;}function checkIfContextChanged(currentDependencies) { for ( currentDependencies = currentDependencies.firstContext; null !== currentDependencies;
) { if ( !objectIs( currentDependencies.context._currentValue, currentDependencies.memoizedValue ) ) return !0; currentDependencies = currentDependencies.next; } return !1;}function prepareToReadContext(workInProgress) { currentlyRenderingFiber$1 = workInProgress; lastContextDependency = null; workInProgress = workInProgress.dependencies; null !== workInProgress && (workInProgress.firstContext = null);}function readContext(context) { return readContextForConsumer(currentlyRenderingFiber$1, context);}function readContextDuringReconciliation(consumer, context) { null === currentlyRenderingFiber$1 && prepareToReadContext(consumer); return readContextForConsumer(consumer, context);}function readContextForConsumer(consumer, context) { var value = context._currentValue; context = { context: context, memoizedValue: value, next: null }; if (null === lastContextDependency) { if (null === consumer) throw Error(formatProdErrorMessage(308)); lastContextDependency = context; consumer.dependencies = { lanes: 0, firstContext: context }; consumer.flags |= 524288; } else lastContextDependency = lastContextDependency.next = context; return value;}var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function () { var listeners = [], signal = (this.signal = { aborted: !1, addEventListener: function (type, listener) { listeners.push(listener); } }); this.abort = function () { signal.aborted = !0; listeners.forEach(function (listener) { return listener(); }); }; }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = { $$typeof: REACT_CONTEXT_TYPE, Consumer: null, Provider: null, _currentValue: null, _currentValue2: null, _threadCount: 0 };function createCache() { return { controller: new AbortControllerLocal(), data: new Map(), refCount: 0 };}function releaseCache(cache) { cache.refCount--; 0 === cache.refCount && scheduleCallback$2(NormalPriority, function () { cache.controller.abort(); });}var now = Scheduler.unstable_now, renderStartTime = -0, commitStartTime = -0, commitEndTime = -0, commitErrors = null, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, componentEffectErrors = null, componentEffectSpawnedUpdate = !1, blockingClampTime = -0, blockingUpdateTime = -1.1, blockingUpdateType = 0, blockingEventTime = -1.1, blockingEventType = null, blockingEventRepeatTime = -1.1, blockingSuspendedTime = -1.1, transitionClampTime = -0, transitionStartTime = -1.1, transitionUpdateTime = -1.1, transitionUpdateType = 0, transitionEventTime = -1.1, transitionEventType = null, transitionEventRepeatTime = -1.1, transitionSuspendedTime = -1.1, yieldReason = 0, yieldStartTime = -1.1;function startUpdateTimerByLane(lane) { if (0 !== (lane & 127)) { if (0 > blockingUpdateTime) { blockingUpdateTime = now(); 0 !== (executionContext & 6) && ((componentEffectSpawnedUpdate = !0), (blockingUpdateType = 1)); lane = resolveEventTimeStamp(); var newEventType$30 = resolveEventType(); lane !== blockingEventRepeatTime || newEventType$30 !== blockingEventType ? (blockingEventRepeatTime = -1.1) : null !== newEventType$30 && (blockingUpdateType = 1); blockingEventTime = lane; blockingEventType = newEventType$30; } } else if ( 0 !== (lane & 4194048) && 0 > transitionUpdateTime && ((transitionUpdateTime = now()), 0 > transitionStartTime) ) { lane = resolveEventTimeStamp(); newEventType$30 = resolveEventType(); if ( lane !== transitionEventRepeatTime || newEventType$30 !== transitionEventType ) transitionEventRepeatTime = -1.1; transitionEventTime = lane; transitionEventType = newEventType$30; }}function startHostActionTimer() { if (0 > blockingUpdateTime) { blockingUpdateTime = now(); 0 !== (executionContext & 6) && (blockingUpdateType = 1); var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType(); newEventTime !== blockingEventRepeatTime || newEventType !== blockingEventType ? (blockingEventRepeatTime = -1.1) : null !== newEventType && (blockingUpdateType = 1); blockingEventTime = newEventTime; blockingEventType = newEventType; } if ( 0 > transitionUpdateTime && ((transitionUpdateTime = now()), 0 > transitionStartTime) ) { newEventTime = resolveEventTimeStamp(); newEventType = resolveEventType(); if ( newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType ) transitionEventRepeatTime = -1.1; transitionEventTime = newEventTime; transitionEventType = newEventType; }}function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; return prevEffectDuration;}function popNestedEffectDurations(prevEffectDuration) { var elapsedTime = profilerEffectDuration; profilerEffectDuration = prevEffectDuration; return elapsedTime;}function bubbleNestedEffectDurations(prevEffectDuration) { var elapsedTime = profilerEffectDuration; profilerEffectDuration += prevEffectDuration; return elapsedTime;}function resetComponentEffectTimers() { componentEffectEndTime = componentEffectStartTime = -1.1;}function pushComponentEffectStart() { var prevEffectStart = componentEffectStartTime; componentEffectStartTime = -1.1; return prevEffectStart;}function popComponentEffectStart(prevEffectStart) { 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart);}function pushComponentEffectDuration() { var prevEffectDuration = componentEffectDuration; componentEffectDuration = -0; return prevEffectDuration;}function popComponentEffectDuration(prevEffectDuration) { 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration);}function pushComponentEffectErrors() { var prevErrors = componentEffectErrors; componentEffectErrors = null; return prevErrors;}function pushComponentEffectDidSpawnUpdate() { var prev = componentEffectSpawnedUpdate; componentEffectSpawnedUpdate = !1; return prev;}var currentUpdateIsNested = !1, nestedUpdateScheduled = !1;function startProfilerTimer(fiber) { profilerStartTime = now(); 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime);}function stopProfilerTimerIfRunningAndRecordDuration(fiber) { if (0 <= profilerStartTime) { var elapsedTime = now() - profilerStartTime; fiber.actualDuration += elapsedTime; fiber.selfBaseDuration = elapsedTime; profilerStartTime = -1; }}function stopProfilerTimerIfRunningAndRecordIncompleteDuration(fiber) { if (0 <= profilerStartTime) { var elapsedTime = now() - profilerStartTime; fiber.actualDuration += elapsedTime; profilerStartTime = -1; }}function recordEffectDuration() { if (0 <= profilerStartTime) { var endTime = now(), elapsedTime = endTime - profilerStartTime; profilerStartTime = -1; profilerEffectDuration += elapsedTime; componentEffectDuration += elapsedTime; componentEffectEndTime = endTime; }}function recordEffectError(errorInfo) { null === componentEffectErrors && (componentEffectErrors = []); componentEffectErrors.push(errorInfo); null === commitErrors && (commitErrors = []); commitErrors.push(errorInfo);}function startEffectTimer() { profilerStartTime = now(); 0 > componentEffectStartTime && (componentEffectStartTime = profilerStartTime);}function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling);}var currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null;function entangleAsyncAction(transition, thenable) { if (null === currentEntangledListeners) { var entangledListeners = (currentEntangledListeners = []); currentEntangledPendingCount = 0; currentEntangledLane = requestTransitionLane(); currentEntangledActionThenable = { status: "pending", value: void 0, then: function (resolve) { entangledListeners.push(resolve); } }; } currentEntangledPendingCount++; thenable.then(pingEngtangledActionScope, pingEngtangledActionScope); return thenable;}function pingEngtangledActionScope() { if ( 0 === --currentEntangledPendingCount && (-1 < transitionUpdateTime || (transitionStartTime = -1.1), null !== currentEntangledListeners) ) { null !== currentEntangledActionThenable && (currentEntangledActionThenable.status = "fulfilled"); var listeners = currentEntangledListeners; currentEntangledListeners = null; currentEntangledLane = 0; currentEntangledActionThenable = null; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(); }}function chainThenableValue(thenable, result) { var listeners = [], thenableWithOverride = { status: "pending", value: null, reason: null, then: function (resolve) { listeners.push(resolve); } }; thenable.then( function () { thenableWithOverride.status = "fulfilled"; thenableWithOverride.value = result; for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result); }, function (error) { thenableWithOverride.status = "rejected"; thenableWithOverride.reason = error; for (error = 0; error < listeners.length; error++) (0, listeners[error])(void 0); } ); return thenableWithOverride;}var prevOnStartTransitionFinish = ReactSharedInternals.S;ReactSharedInternals.S = function (transition, returnValue) { globalMostRecentTransitionTime = now$1(); if ( "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then ) { if (0 > transitionStartTime && 0 > transitionUpdateTime) { transitionStartTime = now(); var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType(); if ( newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType ) transitionEventRepeatTime = -1.1; transitionEventTime = newEventTime; transitionEventType = newEventType; } entangleAsyncAction(transition, returnValue); } null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);};var resumedCache = createCursor(null);function peekCacheFromPool() { var cacheResumedFromPreviousRender = resumedCache.current; return null !== cacheResumedFromPreviousRender ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache;}function pushTransition(offscreenWorkInProgress, prevCachePool) { null === prevCachePool ? push(resumedCache, resumedCache.current) : push(resumedCache, prevCachePool.pool);}function getSuspendedCache() { var cacheFromPool = peekCacheFromPool(); return null === cacheFromPool ? null : { parent: CacheContext._currentValue, pool: cacheFromPool };}var SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function () {} };function isThenableResolved(thenable) { thenable = thenable.status; return "fulfilled" === thenable || "rejected" === thenable;}function trackUsedThenable(thenableState, thenable, index) { index = thenableState[index]; void 0 === index ? thenableState.push(thenable) : index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index)); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw ( ((thenableState = thenable.reason), checkIfUseWrappedInAsyncCatch(thenableState), thenableState) ); default: if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1); else { thenableState = workInProgressRoot; if (null !== thenableState && 100 < thenableState.shellSuspendCounter) throw Error(formatProdErrorMessage(482)); thenableState = thenable; thenableState.status = "pending"; thenableState.then( function (fulfilledValue) { if ("pending" === thenable.status) { var fulfilledThenable = thenable; fulfilledThenable.status = "fulfilled"; fulfilledThenable.value = fulfilledValue; } }, function (error) { if ("pending" === thenable.status) { var rejectedThenable = thenable; rejectedThenable.status = "rejected"; rejectedThenable.reason = error; } } ); } switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw ( ((thenableState = thenable.reason), checkIfUseWrappedInAsyncCatch(thenableState), thenableState) ); } suspendedThenable = thenable; throw SuspenseException; }}function resolveLazy(lazyType) { try { var init = lazyType._init; return init(lazyType._payload); } catch (x) { if (null !== x && "object" === typeof x && "function" === typeof x.then) throw ((suspendedThenable = x), SuspenseException); throw x; }}var suspendedThenable = null;function getSuspendedThenable() { if (null === suspendedThenable) throw Error(formatProdErrorMessage(459)); var thenable = suspendedThenable; suspendedThenable = null; return thenable;}function checkIfUseWrappedInAsyncCatch(rejectedReason) { if ( rejectedReason === SuspenseException || rejectedReason === SuspenseActionException ) throw Error(formatProdErrorMessage(483));}var thenableState$1 = null, thenableIndexCounter$1 = 0;function unwrapThenable(thenable) { var index = thenableIndexCounter$1; thenableIndexCounter$1 += 1; null === thenableState$1 && (thenableState$1 = []); return trackUsedThenable(thenableState$1, thenable, index);}function coerceRef(workInProgress, element) { element = element.props.ref; workInProgress.ref = void 0 !== element ? element : null;}function throwOnInvalidObjectTypeImpl(returnFiber, newChild) { if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error(formatProdErrorMessage(525)); returnFiber = Object.prototype.toString.call(newChild); throw Error( formatProdErrorMessage( 31, "[object Object]" === returnFiber ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber ) );}function createChildReconciler(shouldTrackSideEffects) { function deleteChild(returnFiber, childToDelete) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } function deleteRemainingChildren(returnFiber, currentFirstChild) { if (!shouldTrackSideEffects) return null; for (; null !== currentFirstChild; ) deleteChild(returnFiber, currentFirstChild), (currentFirstChild = currentFirstChild.sibling); return null; } function mapRemainingChildren(currentFirstChild) { for (var existingChildren = new Map(); null !== currentFirstChild; ) null !== currentFirstChild.key ? existingChildren.set(currentFirstChild.key, currentFirstChild) : existingChildren.set(currentFirstChild.index, currentFirstChild), (currentFirstChild = currentFirstChild.sibling); return existingChildren; } function useFiber(fiber, pendingProps) { fiber = createWorkInProgress(fiber, pendingProps); fiber.index = 0; fiber.sibling = null; return fiber; } function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex ? ((newFiber.flags |= 67108866), lastPlacedIndex) : newIndex ); newFiber.flags |= 67108866; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && (newFiber.flags |= 67108866); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { if (null === current || 6 !== current.tag) return ( (current = createFiberFromText(textContent, returnFiber.mode, lanes)), (current.return = returnFiber), current ); current = useFiber(current, textContent); current.return = returnFiber; return current; } function updateElement(returnFiber, current, element, lanes) { var elementType = element.type; if (elementType === REACT_FRAGMENT_TYPE) return updateFragment( returnFiber, current, element.props.children, lanes, element.key ); if ( null !== current && (current.elementType === elementType || ("object" === typeof elementType && null !== elementType && elementType.$$typeof === REACT_LAZY_TYPE && resolveLazy(elementType) === current.type)) ) return ( (current = useFiber(current, element.props)), coerceRef(current, element), (current.return = returnFiber), current ); current = createFiberFromTypeAndProps( element.type, element.key, element.props, null, returnFiber.mode, lanes ); coerceRef(current, element); current.return = returnFiber; return current; } function updatePortal(returnFiber, current, portal, lanes) { if ( null === current || 4 !== current.tag || current.stateNode.containerInfo !== portal.containerInfo || current.stateNode.implementation !== portal.implementation ) return ( (current = createFiberFromPortal(portal, returnFiber.mode, lanes)), (current.return = returnFiber), current ); current = useFiber(current, portal.children || []); current.return = returnFiber; return current; } function updateFragment(returnFiber, current, fragment, lanes, key) { if (null === current || 7 !== current.tag) return ( (current = createFiberFromFragment( fragment, returnFiber.mode, lanes, key )), (current.return = returnFiber), current ); current = useFiber(current, fragment); current.return = returnFiber; return current; } function createChild(returnFiber, newChild, lanes) { if ( ("string" === typeof newChild && "" !== newChild) || "number" === typeof newChild || "bigint" === typeof newChild ) return ( (newChild = createFiberFromText( "" + newChild, returnFiber.mode, lanes )), (newChild.return = returnFiber), newChild ); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return ( (lanes = createFiberFromTypeAndProps( newChild.type, newChild.key, newChild.props, null, returnFiber.mode, lanes )), coerceRef(lanes, newChild), (lanes.return = returnFiber), lanes ); case REACT_PORTAL_TYPE: return ( (newChild = createFiberFromPortal( newChild, returnFiber.mode, lanes )), (newChild.return = returnFiber), newChild ); case REACT_LAZY_TYPE: return ( (newChild = resolveLazy(newChild)), createChild(returnFiber, newChild, lanes) ); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return ( (newChild = createFiberFromFragment( newChild, returnFiber.mode, lanes, null )), (newChild.return = returnFiber), newChild ); if ("function" === typeof newChild.then) return createChild(returnFiber, unwrapThenable(newChild), lanes); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return createChild( returnFiber, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectTypeImpl(returnFiber, newChild); } return null; } function updateSlot(returnFiber, oldFiber, newChild, lanes) { var key = null !== oldFiber ? oldFiber.key : null; if ( ("string" === typeof newChild && "" !== newChild) || "number" === typeof newChild || "bigint" === typeof newChild ) return null !== key ? null : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return newChild.key === key ? updateElement(returnFiber, oldFiber, newChild, lanes) : null; case REACT_PORTAL_TYPE: return newChild.key === key ? updatePortal(returnFiber, oldFiber, newChild, lanes) : null; case REACT_LAZY_TYPE: return ( (newChild = resolveLazy(newChild)), updateSlot(returnFiber, oldFiber, newChild, lanes) ); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return null !== key ? null : updateFragment(returnFiber, oldFiber, newChild, lanes, null); if ("function" === typeof newChild.then) return updateSlot( returnFiber, oldFiber, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateSlot( returnFiber, oldFiber, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectTypeImpl(returnFiber, newChild); } return null; } function updateFromMap( existingChildren, returnFiber, newIdx, newChild, lanes ) { if ( ("string" === typeof newChild && "" !== newChild) || "number" === typeof newChild || "bigint" === typeof newChild ) return ( (existingChildren = existingChildren.get(newIdx) || null), updateTextNode(returnFiber, existingChildren, "" + newChild, lanes) ); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: return ( (existingChildren = existingChildren.get( null === newChild.key ? newIdx : newChild.key ) || null), updateElement(returnFiber, existingChildren, newChild, lanes) ); case REACT_PORTAL_TYPE: return ( (existingChildren = existingChildren.get( null === newChild.key ? newIdx : newChild.key ) || null), updatePortal(returnFiber, existingChildren, newChild, lanes) ); case REACT_LAZY_TYPE: return ( (newChild = resolveLazy(newChild)), updateFromMap( existingChildren, returnFiber, newIdx, newChild, lanes ) ); } if (isArrayImpl(newChild) || getIteratorFn(newChild)) return ( (existingChildren = existingChildren.get(newIdx) || null), updateFragment(returnFiber, existingChildren, newChild, lanes, null) ); if ("function" === typeof newChild.then) return updateFromMap( existingChildren, returnFiber, newIdx, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return updateFromMap( existingChildren, returnFiber, newIdx, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectTypeImpl(returnFiber, newChild); } return null; } function reconcileChildrenArray( returnFiber, currentFirstChild, newChildren, lanes ) { for ( var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = (currentFirstChild = 0), nextOldFiber = null; null !== oldFiber && newIdx < newChildren.length; newIdx++ ) { oldFiber.index > newIdx ? ((nextOldFiber = oldFiber), (oldFiber = null)) : (nextOldFiber = oldFiber.sibling); var newFiber = updateSlot( returnFiber, oldFiber, newChildren[newIdx], lanes ); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? (resultingFirstChild = newFiber) : (previousNewFiber.sibling = newFiber); previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (newIdx === newChildren.length) return ( deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild ); if (null === oldFiber) { for (; newIdx < newChildren.length; newIdx++) (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)), null !== oldFiber && ((currentFirstChild = placeChild( oldFiber, currentFirstChild, newIdx )), null === previousNewFiber ? (resultingFirstChild = oldFiber) : (previousNewFiber.sibling = oldFiber), (previousNewFiber = oldFiber)); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for ( oldFiber = mapRemainingChildren(oldFiber); newIdx < newChildren.length; newIdx++ ) (nextOldFiber = updateFromMap( oldFiber, returnFiber, newIdx, newChildren[newIdx], lanes )), null !== nextOldFiber && (shouldTrackSideEffects && null !== nextOldFiber.alternate && oldFiber.delete( null === nextOldFiber.key ? newIdx : nextOldFiber.key ), (currentFirstChild = placeChild( nextOldFiber, currentFirstChild, newIdx )), null === previousNewFiber ? (resultingFirstChild = nextOldFiber) : (previousNewFiber.sibling = nextOldFiber), (previousNewFiber = nextOldFiber)); shouldTrackSideEffects && oldFiber.forEach(function (child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildrenIterator( returnFiber, currentFirstChild, newChildren, lanes ) { if (null == newChildren) throw Error(formatProdErrorMessage(151)); for ( var resultingFirstChild = null, previousNewFiber = null, oldFiber = currentFirstChild, newIdx = (currentFirstChild = 0), nextOldFiber = null, step = newChildren.next(); null !== oldFiber && !step.done; newIdx++, step = newChildren.next() ) { oldFiber.index > newIdx ? ((nextOldFiber = oldFiber), (oldFiber = null)) : (nextOldFiber = oldFiber.sibling); var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes); if (null === newFiber) { null === oldFiber && (oldFiber = nextOldFiber); break; } shouldTrackSideEffects && oldFiber && null === newFiber.alternate && deleteChild(returnFiber, oldFiber); currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); null === previousNewFiber ? (resultingFirstChild = newFiber) : (previousNewFiber.sibling = newFiber); previousNewFiber = newFiber; oldFiber = nextOldFiber; } if (step.done) return ( deleteRemainingChildren(returnFiber, oldFiber), isHydrating && pushTreeFork(returnFiber, newIdx), resultingFirstChild ); if (null === oldFiber) { for (; !step.done; newIdx++, step = newChildren.next()) (step = createChild(returnFiber, step.value, lanes)), null !== step && ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)), null === previousNewFiber ? (resultingFirstChild = step) : (previousNewFiber.sibling = step), (previousNewFiber = step)); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } for ( oldFiber = mapRemainingChildren(oldFiber); !step.done; newIdx++, step = newChildren.next() ) (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)), null !== step && (shouldTrackSideEffects && null !== step.alternate && oldFiber.delete(null === step.key ? newIdx : step.key), (currentFirstChild = placeChild(step, currentFirstChild, newIdx)), null === previousNewFiber ? (resultingFirstChild = step) : (previousNewFiber.sibling = step), (previousNewFiber = step)); shouldTrackSideEffects && oldFiber.forEach(function (child) { return deleteChild(returnFiber, child); }); isHydrating && pushTreeFork(returnFiber, newIdx); return resultingFirstChild; } function reconcileChildFibersImpl( returnFiber, currentFirstChild, newChild, lanes ) { "object" === typeof newChild && null !== newChild && newChild.type === REACT_FRAGMENT_TYPE && null === newChild.key && (newChild = newChild.props.children); if ("object" === typeof newChild && null !== newChild) { switch (newChild.$$typeof) { case REACT_ELEMENT_TYPE: a: { for (var key = newChild.key; null !== currentFirstChild; ) { if (currentFirstChild.key === key) { key = newChild.type; if (key === REACT_FRAGMENT_TYPE) { if (7 === currentFirstChild.tag) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber( currentFirstChild, newChild.props.children ); lanes.return = returnFiber; returnFiber = lanes; break a; } } else if ( currentFirstChild.elementType === key || ("object" === typeof key && null !== key && key.$$typeof === REACT_LAZY_TYPE && resolveLazy(key) === currentFirstChild.type) ) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber(currentFirstChild, newChild.props); coerceRef(lanes, newChild); lanes.return = returnFiber; returnFiber = lanes; break a; } deleteRemainingChildren(returnFiber, currentFirstChild); break; } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } newChild.type === REACT_FRAGMENT_TYPE ? ((lanes = createFiberFromFragment( newChild.props.children, returnFiber.mode, lanes, newChild.key )), (lanes.return = returnFiber), (returnFiber = lanes)) : ((lanes = createFiberFromTypeAndProps( newChild.type, newChild.key, newChild.props, null, returnFiber.mode, lanes )), coerceRef(lanes, newChild), (lanes.return = returnFiber), (returnFiber = lanes)); } return placeSingleChild(returnFiber); case REACT_PORTAL_TYPE: a: { for (key = newChild.key; null !== currentFirstChild; ) { if (currentFirstChild.key === key) if ( 4 === currentFirstChild.tag && currentFirstChild.stateNode.containerInfo === newChild.containerInfo && currentFirstChild.stateNode.implementation === newChild.implementation ) { deleteRemainingChildren( returnFiber, currentFirstChild.sibling ); lanes = useFiber(currentFirstChild, newChild.children || []); lanes.return = returnFiber; returnFiber = lanes; break a; } else { deleteRemainingChildren(returnFiber, currentFirstChild); break; } else deleteChild(returnFiber, currentFirstChild); currentFirstChild = currentFirstChild.sibling; } lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes); lanes.return = returnFiber; returnFiber = lanes; } return placeSingleChild(returnFiber); case REACT_LAZY_TYPE: return ( (newChild = resolveLazy(newChild)), reconcileChildFibersImpl( returnFiber, currentFirstChild, newChild, lanes ) ); } if (isArrayImpl(newChild)) return reconcileChildrenArray( returnFiber, currentFirstChild, newChild, lanes ); if (getIteratorFn(newChild)) { key = getIteratorFn(newChild); if ("function" !== typeof key) throw Error(formatProdErrorMessage(150)); newChild = key.call(newChild); return reconcileChildrenIterator( returnFiber, currentFirstChild, newChild, lanes ); } if ("function" === typeof newChild.then) return reconcileChildFibersImpl( returnFiber, currentFirstChild, unwrapThenable(newChild), lanes ); if (newChild.$$typeof === REACT_CONTEXT_TYPE) return reconcileChildFibersImpl( returnFiber, currentFirstChild, readContextDuringReconciliation(returnFiber, newChild), lanes ); throwOnInvalidObjectTypeImpl(returnFiber, newChild); } return ("string" === typeof newChild && "" !== newChild) || "number" === typeof newChild || "bigint" === typeof newChild ? ((newChild = "" + newChild), null !== currentFirstChild && 6 === currentFirstChild.tag ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), (lanes = useFiber(currentFirstChild, newChild)), (lanes.return = returnFiber), (returnFiber = lanes)) : (deleteRemainingChildren(returnFiber, currentFirstChild), (lanes = createFiberFromText(newChild, returnFiber.mode, lanes)), (lanes.return = returnFiber), (returnFiber = lanes)), placeSingleChild(returnFiber)) : deleteRemainingChildren(returnFiber, currentFirstChild); } return function (returnFiber, currentFirstChild, newChild, lanes) { try { thenableIndexCounter$1 = 0; var firstChildFiber = reconcileChildFibersImpl( returnFiber, currentFirstChild, newChild, lanes ); thenableState$1 = null; return firstChildFiber; } catch (x) { if (x === SuspenseException || x === SuspenseActionException) throw x; var fiber = createFiberImplClass(29, x, null, returnFiber.mode); fiber.lanes = lanes; fiber.return = returnFiber; return fiber; } finally { } };}var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), hasForceUpdate = !1;function initializeUpdateQueue(fiber) { fiber.updateQueue = { baseState: fiber.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, lanes: 0, hiddenCallbacks: null }, callbacks: null };}function cloneUpdateQueue(current, workInProgress) { current = current.updateQueue; workInProgress.updateQueue === current && (workInProgress.updateQueue = { baseState: current.baseState, firstBaseUpdate: current.firstBaseUpdate, lastBaseUpdate: current.lastBaseUpdate, shared: current.shared, callbacks: null });}function createUpdate(lane) { return { lane: lane, tag: 0, payload: null, callback: null, next: null };}function enqueueUpdate(fiber, update, lane) { var updateQueue = fiber.updateQueue; if (null === updateQueue) return null; updateQueue = updateQueue.shared; if (0 !== (executionContext & 2)) { var pending = updateQueue.pending; null === pending ? (update.next = update) : ((update.next = pending.next), (pending.next = update)); updateQueue.pending = update; update = getRootForUpdatedFiber(fiber); markUpdateLaneFromFiberToRoot(fiber, null, lane); return update; } enqueueUpdate$1(fiber, updateQueue, update, lane); return getRootForUpdatedFiber(fiber);}function entangleTransitions(root, fiber, lane) { fiber = fiber.updateQueue; if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) { var queueLanes = fiber.lanes; queueLanes &= root.pendingLanes; lane |= queueLanes; fiber.lanes = lane; markRootEntangled(root, lane); }}function enqueueCapturedUpdate(workInProgress, capturedUpdate) { var queue = workInProgress.updateQueue, current = workInProgress.alternate; if ( null !== current && ((current = current.updateQueue), queue === current) ) { var newFirst = null, newLast = null; queue = queue.firstBaseUpdate; if (null !== queue) { do { var clone = { lane: queue.lane, tag: queue.tag, payload: queue.payload, callback: null, next: null }; null === newLast ? (newFirst = newLast = clone) : (newLast = newLast.next = clone); queue = queue.next; } while (null !== queue); null === newLast ? (newFirst = newLast = capturedUpdate) : (newLast = newLast.next = capturedUpdate); } else newFirst = newLast = capturedUpdate; queue = { baseState: current.baseState, firstBaseUpdate: newFirst, lastBaseUpdate: newLast, shared: current.shared, callbacks: current.callbacks }; workInProgress.updateQueue = queue; return; } workInProgress = queue.lastBaseUpdate; null === workInProgress ? (queue.firstBaseUpdate = capturedUpdate) : (workInProgress.next = capturedUpdate); queue.lastBaseUpdate = capturedUpdate;}var didReadFromEntangledAsyncAction = !1;function suspendIfUpdateReadFromEntangledAsyncAction() { if (didReadFromEntangledAsyncAction) { var entangledActionThenable = currentEntangledActionThenable; if (null !== entangledActionThenable) throw entangledActionThenable; }}function processUpdateQueue( workInProgress$jscomp$0, props, instance$jscomp$0, renderLanes) { didReadFromEntangledAsyncAction = !1; var queue = workInProgress$jscomp$0.updateQueue; hasForceUpdate = !1; var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending; if (null !== pendingQueue) { queue.shared.pending = null; var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next; lastPendingUpdate.next = null; null === lastBaseUpdate ? (firstBaseUpdate = firstPendingUpdate) : (lastBaseUpdate.next = firstPendingUpdate); lastBaseUpdate = lastPendingUpdate; var current = workInProgress$jscomp$0.alternate; null !== current && ((current = current.updateQueue), (pendingQueue = current.lastBaseUpdate), pendingQueue !== lastBaseUpdate && (null === pendingQueue ? (current.firstBaseUpdate = firstPendingUpdate) : (pendingQueue.next = firstPendingUpdate), (current.lastBaseUpdate = lastPendingUpdate))); } if (null !== firstBaseUpdate) { var newState = queue.baseState; lastBaseUpdate = 0; current = firstPendingUpdate = lastPendingUpdate = null; pendingQueue = firstBaseUpdate; do { var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane; if ( isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane ) { 0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0); null !== current && (current = current.next = { lane: 0, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: null, next: null }); a: { var workInProgress = workInProgress$jscomp$0, update = pendingQueue; updateLane = props; var instance = instance$jscomp$0; switch (update.tag) { case 1: workInProgress = update.payload; if ("function" === typeof workInProgress) { newState = workInProgress.call(instance, newState, updateLane); break a; } newState = workInProgress; break a; case 3: workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = "function" === typeof workInProgress ? workInProgress.call(instance, newState, updateLane) : workInProgress; if (null === updateLane || void 0 === updateLane) break a; newState = assign({}, newState, updateLane); break a; case 2: hasForceUpdate = !0; } } updateLane = pendingQueue.callback; null !== updateLane && ((workInProgress$jscomp$0.flags |= 64), isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) : isHiddenUpdate.push(updateLane)); } else (isHiddenUpdate = { lane: updateLane, tag: pendingQueue.tag, payload: pendingQueue.payload, callback: pendingQueue.callback, next: null }), null === current ? ((firstPendingUpdate = current = isHiddenUpdate), (lastPendingUpdate = newState)) : (current = current.next = isHiddenUpdate), (lastBaseUpdate |= updateLane); pendingQueue = pendingQueue.next; if (null === pendingQueue) if (((pendingQueue = queue.shared.pending), null === pendingQueue)) break; else (isHiddenUpdate = pendingQueue), (pendingQueue = isHiddenUpdate.next), (isHiddenUpdate.next = null), (queue.lastBaseUpdate = isHiddenUpdate), (queue.shared.pending = null); } while (1); null === current && (lastPendingUpdate = newState); queue.baseState = lastPendingUpdate; queue.firstBaseUpdate = firstPendingUpdate; queue.lastBaseUpdate = current; null === firstBaseUpdate && (queue.shared.lanes = 0); workInProgressRootSkippedLanes |= lastBaseUpdate; workInProgress$jscomp$0.lanes = lastBaseUpdate; workInProgress$jscomp$0.memoizedState = newState; }}function callCallback(callback, context) { if ("function" !== typeof callback) throw Error(formatProdErrorMessage(191, callback)); callback.call(context);}function commitCallbacks(updateQueue, context) { var callbacks = updateQueue.callbacks; if (null !== callbacks) for ( updateQueue.callbacks = null, updateQueue = 0; updateQueue < callbacks.length; updateQueue++ ) callCallback(callbacks[updateQueue], context);}var currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0);function pushHiddenContext(fiber, context) { fiber = entangledRenderLanes; push(prevEntangledRenderLanesCursor, fiber); push(currentTreeHiddenStackCursor, context); entangledRenderLanes = fiber | context.baseLanes;}function reuseHiddenContextOnStack() { push(prevEntangledRenderLanesCursor, entangledRenderLanes); push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current);}function popHiddenContext() { entangledRenderLanes = prevEntangledRenderLanesCursor.current; pop(currentTreeHiddenStackCursor); pop(prevEntangledRenderLanesCursor);}var suspenseHandlerStackCursor = createCursor(null), shellBoundary = null;function pushPrimaryTreeSuspenseHandler(handler) { var current = handler.alternate; push(suspenseStackCursor, suspenseStackCursor.current & 1); push(suspenseHandlerStackCursor, handler); null === shellBoundary && (null === current || null !== currentTreeHiddenStackCursor.current ? (shellBoundary = handler) : null !== current.memoizedState && (shellBoundary = handler));}function pushDehydratedActivitySuspenseHandler(fiber) { push(suspenseStackCursor, suspenseStackCursor.current); push(suspenseHandlerStackCursor, fiber); null === shellBoundary && (shellBoundary = fiber);}function pushOffscreenSuspenseHandler(fiber) { 22 === fiber.tag ? (push(suspenseStackCursor, suspenseStackCursor.current), push(suspenseHandlerStackCursor, fiber), null === shellBoundary && (shellBoundary = fiber)) : reuseSuspenseHandlerOnStack(fiber);}function reuseSuspenseHandlerOnStack() { push(suspenseStackCursor, suspenseStackCursor.current); push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);}function popSuspenseHandler(fiber) { pop(suspenseHandlerStackCursor); shellBoundary === fiber && (shellBoundary = null); pop(suspenseStackCursor);}var suspenseStackCursor = createCursor(0);function findFirstSuspended(row) { for (var node = row; null !== node; ) { if (13 === node.tag) { var state = node.memoizedState; if ( null !== state && ((state = state.dehydrated), null === state || isSuspenseInstancePending(state) || isSuspenseInstanceFallback(state)) ) return node; } else if ( 19 === node.tag && ("forwards" === node.memoizedProps.revealOrder || "backwards" === node.memoizedProps.revealOrder || "unstable_legacy-backwards" === node.memoizedProps.revealOrder || "together" === node.memoizedProps.revealOrder) ) { if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; continue; } if (node === row) break; for (; null === node.sibling; ) { if (null === node.return || node.return === row) return null; node = node.return; } node.sibling.return = node.return; node = node.sibling; } return null;}var renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0;function throwInvalidHookError() { throw Error(formatProdErrorMessage(321));}function areHookInputsEqual(nextDeps, prevDeps) { if (null === prevDeps) return !1; for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) if (!objectIs(nextDeps[i], prevDeps[i])) return !1; return !0;}function renderWithHooks( current, workInProgress, Component, props, secondArg, nextRenderLanes) { renderLanes = nextRenderLanes; currentlyRenderingFiber = workInProgress; workInProgress.memoizedState = null; workInProgress.updateQueue = null; workInProgress.lanes = 0; ReactSharedInternals.H = null === current || null === current.memoizedState ? HooksDispatcherOnMount : HooksDispatcherOnUpdate; shouldDoubleInvokeUserFnsInHooksDEV = !1; nextRenderLanes = Component(props, secondArg); shouldDoubleInvokeUserFnsInHooksDEV = !1; didScheduleRenderPhaseUpdateDuringThisPass && (nextRenderLanes = renderWithHooksAgain( workInProgress, Component, props, secondArg )); finishRenderingHooks(current); return nextRenderLanes;}function finishRenderingHooks(current) { ReactSharedInternals.H = ContextOnlyDispatcher; var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next; renderLanes = 0; workInProgressHook = currentHook = currentlyRenderingFiber = null; didScheduleRenderPhaseUpdate = !1; thenableIndexCounter = 0; thenableState = null; if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300)); null === current || didReceiveUpdate || ((current = current.dependencies), null !== current && checkIfContextChanged(current) && (didReceiveUpdate = !0));}function renderWithHooksAgain(workInProgress, Component, props, secondArg) { currentlyRenderingFiber = workInProgress; var numberOfReRenders = 0; do { didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null); thenableIndexCounter = 0; didScheduleRenderPhaseUpdateDuringThisPass = !1; if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301)); numberOfReRenders += 1; workInProgressHook = currentHook = null; if (null != workInProgress.updateQueue) { var children = workInProgress.updateQueue; children.lastEffect = null; children.events = null; children.stores = null; null != children.memoCache && (children.memoCache.index = 0); } ReactSharedInternals.H = HooksDispatcherOnRerender; children = Component(props, secondArg); } while (didScheduleRenderPhaseUpdateDuringThisPass); return children;}function TransitionAwareHostComponent() { var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0]; maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable; dispatcher = dispatcher.useState()[0]; (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024); return maybeThenable;}function checkDidRenderIdHook() { var didRenderIdHook = 0 !== localIdCounter; localIdCounter = 0; return didRenderIdHook;}function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; workInProgress.flags &= -2053; current.lanes &= ~lanes;}function resetHooksOnUnwind(workInProgress) { if (didScheduleRenderPhaseUpdate) { for ( workInProgress = workInProgress.memoizedState; null !== workInProgress;
) { var queue = workInProgress.queue; null !== queue && (queue.pending = null); workInProgress = workInProgress.next; } didScheduleRenderPhaseUpdate = !1; } renderLanes = 0; workInProgressHook = currentHook = currentlyRenderingFiber = null; didScheduleRenderPhaseUpdateDuringThisPass = !1; thenableIndexCounter = localIdCounter = 0; thenableState = null;}function mountWorkInProgressHook() { var hook = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; null === workInProgressHook ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook) : (workInProgressHook = workInProgressHook.next = hook); return workInProgressHook;}function updateWorkInProgressHook() { if (null === currentHook) { var nextCurrentHook = currentlyRenderingFiber.alternate; nextCurrentHook = null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; } else nextCurrentHook = currentHook.next; var nextWorkInProgressHook = null === workInProgressHook ? currentlyRenderingFiber.memoizedState : workInProgressHook.next; if (null !== nextWorkInProgressHook) (workInProgressHook = nextWorkInProgressHook), (currentHook = nextCurrentHook); else { if (null === nextCurrentHook) { if (null === currentlyRenderingFiber.alternate) throw Error(formatProdErrorMessage(467)); throw Error(formatProdErrorMessage(310)); } currentHook = nextCurrentHook; nextCurrentHook = { memoizedState: currentHook.memoizedState, baseState: currentHook.baseState, baseQueue: currentHook.baseQueue, queue: currentHook.queue, next: null }; null === workInProgressHook ? (currentlyRenderingFiber.memoizedState = workInProgressHook = nextCurrentHook) : (workInProgressHook = workInProgressHook.next = nextCurrentHook); } return workInProgressHook;}function createFunctionComponentUpdateQueue() { return { lastEffect: null, events: null, stores: null, memoCache: null };}function useThenable(thenable) { var index = thenableIndexCounter; thenableIndexCounter += 1; null === thenableState && (thenableState = []); thenable = trackUsedThenable(thenableState, thenable, index); index = currentlyRenderingFiber; null === (null === workInProgressHook ? index.memoizedState : workInProgressHook.next) && ((index = index.alternate), (ReactSharedInternals.H = null === index || null === index.memoizedState ? HooksDispatcherOnMount : HooksDispatcherOnUpdate)); return thenable;}function use(usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return useThenable(usable); if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); } throw Error(formatProdErrorMessage(438, String(usable)));}function useMemoCache(size) { var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue; null !== updateQueue && (memoCache = updateQueue.memoCache); if (null == memoCache) { var current = currentlyRenderingFiber.alternate; null !== current && ((current = current.updateQueue), null !== current && ((current = current.memoCache), null != current && (memoCache = { data: current.data.map(function (array) { return array.slice(); }), index: 0 }))); } null == memoCache && (memoCache = { data: [], index: 0 }); null === updateQueue && ((updateQueue = createFunctionComponentUpdateQueue()), (currentlyRenderingFiber.updateQueue = updateQueue)); updateQueue.memoCache = memoCache; updateQueue = memoCache.data[memoCache.index]; if (void 0 === updateQueue) for ( updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++ ) updateQueue[current] = REACT_MEMO_CACHE_SENTINEL; memoCache.index++; return updateQueue;}function basicStateReducer(state, action) { return "function" === typeof action ? action(state) : action;}function updateReducer(reducer) { var hook = updateWorkInProgressHook(); return updateReducerImpl(hook, currentHook, reducer);}function updateReducerImpl(hook, current, reducer) { var queue = hook.queue; if (null === queue) throw Error(formatProdErrorMessage(311)); queue.lastRenderedReducer = reducer; var baseQueue = hook.baseQueue, pendingQueue = queue.pending; if (null !== pendingQueue) { if (null !== baseQueue) { var baseFirst = baseQueue.next; baseQueue.next = pendingQueue.next; pendingQueue.next = baseFirst; } current.baseQueue = baseQueue = pendingQueue; queue.pending = null; } pendingQueue = hook.baseState; if (null === baseQueue) hook.memoizedState = pendingQueue; else { current = baseQueue.next; var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction$69 = !1; do { var updateLane = update.lane & -536870913; if ( updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane ) { var revertLane = update.revertLane; if (0 === revertLane) null !== newBaseQueueLast && (newBaseQueueLast = newBaseQueueLast.next = { lane: 0, revertLane: 0, gesture: null, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction$69 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction$69 = !0); continue; } else (updateLane = { lane: 0, revertLane: update.revertLane, gesture: null, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }), null === newBaseQueueLast ? ((newBaseQueueFirst = newBaseQueueLast = updateLane), (baseFirst = pendingQueue)) : (newBaseQueueLast = newBaseQueueLast.next = updateLane), (currentlyRenderingFiber.lanes |= revertLane), (workInProgressRootSkippedLanes |= revertLane); updateLane = update.action; shouldDoubleInvokeUserFnsInHooksDEV && reducer(pendingQueue, updateLane); pendingQueue = update.hasEagerState ? update.eagerState : reducer(pendingQueue, updateLane); } else (revertLane = { lane: updateLane, revertLane: update.revertLane, gesture: update.gesture, action: update.action, hasEagerState: update.hasEagerState, eagerState: update.eagerState, next: null }), null === newBaseQueueLast ? ((newBaseQueueFirst = newBaseQueueLast = revertLane), (baseFirst = pendingQueue)) : (newBaseQueueLast = newBaseQueueLast.next = revertLane), (currentlyRenderingFiber.lanes |= updateLane), (workInProgressRootSkippedLanes |= updateLane); update = update.next; } while (null !== update && update !== current); null === newBaseQueueLast ? (baseFirst = pendingQueue) : (newBaseQueueLast.next = newBaseQueueFirst); if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), didReadFromEntangledAsyncAction$69 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; hook.memoizedState = pendingQueue; hook.baseState = baseFirst; hook.baseQueue = newBaseQueueLast; queue.lastRenderedState = pendingQueue; } null === baseQueue && (queue.lanes = 0); return [hook.memoizedState, queue.dispatch];}function rerenderReducer(reducer) { var hook = updateWorkInProgressHook(), queue = hook.queue; if (null === queue) throw Error(formatProdErrorMessage(311)); queue.lastRenderedReducer = reducer; var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState; if (null !== lastRenderPhaseUpdate) { queue.pending = null; var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next); do (newState = reducer(newState, update.action)), (update = update.next); while (update !== lastRenderPhaseUpdate); objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0); hook.memoizedState = newState; null === hook.baseQueue && (hook.baseState = newState); queue.lastRenderedState = newState; } return [newState, dispatch];}function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating; if (isHydrating$jscomp$0) { if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407)); getServerSnapshot = getServerSnapshot(); } else getServerSnapshot = getSnapshot(); var snapshotChanged = !objectIs( (currentHook || hook).memoizedState, getServerSnapshot ); snapshotChanged && ((hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0)); hook = hook.queue; updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [ subscribe ]); if ( hook.getSnapshot !== getSnapshot || snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { fiber.flags |= 2048; pushSimpleEffect( 9, { destroy: void 0 }, updateStoreInstance.bind( null, fiber, hook, getServerSnapshot, getSnapshot ), null ); if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349)); isHydrating$jscomp$0 || 0 !== (renderLanes & 127) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); } return getServerSnapshot;}function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot ? ((getSnapshot = createFunctionComponentUpdateQueue()), (currentlyRenderingFiber.updateQueue = getSnapshot), (getSnapshot.stores = [fiber])) : ((renderedSnapshot = getSnapshot.stores), null === renderedSnapshot ? (getSnapshot.stores = [fiber]) : renderedSnapshot.push(fiber));}function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) { inst.value = nextSnapshot; inst.getSnapshot = getSnapshot; checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);}function subscribeToStore(fiber, inst, subscribe) { return subscribe(function () { checkIfSnapshotChanged(inst) && (startUpdateTimerByLane(2), forceStoreRerender(fiber)); });}function checkIfSnapshotChanged(inst) { var latestGetSnapshot = inst.getSnapshot; inst = inst.value; try { var nextValue = latestGetSnapshot(); return !objectIs(inst, nextValue); } catch (error) { return !0; }}function forceStoreRerender(fiber) { var root = enqueueConcurrentRenderForLane(fiber, 2); null !== root && scheduleUpdateOnFiber(root, fiber, 2);}function mountStateImpl(initialState) { var hook = mountWorkInProgressHook(); if ("function" === typeof initialState) { var initialStateInitializer = initialState; initialState = initialStateInitializer(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { initialStateInitializer(); } finally { setIsStrictModeForDevtools(!1); } } } hook.memoizedState = hook.baseState = initialState; hook.queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialState }; return hook;}function updateOptimisticImpl(hook, current, passthrough, reducer) { hook.baseState = passthrough; return updateReducerImpl( hook, currentHook, "function" === typeof reducer ? reducer : basicStateReducer );}function dispatchActionState( fiber, actionQueue, setPendingState, setState, payload) { if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485)); fiber = actionQueue.action; if (null !== fiber) { var actionNode = { payload: payload, action: fiber, next: null, isTransition: !0, status: "pending", value: null, reason: null, listeners: [], then: function (listener) { actionNode.listeners.push(listener); } }; null !== ReactSharedInternals.T ? setPendingState(!0) : (actionNode.isTransition = !1); setState(actionNode); setPendingState = actionQueue.pending; null === setPendingState ? ((actionNode.next = actionQueue.pending = actionNode), runActionStateAction(actionQueue, actionNode)) : ((actionNode.next = setPendingState.next), (actionQueue.pending = setPendingState.next = actionNode)); }}function runActionStateAction(actionQueue, node) { var action = node.action, payload = node.payload, prevState = actionQueue.state; if (node.isTransition) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; try { var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); handleActionReturnValue(actionQueue, node, returnValue); } catch (error) { onActionError(actionQueue, node, error); } finally { null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), (ReactSharedInternals.T = prevTransition); } } else try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); } catch (error$75) { onActionError(actionQueue, node, error$75); }}function handleActionReturnValue(actionQueue, node, returnValue) { null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then ? returnValue.then( function (nextState) { onActionSuccess(actionQueue, node, nextState); }, function (error) { return onActionError(actionQueue, node, error); } ) : onActionSuccess(actionQueue, node, returnValue);}function onActionSuccess(actionQueue, actionNode, nextState) { actionNode.status = "fulfilled"; actionNode.value = nextState; notifyActionListeners(actionNode); actionQueue.state = nextState; actionNode = actionQueue.pending; null !== actionNode && ((nextState = actionNode.next), nextState === actionNode ? (actionQueue.pending = null) : ((nextState = nextState.next), (actionNode.next = nextState), runActionStateAction(actionQueue, nextState)));}function onActionError(actionQueue, actionNode, error) { var last = actionQueue.pending; actionQueue.pending = null; if (null !== last) { last = last.next; do (actionNode.status = "rejected"), (actionNode.reason = error), notifyActionListeners(actionNode), (actionNode = actionNode.next); while (actionNode !== last); } actionQueue.action = null;}function notifyActionListeners(actionNode) { actionNode = actionNode.listeners; for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();}function actionStateReducer(oldState, newState) { return newState;}function mountActionState(action, initialStateProp) { if (isHydrating) { var ssrFormState = workInProgressRoot.formState; if (null !== ssrFormState) { a: { var JSCompiler_inline_result = currentlyRenderingFiber; if (isHydrating) { if (nextHydratableInstance) { b: { var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance; for ( var inRootOrSingleton = rootOrSingletonContext; 8 !== JSCompiler_inline_result$jscomp$0.nodeType;
) { if (!inRootOrSingleton) { JSCompiler_inline_result$jscomp$0 = null; break b; } JSCompiler_inline_result$jscomp$0 = getNextHydratable( JSCompiler_inline_result$jscomp$0.nextSibling ); if (null === JSCompiler_inline_result$jscomp$0) { JSCompiler_inline_result$jscomp$0 = null; break b; } } inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data; JSCompiler_inline_result$jscomp$0 = "F!" === inRootOrSingleton || "F" === inRootOrSingleton ? JSCompiler_inline_result$jscomp$0 : null; } if (JSCompiler_inline_result$jscomp$0) { nextHydratableInstance = getNextHydratable( JSCompiler_inline_result$jscomp$0.nextSibling ); JSCompiler_inline_result = "F!" === JSCompiler_inline_result$jscomp$0.data; break a; } } throwOnHydrationMismatch(JSCompiler_inline_result); } JSCompiler_inline_result = !1; } JSCompiler_inline_result && (initialStateProp = ssrFormState[0]); } } ssrFormState = mountWorkInProgressHook(); ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; JSCompiler_inline_result = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: actionStateReducer, lastRenderedState: initialStateProp }; ssrFormState.queue = JSCompiler_inline_result; ssrFormState = dispatchSetState.bind( null, currentlyRenderingFiber, JSCompiler_inline_result ); JSCompiler_inline_result.dispatch = ssrFormState; JSCompiler_inline_result = mountStateImpl(!1); inRootOrSingleton = dispatchOptimisticSetState.bind( null, currentlyRenderingFiber, !1, JSCompiler_inline_result.queue ); JSCompiler_inline_result = mountWorkInProgressHook(); JSCompiler_inline_result$jscomp$0 = { state: initialStateProp, dispatch: null, action: action, pending: null }; JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0; ssrFormState = dispatchActionState.bind( null, currentlyRenderingFiber, JSCompiler_inline_result$jscomp$0, inRootOrSingleton, ssrFormState ); JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState; JSCompiler_inline_result.memoizedState = action; return [initialStateProp, ssrFormState, !1];}function updateActionState(action) { var stateHook = updateWorkInProgressHook(); return updateActionStateImpl(stateHook, currentHook, action);}function updateActionStateImpl(stateHook, currentStateHook, action) { currentStateHook = updateReducerImpl( stateHook, currentStateHook, actionStateReducer )[0]; stateHook = updateReducer(basicStateReducer)[0]; if ( "object" === typeof currentStateHook && null !== currentStateHook && "function" === typeof currentStateHook.then ) try { var state = useThenable(currentStateHook); } catch (x) { if (x === SuspenseException) throw SuspenseActionException; throw x; } else state = currentStateHook; currentStateHook = updateWorkInProgressHook(); var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch; action !== currentStateHook.memoizedState && ((currentlyRenderingFiber.flags |= 2048), pushSimpleEffect( 9, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null )); return [state, dispatch, stateHook];}function actionStateActionEffect(actionQueue, action) { actionQueue.action = action;}function rerenderActionState(action) { var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook; if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action); updateWorkInProgressHook(); stateHook = stateHook.memoizedState; currentStateHook = updateWorkInProgressHook(); var dispatch = currentStateHook.queue.dispatch; currentStateHook.memoizedState = action; return [stateHook, dispatch, !1];}function pushSimpleEffect(tag, inst, create, deps) { tag = { tag: tag, create: create, deps: deps, inst: inst, next: null }; inst = currentlyRenderingFiber.updateQueue; null === inst && ((inst = createFunctionComponentUpdateQueue()), (currentlyRenderingFiber.updateQueue = inst)); create = inst.lastEffect; null === create ? (inst.lastEffect = tag.next = tag) : ((deps = create.next), (create.next = tag), (tag.next = deps), (inst.lastEffect = tag)); return tag;}function updateRef() { return updateWorkInProgressHook().memoizedState;}function mountEffectImpl(fiberFlags, hookFlags, create, deps) { var hook = mountWorkInProgressHook(); currentlyRenderingFiber.flags |= fiberFlags; hook.memoizedState = pushSimpleEffect( 1 | hookFlags, { destroy: void 0 }, create, void 0 === deps ? null : deps );}function updateEffectImpl(fiberFlags, hookFlags, create, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var inst = hook.memoizedState.inst; null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps)) : ((currentlyRenderingFiber.flags |= fiberFlags), (hook.memoizedState = pushSimpleEffect( 1 | hookFlags, inst, create, deps )));}function mountEffect(create, deps) { mountEffectImpl(8390656, 8, create, deps);}function updateEffect(create, deps) { updateEffectImpl(2048, 8, create, deps);}function useEffectEventImpl(payload) { currentlyRenderingFiber.flags |= 4; var componentUpdateQueue = currentlyRenderingFiber.updateQueue; if (null === componentUpdateQueue) (componentUpdateQueue = createFunctionComponentUpdateQueue()), (currentlyRenderingFiber.updateQueue = componentUpdateQueue), (componentUpdateQueue.events = [payload]); else { var events = componentUpdateQueue.events; null === events ? (componentUpdateQueue.events = [payload]) : events.push(payload); }}function updateEvent(callback) { var ref = updateWorkInProgressHook().memoizedState; useEffectEventImpl({ ref: ref, nextImpl: callback }); return function () { if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440)); return ref.impl.apply(void 0, arguments); };}function updateInsertionEffect(create, deps) { return updateEffectImpl(4, 2, create, deps);}function updateLayoutEffect(create, deps) { return updateEffectImpl(4, 4, create, deps);}function imperativeHandleEffect(create, ref) { if ("function" === typeof ref) { create = create(); var refCleanup = ref(create); return function () { "function" === typeof refCleanup ? refCleanup() : ref(null); }; } if (null !== ref && void 0 !== ref) return ( (create = create()), (ref.current = create), function () { ref.current = null; } );}function updateImperativeHandle(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);}function mountDebugValue() {}function updateCallback(callback, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; hook.memoizedState = [callback, deps]; return callback;}function updateMemo(nextCreate, deps) { var hook = updateWorkInProgressHook(); deps = void 0 === deps ? null : deps; var prevState = hook.memoizedState; if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0]; prevState = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { nextCreate(); } finally { setIsStrictModeForDevtools(!1); } } hook.memoizedState = [prevState, deps]; return prevState;}function mountDeferredValueImpl(hook, value, initialValue) { if ( void 0 === initialValue || (0 !== (renderLanes & 1073741824) && 0 === (workInProgressRootRenderLanes & 261930)) ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; workInProgressRootSkippedLanes |= hook; return initialValue;}function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return ( (hook = mountDeferredValueImpl(hook, value, initialValue)), objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); if ( 0 === (renderLanes & 42) || (0 !== (renderLanes & 1073741824) && 0 === (workInProgressRootRenderLanes & 261930)) ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue;}function startTransition(fiber, queue, pendingState, finishedState, callback) { var previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 0 !== previousPriority && 8 > previousPriority ? previousPriority : 8; var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; dispatchOptimisticSetState(fiber, !1, queue, pendingState); try { var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); if ( null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then ) { var thenableForFinishedState = chainThenableValue( returnValue, finishedState ); dispatchSetStateInternal( fiber, queue, thenableForFinishedState, requestUpdateLane(fiber) ); } else dispatchSetStateInternal( fiber, queue, finishedState, requestUpdateLane(fiber) ); } catch (error) { dispatchSetStateInternal( fiber, queue, { then: function () {}, status: "rejected", reason: error }, requestUpdateLane() ); } finally { (ReactDOMSharedInternals.p = previousPriority), null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), (ReactSharedInternals.T = prevTransition); }}function noop() {}function startHostTransition(formFiber, pendingState, action, formData) { if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476)); var queue = ensureFormComponentIsStateful(formFiber).queue; startHostActionTimer(); startTransition( formFiber, queue, pendingState, sharedNotPendingObject, null === action ? noop : function () { requestFormReset$2(formFiber); return action(formData); } );}function ensureFormComponentIsStateful(formFiber) { var existingStateHook = formFiber.memoizedState; if (null !== existingStateHook) return existingStateHook; existingStateHook = { memoizedState: sharedNotPendingObject, baseState: sharedNotPendingObject, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: sharedNotPendingObject }, next: null }; var initialResetState = {}; existingStateHook.next = { memoizedState: initialResetState, baseState: initialResetState, baseQueue: null, queue: { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: basicStateReducer, lastRenderedState: initialResetState }, next: null }; formFiber.memoizedState = existingStateHook; formFiber = formFiber.alternate; null !== formFiber && (formFiber.memoizedState = existingStateHook); return existingStateHook;}function requestFormReset$2(formFiber) { var stateHook = ensureFormComponentIsStateful(formFiber); null === stateHook.next && (stateHook = formFiber.alternate.memoizedState); dispatchSetStateInternal( formFiber, stateHook.next.queue, {}, requestUpdateLane() );}function useHostTransitionStatus() { return readContext(HostTransitionContext);}function updateId() { return updateWorkInProgressHook().memoizedState;}function updateRefresh() { return updateWorkInProgressHook().memoizedState;}function refreshCache(fiber) { for (var provider = fiber.return; null !== provider; ) { switch (provider.tag) { case 24: case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); var root$78 = enqueueUpdate(provider, fiber, lane); null !== root$78 && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(root$78, provider, lane), entangleTransitions(root$78, provider, lane)); provider = { cache: createCache() }; fiber.payload = provider; return; } provider = provider.return; }}function dispatchReducerAction(fiber, queue, action) { var lane = requestUpdateLane(); action = { lane: lane, revertLane: 0, gesture: null, action: action, hasEagerState: !1, eagerState: null, next: null }; isRenderPhaseUpdate(fiber) ? enqueueRenderPhaseUpdate(queue, action) : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)), null !== action && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane)));}function dispatchSetState(fiber, queue, action) { var lane = requestUpdateLane(); dispatchSetStateInternal(fiber, queue, action, lane) && startUpdateTimerByLane(lane);}function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { lane: lane, revertLane: 0, gesture: null, action: action, hasEagerState: !1, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); else { var alternate = fiber.alternate; if ( 0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && ((alternate = queue.lastRenderedReducer), null !== alternate) ) try { var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action); update.hasEagerState = !0; update.eagerState = eagerState; if (objectIs(eagerState, currentState)) return ( enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1 ); } catch (error) { } finally { } action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); if (null !== action) return ( scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane), !0 ); } return !1;}function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { action = { lane: 2, revertLane: requestTransitionLane(), gesture: null, action: action, hasEagerState: !1, eagerState: null, next: null }; if (isRenderPhaseUpdate(fiber)) { if (throwIfDuringRender) throw Error(formatProdErrorMessage(479)); } else (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, action, 2 )), null !== throwIfDuringRender && (startUpdateTimerByLane(2), scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2));}function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; return ( fiber === currentlyRenderingFiber || (null !== alternate && alternate === currentlyRenderingFiber) );}function enqueueRenderPhaseUpdate(queue, update) { didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0; var pending = queue.pending; null === pending ? (update.next = update) : ((update.next = pending.next), (pending.next = update)); queue.pending = update;}function entangleTransitionUpdate(root, queue, lane) { if (0 !== (lane & 4194048)) { var queueLanes = queue.lanes; queueLanes &= root.pendingLanes; lane |= queueLanes; queue.lanes = lane; markRootEntangled(root, lane); }}var ContextOnlyDispatcher = { readContext: readContext, use: use, useCallback: throwInvalidHookError, useContext: throwInvalidHookError, useEffect: throwInvalidHookError, useImperativeHandle: throwInvalidHookError, useLayoutEffect: throwInvalidHookError, useInsertionEffect: throwInvalidHookError, useMemo: throwInvalidHookError, useReducer: throwInvalidHookError, useRef: throwInvalidHookError, useState: throwInvalidHookError, useDebugValue: throwInvalidHookError, useDeferredValue: throwInvalidHookError, useTransition: throwInvalidHookError, useSyncExternalStore: throwInvalidHookError, useId: throwInvalidHookError, useHostTransitionStatus: throwInvalidHookError, useFormState: throwInvalidHookError, useActionState: throwInvalidHookError, useOptimistic: throwInvalidHookError, useMemoCache: throwInvalidHookError, useCacheRefresh: throwInvalidHookError};ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;var HooksDispatcherOnMount = { readContext: readContext, use: use, useCallback: function (callback, deps) { mountWorkInProgressHook().memoizedState = [ callback, void 0 === deps ? null : deps ]; return callback; }, useContext: readContext, useEffect: mountEffect, useImperativeHandle: function (ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function (create, deps) { return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function (create, deps) { mountEffectImpl(4, 2, create, deps); }, useMemo: function (nextCreate, deps) { var hook = mountWorkInProgressHook(); deps = void 0 === deps ? null : deps; var nextValue = nextCreate(); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { nextCreate(); } finally { setIsStrictModeForDevtools(!1); } } hook.memoizedState = [nextValue, deps]; return nextValue; }, useReducer: function (reducer, initialArg, init) { var hook = mountWorkInProgressHook(); if (void 0 !== init) { var initialState = init(initialArg); if (shouldDoubleInvokeUserFnsInHooksDEV) { setIsStrictModeForDevtools(!0); try { init(initialArg); } finally { setIsStrictModeForDevtools(!1); } } } else initialState = initialArg; hook.memoizedState = hook.baseState = initialState; reducer = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: reducer, lastRenderedState: initialState }; hook.queue = reducer; reducer = reducer.dispatch = dispatchReducerAction.bind( null, currentlyRenderingFiber, reducer ); return [hook.memoizedState, reducer]; }, useRef: function (initialValue) { var hook = mountWorkInProgressHook(); initialValue = { current: initialValue }; return (hook.memoizedState = initialValue); }, useState: function (initialState) { initialState = mountStateImpl(initialState); var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue); queue.dispatch = dispatch; return [initialState.memoizedState, dispatch]; }, useDebugValue: mountDebugValue, useDeferredValue: function (value, initialValue) { var hook = mountWorkInProgressHook(); return mountDeferredValueImpl(hook, value, initialValue); }, useTransition: function () { var stateHook = mountStateImpl(!1); stateHook = startTransition.bind( null, currentlyRenderingFiber, stateHook.queue, !0, !1 ); mountWorkInProgressHook().memoizedState = stateHook; return [!1, stateHook]; }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { var fiber = currentlyRenderingFiber, hook = mountWorkInProgressHook(); if (isHydrating) { if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407)); getServerSnapshot = getServerSnapshot(); } else { getServerSnapshot = getSnapshot(); if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349)); 0 !== (workInProgressRootRenderLanes & 127) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); } hook.memoizedState = getServerSnapshot; var inst = { value: getServerSnapshot, getSnapshot: getSnapshot }; hook.queue = inst; mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [ subscribe ]); fiber.flags |= 2048; pushSimpleEffect( 9, { destroy: void 0 }, updateStoreInstance.bind( null, fiber, inst, getServerSnapshot, getSnapshot ), null ); return getServerSnapshot; }, useId: function () { var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix; if (isHydrating) { var JSCompiler_inline_result = treeContextOverflow; var idWithLeadingBit = treeContextId; JSCompiler_inline_result = ( idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1)) ).toString(32) + JSCompiler_inline_result; identifierPrefix = "_" + identifierPrefix + "R_" + JSCompiler_inline_result; JSCompiler_inline_result = localIdCounter++; 0 < JSCompiler_inline_result && (identifierPrefix += "H" + JSCompiler_inline_result.toString(32)); identifierPrefix += "_"; } else (JSCompiler_inline_result = globalClientIdCounter++), (identifierPrefix = "_" + identifierPrefix + "r_" + JSCompiler_inline_result.toString(32) + "_"); return (hook.memoizedState = identifierPrefix); }, useHostTransitionStatus: useHostTransitionStatus, useFormState: mountActionState, useActionState: mountActionState, useOptimistic: function (passthrough) { var hook = mountWorkInProgressHook(); hook.memoizedState = hook.baseState = passthrough; var queue = { pending: null, lanes: 0, dispatch: null, lastRenderedReducer: null, lastRenderedState: null }; hook.queue = queue; hook = dispatchOptimisticSetState.bind( null, currentlyRenderingFiber, !0, queue ); queue.dispatch = hook; return [passthrough, hook]; }, useMemoCache: useMemoCache, useCacheRefresh: function () { return (mountWorkInProgressHook().memoizedState = refreshCache.bind( null, currentlyRenderingFiber )); }, useEffectEvent: function (callback) { var hook = mountWorkInProgressHook(), ref = { impl: callback }; hook.memoizedState = ref; return function () { if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440)); return ref.impl.apply(void 0, arguments); }; } }, HooksDispatcherOnUpdate = { readContext: readContext, use: use, useCallback: updateCallback, useContext: readContext, useEffect: updateEffect, useImperativeHandle: updateImperativeHandle, useInsertionEffect: updateInsertionEffect, useLayoutEffect: updateLayoutEffect, useMemo: updateMemo, useReducer: updateReducer, useRef: updateRef, useState: function () { return updateReducer(basicStateReducer); }, useDebugValue: mountDebugValue, useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); return updateDeferredValueImpl( hook, currentHook.memoizedState, value, initialValue ); }, useTransition: function () { var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return [ "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start ]; }, useSyncExternalStore: updateSyncExternalStore, useId: updateId, useHostTransitionStatus: useHostTransitionStatus, useFormState: updateActionState, useActionState: updateActionState, useOptimistic: function (passthrough, reducer) { var hook = updateWorkInProgressHook(); return updateOptimisticImpl(hook, currentHook, passthrough, reducer); }, useMemoCache: useMemoCache, useCacheRefresh: updateRefresh };HooksDispatcherOnUpdate.useEffectEvent = updateEvent;var HooksDispatcherOnRerender = { readContext: readContext, use: use, useCallback: updateCallback, useContext: readContext, useEffect: updateEffect, useImperativeHandle: updateImperativeHandle, useInsertionEffect: updateInsertionEffect, useLayoutEffect: updateLayoutEffect, useMemo: updateMemo, useReducer: rerenderReducer, useRef: updateRef, useState: function () { return rerenderReducer(basicStateReducer); }, useDebugValue: mountDebugValue, useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl( hook, currentHook.memoizedState, value, initialValue ); }, useTransition: function () { var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState; return [ "boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start ]; }, useSyncExternalStore: updateSyncExternalStore, useId: updateId, useHostTransitionStatus: useHostTransitionStatus, useFormState: rerenderActionState, useActionState: rerenderActionState, useOptimistic: function (passthrough, reducer) { var hook = updateWorkInProgressHook(); if (null !== currentHook) return updateOptimisticImpl(hook, currentHook, passthrough, reducer); hook.baseState = passthrough; return [passthrough, hook.queue.dispatch]; }, useMemoCache: useMemoCache, useCacheRefresh: updateRefresh};HooksDispatcherOnRerender.useEffectEvent = updateEvent;function applyDerivedStateFromProps( workInProgress, ctor, getDerivedStateFromProps, nextProps) { ctor = workInProgress.memoizedState; getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor); getDerivedStateFromProps = null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps ? ctor : assign({}, ctor, getDerivedStateFromProps); workInProgress.memoizedState = getDerivedStateFromProps; 0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = getDerivedStateFromProps);}var classComponentUpdater = { enqueueSetState: function (inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.payload = payload; void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueReplaceState: function (inst, payload, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.tag = 1; update.payload = payload; void 0 !== callback && null !== callback && (update.callback = callback); payload = enqueueUpdate(inst, update, lane); null !== payload && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane)); }, enqueueForceUpdate: function (inst, callback) { inst = inst._reactInternals; var lane = requestUpdateLane(), update = createUpdate(lane); update.tag = 2; void 0 !== callback && null !== callback && (update.callback = callback); callback = enqueueUpdate(inst, update, lane); null !== callback && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); }};function checkShouldComponentUpdate( workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) { workInProgress = workInProgress.stateNode; return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : !0;}function callComponentWillReceiveProps( workInProgress, instance, newProps, nextContext) { workInProgress = instance.state; "function" === typeof instance.componentWillReceiveProps && instance.componentWillReceiveProps(newProps, nextContext); "function" === typeof instance.UNSAFE_componentWillReceiveProps && instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); instance.state !== workInProgress && classComponentUpdater.enqueueReplaceState(instance, instance.state, null);}function resolveClassComponentProps(Component, baseProps) { var newProps = baseProps; if ("ref" in baseProps) { newProps = {}; for (var propName in baseProps) "ref" !== propName && (newProps[propName] = baseProps[propName]); } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); for (var propName$82 in Component) void 0 === newProps[propName$82] && (newProps[propName$82] = Component[propName$82]); } return newProps;}function defaultOnUncaughtError(error) { reportGlobalError(error);}function defaultOnCaughtError(error) { console.error(error);}function defaultOnRecoverableError(error) { reportGlobalError(error);}function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); } catch (e$83) { setTimeout(function () { throw e$83; }); }}function logCaughtError(root, boundary, errorInfo) { try { var onCaughtError = root.onCaughtError; onCaughtError(errorInfo.value, { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); } catch (e$84) { setTimeout(function () { throw e$84; }); }}function createRootErrorUpdate(root, errorInfo, lane) { lane = createUpdate(lane); lane.tag = 3; lane.payload = { element: null }; lane.callback = function () { logUncaughtError(root, errorInfo); }; return lane;}function createClassErrorUpdate(lane) { lane = createUpdate(lane); lane.tag = 3; return lane;}function initializeClassErrorUpdate(update, root, fiber, errorInfo) { var getDerivedStateFromError = fiber.type.getDerivedStateFromError; if ("function" === typeof getDerivedStateFromError) { var error = errorInfo.value; update.payload = function () { return getDerivedStateFromError(error); }; update.callback = function () { logCaughtError(root, fiber, errorInfo); }; } var inst = fiber.stateNode; null !== inst && "function" === typeof inst.componentDidCatch && (update.callback = function () { logCaughtError(root, fiber, errorInfo); "function" !== typeof getDerivedStateFromError && (null === legacyErrorBoundariesThatAlreadyFailed ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this])) : legacyErrorBoundariesThatAlreadyFailed.add(this)); var stack = errorInfo.stack; this.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" }); });}function throwException( root, returnFiber, sourceFiber, value, rootRenderLanes) { sourceFiber.flags |= 32768; isDevToolsPresent && restorePendingUpdaters(root, rootRenderLanes); if ( null !== value && "object" === typeof value && "function" === typeof value.then ) { returnFiber = sourceFiber.alternate; null !== returnFiber && propagateParentContextChanges( returnFiber, sourceFiber, rootRenderLanes, !0 ); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { case 31: case 13: return ( null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 3), (sourceFiber.flags &= -257), (sourceFiber.flags |= 65536), (sourceFiber.lanes = rootRenderLanes), value === noopSuspenseyCommitThenable ? (sourceFiber.flags |= 16384) : ((returnFiber = sourceFiber.updateQueue), null === returnFiber ? (sourceFiber.updateQueue = new Set([value])) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), !1 ); case 22: return ( (sourceFiber.flags |= 65536), value === noopSuspenseyCommitThenable ? (sourceFiber.flags |= 16384) : ((returnFiber = sourceFiber.updateQueue), null === returnFiber ? ((returnFiber = { transitions: null, markerInstances: null, retryQueue: new Set([value]) }), (sourceFiber.updateQueue = returnFiber)) : ((sourceFiber = returnFiber.retryQueue), null === sourceFiber ? (returnFiber.retryQueue = new Set([value])) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), !1 ); } throw Error(formatProdErrorMessage(435, sourceFiber.tag)); } attachPingListener(root, value, rootRenderLanes); renderDidSuspendDelayIfPossible(); return !1; } if (isHydrating) return ( (returnFiber = suspenseHandlerStackCursor.current), null !== returnFiber ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), (returnFiber.flags |= 65536), (returnFiber.lanes = rootRenderLanes), value !== HydrationMismatchException && ((root = Error(formatProdErrorMessage(422), { cause: value })), queueHydrationError(createCapturedValueAtFiber(root, sourceFiber)))) : (value !== HydrationMismatchException && ((returnFiber = Error(formatProdErrorMessage(423), { cause: value })), queueHydrationError( createCapturedValueAtFiber(returnFiber, sourceFiber) )), (root = root.current.alternate), (root.flags |= 65536), (rootRenderLanes &= -rootRenderLanes), (root.lanes |= rootRenderLanes), (value = createCapturedValueAtFiber(value, sourceFiber)), (rootRenderLanes = createRootErrorUpdate( root.stateNode, value, rootRenderLanes )), enqueueCapturedUpdate(root, rootRenderLanes), 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2)), !1 ); var wrapperError = Error(formatProdErrorMessage(520), { cause: value }); wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber); null === workInProgressRootConcurrentErrors ? (workInProgressRootConcurrentErrors = [wrapperError]) : workInProgressRootConcurrentErrors.push(wrapperError); 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2); if (null === returnFiber) return !0; value = createCapturedValueAtFiber(value, sourceFiber); sourceFiber = returnFiber; do { switch (sourceFiber.tag) { case 3: return ( (sourceFiber.flags |= 65536), (root = rootRenderLanes & -rootRenderLanes), (sourceFiber.lanes |= root), (root = createRootErrorUpdate(sourceFiber.stateNode, value, root)), enqueueCapturedUpdate(sourceFiber, root), !1 ); case 1: if ( ((returnFiber = sourceFiber.type), (wrapperError = sourceFiber.stateNode), 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || (null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))) ) return ( (sourceFiber.flags |= 65536), (rootRenderLanes &= -rootRenderLanes), (sourceFiber.lanes |= rootRenderLanes), (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)), initializeClassErrorUpdate( rootRenderLanes, root, sourceFiber, value ), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), !1 ); } sourceFiber = sourceFiber.return; } while (null !== sourceFiber); return !1;}var SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = !1;function reconcileChildren(current, workInProgress, nextChildren, renderLanes) { workInProgress.child = null === current ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) : reconcileChildFibers( workInProgress, current.child, nextChildren, renderLanes );}function updateForwardRef( current, workInProgress, Component, nextProps, renderLanes) { Component = Component.render; var ref = workInProgress.ref; if ("ref" in nextProps) { var propsWithoutRef = {}; for (var key in nextProps) "ref" !== key && (propsWithoutRef[key] = nextProps[key]); } else propsWithoutRef = nextProps; prepareToReadContext(workInProgress); nextProps = renderWithHooks( current, workInProgress, Component, propsWithoutRef, ref, renderLanes ); key = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return ( bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) ); isHydrating && key && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, nextProps, renderLanes); return workInProgress.child;}function updateMemoComponent( current, workInProgress, Component, nextProps, renderLanes) { if (null === current) { var type = Component.type; if ( "function" === typeof type && !shouldConstruct(type) && void 0 === type.defaultProps && null === Component.compare ) return ( (workInProgress.tag = 15), (workInProgress.type = type), updateSimpleMemoComponent( current, workInProgress, type, nextProps, renderLanes ) ); current = createFiberFromTypeAndProps( Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes ); current.ref = workInProgress.ref; current.return = workInProgress; return (workInProgress.child = current); } type = current.child; if (!checkScheduledUpdateOrContext(current, renderLanes)) { var prevProps = type.memoizedProps; Component = Component.compare; Component = null !== Component ? Component : shallowEqual; if (Component(prevProps, nextProps) && current.ref === workInProgress.ref) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } workInProgress.flags |= 1; current = createWorkInProgress(type, nextProps); current.ref = workInProgress.ref; current.return = workInProgress; return (workInProgress.child = current);}function updateSimpleMemoComponent( current, workInProgress, Component, nextProps, renderLanes) { if (null !== current) { var prevProps = current.memoizedProps; if ( shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref ) if ( ((didReceiveUpdate = !1), (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) ); } return updateFunctionComponent( current, workInProgress, Component, nextProps, renderLanes );}function updateOffscreenComponent( current, workInProgress, renderLanes, nextProps) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; null === current && null === workInProgress.stateNode && (workInProgress.stateNode = { _visibility: 1, _pendingMarkers: null, _retryCache: null, _transitions: null }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { prevState = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { nextProps = workInProgress.child = current.child; for (nextChildren = 0; null !== nextProps; ) (nextChildren = nextChildren | nextProps.lanes | nextProps.childLanes), (nextProps = nextProps.sibling); nextProps = nextChildren & ~prevState; } else (nextProps = 0), (workInProgress.child = null); return deferHiddenOffscreenComponent( current, workInProgress, prevState, renderLanes, nextProps ); } if (0 !== (renderLanes & 536870912)) (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }), null !== current && pushTransition( workInProgress, null !== prevState ? prevState.cachePool : null ), null !== prevState ? pushHiddenContext(workInProgress, prevState) : reuseHiddenContextOnStack(), pushOffscreenSuspenseHandler(workInProgress); else return ( (nextProps = workInProgress.lanes = 536870912), deferHiddenOffscreenComponent( current, workInProgress, null !== prevState ? prevState.baseLanes | renderLanes : renderLanes, renderLanes, nextProps ) ); } else null !== prevState ? (pushTransition(workInProgress, prevState.cachePool), pushHiddenContext(workInProgress, prevState), reuseSuspenseHandlerOnStack(workInProgress), (workInProgress.memoizedState = null)) : (null !== current && pushTransition(workInProgress, null), reuseHiddenContextOnStack(), reuseSuspenseHandlerOnStack(workInProgress)); reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child;}function bailoutOffscreenComponent(current, workInProgress) { (null !== current && 22 === current.tag) || null !== workInProgress.stateNode || (workInProgress.stateNode = { _visibility: 1, _pendingMarkers: null, _retryCache: null, _transitions: null }); return workInProgress.sibling;}function deferHiddenOffscreenComponent( current, workInProgress, nextBaseLanes, renderLanes, remainingChildLanes) { var JSCompiler_inline_result = peekCacheFromPool(); JSCompiler_inline_result = null === JSCompiler_inline_result ? null : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result }; workInProgress.memoizedState = { baseLanes: nextBaseLanes, cachePool: JSCompiler_inline_result }; null !== current && pushTransition(workInProgress, null); reuseHiddenContextOnStack(); pushOffscreenSuspenseHandler(workInProgress); null !== current && propagateParentContextChanges(current, workInProgress, renderLanes, !0); workInProgress.childLanes = remainingChildLanes; return null;}function mountActivityChildren(workInProgress, nextProps) { nextProps = mountWorkInProgressOffscreenFiber( { mode: nextProps.mode, children: nextProps.children }, workInProgress.mode ); nextProps.ref = workInProgress.ref; workInProgress.child = nextProps; nextProps.return = workInProgress; return nextProps;}function retryActivityComponentWithoutHydrating( current, workInProgress, renderLanes) { reconcileChildFibers(workInProgress, current.child, null, renderLanes); current = mountActivityChildren(workInProgress, workInProgress.pendingProps); current.flags |= 2; popSuspenseHandler(workInProgress); workInProgress.memoizedState = null; return current;}function updateActivityComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128); workInProgress.flags &= -129; if (null === current) { if (isHydrating) { if ("hidden" === nextProps.mode) return ( (current = mountActivityChildren(workInProgress, nextProps)), (workInProgress.lanes = 536870912), bailoutOffscreenComponent(null, current) ); pushDehydratedActivitySuspenseHandler(workInProgress); (current = nextHydratableInstance) ? ((current = canHydrateHydrationBoundary( current, rootOrSingletonContext )), (current = null !== current && "&" === current.data ? current : null), null !== current && ((workInProgress.memoizedState = { dehydrated: current, treeContext: null !== treeContextProvider ? { id: treeContextId, overflow: treeContextOverflow } : null, retryLane: 536870912, hydrationErrors: null }), (renderLanes = createFiberFromDehydratedFragment(current)), (renderLanes.return = workInProgress), (workInProgress.child = renderLanes), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); if (null === current) throw throwOnHydrationMismatch(workInProgress); workInProgress.lanes = 536870912; return null; } return mountActivityChildren(workInProgress, nextProps); } var prevState = current.memoizedState; if (null !== prevState) { var dehydrated = prevState.dehydrated; pushDehydratedActivitySuspenseHandler(workInProgress); if (didSuspend) if (workInProgress.flags & 256) (workInProgress.flags &= -257), (workInProgress = retryActivityComponentWithoutHydrating( current, workInProgress, renderLanes )); else if (null !== workInProgress.memoizedState) (workInProgress.child = current.child), (workInProgress.flags |= 128), (workInProgress = null); else throw Error(formatProdErrorMessage(558)); else if ( (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, !1), (didSuspend = 0 !== (renderLanes & current.childLanes)), didReceiveUpdate || didSuspend) ) { nextProps = workInProgressRoot; if ( null !== nextProps && ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), 0 !== dehydrated && dehydrated !== prevState.retryLane) ) throw ( ((prevState.retryLane = dehydrated), enqueueConcurrentRenderForLane(current, dehydrated), scheduleUpdateOnFiber(nextProps, current, dehydrated), SelectiveHydrationException) ); renderDidSuspendDelayIfPossible(); workInProgress = retryActivityComponentWithoutHydrating( current, workInProgress, renderLanes ); } else (current = prevState.treeContext), (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), (hydrationParentFiber = workInProgress), (isHydrating = !0), (hydrationErrors = null), (rootOrSingletonContext = !1), null !== current && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountActivityChildren(workInProgress, nextProps)), (workInProgress.flags |= 4096); return workInProgress; } current = createWorkInProgress(current.child, { mode: nextProps.mode, children: nextProps.children }); current.ref = workInProgress.ref; workInProgress.child = current; current.return = workInProgress; return current;}function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) null !== current && null !== current.ref && (workInProgress.flags |= 4194816); else { if ("function" !== typeof ref && "object" !== typeof ref) throw Error(formatProdErrorMessage(284)); if (null === current || current.ref !== ref) workInProgress.flags |= 4194816; }}function updateFunctionComponent( current, workInProgress, Component, nextProps, renderLanes) { prepareToReadContext(workInProgress); Component = renderWithHooks( current, workInProgress, Component, nextProps, void 0, renderLanes ); nextProps = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return ( bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) ); isHydrating && nextProps && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, Component, renderLanes); return workInProgress.child;}function replayFunctionComponent( current, workInProgress, nextProps, Component, secondArg, renderLanes) { prepareToReadContext(workInProgress); workInProgress.updateQueue = null; nextProps = renderWithHooksAgain( workInProgress, Component, nextProps, secondArg ); finishRenderingHooks(current); Component = checkDidRenderIdHook(); if (null !== current && !didReceiveUpdate) return ( bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) ); isHydrating && Component && pushMaterializedTreeId(workInProgress); workInProgress.flags |= 1; reconcileChildren(current, workInProgress, nextProps, renderLanes); return workInProgress.child;}function updateClassComponent( current, workInProgress, Component, nextProps, renderLanes) { prepareToReadContext(workInProgress); if (null === workInProgress.stateNode) { var context = emptyContextObject, contextType = Component.contextType; "object" === typeof contextType && null !== contextType && (context = readContext(contextType)); context = new Component(nextProps, context); workInProgress.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null; context.updater = classComponentUpdater; workInProgress.stateNode = context; context._reactInternals = workInProgress; context = workInProgress.stateNode; context.props = nextProps; context.state = workInProgress.memoizedState; context.refs = {}; initializeUpdateQueue(workInProgress); contextType = Component.contextType; context.context = "object" === typeof contextType && null !== contextType ? readContext(contextType) : emptyContextObject; context.state = workInProgress.memoizedState; contextType = Component.getDerivedStateFromProps; "function" === typeof contextType && (applyDerivedStateFromProps( workInProgress, Component, contextType, nextProps ), (context.state = workInProgress.memoizedState)); "function" === typeof Component.getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate || ("function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount) || ((contextType = context.state), "function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount(), contextType !== context.state && classComponentUpdater.enqueueReplaceState(context, context.state, null), processUpdateQueue(workInProgress, nextProps, context, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction(), (context.state = workInProgress.memoizedState)); "function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308); nextProps = !0; } else if (null === current) { context = workInProgress.stateNode; var unresolvedOldProps = workInProgress.memoizedProps, oldProps = resolveClassComponentProps(Component, unresolvedOldProps); context.props = oldProps; var oldContext = context.context, contextType$jscomp$0 = Component.contextType; contextType = emptyContextObject; "object" === typeof contextType$jscomp$0 && null !== contextType$jscomp$0 && (contextType = readContext(contextType$jscomp$0)); var getDerivedStateFromProps = Component.getDerivedStateFromProps; contextType$jscomp$0 = "function" === typeof getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate; unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps; contextType$jscomp$0 || ("function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps) || ((unresolvedOldProps || oldContext !== contextType) && callComponentWillReceiveProps( workInProgress, context, nextProps, contextType )); hasForceUpdate = !1; var oldState = workInProgress.memoizedState; context.state = oldState; processUpdateQueue(workInProgress, nextProps, context, renderLanes); suspendIfUpdateReadFromEntangledAsyncAction(); oldContext = workInProgress.memoizedState; unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof getDerivedStateFromProps && (applyDerivedStateFromProps( workInProgress, Component, getDerivedStateFromProps, nextProps ), (oldContext = workInProgress.memoizedState)), (oldProps = hasForceUpdate || checkShouldComponentUpdate( workInProgress, Component, oldProps, nextProps, oldState, oldContext, contextType )) ? (contextType$jscomp$0 || ("function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount) || ("function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount()), "function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308)) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (context.props = nextProps), (context.state = oldContext), (context.context = contextType), (nextProps = oldProps)) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), (nextProps = !1)); } else { context = workInProgress.stateNode; cloneUpdateQueue(current, workInProgress); contextType = workInProgress.memoizedProps; contextType$jscomp$0 = resolveClassComponentProps(Component, contextType); context.props = contextType$jscomp$0; getDerivedStateFromProps = workInProgress.pendingProps; oldState = context.context; oldContext = Component.contextType; oldProps = emptyContextObject; "object" === typeof oldContext && null !== oldContext && (oldProps = readContext(oldContext)); unresolvedOldProps = Component.getDerivedStateFromProps; (oldContext = "function" === typeof unresolvedOldProps || "function" === typeof context.getSnapshotBeforeUpdate) || ("function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps) || ((contextType !== getDerivedStateFromProps || oldState !== oldProps) && callComponentWillReceiveProps( workInProgress, context, nextProps, oldProps )); hasForceUpdate = !1; oldState = workInProgress.memoizedState; context.state = oldState; processUpdateQueue(workInProgress, nextProps, context, renderLanes); suspendIfUpdateReadFromEntangledAsyncAction(); var newState = workInProgress.memoizedState; contextType !== getDerivedStateFromProps || oldState !== newState || hasForceUpdate || (null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies)) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps( workInProgress, Component, unresolvedOldProps, nextProps ), (newState = workInProgress.memoizedState)), (contextType$jscomp$0 = hasForceUpdate || checkShouldComponentUpdate( workInProgress, Component, contextType$jscomp$0, nextProps, oldState, newState, oldProps ) || (null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies))) ? (oldContext || ("function" !== typeof context.UNSAFE_componentWillUpdate && "function" !== typeof context.componentWillUpdate) || ("function" === typeof context.componentWillUpdate && context.componentWillUpdate(nextProps, newState, oldProps), "function" === typeof context.UNSAFE_componentWillUpdate && context.UNSAFE_componentWillUpdate( nextProps, newState, oldProps )), "function" === typeof context.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof context.getSnapshotBeforeUpdate && (workInProgress.flags |= 1024)) : ("function" !== typeof context.componentDidUpdate || (contextType === current.memoizedProps && oldState === current.memoizedState) || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || (contextType === current.memoizedProps && oldState === current.memoizedState) || (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (context.props = nextProps), (context.state = newState), (context.context = oldProps), (nextProps = contextType$jscomp$0)) : ("function" !== typeof context.componentDidUpdate || (contextType === current.memoizedProps && oldState === current.memoizedState) || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || (contextType === current.memoizedProps && oldState === current.memoizedState) || (workInProgress.flags |= 1024), (nextProps = !1)); } context = nextProps; markRef(current, workInProgress); nextProps = 0 !== (workInProgress.flags & 128); context || nextProps ? ((context = workInProgress.stateNode), nextProps && "function" !== typeof Component.getDerivedStateFromError ? ((Component = null), (profilerStartTime = -1)) : (Component = context.render()), (workInProgress.flags |= 1), null !== current && nextProps ? ((workInProgress.child = reconcileChildFibers( workInProgress, current.child, null, renderLanes )), (workInProgress.child = reconcileChildFibers( workInProgress, null, Component, renderLanes ))) : reconcileChildren(current, workInProgress, Component, renderLanes), (workInProgress.memoizedState = context.state), (current = workInProgress.child)) : (current = bailoutOnAlreadyFinishedWork( current, workInProgress, renderLanes )); return current;}function mountHostRootWithoutHydrating( current, workInProgress, nextChildren, renderLanes) { resetHydrationState(); workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child;}var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, hydrationErrors: null};function mountSuspenseOffscreenState(renderLanes) { return { baseLanes: renderLanes, cachePool: getSuspendedCache() };}function getRemainingWorkInPrimaryTree( current, primaryTreeDidDefer, renderLanes) { current = null !== current ? current.childLanes & ~renderLanes : 0; primaryTreeDidDefer && (current |= workInProgressDeferredLane); return current;}function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); JSCompiler_temp = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { showFallback ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) ? ((current = canHydrateHydrationBoundary( current, rootOrSingletonContext )), (current = null !== current && "&" !== current.data ? current : null), null !== current && ((workInProgress.memoizedState = { dehydrated: current, treeContext: null !== treeContextProvider ? { id: treeContextId, overflow: treeContextOverflow } : null, retryLane: 536870912, hydrationErrors: null }), (renderLanes = createFiberFromDehydratedFragment(current)), (renderLanes.return = workInProgress), (workInProgress.child = renderLanes), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); if (null === current) throw throwOnHydrationMismatch(workInProgress); isSuspenseInstanceFallback(current) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912); return null; } var nextPrimaryChildren = nextProps.children; nextProps = nextProps.fallback; if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), (showFallback = workInProgress.mode), (nextPrimaryChildren = mountWorkInProgressOffscreenFiber( { mode: "hidden", children: nextPrimaryChildren }, showFallback )), (nextProps = createFiberFromFragment( nextProps, showFallback, renderLanes, null )), (nextPrimaryChildren.return = workInProgress), (nextProps.return = workInProgress), (nextPrimaryChildren.sibling = nextProps), (workInProgress.child = nextPrimaryChildren), (nextProps = workInProgress.child), (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); } var prevState = current.memoizedState; if ( null !== prevState && ((nextPrimaryChildren = prevState.dehydrated), null !== nextPrimaryChildren) ) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags &= -257), (workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, renderLanes ))) : null !== workInProgress.memoizedState ? (reuseSuspenseHandlerOnStack(workInProgress), (workInProgress.child = current.child), (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = nextProps.fallback), (showFallback = workInProgress.mode), (nextProps = mountWorkInProgressOffscreenFiber( { mode: "visible", children: nextProps.children }, showFallback )), (nextPrimaryChildren = createFiberFromFragment( nextPrimaryChildren, showFallback, renderLanes, null )), (nextPrimaryChildren.flags |= 2), (nextProps.return = workInProgress), (nextPrimaryChildren.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), (nextProps = workInProgress.child), (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) ) { JSCompiler_temp = nextPrimaryChildren.nextSibling && nextPrimaryChildren.nextSibling.dataset; if (JSCompiler_temp) var digest = JSCompiler_temp.dgst; JSCompiler_temp = digest; nextProps = Error(formatProdErrorMessage(419)); nextProps.stack = ""; nextProps.digest = JSCompiler_temp; queueHydrationError({ value: nextProps, source: null, stack: null }); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, renderLanes ); } else if ( (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, !1), (JSCompiler_temp = 0 !== (renderLanes & current.childLanes)), didReceiveUpdate || JSCompiler_temp) ) { JSCompiler_temp = workInProgressRoot; if ( null !== JSCompiler_temp && ((nextProps = getBumpedLaneForHydration(JSCompiler_temp, renderLanes)), 0 !== nextProps && nextProps !== prevState.retryLane) ) throw ( ((prevState.retryLane = nextProps), enqueueConcurrentRenderForLane(current, nextProps), scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps), SelectiveHydrationException) ); isSuspenseInstancePending(nextPrimaryChildren) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, renderLanes ); } else isSuspenseInstancePending(nextPrimaryChildren) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( nextPrimaryChildren.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), (hydrationErrors = null), (rootOrSingletonContext = !1), null !== current && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, nextProps.children )), (workInProgress.flags |= 4096)); return workInProgress; } if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = nextProps.fallback), (showFallback = workInProgress.mode), (prevState = current.child), (digest = prevState.sibling), (nextProps = createWorkInProgress(prevState, { mode: "hidden", children: nextProps.children })), (nextProps.subtreeFlags = prevState.subtreeFlags & 65011712), null !== digest ? (nextPrimaryChildren = createWorkInProgress( digest, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( nextPrimaryChildren, showFallback, renderLanes, null )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), bailoutOffscreenComponent(null, nextProps), (nextProps = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) : ((showFallback = nextPrimaryChildren.cachePool), null !== showFallback ? ((prevState = CacheContext._currentValue), (showFallback = showFallback.parent !== prevState ? { parent: prevState, pool: prevState } : showFallback)) : (showFallback = getSuspendedCache()), (nextPrimaryChildren = { baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: showFallback })), (nextProps.memoizedState = nextPrimaryChildren), (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", children: nextProps.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && ((JSCompiler_temp = workInProgress.deletions), null === JSCompiler_temp ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : JSCompiler_temp.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes;}function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( { mode: "visible", children: primaryChildren }, workInProgress.mode ); primaryChildren.return = workInProgress; return (workInProgress.child = primaryChildren);}function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; return offscreenProps;}function retrySuspenseComponentWithoutHydrating( current, workInProgress, renderLanes) { reconcileChildFibers(workInProgress, current.child, null, renderLanes); current = mountSuspensePrimaryChildren( workInProgress, workInProgress.pendingProps.children ); current.flags |= 2; workInProgress.memoizedState = null; return current;}function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { fiber.lanes |= renderLanes; var alternate = fiber.alternate; null !== alternate && (alternate.lanes |= renderLanes); scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);}function initSuspenseListRenderState( workInProgress, isBackwards, tail, lastContentRow, tailMode, treeForkCount) { var renderState = workInProgress.memoizedState; null === renderState ? (workInProgress.memoizedState = { isBackwards: isBackwards, rendering: null, renderingStartTime: 0, last: lastContentRow, tail: tail, tailMode: tailMode, treeForkCount: treeForkCount }) : ((renderState.isBackwards = isBackwards), (renderState.rendering = null), (renderState.renderingStartTime = 0), (renderState.last = lastContentRow), (renderState.tail = tail), (renderState.tailMode = tailMode), (renderState.treeForkCount = treeForkCount));}function updateSuspenseListComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail; nextProps = nextProps.children; var suspenseContext = suspenseStackCursor.current, shouldForceFallback = 0 !== (suspenseContext & 2); shouldForceFallback ? ((suspenseContext = (suspenseContext & 1) | 2), (workInProgress.flags |= 128)) : (suspenseContext &= 1); push(suspenseStackCursor, suspenseContext); reconcileChildren(current, workInProgress, nextProps, renderLanes); nextProps = isHydrating ? treeForkCount : 0; if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); else if (19 === current.tag) scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); else if (null !== current.child) { current.child.return = current; current = current.child; continue; } if (current === workInProgress) break a; for (; null === current.sibling; ) { if (null === current.return || current.return === workInProgress) break a; current = current.return; } current.sibling.return = current.return; current = current.sibling; } switch (revealOrder) { case "forwards": renderLanes = workInProgress.child; for (revealOrder = null; null !== renderLanes; ) (current = renderLanes.alternate), null !== current && null === findFirstSuspended(current) && (revealOrder = renderLanes), (renderLanes = renderLanes.sibling); renderLanes = revealOrder; null === renderLanes ? ((revealOrder = workInProgress.child), (workInProgress.child = null)) : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null)); initSuspenseListRenderState( workInProgress, !1, revealOrder, renderLanes, tailMode, nextProps ); break; case "backwards": case "unstable_legacy-backwards": renderLanes = null; revealOrder = workInProgress.child; for (workInProgress.child = null; null !== revealOrder; ) { current = revealOrder.alternate; if (null !== current && null === findFirstSuspended(current)) { workInProgress.child = revealOrder; break; } current = revealOrder.sibling; revealOrder.sibling = renderLanes; renderLanes = revealOrder; revealOrder = current; } initSuspenseListRenderState( workInProgress, !0, renderLanes, null, tailMode, nextProps ); break; case "together": initSuspenseListRenderState( workInProgress, !1, null, null, void 0, nextProps ); break; default: workInProgress.memoizedState = null; } return workInProgress.child;}function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) { null !== current && (workInProgress.dependencies = current.dependencies); profilerStartTime = -1; workInProgressRootSkippedLanes |= workInProgress.lanes; if (0 === (renderLanes & workInProgress.childLanes)) if (null !== current) { if ( (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), 0 === (renderLanes & workInProgress.childLanes)) ) return null; } else return null; if (null !== current && workInProgress.child !== current.child) throw Error(formatProdErrorMessage(153)); if (null !== workInProgress.child) { current = workInProgress.child; renderLanes = createWorkInProgress(current, current.pendingProps); workInProgress.child = renderLanes; for (renderLanes.return = workInProgress; null !== current.sibling; ) (current = current.sibling), (renderLanes = renderLanes.sibling = createWorkInProgress(current, current.pendingProps)), (renderLanes.return = workInProgress); renderLanes.sibling = null; } return workInProgress.child;}function checkScheduledUpdateOrContext(current, renderLanes) { if (0 !== (current.lanes & renderLanes)) return !0; current = current.dependencies; return null !== current && checkIfContextChanged(current) ? !0 : !1;}function attemptEarlyBailoutIfNoScheduledUpdate( current, workInProgress, renderLanes) { switch (workInProgress.tag) { case 3: pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); pushProvider(workInProgress, CacheContext, current.memoizedState.cache); resetHydrationState(); break; case 27: case 5: pushHostContext(workInProgress); break; case 4: pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); break; case 10: pushProvider( workInProgress, workInProgress.type, workInProgress.memoizedProps.value ); break; case 12: 0 !== (renderLanes & workInProgress.childLanes) && (workInProgress.flags |= 4); workInProgress.flags |= 2048; var stateNode = workInProgress.stateNode; stateNode.effectDuration = -0; stateNode.passiveEffectDuration = -0; break; case 31: if (null !== workInProgress.memoizedState) return ( (workInProgress.flags |= 128), pushDehydratedActivitySuspenseHandler(workInProgress), null ); break; case 13: stateNode = workInProgress.memoizedState; if (null !== stateNode) { if (null !== stateNode.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) return updateSuspenseComponent(current, workInProgress, renderLanes); pushPrimaryTreeSuspenseHandler(workInProgress); current = bailoutOnAlreadyFinishedWork( current, workInProgress, renderLanes ); return null !== current ? current.sibling : null; } pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); stateNode = 0 !== (renderLanes & workInProgress.childLanes); stateNode || (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), (stateNode = 0 !== (renderLanes & workInProgress.childLanes))); if (didSuspendBefore) { if (stateNode) return updateSuspenseListComponent( current, workInProgress, renderLanes ); workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && ((didSuspendBefore.rendering = null), (didSuspendBefore.tail = null), (didSuspendBefore.lastEffect = null)); push(suspenseStackCursor, suspenseStackCursor.current); if (stateNode) break; else return null; case 22: return ( (workInProgress.lanes = 0), updateOffscreenComponent( current, workInProgress, renderLanes, workInProgress.pendingProps ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);}function beginWork(current, workInProgress, renderLanes) { if (null !== current) if (current.memoizedProps !== workInProgress.pendingProps) didReceiveUpdate = !0; else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), attemptEarlyBailoutIfNoScheduledUpdate( current, workInProgress, renderLanes ) ); didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: a: { var props = workInProgress.pendingProps; current = resolveLazy(workInProgress.elementType); workInProgress.type = current; if ("function" === typeof current) shouldConstruct(current) ? ((props = resolveClassComponentProps(current, props)), (workInProgress.tag = 1), (workInProgress = updateClassComponent( null, workInProgress, current, props, renderLanes ))) : ((workInProgress.tag = 0), (workInProgress = updateFunctionComponent( null, workInProgress, current, props, renderLanes ))); else { if (void 0 !== current && null !== current) { var $$typeof = current.$$typeof; if ($$typeof === REACT_FORWARD_REF_TYPE) { workInProgress.tag = 11; workInProgress = updateForwardRef( null, workInProgress, current, props, renderLanes ); break a; } else if ($$typeof === REACT_MEMO_TYPE) { workInProgress.tag = 14; workInProgress = updateMemoComponent( null, workInProgress, current, props, renderLanes ); break a; } } workInProgress = getComponentNameFromType(current) || current; throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; case 0: return updateFunctionComponent( current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes ); case 1: return ( (props = workInProgress.type), ($$typeof = resolveClassComponentProps( props, workInProgress.pendingProps )), updateClassComponent( current, workInProgress, props, $$typeof, renderLanes ) ); case 3: a: { pushHostContainer( workInProgress, workInProgress.stateNode.containerInfo ); if (null === current) throw Error(formatProdErrorMessage(387)); props = workInProgress.pendingProps; var prevState = workInProgress.memoizedState; $$typeof = prevState.element; cloneUpdateQueue(current, workInProgress); processUpdateQueue(workInProgress, props, null, renderLanes); var nextState = workInProgress.memoizedState; props = nextState.cache; pushProvider(workInProgress, CacheContext, props); props !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], renderLanes, !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); props = nextState.element; if (prevState.isDehydrated) if ( ((prevState = { element: props, isDehydrated: !1, cache: nextState.cache }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, props, renderLanes ); break a; } else if (props !== $$typeof) { $$typeof = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress ); queueHydrationError($$typeof); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, props, renderLanes ); break a; } else { current = workInProgress.stateNode.containerInfo; switch (current.nodeType) { case 9: current = current.body; break; default: current = "HTML" === current.nodeName ? current.ownerDocument.body : current; } nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; rootOrSingletonContext = !0; renderLanes = mountChildFibers( workInProgress, null, props, renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { resetHydrationState(); if (props === $$typeof) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, renderLanes ); break a; } reconcileChildren(current, workInProgress, props, renderLanes); } workInProgress = workInProgress.child; } return workInProgress; case 26: return ( markRef(current, workInProgress), null === current ? (renderLanes = getResource( workInProgress.type, null, workInProgress.pendingProps, null )) ? (workInProgress.memoizedState = renderLanes) : isHydrating || ((renderLanes = workInProgress.type), (current = workInProgress.pendingProps), (props = getOwnerDocumentFromRootContainer( rootInstanceStackCursor.current ).createElement(renderLanes)), (props[internalInstanceKey] = workInProgress), (props[internalPropsKey] = current), setInitialProperties(props, renderLanes, current), markNodeAsHoistable(props), (workInProgress.stateNode = props)) : (workInProgress.memoizedState = getResource( workInProgress.type, current.memoizedProps, workInProgress.pendingProps, current.memoizedState )), null ); case 27: return ( pushHostContext(workInProgress), null === current && isHydrating && ((props = workInProgress.stateNode = resolveSingletonInstance( workInProgress.type, workInProgress.pendingProps, rootInstanceStackCursor.current )), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), ($$typeof = nextHydratableInstance), isSingletonScope(workInProgress.type) ? ((previousHydratableOnEnteringScopedSingleton = $$typeof), (nextHydratableInstance = getNextHydratable(props.firstChild))) : (nextHydratableInstance = $$typeof)), reconcileChildren( current, workInProgress, workInProgress.pendingProps.children, renderLanes ), markRef(current, workInProgress), null === current && (workInProgress.flags |= 4194304), workInProgress.child ); case 5: if (null === current && isHydrating) { if (($$typeof = props = nextHydratableInstance)) (props = canHydrateInstance( props, workInProgress.type, workInProgress.pendingProps, rootOrSingletonContext )), null !== props ? ((workInProgress.stateNode = props), (hydrationParentFiber = workInProgress), (nextHydratableInstance = getNextHydratable(props.firstChild)), (rootOrSingletonContext = !1), ($$typeof = !0)) : ($$typeof = !1); $$typeof || throwOnHydrationMismatch(workInProgress); } pushHostContext(workInProgress); $$typeof = workInProgress.type; prevState = workInProgress.pendingProps; nextState = null !== current ? current.memoizedProps : null; props = prevState.children; shouldSetTextContent($$typeof, prevState) ? (props = null) : null !== nextState && shouldSetTextContent($$typeof, nextState) && (workInProgress.flags |= 32); null !== workInProgress.memoizedState && (($$typeof = renderWithHooks( current, workInProgress, TransitionAwareHostComponent, null, null, renderLanes )), (HostTransitionContext._currentValue = $$typeof)); markRef(current, workInProgress); reconcileChildren(current, workInProgress, props, renderLanes); return workInProgress.child; case 6: if (null === current && isHydrating) { if ((current = renderLanes = nextHydratableInstance)) (renderLanes = canHydrateTextInstance( renderLanes, workInProgress.pendingProps, rootOrSingletonContext )), null !== renderLanes ? ((workInProgress.stateNode = renderLanes), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null), (current = !0)) : (current = !1); current || throwOnHydrationMismatch(workInProgress); } return null; case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: return ( pushHostContainer( workInProgress, workInProgress.stateNode.containerInfo ), (props = workInProgress.pendingProps), null === current ? (workInProgress.child = reconcileChildFibers( workInProgress, null, props, renderLanes )) : reconcileChildren(current, workInProgress, props, renderLanes), workInProgress.child ); case 11: return updateForwardRef( current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes ); case 7: return ( reconcileChildren( current, workInProgress, workInProgress.pendingProps, renderLanes ), workInProgress.child ); case 8: return ( reconcileChildren( current, workInProgress, workInProgress.pendingProps.children, renderLanes ), workInProgress.child ); case 12: return ( (workInProgress.flags |= 4), (workInProgress.flags |= 2048), (props = workInProgress.stateNode), (props.effectDuration = -0), (props.passiveEffectDuration = -0), reconcileChildren( current, workInProgress, workInProgress.pendingProps.children, renderLanes ), workInProgress.child ); case 10: return ( (props = workInProgress.pendingProps), pushProvider(workInProgress, workInProgress.type, props.value), reconcileChildren(current, workInProgress, props.children, renderLanes), workInProgress.child ); case 9: return ( ($$typeof = workInProgress.type._context), (props = workInProgress.pendingProps.children), prepareToReadContext(workInProgress), ($$typeof = readContext($$typeof)), (props = props($$typeof)), (workInProgress.flags |= 1), reconcileChildren(current, workInProgress, props, renderLanes), workInProgress.child ); case 14: return updateMemoComponent( current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes ); case 15: return updateSimpleMemoComponent( current, workInProgress, workInProgress.type, workInProgress.pendingProps, renderLanes ); case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, workInProgress, renderLanes, workInProgress.pendingProps ); case 24: return ( prepareToReadContext(workInProgress), (props = readContext(CacheContext)), null === current ? (($$typeof = peekCacheFromPool()), null === $$typeof && (($$typeof = workInProgressRoot), (prevState = createCache()), ($$typeof.pooledCache = prevState), prevState.refCount++, null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes), ($$typeof = prevState)), (workInProgress.memoizedState = { parent: props, cache: $$typeof }), initializeUpdateQueue(workInProgress), pushProvider(workInProgress, CacheContext, $$typeof)) : (0 !== (current.lanes & renderLanes) && (cloneUpdateQueue(current, workInProgress), processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), ($$typeof = current.memoizedState), (prevState = workInProgress.memoizedState), $$typeof.parent !== props ? (($$typeof = { parent: props, cache: props }), (workInProgress.memoizedState = $$typeof), 0 === workInProgress.lanes && (workInProgress.memoizedState = workInProgress.updateQueue.baseState = $$typeof), pushProvider(workInProgress, CacheContext, props)) : ((props = prevState.cache), pushProvider(workInProgress, CacheContext, props), props !== $$typeof.cache && propagateContextChanges( workInProgress, [CacheContext], renderLanes, !0 ))), reconcileChildren( current, workInProgress, workInProgress.pendingProps.children, renderLanes ), workInProgress.child ); case 29: throw workInProgress.pendingProps; } throw Error(formatProdErrorMessage(156, workInProgress.tag));}function markUpdate(workInProgress) { workInProgress.flags |= 4;}function preloadInstanceAndSuspendIfNeeded( workInProgress, type, oldProps, newProps, renderLanes) { if ((type = 0 !== (workInProgress.mode & 32))) type = !1; if (type) { if ( ((workInProgress.flags |= 16777216), (renderLanes & 335544128) === renderLanes) ) if (workInProgress.stateNode.complete) workInProgress.flags |= 8192; else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192; else throw ( ((suspendedThenable = noopSuspenseyCommitThenable), SuspenseyCommitException) ); } else workInProgress.flags &= -16777217;}function preloadResourceAndSuspendIfNeeded(workInProgress, resource) { if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4)) workInProgress.flags &= -16777217; else if (((workInProgress.flags |= 16777216), !preloadResource(resource))) if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192; else throw ( ((suspendedThenable = noopSuspenseyCommitThenable), SuspenseyCommitException) );}function scheduleRetryEffect(workInProgress, retryQueue) { null !== retryQueue && (workInProgress.flags |= 4); workInProgress.flags & 16384 && ((retryQueue = 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912), (workInProgress.lanes |= retryQueue), (workInProgressSuspendedRetryLanes |= retryQueue));}function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { if (!isHydrating) switch (renderState.tailMode) { case "hidden": hasRenderedATailFallback = renderState.tail; for (var lastTailNode = null; null !== hasRenderedATailFallback; ) null !== hasRenderedATailFallback.alternate && (lastTailNode = hasRenderedATailFallback), (hasRenderedATailFallback = hasRenderedATailFallback.sibling); null === lastTailNode ? (renderState.tail = null) : (lastTailNode.sibling = null); break; case "collapsed": lastTailNode = renderState.tail; for (var lastTailNode$116 = null; null !== lastTailNode; ) null !== lastTailNode.alternate && (lastTailNode$116 = lastTailNode), (lastTailNode = lastTailNode.sibling); null === lastTailNode$116 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) : (lastTailNode$116.sibling = null); }}function bubbleProperties(completedWork) { var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0; if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( var treeBaseDuration$118 = completedWork.selfBaseDuration, child$119 = completedWork.child; null !== child$119;
) (newChildLanes |= child$119.lanes | child$119.childLanes), (subtreeFlags |= child$119.subtreeFlags & 65011712), (subtreeFlags |= child$119.flags & 65011712), (treeBaseDuration$118 += child$119.treeBaseDuration), (child$119 = child$119.sibling); completedWork.treeBaseDuration = treeBaseDuration$118; } else for ( treeBaseDuration$118 = completedWork.child; null !== treeBaseDuration$118;
) (newChildLanes |= treeBaseDuration$118.lanes | treeBaseDuration$118.childLanes), (subtreeFlags |= treeBaseDuration$118.subtreeFlags & 65011712), (subtreeFlags |= treeBaseDuration$118.flags & 65011712), (treeBaseDuration$118.return = completedWork), (treeBaseDuration$118 = treeBaseDuration$118.sibling); else if (0 !== (completedWork.mode & 2)) { treeBaseDuration$118 = completedWork.actualDuration; child$119 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), (treeBaseDuration$118 += child.actualDuration), (child$119 += child.treeBaseDuration), (child = child.sibling); completedWork.actualDuration = treeBaseDuration$118; completedWork.treeBaseDuration = child$119; } else for ( treeBaseDuration$118 = completedWork.child; null !== treeBaseDuration$118;
) (newChildLanes |= treeBaseDuration$118.lanes | treeBaseDuration$118.childLanes), (subtreeFlags |= treeBaseDuration$118.subtreeFlags), (subtreeFlags |= treeBaseDuration$118.flags), (treeBaseDuration$118.return = completedWork), (treeBaseDuration$118 = treeBaseDuration$118.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout;}function completeWork(current, workInProgress, renderLanes) { var newProps = workInProgress.pendingProps; popTreeContext(workInProgress); switch (workInProgress.tag) { case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return bubbleProperties(workInProgress), null; case 1: return bubbleProperties(workInProgress), null; case 3: renderLanes = workInProgress.stateNode; newProps = null; null !== current && (newProps = current.memoizedState.cache); workInProgress.memoizedState.cache !== newProps && (workInProgress.flags |= 2048); popProvider(CacheContext); popHostContainer(); renderLanes.pendingContext && ((renderLanes.context = renderLanes.pendingContext), (renderLanes.pendingContext = null)); if (null === current || null === current.child) popHydrationState(workInProgress) ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && 0 === (workInProgress.flags & 256)) || ((workInProgress.flags |= 1024), upgradeHydrationErrorsToRecoverable()); bubbleProperties(workInProgress); return null; case 26: var type = workInProgress.type, nextResource = workInProgress.memoizedState; null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded( workInProgress, type, null, newProps, renderLanes ))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), (workInProgress.flags &= -16777217)) : ((current = current.memoizedProps), current !== newProps && markUpdate(workInProgress), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded( workInProgress, type, current, newProps, renderLanes )); return null; case 27: popHostContext(workInProgress); renderLanes = rootInstanceStackCursor.current; type = workInProgress.type; if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); else { if (!newProps) { if (null === workInProgress.stateNode) throw Error(formatProdErrorMessage(166)); bubbleProperties(workInProgress); return null; } current = contextStackCursor.current; popHydrationState(workInProgress) ? prepareToHydrateHostInstance(workInProgress, current) : ((current = resolveSingletonInstance(type, newProps, renderLanes)), (workInProgress.stateNode = current), markUpdate(workInProgress)); } bubbleProperties(workInProgress); return null; case 5: popHostContext(workInProgress); type = workInProgress.type; if (null !== current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); else { if (!newProps) { if (null === workInProgress.stateNode) throw Error(formatProdErrorMessage(166)); bubbleProperties(workInProgress); return null; } nextResource = contextStackCursor.current; if (popHydrationState(workInProgress)) prepareToHydrateHostInstance(workInProgress, nextResource); else { var ownerDocument = getOwnerDocumentFromRootContainer( rootInstanceStackCursor.current ); switch (nextResource) { case 1: nextResource = ownerDocument.createElementNS( "http://www.w3.org/2000/svg", type ); break; case 2: nextResource = ownerDocument.createElementNS( "http://www.w3.org/1998/Math/MathML", type ); break; default: switch (type) { case "svg": nextResource = ownerDocument.createElementNS( "http://www.w3.org/2000/svg", type ); break; case "math": nextResource = ownerDocument.createElementNS( "http://www.w3.org/1998/Math/MathML", type ); break; case "script": nextResource = ownerDocument.createElement("div"); nextResource.innerHTML = "<script>\x3c/script>"; nextResource = nextResource.removeChild( nextResource.firstChild ); break; case "select": nextResource = "string" === typeof newProps.is ? ownerDocument.createElement("select", { is: newProps.is }) : ownerDocument.createElement("select"); newProps.multiple ? (nextResource.multiple = !0) : newProps.size && (nextResource.size = newProps.size); break; default: nextResource = "string" === typeof newProps.is ? ownerDocument.createElement(type, { is: newProps.is }) : ownerDocument.createElement(type); } } nextResource[internalInstanceKey] = workInProgress; nextResource[internalPropsKey] = newProps; a: for ( ownerDocument = workInProgress.child; null !== ownerDocument;
) { if (5 === ownerDocument.tag || 6 === ownerDocument.tag) nextResource.appendChild(ownerDocument.stateNode); else if ( 4 !== ownerDocument.tag && 27 !== ownerDocument.tag && null !== ownerDocument.child ) { ownerDocument.child.return = ownerDocument; ownerDocument = ownerDocument.child; continue; } if (ownerDocument === workInProgress) break a; for (; null === ownerDocument.sibling; ) { if ( null === ownerDocument.return || ownerDocument.return === workInProgress ) break a; ownerDocument = ownerDocument.return; } ownerDocument.sibling.return = ownerDocument.return; ownerDocument = ownerDocument.sibling; } workInProgress.stateNode = nextResource; a: switch ( (setInitialProperties(nextResource, type, newProps), type) ) { case "button": case "input": case "select": case "textarea": newProps = !!newProps.autoFocus; break a; case "img": newProps = !0; break a; default: newProps = !1; } newProps && markUpdate(workInProgress); } } bubbleProperties(workInProgress); preloadInstanceAndSuspendIfNeeded( workInProgress, workInProgress.type, null === current ? null : current.memoizedProps, workInProgress.pendingProps, renderLanes ); return null; case 6: if (current && null != workInProgress.stateNode) current.memoizedProps !== newProps && markUpdate(workInProgress); else { if ("string" !== typeof newProps && null === workInProgress.stateNode) throw Error(formatProdErrorMessage(166)); current = rootInstanceStackCursor.current; if (popHydrationState(workInProgress)) { current = workInProgress.stateNode; renderLanes = workInProgress.memoizedProps; newProps = null; type = hydrationParentFiber; if (null !== type) switch (type.tag) { case 27: case 5: newProps = type.memoizedProps; } current[internalInstanceKey] = workInProgress; current = current.nodeValue === renderLanes || (null !== newProps && !0 === newProps.suppressHydrationWarning) || checkForUnmatchedText(current.nodeValue, renderLanes) ? !0 : !1; current || throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( newProps )), (current[internalInstanceKey] = workInProgress), (workInProgress.stateNode = current); } bubbleProperties(workInProgress); return null; case 31: renderLanes = workInProgress.memoizedState; if (null === current || null !== current.memoizedState) { newProps = popHydrationState(workInProgress); if (null !== renderLanes) { if (null === current) { if (!newProps) throw Error(formatProdErrorMessage(318)); current = workInProgress.memoizedState; current = null !== current ? current.dehydrated : null; if (!current) throw Error(formatProdErrorMessage(557)); current[internalInstanceKey] = workInProgress; bubbleProperties(workInProgress); 0 !== (workInProgress.mode & 2) && null !== renderLanes && ((current = workInProgress.child), null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); } else resetHydrationState(), 0 === (workInProgress.flags & 128) && (renderLanes = workInProgress.memoizedState = null), (workInProgress.flags |= 4), bubbleProperties(workInProgress), 0 !== (workInProgress.mode & 2) && null !== renderLanes && ((current = workInProgress.child), null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); current = !1; } else (renderLanes = upgradeHydrationErrorsToRecoverable()), null !== current && null !== current.memoizedState && (current.memoizedState.hydrationErrors = renderLanes), (current = !0); if (!current) { if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress; popSuspenseHandler(workInProgress); return null; } if (0 !== (workInProgress.flags & 128)) throw Error(formatProdErrorMessage(558)); } bubbleProperties(workInProgress); return null; case 13: newProps = workInProgress.memoizedState; if ( null === current || (null !== current.memoizedState && null !== current.memoizedState.dehydrated) ) { type = newProps; nextResource = popHydrationState(workInProgress); if (null !== type && null !== type.dehydrated) { if (null === current) { if (!nextResource) throw Error(formatProdErrorMessage(318)); nextResource = workInProgress.memoizedState; nextResource = null !== nextResource ? nextResource.dehydrated : null; if (!nextResource) throw Error(formatProdErrorMessage(317)); nextResource[internalInstanceKey] = workInProgress; bubbleProperties(workInProgress); 0 !== (workInProgress.mode & 2) && null !== type && ((type = workInProgress.child), null !== type && (workInProgress.treeBaseDuration -= type.treeBaseDuration)); } else resetHydrationState(), 0 === (workInProgress.flags & 128) && (type = workInProgress.memoizedState = null), (workInProgress.flags |= 4), bubbleProperties(workInProgress), 0 !== (workInProgress.mode & 2) && null !== type && ((type = workInProgress.child), null !== type && (workInProgress.treeBaseDuration -= type.treeBaseDuration)); type = !1; } else (type = upgradeHydrationErrorsToRecoverable()), null !== current && null !== current.memoizedState && (current.memoizedState.hydrationErrors = type), (type = !0); if (!type) { if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress; popSuspenseHandler(workInProgress); return null; } } popSuspenseHandler(workInProgress); if (0 !== (workInProgress.flags & 128)) return ( (workInProgress.lanes = renderLanes), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress ); renderLanes = null !== newProps; current = null !== current && null !== current.memoizedState; renderLanes && ((newProps = workInProgress.child), (type = null), null !== newProps.alternate && null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool), (nextResource = null), null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && (nextResource = newProps.memoizedState.cachePool.pool), nextResource !== type && (newProps.flags |= 2048)); renderLanes !== current && renderLanes && (workInProgress.child.flags |= 8192); scheduleRetryEffect(workInProgress, workInProgress.updateQueue); bubbleProperties(workInProgress); 0 !== (workInProgress.mode & 2) && renderLanes && ((current = workInProgress.child), null !== current && (workInProgress.treeBaseDuration -= current.treeBaseDuration)); return null; case 4: return ( popHostContainer(), null === current && listenToAllSupportedEvents(workInProgress.stateNode.containerInfo), bubbleProperties(workInProgress), null ); case 10: return ( popProvider(workInProgress.type), bubbleProperties(workInProgress), null ); case 19: pop(suspenseStackCursor); newProps = workInProgress.memoizedState; if (null === newProps) return bubbleProperties(workInProgress), null; type = 0 !== (workInProgress.flags & 128); nextResource = newProps.rendering; if (null === nextResource) if (type) cutOffTailIfNeeded(newProps, !1); else { if ( 0 !== workInProgressRootExitStatus || (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { nextResource = findFirstSuspended(current); if (null !== nextResource) { workInProgress.flags |= 128; cutOffTailIfNeeded(newProps, !1); current = nextResource.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; current = renderLanes; for (renderLanes = workInProgress.child; null !== renderLanes; ) resetWorkInProgress(renderLanes, current), (renderLanes = renderLanes.sibling); push( suspenseStackCursor, (suspenseStackCursor.current & 1) | 2 ); isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount); return workInProgress.child; } current = current.sibling; } null !== newProps.tail && now$1() > workInProgressRootRenderTargetTime && ((workInProgress.flags |= 128), (type = !0), cutOffTailIfNeeded(newProps, !1), (workInProgress.lanes = 4194304)); } else { if (!type) if ( ((current = findFirstSuspended(nextResource)), null !== current) ) { if ( ((workInProgress.flags |= 128), (type = !0), (current = current.updateQueue), (workInProgress.updateQueue = current), scheduleRetryEffect(workInProgress, current), cutOffTailIfNeeded(newProps, !0), null === newProps.tail && "hidden" === newProps.tailMode && !nextResource.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; } else 2 * now$1() - newProps.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes && ((workInProgress.flags |= 128), (type = !0), cutOffTailIfNeeded(newProps, !1), (workInProgress.lanes = 4194304)); newProps.isBackwards ? ((nextResource.sibling = workInProgress.child), (workInProgress.child = nextResource)) : ((current = newProps.last), null !== current ? (current.sibling = nextResource) : (workInProgress.child = nextResource), (newProps.last = nextResource)); } if (null !== newProps.tail) return ( (current = newProps.tail), (newProps.rendering = current), (newProps.tail = current.sibling), (newProps.renderingStartTime = now$1()), (current.sibling = null), (renderLanes = suspenseStackCursor.current), push( suspenseStackCursor, type ? (renderLanes & 1) | 2 : renderLanes & 1 ), isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount), current ); bubbleProperties(workInProgress); return null; case 22: case 23: return ( popSuspenseHandler(workInProgress), popHiddenContext(), (newProps = null !== workInProgress.memoizedState), null !== current ? (null !== current.memoizedState) !== newProps && (workInProgress.flags |= 8192) : newProps && (workInProgress.flags |= 8192), newProps ? 0 !== (renderLanes & 536870912) && 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), (renderLanes = workInProgress.updateQueue), null !== renderLanes && scheduleRetryEffect(workInProgress, renderLanes.retryQueue), (renderLanes = null), null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (renderLanes = current.memoizedState.cachePool.pool), (newProps = null), null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (newProps = workInProgress.memoizedState.cachePool.pool), newProps !== renderLanes && (workInProgress.flags |= 2048), null !== current && pop(resumedCache), null ); case 24: return ( (renderLanes = null), null !== current && (renderLanes = current.memoizedState.cache), workInProgress.memoizedState.cache !== renderLanes && (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null ); case 25: return null; case 30: return null; } throw Error(formatProdErrorMessage(156, workInProgress.tag));}function unwindWork(current, workInProgress) { popTreeContext(workInProgress); switch (workInProgress.tag) { case 1: return ( (current = workInProgress.flags), current & 65536 ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) : null ); case 3: return ( popProvider(CacheContext), popHostContainer(), (current = workInProgress.flags), 0 !== (current & 65536) && 0 === (current & 128) ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: case 27: case 5: return popHostContext(workInProgress), null; case 31: if (null !== workInProgress.memoizedState) { popSuspenseHandler(workInProgress); if (null === workInProgress.alternate) throw Error(formatProdErrorMessage(340)); resetHydrationState(); } current = workInProgress.flags; return current & 65536 ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) : null; case 13: popSuspenseHandler(workInProgress); current = workInProgress.memoizedState; if (null !== current && null !== current.dehydrated) { if (null === workInProgress.alternate) throw Error(formatProdErrorMessage(340)); resetHydrationState(); } current = workInProgress.flags; return current & 65536 ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; case 4: return popHostContainer(), null; case 10: return popProvider(workInProgress.type), null; case 22: case 23: return ( popSuspenseHandler(workInProgress), popHiddenContext(), null !== current && pop(resumedCache), (current = workInProgress.flags), current & 65536 ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) : null ); case 24: return popProvider(CacheContext), null; case 25: return null; default: return null; }}function unwindInterruptedWork(current, interruptedWork) { popTreeContext(interruptedWork); switch (interruptedWork.tag) { case 3: popProvider(CacheContext); popHostContainer(); break; case 26: case 27: case 5: popHostContext(interruptedWork); break; case 4: popHostContainer(); break; case 31: null !== interruptedWork.memoizedState && popSuspenseHandler(interruptedWork); break; case 13: popSuspenseHandler(interruptedWork); break; case 19: pop(suspenseStackCursor); break; case 10: popProvider(interruptedWork.type); break; case 22: case 23: popSuspenseHandler(interruptedWork); popHiddenContext(); null !== current && pop(resumedCache); break; case 24: popProvider(CacheContext); }}function shouldProfile(current) { return 0 !== (current.mode & 2);}function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork);}function commitHookLayoutUnmountEffects( finishedWork, nearestMountedAncestor, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount( hookFlags, finishedWork, nearestMountedAncestor ), recordEffectDuration()) : commitHookEffectListUnmount( hookFlags, finishedWork, nearestMountedAncestor );}function commitHookEffectListMount(flags, finishedWork) { try { var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; if (null !== lastEffect) { var firstEffect = lastEffect.next; updateQueue = firstEffect; do { if ((updateQueue.tag & flags) === flags) { lastEffect = void 0; var create = updateQueue.create, inst = updateQueue.inst; lastEffect = create(); inst.destroy = lastEffect; } updateQueue = updateQueue.next; } while (updateQueue !== firstEffect); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function commitHookEffectListUnmount( flags, finishedWork, nearestMountedAncestor$jscomp$0) { try { var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; if (null !== lastEffect) { var firstEffect = lastEffect.next; updateQueue = firstEffect; do { if ((updateQueue.tag & flags) === flags) { var inst = updateQueue.inst, destroy = inst.destroy; if (void 0 !== destroy) { inst.destroy = void 0; lastEffect = finishedWork; var nearestMountedAncestor = nearestMountedAncestor$jscomp$0, destroy_ = destroy; try { destroy_(); } catch (error) { captureCommitPhaseError( lastEffect, nearestMountedAncestor, error ); } } } updateQueue = updateQueue.next; } while (updateQueue !== firstEffect); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function commitHookPassiveMountEffects(finishedWork, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListMount(hookFlags, finishedWork), recordEffectDuration()) : commitHookEffectListMount(hookFlags, finishedWork);}function commitHookPassiveUnmountEffects( finishedWork, nearestMountedAncestor, hookFlags) { shouldProfile(finishedWork) ? (startEffectTimer(), commitHookEffectListUnmount( hookFlags, finishedWork, nearestMountedAncestor ), recordEffectDuration()) : commitHookEffectListUnmount( hookFlags, finishedWork, nearestMountedAncestor );}function commitClassCallbacks(finishedWork) { var updateQueue = finishedWork.updateQueue; if (null !== updateQueue) { var instance = finishedWork.stateNode; try { commitCallbacks(updateQueue, instance); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } }}function safelyCallComponentWillUnmount( current, nearestMountedAncestor, instance) { instance.props = resolveClassComponentProps( current.type, current.memoizedProps ); instance.state = current.memoizedState; if (shouldProfile(current)) { startEffectTimer(); try { instance.componentWillUnmount(); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } recordEffectDuration(); } else try { instance.componentWillUnmount(); } catch (error$159) { captureCommitPhaseError(current, nearestMountedAncestor, error$159); }}function safelyAttachRef(current, nearestMountedAncestor) { try { var ref = current.ref; if (null !== ref) { switch (current.tag) { case 26: case 27: case 5: var instanceToUse = current.stateNode; break; case 30: instanceToUse = current.stateNode; break; default: instanceToUse = current.stateNode; } if ("function" === typeof ref) if (shouldProfile(current)) try { startEffectTimer(), (current.refCleanup = ref(instanceToUse)); } finally { recordEffectDuration(); } else current.refCleanup = ref(instanceToUse); else ref.current = instanceToUse; } } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); }}function safelyDetachRef(current, nearestMountedAncestor) { var ref = current.ref, refCleanup = current.refCleanup; if (null !== ref) if ("function" === typeof refCleanup) try { if (shouldProfile(current)) try { startEffectTimer(), refCleanup(); } finally { recordEffectDuration(current); } else refCleanup(); } catch (error) { captureCommitPhaseError(current, nearestMountedAncestor, error); } finally { (current.refCleanup = null), (current = current.alternate), null != current && (current.refCleanup = null); } else if ("function" === typeof ref) try { if (shouldProfile(current)) try { startEffectTimer(), ref(null); } finally { recordEffectDuration(current); } else ref(null); } catch (error$160) { captureCommitPhaseError(current, nearestMountedAncestor, error$160); } else ref.current = null;}function commitProfilerUpdate( finishedWork, current, commitStartTime, effectDuration) { try { var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit, onRender = _finishedWork$memoize.onRender; current = null === current ? "mount" : "update"; currentUpdateIsNested && (current = "nested-update"); "function" === typeof onRender && onRender( id, current, finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, commitStartTime ); "function" === typeof onCommit && onCommit(id, current, effectDuration, commitStartTime); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function commitHostMount(finishedWork) { var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode; try { a: switch (type) { case "button": case "input": case "select": case "textarea": props.autoFocus && instance.focus(); break a; case "img": props.src ? (instance.src = props.src) : props.srcSet && (instance.srcset = props.srcSet); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function commitHostUpdate(finishedWork, newProps, oldProps) { try { var domElement = finishedWork.stateNode; updateProperties(domElement, finishedWork.type, oldProps, newProps); domElement[internalPropsKey] = newProps; } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function isHostParent(fiber) { return ( 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag );}function getHostSibling(fiber) { a: for (;;) { for (; null === fiber.sibling; ) { if (null === fiber.return || isHostParent(fiber.return)) return null; fiber = fiber.return; } fiber.sibling.return = fiber.return; for ( fiber = fiber.sibling; 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
) { if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); } if (!(fiber.flags & 2)) return fiber.stateNode; }}function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) (node = node.stateNode), before ? (9 === parent.nodeType ? parent.body : "HTML" === parent.nodeName ? parent.ownerDocument.body : parent ).insertBefore(node, before) : ((before = 9 === parent.nodeType ? parent.body : "HTML" === parent.nodeName ? parent.ownerDocument.body : parent), before.appendChild(node), (parent = parent._reactRootContainer), (null !== parent && void 0 !== parent) || null !== before.onclick || (before.onclick = noop$1)); else if ( 4 !== tag && (27 === tag && isSingletonScope(node.type) && ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) for ( insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling; null !== node;
) insertOrAppendPlacementNodeIntoContainer(node, before, parent), (node = node.sibling);}function insertOrAppendPlacementNode(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) (node = node.stateNode), before ? parent.insertBefore(node, before) : parent.appendChild(node); else if ( 4 !== tag && (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) for ( insertOrAppendPlacementNode(node, before, parent), node = node.sibling; null !== node;
) insertOrAppendPlacementNode(node, before, parent), (node = node.sibling);}function commitHostSingletonAcquisition(finishedWork) { var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps; try { for ( var type = finishedWork.type, attributes = singleton.attributes; attributes.length;
) singleton.removeAttributeNode(attributes[0]); setInitialProperties(singleton, type, props); singleton[internalInstanceKey] = finishedWork; singleton[internalPropsKey] = props; } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}var offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null;function isHydratingParent(current, finishedWork) { return 31 === finishedWork.tag ? ((finishedWork = finishedWork.memoizedState), null !== current.memoizedState && null === finishedWork) : 13 === finishedWork.tag ? ((current = current.memoizedState), (finishedWork = finishedWork.memoizedState), null !== current && null !== current.dehydrated && (null === finishedWork || null === finishedWork.dehydrated)) : 3 === finishedWork.tag ? current.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256) : !1;}function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; root = getActiveElementDeep(root); if (hasSelectionCapabilities(root)) { if ("selectionStart" in root) var JSCompiler_temp = { start: root.selectionStart, end: root.selectionEnd }; else a: { JSCompiler_temp = ((JSCompiler_temp = root.ownerDocument) && JSCompiler_temp.defaultView) || window; var selection = JSCompiler_temp.getSelection && JSCompiler_temp.getSelection(); if (selection && 0 !== selection.rangeCount) { JSCompiler_temp = selection.anchorNode; var anchorOffset = selection.anchorOffset, focusNode = selection.focusNode; selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; } catch (e$22) { JSCompiler_temp = null; break a; } var length = 0, start = -1, end = -1, indexWithinAnchor = 0, indexWithinFocus = 0, node = root, parentNode = null; b: for (;;) { for (var next; ; ) { node !== JSCompiler_temp || (0 !== anchorOffset && 3 !== node.nodeType) || (start = length + anchorOffset); node !== focusNode || (0 !== selection && 3 !== node.nodeType) || (end = length + selection); 3 === node.nodeType && (length += node.nodeValue.length); if (null === (next = node.firstChild)) break; parentNode = node; node = next; } for (;;) { if (node === root) break b; parentNode === JSCompiler_temp && ++indexWithinAnchor === anchorOffset && (start = length); parentNode === focusNode && ++indexWithinFocus === selection && (end = length); if (null !== (next = node.nextSibling)) break; node = parentNode; parentNode = node.parentNode; } node = next; } JSCompiler_temp = -1 === start || -1 === end ? null : { start: start, end: end }; } else JSCompiler_temp = null; } JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 }; } else JSCompiler_temp = null; selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp }; _enabled = !1; for (nextEffect = firstChild; null !== nextEffect; ) if ( ((firstChild = nextEffect), (root = firstChild.child), 0 !== (firstChild.subtreeFlags & 1028) && null !== root) ) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { firstChild = nextEffect; focusNode = firstChild.alternate; root = firstChild.flags; switch (firstChild.tag) { case 0: if ( 0 !== (root & 4) && ((root = firstChild.updateQueue), (root = null !== root ? root.events : null), null !== root) ) for ( JSCompiler_temp = 0; JSCompiler_temp < root.length; JSCompiler_temp++ ) (anchorOffset = root[JSCompiler_temp]), (anchorOffset.ref.impl = anchorOffset.nextImpl); break; case 11: case 15: break; case 1: if (0 !== (root & 1024) && null !== focusNode) { root = void 0; JSCompiler_temp = firstChild; anchorOffset = focusNode.memoizedProps; focusNode = focusNode.memoizedState; selection = JSCompiler_temp.stateNode; try { var resolvedPrevProps = resolveClassComponentProps( JSCompiler_temp.type, anchorOffset ); root = selection.getSnapshotBeforeUpdate( resolvedPrevProps, focusNode ); selection.__reactInternalSnapshotBeforeUpdate = root; } catch (error) { captureCommitPhaseError( JSCompiler_temp, JSCompiler_temp.return, error ); } } break; case 3: if (0 !== (root & 1024)) if ( ((root = firstChild.stateNode.containerInfo), (JSCompiler_temp = root.nodeType), 9 === JSCompiler_temp) ) clearContainerSparingly(root); else if (1 === JSCompiler_temp) switch (root.nodeName) { case "HEAD": case "HTML": case "BODY": clearContainerSparingly(root); break; default: root.textContent = ""; } break; case 5: case 26: case 27: case 6: case 4: case 17: break; default: if (0 !== (root & 1024)) throw Error(formatProdErrorMessage(163)); } root = firstChild.sibling; if (null !== root) { root.return = firstChild.return; nextEffect = root; break; } nextEffect = firstChild.return; }}function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitHookLayoutEffects(finishedWork, 5); break; case 1: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); if (flags & 4) if (((finishedRoot = finishedWork.stateNode), null === current)) if (shouldProfile(finishedWork)) { startEffectTimer(); try { finishedRoot.componentDidMount(); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } recordEffectDuration(); } else try { finishedRoot.componentDidMount(); } catch (error$156) { captureCommitPhaseError( finishedWork, finishedWork.return, error$156 ); } else { var prevProps = resolveClassComponentProps( finishedWork.type, current.memoizedProps ); current = current.memoizedState; if (shouldProfile(finishedWork)) { startEffectTimer(); try { finishedRoot.componentDidUpdate( prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); } catch (error$157) { captureCommitPhaseError( finishedWork, finishedWork.return, error$157 ); } recordEffectDuration(); } else try { finishedRoot.componentDidUpdate( prevProps, current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); } catch (error$158) { captureCommitPhaseError( finishedWork, finishedWork.return, error$158 ); } } flags & 64 && commitClassCallbacks(finishedWork); flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: current = pushNestedEffectDurations(); recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { prevProps = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { case 27: case 5: prevProps = finishedWork.child.stateNode; break; case 1: prevProps = finishedWork.child.stateNode; } try { commitCallbacks(flags, prevProps); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } finishedRoot.effectDuration += popNestedEffectDurations(current); break; case 27: null === current && flags & 4 && commitHostSingletonAcquisition(finishedWork); case 26: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostMount(finishedWork); flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: flags & 4 ? ((flags = pushNestedEffectDurations()), recursivelyTraverseLayoutEffects(finishedRoot, finishedWork), (finishedRoot = finishedWork.stateNode), (finishedRoot.effectDuration += bubbleNestedEffectDurations(flags)), commitProfilerUpdate( finishedWork, current, commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); break; case 31: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork); break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); flags & 64 && ((finishedRoot = finishedWork.memoizedState), null !== finishedRoot && ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot && ((current = retryDehydratedSuspenseBoundary.bind( null, finishedWork )), registerSuspenseInstanceRetry(finishedRoot, current)))); break; case 22: flags = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden; if (!flags) { current = (null !== current && null !== current.memoizedState) || offscreenSubtreeWasHidden; prevProps = offscreenSubtreeIsHidden; var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; offscreenSubtreeIsHidden = flags; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden ? (recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772) ), 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared( finishedWork, componentEffectStartTime, componentEffectEndTime )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevProps; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } break; case 30: break; default: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); } 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ), null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate && 0.05 < componentEffectEndTime - componentEffectStartTime && (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || logComponentTrigger( finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount" ))); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;}function detachFiberAfterEffects(fiber) { var alternate = fiber.alternate; null !== alternate && ((fiber.alternate = null), detachFiberAfterEffects(alternate)); fiber.child = null; fiber.deletions = null; fiber.sibling = null; 5 === fiber.tag && ((alternate = fiber.stateNode), null !== alternate && detachDeletedInstance(alternate)); fiber.stateNode = null; fiber.return = null; fiber.dependencies = null; fiber.memoizedProps = null; fiber.memoizedState = null; fiber.pendingProps = null; fiber.stateNode = null; fiber.updateQueue = null;}var hostParent = null, hostParentIsContainer = !1;function recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, parent) { for (parent = parent.child; null !== parent; ) commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), (parent = parent.sibling);}function commitDeletionEffectsOnFiber( finishedRoot, nearestMountedAncestor, deletedFiber) { if (injectedHook && "function" === typeof injectedHook.onCommitFiberUnmount) try { injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); } catch (err) {} var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && ((finishedRoot = deletedFiber.stateNode), finishedRoot.parentNode.removeChild(finishedRoot)); break; case 27: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); releaseSingletonInstance(deletedFiber.stateNode); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; break; case 5: offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParent = hostParent; prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { (9 === hostParent.nodeType ? hostParent.body : "HTML" === hostParent.nodeName ? hostParent.ownerDocument.body : hostParent ).removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, nearestMountedAncestor, error ); } else try { hostParent.removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, nearestMountedAncestor, error ); } break; case 18: null !== hostParent && (hostParentIsContainer ? ((finishedRoot = hostParent), clearHydrationBoundary( 9 === finishedRoot.nodeType ? finishedRoot.body : "HTML" === finishedRoot.nodeName ? finishedRoot.ownerDocument.body : finishedRoot, deletedFiber.stateNode ), retryIfBlockedOn(finishedRoot)) : clearHydrationBoundary(hostParent, deletedFiber.stateNode)); break; case 4: prevHostParent = hostParent; prevHostParentIsContainer = hostParentIsContainer; hostParent = deletedFiber.stateNode.containerInfo; hostParentIsContainer = !0; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); hostParent = prevHostParent; hostParentIsContainer = prevHostParentIsContainer; break; case 0: case 11: case 14: case 15: commitHookEffectListUnmount(2, deletedFiber, nearestMountedAncestor); offscreenSubtreeWasHidden || commitHookLayoutUnmountEffects(deletedFiber, nearestMountedAncestor, 4); recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); break; case 1: offscreenSubtreeWasHidden || (safelyDetachRef(deletedFiber, nearestMountedAncestor), (prevHostParent = deletedFiber.stateNode), "function" === typeof prevHostParent.componentWillUnmount && safelyCallComponentWillUnmount( deletedFiber, nearestMountedAncestor, prevHostParent )); recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); break; case 21: recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); break; case 22: offscreenSubtreeWasHidden = (prevHostParent = offscreenSubtreeWasHidden) || null !== deletedFiber.memoizedState; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); offscreenSubtreeWasHidden = prevHostParent; break; default: recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); } 0 !== (deletedFiber.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( deletedFiber, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;}function commitActivityHydrationCallbacks(finishedRoot, finishedWork) { if ( null === finishedWork.memoizedState && ((finishedRoot = finishedWork.alternate), null !== finishedRoot && ((finishedRoot = finishedRoot.memoizedState), null !== finishedRoot)) ) { finishedRoot = finishedRoot.dehydrated; try { retryIfBlockedOn(finishedRoot); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } }}function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( null === finishedWork.memoizedState && ((finishedRoot = finishedWork.alternate), null !== finishedRoot && ((finishedRoot = finishedRoot.memoizedState), null !== finishedRoot && ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot))) ) try { retryIfBlockedOn(finishedRoot); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); }}function getRetryCache(finishedWork) { switch (finishedWork.tag) { case 31: case 13: case 19: var retryCache = finishedWork.stateNode; null === retryCache && (retryCache = finishedWork.stateNode = new PossiblyWeakSet()); return retryCache; case 22: return ( (finishedWork = finishedWork.stateNode), (retryCache = finishedWork._retryCache), null === retryCache && (retryCache = finishedWork._retryCache = new PossiblyWeakSet()), retryCache ); default: throw Error(formatProdErrorMessage(435, finishedWork.tag)); }}function attachSuspenseRetryListeners(finishedWork, wakeables) { var retryCache = getRetryCache(finishedWork); wakeables.forEach(function (wakeable) { if (!retryCache.has(wakeable)) { retryCache.add(wakeable); if (isDevToolsPresent) if (null !== inProgressLanes && null !== inProgressRoot) restorePendingUpdaters(inProgressRoot, inProgressLanes); else throw Error(formatProdErrorMessage(413)); var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable); wakeable.then(retry, retry); } });}function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { var deletions = parentFiber.deletions; if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i], root = root$jscomp$0, returnFiber = parentFiber, prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { case 27: if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; } break; case 5: hostParent = parent.stateNode; hostParentIsContainer = !1; break a; case 3: case 4: hostParent = parent.stateNode.containerInfo; hostParentIsContainer = !0; break a; } parent = parent.return; } if (null === hostParent) throw Error(formatProdErrorMessage(160)); commitDeletionEffectsOnFiber(root, returnFiber, childToDelete); hostParent = null; hostParentIsContainer = !1; 0 !== (childToDelete.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount" ); popComponentEffectStart(prevEffectStart); root = childToDelete.alternate; null !== root && (root.return = null); childToDelete.return = null; } if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling);}var currentHoistableRoot = null;function commitMutationEffectsOnFiber(finishedWork, root) { var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), current = finishedWork.alternate, flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 14: case 15: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 4 && (commitHookEffectListUnmount(3, finishedWork, finishedWork.return), commitHookEffectListMount(3, finishedWork), commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, 5)); break; case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); if ( flags & 64 && offscreenSubtreeIsHidden && ((flags = finishedWork.updateQueue), null !== flags && ((current = flags.callbacks), null !== current)) ) { var existingHiddenCallbacks = flags.shared.hiddenCallbacks; flags.shared.hiddenCallbacks = null === existingHiddenCallbacks ? current : existingHiddenCallbacks.concat(current); } break; case 26: existingHiddenCallbacks = currentHoistableRoot; recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); if (flags & 4) { var currentResource = null !== current ? current.memoizedState : null; flags = finishedWork.memoizedState; if (null === current) if (null === flags) if (null === finishedWork.stateNode) { a: { flags = finishedWork.type; current = finishedWork.memoizedProps; existingHiddenCallbacks = existingHiddenCallbacks.ownerDocument || existingHiddenCallbacks; b: switch (flags) { case "title": currentResource = existingHiddenCallbacks.getElementsByTagName("title")[0]; if ( !currentResource || currentResource[internalHoistableMarker] || currentResource[internalInstanceKey] || "http://www.w3.org/2000/svg" === currentResource.namespaceURI || currentResource.hasAttribute("itemprop") ) (currentResource = existingHiddenCallbacks.createElement(flags)), existingHiddenCallbacks.head.insertBefore( currentResource, existingHiddenCallbacks.querySelector("head > title") ); setInitialProperties(currentResource, flags, current); currentResource[internalInstanceKey] = finishedWork; markNodeAsHoistable(currentResource); flags = currentResource; break a; case "link": var maybeNodes = getHydratableHoistableCache( "link", "href", existingHiddenCallbacks ).get(flags + (current.href || "")); if (maybeNodes) for (var i = 0; i < maybeNodes.length; i++) if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("href") === (null == current.href || "" === current.href ? null : current.href) && currentResource.getAttribute("rel") === (null == current.rel ? null : current.rel) && currentResource.getAttribute("title") === (null == current.title ? null : current.title) && currentResource.getAttribute("crossorigin") === (null == current.crossOrigin ? null : current.crossOrigin)) ) { maybeNodes.splice(i, 1); break b; } currentResource = existingHiddenCallbacks.createElement(flags); setInitialProperties(currentResource, flags, current); existingHiddenCallbacks.head.appendChild(currentResource); break; case "meta": if ( (maybeNodes = getHydratableHoistableCache( "meta", "content", existingHiddenCallbacks ).get(flags + (current.content || ""))) ) for (i = 0; i < maybeNodes.length; i++) if ( ((currentResource = maybeNodes[i]), currentResource.getAttribute("content") === (null == current.content ? null : "" + current.content) && currentResource.getAttribute("name") === (null == current.name ? null : current.name) && currentResource.getAttribute("property") === (null == current.property ? null : current.property) && currentResource.getAttribute("http-equiv") === (null == current.httpEquiv ? null : current.httpEquiv) && currentResource.getAttribute("charset") === (null == current.charSet ? null : current.charSet)) ) { maybeNodes.splice(i, 1); break b; } currentResource = existingHiddenCallbacks.createElement(flags); setInitialProperties(currentResource, flags, current); existingHiddenCallbacks.head.appendChild(currentResource); break; default: throw Error(formatProdErrorMessage(468, flags)); } currentResource[internalInstanceKey] = finishedWork; markNodeAsHoistable(currentResource); flags = currentResource; } finishedWork.stateNode = flags; } else mountHoistable( existingHiddenCallbacks, finishedWork.type, finishedWork.stateNode ); else finishedWork.stateNode = acquireResource( existingHiddenCallbacks, flags, finishedWork.memoizedProps ); else currentResource !== flags ? (null === currentResource ? null !== current.stateNode && ((current = current.stateNode), current.parentNode.removeChild(current)) : currentResource.count--, null === flags ? mountHoistable( existingHiddenCallbacks, finishedWork.type, finishedWork.stateNode ) : acquireResource( existingHiddenCallbacks, flags, finishedWork.memoizedProps )) : null === flags && null !== finishedWork.stateNode && commitHostUpdate( finishedWork, finishedWork.memoizedProps, current.memoizedProps ); } break; case 27: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); null !== current && flags & 4 && commitHostUpdate( finishedWork, finishedWork.memoizedProps, current.memoizedProps ); break; case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 512 && (offscreenSubtreeWasHidden || null === current || safelyDetachRef(current, current.return)); if (finishedWork.flags & 32) { existingHiddenCallbacks = finishedWork.stateNode; try { setTextContent(existingHiddenCallbacks, ""); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } flags & 4 && null != finishedWork.stateNode && ((existingHiddenCallbacks = finishedWork.memoizedProps), commitHostUpdate( finishedWork, existingHiddenCallbacks, null !== current ? current.memoizedProps : existingHiddenCallbacks )); flags & 1024 && (needsFormReset = !0); break; case 6: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); if (flags & 4) { if (null === finishedWork.stateNode) throw Error(formatProdErrorMessage(162)); flags = finishedWork.memoizedProps; current = finishedWork.stateNode; try { current.nodeValue = flags; } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } break; case 3: existingHiddenCallbacks = pushNestedEffectDurations(); tagCaches = null; currentResource = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(root.containerInfo); recursivelyTraverseMutationEffects(root, finishedWork); currentHoistableRoot = currentResource; commitReconciliationEffects(finishedWork); if (flags & 4 && null !== current && current.memoizedState.isDehydrated) try { retryIfBlockedOn(root.containerInfo); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } needsFormReset && ((needsFormReset = !1), recursivelyResetForms(finishedWork)); root.effectDuration += popNestedEffectDurations(existingHiddenCallbacks); break; case 4: flags = currentHoistableRoot; currentHoistableRoot = getHoistableRoot( finishedWork.stateNode.containerInfo ); recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); currentHoistableRoot = flags; break; case 12: flags = pushNestedEffectDurations(); recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); finishedWork.stateNode.effectDuration += bubbleNestedEffectDurations(flags); break; case 31: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 4 && ((flags = finishedWork.updateQueue), null !== flags && ((finishedWork.updateQueue = null), attachSuspenseRetryListeners(finishedWork, flags))); break; case 13: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); finishedWork.child.flags & 8192 && (null !== finishedWork.memoizedState) !== (null !== current && null !== current.memoizedState) && (globalMostRecentFallbackTime = now$1()); flags & 4 && ((flags = finishedWork.updateQueue), null !== flags && ((finishedWork.updateQueue = null), attachSuspenseRetryListeners(finishedWork, flags))); break; case 22: existingHiddenCallbacks = null !== finishedWork.memoizedState; var wasHidden = null !== current && null !== current.memoizedState, prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || existingHiddenCallbacks; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden; recursivelyTraverseMutationEffects(root, finishedWork); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; wasHidden && !existingHiddenCallbacks && !prevOffscreenSubtreeIsHidden && !prevOffscreenSubtreeWasHidden && 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared( finishedWork, componentEffectStartTime, componentEffectEndTime ); commitReconciliationEffects(finishedWork); if (flags & 8192) a: for ( root = finishedWork.stateNode, root._visibility = existingHiddenCallbacks ? root._visibility & -2 : root._visibility | 1, !existingHiddenCallbacks || null === current || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect" )), current = null, root = finishedWork; ;
) { if (5 === root.tag || 26 === root.tag) { if (null === current) { wasHidden = current = root; try { if ( ((currentResource = wasHidden.stateNode), existingHiddenCallbacks) ) (maybeNodes = currentResource.style), "function" === typeof maybeNodes.setProperty ? maybeNodes.setProperty("display", "none", "important") : (maybeNodes.display = "none"); else { i = wasHidden.stateNode; var styleProp = wasHidden.memoizedProps.style, display = void 0 !== styleProp && null !== styleProp && styleProp.hasOwnProperty("display") ? styleProp.display : null; i.style.display = null == display || "boolean" === typeof display ? "" : ("" + display).trim(); } } catch (error) { captureCommitPhaseError(wasHidden, wasHidden.return, error); } } } else if (6 === root.tag) { if (null === current) { wasHidden = root; try { wasHidden.stateNode.nodeValue = existingHiddenCallbacks ? "" : wasHidden.memoizedProps; } catch (error) { captureCommitPhaseError(wasHidden, wasHidden.return, error); } } } else if (18 === root.tag) { if (null === current) { wasHidden = root; try { var instance = wasHidden.stateNode; existingHiddenCallbacks ? hideOrUnhideDehydratedBoundary(instance, !0) : hideOrUnhideDehydratedBoundary(wasHidden.stateNode, !1); } catch (error) { captureCommitPhaseError(wasHidden, wasHidden.return, error); } } } else if ( ((22 !== root.tag && 23 !== root.tag) || null === root.memoizedState || root === finishedWork) && null !== root.child ) { root.child.return = root; root = root.child; continue; } if (root === finishedWork) break a; for (; null === root.sibling; ) { if (null === root.return || root.return === finishedWork) break a; current === root && (current = null); root = root.return; } current === root && (current = null); root.sibling.return = root.return; root = root.sibling; } flags & 4 && ((flags = finishedWork.updateQueue), null !== flags && ((current = flags.retryQueue), null !== current && ((flags.retryQueue = null), attachSuspenseRetryListeners(finishedWork, current)))); break; case 19: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); flags & 4 && ((flags = finishedWork.updateQueue), null !== flags && ((finishedWork.updateQueue = null), attachSuspenseRetryListeners(finishedWork, flags))); break; case 30: break; case 21: break; default: recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork); } 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ), null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate && 0.05 < componentEffectEndTime - componentEffectStartTime && (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || logComponentTrigger( finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount" ))); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;}function commitReconciliationEffects(finishedWork) { var flags = finishedWork.flags; if (flags & 2) { try { for ( var hostParentFiber, parentFiber = finishedWork.return; null !== parentFiber;
) { if (isHostParent(parentFiber)) { hostParentFiber = parentFiber; break; } parentFiber = parentFiber.return; } if (null == hostParentFiber) throw Error(formatProdErrorMessage(160)); switch (hostParentFiber.tag) { case 27: var parent = hostParentFiber.stateNode, before = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before, parent); break; case 5: var parent$161 = hostParentFiber.stateNode; hostParentFiber.flags & 32 && (setTextContent(parent$161, ""), (hostParentFiber.flags &= -33)); var before$162 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$162, parent$161); break; case 3: case 4: var parent$163 = hostParentFiber.stateNode.containerInfo, before$164 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, before$164, parent$163 ); break; default: throw Error(formatProdErrorMessage(161)); } } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } finishedWork.flags &= -3; } flags & 4096 && (finishedWork.flags &= -4097);}function recursivelyResetForms(parentFiber) { if (parentFiber.subtreeFlags & 1024) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var fiber = parentFiber; recursivelyResetForms(fiber); 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset(); parentFiber = parentFiber.sibling; }}function recursivelyTraverseLayoutEffects(root, parentFiber) { if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling);}function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedWork = parentFiber, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); switch (finishedWork.tag) { case 0: case 11: case 14: case 15: commitHookLayoutUnmountEffects(finishedWork, finishedWork.return, 4); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 1: safelyDetachRef(finishedWork, finishedWork.return); var instance = finishedWork.stateNode; "function" === typeof instance.componentWillUnmount && safelyCallComponentWillUnmount( finishedWork, finishedWork.return, instance ); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 27: releaseSingletonInstance(finishedWork.stateNode); case 26: case 5: safelyDetachRef(finishedWork, finishedWork.return); recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 22: null === finishedWork.memoizedState && recursivelyTraverseDisappearLayoutEffects(finishedWork); break; case 30: recursivelyTraverseDisappearLayoutEffects(finishedWork); break; default: recursivelyTraverseDisappearLayoutEffects(finishedWork); } 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; parentFiber = parentFiber.sibling; }}function recursivelyTraverseReappearLayoutEffects( finishedRoot$jscomp$0, parentFiber, includeWorkInProgressEffects) { includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); commitHookLayoutEffects(finishedWork, 4); break; case 1: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); current = finishedWork; finishedRoot = current.stateNode; if ("function" === typeof finishedRoot.componentDidMount) try { finishedRoot.componentDidMount(); } catch (error) { captureCommitPhaseError(current, current.return, error); } current = finishedWork; finishedRoot = current.updateQueue; if (null !== finishedRoot) { var instance = current.stateNode; try { var hiddenCallbacks = finishedRoot.shared.hiddenCallbacks; if (null !== hiddenCallbacks) for ( finishedRoot.shared.hiddenCallbacks = null, finishedRoot = 0; finishedRoot < hiddenCallbacks.length; finishedRoot++ ) callCallback(hiddenCallbacks[finishedRoot], instance); } catch (error) { captureCommitPhaseError(current, current.return, error); } } includeWorkInProgressEffects && flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; case 27: commitHostSingletonAcquisition(finishedWork); case 26: case 5: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); includeWorkInProgressEffects && null === current && flags & 4 && commitHostMount(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; case 12: includeWorkInProgressEffects && flags & 4 ? ((flags = pushNestedEffectDurations()), recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ), (finishedRoot = finishedWork.stateNode), (finishedRoot.effectDuration += bubbleNestedEffectDurations(flags)), commitProfilerUpdate( finishedWork, current, commitStartTime, finishedRoot.effectDuration )) : recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); break; case 31: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); includeWorkInProgressEffects && flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork); break; case 13: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); includeWorkInProgressEffects && flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); break; case 22: null === finishedWork.memoizedState && recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); safelyAttachRef(finishedWork, finishedWork.return); break; case 30: break; default: recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, includeWorkInProgressEffects ); } 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; parentFiber = parentFiber.sibling; }}function commitOffscreenPassiveMountEffects(current, finishedWork) { var previousCache = null; null !== current && null !== current.memoizedState && null !== current.memoizedState.cachePool && (previousCache = current.memoizedState.cachePool.pool); current = null; null !== finishedWork.memoizedState && null !== finishedWork.memoizedState.cachePool && (current = finishedWork.memoizedState.cachePool.pool); current !== previousCache && (null != current && current.refCount++, null != previousCache && releaseCache(previousCache));}function commitCachePassiveMountEffect(current, finishedWork) { current = null; null !== finishedWork.alternate && (current = finishedWork.alternate.memoizedState.cache); finishedWork = finishedWork.memoizedState.cache; finishedWork !== current && (finishedWork.refCount++, null != current && releaseCache(current));}function recursivelyTraversePassiveMountEffects( root, parentFiber, committedLanes, committedTransitions, endTime) { if ( parentFiber.subtreeFlags & 10256 || (0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) ) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var nextSibling = parentFiber.sibling; commitPassiveMountOnFiber( root, parentFiber, committedLanes, committedTransitions, null !== nextSibling ? nextSibling.actualStartTime : endTime ); parentFiber = nextSibling; }}var inHydratedSubtree = !1;function commitPassiveMountOnFiber( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) { var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: case 15: 0 !== (finishedWork.mode & 2) && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender( finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree ); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 1: 0 !== (finishedWork.mode & 2) && 0 < finishedWork.actualStartTime && (0 !== (finishedWork.flags & 128) ? logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime ) : 0 !== (finishedWork.flags & 1) && logComponentRender( finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree )); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); break; case 3: var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; inHydratedSubtree = null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); inHydratedSubtree = wasInHydratedSubtree; flags & 2048 && ((committedLanes = null), null !== finishedWork.alternate && (committedLanes = finishedWork.alternate.memoizedState.cache), (committedTransitions = finishedWork.memoizedState.cache), committedTransitions !== committedLanes && (committedTransitions.refCount++, null != committedLanes && releaseCache(committedLanes))); finishedRoot.passiveEffectDuration += popNestedEffectDurations( prevProfilerEffectDuration ); break; case 12: if (flags & 2048) { flags = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); finishedRoot = finishedWork.stateNode; finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations(flags); try { prevProfilerEffectDuration = finishedWork.memoizedProps; wasInHydratedSubtree = prevProfilerEffectDuration.id; var onPostCommit = prevProfilerEffectDuration.onPostCommit, phase = null === finishedWork.alternate ? "mount" : "update"; currentUpdateIsNested && (phase = "nested-update"); "function" === typeof onPostCommit && onPostCommit( wasInHydratedSubtree, phase, finishedRoot.passiveEffectDuration, commitStartTime ); } catch (error) { captureCommitPhaseError(finishedWork, finishedWork.return, error); } } else recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); break; case 31: flags = inHydratedSubtree; prevProfilerEffectDuration = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; wasInHydratedSubtree = finishedWork.memoizedState; null !== prevProfilerEffectDuration && null === wasInHydratedSubtree ? ((wasInHydratedSubtree = finishedWork.deletions), null !== wasInHydratedSubtree && 0 < wasInHydratedSubtree.length && 18 === wasInHydratedSubtree[0].tag ? ((inHydratedSubtree = !1), null !== prevProfilerEffectDuration.hydrationErrors && logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime )) : (inHydratedSubtree = !0)) : (inHydratedSubtree = !1); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); inHydratedSubtree = flags; break; case 13: flags = inHydratedSubtree; prevProfilerEffectDuration = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; wasInHydratedSubtree = finishedWork.memoizedState; null === prevProfilerEffectDuration || null === prevProfilerEffectDuration.dehydrated || (null !== wasInHydratedSubtree && null !== wasInHydratedSubtree.dehydrated) ? (inHydratedSubtree = !1) : ((wasInHydratedSubtree = finishedWork.deletions), null !== wasInHydratedSubtree && 0 < wasInHydratedSubtree.length && 18 === wasInHydratedSubtree[0].tag ? ((inHydratedSubtree = !1), null !== prevProfilerEffectDuration.hydrationErrors && logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime )) : (inHydratedSubtree = !0)); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); inHydratedSubtree = flags; break; case 23: break; case 22: wasInHydratedSubtree = finishedWork.stateNode; prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState ? wasInHydratedSubtree._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ) : recursivelyTraverseAtomicPassiveEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ) : wasInHydratedSubtree._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ) : ((wasInHydratedSubtree._visibility |= 2), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256) || (0 !== finishedWork.actualDuration && (null === finishedWork.alternate || finishedWork.alternate.child !== finishedWork.child)), endTime ), 0 === (finishedWork.mode & 2) || inHydratedSubtree || ((finishedRoot = finishedWork.actualStartTime), 0 <= finishedRoot && 0.05 < endTime - finishedRoot && logComponentReappeared(finishedWork, finishedRoot, endTime), 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared( finishedWork, componentEffectStartTime, componentEffectEndTime ))); flags & 2048 && commitOffscreenPassiveMountEffects( prevProfilerEffectDuration, finishedWork ); break; case 24: recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions, endTime ); } if (0 !== (finishedWork.mode & 2)) { if ( (finishedRoot = !inHydratedSubtree && null === finishedWork.alternate && null !== finishedWork.return && null !== finishedWork.return.alternate) ) (committedLanes = finishedWork.actualStartTime), 0 <= committedLanes && 0.05 < endTime - committedLanes && logComponentTrigger(finishedWork, committedLanes, endTime, "Mount"); 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && ((componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ), finishedRoot && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( finishedWork, componentEffectStartTime, componentEffectEndTime, "Mount" )); } popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate;}function recursivelyTraverseReconnectPassiveEffects( finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, includeWorkInProgressEffects, endTime$jscomp$0) { includeWorkInProgressEffects = includeWorkInProgressEffects && (0 !== (parentFiber.subtreeFlags & 10256) || (0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child))); for (var child = parentFiber.child; null !== child; ) { parentFiber = child.sibling; var finishedRoot = finishedRoot$jscomp$0, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); includeWorkInProgressEffects && 0 !== (child.mode & 2) && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender( child, child.actualStartTime, endTime, inHydratedSubtree ); var flags = child.flags; switch (child.tag) { case 0: case 11: case 15: recursivelyTraverseReconnectPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime ); commitHookPassiveMountEffects(child, 8); break; case 23: break; case 22: var instance = child.stateNode; null !== child.memoizedState ? instance._visibility & 2 ? recursivelyTraverseReconnectPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime ) : recursivelyTraverseAtomicPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, endTime ) : ((instance._visibility |= 2), recursivelyTraverseReconnectPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime )); includeWorkInProgressEffects && flags & 2048 && commitOffscreenPassiveMountEffects(child.alternate, child); break; case 24: recursivelyTraverseReconnectPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime ); includeWorkInProgressEffects && flags & 2048 && commitCachePassiveMountEffect(child.alternate, child); break; default: recursivelyTraverseReconnectPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime ); } 0 !== (child.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( child, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; child = parentFiber; }}function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, endTime$jscomp$0) { if ( parentFiber.subtreeFlags & 10256 || (0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) ) for (var child = parentFiber.child; null !== child; ) { parentFiber = child.sibling; var finishedRoot = finishedRoot$jscomp$0, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0; 0 !== (child.mode & 2) && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender( child, child.actualStartTime, endTime, inHydratedSubtree ); var flags = child.flags; switch (child.tag) { case 22: recursivelyTraverseAtomicPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, endTime ); flags & 2048 && commitOffscreenPassiveMountEffects(child.alternate, child); break; case 24: recursivelyTraverseAtomicPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, endTime ); flags & 2048 && commitCachePassiveMountEffect(child.alternate, child); break; default: recursivelyTraverseAtomicPassiveEffects( finishedRoot, child, committedLanes, committedTransitions, endTime ); } child = parentFiber; }}var suspenseyCommitFlag = 8192;function recursivelyAccumulateSuspenseyCommit( parentFiber, committedLanes, suspendedState) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) accumulateSuspenseyCommitOnFiber( parentFiber, committedLanes, suspendedState ), (parentFiber = parentFiber.sibling);}function accumulateSuspenseyCommitOnFiber( fiber, committedLanes, suspendedState) { switch (fiber.tag) { case 26: recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState ); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState ); currentHoistableRoot = previousHoistableRoot; break; case 22: null === fiber.memoizedState && ((previousHoistableRoot = fiber.alternate), null !== previousHoistableRoot && null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState ), (suspenseyCommitFlag = previousHoistableRoot)) : recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState )); break; default: recursivelyAccumulateSuspenseyCommit( fiber, committedLanes, suspendedState ); }}function detachAlternateSiblings(parentFiber) { var previousFiber = parentFiber.alternate; if ( null !== previousFiber && ((parentFiber = previousFiber.child), null !== parentFiber) ) { previousFiber.child = null; do (previousFiber = parentFiber.sibling), (parentFiber.sibling = null), (parentFiber = previousFiber); while (null !== parentFiber); }}function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); 0 !== (childToDelete.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount" ); popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling);}function commitPassiveUnmountOnFiber(finishedWork) { var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); switch (finishedWork.tag) { case 0: case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.flags & 2048 && commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9); break; case 3: var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations( prevProfilerEffectDuration ); break; case 12: prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && prevProfilerEffectDuration._visibility & 2 && (null === finishedWork.return || 13 !== finishedWork.return.tag) ? ((prevProfilerEffectDuration._visibility &= -3), recursivelyTraverseDisconnectPassiveEffects(finishedWork), 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect" )) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: recursivelyTraversePassiveUnmountEffects(finishedWork); } 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( finishedWork, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; componentEffectErrors = prevEffectErrors;}function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); 0 !== (childToDelete.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger( childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount" ); popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } for (parentFiber = parentFiber.child; null !== parentFiber; ) { deletions = parentFiber; i = pushComponentEffectStart(); childToDelete = pushComponentEffectDuration(); prevEffectStart = pushComponentEffectErrors(); var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); switch (deletions.tag) { case 0: case 11: case 15: commitHookPassiveUnmountEffects(deletions, deletions.return, 8); recursivelyTraverseDisconnectPassiveEffects(deletions); break; case 22: var instance = deletions.stateNode; instance._visibility & 2 && ((instance._visibility &= -3), recursivelyTraverseDisconnectPassiveEffects(deletions)); break; default: recursivelyTraverseDisconnectPassiveEffects(deletions); } 0 !== (deletions.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( deletions, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(i); popComponentEffectDuration(childToDelete); componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; componentEffectErrors = prevEffectStart; parentFiber = parentFiber.sibling; }}function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, nearestMountedAncestor$jscomp$0) { for (; null !== nextEffect; ) { var fiber = nextEffect, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(); switch (fiber.tag) { case 0: case 11: case 15: commitHookPassiveUnmountEffects(fiber, nearestMountedAncestor, 8); break; case 23: case 22: null !== fiber.memoizedState && null !== fiber.memoizedState.cachePool && ((nearestMountedAncestor = fiber.memoizedState.cachePool.pool), null != nearestMountedAncestor && nearestMountedAncestor.refCount++); break; case 24: releaseCache(fiber.memoizedState.cache); } 0 !== (fiber.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && (componentEffectSpawnedUpdate || 0.05 < componentEffectDuration) && logComponentEffect( fiber, componentEffectStartTime, componentEffectEndTime, componentEffectDuration, componentEffectErrors ); popComponentEffectStart(prevEffectStart); popComponentEffectDuration(prevEffectDuration); componentEffectSpawnedUpdate = prevEffectDidSpawnUpdate; componentEffectErrors = prevEffectErrors; prevEffectStart = fiber.child; if (null !== prevEffectStart) (prevEffectStart.return = fiber), (nextEffect = prevEffectStart); else a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { prevEffectStart = nextEffect; prevEffectDuration = prevEffectStart.sibling; prevEffectErrors = prevEffectStart.return; detachFiberAfterEffects(prevEffectStart); if (prevEffectStart === fiber) { nextEffect = null; break a; } if (null !== prevEffectDuration) { prevEffectDuration.return = prevEffectErrors; nextEffect = prevEffectDuration; break a; } nextEffect = prevEffectErrors; } }}var DefaultAsyncDispatcher = { getCacheForType: function (resourceType) { var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType); void 0 === cacheForType && ((cacheForType = resourceType()), cache.data.set(resourceType, cacheForType)); return cacheForType; }, cacheSignal: function () { return readContext(CacheContext).controller.signal; } }, PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, executionContext = 0, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, workInProgressSuspendedReason = 0, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = 0, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, workInProgressRootRenderTargetTime = Infinity, workInProgressTransitions = null, legacyErrorBoundariesThatAlreadyFailed = null, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingEffectsRenderEndTime = -0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, pendingSuspendedCommitReason = null, pendingDelayedCommitReason = 0, pendingSuspendedViewTransitionReason = null, nestedUpdateCount = 0, rootWithNestedUpdates = null;function requestUpdateLane() { return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T ? requestTransitionLane() : resolveUpdatePriority();}function requestDeferredLane() { if (0 === workInProgressDeferredLane) if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { var lane = nextTransitionDeferredLane; nextTransitionDeferredLane <<= 1; 0 === (nextTransitionDeferredLane & 3932160) && (nextTransitionDeferredLane = 262144); workInProgressDeferredLane = lane; } else workInProgressDeferredLane = 536870912; lane = suspenseHandlerStackCursor.current; null !== lane && (lane.flags |= 32); return workInProgressDeferredLane;}function scheduleUpdateOnFiber(root, fiber, lane) { if ( (root === workInProgressRoot && (2 === workInProgressSuspendedReason || 9 === workInProgressSuspendedReason)) || null !== root.cancelPendingCommit ) prepareFreshStack(root, 0), markRootSuspended( root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1 ); markRootUpdated$1(root, lane); if (0 === (executionContext & 2) || root !== workInProgressRoot) isDevToolsPresent && addFiberToLanesMap(root, fiber, lane), root === workInProgressRoot && (0 === (executionContext & 2) && (workInProgressRootInterleavedUpdatedLanes |= lane), 4 === workInProgressRootExitStatus && markRootSuspended( root, workInProgressRootRenderLanes, workInProgressDeferredLane, !1 )), ensureRootIsScheduled(root);}function performWorkOnRoot(root$jscomp$0, lanes, forceSync) { if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327)); if (0 !== workInProgressRootRenderLanes && null !== workInProgress) { var yieldEndTime = now$1(); switch (yieldReason) { case 3: case 2: supportsUserTiming && console.timeStamp( "Suspended", yieldStartTime, yieldEndTime, "Components \u269b", void 0, "primary-light" ); break; case 9: supportsUserTiming && console.timeStamp( "Action", yieldStartTime, yieldEndTime, "Components \u269b", void 0, "primary-light" ); break; default: if (supportsUserTiming) { var yieldDuration = yieldEndTime - yieldStartTime; 3 > yieldDuration || console.timeStamp( "Blocked", yieldStartTime, yieldEndTime, "Components \u269b", void 0, 5 > yieldDuration ? "primary-light" : 10 > yieldDuration ? "primary" : 100 > yieldDuration ? "primary-dark" : "error" ); } } } var exitStatus = (yieldEndTime = (!forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes)) || checkIfRootIsPrerendering(root$jscomp$0, lanes)) ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0), renderWasConcurrent = yieldEndTime; do { if (0 === exitStatus) { workInProgressRootIsPrerendering && !yieldEndTime && markRootSuspended(root$jscomp$0, lanes, 0, !1); lanes = workInProgressSuspendedReason; yieldStartTime = now(); yieldReason = lanes; break; } else { yieldDuration = now$1(); forceSync = root$jscomp$0.current.alternate; if ( renderWasConcurrent && !isRenderConsistentWithExternalStores(forceSync) ) { setCurrentTrackFromLanes(lanes); !supportsUserTiming || yieldDuration <= renderStartTime || console.timeStamp( "Teared Render", renderStartTime, yieldDuration, currentTrack, "Scheduler \u269b", "error" ); finalizeRender(lanes, yieldDuration); exitStatus = renderRootSync(root$jscomp$0, lanes, !1); renderWasConcurrent = !1; continue; } if (2 === exitStatus) { renderWasConcurrent = lanes; if (root$jscomp$0.errorRecoveryDisabledLanes & renderWasConcurrent) var JSCompiler_inline_result = 0; else (JSCompiler_inline_result = root$jscomp$0.pendingLanes & -536870913), (JSCompiler_inline_result = 0 !== JSCompiler_inline_result ? JSCompiler_inline_result : JSCompiler_inline_result & 536870912 ? 536870912 : 0); if (0 !== JSCompiler_inline_result) { setCurrentTrackFromLanes(lanes); logErroredRenderPhase(renderStartTime, yieldDuration); finalizeRender(lanes, yieldDuration); lanes = JSCompiler_inline_result; var root = root$jscomp$0; yieldDuration = workInProgressRootConcurrentErrors; var wasRootDehydrated = root.current.memoizedState.isDehydrated; wasRootDehydrated && (prepareFreshStack(root, JSCompiler_inline_result).flags |= 256); exitStatus = renderRootSync(root, JSCompiler_inline_result, !1); 2 !== exitStatus && (workInProgressRootDidAttachPingListener && !wasRootDehydrated ? ((root.errorRecoveryDisabledLanes |= renderWasConcurrent), (workInProgressRootInterleavedUpdatedLanes |= renderWasConcurrent), (exitStatus = 4)) : ((renderWasConcurrent = workInProgressRootRecoverableErrors), (workInProgressRootRecoverableErrors = yieldDuration), null !== renderWasConcurrent && ((yieldDuration = renderWasConcurrent), null === workInProgressRootRecoverableErrors ? (workInProgressRootRecoverableErrors = yieldDuration) : workInProgressRootRecoverableErrors.push.apply( workInProgressRootRecoverableErrors, yieldDuration )))); renderWasConcurrent = !1; if (2 !== exitStatus) continue; else yieldDuration = now$1(); } } if (1 === exitStatus) { setCurrentTrackFromLanes(lanes); logErroredRenderPhase(renderStartTime, yieldDuration); finalizeRender(lanes, yieldDuration); prepareFreshStack(root$jscomp$0, 0); markRootSuspended(root$jscomp$0, lanes, 0, !0); break; } a: { yieldEndTime = root$jscomp$0; renderWasConcurrent = exitStatus; switch (renderWasConcurrent) { case 0: case 1: throw Error(formatProdErrorMessage(345)); case 4: if ((lanes & 4194048) !== lanes) break; case 6: setCurrentTrackFromLanes(lanes); logSuspendedRenderPhase(renderStartTime, yieldDuration, lanes); finalizeRender(lanes, yieldDuration); forceSync = lanes; 0 !== (forceSync & 127) ? (blockingSuspendedTime = yieldDuration) : 0 !== (forceSync & 4194048) && (transitionSuspendedTime = yieldDuration); markRootSuspended( yieldEndTime, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings ); break a; case 2: workInProgressRootRecoverableErrors = null; break; case 3: case 5: break; default: throw Error(formatProdErrorMessage(329)); } if ( (lanes & 62914560) === lanes && ((exitStatus = globalMostRecentFallbackTime + 300 - now$1()), 10 < exitStatus) ) { markRootSuspended( yieldEndTime, lanes, workInProgressDeferredLane, !workInProgressRootDidSkipSuspendedSiblings ); if (0 !== getNextLanes(yieldEndTime, 0, !0)) break a; pendingEffectsLanes = lanes; yieldEndTime.timeoutHandle = scheduleTimeout( commitRootWhenReady.bind( null, yieldEndTime, forceSync, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, renderWasConcurrent, "Throttled", renderStartTime, yieldDuration ), exitStatus ); break a; } commitRootWhenReady( yieldEndTime, forceSync, workInProgressRootRecoverableErrors, workInProgressTransitions, workInProgressRootDidIncludeRecursiveRenderUpdate, lanes, workInProgressDeferredLane, workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, workInProgressRootDidSkipSuspendedSiblings, renderWasConcurrent, null, renderStartTime, yieldDuration ); } } break; } while (1); ensureRootIsScheduled(root$jscomp$0);}function commitRootWhenReady( root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, exitStatus, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { root.timeoutHandle = -1; var subtreeFlags = finishedWork.subtreeFlags, suspendedState = null; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if ( ((suspendedState = { stylesheets: null, count: 0, imgCount: 0, imgBytes: 0, suspenseyImages: [], waitingForImages: !0, waitingForViewTransition: !1, unsuspend: noop$1 }), accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), (subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0), (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)), null !== subtreeFlags) ) { pendingEffectsLanes = lanes; root.cancelPendingCommit = subtreeFlags( commitRoot.bind( null, root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedState.waitingForViewTransition ? "Waiting for the previous Animation" : 0 < suspendedState.count ? 0 < suspendedState.imgCount ? "Suspended on CSS and Images" : "Suspended on CSS" : 1 === suspendedState.imgCount ? "Suspended on an Image" : 0 < suspendedState.imgCount ? "Suspended on Images" : null, completedRenderStartTime, completedRenderEndTime ) ); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); return; } commitRoot( root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime );}function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { var tag = node.tag; if ( (0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && ((tag = node.updateQueue), null !== tag && ((tag = tag.stores), null !== tag)) ) for (var i = 0; i < tag.length; i++) { var check = tag[i], getSnapshot = check.getSnapshot; check = check.value; try { if (!objectIs(getSnapshot(), check)) return !1; } catch (error) { return !1; } } tag = node.child; if (node.subtreeFlags & 16384 && null !== tag) (tag.return = node), (node = tag); else { if (node === finishedWork) break; for (; null === node.sibling; ) { if (null === node.return || node.return === finishedWork) return !0; node = node.return; } node.sibling.return = node.return; node = node.sibling; } } return !0;}function markRootSuspended( root, suspendedLanes, spawnedLane, didAttemptEntireTree) { suspendedLanes &= ~workInProgressRootPingedLanes; suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes; root.suspendedLanes |= suspendedLanes; root.pingedLanes &= ~suspendedLanes; didAttemptEntireTree && (root.warmLanes |= suspendedLanes); didAttemptEntireTree = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { var index$6 = 31 - clz32(lanes), lane = 1 << index$6; didAttemptEntireTree[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);}function flushSyncWork$1() { return 0 === (executionContext & 6) ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0;}function resetWorkInProgressStack() { if (null !== workInProgress) { if (0 === workInProgressSuspendedReason) var interruptedWork = workInProgress.return; else (interruptedWork = workInProgress), (lastContextDependency = currentlyRenderingFiber$1 = null), resetHooksOnUnwind(interruptedWork), (thenableState$1 = null), (thenableIndexCounter$1 = 0), (interruptedWork = workInProgress); for (; null !== interruptedWork; ) unwindInterruptedWork(interruptedWork.alternate, interruptedWork), (interruptedWork = interruptedWork.return); workInProgress = null; }}function finalizeRender(lanes, finalizationTime) { 0 !== (lanes & 127) && (blockingClampTime = finalizationTime); 0 !== (lanes & 4194048) && (transitionClampTime = finalizationTime);}function prepareFreshStack(root, lanes) { supportsUserTiming && (console.timeStamp( "Blocking Track", 0.003, 0.003, "Blocking", "Scheduler \u269b", "primary-light" ), console.timeStamp( "Transition Track", 0.003, 0.003, "Transition", "Scheduler \u269b", "primary-light" ), console.timeStamp( "Suspense Track", 0.003, 0.003, "Suspense", "Scheduler \u269b", "primary-light" ), console.timeStamp( "Idle Track", 0.003, 0.003, "Idle", "Scheduler \u269b", "primary-light" )); var previousRenderStartTime = renderStartTime; renderStartTime = now(); if (0 !== workInProgressRootRenderLanes && 0 < previousRenderStartTime) { setCurrentTrackFromLanes(workInProgressRootRenderLanes); if ( 3 === workInProgressRootExitStatus || 4 === workInProgressRootExitStatus ) logSuspendedRenderPhase(previousRenderStartTime, renderStartTime, lanes); else { var endTime = renderStartTime; !supportsUserTiming || endTime <= previousRenderStartTime || console.timeStamp( (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render", previousRenderStartTime, endTime, currentTrack, "Scheduler \u269b", (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark" ); } finalizeRender(workInProgressRootRenderLanes, renderStartTime); } if (0 !== (lanes & 127)) { previousRenderStartTime = 0 <= blockingUpdateTime && blockingUpdateTime < blockingClampTime ? blockingClampTime : blockingUpdateTime; endTime = 0 <= blockingEventTime && blockingEventTime < blockingClampTime ? blockingClampTime : blockingEventTime; var clampedRenderStartTime$203 = 0 <= endTime ? endTime : 0 <= previousRenderStartTime ? previousRenderStartTime : renderStartTime; 0 <= blockingSuspendedTime && (setCurrentTrackFromLanes(2), logSuspendedWithDelayPhase( blockingSuspendedTime, clampedRenderStartTime$203, lanes )); clampedRenderStartTime$203 = blockingEventType; var eventIsRepeat = 0 < blockingEventRepeatTime, isSpawnedUpdate = 1 === blockingUpdateType, isPingedUpdate = 2 === blockingUpdateType, renderStartTime$jscomp$0 = renderStartTime; supportsUserTiming && ((currentTrack = "Blocking"), 0 < previousRenderStartTime ? previousRenderStartTime > renderStartTime$jscomp$0 && (previousRenderStartTime = renderStartTime$jscomp$0) : (previousRenderStartTime = renderStartTime$jscomp$0), 0 < endTime ? endTime > previousRenderStartTime && (endTime = previousRenderStartTime) : (endTime = previousRenderStartTime), null !== clampedRenderStartTime$203 && previousRenderStartTime > endTime && console.timeStamp( eventIsRepeat ? "Consecutive" : "Event: " + clampedRenderStartTime$203, endTime, previousRenderStartTime, currentTrack, "Scheduler \u269b", eventIsRepeat ? "secondary-light" : "warning" ), renderStartTime$jscomp$0 > previousRenderStartTime && console.timeStamp( isPingedUpdate ? "Promise Resolved" : isSpawnedUpdate ? "Cascading Update" : 5 < renderStartTime$jscomp$0 - previousRenderStartTime ? "Update Blocked" : "Update", previousRenderStartTime, renderStartTime$jscomp$0, currentTrack, "Scheduler \u269b", isSpawnedUpdate ? "error" : (lanes & 738197653) === lanes ? "tertiary-light" : "primary-light" )); blockingUpdateTime = -1.1; blockingUpdateType = 0; blockingSuspendedTime = -1.1; blockingEventRepeatTime = blockingEventTime; blockingEventTime = -1.1; blockingClampTime = now(); } 0 !== (lanes & 4194048) && ((previousRenderStartTime = 0 <= transitionStartTime && transitionStartTime < transitionClampTime ? transitionClampTime : transitionStartTime), (endTime = 0 <= transitionUpdateTime && transitionUpdateTime < transitionClampTime ? transitionClampTime : transitionUpdateTime), (clampedRenderStartTime$203 = 0 <= transitionEventTime && transitionEventTime < transitionClampTime ? transitionClampTime : transitionEventTime), (eventIsRepeat = 0 <= clampedRenderStartTime$203 ? clampedRenderStartTime$203 : 0 <= endTime ? endTime : renderStartTime), 0 <= transitionSuspendedTime && (setCurrentTrackFromLanes(256), logSuspendedWithDelayPhase( transitionSuspendedTime, eventIsRepeat, lanes )), (eventIsRepeat = transitionEventType), (isSpawnedUpdate = 0 < transitionEventRepeatTime), (isPingedUpdate = 2 === transitionUpdateType), (renderStartTime$jscomp$0 = renderStartTime), supportsUserTiming && ((currentTrack = "Transition"), 0 < endTime ? endTime > renderStartTime$jscomp$0 && (endTime = renderStartTime$jscomp$0) : (endTime = renderStartTime$jscomp$0), 0 < previousRenderStartTime ? previousRenderStartTime > endTime && (previousRenderStartTime = endTime) : (previousRenderStartTime = endTime), 0 < clampedRenderStartTime$203 ? clampedRenderStartTime$203 > previousRenderStartTime && (clampedRenderStartTime$203 = previousRenderStartTime) : (clampedRenderStartTime$203 = previousRenderStartTime), previousRenderStartTime > clampedRenderStartTime$203 && null !== eventIsRepeat && console.timeStamp( isSpawnedUpdate ? "Consecutive" : "Event: " + eventIsRepeat, clampedRenderStartTime$203, previousRenderStartTime, currentTrack, "Scheduler \u269b", isSpawnedUpdate ? "secondary-light" : "warning" ), endTime > previousRenderStartTime && console.timeStamp( "Action", previousRenderStartTime, endTime, currentTrack, "Scheduler \u269b", "primary-dark" ), renderStartTime$jscomp$0 > endTime && console.timeStamp( isPingedUpdate ? "Promise Resolved" : 5 < renderStartTime$jscomp$0 - endTime ? "Update Blocked" : "Update", endTime, renderStartTime$jscomp$0, currentTrack, "Scheduler \u269b", "primary-light" )), (transitionUpdateTime = transitionStartTime = -1.1), (transitionUpdateType = 0), (transitionSuspendedTime = -1.1), (transitionEventRepeatTime = transitionEventTime), (transitionEventTime = -1.1), (transitionClampTime = now())); previousRenderStartTime = root.timeoutHandle; -1 !== previousRenderStartTime && ((root.timeoutHandle = -1), cancelTimeout(previousRenderStartTime)); previousRenderStartTime = root.cancelPendingCommit; null !== previousRenderStartTime && ((root.cancelPendingCommit = null), previousRenderStartTime()); pendingEffectsLanes = 0; resetWorkInProgressStack(); workInProgressRoot = root; workInProgress = previousRenderStartTime = createWorkInProgress( root.current, null ); workInProgressRootRenderLanes = lanes; workInProgressSuspendedReason = 0; workInProgressThrownValue = null; workInProgressRootDidSkipSuspendedSiblings = !1; workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); workInProgressRootDidAttachPingListener = !1; workInProgressSuspendedRetryLanes = workInProgressDeferredLane = workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = workInProgressRootExitStatus = 0; workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 0 !== (lanes & 8) && (lanes |= lanes & 32); endTime = root.entangledLanes; if (0 !== endTime) for (root = root.entanglements, endTime &= lanes; 0 < endTime; ) (clampedRenderStartTime$203 = 31 - clz32(endTime)), (eventIsRepeat = 1 << clampedRenderStartTime$203), (lanes |= root[clampedRenderStartTime$203]), (endTime &= ~eventIsRepeat); entangledRenderLanes = lanes; finishQueueingConcurrentUpdates(); return previousRenderStartTime;}function handleThrow(root, thrownValue) { currentlyRenderingFiber = null; ReactSharedInternals.H = ContextOnlyDispatcher; thrownValue === SuspenseException || thrownValue === SuspenseActionException ? ((thrownValue = getSuspendedThenable()), (workInProgressSuspendedReason = 3)) : thrownValue === SuspenseyCommitException ? ((thrownValue = getSuspendedThenable()), (workInProgressSuspendedReason = 4)) : (workInProgressSuspendedReason = thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && "object" === typeof thrownValue && "function" === typeof thrownValue.then ? 6 : 1); workInProgressThrownValue = thrownValue; var erroredWork = workInProgress; null === erroredWork ? ((workInProgressRootExitStatus = 1), logUncaughtError( root, createCapturedValueAtFiber(thrownValue, root.current) )) : erroredWork.mode & 2 && stopProfilerTimerIfRunningAndRecordDuration(erroredWork);}function shouldRemainOnPreviousScreen() { var handler = suspenseHandlerStackCursor.current; return null === handler ? !0 : (workInProgressRootRenderLanes & 4194048) === workInProgressRootRenderLanes ? null === shellBoundary ? !0 : !1 : (workInProgressRootRenderLanes & 62914560) === workInProgressRootRenderLanes || 0 !== (workInProgressRootRenderLanes & 536870912) ? handler === shellBoundary : !1;}function pushDispatcher() { var prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = ContextOnlyDispatcher; return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;}function pushAsyncDispatcher() { var prevAsyncDispatcher = ReactSharedInternals.A; ReactSharedInternals.A = DefaultAsyncDispatcher; return prevAsyncDispatcher;}function renderDidSuspendDelayIfPossible() { workInProgressRootExitStatus = 4; workInProgressRootDidSkipSuspendedSiblings || ((workInProgressRootRenderLanes & 4194048) !== workInProgressRootRenderLanes && null !== suspenseHandlerStackCursor.current) || (workInProgressRootIsPrerendering = !0); (0 === (workInProgressRootSkippedLanes & 134217727) && 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) || null === workInProgressRoot || markRootSuspended( workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane, !1 );}function renderRootSync(root, lanes, shouldYieldForPrerendering) { var prevExecutionContext = executionContext; executionContext |= 2; var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { if (isDevToolsPresent) { var memoizedUpdaters = root.memoizedUpdaters; 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); movePendingFibersToMemoized(root, lanes); } workInProgressTransitions = null; prepareFreshStack(root, lanes); } lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; a: do try { if (0 !== workInProgressSuspendedReason && null !== workInProgress) { var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue; switch (workInProgressSuspendedReason) { case 8: resetWorkInProgressStack(); memoizedUpdaters = 6; break a; case 3: case 2: case 9: case 6: null === suspenseHandlerStackCursor.current && (lanes = !0); var reason = workInProgressSuspendedReason; workInProgressSuspendedReason = 0; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); if ( shouldYieldForPrerendering && workInProgressRootIsPrerendering ) { memoizedUpdaters = 0; break a; } break; default: (reason = workInProgressSuspendedReason), (workInProgressSuspendedReason = 0), (workInProgressThrownValue = null), throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); } } workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; } catch (thrownValue$208) { handleThrow(root, thrownValue$208); } while (1); lanes && root.shellSuspendCounter++; lastContextDependency = currentlyRenderingFiber$1 = null; executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; null === workInProgress && ((workInProgressRoot = null), (workInProgressRootRenderLanes = 0), finishQueueingConcurrentUpdates()); return memoizedUpdaters;}function workLoopSync() { for (; null !== workInProgress; ) performUnitOfWork(workInProgress);}function renderRootConcurrent(root, lanes) { var prevExecutionContext = executionContext; executionContext |= 2; var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher(); if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) { if (isDevToolsPresent) { var memoizedUpdaters = root.memoizedUpdaters; 0 < memoizedUpdaters.size && (restorePendingUpdaters(root, workInProgressRootRenderLanes), memoizedUpdaters.clear()); movePendingFibersToMemoized(root, lanes); } workInProgressTransitions = null; workInProgressRootRenderTargetTime = now$1() + 500; prepareFreshStack(root, lanes); } else workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); a: do try { if (0 !== workInProgressSuspendedReason && null !== workInProgress) b: switch ( ((lanes = workInProgress), (memoizedUpdaters = workInProgressThrownValue), workInProgressSuspendedReason) ) { case 1: workInProgressSuspendedReason = 0; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, 1); break; case 2: case 9: if (isThenableResolved(memoizedUpdaters)) { workInProgressSuspendedReason = 0; workInProgressThrownValue = null; replaySuspendedUnitOfWork(lanes); break; } lanes = function () { (2 !== workInProgressSuspendedReason && 9 !== workInProgressSuspendedReason) || workInProgressRoot !== root || (workInProgressSuspendedReason = 7); ensureRootIsScheduled(root); }; memoizedUpdaters.then(lanes, lanes); break a; case 3: workInProgressSuspendedReason = 7; break a; case 4: workInProgressSuspendedReason = 5; break a; case 7: isThenableResolved(memoizedUpdaters) ? ((workInProgressSuspendedReason = 0), (workInProgressThrownValue = null), replaySuspendedUnitOfWork(lanes)) : ((workInProgressSuspendedReason = 0), (workInProgressThrownValue = null), throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, 7)); break; case 5: var resource = null; switch (workInProgress.tag) { case 26: resource = workInProgress.memoizedState; case 5: case 27: var hostFiber = workInProgress; if ( resource ? preloadResource(resource) : hostFiber.stateNode.complete ) { workInProgressSuspendedReason = 0; workInProgressThrownValue = null; var sibling = hostFiber.sibling; if (null !== sibling) workInProgress = sibling; else { var returnFiber = hostFiber.return; null !== returnFiber ? ((workInProgress = returnFiber), completeUnitOfWork(returnFiber)) : (workInProgress = null); } break b; } } workInProgressSuspendedReason = 0; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, 5); break; case 6: workInProgressSuspendedReason = 0; workInProgressThrownValue = null; throwAndUnwindWorkLoop(root, lanes, memoizedUpdaters, 6); break; case 8: resetWorkInProgressStack(); workInProgressRootExitStatus = 6; break a; default: throw Error(formatProdErrorMessage(462)); } workLoopConcurrentByScheduler(); break; } catch (thrownValue$210) { handleThrow(root, thrownValue$210); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; if (null !== workInProgress) return 0; workInProgressRoot = null; workInProgressRootRenderLanes = 0; finishQueueingConcurrentUpdates(); return workInProgressRootExitStatus;}function workLoopConcurrentByScheduler() { for (; null !== workInProgress && !shouldYield(); ) performUnitOfWork(workInProgress);}function performUnitOfWork(unitOfWork) { var current = unitOfWork.alternate; 0 !== (unitOfWork.mode & 2) ? (startProfilerTimer(unitOfWork), (current = beginWork(current, unitOfWork, entangledRenderLanes)), stopProfilerTimerIfRunningAndRecordDuration(unitOfWork)) : (current = beginWork(current, unitOfWork, entangledRenderLanes)); unitOfWork.memoizedProps = unitOfWork.pendingProps; null === current ? completeUnitOfWork(unitOfWork) : (workInProgress = current);}function replaySuspendedUnitOfWork(unitOfWork) { var next = unitOfWork; var current = next.alternate, isProfilingMode = 0 !== (next.mode & 2); isProfilingMode && startProfilerTimer(next); switch (next.tag) { case 15: case 0: current = replayFunctionComponent( current, next, next.pendingProps, next.type, void 0, workInProgressRootRenderLanes ); break; case 11: current = replayFunctionComponent( current, next, next.pendingProps, next.type.render, next.ref, workInProgressRootRenderLanes ); break; case 5: resetHooksOnUnwind(next); default: unwindInterruptedWork(current, next), (next = workInProgress = resetWorkInProgress(next, entangledRenderLanes)), (current = beginWork(current, next, entangledRenderLanes)); } isProfilingMode && stopProfilerTimerIfRunningAndRecordDuration(next); next = current; unitOfWork.memoizedProps = unitOfWork.pendingProps; null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);}function throwAndUnwindWorkLoop( root, unitOfWork, thrownValue, suspendedReason) { lastContextDependency = currentlyRenderingFiber$1 = null; resetHooksOnUnwind(unitOfWork); thenableState$1 = null; thenableIndexCounter$1 = 0; var returnFiber = unitOfWork.return; try { if ( throwException( root, returnFiber, unitOfWork, thrownValue, workInProgressRootRenderLanes ) ) { workInProgressRootExitStatus = 1; logUncaughtError( root, createCapturedValueAtFiber(thrownValue, root.current) ); workInProgress = null; return; } } catch (error) { if (null !== returnFiber) throw ((workInProgress = returnFiber), error); workInProgressRootExitStatus = 1; logUncaughtError( root, createCapturedValueAtFiber(thrownValue, root.current) ); workInProgress = null; return; } if (unitOfWork.flags & 32768) { if (isHydrating || 1 === suspendedReason) root = !0; else if ( workInProgressRootIsPrerendering || 0 !== (workInProgressRootRenderLanes & 536870912) ) root = !1; else if ( ((workInProgressRootDidSkipSuspendedSiblings = root = !0), 2 === suspendedReason || 9 === suspendedReason || 3 === suspendedReason || 6 === suspendedReason) ) (suspendedReason = suspenseHandlerStackCursor.current), null !== suspendedReason && 13 === suspendedReason.tag && (suspendedReason.flags |= 16384); unwindUnitOfWork(unitOfWork, root); } else completeUnitOfWork(unitOfWork);}function completeUnitOfWork(unitOfWork) { var completedWork = unitOfWork; do { if (0 !== (completedWork.flags & 32768)) { unwindUnitOfWork( completedWork, workInProgressRootDidSkipSuspendedSiblings ); return; } var current = completedWork.alternate; unitOfWork = completedWork.return; startProfilerTimer(completedWork); current = completeWork(current, completedWork, entangledRenderLanes); 0 !== (completedWork.mode & 2) && stopProfilerTimerIfRunningAndRecordIncompleteDuration(completedWork); if (null !== current) { workInProgress = current; return; } completedWork = completedWork.sibling; if (null !== completedWork) { workInProgress = completedWork; return; } workInProgress = completedWork = unitOfWork; } while (null !== completedWork); 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);}function unwindUnitOfWork(unitOfWork, skipSiblings) { do { var next = unwindWork(unitOfWork.alternate, unitOfWork); if (null !== next) { next.flags &= 32767; workInProgress = next; return; } if (0 !== (unitOfWork.mode & 2)) { stopProfilerTimerIfRunningAndRecordIncompleteDuration(unitOfWork); next = unitOfWork.actualDuration; for (var child = unitOfWork.child; null !== child; ) (next += child.actualDuration), (child = child.sibling); unitOfWork.actualDuration = next; } next = unitOfWork.return; null !== next && ((next.flags |= 32768), (next.subtreeFlags = 0), (next.deletions = null)); if ( !skipSiblings && ((unitOfWork = unitOfWork.sibling), null !== unitOfWork) ) { workInProgress = unitOfWork; return; } workInProgress = unitOfWork = next; } while (null !== unitOfWork); workInProgressRootExitStatus = 6; workInProgress = null;}function commitRoot( root, finishedWork, lanes, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes, exitStatus, suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) { root.cancelPendingCommit = null; do flushPendingEffects(); while (0 !== pendingEffectsStatus); if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327)); setCurrentTrackFromLanes(lanes); 2 === exitStatus ? logErroredRenderPhase(completedRenderStartTime, completedRenderEndTime) : null !== recoverableErrors ? !supportsUserTiming || completedRenderEndTime <= completedRenderStartTime || console.timeStamp( "Recovered", completedRenderStartTime, completedRenderEndTime, currentTrack, "Scheduler \u269b", "error" ) : !supportsUserTiming || completedRenderEndTime <= completedRenderStartTime || console.timeStamp( (lanes & 536870912) === lanes ? "Prepared" : (lanes & 201326741) === lanes ? "Hydrated" : "Render", completedRenderStartTime, completedRenderEndTime, currentTrack, "Scheduler \u269b", (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark" ); if (null !== finishedWork) { if (finishedWork === root.current) throw Error(formatProdErrorMessage(177)); didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes; didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes; markRootFinished( root, lanes, didIncludeRenderPhaseUpdate, spawnedLane, updatedLanes, suspendedRetryLanes ); root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); pendingFinishedWork = finishedWork; pendingEffectsRoot = root; pendingEffectsLanes = lanes; pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate; pendingPassiveTransitions = transitions; pendingRecoverableErrors = recoverableErrors; pendingEffectsRenderEndTime = completedRenderEndTime; pendingSuspendedCommitReason = suspendedCommitReason; pendingDelayedCommitReason = 0; pendingSuspendedViewTransitionReason = null; 0 !== finishedWork.actualDuration || 0 !== (finishedWork.subtreeFlags & 10256) || 0 !== (finishedWork.flags & 10256) ? ((root.callbackNode = null), (root.callbackPriority = 0), scheduleCallback$1(NormalPriority$1, function () { schedulerEvent = window.event; 0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2); flushPassiveEffects(); return null; })) : ((root.callbackNode = null), (root.callbackPriority = 0)); commitErrors = null; commitStartTime = now(); null !== suspendedCommitReason && (!supportsUserTiming || commitStartTime <= completedRenderEndTime || console.timeStamp( suspendedCommitReason, completedRenderEndTime, commitStartTime, currentTrack, "Scheduler \u269b", "secondary-light" )); recoverableErrors = 0 !== (finishedWork.flags & 13878); if (0 !== (finishedWork.subtreeFlags & 13878) || recoverableErrors) { recoverableErrors = ReactSharedInternals.T; ReactSharedInternals.T = null; transitions = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 2; spawnedLane = executionContext; executionContext |= 4; try { commitBeforeMutationEffects(root, finishedWork, lanes); } finally { (executionContext = spawnedLane), (ReactDOMSharedInternals.p = transitions), (ReactSharedInternals.T = recoverableErrors); } } pendingEffectsStatus = 1; flushMutationEffects(); flushLayoutEffects(); flushSpawnedWork(); }}function flushMutationEffects() { if (1 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878); if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) { rootMutationHasEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 2; var prevExecutionContext = executionContext; executionContext |= 4; try { inProgressLanes = lanes; inProgressRoot = root; resetComponentEffectTimers(); commitMutationEffectsOnFiber(finishedWork, root); inProgressRoot = inProgressLanes = null; lanes = selectionInformation; var curFocusedElem = getActiveElementDeep(root.containerInfo), priorFocusedElem = lanes.focusedElem, priorSelectionRange = lanes.selectionRange; if ( curFocusedElem !== priorFocusedElem && priorFocusedElem && priorFocusedElem.ownerDocument && containsNode( priorFocusedElem.ownerDocument.documentElement, priorFocusedElem ) ) { if ( null !== priorSelectionRange && hasSelectionCapabilities(priorFocusedElem) ) { var start = priorSelectionRange.start, end = priorSelectionRange.end; void 0 === end && (end = start); if ("selectionStart" in priorFocusedElem) (priorFocusedElem.selectionStart = start), (priorFocusedElem.selectionEnd = Math.min( end, priorFocusedElem.value.length )); else { var doc = priorFocusedElem.ownerDocument || document, win = (doc && doc.defaultView) || window; if (win.getSelection) { var selection = win.getSelection(), length = priorFocusedElem.textContent.length, start$jscomp$0 = Math.min(priorSelectionRange.start, length), end$jscomp$0 = void 0 === priorSelectionRange.end ? start$jscomp$0 : Math.min(priorSelectionRange.end, length); !selection.extend && start$jscomp$0 > end$jscomp$0 && ((curFocusedElem = end$jscomp$0), (end$jscomp$0 = start$jscomp$0), (start$jscomp$0 = curFocusedElem)); var startMarker = getNodeForCharacterOffset( priorFocusedElem, start$jscomp$0 ), endMarker = getNodeForCharacterOffset( priorFocusedElem, end$jscomp$0 ); if ( startMarker && endMarker && (1 !== selection.rangeCount || selection.anchorNode !== startMarker.node || selection.anchorOffset !== startMarker.offset || selection.focusNode !== endMarker.node || selection.focusOffset !== endMarker.offset) ) { var range = doc.createRange(); range.setStart(startMarker.node, startMarker.offset); selection.removeAllRanges(); start$jscomp$0 > end$jscomp$0 ? (selection.addRange(range), selection.extend(endMarker.node, endMarker.offset)) : (range.setEnd(endMarker.node, endMarker.offset), selection.addRange(range)); } } } } doc = []; for ( selection = priorFocusedElem; (selection = selection.parentNode);
) 1 === selection.nodeType && doc.push({ element: selection, left: selection.scrollLeft, top: selection.scrollTop }); "function" === typeof priorFocusedElem.focus && priorFocusedElem.focus(); for ( priorFocusedElem = 0; priorFocusedElem < doc.length; priorFocusedElem++ ) { var info = doc[priorFocusedElem]; info.element.scrollLeft = info.left; info.element.scrollTop = info.top; } } _enabled = !!eventsEnabled; selectionInformation = eventsEnabled = null; } finally { (executionContext = prevExecutionContext), (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = rootMutationHasEffect); } } root.current = finishedWork; pendingEffectsStatus = 2; }}function flushLayoutEffects() { if (2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var suspendedViewTransitionReason = pendingSuspendedViewTransitionReason; null !== suspendedViewTransitionReason && ((commitStartTime = now()), !supportsUserTiming || commitStartTime <= commitEndTime || console.timeStamp( suspendedViewTransitionReason, commitEndTime, commitStartTime, currentTrack, "Scheduler \u269b", "secondary-light" )); suspendedViewTransitionReason = pendingEffectsRoot; var finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772); if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 2; var prevExecutionContext = executionContext; executionContext |= 4; try { (inProgressLanes = lanes), (inProgressRoot = suspendedViewTransitionReason), resetComponentEffectTimers(), commitLayoutEffectOnFiber( suspendedViewTransitionReason, finishedWork.alternate, finishedWork ), (inProgressRoot = inProgressLanes = null); } finally { (executionContext = prevExecutionContext), (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } suspendedViewTransitionReason = pendingEffectsRenderEndTime; finishedWork = pendingSuspendedCommitReason; commitEndTime = now(); suspendedViewTransitionReason = null === finishedWork ? suspendedViewTransitionReason : commitStartTime; finishedWork = commitEndTime; lanes = 1 === pendingDelayedCommitReason; null !== commitErrors ? logCommitErrored(suspendedViewTransitionReason, finishedWork) : !supportsUserTiming || finishedWork <= suspendedViewTransitionReason || console.timeStamp( lanes ? "Commit Interrupted View Transition" : "Commit", suspendedViewTransitionReason, finishedWork, currentTrack, "Scheduler \u269b", lanes ? "error" : "secondary-dark" ); pendingEffectsStatus = 3; }}function flushSpawnedWork() { if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) { if (4 === pendingEffectsStatus) { var startViewTransitionStartTime = commitEndTime; commitEndTime = now(); var abortedViewTransition = 1 === pendingDelayedCommitReason; !supportsUserTiming || commitEndTime <= startViewTransitionStartTime || console.timeStamp( abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, commitEndTime, currentTrack, "Scheduler \u269b", abortedViewTransition ? " error" : "secondary-light" ); 1 !== pendingDelayedCommitReason && (pendingDelayedCommitReason = 3); } pendingEffectsStatus = 0; requestPaint(); startViewTransitionStartTime = pendingEffectsRoot; var finishedWork = pendingFinishedWork; abortedViewTransition = pendingEffectsLanes; var recoverableErrors = pendingRecoverableErrors, rootDidHavePassiveEffects = 0 !== finishedWork.actualDuration || 0 !== (finishedWork.subtreeFlags & 10256) || 0 !== (finishedWork.flags & 10256); rootDidHavePassiveEffects ? (pendingEffectsStatus = 5) : ((pendingEffectsStatus = 0), (pendingFinishedWork = pendingEffectsRoot = null), releaseRootPooledCache( startViewTransitionStartTime, startViewTransitionStartTime.pendingLanes )); var remainingLanes = startViewTransitionStartTime.pendingLanes; 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); remainingLanes = lanesToEventPriority(abortedViewTransition); finishedWork = finishedWork.stateNode; if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) try { var didError = 128 === (finishedWork.current.flags & 128); switch (remainingLanes) { case 2: var schedulerPriority = ImmediatePriority; break; case 8: schedulerPriority = UserBlockingPriority; break; case 32: schedulerPriority = NormalPriority$1; break; case 268435456: schedulerPriority = IdlePriority; break; default: schedulerPriority = NormalPriority$1; } injectedHook.onCommitFiberRoot( rendererID, finishedWork, schedulerPriority, didError ); } catch (err) {} isDevToolsPresent && startViewTransitionStartTime.memoizedUpdaters.clear(); if (null !== recoverableErrors) { didError = ReactSharedInternals.T; schedulerPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = 2; ReactSharedInternals.T = null; try { var onRecoverableError = startViewTransitionStartTime.onRecoverableError; for ( finishedWork = 0; finishedWork < recoverableErrors.length; finishedWork++ ) { var recoverableError = recoverableErrors[finishedWork]; onRecoverableError(recoverableError.value, { componentStack: recoverableError.stack }); } } finally { (ReactSharedInternals.T = didError), (ReactDOMSharedInternals.p = schedulerPriority); } } 0 !== (pendingEffectsLanes & 3) && flushPendingEffects(); ensureRootIsScheduled(startViewTransitionStartTime); remainingLanes = startViewTransitionStartTime.pendingLanes; 0 !== (abortedViewTransition & 261930) && 0 !== (remainingLanes & 42) ? ((nestedUpdateScheduled = !0), startViewTransitionStartTime === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = startViewTransitionStartTime))) : (nestedUpdateCount = 0); rootDidHavePassiveEffects || finalizeRender(abortedViewTransition, commitEndTime); flushSyncWorkAcrossRoots_impl(0, !1); }}function releaseRootPooledCache(root, remainingLanes) { 0 === (root.pooledCacheLanes &= remainingLanes) && ((remainingLanes = root.pooledCache), null != remainingLanes && ((root.pooledCache = null), releaseCache(remainingLanes)));}function flushPendingEffects() { flushMutationEffects(); flushLayoutEffects(); flushSpawnedWork(); return flushPassiveEffects();}function flushPassiveEffects() { if (5 !== pendingEffectsStatus) return !1; var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes; pendingEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingEffectsLanes), prevTransition = ReactSharedInternals.T, previousPriority = ReactDOMSharedInternals.p; try { ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority; ReactSharedInternals.T = null; var transitions = pendingPassiveTransitions; pendingPassiveTransitions = null; renderPriority = pendingEffectsRoot; var lanes = pendingEffectsLanes; pendingEffectsStatus = 0; pendingFinishedWork = pendingEffectsRoot = null; pendingEffectsLanes = 0; if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331)); setCurrentTrackFromLanes(lanes); var passiveEffectStartTime = 0; commitErrors = null; passiveEffectStartTime = now$1(); 3 === pendingDelayedCommitReason ? !supportsUserTiming || passiveEffectStartTime <= commitEndTime || console.timeStamp( "Animating", commitEndTime, passiveEffectStartTime, currentTrack, "Scheduler \u269b", "secondary-dark" ) : !supportsUserTiming || passiveEffectStartTime <= commitEndTime || console.timeStamp( 2 === pendingDelayedCommitReason ? "Waiting for Paint" : "Waiting", commitEndTime, passiveEffectStartTime, currentTrack, "Scheduler \u269b", "secondary-light" ); var prevExecutionContext = executionContext; executionContext |= 4; var finishedWork = renderPriority.current; resetComponentEffectTimers(); commitPassiveUnmountOnFiber(finishedWork); var finishedWork$jscomp$0 = renderPriority.current; finishedWork = pendingEffectsRenderEndTime; resetComponentEffectTimers(); commitPassiveMountOnFiber( renderPriority, finishedWork$jscomp$0, lanes, transitions, finishedWork ); executionContext = prevExecutionContext; var passiveEffectsEndTime = now$1(); finishedWork$jscomp$0 = passiveEffectStartTime; null !== commitErrors ? logCommitErrored(finishedWork$jscomp$0, passiveEffectsEndTime) : !supportsUserTiming || passiveEffectsEndTime <= finishedWork$jscomp$0 || console.timeStamp( "Remaining Effects", finishedWork$jscomp$0, passiveEffectsEndTime, currentTrack, "Scheduler \u269b", "secondary-dark" ); finalizeRender(lanes, passiveEffectsEndTime); flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot ) try { injectedHook.onPostCommitFiberRoot(rendererID, renderPriority); } catch (err) {} var stateNode = renderPriority.current.stateNode; stateNode.effectDuration = 0; stateNode.passiveEffectDuration = 0; return !0; } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), releaseRootPooledCache(root, remainingLanes); }}function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) { sourceFiber = createCapturedValueAtFiber(error, sourceFiber); recordEffectError(sourceFiber); sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2); rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2); null !== rootFiber && (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));}function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) { if (3 === sourceFiber.tag) captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); else for (; null !== nearestMountedAncestor; ) { if (3 === nearestMountedAncestor.tag) { captureCommitPhaseErrorOnRoot( nearestMountedAncestor, sourceFiber, error ); break; } else if (1 === nearestMountedAncestor.tag) { var instance = nearestMountedAncestor.stateNode; if ( "function" === typeof nearestMountedAncestor.type.getDerivedStateFromError || ("function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance))) ) { sourceFiber = createCapturedValueAtFiber(error, sourceFiber); recordEffectError(sourceFiber); error = createClassErrorUpdate(2); instance = enqueueUpdate(nearestMountedAncestor, error, 2); null !== instance && (initializeClassErrorUpdate( error, instance, nearestMountedAncestor, sourceFiber ), markRootUpdated$1(instance, 2), ensureRootIsScheduled(instance)); break; } } nearestMountedAncestor = nearestMountedAncestor.return; }}function attachPingListener(root, wakeable, lanes) { var pingCache = root.pingCache; if (null === pingCache) { pingCache = root.pingCache = new PossiblyWeakMap(); var threadIDs = new Set(); pingCache.set(wakeable, threadIDs); } else (threadIDs = pingCache.get(wakeable)), void 0 === threadIDs && ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs)); threadIDs.has(lanes) || ((workInProgressRootDidAttachPingListener = !0), threadIDs.add(lanes), (pingCache = pingSuspendedRoot.bind(null, root, wakeable, lanes)), isDevToolsPresent && restorePendingUpdaters(root, lanes), wakeable.then(pingCache, pingCache));}function pingSuspendedRoot(root, wakeable, pingedLanes) { var pingCache = root.pingCache; null !== pingCache && pingCache.delete(wakeable); root.pingedLanes |= root.suspendedLanes & pingedLanes; root.warmLanes &= ~pingedLanes; 0 !== (pingedLanes & 127) ? 0 > blockingUpdateTime && ((blockingClampTime = blockingUpdateTime = now()), (blockingUpdateType = 2)) : 0 !== (pingedLanes & 4194048) && 0 > transitionUpdateTime && ((transitionClampTime = transitionUpdateTime = now()), (transitionUpdateType = 2)); workInProgressRoot === root && (workInProgressRootRenderLanes & pingedLanes) === pingedLanes && (4 === workInProgressRootExitStatus || (3 === workInProgressRootExitStatus && (workInProgressRootRenderLanes & 62914560) === workInProgressRootRenderLanes && 300 > now$1() - globalMostRecentFallbackTime) ? 0 === (executionContext & 2) && prepareFreshStack(root, 0) : (workInProgressRootPingedLanes |= pingedLanes), workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes && (workInProgressSuspendedRetryLanes = 0)); ensureRootIsScheduled(root);}function retryTimedOutBoundary(boundaryFiber, retryLane) { 0 === retryLane && (retryLane = claimNextRetryLane()); boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane); null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));}function retryDehydratedSuspenseBoundary(boundaryFiber) { var suspenseState = boundaryFiber.memoizedState, retryLane = 0; null !== suspenseState && (retryLane = suspenseState.retryLane); retryTimedOutBoundary(boundaryFiber, retryLane);}function resolveRetryWakeable(boundaryFiber, wakeable) { var retryLane = 0; switch (boundaryFiber.tag) { case 31: case 13: var retryCache = boundaryFiber.stateNode; var suspenseState = boundaryFiber.memoizedState; null !== suspenseState && (retryLane = suspenseState.retryLane); break; case 19: retryCache = boundaryFiber.stateNode; break; case 22: retryCache = boundaryFiber.stateNode._retryCache; break; default: throw Error(formatProdErrorMessage(314)); } null !== retryCache && retryCache.delete(wakeable); retryTimedOutBoundary(boundaryFiber, retryLane);}function restorePendingUpdaters(root, lanes) { isDevToolsPresent && root.memoizedUpdaters.forEach(function (schedulingFiber) { addFiberToLanesMap(root, schedulingFiber, lanes); });}function scheduleCallback$1(priorityLevel, callback) { return scheduleCallback$3(priorityLevel, callback);}var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0;function ensureRootIsScheduled(root) { root !== lastScheduledRoot && null === root.next && (null === lastScheduledRoot ? (firstScheduledRoot = lastScheduledRoot = root) : (lastScheduledRoot = lastScheduledRoot.next = root)); mightHavePendingSyncWork = !0; didScheduleMicrotask || ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());}function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$213 = firstScheduledRoot; null !== root$213; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { var pendingLanes = root$213.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { var suspendedLanes = root$213.suspendedLanes, pingedLanes = root$213.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= pendingLanes & ~(suspendedLanes & ~pingedLanes); JSCompiler_inline_result = JSCompiler_inline_result & 201326741 ? (JSCompiler_inline_result & 201326741) | 1 : JSCompiler_inline_result ? JSCompiler_inline_result | 2 : 0; } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), performSyncWorkOnRoot(root$213, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( root$213, root$213 === workInProgressRoot ? JSCompiler_inline_result : 0, null !== root$213.cancelPendingCommit || -1 !== root$213.timeoutHandle )), 0 === (JSCompiler_inline_result & 3) || checkIfRootIsPrerendering(root$213, JSCompiler_inline_result) || ((didPerformSomeWork = !0), performSyncWorkOnRoot(root$213, JSCompiler_inline_result)); root$213 = root$213.next; } } while (didPerformSomeWork); isFlushingWork = !1; }}function processRootScheduleInImmediateTask() { schedulerEvent = window.event; processRootScheduleInMicrotask();}function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; var syncTransitionLanes = 0; 0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;
) { var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); if (0 === nextLanes) (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), null === next && (lastScheduledRoot = prev); else if ( ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) ) mightHavePendingSyncWork = !0; root = next; } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);}function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;
) { var index$5 = 31 - clz32(lanes), lane = 1 << index$5, expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } currentTime = workInProgressRoot; suspendedLanes = workInProgressRootRenderLanes; suspendedLanes = getNextLanes( root, root === currentTime ? suspendedLanes : 0, null !== root.cancelPendingCommit || -1 !== root.timeoutHandle ); pingedLanes = root.callbackNode; if ( 0 === suspendedLanes || (root === currentTime && (2 === workInProgressSuspendedReason || 9 === workInProgressSuspendedReason)) || null !== root.cancelPendingCommit ) return ( null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes), (root.callbackNode = null), (root.callbackPriority = 0) ); if ( 0 === (suspendedLanes & 3) || checkIfRootIsPrerendering(root, suspendedLanes) ) { currentTime = suspendedLanes & -suspendedLanes; if (currentTime === root.callbackPriority) return currentTime; null !== pingedLanes && cancelCallback$1(pingedLanes); switch (lanesToEventPriority(suspendedLanes)) { case 2: case 8: suspendedLanes = UserBlockingPriority; break; case 32: suspendedLanes = NormalPriority$1; break; case 268435456: suspendedLanes = IdlePriority; break; default: suspendedLanes = NormalPriority$1; } pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root); suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes); root.callbackPriority = currentTime; root.callbackNode = suspendedLanes; return currentTime; } null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes); root.callbackPriority = 2; root.callbackNode = null; return 2;}function performWorkOnRootViaSchedulerTask(root, didTimeout) { nestedUpdateScheduled = currentUpdateIsNested = !1; schedulerEvent = window.event; if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) return (root.callbackNode = null), (root.callbackPriority = 0), null; var originalCallbackNode = root.callbackNode; 0 === pendingDelayedCommitReason && (pendingDelayedCommitReason = 2); if (flushPendingEffects() && root.callbackNode !== originalCallbackNode) return null; var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes; workInProgressRootRenderLanes$jscomp$0 = getNextLanes( root, root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0, null !== root.cancelPendingCommit || -1 !== root.timeoutHandle ); if (0 === workInProgressRootRenderLanes$jscomp$0) return null; performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout); scheduleTaskForRootDuringMicrotask(root, now$1()); return null != root.callbackNode && root.callbackNode === originalCallbackNode ? performWorkOnRootViaSchedulerTask.bind(null, root) : null;}function performSyncWorkOnRoot(root, lanes) { if (flushPendingEffects()) return null; currentUpdateIsNested = nestedUpdateScheduled; nestedUpdateScheduled = !1; performWorkOnRoot(root, lanes, !0);}function scheduleImmediateRootScheduleTask() { scheduleMicrotask(function () { 0 !== (executionContext & 6) ? scheduleCallback$3( ImmediatePriority, processRootScheduleInImmediateTask ) : processRootScheduleInMicrotask(); });}function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; 0 === actionScopeLane && ((actionScopeLane = nextTransitionUpdateLane), (nextTransitionUpdateLane <<= 1), 0 === (nextTransitionUpdateLane & 261888) && (nextTransitionUpdateLane = 256)); currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane;}function coerceFormActionProp(actionProp) { return null == actionProp || "symbol" === typeof actionProp || "boolean" === typeof actionProp ? null : "function" === typeof actionProp ? actionProp : sanitizeURL("" + actionProp);}function createFormDataWithSubmitter(form, submitter) { var temp = submitter.ownerDocument.createElement("input"); temp.name = submitter.name; temp.value = submitter.value; form.id && temp.setAttribute("form", form.id); submitter.parentNode.insertBefore(temp, submitter); form = new FormData(form); temp.parentNode.removeChild(temp); return form;}function extractEvents$1( dispatchQueue, domEventName, maybeTargetInst, nativeEvent, nativeEventTarget) { if ( "submit" === domEventName && maybeTargetInst && maybeTargetInst.stateNode === nativeEventTarget ) { var action = coerceFormActionProp( (nativeEventTarget[internalPropsKey] || null).action ), submitter = nativeEvent.submitter; submitter && ((domEventName = (domEventName = submitter[internalPropsKey] || null) ? coerceFormActionProp(domEventName.formAction) : submitter.getAttribute("formAction")), null !== domEventName && ((action = domEventName), (submitter = null))); var event = new SyntheticEvent( "action", "action", null, nativeEvent, nativeEventTarget ); dispatchQueue.push({ event: event, listeners: [ { instance: null, listener: function () { if (nativeEvent.defaultPrevented) { if (0 !== currentEventTransitionLane) { var formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget); startHostTransition( maybeTargetInst, { pending: !0, data: formData, method: nativeEventTarget.method, action: action }, null, formData ); } } else "function" === typeof action && (event.preventDefault(), (formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget)), startHostTransition( maybeTargetInst, { pending: !0, data: formData, method: nativeEventTarget.method, action: action }, action, formData )); }, currentTarget: nativeEventTarget } ] }); }}for ( var i$jscomp$inline_1875 = 0; i$jscomp$inline_1875 < simpleEventPluginEvents.length; i$jscomp$inline_1875++) { var eventName$jscomp$inline_1876 = simpleEventPluginEvents[i$jscomp$inline_1875], domEventName$jscomp$inline_1877 = eventName$jscomp$inline_1876.toLowerCase(), capitalizedEvent$jscomp$inline_1878 = eventName$jscomp$inline_1876[0].toUpperCase() + eventName$jscomp$inline_1876.slice(1); registerSimpleEvent( domEventName$jscomp$inline_1877, "on" + capitalizedEvent$jscomp$inline_1878 );}registerSimpleEvent(ANIMATION_END, "onAnimationEnd");registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration");registerSimpleEvent(ANIMATION_START, "onAnimationStart");registerSimpleEvent("dblclick", "onDoubleClick");registerSimpleEvent("focusin", "onFocus");registerSimpleEvent("focusout", "onBlur");registerSimpleEvent(TRANSITION_RUN, "onTransitionRun");registerSimpleEvent(TRANSITION_START, "onTransitionStart");registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel");registerSimpleEvent(TRANSITION_END, "onTransitionEnd");registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]);registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]);registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]);registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]);registerTwoPhaseEvent( "onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));registerTwoPhaseEvent( "onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( " " ));registerTwoPhaseEvent("onBeforeInput", [ "compositionend", "keypress", "textInput", "paste"]);registerTwoPhaseEvent( "onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));registerTwoPhaseEvent( "onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));registerTwoPhaseEvent( "onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mediaEventTypes = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( " " ), nonDelegatedEvents = new Set( "beforetoggle cancel close invalid load scroll scrollend toggle" .split(" ") .concat(mediaEventTypes) );function processDispatchQueue(dispatchQueue, eventSystemFlags) { eventSystemFlags = 0 !== (eventSystemFlags & 4); for (var i = 0; i < dispatchQueue.length; i++) { var _dispatchQueue$i = dispatchQueue[i], event = _dispatchQueue$i.event; _dispatchQueue$i = _dispatchQueue$i.listeners; a: { var previousInstance = void 0; if (eventSystemFlags) for ( var i$jscomp$0 = _dispatchQueue$i.length - 1; 0 <= i$jscomp$0; i$jscomp$0-- ) { var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0], instance = _dispatchListeners$i.instance, currentTarget = _dispatchListeners$i.currentTarget; _dispatchListeners$i = _dispatchListeners$i.listener; if (instance !== previousInstance && event.isPropagationStopped()) break a; previousInstance = _dispatchListeners$i; event.currentTarget = currentTarget; try { previousInstance(event); } catch (error) { reportGlobalError(error); } event.currentTarget = null; previousInstance = instance; } else for ( i$jscomp$0 = 0; i$jscomp$0 < _dispatchQueue$i.length; i$jscomp$0++ ) { _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0]; instance = _dispatchListeners$i.instance; currentTarget = _dispatchListeners$i.currentTarget; _dispatchListeners$i = _dispatchListeners$i.listener; if (instance !== previousInstance && event.isPropagationStopped()) break a; previousInstance = _dispatchListeners$i; event.currentTarget = currentTarget; try { previousInstance(event); } catch (error) { reportGlobalError(error); } event.currentTarget = null; previousInstance = instance; } } }}function listenToNonDelegatedEvent(domEventName, targetElement) { var JSCompiler_inline_result = targetElement[internalEventHandlersKey]; void 0 === JSCompiler_inline_result && (JSCompiler_inline_result = targetElement[internalEventHandlersKey] = new Set()); var listenerSetKey = domEventName + "__bubble"; JSCompiler_inline_result.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, !1), JSCompiler_inline_result.add(listenerSetKey));}function listenToNativeEvent(domEventName, isCapturePhaseListener, target) { var eventSystemFlags = 0; isCapturePhaseListener && (eventSystemFlags |= 4); addTrappedEventListener( target, domEventName, eventSystemFlags, isCapturePhaseListener );}var listeningMarker = "_reactListening" + Math.random().toString(36).slice(2);function listenToAllSupportedEvents(rootContainerElement) { if (!rootContainerElement[listeningMarker]) { rootContainerElement[listeningMarker] = !0; allNativeEvents.forEach(function (domEventName) { "selectionchange" !== domEventName && (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName, !1, rootContainerElement), listenToNativeEvent(domEventName, !0, rootContainerElement)); }); var ownerDocument = 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument; null === ownerDocument || ownerDocument[listeningMarker] || ((ownerDocument[listeningMarker] = !0), listenToNativeEvent("selectionchange", !1, ownerDocument)); }}function addTrappedEventListener( targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener) { switch (getEventPriority(domEventName)) { case 2: var listenerWrapper = dispatchDiscreteEvent; break; case 8: listenerWrapper = dispatchContinuousEvent; break; default: listenerWrapper = dispatchEvent; } eventSystemFlags = listenerWrapper.bind( null, domEventName, eventSystemFlags, targetContainer ); listenerWrapper = void 0; !passiveBrowserEventsSupported || ("touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName) || (listenerWrapper = !0); isCapturePhaseListener ? void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { capture: !0, passive: listenerWrapper }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !0) : void 0 !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, { passive: listenerWrapper }) : targetContainer.addEventListener(domEventName, eventSystemFlags, !1);}function dispatchEventForPluginEventSystem( domEventName, eventSystemFlags, nativeEvent, targetInst$jscomp$0, targetContainer) { var ancestorInst = targetInst$jscomp$0; if ( 0 === (eventSystemFlags & 1) && 0 === (eventSystemFlags & 2) && null !== targetInst$jscomp$0 ) a: for (;;) { if (null === targetInst$jscomp$0) return; var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; if ( (3 === grandTag || 4 === grandTag) && nodeTag.stateNode.containerInfo === targetContainer ) return; nodeTag = nodeTag.return; } for (; null !== container; ) { nodeTag = getClosestInstanceFromNode(container); if (null === nodeTag) return; grandTag = nodeTag.tag; if ( 5 === grandTag || 6 === grandTag || 26 === grandTag || 27 === grandTag ) { targetInst$jscomp$0 = ancestorInst = nodeTag; continue a; } container = container.parentNode; } } targetInst$jscomp$0 = targetInst$jscomp$0.return; } batchedUpdates$2(function () { var targetInst = ancestorInst, nativeEventTarget = getEventTarget(nativeEvent), dispatchQueue = []; a: { var reactName = topLevelEventsToReactNames.get(domEventName); if (void 0 !== reactName) { var SyntheticEventCtor = SyntheticEvent, reactEventType = domEventName; switch (domEventName) { case "keypress": if (0 === getEventCharCode(nativeEvent)) break a; case "keydown": case "keyup": SyntheticEventCtor = SyntheticKeyboardEvent; break; case "focusin": reactEventType = "focus"; SyntheticEventCtor = SyntheticFocusEvent; break; case "focusout": reactEventType = "blur"; SyntheticEventCtor = SyntheticFocusEvent; break; case "beforeblur": case "afterblur": SyntheticEventCtor = SyntheticFocusEvent; break; case "click": if (2 === nativeEvent.button) break a; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": SyntheticEventCtor = SyntheticMouseEvent; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": SyntheticEventCtor = SyntheticDragEvent; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": SyntheticEventCtor = SyntheticTouchEvent; break; case ANIMATION_END: case ANIMATION_ITERATION: case ANIMATION_START: SyntheticEventCtor = SyntheticAnimationEvent; break; case TRANSITION_END: SyntheticEventCtor = SyntheticTransitionEvent; break; case "scroll": case "scrollend": SyntheticEventCtor = SyntheticUIEvent; break; case "wheel": SyntheticEventCtor = SyntheticWheelEvent; break; case "copy": case "cut": case "paste": SyntheticEventCtor = SyntheticClipboardEvent; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": SyntheticEventCtor = SyntheticPointerEvent; break; case "toggle": case "beforetoggle": SyntheticEventCtor = SyntheticToggleEvent; } var inCapturePhase = 0 !== (eventSystemFlags & 4), accumulateTargetOnly = !inCapturePhase && ("scroll" === domEventName || "scrollend" === domEventName), reactEventName = inCapturePhase ? null !== reactName ? reactName + "Capture" : null : reactName; inCapturePhase = []; for ( var instance = targetInst, lastHostComponent; null !== instance;
) { var _instance = instance; lastHostComponent = _instance.stateNode; _instance = _instance.tag; (5 !== _instance && 26 !== _instance && 27 !== _instance) || null === lastHostComponent || null === reactEventName || ((_instance = getListener(instance, reactEventName)), null != _instance && inCapturePhase.push( createDispatchListener(instance, _instance, lastHostComponent) )); if (accumulateTargetOnly) break; instance = instance.return; } 0 < inCapturePhase.length && ((reactName = new SyntheticEventCtor( reactName, reactEventType, null, nativeEvent, nativeEventTarget )), dispatchQueue.push({ event: reactName, listeners: inCapturePhase })); } } if (0 === (eventSystemFlags & 7)) { a: { reactName = "mouseover" === domEventName || "pointerover" === domEventName; SyntheticEventCtor = "mouseout" === domEventName || "pointerout" === domEventName; if ( reactName && nativeEvent !== currentReplayingEvent && (reactEventType = nativeEvent.relatedTarget || nativeEvent.fromElement) && (getClosestInstanceFromNode(reactEventType) || reactEventType[internalContainerInstanceKey]) ) break a; if (SyntheticEventCtor || reactName) { reactName = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget : (reactName = nativeEventTarget.ownerDocument) ? reactName.defaultView || reactName.parentWindow : window; if (SyntheticEventCtor) { if ( ((reactEventType = nativeEvent.relatedTarget || nativeEvent.toElement), (SyntheticEventCtor = targetInst), (reactEventType = reactEventType ? getClosestInstanceFromNode(reactEventType) : null), null !== reactEventType && ((accumulateTargetOnly = getNearestMountedFiber(reactEventType)), (inCapturePhase = reactEventType.tag), reactEventType !== accumulateTargetOnly || (5 !== inCapturePhase && 27 !== inCapturePhase && 6 !== inCapturePhase))) ) reactEventType = null; } else (SyntheticEventCtor = null), (reactEventType = targetInst); if (SyntheticEventCtor !== reactEventType) { inCapturePhase = SyntheticMouseEvent; _instance = "onMouseLeave"; reactEventName = "onMouseEnter"; instance = "mouse"; if ("pointerout" === domEventName || "pointerover" === domEventName) (inCapturePhase = SyntheticPointerEvent), (_instance = "onPointerLeave"), (reactEventName = "onPointerEnter"), (instance = "pointer"); accumulateTargetOnly = null == SyntheticEventCtor ? reactName : getNodeFromInstance(SyntheticEventCtor); lastHostComponent = null == reactEventType ? reactName : getNodeFromInstance(reactEventType); reactName = new inCapturePhase( _instance, instance + "leave", SyntheticEventCtor, nativeEvent, nativeEventTarget ); reactName.target = accumulateTargetOnly; reactName.relatedTarget = lastHostComponent; _instance = null; getClosestInstanceFromNode(nativeEventTarget) === targetInst && ((inCapturePhase = new inCapturePhase( reactEventName, instance + "enter", reactEventType, nativeEvent, nativeEventTarget )), (inCapturePhase.target = lastHostComponent), (inCapturePhase.relatedTarget = accumulateTargetOnly), (_instance = inCapturePhase)); accumulateTargetOnly = _instance; if (SyntheticEventCtor && reactEventType) b: { inCapturePhase = getParent; reactEventName = SyntheticEventCtor; instance = reactEventType; lastHostComponent = 0; for ( _instance = reactEventName; _instance; _instance = inCapturePhase(_instance) ) lastHostComponent++; _instance = 0; for (var tempB = instance; tempB; tempB = inCapturePhase(tempB)) _instance++; for (; 0 < lastHostComponent - _instance; ) (reactEventName = inCapturePhase(reactEventName)), lastHostComponent--; for (; 0 < _instance - lastHostComponent; ) (instance = inCapturePhase(instance)), _instance--; for (; lastHostComponent--; ) { if ( reactEventName === instance || (null !== instance && reactEventName === instance.alternate) ) { inCapturePhase = reactEventName; break b; } reactEventName = inCapturePhase(reactEventName); instance = inCapturePhase(instance); } inCapturePhase = null; } else inCapturePhase = null; null !== SyntheticEventCtor && accumulateEnterLeaveListenersForEvent( dispatchQueue, reactName, SyntheticEventCtor, inCapturePhase, !1 ); null !== reactEventType && null !== accumulateTargetOnly && accumulateEnterLeaveListenersForEvent( dispatchQueue, accumulateTargetOnly, reactEventType, inCapturePhase, !0 ); } } } a: { reactName = targetInst ? getNodeFromInstance(targetInst) : window; SyntheticEventCtor = reactName.nodeName && reactName.nodeName.toLowerCase(); if ( "select" === SyntheticEventCtor || ("input" === SyntheticEventCtor && "file" === reactName.type) ) var getTargetInstFunc = getTargetInstForChangeEvent; else if (isTextInputElement(reactName)) if (isInputEventSupported) getTargetInstFunc = getTargetInstForInputOrChangeEvent; else { getTargetInstFunc = getTargetInstForInputEventPolyfill; var handleEventFunc = handleEventsForInputEventPolyfill; } else (SyntheticEventCtor = reactName.nodeName), !SyntheticEventCtor || "input" !== SyntheticEventCtor.toLowerCase() || ("checkbox" !== reactName.type && "radio" !== reactName.type) ? targetInst && isCustomElement(targetInst.elementType) && (getTargetInstFunc = getTargetInstForChangeEvent) : (getTargetInstFunc = getTargetInstForClickEvent); if ( getTargetInstFunc && (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst)) ) { createAndAccumulateChangeEvent( dispatchQueue, getTargetInstFunc, nativeEvent, nativeEventTarget ); break a; } handleEventFunc && handleEventFunc(domEventName, reactName, targetInst); "focusout" === domEventName && targetInst && "number" === reactName.type && null != targetInst.memoizedProps.value && setDefaultValue(reactName, "number", reactName.value); } handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window; switch (domEventName) { case "focusin": if ( isTextInputElement(handleEventFunc) || "true" === handleEventFunc.contentEditable ) (activeElement = handleEventFunc), (activeElementInst = targetInst), (lastSelection = null); break; case "focusout": lastSelection = activeElementInst = activeElement = null; break; case "mousedown": mouseDown = !0; break; case "contextmenu": case "mouseup": case "dragend": mouseDown = !1; constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); break; case "selectionchange": if (skipSelectionChangeEvent) break; case "keydown": case "keyup": constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); } var fallbackData; if (canUseCompositionEvent) b: { switch (domEventName) { case "compositionstart": var eventType = "onCompositionStart"; break b; case "compositionend": eventType = "onCompositionEnd"; break b; case "compositionupdate": eventType = "onCompositionUpdate"; break b; } eventType = void 0; } else isComposing ? isFallbackCompositionEnd(domEventName, nativeEvent) && (eventType = "onCompositionEnd") : "keydown" === domEventName && 229 === nativeEvent.keyCode && (eventType = "onCompositionStart"); eventType && (useFallbackCompositionData && "ko" !== nativeEvent.locale && (isComposing || "onCompositionStart" !== eventType ? "onCompositionEnd" === eventType && isComposing && (fallbackData = getData()) : ((root = nativeEventTarget), (startText = "value" in root ? root.value : root.textContent), (isComposing = !0))), (handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType)), 0 < handleEventFunc.length && ((eventType = new SyntheticCompositionEvent( eventType, domEventName, null, nativeEvent, nativeEventTarget )), dispatchQueue.push({ event: eventType, listeners: handleEventFunc }), fallbackData ? (eventType.data = fallbackData) : ((fallbackData = getDataFromCustomEvent(nativeEvent)), null !== fallbackData && (eventType.data = fallbackData)))); if ( (fallbackData = canUseTextInputEvent ? getNativeBeforeInputChars(domEventName, nativeEvent) : getFallbackBeforeInputChars(domEventName, nativeEvent)) ) (eventType = accumulateTwoPhaseListeners(targetInst, "onBeforeInput")), 0 < eventType.length && ((handleEventFunc = new SyntheticCompositionEvent( "onBeforeInput", "beforeinput", null, nativeEvent, nativeEventTarget )), dispatchQueue.push({ event: handleEventFunc, listeners: eventType }), (handleEventFunc.data = fallbackData)); extractEvents$1( dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget ); } processDispatchQueue(dispatchQueue, eventSystemFlags); });}function createDispatchListener(instance, listener, currentTarget) { return { instance: instance, listener: listener, currentTarget: currentTarget };}function accumulateTwoPhaseListeners(targetFiber, reactName) { for ( var captureName = reactName + "Capture", listeners = []; null !== targetFiber;
) { var _instance2 = targetFiber, stateNode = _instance2.stateNode; _instance2 = _instance2.tag; (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) || null === stateNode || ((_instance2 = getListener(targetFiber, captureName)), null != _instance2 && listeners.unshift( createDispatchListener(targetFiber, _instance2, stateNode) ), (_instance2 = getListener(targetFiber, reactName)), null != _instance2 && listeners.push( createDispatchListener(targetFiber, _instance2, stateNode) )); if (3 === targetFiber.tag) return listeners; targetFiber = targetFiber.return; } return [];}function getParent(inst) { if (null === inst) return null; do inst = inst.return; while (inst && 5 !== inst.tag && 27 !== inst.tag); return inst ? inst : null;}function accumulateEnterLeaveListenersForEvent( dispatchQueue, event, target, common, inCapturePhase) { for ( var registrationName = event._reactName, listeners = []; null !== target && target !== common;
) { var _instance3 = target, alternate = _instance3.alternate, stateNode = _instance3.stateNode; _instance3 = _instance3.tag; if (null !== alternate && alternate === common) break; (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) || null === stateNode || ((alternate = stateNode), inCapturePhase ? ((stateNode = getListener(target, registrationName)), null != stateNode && listeners.unshift( createDispatchListener(target, stateNode, alternate) )) : inCapturePhase || ((stateNode = getListener(target, registrationName)), null != stateNode && listeners.push( createDispatchListener(target, stateNode, alternate) ))); target = target.return; } 0 !== listeners.length && dispatchQueue.push({ event: event, listeners: listeners });}var NORMALIZE_NEWLINES_REGEX = /\r\n?/g, NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;function normalizeMarkupForTextOrAttribute(markup) { return ("string" === typeof markup ? markup : "" + markup) .replace(NORMALIZE_NEWLINES_REGEX, "\n") .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, "");}function checkForUnmatchedText(serverText, clientText) { clientText = normalizeMarkupForTextOrAttribute(clientText); return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;}function setProp(domElement, tag, key, value, props, prevValue) { switch (key) { case "children": "string" === typeof value ? "body" === tag || ("textarea" === tag && "" === value) || setTextContent(domElement, value) : ("number" === typeof value || "bigint" === typeof value) && "body" !== tag && setTextContent(domElement, "" + value); break; case "className": setValueForKnownAttribute(domElement, "class", value); break; case "tabIndex": setValueForKnownAttribute(domElement, "tabindex", value); break; case "dir": case "role": case "viewBox": case "width": case "height": setValueForKnownAttribute(domElement, key, value); break; case "style": setValueForStyles(domElement, value, prevValue); break; case "data": if ("object" !== tag) { setValueForKnownAttribute(domElement, "data", value); break; } case "src": case "href": if ("" === value && ("a" !== tag || "href" !== key)) { domElement.removeAttribute(key); break; } if ( null == value || "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value ) { domElement.removeAttribute(key); break; } value = sanitizeURL("" + value); domElement.setAttribute(key, value); break; case "action": case "formAction": if ("function" === typeof value) { domElement.setAttribute( key, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')" ); break; } else "function" === typeof prevValue && ("formAction" === key ? ("input" !== tag && setProp(domElement, tag, "name", props.name, props, null), setProp( domElement, tag, "formEncType", props.formEncType, props, null ), setProp( domElement, tag, "formMethod", props.formMethod, props, null ), setProp( domElement, tag, "formTarget", props.formTarget, props, null )) : (setProp(domElement, tag, "encType", props.encType, props, null), setProp(domElement, tag, "method", props.method, props, null), setProp(domElement, tag, "target", props.target, props, null))); if ( null == value || "symbol" === typeof value || "boolean" === typeof value ) { domElement.removeAttribute(key); break; } value = sanitizeURL("" + value); domElement.setAttribute(key, value); break; case "onClick": null != value && (domElement.onclick = noop$1); break; case "onScroll": null != value && listenToNonDelegatedEvent("scroll", domElement); break; case "onScrollEnd": null != value && listenToNonDelegatedEvent("scrollend", domElement); break; case "dangerouslySetInnerHTML": if (null != value) { if ("object" !== typeof value || !("__html" in value)) throw Error(formatProdErrorMessage(61)); key = value.__html; if (null != key) { if (null != props.children) throw Error(formatProdErrorMessage(60)); domElement.innerHTML = key; } } break; case "multiple": domElement.multiple = value && "function" !== typeof value && "symbol" !== typeof value; break; case "muted": domElement.muted = value && "function" !== typeof value && "symbol" !== typeof value; break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "defaultValue": case "defaultChecked": case "innerHTML": case "ref": break; case "autoFocus": break; case "xlinkHref": if ( null == value || "function" === typeof value || "boolean" === typeof value || "symbol" === typeof value ) { domElement.removeAttribute("xlink:href"); break; } key = sanitizeURL("" + value); domElement.setAttributeNS( "http://www.w3.org/1999/xlink", "xlink:href", key ); break; case "contentEditable": case "spellCheck": case "draggable": case "value": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": null != value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, "" + value) : domElement.removeAttribute(key); break; case "inert": case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, "") : domElement.removeAttribute(key); break; case "capture": case "download": !0 === value ? domElement.setAttribute(key, "") : !1 !== value && null != value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, value) : domElement.removeAttribute(key); break; case "cols": case "rows": case "size": case "span": null != value && "function" !== typeof value && "symbol" !== typeof value && !isNaN(value) && 1 <= value ? domElement.setAttribute(key, value) : domElement.removeAttribute(key); break; case "rowSpan": case "start": null == value || "function" === typeof value || "symbol" === typeof value || isNaN(value) ? domElement.removeAttribute(key) : domElement.setAttribute(key, value); break; case "popover": listenToNonDelegatedEvent("beforetoggle", domElement); listenToNonDelegatedEvent("toggle", domElement); setValueForAttribute(domElement, "popover", value); break; case "xlinkActuate": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:actuate", value ); break; case "xlinkArcrole": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:arcrole", value ); break; case "xlinkRole": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:role", value ); break; case "xlinkShow": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:show", value ); break; case "xlinkTitle": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:title", value ); break; case "xlinkType": setValueForNamespacedAttribute( domElement, "http://www.w3.org/1999/xlink", "xlink:type", value ); break; case "xmlBase": setValueForNamespacedAttribute( domElement, "http://www.w3.org/XML/1998/namespace", "xml:base", value ); break; case "xmlLang": setValueForNamespacedAttribute( domElement, "http://www.w3.org/XML/1998/namespace", "xml:lang", value ); break; case "xmlSpace": setValueForNamespacedAttribute( domElement, "http://www.w3.org/XML/1998/namespace", "xml:space", value ); break; case "is": setValueForAttribute(domElement, "is", value); break; case "innerText": case "textContent": break; default: if ( !(2 < key.length) || ("o" !== key[0] && "O" !== key[0]) || ("n" !== key[1] && "N" !== key[1]) ) (key = aliases.get(key) || key), setValueForAttribute(domElement, key, value); }}function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { switch (key) { case "style": setValueForStyles(domElement, value, prevValue); break; case "dangerouslySetInnerHTML": if (null != value) { if ("object" !== typeof value || !("__html" in value)) throw Error(formatProdErrorMessage(61)); key = value.__html; if (null != key) { if (null != props.children) throw Error(formatProdErrorMessage(60)); domElement.innerHTML = key; } } break; case "children": "string" === typeof value ? setTextContent(domElement, value) : ("number" === typeof value || "bigint" === typeof value) && setTextContent(domElement, "" + value); break; case "onScroll": null != value && listenToNonDelegatedEvent("scroll", domElement); break; case "onScrollEnd": null != value && listenToNonDelegatedEvent("scrollend", domElement); break; case "onClick": null != value && (domElement.onclick = noop$1); break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "innerHTML": case "ref": break; case "innerText": case "textContent": break; default: if (!registrationNameDependencies.hasOwnProperty(key)) a: { if ( "o" === key[0] && "n" === key[1] && ((props = key.endsWith("Capture")), (tag = key.slice(2, props ? key.length - 7 : void 0)), (prevValue = domElement[internalPropsKey] || null), (prevValue = null != prevValue ? prevValue[key] : null), "function" === typeof prevValue && domElement.removeEventListener(tag, prevValue, props), "function" === typeof value) ) { "function" !== typeof prevValue && null !== prevValue && (key in domElement ? (domElement[key] = null) : domElement.hasAttribute(key) && domElement.removeAttribute(key)); domElement.addEventListener(tag, value, props); break a; } key in domElement ? (domElement[key] = value) : !0 === value ? domElement.setAttribute(key, "") : setValueForAttribute(domElement, key, value); } }}function setInitialProperties(domElement, tag, props) { switch (tag) { case "div": case "span": case "svg": case "path": case "a": case "g": case "p": case "li": break; case "img": listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); var hasSrc = !1, hasSrcSet = !1, propKey; for (propKey in props) if (props.hasOwnProperty(propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "src": hasSrc = !0; break; case "srcSet": hasSrcSet = !0; break; case "children": case "dangerouslySetInnerHTML": throw Error(formatProdErrorMessage(137, tag)); default: setProp(domElement, tag, propKey, propValue, props, null); } } hasSrcSet && setProp(domElement, tag, "srcSet", props.srcSet, props, null); hasSrc && setProp(domElement, tag, "src", props.src, props, null); return; case "input": listenToNonDelegatedEvent("invalid", domElement); var defaultValue = (propKey = propValue = hasSrcSet = null), checked = null, defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { var propValue$227 = props[hasSrc]; if (null != propValue$227) switch (hasSrc) { case "name": hasSrcSet = propValue$227; break; case "type": propValue = propValue$227; break; case "checked": checked = propValue$227; break; case "defaultChecked": defaultChecked = propValue$227; break; case "value": propKey = propValue$227; break; case "defaultValue": defaultValue = propValue$227; break; case "children": case "dangerouslySetInnerHTML": if (null != propValue$227) throw Error(formatProdErrorMessage(137, tag)); break; default: setProp(domElement, tag, hasSrc, propValue$227, props, null); } } initInput( domElement, propKey, defaultValue, checked, defaultChecked, propValue, hasSrcSet, !1 ); return; case "select": listenToNonDelegatedEvent("invalid", domElement); hasSrc = propValue = propKey = null; for (hasSrcSet in props) if ( props.hasOwnProperty(hasSrcSet) && ((defaultValue = props[hasSrcSet]), null != defaultValue) ) switch (hasSrcSet) { case "value": propKey = defaultValue; break; case "defaultValue": propValue = defaultValue; break; case "multiple": hasSrc = defaultValue; default: setProp(domElement, tag, hasSrcSet, defaultValue, props, null); } tag = propKey; props = propValue; domElement.multiple = !!hasSrc; null != tag ? updateOptions(domElement, !!hasSrc, tag, !1) : null != props && updateOptions(domElement, !!hasSrc, props, !0); return; case "textarea": listenToNonDelegatedEvent("invalid", domElement); propKey = hasSrcSet = hasSrc = null; for (propValue in props) if ( props.hasOwnProperty(propValue) && ((defaultValue = props[propValue]), null != defaultValue) ) switch (propValue) { case "value": hasSrc = defaultValue; break; case "defaultValue": hasSrcSet = defaultValue; break; case "children": propKey = defaultValue; break; case "dangerouslySetInnerHTML": if (null != defaultValue) throw Error(formatProdErrorMessage(91)); break; default: setProp(domElement, tag, propValue, defaultValue, props, null); } initTextarea(domElement, hasSrc, hasSrcSet, propKey); return; case "option": for (checked in props) if ( props.hasOwnProperty(checked) && ((hasSrc = props[checked]), null != hasSrc) ) switch (checked) { case "selected": domElement.selected = hasSrc && "function" !== typeof hasSrc && "symbol" !== typeof hasSrc; break; default: setProp(domElement, tag, checked, hasSrc, props, null); } return; case "dialog": listenToNonDelegatedEvent("beforetoggle", domElement); listenToNonDelegatedEvent("toggle", domElement); listenToNonDelegatedEvent("cancel", domElement); listenToNonDelegatedEvent("close", domElement); break; case "iframe": case "object": listenToNonDelegatedEvent("load", domElement); break; case "video": case "audio": for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++) listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement); break; case "image": listenToNonDelegatedEvent("error", domElement); listenToNonDelegatedEvent("load", domElement); break; case "details": listenToNonDelegatedEvent("toggle", domElement); break; case "embed": case "source": case "link": listenToNonDelegatedEvent("error", domElement), listenToNonDelegatedEvent("load", domElement); case "area": case "base": case "br": case "col": case "hr": case "keygen": case "meta": case "param": case "track": case "wbr": case "menuitem": for (defaultChecked in props) if ( props.hasOwnProperty(defaultChecked) && ((hasSrc = props[defaultChecked]), null != hasSrc) ) switch (defaultChecked) { case "children": case "dangerouslySetInnerHTML": throw Error(formatProdErrorMessage(137, tag)); default: setProp(domElement, tag, defaultChecked, hasSrc, props, null); } return; default: if (isCustomElement(tag)) { for (propValue$227 in props) props.hasOwnProperty(propValue$227) && ((hasSrc = props[propValue$227]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, propValue$227, hasSrc, props, void 0 )); return; } } for (defaultValue in props) props.hasOwnProperty(defaultValue) && ((hasSrc = props[defaultValue]), null != hasSrc && setProp(domElement, tag, defaultValue, hasSrc, props, null));}function updateProperties(domElement, tag, lastProps, nextProps) { switch (tag) { case "div": case "span": case "svg": case "path": case "a": case "g": case "p": case "li": break; case "input": var name = null, type = null, value = null, defaultValue = null, lastDefaultValue = null, checked = null, defaultChecked = null; for (propKey in lastProps) { var lastProp = lastProps[propKey]; if (lastProps.hasOwnProperty(propKey) && null != lastProp) switch (propKey) { case "checked": break; case "value": break; case "defaultValue": lastDefaultValue = lastProp; default: nextProps.hasOwnProperty(propKey) || setProp(domElement, tag, propKey, null, nextProps, lastProp); } } for (var propKey$244 in nextProps) { var propKey = nextProps[propKey$244]; lastProp = lastProps[propKey$244]; if ( nextProps.hasOwnProperty(propKey$244) && (null != propKey || null != lastProp) ) switch (propKey$244) { case "type": type = propKey; break; case "name": name = propKey; break; case "checked": checked = propKey; break; case "defaultChecked": defaultChecked = propKey; break; case "value": value = propKey; break; case "defaultValue": defaultValue = propKey; break; case "children": case "dangerouslySetInnerHTML": if (null != propKey) throw Error(formatProdErrorMessage(137, tag)); break; default: propKey !== lastProp && setProp( domElement, tag, propKey$244, propKey, nextProps, lastProp ); } } updateInput( domElement, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name ); return; case "select": propKey = value = defaultValue = propKey$244 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), lastProps.hasOwnProperty(type) && null != lastDefaultValue) ) switch (type) { case "value": break; case "multiple": propKey = lastDefaultValue; default: nextProps.hasOwnProperty(type) || setProp( domElement, tag, type, null, nextProps, lastDefaultValue ); } for (name in nextProps) if ( ((type = nextProps[name]), (lastDefaultValue = lastProps[name]), nextProps.hasOwnProperty(name) && (null != type || null != lastDefaultValue)) ) switch (name) { case "value": propKey$244 = type; break; case "defaultValue": defaultValue = type; break; case "multiple": value = type; default: type !== lastDefaultValue && setProp( domElement, tag, name, type, nextProps, lastDefaultValue ); } tag = defaultValue; lastProps = value; nextProps = propKey; null != propKey$244 ? updateOptions(domElement, !!lastProps, propKey$244, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": propKey = propKey$244 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), lastProps.hasOwnProperty(defaultValue) && null != name && !nextProps.hasOwnProperty(defaultValue)) ) switch (defaultValue) { case "value": break; case "children": break; default: setProp(domElement, tag, defaultValue, null, nextProps, name); } for (value in nextProps) if ( ((name = nextProps[value]), (type = lastProps[value]), nextProps.hasOwnProperty(value) && (null != name || null != type)) ) switch (value) { case "value": propKey$244 = name; break; case "defaultValue": propKey = name; break; case "children": break; case "dangerouslySetInnerHTML": if (null != name) throw Error(formatProdErrorMessage(91)); break; default: name !== type && setProp(domElement, tag, value, name, nextProps, type); } updateTextarea(domElement, propKey$244, propKey); return; case "option": for (var propKey$260 in lastProps) if ( ((propKey$244 = lastProps[propKey$260]), lastProps.hasOwnProperty(propKey$260) && null != propKey$244 && !nextProps.hasOwnProperty(propKey$260)) ) switch (propKey$260) { case "selected": domElement.selected = !1; break; default: setProp( domElement, tag, propKey$260, null, nextProps, propKey$244 ); } for (lastDefaultValue in nextProps) if ( ((propKey$244 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && propKey$244 !== propKey && (null != propKey$244 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = propKey$244 && "function" !== typeof propKey$244 && "symbol" !== typeof propKey$244; break; default: setProp( domElement, tag, lastDefaultValue, propKey$244, nextProps, propKey ); } return; case "img": case "link": case "area": case "base": case "br": case "col": case "embed": case "hr": case "keygen": case "meta": case "param": case "source": case "track": case "wbr": case "menuitem": for (var propKey$265 in lastProps) (propKey$244 = lastProps[propKey$265]), lastProps.hasOwnProperty(propKey$265) && null != propKey$244 && !nextProps.hasOwnProperty(propKey$265) && setProp(domElement, tag, propKey$265, null, nextProps, propKey$244); for (checked in nextProps) if ( ((propKey$244 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && propKey$244 !== propKey && (null != propKey$244 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": if (null != propKey$244) throw Error(formatProdErrorMessage(137, tag)); break; default: setProp( domElement, tag, checked, propKey$244, nextProps, propKey ); } return; default: if (isCustomElement(tag)) { for (var propKey$270 in lastProps) (propKey$244 = lastProps[propKey$270]), lastProps.hasOwnProperty(propKey$270) && void 0 !== propKey$244 && !nextProps.hasOwnProperty(propKey$270) && setPropOnCustomElement( domElement, tag, propKey$270, void 0, nextProps, propKey$244 ); for (defaultChecked in nextProps) (propKey$244 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || propKey$244 === propKey || (void 0 === propKey$244 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, propKey$244, nextProps, propKey ); return; } } for (var propKey$275 in lastProps) (propKey$244 = lastProps[propKey$275]), lastProps.hasOwnProperty(propKey$275) && null != propKey$244 && !nextProps.hasOwnProperty(propKey$275) && setProp(domElement, tag, propKey$275, null, nextProps, propKey$244); for (lastProp in nextProps) (propKey$244 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || propKey$244 === propKey || (null == propKey$244 && null == propKey) || setProp(domElement, tag, lastProp, propKey$244, nextProps, propKey);}function isLikelyStaticResource(initiatorType) { switch (initiatorType) { case "css": case "script": case "font": case "img": case "image": case "input": case "link": return !0; default: return !1; }}function estimateBandwidth() { if ("function" === typeof performance.getEntriesByType) { for ( var count = 0, bits = 0, resourceEntries = performance.getEntriesByType("resource"), i = 0; i < resourceEntries.length; i++ ) { var entry = resourceEntries[i], transferSize = entry.transferSize, initiatorType = entry.initiatorType, duration = entry.duration; if (transferSize && duration && isLikelyStaticResource(initiatorType)) { initiatorType = 0; duration = entry.responseEnd; for (i += 1; i < resourceEntries.length; i++) { var overlapEntry = resourceEntries[i], overlapStartTime = overlapEntry.startTime; if (overlapStartTime > duration) break; var overlapTransferSize = overlapEntry.transferSize, overlapInitiatorType = overlapEntry.initiatorType; overlapTransferSize && isLikelyStaticResource(overlapInitiatorType) && ((overlapEntry = overlapEntry.responseEnd), (initiatorType += overlapTransferSize * (overlapEntry < duration ? 1 : (duration - overlapStartTime) / (overlapEntry - overlapStartTime)))); } --i; bits += (8 * (transferSize + initiatorType)) / (entry.duration / 1e3); count++; if (10 < count) break; } } if (0 < count) return bits / count / 1e6; } return navigator.connection && ((count = navigator.connection.downlink), "number" === typeof count) ? count : 5;}var eventsEnabled = null, selectionInformation = null;function getOwnerDocumentFromRootContainer(rootContainerElement) { return 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument;}function getOwnHostContext(namespaceURI) { switch (namespaceURI) { case "http://www.w3.org/2000/svg": return 1; case "http://www.w3.org/1998/Math/MathML": return 2; default: return 0; }}function getChildHostContextProd(parentNamespace, type) { if (0 === parentNamespace) switch (type) { case "svg": return 1; case "math": return 2; default: return 0; } return 1 === parentNamespace && "foreignObject" === type ? 0 : parentNamespace;}function shouldSetTextContent(type, props) { return ( "textarea" === type || "noscript" === type || "string" === typeof props.children || "number" === typeof props.children || "bigint" === typeof props.children || ("object" === typeof props.dangerouslySetInnerHTML && null !== props.dangerouslySetInnerHTML && null != props.dangerouslySetInnerHTML.__html) );}var currentPopstateTransitionEvent = null;function shouldAttemptEagerTransition() { var event = window.event; if (event && "popstate" === event.type) { if (event === currentPopstateTransitionEvent) return !1; currentPopstateTransitionEvent = event; return !0; } currentPopstateTransitionEvent = null; return !1;}var schedulerEvent = void 0;function resolveEventType() { var event = window.event; return event && event !== schedulerEvent ? event.type : null;}function resolveEventTimeStamp() { var event = window.event; return event && event !== schedulerEvent ? event.timeStamp : -1.1;}var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, localPromise = "function" === typeof Promise ? Promise : void 0, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function (callback) { return localPromise .resolve(null) .then(callback) .catch(handleErrorInNextTick); } : scheduleTimeout;function handleErrorInNextTick(error) { setTimeout(function () { throw error; });}function isSingletonScope(type) { return "head" === type;}function clearHydrationBoundary(parentInstance, hydrationInstance) { var node = hydrationInstance, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node || "/&" === node)) { if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(hydrationInstance); return; } depth--; } else if ( "$" === node || "$?" === node || "$~" === node || "$!" === node || "&" === node ) depth++; else if ("html" === node) releaseSingletonInstance(parentInstance.ownerDocument.documentElement); else if ("head" === node) { node = parentInstance.ownerDocument.head; releaseSingletonInstance(node); for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { var nextNode$jscomp$0 = node$jscomp$0.nextSibling, nodeName = node$jscomp$0.nodeName; node$jscomp$0[internalHoistableMarker] || "SCRIPT" === nodeName || "STYLE" === nodeName || ("LINK" === nodeName && "stylesheet" === node$jscomp$0.rel.toLowerCase()) || node.removeChild(node$jscomp$0); node$jscomp$0 = nextNode$jscomp$0; } } else "body" === node && releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(hydrationInstance);}function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) { var node = suspenseInstance; suspenseInstance = 0; do { var nextNode = node.nextSibling; 1 === node.nodeType ? isHidden ? ((node._stashedDisplay = node.style.display), (node.style.display = "none")) : ((node.style.display = node._stashedDisplay || ""), "" === node.getAttribute("style") && node.removeAttribute("style")) : 3 === node.nodeType && (isHidden ? ((node._stashedText = node.nodeValue), (node.nodeValue = "")) : (node.nodeValue = node._stashedText || "")); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) if (0 === suspenseInstance) break; else suspenseInstance--; else ("$" !== node && "$?" !== node && "$~" !== node && "$!" !== node) || suspenseInstance++; node = nextNode; } while (node);}function clearContainerSparingly(container) { var nextNode = container.firstChild; nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling); for (; nextNode; ) { var node = nextNode; nextNode = nextNode.nextSibling; switch (node.nodeName) { case "HTML": case "HEAD": case "BODY": clearContainerSparingly(node); detachDeletedInstance(node); continue; case "SCRIPT": case "STYLE": continue; case "LINK": if ("stylesheet" === node.rel.toLowerCase()) continue; } container.removeChild(node); }}function canHydrateInstance(instance, type, props, inRootOrSingleton) { for (; 1 === instance.nodeType; ) { var anyProps = props; if (instance.nodeName.toLowerCase() !== type.toLowerCase()) { if ( !inRootOrSingleton && ("INPUT" !== instance.nodeName || "hidden" !== instance.type) ) break; } else if (!inRootOrSingleton) if ("input" === type && "hidden" === instance.type) { var name = null == anyProps.name ? null : "" + anyProps.name; if ( "hidden" === anyProps.type && instance.getAttribute("name") === name ) return instance; } else return instance; else if (!instance[internalHoistableMarker]) switch (type) { case "meta": if (!instance.hasAttribute("itemprop")) break; return instance; case "link": name = instance.getAttribute("rel"); if ("stylesheet" === name && instance.hasAttribute("data-precedence")) break; else if ( name !== anyProps.rel || instance.getAttribute("href") !== (null == anyProps.href || "" === anyProps.href ? null : anyProps.href) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || instance.getAttribute("title") !== (null == anyProps.title ? null : anyProps.title) ) break; return instance; case "style": if (instance.hasAttribute("data-precedence")) break; return instance; case "script": name = instance.getAttribute("src"); if ( (name !== (null == anyProps.src ? null : anyProps.src) || instance.getAttribute("type") !== (null == anyProps.type ? null : anyProps.type) || instance.getAttribute("crossorigin") !== (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) && name && instance.hasAttribute("async") && !instance.hasAttribute("itemprop") ) break; return instance; default: return instance; } instance = getNextHydratable(instance.nextSibling); if (null === instance) break; } return null;}function canHydrateTextInstance(instance, text, inRootOrSingleton) { if ("" === text) return null; for (; 3 !== instance.nodeType; ) { if ( (1 !== instance.nodeType || "INPUT" !== instance.nodeName || "hidden" !== instance.type) && !inRootOrSingleton ) return null; instance = getNextHydratable(instance.nextSibling); if (null === instance) return null; } return instance;}function canHydrateHydrationBoundary(instance, inRootOrSingleton) { for (; 8 !== instance.nodeType; ) { if ( (1 !== instance.nodeType || "INPUT" !== instance.nodeName || "hidden" !== instance.type) && !inRootOrSingleton ) return null; instance = getNextHydratable(instance.nextSibling); if (null === instance) return null; } return instance;}function isSuspenseInstancePending(instance) { return "$?" === instance.data || "$~" === instance.data;}function isSuspenseInstanceFallback(instance) { return ( "$!" === instance.data || ("$?" === instance.data && "loading" !== instance.ownerDocument.readyState) );}function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; if ("$~" === instance.data) instance._reactRetry = callback; else if ("$?" !== instance.data || "loading" !== ownerDocument.readyState) callback(); else { var listener = function () { callback(); ownerDocument.removeEventListener("DOMContentLoaded", listener); }; ownerDocument.addEventListener("DOMContentLoaded", listener); instance._reactRetry = listener; }}function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { var nodeType = node.nodeType; if (1 === nodeType || 3 === nodeType) break; if (8 === nodeType) { nodeType = node.data; if ( "$" === nodeType || "$!" === nodeType || "$?" === nodeType || "$~" === nodeType || "&" === nodeType || "F!" === nodeType || "F" === nodeType ) break; if ("/$" === nodeType || "/&" === nodeType) return null; } } return node;}var previousHydratableOnEnteringScopedSingleton = null;function getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) { hydrationInstance = hydrationInstance.nextSibling; for (var depth = 0; hydrationInstance; ) { if (8 === hydrationInstance.nodeType) { var data = hydrationInstance.data; if ("/$" === data || "/&" === data) { if (0 === depth) return getNextHydratable(hydrationInstance.nextSibling); depth--; } else ("$" !== data && "$!" !== data && "$?" !== data && "$~" !== data && "&" !== data) || depth++; } hydrationInstance = hydrationInstance.nextSibling; } return null;}function getParentHydrationBoundary(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { if (8 === targetInstance.nodeType) { var data = targetInstance.data; if ( "$" === data || "$!" === data || "$?" === data || "$~" === data || "&" === data ) { if (0 === depth) return targetInstance; depth--; } else ("/$" !== data && "/&" !== data) || depth++; } targetInstance = targetInstance.previousSibling; } return null;}function resolveSingletonInstance(type, props, rootContainerInstance) { props = getOwnerDocumentFromRootContainer(rootContainerInstance); switch (type) { case "html": type = props.documentElement; if (!type) throw Error(formatProdErrorMessage(452)); return type; case "head": type = props.head; if (!type) throw Error(formatProdErrorMessage(453)); return type; case "body": type = props.body; if (!type) throw Error(formatProdErrorMessage(454)); return type; default: throw Error(formatProdErrorMessage(451)); }}function releaseSingletonInstance(instance) { for (var attributes = instance.attributes; attributes.length; ) instance.removeAttributeNode(attributes[0]); detachDeletedInstance(instance);}var preloadPropsMap = new Map(), preconnectsSet = new Set();function getHoistableRoot(container) { return "function" === typeof container.getRootNode ? container.getRootNode() : 9 === container.nodeType ? container : container.ownerDocument;}var previousDispatcher = ReactDOMSharedInternals.d;ReactDOMSharedInternals.d = { f: flushSyncWork, r: requestFormReset$1, D: prefetchDNS$1, C: preconnect$1, L: preload$1, m: preloadModule$1, X: preinitScript, S: preinitStyle, M: preinitModuleScript};function flushSyncWork() { var previousWasRendering = previousDispatcher.f(), wasRendering = flushSyncWork$1(); return previousWasRendering || wasRendering;}function requestFormReset$1(form) { var formInst = getInstanceFromNode(form); null !== formInst && 5 === formInst.tag && "form" === formInst.type ? requestFormReset$2(formInst) : previousDispatcher.r(form);}var globalDocument = "undefined" === typeof document ? null : document;function preconnectAs(rel, href, crossOrigin) { var ownerDocument = globalDocument; if (ownerDocument && "string" === typeof href && href) { var limitedEscapedHref = escapeSelectorAttributeValueInsideDoubleQuotes(href); limitedEscapedHref = 'link[rel="' + rel + '"][href="' + limitedEscapedHref + '"]'; "string" === typeof crossOrigin && (limitedEscapedHref += '[crossorigin="' + crossOrigin + '"]'); preconnectsSet.has(limitedEscapedHref) || (preconnectsSet.add(limitedEscapedHref), (rel = { rel: rel, crossOrigin: crossOrigin, href: href }), null === ownerDocument.querySelector(limitedEscapedHref) && ((href = ownerDocument.createElement("link")), setInitialProperties(href, "link", rel), markNodeAsHoistable(href), ownerDocument.head.appendChild(href))); }}function prefetchDNS$1(href) { previousDispatcher.D(href); preconnectAs("dns-prefetch", href, null);}function preconnect$1(href, crossOrigin) { previousDispatcher.C(href, crossOrigin); preconnectAs("preconnect", href, crossOrigin);}function preload$1(href, as, options) { previousDispatcher.L(href, as, options); var ownerDocument = globalDocument; if (ownerDocument && href && as) { var preloadSelector = 'link[rel="preload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"]'; "image" === as ? options && options.imageSrcSet ? ((preloadSelector += '[imagesrcset="' + escapeSelectorAttributeValueInsideDoubleQuotes( options.imageSrcSet ) + '"]'), "string" === typeof options.imageSizes && (preloadSelector += '[imagesizes="' + escapeSelectorAttributeValueInsideDoubleQuotes( options.imageSizes ) + '"]')) : (preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]') : (preloadSelector += '[href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]'); var key = preloadSelector; switch (as) { case "style": key = getStyleKey(href); break; case "script": key = getScriptKey(href); } preloadPropsMap.has(key) || ((href = assign( { rel: "preload", href: "image" === as && options && options.imageSrcSet ? void 0 : href, as: as }, options )), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || ("style" === as && ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) || ("script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key))) || ((as = ownerDocument.createElement("link")), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as))); }}function preloadModule$1(href, options) { previousDispatcher.m(href, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var as = options && "string" === typeof options.as ? options.as : "script", preloadSelector = 'link[rel="modulepreload"][as="' + escapeSelectorAttributeValueInsideDoubleQuotes(as) + '"][href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"]', key = preloadSelector; switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": key = getScriptKey(href); } if ( !preloadPropsMap.has(key) && ((href = assign({ rel: "modulepreload", href: href }, options)), preloadPropsMap.set(key, href), null === ownerDocument.querySelector(preloadSelector)) ) { switch (as) { case "audioworklet": case "paintworklet": case "serviceworker": case "sharedworker": case "worker": case "script": if (ownerDocument.querySelector(getScriptSelectorFromKey(key))) return; } as = ownerDocument.createElement("link"); setInitialProperties(as, "link", href); markNodeAsHoistable(as); ownerDocument.head.appendChild(as); } }}function preinitStyle(href, precedence, options) { previousDispatcher.S(href, precedence, options); var ownerDocument = globalDocument; if (ownerDocument && href) { var styles = getResourcesFromRoot(ownerDocument).hoistableStyles, key = getStyleKey(href); precedence = precedence || "default"; var resource = styles.get(key); if (!resource) { var state = { loading: 0, preload: null }; if ( (resource = ownerDocument.querySelector( getStylesheetSelectorFromKey(key) )) ) state.loading = 5; else { href = assign( { rel: "stylesheet", href: href, "data-precedence": precedence }, options ); (options = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(href, options); var link = (resource = ownerDocument.createElement("link")); markNodeAsHoistable(link); setInitialProperties(link, "link", href); link._p = new Promise(function (resolve, reject) { link.onload = resolve; link.onerror = reject; }); link.addEventListener("load", function () { state.loading |= 1; }); link.addEventListener("error", function () { state.loading |= 2; }); state.loading |= 4; insertStylesheet(resource, precedence, ownerDocument); } resource = { type: "stylesheet", instance: resource, count: 1, state: state }; styles.set(key, resource); } }}function preinitScript(src, options) { previousDispatcher.X(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))), resource || ((src = assign({ src: src, async: !0 }, options)), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), (resource = ownerDocument.createElement("script")), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), (resource = { type: "script", instance: resource, count: 1, state: null }), scripts.set(key, resource)); }}function preinitModuleScript(src, options) { previousDispatcher.M(src, options); var ownerDocument = globalDocument; if (ownerDocument && src) { var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, key = getScriptKey(src), resource = scripts.get(key); resource || ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))), resource || ((src = assign({ src: src, async: !0, type: "module" }, options)), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), (resource = ownerDocument.createElement("script")), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), (resource = { type: "script", instance: resource, count: 1, state: null }), scripts.set(key, resource)); }}function getResource(type, currentProps, pendingProps, currentResource) { var JSCompiler_inline_result = (JSCompiler_inline_result = rootInstanceStackCursor.current) ? getHoistableRoot(JSCompiler_inline_result) : null; if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446)); switch (type) { case "meta": case "title": return null; case "style": return "string" === typeof pendingProps.precedence && "string" === typeof pendingProps.href ? ((currentProps = getStyleKey(pendingProps.href)), (pendingProps = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles), (currentResource = pendingProps.get(currentProps)), currentResource || ((currentResource = { type: "style", instance: null, count: 0, state: null }), pendingProps.set(currentProps, currentResource)), currentResource) : { type: "void", instance: null, count: 0, state: null }; case "link": if ( "stylesheet" === pendingProps.rel && "string" === typeof pendingProps.href && "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); var styles$286 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, resource$287 = styles$286.get(type); resource$287 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), (resource$287 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), styles$286.set(type, resource$287), (styles$286 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && !styles$286._p && ((resource$287.instance = styles$286), (resource$287.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", as: "style", href: pendingProps.href, crossOrigin: pendingProps.crossOrigin, integrity: pendingProps.integrity, media: pendingProps.media, hrefLang: pendingProps.hrefLang, referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), styles$286 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, resource$287.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); return resource$287; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); return null; case "script": return ( (currentProps = pendingProps.async), (pendingProps = pendingProps.src), "string" === typeof pendingProps && currentProps && "function" !== typeof currentProps && "symbol" !== typeof currentProps ? ((currentProps = getScriptKey(pendingProps)), (pendingProps = getResourcesFromRoot( JSCompiler_inline_result ).hoistableScripts), (currentResource = pendingProps.get(currentProps)), currentResource || ((currentResource = { type: "script", instance: null, count: 0, state: null }), pendingProps.set(currentProps, currentResource)), currentResource) : { type: "void", instance: null, count: 0, state: null } ); default: throw Error(formatProdErrorMessage(444, type)); }}function getStyleKey(href) { return 'href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"';}function getStylesheetSelectorFromKey(key) { return 'link[rel="stylesheet"][' + key + "]";}function stylesheetPropsFromRawProps(rawProps) { return assign({}, rawProps, { "data-precedence": rawProps.precedence, precedence: null });}function preloadStylesheet(ownerDocument, key, preloadProps, state) { ownerDocument.querySelector('link[rel="preload"][as="style"][' + key + "]") ? (state.loading = 1) : ((key = ownerDocument.createElement("link")), (state.preload = key), key.addEventListener("load", function () { return (state.loading |= 1); }), key.addEventListener("error", function () { return (state.loading |= 2); }), setInitialProperties(key, "link", preloadProps), markNodeAsHoistable(key), ownerDocument.head.appendChild(key));}function getScriptKey(src) { return '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '"]';}function getScriptSelectorFromKey(key) { return "script[async]" + key;}function acquireResource(hoistableRoot, resource, props) { resource.count++; if (null === resource.instance) switch (resource.type) { case "style": var instance = hoistableRoot.querySelector( 'style[data-href~="' + escapeSelectorAttributeValueInsideDoubleQuotes(props.href) + '"]' ); if (instance) return ( (resource.instance = instance), markNodeAsHoistable(instance), instance ); var styleProps = assign({}, props, { "data-href": props.href, "data-precedence": props.precedence, href: null, precedence: null }); instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement( "style" ); markNodeAsHoistable(instance); setInitialProperties(instance, "style", styleProps); insertStylesheet(instance, props.precedence, hoistableRoot); return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); var instance$292 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); if (instance$292) return ( (resource.state.loading |= 4), (resource.instance = instance$292), markNodeAsHoistable(instance$292), instance$292 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); instance$292 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); markNodeAsHoistable(instance$292); var linkInstance = instance$292; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); setInitialProperties(instance$292, "link", instance); resource.state.loading |= 4; insertStylesheet(instance$292, props.precedence, hoistableRoot); return (resource.instance = instance$292); case "script": instance$292 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( getScriptSelectorFromKey(instance$292) )) ) return ( (resource.instance = styleProps), markNodeAsHoistable(styleProps), styleProps ); instance = props; if ((styleProps = preloadPropsMap.get(instance$292))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; styleProps = hoistableRoot.createElement("script"); markNodeAsHoistable(styleProps); setInitialProperties(styleProps, "link", instance); hoistableRoot.head.appendChild(styleProps); return (resource.instance = styleProps); case "void": return null; default: throw Error(formatProdErrorMessage(443, resource.type)); } else "stylesheet" === resource.type && 0 === (resource.state.loading & 4) && ((instance = resource.instance), (resource.state.loading |= 4), insertStylesheet(instance, props.precedence, hoistableRoot)); return resource.instance;}function insertStylesheet(instance, precedence, root) { for ( var nodes = root.querySelectorAll( 'link[rel="stylesheet"][data-precedence],style[data-precedence]' ), last = nodes.length ? nodes[nodes.length - 1] : null, prior = last, i = 0; i < nodes.length; i++ ) { var node = nodes[i]; if (node.dataset.precedence === precedence) prior = node; else if (prior !== last) break; } prior ? prior.parentNode.insertBefore(instance, prior.nextSibling) : ((precedence = 9 === root.nodeType ? root.head : root), precedence.insertBefore(instance, precedence.firstChild));}function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) { null == stylesheetProps.crossOrigin && (stylesheetProps.crossOrigin = preloadProps.crossOrigin); null == stylesheetProps.referrerPolicy && (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy); null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title);}function adoptPreloadPropsForScript(scriptProps, preloadProps) { null == scriptProps.crossOrigin && (scriptProps.crossOrigin = preloadProps.crossOrigin); null == scriptProps.referrerPolicy && (scriptProps.referrerPolicy = preloadProps.referrerPolicy); null == scriptProps.integrity && (scriptProps.integrity = preloadProps.integrity);}var tagCaches = null;function getHydratableHoistableCache(type, keyAttribute, ownerDocument) { if (null === tagCaches) { var cache = new Map(); var caches = (tagCaches = new Map()); caches.set(ownerDocument, cache); } else (caches = tagCaches), (cache = caches.get(ownerDocument)), cache || ((cache = new Map()), caches.set(ownerDocument, cache)); if (cache.has(type)) return cache; cache.set(type, null); ownerDocument = ownerDocument.getElementsByTagName(type); for (caches = 0; caches < ownerDocument.length; caches++) { var node = ownerDocument[caches]; if ( !( node[internalHoistableMarker] || node[internalInstanceKey] || ("link" === type && "stylesheet" === node.getAttribute("rel")) ) && "http://www.w3.org/2000/svg" !== node.namespaceURI ) { var nodeKey = node.getAttribute(keyAttribute) || ""; nodeKey = type + nodeKey; var existing = cache.get(nodeKey); existing ? existing.push(node) : cache.set(nodeKey, [node]); } } return cache;}function mountHoistable(hoistableRoot, type, instance) { hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; hoistableRoot.head.insertBefore( instance, "title" === type ? hoistableRoot.querySelector("head > title") : null );}function isHostHoistableType(type, props, hostContext) { if (1 === hostContext || null != props.itemProp) return !1; switch (type) { case "meta": case "title": return !0; case "style": if ( "string" !== typeof props.precedence || "string" !== typeof props.href || "" === props.href ) break; return !0; case "link": if ( "string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href || props.onLoad || props.onError ) break; switch (props.rel) { case "stylesheet": return ( (type = props.disabled), "string" === typeof props.precedence && null == type ); default: return !0; } case "script": if ( props.async && "function" !== typeof props.async && "symbol" !== typeof props.async && !props.onLoad && !props.onError && props.src && "string" === typeof props.src ) return !0; } return !1;}function preloadResource(resource) { return "stylesheet" === resource.type && 0 === (resource.state.loading & 3) ? !1 : !0;}function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || !1 !== matchMedia(props.media).matches) && 0 === (resource.state.loading & 4) ) { if (null === resource.instance) { var key = getStyleKey(props.href), instance = hoistableRoot.querySelector( getStylesheetSelectorFromKey(key) ); if (instance) { hoistableRoot = instance._p; null !== hoistableRoot && "object" === typeof hoistableRoot && "function" === typeof hoistableRoot.then && (state.count++, (state = onUnsuspend.bind(state)), hoistableRoot.then(state, state)); resource.state.loading |= 4; resource.instance = instance; markNodeAsHoistable(instance); return; } instance = hoistableRoot.ownerDocument || hoistableRoot; props = stylesheetPropsFromRawProps(props); (key = preloadPropsMap.get(key)) && adoptPreloadPropsForStylesheet(props, key); instance = instance.createElement("link"); markNodeAsHoistable(instance); var linkInstance = instance; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); setInitialProperties(instance, "link", props); resource.instance = instance; } null === state.stylesheets && (state.stylesheets = new Map()); state.stylesheets.set(resource, hoistableRoot); (hoistableRoot = resource.state.preload) && 0 === (resource.state.loading & 3) && (state.count++, (resource = onUnsuspend.bind(state)), hoistableRoot.addEventListener("load", resource), hoistableRoot.addEventListener("error", resource)); }}var estimatedBytesWithinLimit = 0;function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); return 0 < state.count || 0 < state.imgCount ? function (commit) { var stylesheetTimer = setTimeout(function () { state.stylesheets && insertSuspendedStylesheets(state, state.stylesheets); if (state.unsuspend) { var unsuspend = state.unsuspend; state.unsuspend = null; unsuspend(); } }, 6e4 + timeoutOffset); 0 < state.imgBytes && 0 === estimatedBytesWithinLimit && (estimatedBytesWithinLimit = 62500 * estimateBandwidth()); var imgTimer = setTimeout( function () { state.waitingForImages = !1; if ( 0 === state.count && (state.stylesheets && insertSuspendedStylesheets(state, state.stylesheets), state.unsuspend) ) { var unsuspend = state.unsuspend; state.unsuspend = null; unsuspend(); } }, (state.imgBytes > estimatedBytesWithinLimit ? 50 : 800) + timeoutOffset ); state.unsuspend = commit; return function () { state.unsuspend = null; clearTimeout(stylesheetTimer); clearTimeout(imgTimer); }; } : null;}function onUnsuspend() { this.count--; if (0 === this.count && (0 === this.imgCount || !this.waitingForImages)) if (this.stylesheets) insertSuspendedStylesheets(this, this.stylesheets); else if (this.unsuspend) { var unsuspend = this.unsuspend; this.unsuspend = null; unsuspend(); }}var precedencesByRoot = null;function insertSuspendedStylesheets(state, resources) { state.stylesheets = null; null !== state.unsuspend && (state.count++, (precedencesByRoot = new Map()), resources.forEach(insertStylesheetIntoRoot, state), (precedencesByRoot = null), onUnsuspend.call(state));}function insertStylesheetIntoRoot(root, resource) { if (!(resource.state.loading & 4)) { var precedences = precedencesByRoot.get(root); if (precedences) var last = precedences.get(null); else { precedences = new Map(); precedencesByRoot.set(root, precedences); for ( var nodes = root.querySelectorAll( "link[data-precedence],style[data-precedence]" ), i = 0; i < nodes.length; i++ ) { var node = nodes[i]; if ( "LINK" === node.nodeName || "not all" !== node.getAttribute("media") ) precedences.set(node.dataset.precedence, node), (last = node); } last && precedences.set(null, last); } nodes = resource.instance; node = nodes.getAttribute("data-precedence"); i = precedences.get(node) || last; i === last && precedences.set(null, nodes); precedences.set(node, nodes); this.count++; last = onUnsuspend.bind(this); nodes.addEventListener("load", last); nodes.addEventListener("error", last); i ? i.parentNode.insertBefore(nodes, i.nextSibling) : ((root = 9 === root.nodeType ? root.head : root), root.insertBefore(nodes, root.firstChild)); resource.state.loading |= 4; }}var HostTransitionContext = { $$typeof: REACT_CONTEXT_TYPE, Provider: null, Consumer: null, _currentValue: sharedNotPendingObject, _currentValue2: sharedNotPendingObject, _threadCount: 0};function FiberRootNode( containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator, formState) { this.tag = 1; this.containerInfo = containerInfo; this.pingCache = this.current = this.pendingChildren = null; this.timeoutHandle = -1; this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null; this.callbackPriority = 0; this.expirationTimes = createLaneMap(-1); this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0; this.entanglements = createLaneMap(0); this.hiddenUpdates = createLaneMap(null); this.identifierPrefix = identifierPrefix; this.onUncaughtError = onUncaughtError; this.onCaughtError = onCaughtError; this.onRecoverableError = onRecoverableError; this.pooledCache = null; this.pooledCacheLanes = 0; this.formState = formState; this.incompleteTransitions = new Map(); this.passiveEffectDuration = this.effectDuration = -0; this.memoizedUpdaters = new Set(); containerInfo = this.pendingUpdatersLaneMap = []; for (tag = 0; 31 > tag; tag++) containerInfo.push(new Set());}function createFiberRoot( containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator) { containerInfo = new FiberRootNode( containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator, formState ); tag = 1; !0 === isStrictMode && (tag |= 24); isDevToolsPresent && (tag |= 2); isStrictMode = createFiberImplClass(3, null, null, tag); containerInfo.current = isStrictMode; isStrictMode.stateNode = containerInfo; tag = createCache(); tag.refCount++; containerInfo.pooledCache = tag; tag.refCount++; isStrictMode.memoizedState = { element: initialChildren, isDehydrated: hydrate, cache: tag }; initializeUpdateQueue(isStrictMode); return containerInfo;}function createPortal$1(children, containerInfo, implementation) { var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; return { $$typeof: REACT_PORTAL_TYPE, key: null == key ? null : "" + key, children: children, containerInfo: containerInfo, implementation: implementation };}function getContextForSubtree(parentComponent) { if (!parentComponent) return emptyContextObject; parentComponent = emptyContextObject; return parentComponent;}function updateContainerImpl( rootFiber, lane, element, container, parentComponent, callback) { parentComponent = getContextForSubtree(parentComponent); null === container.context ? (container.context = parentComponent) : (container.pendingContext = parentComponent); container = createUpdate(lane); container.payload = { element: element }; callback = void 0 === callback ? null : callback; null !== callback && (container.callback = callback); element = enqueueUpdate(rootFiber, container, lane); null !== element && (startUpdateTimerByLane(lane), scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));}function markRetryLaneImpl(fiber, retryLane) { fiber = fiber.memoizedState; if (null !== fiber && null !== fiber.dehydrated) { var a = fiber.retryLane; fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane; }}function markRetryLaneIfNotHydrated(fiber, retryLane) { markRetryLaneImpl(fiber, retryLane); (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);}function attemptContinuousHydration(fiber) { if (13 === fiber.tag || 31 === fiber.tag) { var root = enqueueConcurrentRenderForLane(fiber, 67108864); null !== root && scheduleUpdateOnFiber(root, fiber, 67108864); markRetryLaneIfNotHydrated(fiber, 67108864); }}function attemptHydrationAtCurrentPriority(fiber) { if (13 === fiber.tag || 31 === fiber.tag) { var lane = requestUpdateLane(); lane = getBumpedLaneForHydrationByLane(lane); var root = enqueueConcurrentRenderForLane(fiber, lane); null !== root && scheduleUpdateOnFiber(root, fiber, lane); markRetryLaneIfNotHydrated(fiber, lane); }}var _enabled = !0;function dispatchDiscreteEvent( domEventName, eventSystemFlags, container, nativeEvent) { var prevTransition = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; try { (ReactDOMSharedInternals.p = 2), dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); }}function dispatchContinuousEvent( domEventName, eventSystemFlags, container, nativeEvent) { var prevTransition = ReactSharedInternals.T; ReactSharedInternals.T = null; var previousPriority = ReactDOMSharedInternals.p; try { (ReactDOMSharedInternals.p = 8), dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition); }}function dispatchEvent( domEventName, eventSystemFlags, targetContainer, nativeEvent) { if (_enabled) { var blockedOn = findInstanceBlockingEvent(nativeEvent); if (null === blockedOn) dispatchEventForPluginEventSystem( domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer ), clearIfContinuousEvent(domEventName, nativeEvent); else if ( queueIfContinuousEvent( blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent ) ) nativeEvent.stopPropagation(); else if ( (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags & 4 && -1 < discreteReplayableEvents.indexOf(domEventName)) ) { for (; null !== blockedOn; ) { var fiber = getInstanceFromNode(blockedOn); if (null !== fiber) switch (fiber.tag) { case 3: fiber = fiber.stateNode; if (fiber.current.memoizedState.isDehydrated) { var lanes = getHighestPriorityLanes(fiber.pendingLanes); if (0 !== lanes) { var root = fiber; root.pendingLanes |= 2; for (root.entangledLanes |= 2; lanes; ) { var lane = 1 << (31 - clz32(lanes)); root.entanglements[1] |= lane; lanes &= ~lane; } ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now$1() + 500), flushSyncWorkAcrossRoots_impl(0, !1)); } } break; case 31: case 13: (root = enqueueConcurrentRenderForLane(fiber, 2)), null !== root && scheduleUpdateOnFiber(root, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2); } fiber = findInstanceBlockingEvent(nativeEvent); null === fiber && dispatchEventForPluginEventSystem( domEventName, eventSystemFlags, nativeEvent, return_targetInst, targetContainer ); if (fiber === blockedOn) break; blockedOn = fiber; } null !== blockedOn && nativeEvent.stopPropagation(); } else dispatchEventForPluginEventSystem( domEventName, eventSystemFlags, nativeEvent, null, targetContainer ); }}function findInstanceBlockingEvent(nativeEvent) { nativeEvent = getEventTarget(nativeEvent); return findInstanceBlockingTarget(nativeEvent);}var return_targetInst = null;function findInstanceBlockingTarget(targetNode) { return_targetInst = null; targetNode = getClosestInstanceFromNode(targetNode); if (null !== targetNode) { var nearestMounted = getNearestMountedFiber(targetNode); if (null === nearestMounted) targetNode = null; else { var tag = nearestMounted.tag; if (13 === tag) { targetNode = getSuspenseInstanceFromFiber(nearestMounted); if (null !== targetNode) return targetNode; targetNode = null; } else if (31 === tag) { targetNode = getActivityInstanceFromFiber(nearestMounted); if (null !== targetNode) return targetNode; targetNode = null; } else if (3 === tag) { if (nearestMounted.stateNode.current.memoizedState.isDehydrated) return 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; targetNode = null; } else nearestMounted !== targetNode && (targetNode = null); } } return_targetInst = targetNode; return null;}function getEventPriority(domEventName) { switch (domEventName) { case "beforetoggle": case "cancel": case "click": case "close": case "contextmenu": case "copy": case "cut": case "auxclick": case "dblclick": case "dragend": case "dragstart": case "drop": case "focusin": case "focusout": case "input": case "invalid": case "keydown": case "keypress": case "keyup": case "mousedown": case "mouseup": case "paste": case "pause": case "play": case "pointercancel": case "pointerdown": case "pointerup": case "ratechange": case "reset": case "resize": case "seeked": case "submit": case "toggle": case "touchcancel": case "touchend": case "touchstart": case "volumechange": case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": case "compositionupdate": case "beforeblur": case "afterblur": case "beforeinput": case "blur": case "fullscreenchange": case "focus": case "hashchange": case "popstate": case "select": case "selectstart": return 2; case "drag": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "mousemove": case "mouseout": case "mouseover": case "pointermove": case "pointerout": case "pointerover": case "scroll": case "touchmove": case "wheel": case "mouseenter": case "mouseleave": case "pointerenter": case "pointerleave": return 8; case "message": switch (getCurrentPriorityLevel()) { case ImmediatePriority: return 2; case UserBlockingPriority: return 8; case NormalPriority$1: case LowPriority: return 32; case IdlePriority: return 268435456; default: return 32; } default: return 32; }}var hasScheduledReplayAttempt = !1, queuedFocus = null, queuedDrag = null, queuedMouse = null, queuedPointers = new Map(), queuedPointerCaptures = new Map(), queuedExplicitHydrationTargets = [], discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split( " " );function clearIfContinuousEvent(domEventName, nativeEvent) { switch (domEventName) { case "focusin": case "focusout": queuedFocus = null; break; case "dragenter": case "dragleave": queuedDrag = null; break; case "mouseover": case "mouseout": queuedMouse = null; break; case "pointerover": case "pointerout": queuedPointers.delete(nativeEvent.pointerId); break; case "gotpointercapture": case "lostpointercapture": queuedPointerCaptures.delete(nativeEvent.pointerId); }}function accumulateOrCreateContinuousQueuedReplayableEvent( existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { if ( null === existingQueuedEvent || existingQueuedEvent.nativeEvent !== nativeEvent ) return ( (existingQueuedEvent = { blockedOn: blockedOn, domEventName: domEventName, eventSystemFlags: eventSystemFlags, nativeEvent: nativeEvent, targetContainers: [targetContainer] }), null !== blockedOn && ((blockedOn = getInstanceFromNode(blockedOn)), null !== blockedOn && attemptContinuousHydration(blockedOn)), existingQueuedEvent ); existingQueuedEvent.eventSystemFlags |= eventSystemFlags; blockedOn = existingQueuedEvent.targetContainers; null !== targetContainer && -1 === blockedOn.indexOf(targetContainer) && blockedOn.push(targetContainer); return existingQueuedEvent;}function queueIfContinuousEvent( blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) { switch (domEventName) { case "focusin": return ( (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent( queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent )), !0 ); case "dragenter": return ( (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent( queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent )), !0 ); case "mouseover": return ( (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent( queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent )), !0 ); case "pointerover": var pointerId = nativeEvent.pointerId; queuedPointers.set( pointerId, accumulateOrCreateContinuousQueuedReplayableEvent( queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent ) ); return !0; case "gotpointercapture": return ( (pointerId = nativeEvent.pointerId), queuedPointerCaptures.set( pointerId, accumulateOrCreateContinuousQueuedReplayableEvent( queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent ) ), !0 ); } return !1;}function attemptExplicitHydrationTarget(queuedTarget) { var targetInst = getClosestInstanceFromNode(queuedTarget.target); if (null !== targetInst) { var nearestMounted = getNearestMountedFiber(targetInst); if (null !== nearestMounted) if (((targetInst = nearestMounted.tag), 13 === targetInst)) { if ( ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)), null !== targetInst) ) { queuedTarget.blockedOn = targetInst; runWithPriority(queuedTarget.priority, function () { attemptHydrationAtCurrentPriority(nearestMounted); }); return; } } else if (31 === targetInst) { if ( ((targetInst = getActivityInstanceFromFiber(nearestMounted)), null !== targetInst) ) { queuedTarget.blockedOn = targetInst; runWithPriority(queuedTarget.priority, function () { attemptHydrationAtCurrentPriority(nearestMounted); }); return; } } else if ( 3 === targetInst && nearestMounted.stateNode.current.memoizedState.isDehydrated ) { queuedTarget.blockedOn = 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null; return; } } queuedTarget.blockedOn = null;}function attemptReplayContinuousQueuedEvent(queuedEvent) { if (null !== queuedEvent.blockedOn) return !1; for ( var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length;
) { var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent); if (null === nextBlockedOn) { nextBlockedOn = queuedEvent.nativeEvent; var nativeEventClone = new nextBlockedOn.constructor( nextBlockedOn.type, nextBlockedOn ); currentReplayingEvent = nativeEventClone; nextBlockedOn.target.dispatchEvent(nativeEventClone); currentReplayingEvent = null; } else return ( (targetContainers = getInstanceFromNode(nextBlockedOn)), null !== targetContainers && attemptContinuousHydration(targetContainers), (queuedEvent.blockedOn = nextBlockedOn), !1 ); targetContainers.shift(); } return !0;}function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) { attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);}function replayUnblockedEvents() { hasScheduledReplayAttempt = !1; null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null); null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null); null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null); queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap); queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);}function scheduleCallbackIfUnblocked(queuedEvent, unblocked) { queuedEvent.blockedOn === unblocked && ((queuedEvent.blockedOn = null), hasScheduledReplayAttempt || ((hasScheduledReplayAttempt = !0), Scheduler.unstable_scheduleCallback( Scheduler.unstable_NormalPriority, replayUnblockedEvents )));}var lastScheduledReplayQueue = null;function scheduleReplayQueueIfNeeded(formReplayingQueue) { lastScheduledReplayQueue !== formReplayingQueue && ((lastScheduledReplayQueue = formReplayingQueue), Scheduler.unstable_scheduleCallback( Scheduler.unstable_NormalPriority, function () { lastScheduledReplayQueue === formReplayingQueue && (lastScheduledReplayQueue = null); for (var i = 0; i < formReplayingQueue.length; i += 3) { var form = formReplayingQueue[i], submitterOrAction = formReplayingQueue[i + 1], formData = formReplayingQueue[i + 2]; if ("function" !== typeof submitterOrAction) if (null === findInstanceBlockingTarget(submitterOrAction || form)) continue; else break; var formInst = getInstanceFromNode(form); null !== formInst && (formReplayingQueue.splice(i, 3), (i -= 3), startHostTransition( formInst, { pending: !0, data: formData, method: form.method, action: submitterOrAction }, submitterOrAction, formData )); } } ));}function retryIfBlockedOn(unblocked) { function unblock(queuedEvent) { return scheduleCallbackIfUnblocked(queuedEvent, unblocked); } null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked); null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked); null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked); queuedPointers.forEach(unblock); queuedPointerCaptures.forEach(unblock); for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) { var queuedTarget = queuedExplicitHydrationTargets[i]; queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null); } for ( ; 0 < queuedExplicitHydrationTargets.length && ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);
) attemptExplicitHydrationTarget(i), null === i.blockedOn && queuedExplicitHydrationTargets.shift(); i = (unblocked.ownerDocument || unblocked).$$reactFormReplay; if (null != i) for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) { var form = i[queuedTarget], submitterOrAction = i[queuedTarget + 1], formProps = form[internalPropsKey] || null; if ("function" === typeof submitterOrAction) formProps || scheduleReplayQueueIfNeeded(i); else if (formProps) { var action = null; if (submitterOrAction && submitterOrAction.hasAttribute("formAction")) if ( ((form = submitterOrAction), (formProps = submitterOrAction[internalPropsKey] || null)) ) action = formProps.formAction; else { if (null !== findInstanceBlockingTarget(form)) continue; } else action = formProps.action; "function" === typeof action ? (i[queuedTarget + 1] = action) : (i.splice(queuedTarget, 3), (queuedTarget -= 3)); scheduleReplayQueueIfNeeded(i); } }}function defaultOnDefaultTransitionIndicator() { function handleNavigate(event) { event.canIntercept && "react-transition" === event.info && event.intercept({ handler: function () { return new Promise(function (resolve) { return (pendingResolve = resolve); }); }, focusReset: "manual", scroll: "manual" }); } function handleNavigateComplete() { null !== pendingResolve && (pendingResolve(), (pendingResolve = null)); isCancelled || setTimeout(startFakeNavigation, 20); } function startFakeNavigation() { if (!isCancelled && !navigation.transition) { var currentEntry = navigation.currentEntry; currentEntry && null != currentEntry.url && navigation.navigate(currentEntry.url, { state: currentEntry.getState(), info: "react-transition", history: "replace" }); } } if ("object" === typeof navigation) { var isCancelled = !1, pendingResolve = null; navigation.addEventListener("navigate", handleNavigate); navigation.addEventListener("navigatesuccess", handleNavigateComplete); navigation.addEventListener("navigateerror", handleNavigateComplete); setTimeout(startFakeNavigation, 100); return function () { isCancelled = !0; navigation.removeEventListener("navigate", handleNavigate); navigation.removeEventListener("navigatesuccess", handleNavigateComplete); navigation.removeEventListener("navigateerror", handleNavigateComplete); null !== pendingResolve && (pendingResolve(), (pendingResolve = null)); }; }}function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot;}ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function (children) { var root = this._internalRoot; if (null === root) throw Error(formatProdErrorMessage(409)); var current = root.current, lane = requestUpdateLane(); updateContainerImpl(current, lane, children, root, null, null); };ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function () { var root = this._internalRoot; if (null !== root) { this._internalRoot = null; var container = root.containerInfo; updateContainerImpl(root.current, 2, null, root, null, null); flushSyncWork$1(); container[internalContainerInstanceKey] = null; } };function ReactDOMHydrationRoot(internalRoot) { this._internalRoot = internalRoot;}ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { if (target) { var updatePriority = resolveUpdatePriority(); target = { blockedOn: null, target: target, priority: updatePriority }; for ( var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++ ); queuedExplicitHydrationTargets.splice(i, 0, target); 0 === i && attemptExplicitHydrationTarget(target); }};var isomorphicReactPackageVersion$jscomp$inline_2138 = React.version;if ( "19.2.8" !== isomorphicReactPackageVersion$jscomp$inline_2138) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2138, "19.2.8" ) );ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { var fiber = componentOrElement._reactInternals; if (void 0 === fiber) { if ("function" === typeof componentOrElement.render) throw Error(formatProdErrorMessage(188)); componentOrElement = Object.keys(componentOrElement).join(","); throw Error(formatProdErrorMessage(268, componentOrElement)); } componentOrElement = findCurrentFiberUsingSlowPath(fiber); componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null; componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement;};var internals$jscomp$inline_2658 = { bundleType: 0, version: "19.2.8", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, reconcilerVersion: "19.2.8"};if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2659 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( !hook$jscomp$inline_2659.isDisabled && hook$jscomp$inline_2659.supportsFiber ) try { (rendererID = hook$jscomp$inline_2659.inject( internals$jscomp$inline_2658 )), (injectedHook = hook$jscomp$inline_2659); } catch (err) {}}function getCrossOriginStringAs(as, input) { if ("font" === as) return ""; if ("string" === typeof input) return "use-credentials" === input ? input : "";}exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = { d: { f: noop$1, r: function () { throw Error(formatProdErrorMessage(522)); }, D: noop$1, C: noop$1, L: noop$1, m: noop$1, X: noop$1, S: noop$1, M: noop$1 }, p: 0, findDOMNode: null};exports.createPortal = function (children, container) { var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299)); return createPortal$1(children, container, null, key);};exports.createRoot = function (container, options) { if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299)); var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError; null !== options && void 0 !== options && (!0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError)); options = createFiberRoot( container, 1, !1, null, null, isStrictMode, identifierPrefix, null, onUncaughtError, onCaughtError, onRecoverableError, defaultOnDefaultTransitionIndicator ); container[internalContainerInstanceKey] = options.current; listenToAllSupportedEvents(container); return new ReactDOMRoot(options);};exports.flushSync = function (fn) { var previousTransition = ReactSharedInternals.T, previousUpdatePriority = ReactDOMSharedInternals.p; try { if (((ReactSharedInternals.T = null), (ReactDOMSharedInternals.p = 2), fn)) return fn(); } finally { (ReactSharedInternals.T = previousTransition), (ReactDOMSharedInternals.p = previousUpdatePriority), ReactDOMSharedInternals.d.f(); }};exports.hydrateRoot = function (container, initialChildren, options) { if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299)); var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, formState = null; null !== options && void 0 !== options && (!0 === options.unstable_strictMode && (isStrictMode = !0), void 0 !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), void 0 !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), void 0 !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), void 0 !== options.formState && (formState = options.formState)); initialChildren = createFiberRoot( container, 1, !0, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, defaultOnDefaultTransitionIndicator ); initialChildren.context = getContextForSubtree(null); options = initialChildren.current; isStrictMode = requestUpdateLane(); isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode); identifierPrefix = createUpdate(isStrictMode); identifierPrefix.callback = null; enqueueUpdate(options, identifierPrefix, isStrictMode); startUpdateTimerByLane(isStrictMode); options = isStrictMode; initialChildren.current.lanes = options; markRootUpdated$1(initialChildren, options); ensureRootIsScheduled(initialChildren); container[internalContainerInstanceKey] = initialChildren.current; listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren);};exports.preconnect = function (href, options) { "string" === typeof href && (options ? ((options = options.crossOrigin), (options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0)) : (options = null), ReactDOMSharedInternals.d.C(href, options));};exports.prefetchDNS = function (href) { "string" === typeof href && ReactDOMSharedInternals.d.D(href);};exports.preinit = function (href, options) { if ("string" === typeof href && options && "string" === typeof options.as) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0; "style" === as ? ReactDOMSharedInternals.d.S( href, "string" === typeof options.precedence ? options.precedence : void 0, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority } ) : "script" === as && ReactDOMSharedInternals.d.X(href, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); }};exports.preinitModule = function (href, options) { if ("string" === typeof href) if ("object" === typeof options && null !== options) { if (null == options.as || "script" === options.as) { var crossOrigin = getCrossOriginStringAs( options.as, options.crossOrigin ); ReactDOMSharedInternals.d.M(href, { crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } } else null == options && ReactDOMSharedInternals.d.M(href);};exports.preload = function (href, options) { if ( "string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as ) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin); ReactDOMSharedInternals.d.L(href, as, { crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0, type: "string" === typeof options.type ? options.type : void 0, fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0, referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0, imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0, media: "string" === typeof options.media ? options.media : void 0 }); }};exports.preloadModule = function (href, options) { if ("string" === typeof href) if (options) { var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin); ReactDOMSharedInternals.d.m(href, { as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0, crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0 }); } else ReactDOMSharedInternals.d.m(href);};exports.requestFormReset = function (form) { ReactDOMSharedInternals.d.r(form);};exports.unstable_batchedUpdates = function (fn, a) { return fn(a);};exports.useFormState = function (action, initialState, permalink) { return ReactSharedInternals.H.useFormState(action, initialState, permalink);};exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus();};exports.version = "19.2.8";"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());