babylon.inspector.bundle.max.js 2.7 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743
  1. (function webpackUniversalModuleDefinition(root, factory) {
  2. if(typeof exports === 'object' && typeof module === 'object')
  3. module.exports = factory(require("babylonjs-gui"), require("babylonjs-loaders"), require("babylonjs-serializers"), require("babylonjs"));
  4. else if(typeof define === 'function' && define.amd)
  5. define("babylonjs-inspector", ["babylonjs-gui", "babylonjs-loaders", "babylonjs-serializers", "babylonjs"], factory);
  6. else if(typeof exports === 'object')
  7. exports["babylonjs-inspector"] = factory(require("babylonjs-gui"), require("babylonjs-loaders"), require("babylonjs-serializers"), require("babylonjs"));
  8. else
  9. root["INSPECTOR"] = factory(root["BABYLON"]["GUI"], root["BABYLON"], root["BABYLON"], root["BABYLON"]);
  10. })((typeof self !== "undefined" ? self : typeof global !== "undefined" ? global : this), function(__WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_image__, __WEBPACK_EXTERNAL_MODULE_babylonjs_loaders_glTF_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_serializers_glTF_2_0_index__, __WEBPACK_EXTERNAL_MODULE_babylonjs_Misc_observable__) {
  11. return /******/ (function(modules) { // webpackBootstrap
  12. /******/ // The module cache
  13. /******/ var installedModules = {};
  14. /******/
  15. /******/ // The require function
  16. /******/ function __webpack_require__(moduleId) {
  17. /******/
  18. /******/ // Check if module is in cache
  19. /******/ if(installedModules[moduleId]) {
  20. /******/ return installedModules[moduleId].exports;
  21. /******/ }
  22. /******/ // Create a new module (and put it into the cache)
  23. /******/ var module = installedModules[moduleId] = {
  24. /******/ i: moduleId,
  25. /******/ l: false,
  26. /******/ exports: {}
  27. /******/ };
  28. /******/
  29. /******/ // Execute the module function
  30. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  31. /******/
  32. /******/ // Flag the module as loaded
  33. /******/ module.l = true;
  34. /******/
  35. /******/ // Return the exports of the module
  36. /******/ return module.exports;
  37. /******/ }
  38. /******/
  39. /******/
  40. /******/ // expose the modules object (__webpack_modules__)
  41. /******/ __webpack_require__.m = modules;
  42. /******/
  43. /******/ // expose the module cache
  44. /******/ __webpack_require__.c = installedModules;
  45. /******/
  46. /******/ // define getter function for harmony exports
  47. /******/ __webpack_require__.d = function(exports, name, getter) {
  48. /******/ if(!__webpack_require__.o(exports, name)) {
  49. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  50. /******/ }
  51. /******/ };
  52. /******/
  53. /******/ // define __esModule on exports
  54. /******/ __webpack_require__.r = function(exports) {
  55. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  56. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  57. /******/ }
  58. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  59. /******/ };
  60. /******/
  61. /******/ // create a fake namespace object
  62. /******/ // mode & 1: value is a module id, require it
  63. /******/ // mode & 2: merge all properties of value into the ns
  64. /******/ // mode & 4: return value when already ns object
  65. /******/ // mode & 8|1: behave like require
  66. /******/ __webpack_require__.t = function(value, mode) {
  67. /******/ if(mode & 1) value = __webpack_require__(value);
  68. /******/ if(mode & 8) return value;
  69. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  70. /******/ var ns = Object.create(null);
  71. /******/ __webpack_require__.r(ns);
  72. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  73. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  74. /******/ return ns;
  75. /******/ };
  76. /******/
  77. /******/ // getDefaultExport function for compatibility with non-harmony modules
  78. /******/ __webpack_require__.n = function(module) {
  79. /******/ var getter = module && module.__esModule ?
  80. /******/ function getDefault() { return module['default']; } :
  81. /******/ function getModuleExports() { return module; };
  82. /******/ __webpack_require__.d(getter, 'a', getter);
  83. /******/ return getter;
  84. /******/ };
  85. /******/
  86. /******/ // Object.prototype.hasOwnProperty.call
  87. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  88. /******/
  89. /******/ // __webpack_public_path__
  90. /******/ __webpack_require__.p = "";
  91. /******/
  92. /******/
  93. /******/ // Load entry module and return exports
  94. /******/ return __webpack_require__(__webpack_require__.s = "./legacy/legacy.ts");
  95. /******/ })
  96. /************************************************************************/
  97. /******/ ({
  98. /***/ "../../node_modules/@fortawesome/fontawesome-svg-core/index.es.js":
  99. /*!**************************************************************************************!*\
  100. !*** D:/Repos/Babylon.js/node_modules/@fortawesome/fontawesome-svg-core/index.es.js ***!
  101. \**************************************************************************************/
  102. /*! exports provided: icon, noAuto, config, toHtml, layer, text, counter, library, dom, parse, findIconDefinition */
  103. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  104. "use strict";
  105. __webpack_require__.r(__webpack_exports__);
  106. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "icon", function() { return icon; });
  107. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "noAuto", function() { return noAuto; });
  108. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "config", function() { return config; });
  109. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "toHtml", function() { return toHtml; });
  110. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "layer", function() { return layer; });
  111. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "text", function() { return text; });
  112. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "counter", function() { return counter; });
  113. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "library", function() { return library; });
  114. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dom", function() { return dom; });
  115. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
  116. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "findIconDefinition", function() { return findIconDefinition; });
  117. function _classCallCheck(instance, Constructor) {
  118. if (!(instance instanceof Constructor)) {
  119. throw new TypeError("Cannot call a class as a function");
  120. }
  121. }
  122. function _defineProperties(target, props) {
  123. for (var i = 0; i < props.length; i++) {
  124. var descriptor = props[i];
  125. descriptor.enumerable = descriptor.enumerable || false;
  126. descriptor.configurable = true;
  127. if ("value" in descriptor) descriptor.writable = true;
  128. Object.defineProperty(target, descriptor.key, descriptor);
  129. }
  130. }
  131. function _createClass(Constructor, protoProps, staticProps) {
  132. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  133. if (staticProps) _defineProperties(Constructor, staticProps);
  134. return Constructor;
  135. }
  136. function _defineProperty(obj, key, value) {
  137. if (key in obj) {
  138. Object.defineProperty(obj, key, {
  139. value: value,
  140. enumerable: true,
  141. configurable: true,
  142. writable: true
  143. });
  144. } else {
  145. obj[key] = value;
  146. }
  147. return obj;
  148. }
  149. function _objectSpread(target) {
  150. for (var i = 1; i < arguments.length; i++) {
  151. var source = arguments[i] != null ? arguments[i] : {};
  152. var ownKeys = Object.keys(source);
  153. if (typeof Object.getOwnPropertySymbols === 'function') {
  154. ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
  155. return Object.getOwnPropertyDescriptor(source, sym).enumerable;
  156. }));
  157. }
  158. ownKeys.forEach(function (key) {
  159. _defineProperty(target, key, source[key]);
  160. });
  161. }
  162. return target;
  163. }
  164. function _slicedToArray(arr, i) {
  165. return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
  166. }
  167. function _toConsumableArray(arr) {
  168. return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
  169. }
  170. function _arrayWithoutHoles(arr) {
  171. if (Array.isArray(arr)) {
  172. for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
  173. return arr2;
  174. }
  175. }
  176. function _arrayWithHoles(arr) {
  177. if (Array.isArray(arr)) return arr;
  178. }
  179. function _iterableToArray(iter) {
  180. if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
  181. }
  182. function _iterableToArrayLimit(arr, i) {
  183. var _arr = [];
  184. var _n = true;
  185. var _d = false;
  186. var _e = undefined;
  187. try {
  188. for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
  189. _arr.push(_s.value);
  190. if (i && _arr.length === i) break;
  191. }
  192. } catch (err) {
  193. _d = true;
  194. _e = err;
  195. } finally {
  196. try {
  197. if (!_n && _i["return"] != null) _i["return"]();
  198. } finally {
  199. if (_d) throw _e;
  200. }
  201. }
  202. return _arr;
  203. }
  204. function _nonIterableSpread() {
  205. throw new TypeError("Invalid attempt to spread non-iterable instance");
  206. }
  207. function _nonIterableRest() {
  208. throw new TypeError("Invalid attempt to destructure non-iterable instance");
  209. }
  210. var noop = function noop() {};
  211. var _WINDOW = {};
  212. var _DOCUMENT = {};
  213. var _MUTATION_OBSERVER = null;
  214. var _PERFORMANCE = {
  215. mark: noop,
  216. measure: noop
  217. };
  218. try {
  219. if (typeof window !== 'undefined') _WINDOW = window;
  220. if (typeof document !== 'undefined') _DOCUMENT = document;
  221. if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver;
  222. if (typeof performance !== 'undefined') _PERFORMANCE = performance;
  223. } catch (e) {}
  224. var _ref = _WINDOW.navigator || {},
  225. _ref$userAgent = _ref.userAgent,
  226. userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
  227. var WINDOW = _WINDOW;
  228. var DOCUMENT = _DOCUMENT;
  229. var MUTATION_OBSERVER = _MUTATION_OBSERVER;
  230. var PERFORMANCE = _PERFORMANCE;
  231. var IS_BROWSER = !!WINDOW.document;
  232. var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
  233. var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
  234. var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
  235. var UNITS_IN_GRID = 16;
  236. var DEFAULT_FAMILY_PREFIX = 'fa';
  237. var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa';
  238. var DATA_FA_I2SVG = 'data-fa-i2svg';
  239. var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element';
  240. var DATA_PREFIX = 'data-prefix';
  241. var DATA_ICON = 'data-icon';
  242. var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg';
  243. var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT'];
  244. var PRODUCTION = function () {
  245. try {
  246. return "development" === 'production';
  247. } catch (e) {
  248. return false;
  249. }
  250. }();
  251. var oneToTen = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  252. var oneToTwenty = oneToTen.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
  253. var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask'];
  254. var RESERVED_CLASSES = ['xs', 'sm', 'lg', 'fw', 'ul', 'li', 'border', 'pull-left', 'pull-right', 'spin', 'pulse', 'rotate-90', 'rotate-180', 'rotate-270', 'flip-horizontal', 'flip-vertical', 'stack', 'stack-1x', 'stack-2x', 'inverse', 'layers', 'layers-text', 'layers-counter'].concat(oneToTen.map(function (n) {
  255. return "".concat(n, "x");
  256. })).concat(oneToTwenty.map(function (n) {
  257. return "w-".concat(n);
  258. }));
  259. var initial = WINDOW.FontAwesomeConfig || {};
  260. function getAttrConfig(attr) {
  261. var element = DOCUMENT.querySelector('script[' + attr + ']');
  262. if (element) {
  263. return element.getAttribute(attr);
  264. }
  265. }
  266. function coerce(val) {
  267. // Getting an empty string will occur if the attribute is set on the HTML tag but without a value
  268. // We'll assume that this is an indication that it should be toggled to true
  269. // For example <script data-search-pseudo-elements src="..."></script>
  270. if (val === '') return true;
  271. if (val === 'false') return false;
  272. if (val === 'true') return true;
  273. return val;
  274. }
  275. if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') {
  276. var attrs = [['data-family-prefix', 'familyPrefix'], ['data-replacement-class', 'replacementClass'], ['data-auto-replace-svg', 'autoReplaceSvg'], ['data-auto-add-css', 'autoAddCss'], ['data-auto-a11y', 'autoA11y'], ['data-search-pseudo-elements', 'searchPseudoElements'], ['data-observe-mutations', 'observeMutations'], ['data-keep-original-source', 'keepOriginalSource'], ['data-measure-performance', 'measurePerformance'], ['data-show-missing-icons', 'showMissingIcons']];
  277. attrs.forEach(function (_ref) {
  278. var _ref2 = _slicedToArray(_ref, 2),
  279. attr = _ref2[0],
  280. key = _ref2[1];
  281. var val = coerce(getAttrConfig(attr));
  282. if (val !== undefined && val !== null) {
  283. initial[key] = val;
  284. }
  285. });
  286. }
  287. var _default = _objectSpread({
  288. familyPrefix: DEFAULT_FAMILY_PREFIX,
  289. replacementClass: DEFAULT_REPLACEMENT_CLASS,
  290. autoReplaceSvg: true,
  291. autoAddCss: true,
  292. autoA11y: true,
  293. searchPseudoElements: false,
  294. observeMutations: true,
  295. keepOriginalSource: true,
  296. measurePerformance: false,
  297. showMissingIcons: true
  298. }, initial);
  299. if (!_default.autoReplaceSvg) _default.observeMutations = false;
  300. var config = _objectSpread({}, _default);
  301. WINDOW.FontAwesomeConfig = config;
  302. var w = WINDOW || {};
  303. if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
  304. if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
  305. if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
  306. if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
  307. var namespace = w[NAMESPACE_IDENTIFIER];
  308. var functions = [];
  309. var listener = function listener() {
  310. DOCUMENT.removeEventListener('DOMContentLoaded', listener);
  311. loaded = 1;
  312. functions.map(function (fn) {
  313. return fn();
  314. });
  315. };
  316. var loaded = false;
  317. if (IS_DOM) {
  318. loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
  319. if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', listener);
  320. }
  321. function domready (fn) {
  322. if (!IS_DOM) return;
  323. loaded ? setTimeout(fn, 0) : functions.push(fn);
  324. }
  325. var d = UNITS_IN_GRID;
  326. var meaninglessTransform = {
  327. size: 16,
  328. x: 0,
  329. y: 0,
  330. rotate: 0,
  331. flipX: false,
  332. flipY: false
  333. };
  334. function isReserved(name) {
  335. return ~RESERVED_CLASSES.indexOf(name);
  336. }
  337. function insertCss(css) {
  338. if (!css || !IS_DOM) {
  339. return;
  340. }
  341. var style = DOCUMENT.createElement('style');
  342. style.setAttribute('type', 'text/css');
  343. style.innerHTML = css;
  344. var headChildren = DOCUMENT.head.childNodes;
  345. var beforeChild = null;
  346. for (var i = headChildren.length - 1; i > -1; i--) {
  347. var child = headChildren[i];
  348. var tagName = (child.tagName || '').toUpperCase();
  349. if (['STYLE', 'LINK'].indexOf(tagName) > -1) {
  350. beforeChild = child;
  351. }
  352. }
  353. DOCUMENT.head.insertBefore(style, beforeChild);
  354. return css;
  355. }
  356. var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
  357. function nextUniqueId() {
  358. var size = 12;
  359. var id = '';
  360. while (size-- > 0) {
  361. id += idPool[Math.random() * 62 | 0];
  362. }
  363. return id;
  364. }
  365. function toArray(obj) {
  366. var array = [];
  367. for (var i = (obj || []).length >>> 0; i--;) {
  368. array[i] = obj[i];
  369. }
  370. return array;
  371. }
  372. function classArray(node) {
  373. if (node.classList) {
  374. return toArray(node.classList);
  375. } else {
  376. return (node.getAttribute('class') || '').split(' ').filter(function (i) {
  377. return i;
  378. });
  379. }
  380. }
  381. function getIconName(familyPrefix, cls) {
  382. var parts = cls.split('-');
  383. var prefix = parts[0];
  384. var iconName = parts.slice(1).join('-');
  385. if (prefix === familyPrefix && iconName !== '' && !isReserved(iconName)) {
  386. return iconName;
  387. } else {
  388. return null;
  389. }
  390. }
  391. function htmlEscape(str) {
  392. return "".concat(str).replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/'/g, '&#39;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
  393. }
  394. function joinAttributes(attributes) {
  395. return Object.keys(attributes || {}).reduce(function (acc, attributeName) {
  396. return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" ");
  397. }, '').trim();
  398. }
  399. function joinStyles(styles) {
  400. return Object.keys(styles || {}).reduce(function (acc, styleName) {
  401. return acc + "".concat(styleName, ": ").concat(styles[styleName], ";");
  402. }, '');
  403. }
  404. function transformIsMeaningful(transform) {
  405. return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
  406. }
  407. function transformForSvg(_ref) {
  408. var transform = _ref.transform,
  409. containerWidth = _ref.containerWidth,
  410. iconWidth = _ref.iconWidth;
  411. var outer = {
  412. transform: "translate(".concat(containerWidth / 2, " 256)")
  413. };
  414. var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
  415. var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
  416. var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
  417. var inner = {
  418. transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
  419. };
  420. var path = {
  421. transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
  422. };
  423. return {
  424. outer: outer,
  425. inner: inner,
  426. path: path
  427. };
  428. }
  429. function transformForCss(_ref2) {
  430. var transform = _ref2.transform,
  431. _ref2$width = _ref2.width,
  432. width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width,
  433. _ref2$height = _ref2.height,
  434. height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height,
  435. _ref2$startCentered = _ref2.startCentered,
  436. startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered;
  437. var val = '';
  438. if (startCentered && IS_IE) {
  439. val += "translate(".concat(transform.x / d - width / 2, "em, ").concat(transform.y / d - height / 2, "em) ");
  440. } else if (startCentered) {
  441. val += "translate(calc(-50% + ".concat(transform.x / d, "em), calc(-50% + ").concat(transform.y / d, "em)) ");
  442. } else {
  443. val += "translate(".concat(transform.x / d, "em, ").concat(transform.y / d, "em) ");
  444. }
  445. val += "scale(".concat(transform.size / d * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d * (transform.flipY ? -1 : 1), ") ");
  446. val += "rotate(".concat(transform.rotate, "deg) ");
  447. return val;
  448. }
  449. var ALL_SPACE = {
  450. x: 0,
  451. y: 0,
  452. width: '100%',
  453. height: '100%'
  454. };
  455. function makeIconMasking (_ref) {
  456. var children = _ref.children,
  457. attributes = _ref.attributes,
  458. main = _ref.main,
  459. mask = _ref.mask,
  460. transform = _ref.transform;
  461. var mainWidth = main.width,
  462. mainPath = main.icon;
  463. var maskWidth = mask.width,
  464. maskPath = mask.icon;
  465. var trans = transformForSvg({
  466. transform: transform,
  467. containerWidth: maskWidth,
  468. iconWidth: mainWidth
  469. });
  470. var maskRect = {
  471. tag: 'rect',
  472. attributes: _objectSpread({}, ALL_SPACE, {
  473. fill: 'white'
  474. })
  475. };
  476. var maskInnerGroup = {
  477. tag: 'g',
  478. attributes: _objectSpread({}, trans.inner),
  479. children: [{
  480. tag: 'path',
  481. attributes: _objectSpread({}, mainPath.attributes, trans.path, {
  482. fill: 'black'
  483. })
  484. }]
  485. };
  486. var maskOuterGroup = {
  487. tag: 'g',
  488. attributes: _objectSpread({}, trans.outer),
  489. children: [maskInnerGroup]
  490. };
  491. var maskId = "mask-".concat(nextUniqueId());
  492. var clipId = "clip-".concat(nextUniqueId());
  493. var maskTag = {
  494. tag: 'mask',
  495. attributes: _objectSpread({}, ALL_SPACE, {
  496. id: maskId,
  497. maskUnits: 'userSpaceOnUse',
  498. maskContentUnits: 'userSpaceOnUse'
  499. }),
  500. children: [maskRect, maskOuterGroup]
  501. };
  502. var defs = {
  503. tag: 'defs',
  504. children: [{
  505. tag: 'clipPath',
  506. attributes: {
  507. id: clipId
  508. },
  509. children: [maskPath]
  510. }, maskTag]
  511. };
  512. children.push(defs, {
  513. tag: 'rect',
  514. attributes: _objectSpread({
  515. fill: 'currentColor',
  516. 'clip-path': "url(#".concat(clipId, ")"),
  517. mask: "url(#".concat(maskId, ")")
  518. }, ALL_SPACE)
  519. });
  520. return {
  521. children: children,
  522. attributes: attributes
  523. };
  524. }
  525. function makeIconStandard (_ref) {
  526. var children = _ref.children,
  527. attributes = _ref.attributes,
  528. main = _ref.main,
  529. transform = _ref.transform,
  530. styles = _ref.styles;
  531. var styleString = joinStyles(styles);
  532. if (styleString.length > 0) {
  533. attributes['style'] = styleString;
  534. }
  535. if (transformIsMeaningful(transform)) {
  536. var trans = transformForSvg({
  537. transform: transform,
  538. containerWidth: main.width,
  539. iconWidth: main.width
  540. });
  541. children.push({
  542. tag: 'g',
  543. attributes: _objectSpread({}, trans.outer),
  544. children: [{
  545. tag: 'g',
  546. attributes: _objectSpread({}, trans.inner),
  547. children: [{
  548. tag: main.icon.tag,
  549. children: main.icon.children,
  550. attributes: _objectSpread({}, main.icon.attributes, trans.path)
  551. }]
  552. }]
  553. });
  554. } else {
  555. children.push(main.icon);
  556. }
  557. return {
  558. children: children,
  559. attributes: attributes
  560. };
  561. }
  562. function asIcon (_ref) {
  563. var children = _ref.children,
  564. main = _ref.main,
  565. mask = _ref.mask,
  566. attributes = _ref.attributes,
  567. styles = _ref.styles,
  568. transform = _ref.transform;
  569. if (transformIsMeaningful(transform) && main.found && !mask.found) {
  570. var width = main.width,
  571. height = main.height;
  572. var offset = {
  573. x: width / height / 2,
  574. y: 0.5
  575. };
  576. attributes['style'] = joinStyles(_objectSpread({}, styles, {
  577. 'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
  578. }));
  579. }
  580. return [{
  581. tag: 'svg',
  582. attributes: attributes,
  583. children: children
  584. }];
  585. }
  586. function asSymbol (_ref) {
  587. var prefix = _ref.prefix,
  588. iconName = _ref.iconName,
  589. children = _ref.children,
  590. attributes = _ref.attributes,
  591. symbol = _ref.symbol;
  592. var id = symbol === true ? "".concat(prefix, "-").concat(config.familyPrefix, "-").concat(iconName) : symbol;
  593. return [{
  594. tag: 'svg',
  595. attributes: {
  596. style: 'display: none;'
  597. },
  598. children: [{
  599. tag: 'symbol',
  600. attributes: _objectSpread({}, attributes, {
  601. id: id
  602. }),
  603. children: children
  604. }]
  605. }];
  606. }
  607. function makeInlineSvgAbstract(params) {
  608. var _params$icons = params.icons,
  609. main = _params$icons.main,
  610. mask = _params$icons.mask,
  611. prefix = params.prefix,
  612. iconName = params.iconName,
  613. transform = params.transform,
  614. symbol = params.symbol,
  615. title = params.title,
  616. extra = params.extra,
  617. _params$watchable = params.watchable,
  618. watchable = _params$watchable === void 0 ? false : _params$watchable;
  619. var _ref = mask.found ? mask : main,
  620. width = _ref.width,
  621. height = _ref.height;
  622. var widthClass = "fa-w-".concat(Math.ceil(width / height * 16));
  623. var attrClass = [config.replacementClass, iconName ? "".concat(config.familyPrefix, "-").concat(iconName) : '', widthClass].filter(function (c) {
  624. return extra.classes.indexOf(c) === -1;
  625. }).concat(extra.classes).join(' ');
  626. var content = {
  627. children: [],
  628. attributes: _objectSpread({}, extra.attributes, {
  629. 'data-prefix': prefix,
  630. 'data-icon': iconName,
  631. 'class': attrClass,
  632. 'role': 'img',
  633. 'xmlns': 'http://www.w3.org/2000/svg',
  634. 'viewBox': "0 0 ".concat(width, " ").concat(height)
  635. })
  636. };
  637. if (watchable) {
  638. content.attributes[DATA_FA_I2SVG] = '';
  639. }
  640. if (title) content.children.push({
  641. tag: 'title',
  642. attributes: {
  643. id: content.attributes['aria-labelledby'] || "title-".concat(nextUniqueId())
  644. },
  645. children: [title]
  646. });
  647. var args = _objectSpread({}, content, {
  648. prefix: prefix,
  649. iconName: iconName,
  650. main: main,
  651. mask: mask,
  652. transform: transform,
  653. symbol: symbol,
  654. styles: extra.styles
  655. });
  656. var _ref2 = mask.found && main.found ? makeIconMasking(args) : makeIconStandard(args),
  657. children = _ref2.children,
  658. attributes = _ref2.attributes;
  659. args.children = children;
  660. args.attributes = attributes;
  661. if (symbol) {
  662. return asSymbol(args);
  663. } else {
  664. return asIcon(args);
  665. }
  666. }
  667. function makeLayersTextAbstract(params) {
  668. var content = params.content,
  669. width = params.width,
  670. height = params.height,
  671. transform = params.transform,
  672. title = params.title,
  673. extra = params.extra,
  674. _params$watchable2 = params.watchable,
  675. watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
  676. var attributes = _objectSpread({}, extra.attributes, title ? {
  677. 'title': title
  678. } : {}, {
  679. 'class': extra.classes.join(' ')
  680. });
  681. if (watchable) {
  682. attributes[DATA_FA_I2SVG] = '';
  683. }
  684. var styles = _objectSpread({}, extra.styles);
  685. if (transformIsMeaningful(transform)) {
  686. styles['transform'] = transformForCss({
  687. transform: transform,
  688. startCentered: true,
  689. width: width,
  690. height: height
  691. });
  692. styles['-webkit-transform'] = styles['transform'];
  693. }
  694. var styleString = joinStyles(styles);
  695. if (styleString.length > 0) {
  696. attributes['style'] = styleString;
  697. }
  698. var val = [];
  699. val.push({
  700. tag: 'span',
  701. attributes: attributes,
  702. children: [content]
  703. });
  704. if (title) {
  705. val.push({
  706. tag: 'span',
  707. attributes: {
  708. class: 'sr-only'
  709. },
  710. children: [title]
  711. });
  712. }
  713. return val;
  714. }
  715. function makeLayersCounterAbstract(params) {
  716. var content = params.content,
  717. title = params.title,
  718. extra = params.extra;
  719. var attributes = _objectSpread({}, extra.attributes, title ? {
  720. 'title': title
  721. } : {}, {
  722. 'class': extra.classes.join(' ')
  723. });
  724. var styleString = joinStyles(extra.styles);
  725. if (styleString.length > 0) {
  726. attributes['style'] = styleString;
  727. }
  728. var val = [];
  729. val.push({
  730. tag: 'span',
  731. attributes: attributes,
  732. children: [content]
  733. });
  734. if (title) {
  735. val.push({
  736. tag: 'span',
  737. attributes: {
  738. class: 'sr-only'
  739. },
  740. children: [title]
  741. });
  742. }
  743. return val;
  744. }
  745. var noop$1 = function noop() {};
  746. var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
  747. mark: noop$1,
  748. measure: noop$1
  749. };
  750. var preamble = "FA \"5.6.3\"";
  751. var begin = function begin(name) {
  752. p.mark("".concat(preamble, " ").concat(name, " begins"));
  753. return function () {
  754. return end(name);
  755. };
  756. };
  757. var end = function end(name) {
  758. p.mark("".concat(preamble, " ").concat(name, " ends"));
  759. p.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
  760. };
  761. var perf = {
  762. begin: begin,
  763. end: end
  764. };
  765. /**
  766. * Internal helper to bind a function known to have 4 arguments
  767. * to a given context.
  768. */
  769. var bindInternal4 = function bindInternal4(func, thisContext) {
  770. return function (a, b, c, d) {
  771. return func.call(thisContext, a, b, c, d);
  772. };
  773. };
  774. /**
  775. * # Reduce
  776. *
  777. * A fast object `.reduce()` implementation.
  778. *
  779. * @param {Object} subject The object to reduce over.
  780. * @param {Function} fn The reducer function.
  781. * @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
  782. * @param {Object} thisContext The context for the reducer.
  783. * @return {mixed} The final result.
  784. */
  785. var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
  786. var keys = Object.keys(subject),
  787. length = keys.length,
  788. iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
  789. i,
  790. key,
  791. result;
  792. if (initialValue === undefined) {
  793. i = 1;
  794. result = subject[keys[0]];
  795. } else {
  796. i = 0;
  797. result = initialValue;
  798. }
  799. for (; i < length; i++) {
  800. key = keys[i];
  801. result = iterator(result, subject[key], key, subject);
  802. }
  803. return result;
  804. };
  805. var styles = namespace.styles,
  806. shims = namespace.shims;
  807. var _byUnicode = {};
  808. var _byLigature = {};
  809. var _byOldName = {};
  810. var build = function build() {
  811. var lookup = function lookup(reducer) {
  812. return reduce(styles, function (o, style, prefix) {
  813. o[prefix] = reduce(style, reducer, {});
  814. return o;
  815. }, {});
  816. };
  817. _byUnicode = lookup(function (acc, icon, iconName) {
  818. acc[icon[3]] = iconName;
  819. return acc;
  820. });
  821. _byLigature = lookup(function (acc, icon, iconName) {
  822. var ligatures = icon[2];
  823. acc[iconName] = iconName;
  824. ligatures.forEach(function (ligature) {
  825. acc[ligature] = iconName;
  826. });
  827. return acc;
  828. });
  829. var hasRegular = 'far' in styles;
  830. _byOldName = reduce(shims, function (acc, shim) {
  831. var oldName = shim[0];
  832. var prefix = shim[1];
  833. var iconName = shim[2];
  834. if (prefix === 'far' && !hasRegular) {
  835. prefix = 'fas';
  836. }
  837. acc[oldName] = {
  838. prefix: prefix,
  839. iconName: iconName
  840. };
  841. return acc;
  842. }, {});
  843. };
  844. build();
  845. function byUnicode(prefix, unicode) {
  846. return _byUnicode[prefix][unicode];
  847. }
  848. function byLigature(prefix, ligature) {
  849. return _byLigature[prefix][ligature];
  850. }
  851. function byOldName(name) {
  852. return _byOldName[name] || {
  853. prefix: null,
  854. iconName: null
  855. };
  856. }
  857. var styles$1 = namespace.styles;
  858. var emptyCanonicalIcon = function emptyCanonicalIcon() {
  859. return {
  860. prefix: null,
  861. iconName: null,
  862. rest: []
  863. };
  864. };
  865. function getCanonicalIcon(values) {
  866. return values.reduce(function (acc, cls) {
  867. var iconName = getIconName(config.familyPrefix, cls);
  868. if (styles$1[cls]) {
  869. acc.prefix = cls;
  870. } else if (iconName) {
  871. var shim = acc.prefix === 'fa' ? byOldName(iconName) : {};
  872. acc.iconName = shim.iconName || iconName;
  873. acc.prefix = shim.prefix || acc.prefix;
  874. } else if (cls !== config.replacementClass && cls.indexOf('fa-w-') !== 0) {
  875. acc.rest.push(cls);
  876. }
  877. return acc;
  878. }, emptyCanonicalIcon());
  879. }
  880. function iconFromMapping(mapping, prefix, iconName) {
  881. if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
  882. return {
  883. prefix: prefix,
  884. iconName: iconName,
  885. icon: mapping[prefix][iconName]
  886. };
  887. }
  888. }
  889. function toHtml(abstractNodes) {
  890. var tag = abstractNodes.tag,
  891. _abstractNodes$attrib = abstractNodes.attributes,
  892. attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib,
  893. _abstractNodes$childr = abstractNodes.children,
  894. children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
  895. if (typeof abstractNodes === 'string') {
  896. return htmlEscape(abstractNodes);
  897. } else {
  898. return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), "</").concat(tag, ">");
  899. }
  900. }
  901. var noop$2 = function noop() {};
  902. function isWatched(node) {
  903. var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
  904. return typeof i2svg === 'string';
  905. }
  906. function getMutator() {
  907. if (config.autoReplaceSvg === true) {
  908. return mutators.replace;
  909. }
  910. var mutator = mutators[config.autoReplaceSvg];
  911. return mutator || mutators.replace;
  912. }
  913. var mutators = {
  914. replace: function replace(mutation) {
  915. var node = mutation[0];
  916. var abstract = mutation[1];
  917. var newOuterHTML = abstract.map(function (a) {
  918. return toHtml(a);
  919. }).join('\n');
  920. if (node.parentNode && node.outerHTML) {
  921. node.outerHTML = newOuterHTML + (config.keepOriginalSource && node.tagName.toLowerCase() !== 'svg' ? "<!-- ".concat(node.outerHTML, " -->") : '');
  922. } else if (node.parentNode) {
  923. var newNode = document.createElement('span');
  924. node.parentNode.replaceChild(newNode, node);
  925. newNode.outerHTML = newOuterHTML;
  926. }
  927. },
  928. nest: function nest(mutation) {
  929. var node = mutation[0];
  930. var abstract = mutation[1]; // If we already have a replaced node we do not want to continue nesting within it.
  931. // Short-circuit to the standard replacement
  932. if (~classArray(node).indexOf(config.replacementClass)) {
  933. return mutators.replace(mutation);
  934. }
  935. var forSvg = new RegExp("".concat(config.familyPrefix, "-.*"));
  936. delete abstract[0].attributes.style;
  937. var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
  938. if (cls === config.replacementClass || cls.match(forSvg)) {
  939. acc.toSvg.push(cls);
  940. } else {
  941. acc.toNode.push(cls);
  942. }
  943. return acc;
  944. }, {
  945. toNode: [],
  946. toSvg: []
  947. });
  948. abstract[0].attributes.class = splitClasses.toSvg.join(' ');
  949. var newInnerHTML = abstract.map(function (a) {
  950. return toHtml(a);
  951. }).join('\n');
  952. node.setAttribute('class', splitClasses.toNode.join(' '));
  953. node.setAttribute(DATA_FA_I2SVG, '');
  954. node.innerHTML = newInnerHTML;
  955. }
  956. };
  957. function perform(mutations, callback) {
  958. var callbackFunction = typeof callback === 'function' ? callback : noop$2;
  959. if (mutations.length === 0) {
  960. callbackFunction();
  961. } else {
  962. var frame = WINDOW.requestAnimationFrame || function (op) {
  963. return op();
  964. };
  965. frame(function () {
  966. var mutator = getMutator();
  967. var mark = perf.begin('mutate');
  968. mutations.map(mutator);
  969. mark();
  970. callbackFunction();
  971. });
  972. }
  973. }
  974. var disabled = false;
  975. function disableObservation(operation) {
  976. disabled = true;
  977. operation();
  978. disabled = false;
  979. }
  980. var mo = null;
  981. function observe(options) {
  982. if (!MUTATION_OBSERVER) {
  983. return;
  984. }
  985. if (!config.observeMutations) {
  986. return;
  987. }
  988. var treeCallback = options.treeCallback,
  989. nodeCallback = options.nodeCallback,
  990. pseudoElementsCallback = options.pseudoElementsCallback,
  991. _options$observeMutat = options.observeMutationsRoot,
  992. observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT.body : _options$observeMutat;
  993. mo = new MUTATION_OBSERVER(function (objects) {
  994. if (disabled) return;
  995. toArray(objects).forEach(function (mutationRecord) {
  996. if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
  997. if (config.searchPseudoElements) {
  998. pseudoElementsCallback(mutationRecord.target);
  999. }
  1000. treeCallback(mutationRecord.target);
  1001. }
  1002. if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) {
  1003. pseudoElementsCallback(mutationRecord.target.parentNode);
  1004. }
  1005. if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
  1006. if (mutationRecord.attributeName === 'class') {
  1007. var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)),
  1008. prefix = _getCanonicalIcon.prefix,
  1009. iconName = _getCanonicalIcon.iconName;
  1010. if (prefix) mutationRecord.target.setAttribute('data-prefix', prefix);
  1011. if (iconName) mutationRecord.target.setAttribute('data-icon', iconName);
  1012. } else {
  1013. nodeCallback(mutationRecord.target);
  1014. }
  1015. }
  1016. });
  1017. });
  1018. if (!IS_DOM) return;
  1019. mo.observe(observeMutationsRoot, {
  1020. childList: true,
  1021. attributes: true,
  1022. characterData: true,
  1023. subtree: true
  1024. });
  1025. }
  1026. function disconnect() {
  1027. if (!mo) return;
  1028. mo.disconnect();
  1029. }
  1030. function styleParser (node) {
  1031. var style = node.getAttribute('style');
  1032. var val = [];
  1033. if (style) {
  1034. val = style.split(';').reduce(function (acc, style) {
  1035. var styles = style.split(':');
  1036. var prop = styles[0];
  1037. var value = styles.slice(1);
  1038. if (prop && value.length > 0) {
  1039. acc[prop] = value.join(':').trim();
  1040. }
  1041. return acc;
  1042. }, {});
  1043. }
  1044. return val;
  1045. }
  1046. function toHex(unicode) {
  1047. var result = '';
  1048. for (var i = 0; i < unicode.length; i++) {
  1049. var hex = unicode.charCodeAt(i).toString(16);
  1050. result += ('000' + hex).slice(-4);
  1051. }
  1052. return result;
  1053. }
  1054. function classParser (node) {
  1055. var existingPrefix = node.getAttribute('data-prefix');
  1056. var existingIconName = node.getAttribute('data-icon');
  1057. var innerText = node.innerText !== undefined ? node.innerText.trim() : '';
  1058. var val = getCanonicalIcon(classArray(node));
  1059. if (existingPrefix && existingIconName) {
  1060. val.prefix = existingPrefix;
  1061. val.iconName = existingIconName;
  1062. }
  1063. if (val.prefix && innerText.length > 1) {
  1064. val.iconName = byLigature(val.prefix, node.innerText);
  1065. } else if (val.prefix && innerText.length === 1) {
  1066. val.iconName = byUnicode(val.prefix, toHex(node.innerText));
  1067. }
  1068. return val;
  1069. }
  1070. var parseTransformString = function parseTransformString(transformString) {
  1071. var transform = {
  1072. size: 16,
  1073. x: 0,
  1074. y: 0,
  1075. flipX: false,
  1076. flipY: false,
  1077. rotate: 0
  1078. };
  1079. if (!transformString) {
  1080. return transform;
  1081. } else {
  1082. return transformString.toLowerCase().split(' ').reduce(function (acc, n) {
  1083. var parts = n.toLowerCase().split('-');
  1084. var first = parts[0];
  1085. var rest = parts.slice(1).join('-');
  1086. if (first && rest === 'h') {
  1087. acc.flipX = true;
  1088. return acc;
  1089. }
  1090. if (first && rest === 'v') {
  1091. acc.flipY = true;
  1092. return acc;
  1093. }
  1094. rest = parseFloat(rest);
  1095. if (isNaN(rest)) {
  1096. return acc;
  1097. }
  1098. switch (first) {
  1099. case 'grow':
  1100. acc.size = acc.size + rest;
  1101. break;
  1102. case 'shrink':
  1103. acc.size = acc.size - rest;
  1104. break;
  1105. case 'left':
  1106. acc.x = acc.x - rest;
  1107. break;
  1108. case 'right':
  1109. acc.x = acc.x + rest;
  1110. break;
  1111. case 'up':
  1112. acc.y = acc.y - rest;
  1113. break;
  1114. case 'down':
  1115. acc.y = acc.y + rest;
  1116. break;
  1117. case 'rotate':
  1118. acc.rotate = acc.rotate + rest;
  1119. break;
  1120. }
  1121. return acc;
  1122. }, transform);
  1123. }
  1124. };
  1125. function transformParser (node) {
  1126. return parseTransformString(node.getAttribute('data-fa-transform'));
  1127. }
  1128. function symbolParser (node) {
  1129. var symbol = node.getAttribute('data-fa-symbol');
  1130. return symbol === null ? false : symbol === '' ? true : symbol;
  1131. }
  1132. function attributesParser (node) {
  1133. var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) {
  1134. if (acc.name !== 'class' && acc.name !== 'style') {
  1135. acc[attr.name] = attr.value;
  1136. }
  1137. return acc;
  1138. }, {});
  1139. var title = node.getAttribute('title');
  1140. if (config.autoA11y) {
  1141. if (title) {
  1142. extraAttributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(nextUniqueId());
  1143. } else {
  1144. extraAttributes['aria-hidden'] = 'true';
  1145. }
  1146. }
  1147. return extraAttributes;
  1148. }
  1149. function maskParser (node) {
  1150. var mask = node.getAttribute('data-fa-mask');
  1151. if (!mask) {
  1152. return emptyCanonicalIcon();
  1153. } else {
  1154. return getCanonicalIcon(mask.split(' ').map(function (i) {
  1155. return i.trim();
  1156. }));
  1157. }
  1158. }
  1159. var blankMeta = {
  1160. iconName: null,
  1161. title: null,
  1162. prefix: null,
  1163. transform: meaninglessTransform,
  1164. symbol: false,
  1165. mask: null,
  1166. extra: {
  1167. classes: [],
  1168. styles: {},
  1169. attributes: {}
  1170. }
  1171. };
  1172. function parseMeta(node) {
  1173. var _classParser = classParser(node),
  1174. iconName = _classParser.iconName,
  1175. prefix = _classParser.prefix,
  1176. extraClasses = _classParser.rest;
  1177. var extraStyles = styleParser(node);
  1178. var transform = transformParser(node);
  1179. var symbol = symbolParser(node);
  1180. var extraAttributes = attributesParser(node);
  1181. var mask = maskParser(node);
  1182. return {
  1183. iconName: iconName,
  1184. title: node.getAttribute('title'),
  1185. prefix: prefix,
  1186. transform: transform,
  1187. symbol: symbol,
  1188. mask: mask,
  1189. extra: {
  1190. classes: extraClasses,
  1191. styles: extraStyles,
  1192. attributes: extraAttributes
  1193. }
  1194. };
  1195. }
  1196. function MissingIcon(error) {
  1197. this.name = 'MissingIcon';
  1198. this.message = error || 'Icon unavailable';
  1199. this.stack = new Error().stack;
  1200. }
  1201. MissingIcon.prototype = Object.create(Error.prototype);
  1202. MissingIcon.prototype.constructor = MissingIcon;
  1203. var FILL = {
  1204. fill: 'currentColor'
  1205. };
  1206. var ANIMATION_BASE = {
  1207. attributeType: 'XML',
  1208. repeatCount: 'indefinite',
  1209. dur: '2s'
  1210. };
  1211. var RING = {
  1212. tag: 'path',
  1213. attributes: _objectSpread({}, FILL, {
  1214. d: 'M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z'
  1215. })
  1216. };
  1217. var OPACITY_ANIMATE = _objectSpread({}, ANIMATION_BASE, {
  1218. attributeName: 'opacity'
  1219. });
  1220. var DOT = {
  1221. tag: 'circle',
  1222. attributes: _objectSpread({}, FILL, {
  1223. cx: '256',
  1224. cy: '364',
  1225. r: '28'
  1226. }),
  1227. children: [{
  1228. tag: 'animate',
  1229. attributes: _objectSpread({}, ANIMATION_BASE, {
  1230. attributeName: 'r',
  1231. values: '28;14;28;28;14;28;'
  1232. })
  1233. }, {
  1234. tag: 'animate',
  1235. attributes: _objectSpread({}, OPACITY_ANIMATE, {
  1236. values: '1;0;1;1;0;1;'
  1237. })
  1238. }]
  1239. };
  1240. var QUESTION = {
  1241. tag: 'path',
  1242. attributes: _objectSpread({}, FILL, {
  1243. opacity: '1',
  1244. d: 'M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z'
  1245. }),
  1246. children: [{
  1247. tag: 'animate',
  1248. attributes: _objectSpread({}, OPACITY_ANIMATE, {
  1249. values: '1;0;0;0;0;1;'
  1250. })
  1251. }]
  1252. };
  1253. var EXCLAMATION = {
  1254. tag: 'path',
  1255. attributes: _objectSpread({}, FILL, {
  1256. opacity: '0',
  1257. d: 'M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z'
  1258. }),
  1259. children: [{
  1260. tag: 'animate',
  1261. attributes: _objectSpread({}, OPACITY_ANIMATE, {
  1262. values: '0;0;1;1;0;0;'
  1263. })
  1264. }]
  1265. };
  1266. var missing = {
  1267. tag: 'g',
  1268. children: [RING, DOT, QUESTION, EXCLAMATION]
  1269. };
  1270. var styles$2 = namespace.styles;
  1271. var LAYERS_TEXT_CLASSNAME = 'fa-layers-text';
  1272. var FONT_FAMILY_PATTERN = /Font Awesome 5 (Solid|Regular|Light|Brands|Free|Pro)/;
  1273. var STYLE_TO_PREFIX = {
  1274. 'Solid': 'fas',
  1275. 'Regular': 'far',
  1276. 'Light': 'fal',
  1277. 'Brands': 'fab'
  1278. };
  1279. var FONT_WEIGHT_TO_PREFIX = {
  1280. '900': 'fas',
  1281. '400': 'far',
  1282. '300': 'fal'
  1283. };
  1284. function findIcon(iconName, prefix) {
  1285. var val = {
  1286. found: false,
  1287. width: 512,
  1288. height: 512,
  1289. icon: missing
  1290. };
  1291. if (iconName && prefix && styles$2[prefix] && styles$2[prefix][iconName]) {
  1292. var icon = styles$2[prefix][iconName];
  1293. var width = icon[0];
  1294. var height = icon[1];
  1295. var vectorData = icon.slice(4);
  1296. val = {
  1297. found: true,
  1298. width: width,
  1299. height: height,
  1300. icon: {
  1301. tag: 'path',
  1302. attributes: {
  1303. fill: 'currentColor',
  1304. d: vectorData[0]
  1305. }
  1306. }
  1307. };
  1308. } else if (iconName && prefix && !config.showMissingIcons) {
  1309. throw new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName));
  1310. }
  1311. return val;
  1312. }
  1313. function generateSvgReplacementMutation(node, nodeMeta) {
  1314. var iconName = nodeMeta.iconName,
  1315. title = nodeMeta.title,
  1316. prefix = nodeMeta.prefix,
  1317. transform = nodeMeta.transform,
  1318. symbol = nodeMeta.symbol,
  1319. mask = nodeMeta.mask,
  1320. extra = nodeMeta.extra;
  1321. return [node, makeInlineSvgAbstract({
  1322. icons: {
  1323. main: findIcon(iconName, prefix),
  1324. mask: findIcon(mask.iconName, mask.prefix)
  1325. },
  1326. prefix: prefix,
  1327. iconName: iconName,
  1328. transform: transform,
  1329. symbol: symbol,
  1330. mask: mask,
  1331. title: title,
  1332. extra: extra,
  1333. watchable: true
  1334. })];
  1335. }
  1336. function generateLayersText(node, nodeMeta) {
  1337. var title = nodeMeta.title,
  1338. transform = nodeMeta.transform,
  1339. extra = nodeMeta.extra;
  1340. var width = null;
  1341. var height = null;
  1342. if (IS_IE) {
  1343. var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
  1344. var boundingClientRect = node.getBoundingClientRect();
  1345. width = boundingClientRect.width / computedFontSize;
  1346. height = boundingClientRect.height / computedFontSize;
  1347. }
  1348. if (config.autoA11y && !title) {
  1349. extra.attributes['aria-hidden'] = 'true';
  1350. }
  1351. return [node, makeLayersTextAbstract({
  1352. content: node.innerHTML,
  1353. width: width,
  1354. height: height,
  1355. transform: transform,
  1356. title: title,
  1357. extra: extra,
  1358. watchable: true
  1359. })];
  1360. }
  1361. function generateMutation(node) {
  1362. var nodeMeta = parseMeta(node);
  1363. if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
  1364. return generateLayersText(node, nodeMeta);
  1365. } else {
  1366. return generateSvgReplacementMutation(node, nodeMeta);
  1367. }
  1368. }
  1369. function searchPseudoElements(root) {
  1370. if (!IS_DOM) return;
  1371. var end = perf.begin('searchPseudoElements');
  1372. disableObservation(function () {
  1373. toArray(root.querySelectorAll('*')).filter(function (n) {
  1374. return n.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(n.tagName.toUpperCase()) && !n.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!n.parentNode || n.parentNode.tagName !== 'svg');
  1375. }).forEach(function (node) {
  1376. [':before', ':after'].forEach(function (pos) {
  1377. var children = toArray(node.children);
  1378. var alreadyProcessedPseudoElement = children.filter(function (c) {
  1379. return c.getAttribute(DATA_FA_PSEUDO_ELEMENT) === pos;
  1380. })[0];
  1381. var styles = WINDOW.getComputedStyle(node, pos);
  1382. var fontFamily = styles.getPropertyValue('font-family').match(FONT_FAMILY_PATTERN);
  1383. var fontWeight = styles.getPropertyValue('font-weight');
  1384. if (alreadyProcessedPseudoElement && !fontFamily) {
  1385. // If we've already processed it but the current computed style does not result in a font-family,
  1386. // that probably means that a class name that was previously present to make the icon has been
  1387. // removed. So we now should delete the icon.
  1388. node.removeChild(alreadyProcessedPseudoElement);
  1389. } else if (fontFamily) {
  1390. var content = styles.getPropertyValue('content');
  1391. var prefix = ~['Light', 'Regular', 'Solid', 'Brands'].indexOf(fontFamily[1]) ? STYLE_TO_PREFIX[fontFamily[1]] : FONT_WEIGHT_TO_PREFIX[fontWeight];
  1392. var iconName = byUnicode(prefix, toHex(content.length === 3 ? content.substr(1, 1) : content)); // Only convert the pseudo element in this :before/:after position into an icon if we haven't
  1393. // already done so with the same prefix and iconName
  1394. if (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconName) {
  1395. if (alreadyProcessedPseudoElement) {
  1396. // Delete the old one, since we're replacing it with a new one
  1397. node.removeChild(alreadyProcessedPseudoElement);
  1398. }
  1399. var extra = blankMeta.extra;
  1400. extra.attributes[DATA_FA_PSEUDO_ELEMENT] = pos;
  1401. var abstract = makeInlineSvgAbstract(_objectSpread({}, blankMeta, {
  1402. icons: {
  1403. main: findIcon(iconName, prefix),
  1404. mask: emptyCanonicalIcon()
  1405. },
  1406. prefix: prefix,
  1407. iconName: iconName,
  1408. extra: extra,
  1409. watchable: true
  1410. }));
  1411. var element = DOCUMENT.createElement('svg');
  1412. if (pos === ':before') {
  1413. node.insertBefore(element, node.firstChild);
  1414. } else {
  1415. node.appendChild(element);
  1416. }
  1417. element.outerHTML = abstract.map(function (a) {
  1418. return toHtml(a);
  1419. }).join('\n');
  1420. }
  1421. }
  1422. });
  1423. });
  1424. });
  1425. end();
  1426. }
  1427. function onTree(root) {
  1428. var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  1429. if (!IS_DOM) return;
  1430. var htmlClassList = DOCUMENT.documentElement.classList;
  1431. var hclAdd = function hclAdd(suffix) {
  1432. return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
  1433. };
  1434. var hclRemove = function hclRemove(suffix) {
  1435. return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
  1436. };
  1437. var prefixes = Object.keys(styles$2);
  1438. var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p) {
  1439. return ".".concat(p, ":not([").concat(DATA_FA_I2SVG, "])");
  1440. })).join(', ');
  1441. if (prefixesDomQuery.length === 0) {
  1442. return;
  1443. }
  1444. var candidates = toArray(root.querySelectorAll(prefixesDomQuery));
  1445. if (candidates.length > 0) {
  1446. hclAdd('pending');
  1447. hclRemove('complete');
  1448. } else {
  1449. return;
  1450. }
  1451. var mark = perf.begin('onTree');
  1452. var mutations = candidates.reduce(function (acc, node) {
  1453. try {
  1454. var mutation = generateMutation(node);
  1455. if (mutation) {
  1456. acc.push(mutation);
  1457. }
  1458. } catch (e) {
  1459. if (!PRODUCTION) {
  1460. if (e instanceof MissingIcon) {
  1461. console.error(e);
  1462. }
  1463. }
  1464. }
  1465. return acc;
  1466. }, []);
  1467. mark();
  1468. perform(mutations, function () {
  1469. hclAdd('active');
  1470. hclAdd('complete');
  1471. hclRemove('pending');
  1472. if (typeof callback === 'function') callback();
  1473. });
  1474. }
  1475. function onNode(node) {
  1476. var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
  1477. var mutation = generateMutation(node);
  1478. if (mutation) {
  1479. perform([mutation], callback);
  1480. }
  1481. }
  1482. var baseStyles = "svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: \"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}";
  1483. function css () {
  1484. var dfp = DEFAULT_FAMILY_PREFIX;
  1485. var drc = DEFAULT_REPLACEMENT_CLASS;
  1486. var fp = config.familyPrefix;
  1487. var rc = config.replacementClass;
  1488. var s = baseStyles;
  1489. if (fp !== dfp || rc !== drc) {
  1490. var dPatt = new RegExp("\\.".concat(dfp, "\\-"), 'g');
  1491. var rPatt = new RegExp("\\.".concat(drc), 'g');
  1492. s = s.replace(dPatt, ".".concat(fp, "-")).replace(rPatt, ".".concat(rc));
  1493. }
  1494. return s;
  1495. }
  1496. function define(prefix, icons) {
  1497. var normalized = Object.keys(icons).reduce(function (acc, iconName) {
  1498. var icon = icons[iconName];
  1499. var expanded = !!icon.icon;
  1500. if (expanded) {
  1501. acc[icon.iconName] = icon.icon;
  1502. } else {
  1503. acc[iconName] = icon;
  1504. }
  1505. return acc;
  1506. }, {});
  1507. if (typeof namespace.hooks.addPack === 'function') {
  1508. namespace.hooks.addPack(prefix, normalized);
  1509. } else {
  1510. namespace.styles[prefix] = _objectSpread({}, namespace.styles[prefix] || {}, normalized);
  1511. }
  1512. /**
  1513. * Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
  1514. * of new styles we needed to differentiate between them. Prefix `fa` is now an alias
  1515. * for `fas` so we'll easy the upgrade process for our users by automatically defining
  1516. * this as well.
  1517. */
  1518. if (prefix === 'fas') {
  1519. define('fa', icons);
  1520. }
  1521. }
  1522. var Library =
  1523. /*#__PURE__*/
  1524. function () {
  1525. function Library() {
  1526. _classCallCheck(this, Library);
  1527. this.definitions = {};
  1528. }
  1529. _createClass(Library, [{
  1530. key: "add",
  1531. value: function add() {
  1532. var _this = this;
  1533. for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
  1534. definitions[_key] = arguments[_key];
  1535. }
  1536. var additions = definitions.reduce(this._pullDefinitions, {});
  1537. Object.keys(additions).forEach(function (key) {
  1538. _this.definitions[key] = _objectSpread({}, _this.definitions[key] || {}, additions[key]);
  1539. define(key, additions[key]);
  1540. build();
  1541. });
  1542. }
  1543. }, {
  1544. key: "reset",
  1545. value: function reset() {
  1546. this.definitions = {};
  1547. }
  1548. }, {
  1549. key: "_pullDefinitions",
  1550. value: function _pullDefinitions(additions, definition) {
  1551. var normalized = definition.prefix && definition.iconName && definition.icon ? {
  1552. 0: definition
  1553. } : definition;
  1554. Object.keys(normalized).map(function (key) {
  1555. var _normalized$key = normalized[key],
  1556. prefix = _normalized$key.prefix,
  1557. iconName = _normalized$key.iconName,
  1558. icon = _normalized$key.icon;
  1559. if (!additions[prefix]) additions[prefix] = {};
  1560. additions[prefix][iconName] = icon;
  1561. });
  1562. return additions;
  1563. }
  1564. }]);
  1565. return Library;
  1566. }();
  1567. function prepIcon(icon) {
  1568. var width = icon[0];
  1569. var height = icon[1];
  1570. var vectorData = icon.slice(4);
  1571. return {
  1572. found: true,
  1573. width: width,
  1574. height: height,
  1575. icon: {
  1576. tag: 'path',
  1577. attributes: {
  1578. fill: 'currentColor',
  1579. d: vectorData[0]
  1580. }
  1581. }
  1582. };
  1583. }
  1584. function ensureCss() {
  1585. if (config.autoAddCss && !_cssInserted) {
  1586. insertCss(css());
  1587. _cssInserted = true;
  1588. }
  1589. }
  1590. function apiObject(val, abstractCreator) {
  1591. Object.defineProperty(val, 'abstract', {
  1592. get: abstractCreator
  1593. });
  1594. Object.defineProperty(val, 'html', {
  1595. get: function get() {
  1596. return val.abstract.map(function (a) {
  1597. return toHtml(a);
  1598. });
  1599. }
  1600. });
  1601. Object.defineProperty(val, 'node', {
  1602. get: function get() {
  1603. if (!IS_DOM) return;
  1604. var container = DOCUMENT.createElement('div');
  1605. container.innerHTML = val.html;
  1606. return container.children;
  1607. }
  1608. });
  1609. return val;
  1610. }
  1611. function findIconDefinition(params) {
  1612. var _params$prefix = params.prefix,
  1613. prefix = _params$prefix === void 0 ? 'fa' : _params$prefix,
  1614. iconName = params.iconName;
  1615. if (!iconName) return;
  1616. return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
  1617. }
  1618. function resolveIcons(next) {
  1619. return function (maybeIconDefinition) {
  1620. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  1621. var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
  1622. var mask = params.mask;
  1623. if (mask) {
  1624. mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
  1625. }
  1626. return next(iconDefinition, _objectSpread({}, params, {
  1627. mask: mask
  1628. }));
  1629. };
  1630. }
  1631. var library = new Library();
  1632. var noAuto = function noAuto() {
  1633. config.autoReplaceSvg = false;
  1634. config.observeMutations = false;
  1635. disconnect();
  1636. };
  1637. var _cssInserted = false;
  1638. var dom = {
  1639. i2svg: function i2svg() {
  1640. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1641. if (IS_DOM) {
  1642. ensureCss();
  1643. var _params$node = params.node,
  1644. node = _params$node === void 0 ? DOCUMENT : _params$node,
  1645. _params$callback = params.callback,
  1646. callback = _params$callback === void 0 ? function () {} : _params$callback;
  1647. if (config.searchPseudoElements) {
  1648. searchPseudoElements(node);
  1649. }
  1650. onTree(node, callback);
  1651. }
  1652. },
  1653. css: css,
  1654. insertCss: function insertCss$$1() {
  1655. if (!_cssInserted) {
  1656. insertCss(css());
  1657. _cssInserted = true;
  1658. }
  1659. },
  1660. watch: function watch() {
  1661. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1662. var autoReplaceSvgRoot = params.autoReplaceSvgRoot,
  1663. observeMutationsRoot = params.observeMutationsRoot;
  1664. if (config.autoReplaceSvg === false) {
  1665. config.autoReplaceSvg = true;
  1666. }
  1667. config.observeMutations = true;
  1668. domready(function () {
  1669. autoReplace({
  1670. autoReplaceSvgRoot: autoReplaceSvgRoot
  1671. });
  1672. observe({
  1673. treeCallback: onTree,
  1674. nodeCallback: onNode,
  1675. pseudoElementsCallback: searchPseudoElements,
  1676. observeMutationsRoot: observeMutationsRoot
  1677. });
  1678. });
  1679. }
  1680. };
  1681. var parse = {
  1682. transform: function transform(transformString) {
  1683. return parseTransformString(transformString);
  1684. }
  1685. };
  1686. var icon = resolveIcons(function (iconDefinition) {
  1687. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  1688. var _params$transform = params.transform,
  1689. transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
  1690. _params$symbol = params.symbol,
  1691. symbol = _params$symbol === void 0 ? false : _params$symbol,
  1692. _params$mask = params.mask,
  1693. mask = _params$mask === void 0 ? null : _params$mask,
  1694. _params$title = params.title,
  1695. title = _params$title === void 0 ? null : _params$title,
  1696. _params$classes = params.classes,
  1697. classes = _params$classes === void 0 ? [] : _params$classes,
  1698. _params$attributes = params.attributes,
  1699. attributes = _params$attributes === void 0 ? {} : _params$attributes,
  1700. _params$styles = params.styles,
  1701. styles = _params$styles === void 0 ? {} : _params$styles;
  1702. if (!iconDefinition) return;
  1703. var prefix = iconDefinition.prefix,
  1704. iconName = iconDefinition.iconName,
  1705. icon = iconDefinition.icon;
  1706. return apiObject(_objectSpread({
  1707. type: 'icon'
  1708. }, iconDefinition), function () {
  1709. ensureCss();
  1710. if (config.autoA11y) {
  1711. if (title) {
  1712. attributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(nextUniqueId());
  1713. } else {
  1714. attributes['aria-hidden'] = 'true';
  1715. }
  1716. }
  1717. return makeInlineSvgAbstract({
  1718. icons: {
  1719. main: prepIcon(icon),
  1720. mask: mask ? prepIcon(mask.icon) : {
  1721. found: false,
  1722. width: null,
  1723. height: null,
  1724. icon: {}
  1725. }
  1726. },
  1727. prefix: prefix,
  1728. iconName: iconName,
  1729. transform: _objectSpread({}, meaninglessTransform, transform),
  1730. symbol: symbol,
  1731. title: title,
  1732. extra: {
  1733. attributes: attributes,
  1734. styles: styles,
  1735. classes: classes
  1736. }
  1737. });
  1738. });
  1739. });
  1740. var text = function text(content) {
  1741. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  1742. var _params$transform2 = params.transform,
  1743. transform = _params$transform2 === void 0 ? meaninglessTransform : _params$transform2,
  1744. _params$title2 = params.title,
  1745. title = _params$title2 === void 0 ? null : _params$title2,
  1746. _params$classes2 = params.classes,
  1747. classes = _params$classes2 === void 0 ? [] : _params$classes2,
  1748. _params$attributes2 = params.attributes,
  1749. attributes = _params$attributes2 === void 0 ? {} : _params$attributes2,
  1750. _params$styles2 = params.styles,
  1751. styles = _params$styles2 === void 0 ? {} : _params$styles2;
  1752. return apiObject({
  1753. type: 'text',
  1754. content: content
  1755. }, function () {
  1756. ensureCss();
  1757. return makeLayersTextAbstract({
  1758. content: content,
  1759. transform: _objectSpread({}, meaninglessTransform, transform),
  1760. title: title,
  1761. extra: {
  1762. attributes: attributes,
  1763. styles: styles,
  1764. classes: ["".concat(config.familyPrefix, "-layers-text")].concat(_toConsumableArray(classes))
  1765. }
  1766. });
  1767. });
  1768. };
  1769. var counter = function counter(content) {
  1770. var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  1771. var _params$title3 = params.title,
  1772. title = _params$title3 === void 0 ? null : _params$title3,
  1773. _params$classes3 = params.classes,
  1774. classes = _params$classes3 === void 0 ? [] : _params$classes3,
  1775. _params$attributes3 = params.attributes,
  1776. attributes = _params$attributes3 === void 0 ? {} : _params$attributes3,
  1777. _params$styles3 = params.styles,
  1778. styles = _params$styles3 === void 0 ? {} : _params$styles3;
  1779. return apiObject({
  1780. type: 'counter',
  1781. content: content
  1782. }, function () {
  1783. ensureCss();
  1784. return makeLayersCounterAbstract({
  1785. content: content.toString(),
  1786. title: title,
  1787. extra: {
  1788. attributes: attributes,
  1789. styles: styles,
  1790. classes: ["".concat(config.familyPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
  1791. }
  1792. });
  1793. });
  1794. };
  1795. var layer = function layer(assembler) {
  1796. return apiObject({
  1797. type: 'layer'
  1798. }, function () {
  1799. ensureCss();
  1800. var children = [];
  1801. assembler(function (args) {
  1802. Array.isArray(args) ? args.map(function (a) {
  1803. children = children.concat(a.abstract);
  1804. }) : children = children.concat(args.abstract);
  1805. });
  1806. return [{
  1807. tag: 'span',
  1808. attributes: {
  1809. class: "".concat(config.familyPrefix, "-layers")
  1810. },
  1811. children: children
  1812. }];
  1813. });
  1814. };
  1815. var api = {
  1816. noAuto: noAuto,
  1817. config: config,
  1818. dom: dom,
  1819. library: library,
  1820. parse: parse,
  1821. findIconDefinition: findIconDefinition,
  1822. icon: icon,
  1823. text: text,
  1824. counter: counter,
  1825. layer: layer,
  1826. toHtml: toHtml
  1827. };
  1828. var autoReplace = function autoReplace() {
  1829. var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1830. var _params$autoReplaceSv = params.autoReplaceSvgRoot,
  1831. autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
  1832. if (Object.keys(namespace.styles).length > 0 && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
  1833. node: autoReplaceSvgRoot
  1834. });
  1835. };
  1836. /***/ }),
  1837. /***/ "../../node_modules/@fortawesome/free-regular-svg-icons/index.es.js":
  1838. /*!****************************************************************************************!*\
  1839. !*** D:/Repos/Babylon.js/node_modules/@fortawesome/free-regular-svg-icons/index.es.js ***!
  1840. \****************************************************************************************/
  1841. /*! exports provided: far, prefix, faAddressBook, faAddressCard, faAngry, faArrowAltCircleDown, faArrowAltCircleLeft, faArrowAltCircleRight, faArrowAltCircleUp, faBell, faBellSlash, faBookmark, faBuilding, faCalendar, faCalendarAlt, faCalendarCheck, faCalendarMinus, faCalendarPlus, faCalendarTimes, faCaretSquareDown, faCaretSquareLeft, faCaretSquareRight, faCaretSquareUp, faChartBar, faCheckCircle, faCheckSquare, faCircle, faClipboard, faClock, faClone, faClosedCaptioning, faComment, faCommentAlt, faCommentDots, faComments, faCompass, faCopy, faCopyright, faCreditCard, faDizzy, faDotCircle, faEdit, faEnvelope, faEnvelopeOpen, faEye, faEyeSlash, faFile, faFileAlt, faFileArchive, faFileAudio, faFileCode, faFileExcel, faFileImage, faFilePdf, faFilePowerpoint, faFileVideo, faFileWord, faFlag, faFlushed, faFolder, faFolderOpen, faFontAwesomeLogoFull, faFrown, faFrownOpen, faFutbol, faGem, faGrimace, faGrin, faGrinAlt, faGrinBeam, faGrinBeamSweat, faGrinHearts, faGrinSquint, faGrinSquintTears, faGrinStars, faGrinTears, faGrinTongue, faGrinTongueSquint, faGrinTongueWink, faGrinWink, faHandLizard, faHandPaper, faHandPeace, faHandPointDown, faHandPointLeft, faHandPointRight, faHandPointUp, faHandPointer, faHandRock, faHandScissors, faHandSpock, faHandshake, faHdd, faHeart, faHospital, faHourglass, faIdBadge, faIdCard, faImage, faImages, faKeyboard, faKiss, faKissBeam, faKissWinkHeart, faLaugh, faLaughBeam, faLaughSquint, faLaughWink, faLemon, faLifeRing, faLightbulb, faListAlt, faMap, faMeh, faMehBlank, faMehRollingEyes, faMinusSquare, faMoneyBillAlt, faMoon, faNewspaper, faObjectGroup, faObjectUngroup, faPaperPlane, faPauseCircle, faPlayCircle, faPlusSquare, faQuestionCircle, faRegistered, faSadCry, faSadTear, faSave, faShareSquare, faSmile, faSmileBeam, faSmileWink, faSnowflake, faSquare, faStar, faStarHalf, faStickyNote, faStopCircle, faSun, faSurprise, faThumbsDown, faThumbsUp, faTimesCircle, faTired, faTrashAlt, faUser, faUserCircle, faWindowClose, faWindowMaximize, faWindowMinimize, faWindowRestore */
  1842. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1843. "use strict";
  1844. __webpack_require__.r(__webpack_exports__);
  1845. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "far", function() { return _iconsCache; });
  1846. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "prefix", function() { return prefix; });
  1847. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAddressBook", function() { return faAddressBook; });
  1848. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAddressCard", function() { return faAddressCard; });
  1849. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngry", function() { return faAngry; });
  1850. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleDown", function() { return faArrowAltCircleDown; });
  1851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleLeft", function() { return faArrowAltCircleLeft; });
  1852. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleRight", function() { return faArrowAltCircleRight; });
  1853. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleUp", function() { return faArrowAltCircleUp; });
  1854. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBell", function() { return faBell; });
  1855. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBellSlash", function() { return faBellSlash; });
  1856. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBookmark", function() { return faBookmark; });
  1857. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBuilding", function() { return faBuilding; });
  1858. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendar", function() { return faCalendar; });
  1859. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarAlt", function() { return faCalendarAlt; });
  1860. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarCheck", function() { return faCalendarCheck; });
  1861. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarMinus", function() { return faCalendarMinus; });
  1862. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarPlus", function() { return faCalendarPlus; });
  1863. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarTimes", function() { return faCalendarTimes; });
  1864. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareDown", function() { return faCaretSquareDown; });
  1865. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareLeft", function() { return faCaretSquareLeft; });
  1866. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareRight", function() { return faCaretSquareRight; });
  1867. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareUp", function() { return faCaretSquareUp; });
  1868. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChartBar", function() { return faChartBar; });
  1869. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheckCircle", function() { return faCheckCircle; });
  1870. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheckSquare", function() { return faCheckSquare; });
  1871. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCircle", function() { return faCircle; });
  1872. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClipboard", function() { return faClipboard; });
  1873. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClock", function() { return faClock; });
  1874. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClone", function() { return faClone; });
  1875. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClosedCaptioning", function() { return faClosedCaptioning; });
  1876. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faComment", function() { return faComment; });
  1877. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentAlt", function() { return faCommentAlt; });
  1878. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentDots", function() { return faCommentDots; });
  1879. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faComments", function() { return faComments; });
  1880. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCompass", function() { return faCompass; });
  1881. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCopy", function() { return faCopy; });
  1882. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCopyright", function() { return faCopyright; });
  1883. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCreditCard", function() { return faCreditCard; });
  1884. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDizzy", function() { return faDizzy; });
  1885. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDotCircle", function() { return faDotCircle; });
  1886. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEdit", function() { return faEdit; });
  1887. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelope", function() { return faEnvelope; });
  1888. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelopeOpen", function() { return faEnvelopeOpen; });
  1889. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEye", function() { return faEye; });
  1890. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEyeSlash", function() { return faEyeSlash; });
  1891. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFile", function() { return faFile; });
  1892. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileAlt", function() { return faFileAlt; });
  1893. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileArchive", function() { return faFileArchive; });
  1894. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileAudio", function() { return faFileAudio; });
  1895. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileCode", function() { return faFileCode; });
  1896. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileExcel", function() { return faFileExcel; });
  1897. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileImage", function() { return faFileImage; });
  1898. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilePdf", function() { return faFilePdf; });
  1899. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilePowerpoint", function() { return faFilePowerpoint; });
  1900. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileVideo", function() { return faFileVideo; });
  1901. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileWord", function() { return faFileWord; });
  1902. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlag", function() { return faFlag; });
  1903. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlushed", function() { return faFlushed; });
  1904. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolder", function() { return faFolder; });
  1905. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolderOpen", function() { return faFolderOpen; });
  1906. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFontAwesomeLogoFull", function() { return faFontAwesomeLogoFull; });
  1907. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFrown", function() { return faFrown; });
  1908. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFrownOpen", function() { return faFrownOpen; });
  1909. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFutbol", function() { return faFutbol; });
  1910. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGem", function() { return faGem; });
  1911. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrimace", function() { return faGrimace; });
  1912. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrin", function() { return faGrin; });
  1913. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinAlt", function() { return faGrinAlt; });
  1914. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinBeam", function() { return faGrinBeam; });
  1915. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinBeamSweat", function() { return faGrinBeamSweat; });
  1916. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinHearts", function() { return faGrinHearts; });
  1917. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinSquint", function() { return faGrinSquint; });
  1918. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinSquintTears", function() { return faGrinSquintTears; });
  1919. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinStars", function() { return faGrinStars; });
  1920. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTears", function() { return faGrinTears; });
  1921. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongue", function() { return faGrinTongue; });
  1922. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongueSquint", function() { return faGrinTongueSquint; });
  1923. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongueWink", function() { return faGrinTongueWink; });
  1924. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinWink", function() { return faGrinWink; });
  1925. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandLizard", function() { return faHandLizard; });
  1926. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPaper", function() { return faHandPaper; });
  1927. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPeace", function() { return faHandPeace; });
  1928. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointDown", function() { return faHandPointDown; });
  1929. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointLeft", function() { return faHandPointLeft; });
  1930. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointRight", function() { return faHandPointRight; });
  1931. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointUp", function() { return faHandPointUp; });
  1932. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointer", function() { return faHandPointer; });
  1933. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandRock", function() { return faHandRock; });
  1934. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandScissors", function() { return faHandScissors; });
  1935. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandSpock", function() { return faHandSpock; });
  1936. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandshake", function() { return faHandshake; });
  1937. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHdd", function() { return faHdd; });
  1938. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeart", function() { return faHeart; });
  1939. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHospital", function() { return faHospital; });
  1940. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHourglass", function() { return faHourglass; });
  1941. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIdBadge", function() { return faIdBadge; });
  1942. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIdCard", function() { return faIdCard; });
  1943. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faImage", function() { return faImage; });
  1944. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faImages", function() { return faImages; });
  1945. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKeyboard", function() { return faKeyboard; });
  1946. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKiss", function() { return faKiss; });
  1947. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKissBeam", function() { return faKissBeam; });
  1948. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKissWinkHeart", function() { return faKissWinkHeart; });
  1949. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaugh", function() { return faLaugh; });
  1950. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughBeam", function() { return faLaughBeam; });
  1951. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughSquint", function() { return faLaughSquint; });
  1952. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughWink", function() { return faLaughWink; });
  1953. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLemon", function() { return faLemon; });
  1954. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLifeRing", function() { return faLifeRing; });
  1955. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLightbulb", function() { return faLightbulb; });
  1956. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faListAlt", function() { return faListAlt; });
  1957. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMap", function() { return faMap; });
  1958. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMeh", function() { return faMeh; });
  1959. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMehBlank", function() { return faMehBlank; });
  1960. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMehRollingEyes", function() { return faMehRollingEyes; });
  1961. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMinusSquare", function() { return faMinusSquare; });
  1962. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyBillAlt", function() { return faMoneyBillAlt; });
  1963. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoon", function() { return faMoon; });
  1964. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNewspaper", function() { return faNewspaper; });
  1965. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faObjectGroup", function() { return faObjectGroup; });
  1966. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faObjectUngroup", function() { return faObjectUngroup; });
  1967. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaperPlane", function() { return faPaperPlane; });
  1968. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPauseCircle", function() { return faPauseCircle; });
  1969. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlayCircle", function() { return faPlayCircle; });
  1970. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlusSquare", function() { return faPlusSquare; });
  1971. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuestionCircle", function() { return faQuestionCircle; });
  1972. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRegistered", function() { return faRegistered; });
  1973. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSadCry", function() { return faSadCry; });
  1974. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSadTear", function() { return faSadTear; });
  1975. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSave", function() { return faSave; });
  1976. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShareSquare", function() { return faShareSquare; });
  1977. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmile", function() { return faSmile; });
  1978. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmileBeam", function() { return faSmileBeam; });
  1979. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmileWink", function() { return faSmileWink; });
  1980. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSnowflake", function() { return faSnowflake; });
  1981. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSquare", function() { return faSquare; });
  1982. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStar", function() { return faStar; });
  1983. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarHalf", function() { return faStarHalf; });
  1984. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStickyNote", function() { return faStickyNote; });
  1985. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStopCircle", function() { return faStopCircle; });
  1986. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSun", function() { return faSun; });
  1987. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSurprise", function() { return faSurprise; });
  1988. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThumbsDown", function() { return faThumbsDown; });
  1989. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThumbsUp", function() { return faThumbsUp; });
  1990. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTimesCircle", function() { return faTimesCircle; });
  1991. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTired", function() { return faTired; });
  1992. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrashAlt", function() { return faTrashAlt; });
  1993. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUser", function() { return faUser; });
  1994. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserCircle", function() { return faUserCircle; });
  1995. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowClose", function() { return faWindowClose; });
  1996. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowMaximize", function() { return faWindowMaximize; });
  1997. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowMinimize", function() { return faWindowMinimize; });
  1998. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowRestore", function() { return faWindowRestore; });
  1999. /*!
  2000. * Font Awesome Free 5.4.2 by @fontawesome - https://fontawesome.com
  2001. * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
  2002. */
  2003. var prefix = "far";
  2004. var faAddressBook = { prefix: 'far', iconName: 'address-book', icon: [448, 512, [], "f2b9", "M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"] };
  2005. var faAddressCard = { prefix: 'far', iconName: 'address-card', icon: [576, 512, [], "f2bb", "M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"] };
  2006. var faAngry = { prefix: 'far', iconName: 'angry', icon: [496, 512, [], "f556", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"] };
  2007. var faArrowAltCircleDown = { prefix: 'far', iconName: 'arrow-alt-circle-down', icon: [512, 512, [], "f358", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"] };
  2008. var faArrowAltCircleLeft = { prefix: 'far', iconName: 'arrow-alt-circle-left', icon: [512, 512, [], "f359", "M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"] };
  2009. var faArrowAltCircleRight = { prefix: 'far', iconName: 'arrow-alt-circle-right', icon: [512, 512, [], "f35a", "M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"] };
  2010. var faArrowAltCircleUp = { prefix: 'far', iconName: 'arrow-alt-circle-up', icon: [512, 512, [], "f35b", "M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"] };
  2011. var faBell = { prefix: 'far', iconName: 'bell', icon: [448, 512, [], "f0f3", "M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"] };
  2012. var faBellSlash = { prefix: 'far', iconName: 'bell-slash', icon: [640, 512, [], "f1f6", "M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"] };
  2013. var faBookmark = { prefix: 'far', iconName: 'bookmark', icon: [384, 512, [], "f02e", "M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"] };
  2014. var faBuilding = { prefix: 'far', iconName: 'building', icon: [448, 512, [], "f1ad", "M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"] };
  2015. var faCalendar = { prefix: 'far', iconName: 'calendar', icon: [448, 512, [], "f133", "M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"] };
  2016. var faCalendarAlt = { prefix: 'far', iconName: 'calendar-alt', icon: [448, 512, [], "f073", "M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2017. var faCalendarCheck = { prefix: 'far', iconName: 'calendar-check', icon: [448, 512, [], "f274", "M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"] };
  2018. var faCalendarMinus = { prefix: 'far', iconName: 'calendar-minus', icon: [448, 512, [], "f272", "M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2019. var faCalendarPlus = { prefix: 'far', iconName: 'calendar-plus', icon: [448, 512, [], "f271", "M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2020. var faCalendarTimes = { prefix: 'far', iconName: 'calendar-times', icon: [448, 512, [], "f273", "M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2021. var faCaretSquareDown = { prefix: 'far', iconName: 'caret-square-down', icon: [448, 512, [], "f150", "M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2022. var faCaretSquareLeft = { prefix: 'far', iconName: 'caret-square-left', icon: [448, 512, [], "f191", "M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2023. var faCaretSquareRight = { prefix: 'far', iconName: 'caret-square-right', icon: [448, 512, [], "f152", "M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2024. var faCaretSquareUp = { prefix: 'far', iconName: 'caret-square-up', icon: [448, 512, [], "f151", "M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2025. var faChartBar = { prefix: 'far', iconName: 'chart-bar', icon: [512, 512, [], "f080", "M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"] };
  2026. var faCheckCircle = { prefix: 'far', iconName: 'check-circle', icon: [512, 512, [], "f058", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"] };
  2027. var faCheckSquare = { prefix: 'far', iconName: 'check-square', icon: [448, 512, [], "f14a", "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"] };
  2028. var faCircle = { prefix: 'far', iconName: 'circle', icon: [512, 512, [], "f111", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"] };
  2029. var faClipboard = { prefix: 'far', iconName: 'clipboard', icon: [384, 512, [], "f328", "M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24"] };
  2030. var faClock = { prefix: 'far', iconName: 'clock', icon: [512, 512, [], "f017", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"] };
  2031. var faClone = { prefix: 'far', iconName: 'clone', icon: [512, 512, [], "f24d", "M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"] };
  2032. var faClosedCaptioning = { prefix: 'far', iconName: 'closed-captioning', icon: [512, 512, [], "f20a", "M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"] };
  2033. var faComment = { prefix: 'far', iconName: 'comment', icon: [512, 512, [], "f075", "M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"] };
  2034. var faCommentAlt = { prefix: 'far', iconName: 'comment-alt', icon: [512, 512, [], "f27a", "M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"] };
  2035. var faCommentDots = { prefix: 'far', iconName: 'comment-dots', icon: [512, 512, [], "f4ad", "M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"] };
  2036. var faComments = { prefix: 'far', iconName: 'comments', icon: [576, 512, [], "f086", "M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"] };
  2037. var faCompass = { prefix: 'far', iconName: 'compass', icon: [496, 512, [], "f14e", "M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"] };
  2038. var faCopy = { prefix: 'far', iconName: 'copy', icon: [448, 512, [], "f0c5", "M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"] };
  2039. var faCopyright = { prefix: 'far', iconName: 'copyright', icon: [512, 512, [], "f1f9", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"] };
  2040. var faCreditCard = { prefix: 'far', iconName: 'credit-card', icon: [576, 512, [], "f09d", "M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"] };
  2041. var faDizzy = { prefix: 'far', iconName: 'dizzy', icon: [496, 512, [], "f567", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-33.8-217.9c7.8-7.8 7.8-20.5 0-28.3L196.3 192l17.9-17.9c7.8-7.8 7.8-20.5 0-28.3-7.8-7.8-20.5-7.8-28.3 0L168 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.9 7.7 20.5 7.7 28.4-.2zm160-92.2c-7.8-7.8-20.5-7.8-28.3 0L328 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.8 7.8 20.5 7.8 28.3 0 7.8-7.8 7.8-20.5 0-28.3l-17.8-18 17.9-17.9c7.7-7.8 7.7-20.4 0-28.2zM248 272c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z"] };
  2042. var faDotCircle = { prefix: 'far', iconName: 'dot-circle', icon: [512, 512, [], "f192", "M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"] };
  2043. var faEdit = { prefix: 'far', iconName: 'edit', icon: [576, 512, [], "f044", "M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"] };
  2044. var faEnvelope = { prefix: 'far', iconName: 'envelope', icon: [512, 512, [], "f0e0", "M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"] };
  2045. var faEnvelopeOpen = { prefix: 'far', iconName: 'envelope-open', icon: [512, 512, [], "f2b6", "M494.586 164.516c-4.697-3.883-111.723-89.95-135.251-108.657C337.231 38.191 299.437 0 256 0c-43.205 0-80.636 37.717-103.335 55.859-24.463 19.45-131.07 105.195-135.15 108.549A48.004 48.004 0 0 0 0 201.485V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V201.509a48 48 0 0 0-17.414-36.993zM464 458a6 6 0 0 1-6 6H54a6 6 0 0 1-6-6V204.347c0-1.813.816-3.526 2.226-4.665 15.87-12.814 108.793-87.554 132.364-106.293C200.755 78.88 232.398 48 256 48c23.693 0 55.857 31.369 73.41 45.389 23.573 18.741 116.503 93.493 132.366 106.316a5.99 5.99 0 0 1 2.224 4.663V458zm-31.991-187.704c4.249 5.159 3.465 12.795-1.745 16.981-28.975 23.283-59.274 47.597-70.929 56.863C336.636 362.283 299.205 400 256 400c-43.452 0-81.287-38.237-103.335-55.86-11.279-8.967-41.744-33.413-70.927-56.865-5.21-4.187-5.993-11.822-1.745-16.981l15.258-18.528c4.178-5.073 11.657-5.843 16.779-1.726 28.618 23.001 58.566 47.035 70.56 56.571C200.143 320.631 232.307 352 256 352c23.602 0 55.246-30.88 73.41-45.389 11.994-9.535 41.944-33.57 70.563-56.568 5.122-4.116 12.601-3.346 16.778 1.727l15.258 18.526z"] };
  2046. var faEye = { prefix: 'far', iconName: 'eye', icon: [576, 512, [], "f06e", "M569.354 231.631C512.97 135.949 407.81 72 288 72 168.14 72 63.004 135.994 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.031 376.051 168.19 440 288 440c119.86 0 224.996-63.994 281.354-159.631a47.997 47.997 0 0 0 0-48.738zM288 392c-102.556 0-192.091-54.701-240-136 44.157-74.933 123.677-127.27 216.162-135.007C273.958 131.078 280 144.83 280 160c0 30.928-25.072 56-56 56s-56-25.072-56-56l.001-.042C157.794 179.043 152 200.844 152 224c0 75.111 60.889 136 136 136s136-60.889 136-136c0-31.031-10.4-59.629-27.895-82.515C451.704 164.638 498.009 205.106 528 256c-47.908 81.299-137.444 136-240 136z"] };
  2047. var faEyeSlash = { prefix: 'far', iconName: 'eye-slash', icon: [576, 512, [], "f070", "M272.702 359.139c-80.483-9.011-136.212-86.886-116.93-167.042l116.93 167.042zM288 392c-102.556 0-192.092-54.701-240-136 21.755-36.917 52.1-68.342 88.344-91.658l-27.541-39.343C67.001 152.234 31.921 188.741 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.004 376.006 168.14 440 288 440a332.89 332.89 0 0 0 39.648-2.367l-32.021-45.744A284.16 284.16 0 0 1 288 392zm281.354-111.631c-33.232 56.394-83.421 101.742-143.554 129.492l48.116 68.74c3.801 5.429 2.48 12.912-2.949 16.712L450.23 509.83c-5.429 3.801-12.912 2.48-16.712-2.949L102.084 33.399c-3.801-5.429-2.48-12.912 2.949-16.712L125.77 2.17c5.429-3.801 12.912-2.48 16.712 2.949l55.526 79.325C226.612 76.343 256.808 72 288 72c119.86 0 224.996 63.994 281.354 159.631a48.002 48.002 0 0 1 0 48.738zM528 256c-44.157-74.933-123.677-127.27-216.162-135.007C302.042 131.078 296 144.83 296 160c0 30.928 25.072 56 56 56s56-25.072 56-56l-.001-.042c30.632 57.277 16.739 130.26-36.928 171.719l26.695 38.135C452.626 346.551 498.308 306.386 528 256z"] };
  2048. var faFile = { prefix: 'far', iconName: 'file', icon: [384, 512, [], "f15b", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"] };
  2049. var faFileAlt = { prefix: 'far', iconName: 'file-alt', icon: [384, 512, [], "f15c", "M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"] };
  2050. var faFileArchive = { prefix: 'far', iconName: 'file-archive', icon: [384, 512, [], "f1c6", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM256 51.882L332.118 128H256V51.882zM336 464H48V48h79.714v16h32V48H208v104c0 13.255 10.745 24 24 24h104v288zM192.27 96h-32V64h32v32zm-32 0v32h-32V96h32zm0 64v32h-32v-32h32zm32 0h-32v-32h32v32zm1.909 105.678A12 12 0 0 0 182.406 256H160.27v-32h-32v32l-19.69 97.106C101.989 385.611 126.834 416 160 416c33.052 0 57.871-30.192 51.476-62.62l-17.297-87.702zM160.27 390.073c-17.918 0-32.444-12.105-32.444-27.036 0-14.932 14.525-27.036 32.444-27.036s32.444 12.105 32.444 27.036c0 14.931-14.526 27.036-32.444 27.036zm32-166.073h-32v-32h32v32z"] };
  2051. var faFileAudio = { prefix: 'far', iconName: 'file-audio', icon: [384, 512, [], "f1c7", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm144-76.024c0 10.691-12.926 16.045-20.485 8.485L136 360.486h-28c-6.627 0-12-5.373-12-12v-56c0-6.627 5.373-12 12-12h28l35.515-36.947c7.56-7.56 20.485-2.206 20.485 8.485v135.952zm41.201-47.13c9.051-9.297 9.06-24.133.001-33.439-22.149-22.752 12.235-56.246 34.395-33.481 27.198 27.94 27.212 72.444.001 100.401-21.793 22.386-56.947-10.315-34.397-33.481z"] };
  2052. var faFileCode = { prefix: 'far', iconName: 'file-code', icon: [384, 512, [], "f1c9", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm101.677-115.115L116.854 320l32.822-28.885a8.793 8.793 0 0 0 .605-12.624l-17.403-18.564c-3.384-3.613-8.964-3.662-12.438-.401L62.78 313.58c-3.703 3.474-3.704 9.367.001 12.84l57.659 54.055a8.738 8.738 0 0 0 6.012 2.381 8.746 8.746 0 0 0 6.427-2.782l17.403-18.563a8.795 8.795 0 0 0-.605-12.626zm84.284-127.85l-24.401-7.084a8.796 8.796 0 0 0-10.905 5.998L144.04 408.061c-1.353 4.66 1.338 9.552 5.998 10.905l24.403 7.084c4.68 1.355 9.557-1.354 10.905-5.998l54.612-188.112c1.354-4.66-1.337-9.552-5.997-10.905zm87.258 92.545l-57.658-54.055c-3.526-3.307-9.099-3.165-12.439.401l-17.403 18.563a8.795 8.795 0 0 0 .605 12.625L267.146 320l-32.822 28.885a8.793 8.793 0 0 0-.605 12.624l17.403 18.564a8.797 8.797 0 0 0 12.439.401h-.001l57.66-54.055c3.703-3.473 3.703-9.366-.001-12.839z"] };
  2053. var faFileExcel = { prefix: 'far', iconName: 'file-excel', icon: [384, 512, [], "f1c3", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm212-240h-28.8c-4.4 0-8.4 2.4-10.5 6.3-18 33.1-22.2 42.4-28.6 57.7-13.9-29.1-6.9-17.3-28.6-57.7-2.1-3.9-6.2-6.3-10.6-6.3H124c-9.3 0-15 10-10.4 18l46.3 78-46.3 78c-4.7 8 1.1 18 10.4 18h28.9c4.4 0 8.4-2.4 10.5-6.3 21.7-40 23-45 28.6-57.7 14.9 30.2 5.9 15.9 28.6 57.7 2.1 3.9 6.2 6.3 10.6 6.3H260c9.3 0 15-10 10.4-18L224 320c.7-1.1 30.3-50.5 46.3-78 4.7-8-1.1-18-10.3-18z"] };
  2054. var faFileImage = { prefix: 'far', iconName: 'file-image', icon: [384, 512, [], "f1c5", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"] };
  2055. var faFilePdf = { prefix: 'far', iconName: 'file-pdf', icon: [384, 512, [], "f1c1", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z"] };
  2056. var faFilePowerpoint = { prefix: 'far', iconName: 'file-powerpoint', icon: [384, 512, [], "f1c4", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm72-60V236c0-6.6 5.4-12 12-12h69.2c36.7 0 62.8 27 62.8 66.3 0 74.3-68.7 66.5-95.5 66.5V404c0 6.6-5.4 12-12 12H132c-6.6 0-12-5.4-12-12zm48.5-87.4h23c7.9 0 13.9-2.4 18.1-7.2 8.5-9.8 8.4-28.5.1-37.8-4.1-4.6-9.9-7-17.4-7h-23.9v52z"] };
  2057. var faFileVideo = { prefix: 'far', iconName: 'file-video', icon: [384, 512, [], "f1c8", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm228.687-211.303L224 305.374V268c0-11.046-8.954-20-20-20H100c-11.046 0-20 8.954-20 20v104c0 11.046 8.954 20 20 20h104c11.046 0 20-8.954 20-20v-37.374l52.687 52.674C286.704 397.318 304 390.28 304 375.986V264.011c0-14.311-17.309-21.319-27.313-11.314z"] };
  2058. var faFileWord = { prefix: 'far', iconName: 'file-word', icon: [384, 512, [], "f1c2", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm220.1-208c-5.7 0-10.6 4-11.7 9.5-20.6 97.7-20.4 95.4-21 103.5-.2-1.2-.4-2.6-.7-4.3-.8-5.1.3.2-23.6-99.5-1.3-5.4-6.1-9.2-11.7-9.2h-13.3c-5.5 0-10.3 3.8-11.7 9.1-24.4 99-24 96.2-24.8 103.7-.1-1.1-.2-2.5-.5-4.2-.7-5.2-14.1-73.3-19.1-99-1.1-5.6-6-9.7-11.8-9.7h-16.8c-7.8 0-13.5 7.3-11.7 14.8 8 32.6 26.7 109.5 33.2 136 1.3 5.4 6.1 9.1 11.7 9.1h25.2c5.5 0 10.3-3.7 11.6-9.1l17.9-71.4c1.5-6.2 2.5-12 3-17.3l2.9 17.3c.1.4 12.6 50.5 17.9 71.4 1.3 5.3 6.1 9.1 11.6 9.1h24.7c5.5 0 10.3-3.7 11.6-9.1 20.8-81.9 30.2-119 34.5-136 1.9-7.6-3.8-14.9-11.6-14.9h-15.8z"] };
  2059. var faFlag = { prefix: 'far', iconName: 'flag', icon: [512, 512, [], "f024", "M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"] };
  2060. var faFlushed = { prefix: 'far', iconName: 'flushed', icon: [496, 512, [], "f579", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm96-312c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm-112 24c0-44.2-35.8-80-80-80s-80 35.8-80 80 35.8 80 80 80 80-35.8 80-80zm-80 48c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm160 144H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"] };
  2061. var faFolder = { prefix: 'far', iconName: 'folder', icon: [512, 512, [], "f07b", "M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"] };
  2062. var faFolderOpen = { prefix: 'far', iconName: 'folder-open', icon: [576, 512, [], "f07c", "M527.943 224H480v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h400a48.001 48.001 0 0 0 40.704-22.56l79.942-128c19.948-31.917-3.038-73.44-40.703-73.44zM54 112h134.118l64 64H426a6 6 0 0 1 6 6v42H152a48 48 0 0 0-41.098 23.202L48 351.449V117.993A5.993 5.993 0 0 1 54 112zm394 288H72l77.234-128H528l-80 128z"] };
  2063. var faFontAwesomeLogoFull = { prefix: 'far', iconName: 'font-awesome-logo-full', icon: [3992, 512, ["Font Awesome"], "f4e6", "M454.6 0H57.4C25.9 0 0 25.9 0 57.4v397.3C0 486.1 25.9 512 57.4 512h397.3c31.4 0 57.4-25.9 57.4-57.4V57.4C512 25.9 486.1 0 454.6 0zm-58.9 324.9c0 4.8-4.1 6.9-8.9 8.9-19.2 8.1-39.7 15.7-61.5 15.7-40.5 0-68.7-44.8-163.2 2.5v51.8c0 30.3-45.7 30.2-45.7 0v-250c-9-7-15-17.9-15-30.3 0-21 17.1-38.2 38.2-38.2 21 0 38.2 17.1 38.2 38.2 0 12.2-5.8 23.2-14.9 30.2v21c37.1-12 65.5-34.4 146.1-3.4 26.6 11.4 68.7-15.7 76.5-15.7 5.5 0 10.3 4.1 10.3 8.9v160.4zm432.9-174.2h-137v70.1H825c39.8 0 40.4 62.2 0 62.2H691.6v105.6c0 45.5-70.7 46.4-70.7 0V128.3c0-22 18-39.8 39.8-39.8h167.8c39.6 0 40.5 62.2.1 62.2zm191.1 23.4c-169.3 0-169.1 252.4 0 252.4 169.9 0 169.9-252.4 0-252.4zm0 196.1c-81.6 0-82.1-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm372.4 53.4c-17.5 0-31.4-13.9-31.4-31.4v-117c0-62.4-72.6-52.5-99.1-16.4v133.4c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c43.3-51.6 162.4-60.4 162.4 39.3v141.5c.3 30.4-31.5 31.4-31.7 31.4zm179.7 2.9c-44.3 0-68.3-22.9-68.3-65.8V235.2H1488c-35.6 0-36.7-55.3 0-55.3h15.5v-37.3c0-41.3 63.8-42.1 63.8 0v37.5h24.9c35.4 0 35.7 55.3 0 55.3h-24.9v108.5c0 29.6 26.1 26.3 27.4 26.3 31.4 0 52.6 56.3-22.9 56.3zM1992 123c-19.5-50.2-95.5-50-114.5 0-107.3 275.7-99.5 252.7-99.5 262.8 0 42.8 58.3 51.2 72.1 14.4l13.5-35.9H2006l13 35.9c14.2 37.7 72.1 27.2 72.1-14.4 0-10.1 5.3 6.8-99.1-262.8zm-108.9 179.1l51.7-142.9 51.8 142.9h-103.5zm591.3-85.6l-53.7 176.3c-12.4 41.2-72 41-84 0l-42.3-135.9-42.3 135.9c-12.4 40.9-72 41.2-84.5 0l-54.2-176.3c-12.5-39.4 49.8-56.1 60.2-16.9L2213 342l45.3-139.5c10.9-32.7 59.6-34.7 71.2 0l45.3 139.5 39.3-142.4c10.3-38.3 72.6-23.8 60.3 16.9zm275.4 75.1c0-42.4-33.9-117.5-119.5-117.5-73.2 0-124.4 56.3-124.4 126 0 77.2 55.3 126.4 128.5 126.4 31.7 0 93-11.5 93-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-109 8.4-115.9-43.8h148.3c16.3 0 29.3-13.4 29.3-28.9zM2571 277.7c9.5-73.4 113.9-68.6 118.6 0H2571zm316.7 148.8c-31.4 0-81.6-10.5-96.6-31.9-12.4-17 2.5-39.8 21.8-39.8 16.3 0 36.8 22.9 77.7 22.9 27.4 0 40.4-11 40.4-25.8 0-39.8-142.9-7.4-142.9-102 0-40.4 35.3-75.7 98.6-75.7 31.4 0 74.1 9.9 87.6 29.4 10.8 14.8-1.4 36.2-20.9 36.2-15.1 0-26.7-17.3-66.2-17.3-22.9 0-37.8 10.5-37.8 23.8 0 35.9 142.4 6 142.4 103.1-.1 43.7-37.4 77.1-104.1 77.1zm266.8-252.4c-169.3 0-169.1 252.4 0 252.4 170.1 0 169.6-252.4 0-252.4zm0 196.1c-81.8 0-82-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm476.9 22V268.7c0-53.8-61.4-45.8-85.7-10.5v134c0 41.3-63.8 42.1-63.8 0V268.7c0-52.1-59.5-47.4-85.7-10.1v133.6c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c9.9-14.4 41.8-37.3 78.6-37.3 35.3 0 57.7 16.4 66.7 43.8 13.9-21.8 45.8-43.8 82.6-43.8 44.3 0 70.7 23.4 70.7 72.7v145.3c.5 17.3-13.5 31.4-31.9 31.4 3.5.1-31.3 1.1-31.3-31.3zM3992 291.6c0-42.4-32.4-117.5-117.9-117.5-73.2 0-127.5 56.3-127.5 126 0 77.2 58.3 126.4 131.6 126.4 31.7 0 91.5-11.5 91.5-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-110.5 8.4-117.5-43.8h149.8c16.3 0 29.1-13.4 29.3-28.9zm-180.5-13.9c9.7-74.4 115.9-68.3 120.1 0h-120.1z"] };
  2064. var faFrown = { prefix: 'far', iconName: 'frown', icon: [496, 512, [], "f119", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"] };
  2065. var faFrownOpen = { prefix: 'far', iconName: 'frown-open', icon: [496, 512, [], "f57a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-48-248c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 112c-35.6 0-88.8 21.3-95.8 61.2-2 11.8 9 21.5 20.5 18.1 31.2-9.6 59.4-15.3 75.3-15.3s44.1 5.7 75.3 15.3c11.4 3.5 22.5-6.3 20.5-18.1-7-39.9-60.2-61.2-95.8-61.2z"] };
  2066. var faFutbol = { prefix: 'far', iconName: 'futbol', icon: [496, 512, [], "f1e3", "M483.8 179.4C449.8 74.6 352.6 8 248.1 8c-25.4 0-51.2 3.9-76.7 12.2C41.2 62.5-30.1 202.4 12.2 332.6 46.2 437.4 143.4 504 247.9 504c25.4 0 51.2-3.9 76.7-12.2 130.2-42.3 201.5-182.2 159.2-312.4zm-74.5 193.7l-52.2 6.4-43.7-60.9 24.4-75.2 71.1-22.1 38.9 36.4c-.2 30.7-7.4 61.1-21.7 89.2-4.7 9.3-10.7 17.8-16.8 26.2zm0-235.4l-10.4 53.1-70.7 22-64.2-46.5V92.5l47.4-26.2c39.2 13 73.4 38 97.9 71.4zM184.9 66.4L232 92.5v73.8l-64.2 46.5-70.6-22-10.1-52.5c24.3-33.4 57.9-58.6 97.8-71.9zM139 379.5L85.9 373c-14.4-20.1-37.3-59.6-37.8-115.3l39-36.4 71.1 22.2 24.3 74.3-43.5 61.7zm48.2 67l-22.4-48.1 43.6-61.7H287l44.3 61.7-22.4 48.1c-6.2 1.8-57.6 20.4-121.7 0z"] };
  2067. var faGem = { prefix: 'far', iconName: 'gem', icon: [576, 512, [], "f3a5", "M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111.3 0h56.8l-51.7 96H68l63.3-96zm-43 144h51.4L208 352 88.3 192zm102.9 0h193.6L288 435.3 191.2 192zM368 352l68.2-160h51.4L368 352z"] };
  2068. var faGrimace = { prefix: 'far', iconName: 'grimace', icon: [496, 512, [], "f57f", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm16 16H152c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h192c26.5 0 48-21.5 48-48v-32c0-26.5-21.5-48-48-48zm-168 96h-24c-8.8 0-16-7.2-16-16v-8h40v24zm0-40h-40v-8c0-8.8 7.2-16 16-16h24v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm56 24c0 8.8-7.2 16-16 16h-24v-24h40v8zm0-24h-40v-24h24c8.8 0 16 7.2 16 16v8z"] };
  2069. var faGrin = { prefix: 'far', iconName: 'grin', icon: [496, 512, [], "f580", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"] };
  2070. var faGrinAlt = { prefix: 'far', iconName: 'grin-alt', icon: [496, 512, [], "f581", "M200.3 248c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zm128 0c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3z"] };
  2071. var faGrinBeam = { prefix: 'far', iconName: 'grin-beam', icon: [496, 512, [], "f582", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-235.9-72.9c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3zm160 0c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3z"] };
  2072. var faGrinBeamSweat = { prefix: 'far', iconName: 'grin-beam-sweat', icon: [496, 512, [], "f583", "M440 160c29.5 0 53.3-26.3 53.3-58.7 0-25-31.7-75.5-46.2-97.3-3.6-5.3-10.7-5.3-14.2 0-14.5 21.8-46.2 72.3-46.2 97.3 0 32.4 23.8 58.7 53.3 58.7zM248 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zm105.3-52.9c-24.6 15.7-46 12.9-46.4 12.9 6.9 20.2 10.8 41.8 10.8 64.3 0 110.3-89.7 200-200 200S48 366.3 48 256 137.7 56 248 56c39.8 0 76.8 11.8 108 31.9 1.7-9.5 6.3-24.1 17.2-45.7C336.4 20.6 293.7 8 248 8 111 8 0 119 0 256s111 248 248 248 248-111 248-248c0-27-4.4-52.9-12.4-77.2zM168 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"] };
  2073. var faGrinHearts = { prefix: 'far', iconName: 'grin-hearts', icon: [496, 512, [], "f584", "M353.6 304.6c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-152.8-48.9c4.5 1.2 9.2-1.5 10.5-6l19.4-69.9c5.6-20.3-7.4-41.1-28.8-44.5-18.6-3-36.4 9.8-41.5 27.9l-2 7.1-7.1-1.9c-18.2-4.7-38.2 4.3-44.9 22-7.7 20.2 3.8 41.9 24.2 47.2l70.2 18.1zm188.8-65.3c-6.7-17.6-26.7-26.7-44.9-22l-7.1 1.9-2-7.1c-5-18.1-22.8-30.9-41.5-27.9-21.4 3.4-34.4 24.2-28.8 44.5l19.4 69.9c1.2 4.5 5.9 7.2 10.5 6l70.2-18.2c20.4-5.3 31.9-26.9 24.2-47.1zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200z"] };
  2074. var faGrinSquint = { prefix: 'far', iconName: 'grin-squint', icon: [496, 512, [], "f585", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-234.7-40.8c3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3l-80-48c-5.1-3-11.4-1.9-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11.1.1 15.5zm242.9 2.5c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11-.1-15.5-3.8-4.4-10.2-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48z"] };
  2075. var faGrinSquintTears = { prefix: 'far', iconName: 'grin-squint-tears', icon: [512, 512, [], "f586", "M117.1 384.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 479 124.3 420.8 128 395c.8-6.4-4.6-11.8-10.9-10.9zm-41.2-41.7C40.3 268 53 176.1 114.6 114.6 152.4 76.8 202.6 56 256 56c36.2 0 70.8 9.8 101.2 27.7 3.8-20.3 8-36.1 12-48.3C333.8 17.2 294.9 8 256 8 192.5 8 129.1 32.2 80.6 80.6c-74.1 74.1-91.3 183.4-52 274 12.2-4.1 27.7-8.3 47.3-12.2zm352.3-187.6c45 76.6 34.9 176.9-30.8 242.6-37.8 37.8-88 58.6-141.4 58.6-30.5 0-59.8-7-86.4-19.8-3.9 19.5-8 35-12.2 47.2 31.4 13.6 65 20.6 98.7 20.6 63.5 0 126.9-24.2 175.4-72.6 78.1-78.1 93.1-195.4 45.2-288.6-12.3 4-28.2 8.1-48.5 12zm-33.3-26.9c25.8-3.7 84-13.7 100.9-30.6 21.9-21.9 21.5-57.9-.9-80.3s-58.3-22.8-80.3-.9C397.7 33 387.7 91.2 384 117c-.8 6.4 4.6 11.8 10.9 10.9zm-187 108.3c-3-3-7.2-4.2-11.4-3.2L106 255.7c-5.7 1.4-9.5 6.7-9.1 12.6.5 5.8 5.1 10.5 10.9 11l52.3 4.8 4.8 52.3c.5 5.8 5.2 10.4 11 10.9h.9c5.5 0 10.3-3.7 11.7-9.1l22.6-90.5c1-4.2-.2-8.5-3.2-11.5zm39.7-25.1l90.5-22.6c5.7-1.4 9.5-6.7 9.1-12.6-.5-5.8-5.1-10.5-10.9-11l-52.3-4.8-4.8-52.3c-.5-5.8-5.2-10.4-11-10.9-5.6-.1-11.2 3.4-12.6 9.1L233 196.5c-1 4.1.2 8.4 3.2 11.4 5 5 11.3 3.2 11.4 3.2zm52 88.5c-29.1 29.1-59.7 52.9-83.9 65.4-9.2 4.8-10 17.5-1.7 23.4 38.9 27.7 107 6.2 143.7-30.6S416 253 388.3 214.1c-5.8-8.2-18.5-7.6-23.4 1.7-12.3 24.2-36.2 54.7-65.3 83.8z"] };
  2076. var faGrinStars = { prefix: 'far', iconName: 'grin-stars', icon: [496, 512, [], "f587", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-227.9-57.5c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.5 1.9-12.2-4.3-13.2l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6.1 34.9zm259.7-72.7l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6 34.9c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.6 1.8-12.2-4.4-13.2z"] };
  2077. var faGrinTears = { prefix: 'far', iconName: 'grin-tears', icon: [640, 512, [], "f588", "M117.1 256.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 351 124.3 292.8 128 267c.8-6.4-4.6-11.8-10.9-10.9zm506.7 30.6c-16.9-16.9-75.1-26.9-100.9-30.6-6.3-.9-11.7 4.5-10.8 10.8 3.7 25.8 13.7 84 30.6 100.9 21.9 21.9 57.9 21.5 80.3-.9 22.3-22.3 22.7-58.3.8-80.2zm-126.6 61.7C463.8 412.3 396.9 456 320 456c-76.9 0-143.8-43.7-177.2-107.6-12.5 37.4-25.2 43.9-28.3 46.5C159.1 460.7 234.5 504 320 504s160.9-43.3 205.5-109.1c-3.2-2.7-15.9-9.2-28.3-46.5zM122.7 224.5C137.9 129.2 220.5 56 320 56c99.5 0 182.1 73.2 197.3 168.5 2.1-.2 5.2-2.4 49.5 7C554.4 106 448.7 8 320 8S85.6 106 73.2 231.4c44.5-9.4 47.1-7.2 49.5-6.9zM320 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zM240 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"] };
  2078. var faGrinTongue = { prefix: 'far', iconName: 'grin-tongue', icon: [496, 512, [], "f589", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zM168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"] };
  2079. var faGrinTongueSquint = { prefix: 'far', iconName: 'grin-tongue-squint', icon: [496, 512, [], "f58a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zm36.9-281.1c-3.8-4.4-10.3-5.5-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zm-162.9 45.5l-80-48c-5-3-11.4-2-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3z"] };
  2080. var faGrinTongueWink = { prefix: 'far', iconName: 'grin-tongue-wink', icon: [496, 512, [], "f58b", "M152 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm176-52c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3z"] };
  2081. var faGrinWink = { prefix: 'far', iconName: 'grin-wink', icon: [496, 512, [], "f58c", "M328 180c-25.69 0-55.88 16.92-59.86 42.12-1.75 11.22 11.5 18.24 19.83 10.84l9.55-8.48c14.81-13.19 46.16-13.19 60.97 0l9.55 8.48c8.48 7.43 21.56.25 19.83-10.84C383.88 196.92 353.69 180 328 180zm-160 60c17.67 0 32-14.33 32-32s-14.33-32-32-32-32 14.33-32 32 14.33 32 32 32zm185.55 64.64c-25.93 8.3-64.4 13.06-105.55 13.06s-79.62-4.75-105.55-13.06c-9.94-3.13-19.4 5.37-17.71 15.34C132.67 367.13 196.06 400 248 400s115.33-32.87 123.26-80.02c1.68-9.89-7.67-18.48-17.71-15.34zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"] };
  2082. var faHandLizard = { prefix: 'far', iconName: 'hand-lizard', icon: [576, 512, [], "f258", "M556.686 290.542L410.328 64.829C397.001 44.272 374.417 32 349.917 32H56C25.121 32 0 57.122 0 88v8c0 44.112 35.888 80 80 80h196.042l-18.333 48H144c-48.523 0-88 39.477-88 88 0 30.879 25.121 56 56 56h131.552c2.987 0 5.914.549 8.697 1.631L352 408.418V480h224V355.829c0-23.225-6.679-45.801-19.314-65.287zM528 432H400v-23.582c0-19.948-12.014-37.508-30.604-44.736l-99.751-38.788A71.733 71.733 0 0 0 243.552 320H112c-4.411 0-8-3.589-8-8 0-22.056 17.944-40 40-40h113.709c19.767 0 37.786-12.407 44.84-30.873l24.552-64.281c8.996-23.553-8.428-48.846-33.63-48.846H80c-17.645 0-32-14.355-32-32v-8c0-4.411 3.589-8 8-8h293.917c8.166 0 15.693 4.09 20.137 10.942l146.358 225.715A71.84 71.84 0 0 1 528 355.829V432z"] };
  2083. var faHandPaper = { prefix: 'far', iconName: 'hand-paper', icon: [448, 512, [], "f256", "M372.57 112.641v-10.825c0-43.612-40.52-76.691-83.039-65.546-25.629-49.5-94.09-47.45-117.982.747C130.269 26.456 89.144 57.945 89.144 102v126.13c-19.953-7.427-43.308-5.068-62.083 8.871-29.355 21.796-35.794 63.333-14.55 93.153L132.48 498.569a32 32 0 0 0 26.062 13.432h222.897c14.904 0 27.835-10.289 31.182-24.813l30.184-130.958A203.637 203.637 0 0 0 448 310.564V179c0-40.62-35.523-71.992-75.43-66.359zm27.427 197.922c0 11.731-1.334 23.469-3.965 34.886L368.707 464h-201.92L51.591 302.303c-14.439-20.27 15.023-42.776 29.394-22.605l27.128 38.079c8.995 12.626 29.031 6.287 29.031-9.283V102c0-25.645 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V67c0-25.663 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V101.125c0-25.672 36.57-24.81 36.57.691V256c0 8.837 7.163 16 16 16h6.857c8.837 0 16-7.163 16-16v-76.309c0-26.242 36.57-25.64 36.57-.691v131.563z"] };
  2084. var faHandPeace = { prefix: 'far', iconName: 'hand-peace', icon: [448, 512, [], "f25b", "M362.146 191.976c-13.71-21.649-38.761-34.016-65.006-30.341V74c0-40.804-32.811-74-73.141-74-40.33 0-73.14 33.196-73.14 74L160 168l-18.679-78.85C126.578 50.843 83.85 32.11 46.209 47.208 8.735 62.238-9.571 104.963 5.008 142.85l55.757 144.927c-30.557 24.956-43.994 57.809-24.733 92.218l54.853 97.999C102.625 498.97 124.73 512 148.575 512h205.702c30.744 0 57.558-21.44 64.555-51.797l27.427-118.999a67.801 67.801 0 0 0 1.729-15.203L448 256c0-44.956-43.263-77.343-85.854-64.024zM399.987 326c0 1.488-.169 2.977-.502 4.423l-27.427 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H148.575c-6.486 0-12.542-3.621-15.805-9.449l-54.854-98c-4.557-8.141-2.619-18.668 4.508-24.488l26.647-21.764a16 16 0 0 0 4.812-18.139l-64.09-166.549C37.226 92.956 84.37 74.837 96.51 106.389l59.784 155.357A16 16 0 0 0 171.227 272h11.632c8.837 0 16-7.163 16-16V74c0-34.375 50.281-34.43 50.281 0v182c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16v-28c0-25.122 36.567-25.159 36.567 0v28c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16 0-25.12 36.567-25.16 36.567 0v70z"] };
  2085. var faHandPointDown = { prefix: 'far', iconName: 'hand-point-down', icon: [448, 512, [], "f0a7", "M188.8 512c45.616 0 83.2-37.765 83.2-83.2v-35.647a93.148 93.148 0 0 0 22.064-7.929c22.006 2.507 44.978-3.503 62.791-15.985C409.342 368.1 448 331.841 448 269.299V248c0-60.063-40-98.512-40-127.2v-2.679c4.952-5.747 8-13.536 8-22.12V32c0-17.673-12.894-32-28.8-32H156.8C140.894 0 128 14.327 128 32v64c0 8.584 3.048 16.373 8 22.12v2.679c0 6.964-6.193 14.862-23.668 30.183l-.148.129-.146.131c-9.937 8.856-20.841 18.116-33.253 25.851C48.537 195.798 0 207.486 0 252.8c0 56.928 35.286 92 83.2 92 8.026 0 15.489-.814 22.4-2.176V428.8c0 45.099 38.101 83.2 83.2 83.2zm0-48c-18.7 0-35.2-16.775-35.2-35.2V270.4c-17.325 0-35.2 26.4-70.4 26.4-26.4 0-35.2-20.625-35.2-44 0-8.794 32.712-20.445 56.1-34.926 14.575-9.074 27.225-19.524 39.875-30.799 18.374-16.109 36.633-33.836 39.596-59.075h176.752C364.087 170.79 400 202.509 400 248v21.299c0 40.524-22.197 57.124-61.325 50.601-8.001 14.612-33.979 24.151-53.625 12.925-18.225 19.365-46.381 17.787-61.05 4.95V428.8c0 18.975-16.225 35.2-35.2 35.2zM328 64c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24z"] };
  2086. var faHandPointLeft = { prefix: 'far', iconName: 'hand-point-left', icon: [512, 512, [], "f0a5", "M0 220.8C0 266.416 37.765 304 83.2 304h35.647a93.148 93.148 0 0 0 7.929 22.064c-2.507 22.006 3.503 44.978 15.985 62.791C143.9 441.342 180.159 480 242.701 480H264c60.063 0 98.512-40 127.2-40h2.679c5.747 4.952 13.536 8 22.12 8h64c17.673 0 32-12.894 32-28.8V188.8c0-15.906-14.327-28.8-32-28.8h-64c-8.584 0-16.373 3.048-22.12 8H391.2c-6.964 0-14.862-6.193-30.183-23.668l-.129-.148-.131-.146c-8.856-9.937-18.116-20.841-25.851-33.253C316.202 80.537 304.514 32 259.2 32c-56.928 0-92 35.286-92 83.2 0 8.026.814 15.489 2.176 22.4H83.2C38.101 137.6 0 175.701 0 220.8zm48 0c0-18.7 16.775-35.2 35.2-35.2h158.4c0-17.325-26.4-35.2-26.4-70.4 0-26.4 20.625-35.2 44-35.2 8.794 0 20.445 32.712 34.926 56.1 9.074 14.575 19.524 27.225 30.799 39.875 16.109 18.374 33.836 36.633 59.075 39.596v176.752C341.21 396.087 309.491 432 264 432h-21.299c-40.524 0-57.124-22.197-50.601-61.325-14.612-8.001-24.151-33.979-12.925-53.625-19.365-18.225-17.787-46.381-4.95-61.05H83.2C64.225 256 48 239.775 48 220.8zM448 360c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"] };
  2087. var faHandPointRight = { prefix: 'far', iconName: 'hand-point-right', icon: [512, 512, [], "f0a4", "M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"] };
  2088. var faHandPointUp = { prefix: 'far', iconName: 'hand-point-up', icon: [448, 512, [], "f0a6", "M105.6 83.2v86.177a115.52 115.52 0 0 0-22.4-2.176c-47.914 0-83.2 35.072-83.2 92 0 45.314 48.537 57.002 78.784 75.707 12.413 7.735 23.317 16.994 33.253 25.851l.146.131.148.129C129.807 376.338 136 384.236 136 391.2v2.679c-4.952 5.747-8 13.536-8 22.12v64c0 17.673 12.894 32 28.8 32h230.4c15.906 0 28.8-14.327 28.8-32v-64c0-8.584-3.048-16.373-8-22.12V391.2c0-28.688 40-67.137 40-127.2v-21.299c0-62.542-38.658-98.8-91.145-99.94-17.813-12.482-40.785-18.491-62.791-15.985A93.148 93.148 0 0 0 272 118.847V83.2C272 37.765 234.416 0 188.8 0c-45.099 0-83.2 38.101-83.2 83.2zm118.4 0v91.026c14.669-12.837 42.825-14.415 61.05 4.95 19.646-11.227 45.624-1.687 53.625 12.925 39.128-6.524 61.325 10.076 61.325 50.6V264c0 45.491-35.913 77.21-39.676 120H183.571c-2.964-25.239-21.222-42.966-39.596-59.075-12.65-11.275-25.3-21.725-39.875-30.799C80.712 279.645 48 267.994 48 259.2c0-23.375 8.8-44 35.2-44 35.2 0 53.075 26.4 70.4 26.4V83.2c0-18.425 16.5-35.2 35.2-35.2 18.975 0 35.2 16.225 35.2 35.2zM352 424c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"] };
  2089. var faHandPointer = { prefix: 'far', iconName: 'hand-pointer', icon: [448, 512, [], "f25a", "M358.182 179.361c-19.493-24.768-52.679-31.945-79.872-19.098-15.127-15.687-36.182-22.487-56.595-19.629V67c0-36.944-29.736-67-66.286-67S89.143 30.056 89.143 67v161.129c-19.909-7.41-43.272-5.094-62.083 8.872-29.355 21.795-35.793 63.333-14.55 93.152l109.699 154.001C134.632 501.59 154.741 512 176 512h178.286c30.802 0 57.574-21.5 64.557-51.797l27.429-118.999A67.873 67.873 0 0 0 448 326v-84c0-46.844-46.625-79.273-89.818-62.639zM80.985 279.697l27.126 38.079c8.995 12.626 29.031 6.287 29.031-9.283V67c0-25.12 36.571-25.16 36.571 0v175c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16v-35c0-25.12 36.571-25.16 36.571 0v35c0 8.836 7.163 16 16 16H272c8.837 0 16-7.164 16-16v-21c0-25.12 36.571-25.16 36.571 0v21c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16 0-25.121 36.571-25.16 36.571 0v84c0 1.488-.169 2.977-.502 4.423l-27.43 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H176c-5.769 0-11.263-2.878-14.697-7.697l-109.712-154c-14.406-20.223 14.994-42.818 29.394-22.606zM176.143 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.733 0-14-7.163-14-16zm75.428 0v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16zM327 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16z"] };
  2090. var faHandRock = { prefix: 'far', iconName: 'hand-rock', icon: [512, 512, [], "f255", "M408.864 79.052c-22.401-33.898-66.108-42.273-98.813-23.588-29.474-31.469-79.145-31.093-108.334-.022-47.16-27.02-108.71 5.055-110.671 60.806C44.846 105.407 0 140.001 0 187.429v56.953c0 32.741 14.28 63.954 39.18 85.634l97.71 85.081c4.252 3.702 3.11 5.573 3.11 32.903 0 17.673 14.327 32 32 32h252c17.673 0 32-14.327 32-32 0-23.513-1.015-30.745 3.982-42.37l42.835-99.656c6.094-14.177 9.183-29.172 9.183-44.568V146.963c0-52.839-54.314-88.662-103.136-67.911zM464 261.406a64.505 64.505 0 0 1-5.282 25.613l-42.835 99.655c-5.23 12.171-7.883 25.04-7.883 38.25V432H188v-10.286c0-16.37-7.14-31.977-19.59-42.817l-97.71-85.08C56.274 281.255 48 263.236 48 244.381v-56.953c0-33.208 52-33.537 52 .677v41.228a16 16 0 0 0 5.493 12.067l7 6.095A16 16 0 0 0 139 235.429V118.857c0-33.097 52-33.725 52 .677v26.751c0 8.836 7.164 16 16 16h7c8.836 0 16-7.164 16-16v-41.143c0-33.134 52-33.675 52 .677v40.466c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16v-27.429c0-33.03 52-33.78 52 .677v26.751c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16 0-33.146 52-33.613 52 .677v114.445z"] };
  2091. var faHandScissors = { prefix: 'far', iconName: 'hand-scissors', icon: [512, 512, [], "f257", "M256 480l70-.013c5.114 0 10.231-.583 15.203-1.729l118.999-27.427C490.56 443.835 512 417.02 512 386.277V180.575c0-23.845-13.03-45.951-34.005-57.69l-97.999-54.853c-34.409-19.261-67.263-5.824-92.218 24.733L142.85 37.008c-37.887-14.579-80.612 3.727-95.642 41.201-15.098 37.642 3.635 80.37 41.942 95.112L168 192l-94-9.141c-40.804 0-74 32.811-74 73.14 0 40.33 33.196 73.141 74 73.141h87.635c-3.675 26.245 8.692 51.297 30.341 65.006C178.657 436.737 211.044 480 256 480zm0-48.013c-25.16 0-25.12-36.567 0-36.567 8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16h-28c-25.159 0-25.122-36.567 0-36.567h28c8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16H74c-34.43 0-34.375-50.281 0-50.281h182c8.837 0 16-7.163 16-16v-11.632a16 16 0 0 0-10.254-14.933L106.389 128.51c-31.552-12.14-13.432-59.283 19.222-46.717l166.549 64.091a16.001 16.001 0 0 0 18.139-4.812l21.764-26.647c5.82-7.127 16.348-9.064 24.488-4.508l98 54.854c5.828 3.263 9.449 9.318 9.449 15.805v205.701c0 8.491-5.994 15.804-14.576 17.782l-119.001 27.427a19.743 19.743 0 0 1-4.423.502h-70z"] };
  2092. var faHandSpock = { prefix: 'far', iconName: 'hand-spock', icon: [512, 512, [], "f259", "M21.096 381.79l129.092 121.513a32 32 0 0 0 21.932 8.698h237.6c14.17 0 26.653-9.319 30.68-22.904l31.815-107.313A115.955 115.955 0 0 0 477 348.811v-36.839c0-4.051.476-8.104 1.414-12.045l31.73-133.41c10.099-42.412-22.316-82.738-65.544-82.525-4.144-24.856-22.543-47.165-49.85-53.992-35.803-8.952-72.227 12.655-81.25 48.75L296.599 184 274.924 52.01c-8.286-36.07-44.303-58.572-80.304-50.296-29.616 6.804-50.138 32.389-51.882 61.295-42.637.831-73.455 40.563-64.071 81.844l31.04 136.508c-27.194-22.515-67.284-19.992-91.482 5.722-25.376 26.961-24.098 69.325 2.871 94.707zm32.068-61.811l.002-.001c7.219-7.672 19.241-7.98 26.856-.813l53.012 49.894C143.225 378.649 160 371.4 160 357.406v-69.479c0-1.193-.134-2.383-.397-3.546l-34.13-150.172c-5.596-24.617 31.502-32.86 37.054-8.421l30.399 133.757a16 16 0 0 0 15.603 12.454h8.604c10.276 0 17.894-9.567 15.594-19.583l-41.62-181.153c-5.623-24.469 31.39-33.076 37.035-8.508l45.22 196.828A16 16 0 0 0 288.956 272h13.217a16 16 0 0 0 15.522-12.119l42.372-169.49c6.104-24.422 42.962-15.159 36.865 9.217L358.805 252.12c-2.521 10.088 5.115 19.88 15.522 19.88h9.694a16 16 0 0 0 15.565-12.295L426.509 146.6c5.821-24.448 42.797-15.687 36.966 8.802L431.72 288.81a100.094 100.094 0 0 0-2.72 23.162v36.839c0 6.548-.943 13.051-2.805 19.328L397.775 464h-219.31L53.978 346.836c-7.629-7.18-7.994-19.229-.814-26.857z"] };
  2093. var faHandshake = { prefix: 'far', iconName: 'handshake', icon: [640, 512, [], "f2b5", "M519.2 127.9l-47.6-47.6A56.252 56.252 0 0 0 432 64H205.2c-14.8 0-29.1 5.9-39.6 16.3L118 127.9H0v255.7h64c17.6 0 31.8-14.2 31.9-31.7h9.1l84.6 76.4c30.9 25.1 73.8 25.7 105.6 3.8 12.5 10.8 26 15.9 41.1 15.9 18.2 0 35.3-7.4 48.8-24 22.1 8.7 48.2 2.6 64-16.8l26.2-32.3c5.6-6.9 9.1-14.8 10.9-23h57.9c.1 17.5 14.4 31.7 31.9 31.7h64V127.9H519.2zM48 351.6c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16zm390-6.9l-26.1 32.2c-2.8 3.4-7.8 4-11.3 1.2l-23.9-19.4-30 36.5c-6 7.3-15 4.8-18 2.4l-36.8-31.5-15.6 19.2c-13.9 17.1-39.2 19.7-55.3 6.6l-97.3-88H96V175.8h41.9l61.7-61.6c2-.8 3.7-1.5 5.7-2.3H262l-38.7 35.5c-29.4 26.9-31.1 72.3-4.4 101.3 14.8 16.2 61.2 41.2 101.5 4.4l8.2-7.5 108.2 87.8c3.4 2.8 3.9 7.9 1.2 11.3zm106-40.8h-69.2c-2.3-2.8-4.9-5.4-7.7-7.7l-102.7-83.4 12.5-11.4c6.5-6 7-16.1 1-22.6L367 167.1c-6-6.5-16.1-6.9-22.6-1l-55.2 50.6c-9.5 8.7-25.7 9.4-34.6 0-9.3-9.9-8.5-25.1 1.2-33.9l65.6-60.1c7.4-6.8 17-10.5 27-10.5l83.7-.2c2.1 0 4.1.8 5.5 2.3l61.7 61.6H544v128zm48 47.7c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16z"] };
  2094. var faHdd = { prefix: 'far', iconName: 'hdd', icon: [576, 512, [], "f0a0", "M567.403 235.642L462.323 84.589A48 48 0 0 0 422.919 64H153.081a48 48 0 0 0-39.404 20.589L8.597 235.642A48.001 48.001 0 0 0 0 263.054V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V263.054c0-9.801-3-19.366-8.597-27.412zM153.081 112h269.838l77.913 112H75.168l77.913-112zM528 400H48V272h480v128zm-32-64c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-96 0c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32z"] };
  2095. var faHeart = { prefix: 'far', iconName: 'heart', icon: [512, 512, [], "f004", "M458.4 64.3C400.6 15.7 311.3 23 256 79.3 200.7 23 111.4 15.6 53.6 64.3-21.6 127.6-10.6 230.8 43 285.5l175.4 178.7c10 10.2 23.4 15.9 37.6 15.9 14.3 0 27.6-5.6 37.6-15.8L469 285.6c53.5-54.7 64.7-157.9-10.6-221.3zm-23.6 187.5L259.4 430.5c-2.4 2.4-4.4 2.4-6.8 0L77.2 251.8c-36.5-37.2-43.9-107.6 7.3-150.7 38.9-32.7 98.9-27.8 136.5 10.5l35 35.7 35-35.7c37.8-38.5 97.8-43.2 136.5-10.6 51.1 43.1 43.5 113.9 7.3 150.8z"] };
  2096. var faHospital = { prefix: 'far', iconName: 'hospital', icon: [448, 512, [], "f0f8", "M128 244v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12zm140 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm-76 84v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm76 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm180 124v36H0v-36c0-6.627 5.373-12 12-12h19.5V85.035C31.5 73.418 42.245 64 55.5 64H144V24c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v40h88.5c13.255 0 24 9.418 24 21.035V464H436c6.627 0 12 5.373 12 12zM79.5 463H192v-67c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v67h112.5V112H304v24c0 13.255-10.745 24-24 24H168c-13.255 0-24-10.745-24-24v-24H79.5v351zM266 64h-26V38a6 6 0 0 0-6-6h-20a6 6 0 0 0-6 6v26h-26a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h26v26a6 6 0 0 0 6 6h20a6 6 0 0 0 6-6V96h26a6 6 0 0 0 6-6V70a6 6 0 0 0-6-6z"] };
  2097. var faHourglass = { prefix: 'far', iconName: 'hourglass', icon: [384, 512, [], "f254", "M368 48h4c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12H12C5.373 0 0 5.373 0 12v24c0 6.627 5.373 12 12 12h4c0 80.564 32.188 165.807 97.18 208C47.899 298.381 16 383.9 16 464h-4c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12h-4c0-80.564-32.188-165.807-97.18-208C336.102 213.619 368 128.1 368 48zM64 48h256c0 101.62-57.307 184-128 184S64 149.621 64 48zm256 416H64c0-101.62 57.308-184 128-184s128 82.38 128 184z"] };
  2098. var faIdBadge = { prefix: 'far', iconName: 'id-badge', icon: [384, 512, [], "f2c1", "M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm0 464H48V48h288v416zM144 112h96c8.8 0 16-7.2 16-16s-7.2-16-16-16h-96c-8.8 0-16 7.2-16 16s7.2 16 16 16zm48 176c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"] };
  2099. var faIdCard = { prefix: 'far', iconName: 'id-card', icon: [576, 512, [], "f2c2", "M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H303.2c.9-4.5.8 3.6.8-22.4 0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6 0 26-.2 17.9.8 22.4H48V144h480v288zm-168-80h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm-168 96c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64z"] };
  2100. var faImage = { prefix: 'far', iconName: 'image', icon: [512, 512, [], "f03e", "M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"] };
  2101. var faImages = { prefix: 'far', iconName: 'images', icon: [576, 512, [], "f302", "M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v48H54a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6v-10h48zm42-336H150a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6V86a6 6 0 0 0-6-6zm6-48c26.51 0 48 21.49 48 48v256c0 26.51-21.49 48-48 48H144c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h384zM264 144c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40zm-72 96l39.515-39.515c4.686-4.686 12.284-4.686 16.971 0L288 240l103.515-103.515c4.686-4.686 12.284-4.686 16.971 0L480 208v80H192v-48z"] };
  2102. var faKeyboard = { prefix: 'far', iconName: 'keyboard', icon: [576, 512, [], "f11c", "M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm8 336c0 4.411-3.589 8-8 8H48c-4.411 0-8-3.589-8-8V112c0-4.411 3.589-8 8-8h480c4.411 0 8 3.589 8 8v288zM170 270v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-336 82v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm384 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zM122 188v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-98 158v-16c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v16c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"] };
  2103. var faKiss = { prefix: 'far', iconName: 'kiss', icon: [496, 512, [], "f596", "M168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm136 132c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"] };
  2104. var faKissBeam = { prefix: 'far', iconName: 'kiss-beam', icon: [496, 512, [], "f597", "M168 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm56-148c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zm24-156c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4z"] };
  2105. var faKissWinkHeart = { prefix: 'far', iconName: 'kiss-wink-heart', icon: [504, 512, [], "f598", "M304 308.5c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36 21.7-9.1 35.1-23.4 35.1-36.4zm70.5-83.5l9.5 8.5c3.8 3.3 9.3 4 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 5.8 3.1 11.2.7 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0zM136 208.5c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm365.1 194c-8-20.8-31.5-31.5-53.1-25.9l-8.4 2.2-2.3-8.4c-5.9-21.4-27-36.5-49-33-25.2 4-40.6 28.6-34 52.6l22.9 82.6c1.5 5.3 7 8.5 12.4 7.1l83-21.5c24.1-6.3 37.7-31.8 28.5-55.7zM334 436.3c-26.1 12.5-55.2 19.7-86 19.7-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200c0 22.1-3.7 43.3-10.4 63.2 9 6.4 17 14.2 22.6 23.9 6.4.1 12.6 1.4 18.6 2.9 10.9-27.9 17.1-58.2 17.1-90C496 119 385 8 248 8S0 119 0 256s111 248 248 248c35.4 0 68.9-7.5 99.4-20.9-2.5-7.3 4.3 17.2-13.4-46.8z"] };
  2106. var faLaugh = { prefix: 'far', iconName: 'laugh', icon: [496, 512, [], "f599", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"] };
  2107. var faLaughBeam = { prefix: 'far', iconName: 'laugh-beam', icon: [496, 512, [], "f59a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 152c-23.8 0-52.7 29.3-56 71.4-.7 8.6 10.8 11.9 14.9 4.5l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.1-42.1-32-71.4-55.8-71.4zm-201 75.9l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.6 8.5 10.9 11.9 15.1 4.5zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"] };
  2108. var faLaughSquint = { prefix: 'far', iconName: 'laugh-squint', icon: [496, 512, [], "f59b", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM343.6 196l33.6-40.3c8.6-10.3-3.8-24.8-15.4-18l-80 48c-7.8 4.7-7.8 15.9 0 20.6l80 48c11.5 6.8 24-7.6 15.4-18L343.6 196zm-209.4 58.3l80-48c7.8-4.7 7.8-15.9 0-20.6l-80-48c-11.6-6.9-24 7.7-15.4 18l33.6 40.3-33.6 40.3c-8.7 10.4 3.8 24.8 15.4 18zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"] };
  2109. var faLaughWink = { prefix: 'far', iconName: 'laugh-wink', icon: [496, 512, [], "f59c", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6C68.8 359.6 48 309.4 48 256s20.8-103.6 58.6-141.4C144.4 76.8 194.6 56 248 56s103.6 20.8 141.4 58.6c37.8 37.8 58.6 88 58.6 141.4s-20.8 103.6-58.6 141.4zM328 164c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1zm-160 60c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"] };
  2110. var faLemon = { prefix: 'far', iconName: 'lemon', icon: [512, 512, [], "f094", "M484.112 27.889C455.989-.233 416.108-8.057 387.059 8.865 347.604 31.848 223.504-41.111 91.196 91.197-41.277 223.672 31.923 347.472 8.866 387.058c-16.922 29.051-9.1 68.932 19.022 97.054 28.135 28.135 68.011 35.938 97.057 19.021 39.423-22.97 163.557 49.969 295.858-82.329 132.474-132.477 59.273-256.277 82.331-295.861 16.922-29.05 9.1-68.931-19.022-97.054zm-22.405 72.894c-38.8 66.609 45.6 165.635-74.845 286.08-120.44 120.443-219.475 36.048-286.076 74.843-22.679 13.207-64.035-27.241-50.493-50.488 38.8-66.609-45.6-165.635 74.845-286.08C245.573 4.702 344.616 89.086 411.219 50.292c22.73-13.24 64.005 27.288 50.488 50.491zm-169.861 8.736c1.37 10.96-6.404 20.957-17.365 22.327-54.846 6.855-135.779 87.787-142.635 142.635-1.373 10.989-11.399 18.734-22.326 17.365-10.961-1.37-18.735-11.366-17.365-22.326 9.162-73.286 104.167-168.215 177.365-177.365 10.953-1.368 20.956 6.403 22.326 17.364z"] };
  2111. var faLifeRing = { prefix: 'far', iconName: 'life-ring', icon: [512, 512, [], "f1cd", "M256 504c136.967 0 248-111.033 248-248S392.967 8 256 8 8 119.033 8 256s111.033 248 248 248zm-103.398-76.72l53.411-53.411c31.806 13.506 68.128 13.522 99.974 0l53.411 53.411c-63.217 38.319-143.579 38.319-206.796 0zM336 256c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zm91.28 103.398l-53.411-53.411c13.505-31.806 13.522-68.128 0-99.974l53.411-53.411c38.319 63.217 38.319 143.579 0 206.796zM359.397 84.72l-53.411 53.411c-31.806-13.505-68.128-13.522-99.973 0L152.602 84.72c63.217-38.319 143.579-38.319 206.795 0zM84.72 152.602l53.411 53.411c-13.506 31.806-13.522 68.128 0 99.974L84.72 359.398c-38.319-63.217-38.319-143.579 0-206.796z"] };
  2112. var faLightbulb = { prefix: 'far', iconName: 'lightbulb', icon: [352, 512, [], "f0eb", "M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"] };
  2113. var faListAlt = { prefix: 'far', iconName: 'list-alt', icon: [512, 512, [], "f022", "M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zm-42-92v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm-252 12c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36z"] };
  2114. var faMap = { prefix: 'far', iconName: 'map', icon: [576, 512, [], "f279", "M560.02 32c-1.96 0-3.98.37-5.96 1.16L384.01 96H384L212 35.28A64.252 64.252 0 0 0 191.76 32c-6.69 0-13.37 1.05-19.81 3.14L20.12 87.95A32.006 32.006 0 0 0 0 117.66v346.32C0 473.17 7.53 480 15.99 480c1.96 0 3.97-.37 5.96-1.16L192 416l172 60.71a63.98 63.98 0 0 0 40.05.15l151.83-52.81A31.996 31.996 0 0 0 576 394.34V48.02c0-9.19-7.53-16.02-15.98-16.02zM224 90.42l128 45.19v285.97l-128-45.19V90.42zM48 418.05V129.07l128-44.53v286.2l-.64.23L48 418.05zm480-35.13l-128 44.53V141.26l.64-.24L528 93.95v288.97z"] };
  2115. var faMeh = { prefix: 'far', iconName: 'meh', icon: [496, 512, [], "f11a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm8 144H160c-13.2 0-24 10.8-24 24s10.8 24 24 24h176c13.2 0 24-10.8 24-24s-10.8-24-24-24z"] };
  2116. var faMehBlank = { prefix: 'far', iconName: 'meh-blank', icon: [496, 512, [], "f5a4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"] };
  2117. var faMehRollingEyes = { prefix: 'far', iconName: 'meh-rolling-eyes', icon: [496, 512, [], "f5a5", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm88-304c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 112c-22.1 0-40-17.9-40-40 0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40zm-104-40c0-39.8-32.2-72-72-72s-72 32.2-72 72 32.2 72 72 72 72-32.2 72-72zm-112 0c0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40s-40-17.9-40-40zm192 128H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"] };
  2118. var faMinusSquare = { prefix: 'far', iconName: 'minus-square', icon: [448, 512, [], "f146", "M108 284c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h232c6.6 0 12 5.4 12 12v32c0 6.6-5.4 12-12 12H108zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2119. var faMoneyBillAlt = { prefix: 'far', iconName: 'money-bill-alt', icon: [640, 512, [], "f3d1", "M320 144c-53.02 0-96 50.14-96 112 0 61.85 42.98 112 96 112 53 0 96-50.13 96-112 0-61.86-42.98-112-96-112zm40 168c0 4.42-3.58 8-8 8h-64c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h16v-55.44l-.47.31a7.992 7.992 0 0 1-11.09-2.22l-8.88-13.31a7.992 7.992 0 0 1 2.22-11.09l15.33-10.22a23.99 23.99 0 0 1 13.31-4.03H328c4.42 0 8 3.58 8 8v88h16c4.42 0 8 3.58 8 8v16zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zm-16 272c-35.35 0-64 28.65-64 64H112c0-35.35-28.65-64-64-64V176c35.35 0 64-28.65 64-64h416c0 35.35 28.65 64 64 64v160z"] };
  2120. var faMoon = { prefix: 'far', iconName: 'moon', icon: [512, 512, [], "f186", "M279.135 512c78.756 0 150.982-35.804 198.844-94.775 28.27-34.831-2.558-85.722-46.249-77.401-82.348 15.683-158.272-47.268-158.272-130.792 0-48.424 26.06-92.292 67.434-115.836 38.745-22.05 28.999-80.788-15.022-88.919A257.936 257.936 0 0 0 279.135 0c-141.36 0-256 114.575-256 256 0 141.36 114.576 256 256 256zm0-464c12.985 0 25.689 1.201 38.016 3.478-54.76 31.163-91.693 90.042-91.693 157.554 0 113.848 103.641 199.2 215.252 177.944C402.574 433.964 344.366 464 279.135 464c-114.875 0-208-93.125-208-208s93.125-208 208-208z"] };
  2121. var faNewspaper = { prefix: 'far', iconName: 'newspaper', icon: [576, 512, [], "f1ea", "M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z"] };
  2122. var faObjectGroup = { prefix: 'far', iconName: 'object-group', icon: [512, 512, [], "f247", "M500 128c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v256H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V128h12zm-52-64h32v32h-32V64zM32 64h32v32H32V64zm32 384H32v-32h32v32zm416 0h-32v-32h32v32zm-40-64h-12c-6.627 0-12 5.373-12 12v12H96v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h12v256zm-36-192h-84v-52c0-6.628-5.373-12-12-12H108c-6.627 0-12 5.372-12 12v168c0 6.628 5.373 12 12 12h84v52c0 6.628 5.373 12 12 12h200c6.627 0 12-5.372 12-12V204c0-6.628-5.373-12-12-12zm-268-24h144v112H136V168zm240 176H232v-24h76c6.627 0 12-5.372 12-12v-76h56v112z"] };
  2123. var faObjectUngroup = { prefix: 'far', iconName: 'object-ungroup', icon: [576, 512, [], "f248", "M564 224c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12h-88v-24h12c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v160H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h88v24h-12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V224h12zM352 64h32v32h-32V64zm0 256h32v32h-32v-32zM64 352H32v-32h32v32zm0-256H32V64h32v32zm32 216v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h12v160h-12c-6.627 0-12 5.373-12 12v12H96zm128 136h-32v-32h32v32zm280-64h-12c-6.627 0-12 5.373-12 12v12H256v-12c0-6.627-5.373-12-12-12h-12v-24h88v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12v-88h88v12c0 6.627 5.373 12 12 12h12v160zm40 64h-32v-32h32v32zm0-256h-32v-32h32v32z"] };
  2124. var faPaperPlane = { prefix: 'far', iconName: 'paper-plane', icon: [512, 512, [], "f1d8", "M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"] };
  2125. var faPauseCircle = { prefix: 'far', iconName: 'pause-circle', icon: [512, 512, [], "f28b", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm96-280v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16zm-112 0v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16z"] };
  2126. var faPlayCircle = { prefix: 'far', iconName: 'play-circle', icon: [512, 512, [], "f144", "M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z"] };
  2127. var faPlusSquare = { prefix: 'far', iconName: 'plus-square', icon: [448, 512, [], "f0fe", "M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"] };
  2128. var faQuestionCircle = { prefix: 'far', iconName: 'question-circle', icon: [512, 512, [], "f059", "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"] };
  2129. var faRegistered = { prefix: 'far', iconName: 'registered', icon: [512, 512, [], "f25d", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm110.442-81.791c-53.046-96.284-50.25-91.468-53.271-96.085 24.267-13.879 39.482-41.563 39.482-73.176 0-52.503-30.247-85.252-101.498-85.252h-78.667c-6.617 0-12 5.383-12 12V380c0 6.617 5.383 12 12 12h38.568c6.617 0 12-5.383 12-12v-83.663h31.958l47.515 89.303a11.98 11.98 0 0 0 10.593 6.36h42.81c9.14 0 14.914-9.799 10.51-17.791zM256.933 239.906h-33.875v-64.14h27.377c32.417 0 38.929 12.133 38.929 31.709-.001 20.913-11.518 32.431-32.431 32.431z"] };
  2130. var faSadCry = { prefix: 'far', iconName: 'sad-cry', icon: [496, 512, [], "f5b3", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm144 386.4V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v151.4C315.5 447 282.8 456 248 456s-67.5-9-96-24.6V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v114.4c-34.6-36-56-84.7-56-138.4 0-110.3 89.7-200 200-200s200 89.7 200 200c0 53.7-21.4 102.5-56 138.4zM205.8 234.5c4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.3 7.9 4.8 13.7 1.6zM344 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.5 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm-96 92c-30.9 0-56 28.7-56 64s25.1 64 56 64 56-28.7 56-64-25.1-64-56-64z"] };
  2131. var faSadTear = { prefix: 'far', iconName: 'sad-tear', icon: [496, 512, [], "f5b4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm8-152c-13.2 0-24 10.8-24 24s10.8 24 24 24c23.8 0 46.3 10.5 61.6 28.8 8.1 9.8 23.2 11.9 33.8 3.1 10.2-8.5 11.6-23.6 3.1-33.8C330 320.8 294.1 304 256 304zm-88-64c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-165.6 98.8C151 290.1 126 325.4 126 342.9c0 22.7 18.8 41.1 42 41.1s42-18.4 42-41.1c0-17.5-25-52.8-36.4-68.1-2.8-3.7-8.4-3.7-11.2 0z"] };
  2132. var faSave = { prefix: 'far', iconName: 'save', icon: [448, 512, [], "f0c7", "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM272 80v80H144V80h128zm122 352H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h42v104c0 13.255 10.745 24 24 24h176c13.255 0 24-10.745 24-24V83.882l78.243 78.243a6 6 0 0 1 1.757 4.243V426a6 6 0 0 1-6 6zM224 232c-48.523 0-88 39.477-88 88s39.477 88 88 88 88-39.477 88-88-39.477-88-88-88zm0 128c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z"] };
  2133. var faShareSquare = { prefix: 'far', iconName: 'share-square', icon: [576, 512, [], "f14d", "M561.938 158.06L417.94 14.092C387.926-15.922 336 5.097 336 48.032v57.198c-42.45 1.88-84.03 6.55-120.76 17.99-35.17 10.95-63.07 27.58-82.91 49.42C108.22 199.2 96 232.6 96 271.94c0 61.697 33.178 112.455 84.87 144.76 37.546 23.508 85.248-12.651 71.02-55.74-15.515-47.119-17.156-70.923 84.11-78.76V336c0 42.993 51.968 63.913 81.94 33.94l143.998-144c18.75-18.74 18.75-49.14 0-67.88zM384 336V232.16C255.309 234.082 166.492 255.35 206.31 376 176.79 357.55 144 324.08 144 271.94c0-109.334 129.14-118.947 240-119.85V48l144 144-144 144zm24.74 84.493a82.658 82.658 0 0 0 20.974-9.303c7.976-4.952 18.286.826 18.286 10.214V464c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h132c6.627 0 12 5.373 12 12v4.486c0 4.917-2.987 9.369-7.569 11.152-13.702 5.331-26.396 11.537-38.05 18.585a12.138 12.138 0 0 1-6.28 1.777H54a6 6 0 0 0-6 6v340a6 6 0 0 0 6 6h340a6 6 0 0 0 6-6v-25.966c0-5.37 3.579-10.059 8.74-11.541z"] };
  2134. var faSmile = { prefix: 'far', iconName: 'smile', icon: [496, 512, [], "f118", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"] };
  2135. var faSmileBeam = { prefix: 'far', iconName: 'smile-beam', icon: [496, 512, [], "f5b8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm84-143.4c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.6-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.2-8.4-25.3-7.1-33.8 3.1zM136.5 211c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.4 1.1 7.4-.5 9.3-3.7l9.5-17zM328 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4z"] };
  2136. var faSmileWink = { prefix: 'far', iconName: 'smile-wink', icon: [496, 512, [], "f4da", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm117.8-146.4c-10.2-8.5-25.3-7.1-33.8 3.1-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-60c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1z"] };
  2137. var faSnowflake = { prefix: 'far', iconName: 'snowflake', icon: [448, 512, [], "f2dc", "M438.237 355.927l-66.574-38.54 59.448-10.327c5.846-1.375 10.609-5.183 13.458-10.13 2.48-4.307 3.506-9.478 2.524-14.651-2.11-11.115-12.686-18.039-23.621-15.467l-85.423 31.115L255.914 256l82.136-41.926 85.423 31.115c10.936 2.572 21.512-4.352 23.621-15.467 2.111-11.115-5.046-22.209-15.981-24.781l-59.448-10.327 66.573-38.54c9.54-5.523 12.615-18.092 6.867-28.074-5.748-9.982-18.14-13.596-27.68-8.074l-66.574 38.54 20.805-56.787c3.246-10.782-2.758-22.542-13.413-26.268-10.654-3.725-21.922 1.997-25.168 12.779l-15.838 89.735-72.423 41.926V136l69.585-58.621c7.689-8.21 6.997-20.856-1.548-28.245-8.545-7.391-21.705-6.723-29.394 1.486l-38.644 46.46V20c0-11.046-9.318-20-20.813-20s-20.813 8.954-20.813 20v77.08l-38.644-46.46c-7.689-8.21-20.849-8.876-29.394-1.486-8.544 7.389-9.236 20.035-1.547 28.245L203.187 136v83.853l-72.423-41.926-15.838-89.736c-3.247-10.782-14.515-16.504-25.169-12.779-10.656 3.725-16.659 15.486-13.413 26.268l20.805 56.787-66.573-38.54c-9.54-5.523-21.933-1.908-27.68 8.074s-2.673 22.551 6.867 28.074l66.574 38.54-59.449 10.328C5.953 207.515-1.202 218.609.907 229.724c2.11 11.114 12.686 18.038 23.622 15.466l85.422-31.115L192.086 256l-82.136 41.926-85.423-31.115c-10.936-2.572-21.511 4.352-23.622 15.466-2.109 11.113 5.046 22.209 15.981 24.781l59.449 10.328-66.574 38.54C.223 361.449-2.852 374.018 2.896 384s18.14 13.597 27.68 8.074l66.574-38.54-20.805 56.786c-1.735 5.764-.828 11.805 2.02 16.751 2.48 4.307 6.433 7.784 11.392 9.517 10.655 3.725 21.923-1.997 25.169-12.779l15.838-89.736 72.423-41.926V376l-69.585 58.621c-7.69 8.21-6.997 20.855 1.547 28.245 8.544 7.388 21.705 6.723 29.394-1.487l38.644-46.46V492c0 11.046 9.318 20 20.813 20s20.813-8.954 20.813-20v-77.081l38.644 46.46c4.111 4.389 9.782 6.621 15.478 6.621 4.96 0 9.939-1.694 13.916-5.134 8.545-7.39 9.237-20.035 1.548-28.245L244.813 376v-83.853l72.423 41.926 15.838 89.736c3.246 10.782 14.514 16.504 25.168 12.779 10.653-3.726 16.659-15.487 13.412-26.268l-20.805-56.787 66.574 38.54c9.54 5.523 21.933 1.908 27.68-8.074 5.749-9.981 2.675-22.55-6.866-28.072z"] };
  2138. var faSquare = { prefix: 'far', iconName: 'square', icon: [448, 512, [], "f0c8", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"] };
  2139. var faStar = { prefix: 'far', iconName: 'star', icon: [576, 512, [], "f005", "M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"] };
  2140. var faStarHalf = { prefix: 'far', iconName: 'star-half', icon: [576, 512, [], "f089", "M288 385.3l-124.3 65.4 23.7-138.4-100.6-98 139-20.2 62.2-126V0c-11.4 0-22.8 5.9-28.7 17.8L194 150.2 47.9 171.4c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.1 23 46 46.4 33.7L288 439.6v-54.3z"] };
  2141. var faStickyNote = { prefix: 'far', iconName: 'sticky-note', icon: [448, 512, [], "f249", "M448 348.106V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80v351.988c0 26.51 21.49 48 48 48h268.118a48 48 0 0 0 33.941-14.059l83.882-83.882A48 48 0 0 0 448 348.106zm-128 80v-76.118h76.118L320 428.106zM400 80v223.988H296c-13.255 0-24 10.745-24 24v104H48V80h352z"] };
  2142. var faStopCircle = { prefix: 'far', iconName: 'stop-circle', icon: [512, 512, [], "f28d", "M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm296-80v160c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16z"] };
  2143. var faSun = { prefix: 'far', iconName: 'sun', icon: [512, 512, [], "f185", "M220.116 487.936l-20.213-49.425a3.992 3.992 0 0 0-5.808-1.886l-45.404 28.104c-29.466 18.24-66.295-8.519-58.054-42.179l12.699-51.865a3.993 3.993 0 0 0-3.59-4.941l-53.251-3.951c-34.554-2.562-48.632-45.855-22.174-68.247L65.08 259.05a3.992 3.992 0 0 0 0-6.106l-40.76-34.497c-26.45-22.384-12.39-65.682 22.174-68.246l53.251-3.951a3.993 3.993 0 0 0 3.59-4.941L90.637 89.443c-8.239-33.656 28.581-60.42 58.054-42.179l45.403 28.104a3.993 3.993 0 0 0 5.808-1.887l20.213-49.425c13.116-32.071 58.638-32.081 71.758 0l20.212 49.424a3.994 3.994 0 0 0 5.809 1.887l45.403-28.104c29.464-18.236 66.297 8.513 58.054 42.179l-12.699 51.865a3.995 3.995 0 0 0 3.59 4.941l53.251 3.951c34.553 2.563 48.633 45.854 22.175 68.246l-40.76 34.497a3.993 3.993 0 0 0 0 6.107l40.76 34.496c26.511 22.441 12.322 65.689-22.175 68.247l-53.251 3.951a3.993 3.993 0 0 0-3.589 4.942l12.698 51.864c8.241 33.658-28.583 60.421-58.054 42.18l-45.403-28.104a3.994 3.994 0 0 0-5.809 1.887l-20.212 49.424c-13.159 32.178-58.675 31.993-71.757 0zm16.814-64.568l19.064 46.616 19.064-46.615c10.308-25.2 40.778-35.066 63.892-20.759l42.822 26.507-11.976-48.919c-6.475-26.444 12.38-52.339 39.487-54.349l50.226-3.726-38.444-32.536c-20.782-17.591-20.747-49.621.001-67.18l38.442-32.536-50.225-3.727c-27.151-2.015-45.95-27.948-39.488-54.349l11.978-48.919-42.823 26.507c-23.151 14.327-53.603 4.4-63.892-20.76l-19.064-46.615-19.064 46.617c-10.305 25.198-40.778 35.066-63.891 20.76l-42.823-26.508 11.977 48.918c6.474 26.446-12.381 52.338-39.488 54.35l-50.224 3.726 38.443 32.537c20.782 17.588 20.747 49.619 0 67.178L52.48 322.123l50.226 3.726c27.151 2.014 45.95 27.947 39.487 54.349l-11.977 48.919 42.823-26.507c23.188-14.355 53.622-4.352 63.891 20.758zM256 384c-70.58 0-128-57.421-128-128 0-70.58 57.42-128 128-128 70.579 0 128 57.42 128 128 0 70.579-57.421 128-128 128zm0-208c-44.112 0-80 35.888-80 80s35.888 80 80 80 80-35.888 80-80-35.888-80-80-80z"] };
  2144. var faSurprise = { prefix: 'far', iconName: 'surprise', icon: [496, 512, [], "f5c2", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-176c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm-48-72c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"] };
  2145. var faThumbsDown = { prefix: 'far', iconName: 'thumbs-down', icon: [512, 512, [], "f165", "M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"] };
  2146. var faThumbsUp = { prefix: 'far', iconName: 'thumbs-up', icon: [512, 512, [], "f164", "M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"] };
  2147. var faTimesCircle = { prefix: 'far', iconName: 'times-circle', icon: [512, 512, [], "f057", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"] };
  2148. var faTired = { prefix: 'far', iconName: 'tired', icon: [496, 512, [], "f5c8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm129.1-303.8c-3.8-4.4-10.3-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.8 1.6 15.3-2.5 3.8-4.5 3.9-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zM220 208c0-4.2-2.2-8.1-5.8-10.3l-80-48c-5-3-11.5-1.9-15.3 2.5-3.8 4.5-3.9 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.5 4.1 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3zm28 64c-45.4 0-100.9 38.3-107.8 93.3-1.5 11.8 6.9 21.6 15.5 17.9C178.4 373.5 212 368 248 368s69.6 5.5 92.3 15.2c8.5 3.7 17-6 15.5-17.9-6.9-55-62.4-93.3-107.8-93.3z"] };
  2149. var faTrashAlt = { prefix: 'far', iconName: 'trash-alt', icon: [448, 512, [], "f2ed", "M192 188v216c0 6.627-5.373 12-12 12h-24c-6.627 0-12-5.373-12-12V188c0-6.627 5.373-12 12-12h24c6.627 0 12 5.373 12 12zm100-12h-24c-6.627 0-12 5.373-12 12v216c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12V188c0-6.627-5.373-12-12-12zm132-96c13.255 0 24 10.745 24 24v12c0 6.627-5.373 12-12 12h-20v336c0 26.51-21.49 48-48 48H80c-26.51 0-48-21.49-48-48V128H12c-6.627 0-12-5.373-12-12v-12c0-13.255 10.745-24 24-24h74.411l34.018-56.696A48 48 0 0 1 173.589 0h100.823a48 48 0 0 1 41.16 23.304L349.589 80H424zm-269.611 0h139.223L276.16 50.913A6 6 0 0 0 271.015 48h-94.028a6 6 0 0 0-5.145 2.913L154.389 80zM368 128H80v330a6 6 0 0 0 6 6h276a6 6 0 0 0 6-6V128z"] };
  2150. var faUser = { prefix: 'far', iconName: 'user', icon: [448, 512, [], "f007", "M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z"] };
  2151. var faUserCircle = { prefix: 'far', iconName: 'user-circle', icon: [496, 512, [], "f2bd", "M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z"] };
  2152. var faWindowClose = { prefix: 'far', iconName: 'window-close', icon: [512, 512, [], "f410", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"] };
  2153. var faWindowMaximize = { prefix: 'far', iconName: 'window-maximize', icon: [512, 512, [], "f2d0", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"] };
  2154. var faWindowMinimize = { prefix: 'far', iconName: 'window-minimize', icon: [512, 512, [], "f2d1", "M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"] };
  2155. var faWindowRestore = { prefix: 'far', iconName: 'window-restore', icon: [512, 512, [], "f2d2", "M464 0H144c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v320c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-96 464H48V256h320v208zm96-96h-48V144c0-26.5-21.5-48-48-48H144V48h320v320z"] };
  2156. var _iconsCache = {
  2157. faAddressBook: faAddressBook,
  2158. faAddressCard: faAddressCard,
  2159. faAngry: faAngry,
  2160. faArrowAltCircleDown: faArrowAltCircleDown,
  2161. faArrowAltCircleLeft: faArrowAltCircleLeft,
  2162. faArrowAltCircleRight: faArrowAltCircleRight,
  2163. faArrowAltCircleUp: faArrowAltCircleUp,
  2164. faBell: faBell,
  2165. faBellSlash: faBellSlash,
  2166. faBookmark: faBookmark,
  2167. faBuilding: faBuilding,
  2168. faCalendar: faCalendar,
  2169. faCalendarAlt: faCalendarAlt,
  2170. faCalendarCheck: faCalendarCheck,
  2171. faCalendarMinus: faCalendarMinus,
  2172. faCalendarPlus: faCalendarPlus,
  2173. faCalendarTimes: faCalendarTimes,
  2174. faCaretSquareDown: faCaretSquareDown,
  2175. faCaretSquareLeft: faCaretSquareLeft,
  2176. faCaretSquareRight: faCaretSquareRight,
  2177. faCaretSquareUp: faCaretSquareUp,
  2178. faChartBar: faChartBar,
  2179. faCheckCircle: faCheckCircle,
  2180. faCheckSquare: faCheckSquare,
  2181. faCircle: faCircle,
  2182. faClipboard: faClipboard,
  2183. faClock: faClock,
  2184. faClone: faClone,
  2185. faClosedCaptioning: faClosedCaptioning,
  2186. faComment: faComment,
  2187. faCommentAlt: faCommentAlt,
  2188. faCommentDots: faCommentDots,
  2189. faComments: faComments,
  2190. faCompass: faCompass,
  2191. faCopy: faCopy,
  2192. faCopyright: faCopyright,
  2193. faCreditCard: faCreditCard,
  2194. faDizzy: faDizzy,
  2195. faDotCircle: faDotCircle,
  2196. faEdit: faEdit,
  2197. faEnvelope: faEnvelope,
  2198. faEnvelopeOpen: faEnvelopeOpen,
  2199. faEye: faEye,
  2200. faEyeSlash: faEyeSlash,
  2201. faFile: faFile,
  2202. faFileAlt: faFileAlt,
  2203. faFileArchive: faFileArchive,
  2204. faFileAudio: faFileAudio,
  2205. faFileCode: faFileCode,
  2206. faFileExcel: faFileExcel,
  2207. faFileImage: faFileImage,
  2208. faFilePdf: faFilePdf,
  2209. faFilePowerpoint: faFilePowerpoint,
  2210. faFileVideo: faFileVideo,
  2211. faFileWord: faFileWord,
  2212. faFlag: faFlag,
  2213. faFlushed: faFlushed,
  2214. faFolder: faFolder,
  2215. faFolderOpen: faFolderOpen,
  2216. faFontAwesomeLogoFull: faFontAwesomeLogoFull,
  2217. faFrown: faFrown,
  2218. faFrownOpen: faFrownOpen,
  2219. faFutbol: faFutbol,
  2220. faGem: faGem,
  2221. faGrimace: faGrimace,
  2222. faGrin: faGrin,
  2223. faGrinAlt: faGrinAlt,
  2224. faGrinBeam: faGrinBeam,
  2225. faGrinBeamSweat: faGrinBeamSweat,
  2226. faGrinHearts: faGrinHearts,
  2227. faGrinSquint: faGrinSquint,
  2228. faGrinSquintTears: faGrinSquintTears,
  2229. faGrinStars: faGrinStars,
  2230. faGrinTears: faGrinTears,
  2231. faGrinTongue: faGrinTongue,
  2232. faGrinTongueSquint: faGrinTongueSquint,
  2233. faGrinTongueWink: faGrinTongueWink,
  2234. faGrinWink: faGrinWink,
  2235. faHandLizard: faHandLizard,
  2236. faHandPaper: faHandPaper,
  2237. faHandPeace: faHandPeace,
  2238. faHandPointDown: faHandPointDown,
  2239. faHandPointLeft: faHandPointLeft,
  2240. faHandPointRight: faHandPointRight,
  2241. faHandPointUp: faHandPointUp,
  2242. faHandPointer: faHandPointer,
  2243. faHandRock: faHandRock,
  2244. faHandScissors: faHandScissors,
  2245. faHandSpock: faHandSpock,
  2246. faHandshake: faHandshake,
  2247. faHdd: faHdd,
  2248. faHeart: faHeart,
  2249. faHospital: faHospital,
  2250. faHourglass: faHourglass,
  2251. faIdBadge: faIdBadge,
  2252. faIdCard: faIdCard,
  2253. faImage: faImage,
  2254. faImages: faImages,
  2255. faKeyboard: faKeyboard,
  2256. faKiss: faKiss,
  2257. faKissBeam: faKissBeam,
  2258. faKissWinkHeart: faKissWinkHeart,
  2259. faLaugh: faLaugh,
  2260. faLaughBeam: faLaughBeam,
  2261. faLaughSquint: faLaughSquint,
  2262. faLaughWink: faLaughWink,
  2263. faLemon: faLemon,
  2264. faLifeRing: faLifeRing,
  2265. faLightbulb: faLightbulb,
  2266. faListAlt: faListAlt,
  2267. faMap: faMap,
  2268. faMeh: faMeh,
  2269. faMehBlank: faMehBlank,
  2270. faMehRollingEyes: faMehRollingEyes,
  2271. faMinusSquare: faMinusSquare,
  2272. faMoneyBillAlt: faMoneyBillAlt,
  2273. faMoon: faMoon,
  2274. faNewspaper: faNewspaper,
  2275. faObjectGroup: faObjectGroup,
  2276. faObjectUngroup: faObjectUngroup,
  2277. faPaperPlane: faPaperPlane,
  2278. faPauseCircle: faPauseCircle,
  2279. faPlayCircle: faPlayCircle,
  2280. faPlusSquare: faPlusSquare,
  2281. faQuestionCircle: faQuestionCircle,
  2282. faRegistered: faRegistered,
  2283. faSadCry: faSadCry,
  2284. faSadTear: faSadTear,
  2285. faSave: faSave,
  2286. faShareSquare: faShareSquare,
  2287. faSmile: faSmile,
  2288. faSmileBeam: faSmileBeam,
  2289. faSmileWink: faSmileWink,
  2290. faSnowflake: faSnowflake,
  2291. faSquare: faSquare,
  2292. faStar: faStar,
  2293. faStarHalf: faStarHalf,
  2294. faStickyNote: faStickyNote,
  2295. faStopCircle: faStopCircle,
  2296. faSun: faSun,
  2297. faSurprise: faSurprise,
  2298. faThumbsDown: faThumbsDown,
  2299. faThumbsUp: faThumbsUp,
  2300. faTimesCircle: faTimesCircle,
  2301. faTired: faTired,
  2302. faTrashAlt: faTrashAlt,
  2303. faUser: faUser,
  2304. faUserCircle: faUserCircle,
  2305. faWindowClose: faWindowClose,
  2306. faWindowMaximize: faWindowMaximize,
  2307. faWindowMinimize: faWindowMinimize,
  2308. faWindowRestore: faWindowRestore
  2309. };
  2310. /***/ }),
  2311. /***/ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js":
  2312. /*!**************************************************************************************!*\
  2313. !*** D:/Repos/Babylon.js/node_modules/@fortawesome/free-solid-svg-icons/index.es.js ***!
  2314. \**************************************************************************************/
  2315. /*! exports provided: fas, prefix, faAd, faAddressBook, faAddressCard, faAdjust, faAirFreshener, faAlignCenter, faAlignJustify, faAlignLeft, faAlignRight, faAllergies, faAmbulance, faAmericanSignLanguageInterpreting, faAnchor, faAngleDoubleDown, faAngleDoubleLeft, faAngleDoubleRight, faAngleDoubleUp, faAngleDown, faAngleLeft, faAngleRight, faAngleUp, faAngry, faAnkh, faAppleAlt, faArchive, faArchway, faArrowAltCircleDown, faArrowAltCircleLeft, faArrowAltCircleRight, faArrowAltCircleUp, faArrowCircleDown, faArrowCircleLeft, faArrowCircleRight, faArrowCircleUp, faArrowDown, faArrowLeft, faArrowRight, faArrowUp, faArrowsAlt, faArrowsAltH, faArrowsAltV, faAssistiveListeningSystems, faAsterisk, faAt, faAtlas, faAtom, faAudioDescription, faAward, faBackspace, faBackward, faBalanceScale, faBan, faBandAid, faBarcode, faBars, faBaseballBall, faBasketballBall, faBath, faBatteryEmpty, faBatteryFull, faBatteryHalf, faBatteryQuarter, faBatteryThreeQuarters, faBed, faBeer, faBell, faBellSlash, faBezierCurve, faBible, faBicycle, faBinoculars, faBirthdayCake, faBlender, faBlenderPhone, faBlind, faBold, faBolt, faBomb, faBone, faBong, faBook, faBookDead, faBookOpen, faBookReader, faBookmark, faBowlingBall, faBox, faBoxOpen, faBoxes, faBraille, faBrain, faBriefcase, faBriefcaseMedical, faBroadcastTower, faBroom, faBrush, faBug, faBuilding, faBullhorn, faBullseye, faBurn, faBus, faBusAlt, faBusinessTime, faCalculator, faCalendar, faCalendarAlt, faCalendarCheck, faCalendarMinus, faCalendarPlus, faCalendarTimes, faCamera, faCameraRetro, faCampground, faCannabis, faCapsules, faCar, faCarAlt, faCarBattery, faCarCrash, faCarSide, faCaretDown, faCaretLeft, faCaretRight, faCaretSquareDown, faCaretSquareLeft, faCaretSquareRight, faCaretSquareUp, faCaretUp, faCartArrowDown, faCartPlus, faCat, faCertificate, faChair, faChalkboard, faChalkboardTeacher, faChargingStation, faChartArea, faChartBar, faChartLine, faChartPie, faCheck, faCheckCircle, faCheckDouble, faCheckSquare, faChess, faChessBishop, faChessBoard, faChessKing, faChessKnight, faChessPawn, faChessQueen, faChessRook, faChevronCircleDown, faChevronCircleLeft, faChevronCircleRight, faChevronCircleUp, faChevronDown, faChevronLeft, faChevronRight, faChevronUp, faChild, faChurch, faCircle, faCircleNotch, faCity, faClipboard, faClipboardCheck, faClipboardList, faClock, faClone, faClosedCaptioning, faCloud, faCloudDownloadAlt, faCloudMoon, faCloudSun, faCloudUploadAlt, faCocktail, faCode, faCodeBranch, faCoffee, faCog, faCogs, faCoins, faColumns, faComment, faCommentAlt, faCommentDollar, faCommentDots, faCommentSlash, faComments, faCommentsDollar, faCompactDisc, faCompass, faCompress, faConciergeBell, faCookie, faCookieBite, faCopy, faCopyright, faCouch, faCreditCard, faCrop, faCropAlt, faCross, faCrosshairs, faCrow, faCrown, faCube, faCubes, faCut, faDatabase, faDeaf, faDesktop, faDharmachakra, faDiagnoses, faDice, faDiceD20, faDiceD6, faDiceFive, faDiceFour, faDiceOne, faDiceSix, faDiceThree, faDiceTwo, faDigitalTachograph, faDirections, faDivide, faDizzy, faDna, faDog, faDollarSign, faDolly, faDollyFlatbed, faDonate, faDoorClosed, faDoorOpen, faDotCircle, faDove, faDownload, faDraftingCompass, faDragon, faDrawPolygon, faDrum, faDrumSteelpan, faDrumstickBite, faDumbbell, faDungeon, faEdit, faEject, faEllipsisH, faEllipsisV, faEnvelope, faEnvelopeOpen, faEnvelopeOpenText, faEnvelopeSquare, faEquals, faEraser, faEuroSign, faExchangeAlt, faExclamation, faExclamationCircle, faExclamationTriangle, faExpand, faExpandArrowsAlt, faExternalLinkAlt, faExternalLinkSquareAlt, faEye, faEyeDropper, faEyeSlash, faFastBackward, faFastForward, faFax, faFeather, faFeatherAlt, faFemale, faFighterJet, faFile, faFileAlt, faFileArchive, faFileAudio, faFileCode, faFileContract, faFileCsv, faFileDownload, faFileExcel, faFileExport, faFileImage, faFileImport, faFileInvoice, faFileInvoiceDollar, faFileMedical, faFileMedicalAlt, faFilePdf, faFilePowerpoint, faFilePrescription, faFileSignature, faFileUpload, faFileVideo, faFileWord, faFill, faFillDrip, faFilm, faFilter, faFingerprint, faFire, faFireExtinguisher, faFirstAid, faFish, faFistRaised, faFlag, faFlagCheckered, faFlask, faFlushed, faFolder, faFolderMinus, faFolderOpen, faFolderPlus, faFont, faFontAwesomeLogoFull, faFootballBall, faForward, faFrog, faFrown, faFrownOpen, faFunnelDollar, faFutbol, faGamepad, faGasPump, faGavel, faGem, faGenderless, faGhost, faGift, faGlassMartini, faGlassMartiniAlt, faGlasses, faGlobe, faGlobeAfrica, faGlobeAmericas, faGlobeAsia, faGolfBall, faGopuram, faGraduationCap, faGreaterThan, faGreaterThanEqual, faGrimace, faGrin, faGrinAlt, faGrinBeam, faGrinBeamSweat, faGrinHearts, faGrinSquint, faGrinSquintTears, faGrinStars, faGrinTears, faGrinTongue, faGrinTongueSquint, faGrinTongueWink, faGrinWink, faGripHorizontal, faGripVertical, faHSquare, faHammer, faHamsa, faHandHolding, faHandHoldingHeart, faHandHoldingUsd, faHandLizard, faHandPaper, faHandPeace, faHandPointDown, faHandPointLeft, faHandPointRight, faHandPointUp, faHandPointer, faHandRock, faHandScissors, faHandSpock, faHands, faHandsHelping, faHandshake, faHanukiah, faHashtag, faHatWizard, faHaykal, faHdd, faHeading, faHeadphones, faHeadphonesAlt, faHeadset, faHeart, faHeartbeat, faHelicopter, faHighlighter, faHiking, faHippo, faHistory, faHockeyPuck, faHome, faHorse, faHospital, faHospitalAlt, faHospitalSymbol, faHotTub, faHotel, faHourglass, faHourglassEnd, faHourglassHalf, faHourglassStart, faHouseDamage, faHryvnia, faICursor, faIdBadge, faIdCard, faIdCardAlt, faImage, faImages, faInbox, faIndent, faIndustry, faInfinity, faInfo, faInfoCircle, faItalic, faJedi, faJoint, faJournalWhills, faKaaba, faKey, faKeyboard, faKhanda, faKiss, faKissBeam, faKissWinkHeart, faKiwiBird, faLandmark, faLanguage, faLaptop, faLaptopCode, faLaugh, faLaughBeam, faLaughSquint, faLaughWink, faLayerGroup, faLeaf, faLemon, faLessThan, faLessThanEqual, faLevelDownAlt, faLevelUpAlt, faLifeRing, faLightbulb, faLink, faLiraSign, faList, faListAlt, faListOl, faListUl, faLocationArrow, faLock, faLockOpen, faLongArrowAltDown, faLongArrowAltLeft, faLongArrowAltRight, faLongArrowAltUp, faLowVision, faLuggageCart, faMagic, faMagnet, faMailBulk, faMale, faMap, faMapMarked, faMapMarkedAlt, faMapMarker, faMapMarkerAlt, faMapPin, faMapSigns, faMarker, faMars, faMarsDouble, faMarsStroke, faMarsStrokeH, faMarsStrokeV, faMask, faMedal, faMedkit, faMeh, faMehBlank, faMehRollingEyes, faMemory, faMenorah, faMercury, faMicrochip, faMicrophone, faMicrophoneAlt, faMicrophoneAltSlash, faMicrophoneSlash, faMicroscope, faMinus, faMinusCircle, faMinusSquare, faMobile, faMobileAlt, faMoneyBill, faMoneyBillAlt, faMoneyBillWave, faMoneyBillWaveAlt, faMoneyCheck, faMoneyCheckAlt, faMonument, faMoon, faMortarPestle, faMosque, faMotorcycle, faMountain, faMousePointer, faMusic, faNetworkWired, faNeuter, faNewspaper, faNotEqual, faNotesMedical, faObjectGroup, faObjectUngroup, faOilCan, faOm, faOtter, faOutdent, faPaintBrush, faPaintRoller, faPalette, faPallet, faPaperPlane, faPaperclip, faParachuteBox, faParagraph, faParking, faPassport, faPastafarianism, faPaste, faPause, faPauseCircle, faPaw, faPeace, faPen, faPenAlt, faPenFancy, faPenNib, faPenSquare, faPencilAlt, faPencilRuler, faPeopleCarry, faPercent, faPercentage, faPhone, faPhoneSlash, faPhoneSquare, faPhoneVolume, faPiggyBank, faPills, faPlaceOfWorship, faPlane, faPlaneArrival, faPlaneDeparture, faPlay, faPlayCircle, faPlug, faPlus, faPlusCircle, faPlusSquare, faPodcast, faPoll, faPollH, faPoo, faPoop, faPortrait, faPoundSign, faPowerOff, faPray, faPrayingHands, faPrescription, faPrescriptionBottle, faPrescriptionBottleAlt, faPrint, faProcedures, faProjectDiagram, faPuzzlePiece, faQrcode, faQuestion, faQuestionCircle, faQuidditch, faQuoteLeft, faQuoteRight, faQuran, faRandom, faReceipt, faRecycle, faRedo, faRedoAlt, faRegistered, faReply, faReplyAll, faRetweet, faRibbon, faRing, faRoad, faRobot, faRocket, faRoute, faRss, faRssSquare, faRubleSign, faRuler, faRulerCombined, faRulerHorizontal, faRulerVertical, faRunning, faRupeeSign, faSadCry, faSadTear, faSave, faSchool, faScrewdriver, faScroll, faSearch, faSearchDollar, faSearchLocation, faSearchMinus, faSearchPlus, faSeedling, faServer, faShapes, faShare, faShareAlt, faShareAltSquare, faShareSquare, faShekelSign, faShieldAlt, faShip, faShippingFast, faShoePrints, faShoppingBag, faShoppingBasket, faShoppingCart, faShower, faShuttleVan, faSign, faSignInAlt, faSignLanguage, faSignOutAlt, faSignal, faSignature, faSitemap, faSkull, faSkullCrossbones, faSlash, faSlidersH, faSmile, faSmileBeam, faSmileWink, faSmoking, faSmokingBan, faSnowflake, faSocks, faSolarPanel, faSort, faSortAlphaDown, faSortAlphaUp, faSortAmountDown, faSortAmountUp, faSortDown, faSortNumericDown, faSortNumericUp, faSortUp, faSpa, faSpaceShuttle, faSpider, faSpinner, faSplotch, faSprayCan, faSquare, faSquareFull, faSquareRootAlt, faStamp, faStar, faStarAndCrescent, faStarHalf, faStarHalfAlt, faStarOfDavid, faStarOfLife, faStepBackward, faStepForward, faStethoscope, faStickyNote, faStop, faStopCircle, faStopwatch, faStore, faStoreAlt, faStream, faStreetView, faStrikethrough, faStroopwafel, faSubscript, faSubway, faSuitcase, faSuitcaseRolling, faSun, faSuperscript, faSurprise, faSwatchbook, faSwimmer, faSwimmingPool, faSynagogue, faSync, faSyncAlt, faSyringe, faTable, faTableTennis, faTablet, faTabletAlt, faTablets, faTachometerAlt, faTag, faTags, faTape, faTasks, faTaxi, faTeeth, faTeethOpen, faTerminal, faTextHeight, faTextWidth, faTh, faThLarge, faThList, faTheaterMasks, faThermometer, faThermometerEmpty, faThermometerFull, faThermometerHalf, faThermometerQuarter, faThermometerThreeQuarters, faThumbsDown, faThumbsUp, faThumbtack, faTicketAlt, faTimes, faTimesCircle, faTint, faTintSlash, faTired, faToggleOff, faToggleOn, faToiletPaper, faToolbox, faTooth, faTorah, faToriiGate, faTractor, faTrademark, faTrafficLight, faTrain, faTransgender, faTransgenderAlt, faTrash, faTrashAlt, faTree, faTrophy, faTruck, faTruckLoading, faTruckMonster, faTruckMoving, faTruckPickup, faTshirt, faTty, faTv, faUmbrella, faUmbrellaBeach, faUnderline, faUndo, faUndoAlt, faUniversalAccess, faUniversity, faUnlink, faUnlock, faUnlockAlt, faUpload, faUser, faUserAlt, faUserAltSlash, faUserAstronaut, faUserCheck, faUserCircle, faUserClock, faUserCog, faUserEdit, faUserFriends, faUserGraduate, faUserInjured, faUserLock, faUserMd, faUserMinus, faUserNinja, faUserPlus, faUserSecret, faUserShield, faUserSlash, faUserTag, faUserTie, faUserTimes, faUsers, faUsersCog, faUtensilSpoon, faUtensils, faVectorSquare, faVenus, faVenusDouble, faVenusMars, faVial, faVials, faVideo, faVideoSlash, faVihara, faVolleyballBall, faVolumeDown, faVolumeMute, faVolumeOff, faVolumeUp, faVrCardboard, faWalking, faWallet, faWarehouse, faWeight, faWeightHanging, faWheelchair, faWifi, faWind, faWindowClose, faWindowMaximize, faWindowMinimize, faWindowRestore, faWineBottle, faWineGlass, faWineGlassAlt, faWonSign, faWrench, faXRay, faYenSign, faYinYang */
  2316. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2317. "use strict";
  2318. __webpack_require__.r(__webpack_exports__);
  2319. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "fas", function() { return _iconsCache; });
  2320. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "prefix", function() { return prefix; });
  2321. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAd", function() { return faAd; });
  2322. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAddressBook", function() { return faAddressBook; });
  2323. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAddressCard", function() { return faAddressCard; });
  2324. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAdjust", function() { return faAdjust; });
  2325. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAirFreshener", function() { return faAirFreshener; });
  2326. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAlignCenter", function() { return faAlignCenter; });
  2327. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAlignJustify", function() { return faAlignJustify; });
  2328. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAlignLeft", function() { return faAlignLeft; });
  2329. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAlignRight", function() { return faAlignRight; });
  2330. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAllergies", function() { return faAllergies; });
  2331. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAmbulance", function() { return faAmbulance; });
  2332. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAmericanSignLanguageInterpreting", function() { return faAmericanSignLanguageInterpreting; });
  2333. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAnchor", function() { return faAnchor; });
  2334. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleDoubleDown", function() { return faAngleDoubleDown; });
  2335. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleDoubleLeft", function() { return faAngleDoubleLeft; });
  2336. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleDoubleRight", function() { return faAngleDoubleRight; });
  2337. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleDoubleUp", function() { return faAngleDoubleUp; });
  2338. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleDown", function() { return faAngleDown; });
  2339. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleLeft", function() { return faAngleLeft; });
  2340. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleRight", function() { return faAngleRight; });
  2341. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngleUp", function() { return faAngleUp; });
  2342. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAngry", function() { return faAngry; });
  2343. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAnkh", function() { return faAnkh; });
  2344. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAppleAlt", function() { return faAppleAlt; });
  2345. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArchive", function() { return faArchive; });
  2346. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArchway", function() { return faArchway; });
  2347. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleDown", function() { return faArrowAltCircleDown; });
  2348. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleLeft", function() { return faArrowAltCircleLeft; });
  2349. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleRight", function() { return faArrowAltCircleRight; });
  2350. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowAltCircleUp", function() { return faArrowAltCircleUp; });
  2351. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowCircleDown", function() { return faArrowCircleDown; });
  2352. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowCircleLeft", function() { return faArrowCircleLeft; });
  2353. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowCircleRight", function() { return faArrowCircleRight; });
  2354. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowCircleUp", function() { return faArrowCircleUp; });
  2355. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowDown", function() { return faArrowDown; });
  2356. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowLeft", function() { return faArrowLeft; });
  2357. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowRight", function() { return faArrowRight; });
  2358. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowUp", function() { return faArrowUp; });
  2359. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowsAlt", function() { return faArrowsAlt; });
  2360. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowsAltH", function() { return faArrowsAltH; });
  2361. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faArrowsAltV", function() { return faArrowsAltV; });
  2362. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAssistiveListeningSystems", function() { return faAssistiveListeningSystems; });
  2363. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAsterisk", function() { return faAsterisk; });
  2364. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAt", function() { return faAt; });
  2365. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAtlas", function() { return faAtlas; });
  2366. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAtom", function() { return faAtom; });
  2367. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAudioDescription", function() { return faAudioDescription; });
  2368. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faAward", function() { return faAward; });
  2369. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBackspace", function() { return faBackspace; });
  2370. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBackward", function() { return faBackward; });
  2371. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBalanceScale", function() { return faBalanceScale; });
  2372. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBan", function() { return faBan; });
  2373. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBandAid", function() { return faBandAid; });
  2374. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBarcode", function() { return faBarcode; });
  2375. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBars", function() { return faBars; });
  2376. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBaseballBall", function() { return faBaseballBall; });
  2377. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBasketballBall", function() { return faBasketballBall; });
  2378. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBath", function() { return faBath; });
  2379. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBatteryEmpty", function() { return faBatteryEmpty; });
  2380. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBatteryFull", function() { return faBatteryFull; });
  2381. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBatteryHalf", function() { return faBatteryHalf; });
  2382. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBatteryQuarter", function() { return faBatteryQuarter; });
  2383. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBatteryThreeQuarters", function() { return faBatteryThreeQuarters; });
  2384. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBed", function() { return faBed; });
  2385. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBeer", function() { return faBeer; });
  2386. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBell", function() { return faBell; });
  2387. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBellSlash", function() { return faBellSlash; });
  2388. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBezierCurve", function() { return faBezierCurve; });
  2389. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBible", function() { return faBible; });
  2390. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBicycle", function() { return faBicycle; });
  2391. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBinoculars", function() { return faBinoculars; });
  2392. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBirthdayCake", function() { return faBirthdayCake; });
  2393. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBlender", function() { return faBlender; });
  2394. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBlenderPhone", function() { return faBlenderPhone; });
  2395. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBlind", function() { return faBlind; });
  2396. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBold", function() { return faBold; });
  2397. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBolt", function() { return faBolt; });
  2398. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBomb", function() { return faBomb; });
  2399. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBone", function() { return faBone; });
  2400. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBong", function() { return faBong; });
  2401. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBook", function() { return faBook; });
  2402. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBookDead", function() { return faBookDead; });
  2403. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBookOpen", function() { return faBookOpen; });
  2404. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBookReader", function() { return faBookReader; });
  2405. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBookmark", function() { return faBookmark; });
  2406. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBowlingBall", function() { return faBowlingBall; });
  2407. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBox", function() { return faBox; });
  2408. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBoxOpen", function() { return faBoxOpen; });
  2409. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBoxes", function() { return faBoxes; });
  2410. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBraille", function() { return faBraille; });
  2411. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBrain", function() { return faBrain; });
  2412. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBriefcase", function() { return faBriefcase; });
  2413. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBriefcaseMedical", function() { return faBriefcaseMedical; });
  2414. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBroadcastTower", function() { return faBroadcastTower; });
  2415. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBroom", function() { return faBroom; });
  2416. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBrush", function() { return faBrush; });
  2417. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBug", function() { return faBug; });
  2418. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBuilding", function() { return faBuilding; });
  2419. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBullhorn", function() { return faBullhorn; });
  2420. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBullseye", function() { return faBullseye; });
  2421. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBurn", function() { return faBurn; });
  2422. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBus", function() { return faBus; });
  2423. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBusAlt", function() { return faBusAlt; });
  2424. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faBusinessTime", function() { return faBusinessTime; });
  2425. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalculator", function() { return faCalculator; });
  2426. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendar", function() { return faCalendar; });
  2427. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarAlt", function() { return faCalendarAlt; });
  2428. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarCheck", function() { return faCalendarCheck; });
  2429. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarMinus", function() { return faCalendarMinus; });
  2430. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarPlus", function() { return faCalendarPlus; });
  2431. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCalendarTimes", function() { return faCalendarTimes; });
  2432. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCamera", function() { return faCamera; });
  2433. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCameraRetro", function() { return faCameraRetro; });
  2434. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCampground", function() { return faCampground; });
  2435. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCannabis", function() { return faCannabis; });
  2436. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCapsules", function() { return faCapsules; });
  2437. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCar", function() { return faCar; });
  2438. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCarAlt", function() { return faCarAlt; });
  2439. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCarBattery", function() { return faCarBattery; });
  2440. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCarCrash", function() { return faCarCrash; });
  2441. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCarSide", function() { return faCarSide; });
  2442. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretDown", function() { return faCaretDown; });
  2443. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretLeft", function() { return faCaretLeft; });
  2444. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretRight", function() { return faCaretRight; });
  2445. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareDown", function() { return faCaretSquareDown; });
  2446. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareLeft", function() { return faCaretSquareLeft; });
  2447. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareRight", function() { return faCaretSquareRight; });
  2448. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretSquareUp", function() { return faCaretSquareUp; });
  2449. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCaretUp", function() { return faCaretUp; });
  2450. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCartArrowDown", function() { return faCartArrowDown; });
  2451. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCartPlus", function() { return faCartPlus; });
  2452. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCat", function() { return faCat; });
  2453. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCertificate", function() { return faCertificate; });
  2454. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChair", function() { return faChair; });
  2455. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChalkboard", function() { return faChalkboard; });
  2456. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChalkboardTeacher", function() { return faChalkboardTeacher; });
  2457. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChargingStation", function() { return faChargingStation; });
  2458. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChartArea", function() { return faChartArea; });
  2459. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChartBar", function() { return faChartBar; });
  2460. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChartLine", function() { return faChartLine; });
  2461. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChartPie", function() { return faChartPie; });
  2462. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheck", function() { return faCheck; });
  2463. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheckCircle", function() { return faCheckCircle; });
  2464. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheckDouble", function() { return faCheckDouble; });
  2465. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCheckSquare", function() { return faCheckSquare; });
  2466. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChess", function() { return faChess; });
  2467. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessBishop", function() { return faChessBishop; });
  2468. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessBoard", function() { return faChessBoard; });
  2469. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessKing", function() { return faChessKing; });
  2470. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessKnight", function() { return faChessKnight; });
  2471. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessPawn", function() { return faChessPawn; });
  2472. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessQueen", function() { return faChessQueen; });
  2473. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChessRook", function() { return faChessRook; });
  2474. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronCircleDown", function() { return faChevronCircleDown; });
  2475. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronCircleLeft", function() { return faChevronCircleLeft; });
  2476. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronCircleRight", function() { return faChevronCircleRight; });
  2477. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronCircleUp", function() { return faChevronCircleUp; });
  2478. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronDown", function() { return faChevronDown; });
  2479. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronLeft", function() { return faChevronLeft; });
  2480. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronRight", function() { return faChevronRight; });
  2481. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChevronUp", function() { return faChevronUp; });
  2482. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChild", function() { return faChild; });
  2483. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faChurch", function() { return faChurch; });
  2484. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCircle", function() { return faCircle; });
  2485. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCircleNotch", function() { return faCircleNotch; });
  2486. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCity", function() { return faCity; });
  2487. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClipboard", function() { return faClipboard; });
  2488. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClipboardCheck", function() { return faClipboardCheck; });
  2489. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClipboardList", function() { return faClipboardList; });
  2490. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClock", function() { return faClock; });
  2491. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClone", function() { return faClone; });
  2492. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faClosedCaptioning", function() { return faClosedCaptioning; });
  2493. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCloud", function() { return faCloud; });
  2494. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCloudDownloadAlt", function() { return faCloudDownloadAlt; });
  2495. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCloudMoon", function() { return faCloudMoon; });
  2496. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCloudSun", function() { return faCloudSun; });
  2497. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCloudUploadAlt", function() { return faCloudUploadAlt; });
  2498. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCocktail", function() { return faCocktail; });
  2499. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCode", function() { return faCode; });
  2500. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCodeBranch", function() { return faCodeBranch; });
  2501. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCoffee", function() { return faCoffee; });
  2502. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCog", function() { return faCog; });
  2503. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCogs", function() { return faCogs; });
  2504. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCoins", function() { return faCoins; });
  2505. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faColumns", function() { return faColumns; });
  2506. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faComment", function() { return faComment; });
  2507. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentAlt", function() { return faCommentAlt; });
  2508. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentDollar", function() { return faCommentDollar; });
  2509. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentDots", function() { return faCommentDots; });
  2510. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentSlash", function() { return faCommentSlash; });
  2511. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faComments", function() { return faComments; });
  2512. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCommentsDollar", function() { return faCommentsDollar; });
  2513. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCompactDisc", function() { return faCompactDisc; });
  2514. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCompass", function() { return faCompass; });
  2515. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCompress", function() { return faCompress; });
  2516. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faConciergeBell", function() { return faConciergeBell; });
  2517. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCookie", function() { return faCookie; });
  2518. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCookieBite", function() { return faCookieBite; });
  2519. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCopy", function() { return faCopy; });
  2520. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCopyright", function() { return faCopyright; });
  2521. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCouch", function() { return faCouch; });
  2522. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCreditCard", function() { return faCreditCard; });
  2523. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCrop", function() { return faCrop; });
  2524. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCropAlt", function() { return faCropAlt; });
  2525. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCross", function() { return faCross; });
  2526. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCrosshairs", function() { return faCrosshairs; });
  2527. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCrow", function() { return faCrow; });
  2528. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCrown", function() { return faCrown; });
  2529. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCube", function() { return faCube; });
  2530. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCubes", function() { return faCubes; });
  2531. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faCut", function() { return faCut; });
  2532. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDatabase", function() { return faDatabase; });
  2533. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDeaf", function() { return faDeaf; });
  2534. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDesktop", function() { return faDesktop; });
  2535. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDharmachakra", function() { return faDharmachakra; });
  2536. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiagnoses", function() { return faDiagnoses; });
  2537. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDice", function() { return faDice; });
  2538. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceD20", function() { return faDiceD20; });
  2539. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceD6", function() { return faDiceD6; });
  2540. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceFive", function() { return faDiceFive; });
  2541. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceFour", function() { return faDiceFour; });
  2542. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceOne", function() { return faDiceOne; });
  2543. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceSix", function() { return faDiceSix; });
  2544. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceThree", function() { return faDiceThree; });
  2545. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDiceTwo", function() { return faDiceTwo; });
  2546. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDigitalTachograph", function() { return faDigitalTachograph; });
  2547. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDirections", function() { return faDirections; });
  2548. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDivide", function() { return faDivide; });
  2549. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDizzy", function() { return faDizzy; });
  2550. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDna", function() { return faDna; });
  2551. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDog", function() { return faDog; });
  2552. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDollarSign", function() { return faDollarSign; });
  2553. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDolly", function() { return faDolly; });
  2554. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDollyFlatbed", function() { return faDollyFlatbed; });
  2555. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDonate", function() { return faDonate; });
  2556. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDoorClosed", function() { return faDoorClosed; });
  2557. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDoorOpen", function() { return faDoorOpen; });
  2558. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDotCircle", function() { return faDotCircle; });
  2559. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDove", function() { return faDove; });
  2560. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDownload", function() { return faDownload; });
  2561. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDraftingCompass", function() { return faDraftingCompass; });
  2562. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDragon", function() { return faDragon; });
  2563. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDrawPolygon", function() { return faDrawPolygon; });
  2564. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDrum", function() { return faDrum; });
  2565. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDrumSteelpan", function() { return faDrumSteelpan; });
  2566. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDrumstickBite", function() { return faDrumstickBite; });
  2567. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDumbbell", function() { return faDumbbell; });
  2568. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faDungeon", function() { return faDungeon; });
  2569. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEdit", function() { return faEdit; });
  2570. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEject", function() { return faEject; });
  2571. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEllipsisH", function() { return faEllipsisH; });
  2572. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEllipsisV", function() { return faEllipsisV; });
  2573. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelope", function() { return faEnvelope; });
  2574. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelopeOpen", function() { return faEnvelopeOpen; });
  2575. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelopeOpenText", function() { return faEnvelopeOpenText; });
  2576. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEnvelopeSquare", function() { return faEnvelopeSquare; });
  2577. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEquals", function() { return faEquals; });
  2578. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEraser", function() { return faEraser; });
  2579. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEuroSign", function() { return faEuroSign; });
  2580. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExchangeAlt", function() { return faExchangeAlt; });
  2581. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExclamation", function() { return faExclamation; });
  2582. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExclamationCircle", function() { return faExclamationCircle; });
  2583. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExclamationTriangle", function() { return faExclamationTriangle; });
  2584. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExpand", function() { return faExpand; });
  2585. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExpandArrowsAlt", function() { return faExpandArrowsAlt; });
  2586. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExternalLinkAlt", function() { return faExternalLinkAlt; });
  2587. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faExternalLinkSquareAlt", function() { return faExternalLinkSquareAlt; });
  2588. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEye", function() { return faEye; });
  2589. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEyeDropper", function() { return faEyeDropper; });
  2590. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faEyeSlash", function() { return faEyeSlash; });
  2591. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFastBackward", function() { return faFastBackward; });
  2592. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFastForward", function() { return faFastForward; });
  2593. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFax", function() { return faFax; });
  2594. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFeather", function() { return faFeather; });
  2595. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFeatherAlt", function() { return faFeatherAlt; });
  2596. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFemale", function() { return faFemale; });
  2597. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFighterJet", function() { return faFighterJet; });
  2598. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFile", function() { return faFile; });
  2599. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileAlt", function() { return faFileAlt; });
  2600. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileArchive", function() { return faFileArchive; });
  2601. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileAudio", function() { return faFileAudio; });
  2602. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileCode", function() { return faFileCode; });
  2603. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileContract", function() { return faFileContract; });
  2604. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileCsv", function() { return faFileCsv; });
  2605. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileDownload", function() { return faFileDownload; });
  2606. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileExcel", function() { return faFileExcel; });
  2607. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileExport", function() { return faFileExport; });
  2608. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileImage", function() { return faFileImage; });
  2609. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileImport", function() { return faFileImport; });
  2610. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileInvoice", function() { return faFileInvoice; });
  2611. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileInvoiceDollar", function() { return faFileInvoiceDollar; });
  2612. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileMedical", function() { return faFileMedical; });
  2613. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileMedicalAlt", function() { return faFileMedicalAlt; });
  2614. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilePdf", function() { return faFilePdf; });
  2615. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilePowerpoint", function() { return faFilePowerpoint; });
  2616. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilePrescription", function() { return faFilePrescription; });
  2617. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileSignature", function() { return faFileSignature; });
  2618. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileUpload", function() { return faFileUpload; });
  2619. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileVideo", function() { return faFileVideo; });
  2620. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFileWord", function() { return faFileWord; });
  2621. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFill", function() { return faFill; });
  2622. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFillDrip", function() { return faFillDrip; });
  2623. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilm", function() { return faFilm; });
  2624. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFilter", function() { return faFilter; });
  2625. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFingerprint", function() { return faFingerprint; });
  2626. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFire", function() { return faFire; });
  2627. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFireExtinguisher", function() { return faFireExtinguisher; });
  2628. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFirstAid", function() { return faFirstAid; });
  2629. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFish", function() { return faFish; });
  2630. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFistRaised", function() { return faFistRaised; });
  2631. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlag", function() { return faFlag; });
  2632. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlagCheckered", function() { return faFlagCheckered; });
  2633. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlask", function() { return faFlask; });
  2634. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFlushed", function() { return faFlushed; });
  2635. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolder", function() { return faFolder; });
  2636. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolderMinus", function() { return faFolderMinus; });
  2637. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolderOpen", function() { return faFolderOpen; });
  2638. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFolderPlus", function() { return faFolderPlus; });
  2639. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFont", function() { return faFont; });
  2640. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFontAwesomeLogoFull", function() { return faFontAwesomeLogoFull; });
  2641. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFootballBall", function() { return faFootballBall; });
  2642. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faForward", function() { return faForward; });
  2643. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFrog", function() { return faFrog; });
  2644. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFrown", function() { return faFrown; });
  2645. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFrownOpen", function() { return faFrownOpen; });
  2646. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFunnelDollar", function() { return faFunnelDollar; });
  2647. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faFutbol", function() { return faFutbol; });
  2648. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGamepad", function() { return faGamepad; });
  2649. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGasPump", function() { return faGasPump; });
  2650. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGavel", function() { return faGavel; });
  2651. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGem", function() { return faGem; });
  2652. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGenderless", function() { return faGenderless; });
  2653. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGhost", function() { return faGhost; });
  2654. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGift", function() { return faGift; });
  2655. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlassMartini", function() { return faGlassMartini; });
  2656. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlassMartiniAlt", function() { return faGlassMartiniAlt; });
  2657. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlasses", function() { return faGlasses; });
  2658. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlobe", function() { return faGlobe; });
  2659. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlobeAfrica", function() { return faGlobeAfrica; });
  2660. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlobeAmericas", function() { return faGlobeAmericas; });
  2661. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGlobeAsia", function() { return faGlobeAsia; });
  2662. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGolfBall", function() { return faGolfBall; });
  2663. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGopuram", function() { return faGopuram; });
  2664. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGraduationCap", function() { return faGraduationCap; });
  2665. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGreaterThan", function() { return faGreaterThan; });
  2666. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGreaterThanEqual", function() { return faGreaterThanEqual; });
  2667. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrimace", function() { return faGrimace; });
  2668. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrin", function() { return faGrin; });
  2669. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinAlt", function() { return faGrinAlt; });
  2670. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinBeam", function() { return faGrinBeam; });
  2671. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinBeamSweat", function() { return faGrinBeamSweat; });
  2672. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinHearts", function() { return faGrinHearts; });
  2673. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinSquint", function() { return faGrinSquint; });
  2674. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinSquintTears", function() { return faGrinSquintTears; });
  2675. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinStars", function() { return faGrinStars; });
  2676. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTears", function() { return faGrinTears; });
  2677. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongue", function() { return faGrinTongue; });
  2678. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongueSquint", function() { return faGrinTongueSquint; });
  2679. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinTongueWink", function() { return faGrinTongueWink; });
  2680. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGrinWink", function() { return faGrinWink; });
  2681. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGripHorizontal", function() { return faGripHorizontal; });
  2682. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faGripVertical", function() { return faGripVertical; });
  2683. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHSquare", function() { return faHSquare; });
  2684. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHammer", function() { return faHammer; });
  2685. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHamsa", function() { return faHamsa; });
  2686. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandHolding", function() { return faHandHolding; });
  2687. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandHoldingHeart", function() { return faHandHoldingHeart; });
  2688. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandHoldingUsd", function() { return faHandHoldingUsd; });
  2689. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandLizard", function() { return faHandLizard; });
  2690. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPaper", function() { return faHandPaper; });
  2691. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPeace", function() { return faHandPeace; });
  2692. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointDown", function() { return faHandPointDown; });
  2693. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointLeft", function() { return faHandPointLeft; });
  2694. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointRight", function() { return faHandPointRight; });
  2695. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointUp", function() { return faHandPointUp; });
  2696. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandPointer", function() { return faHandPointer; });
  2697. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandRock", function() { return faHandRock; });
  2698. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandScissors", function() { return faHandScissors; });
  2699. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandSpock", function() { return faHandSpock; });
  2700. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHands", function() { return faHands; });
  2701. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandsHelping", function() { return faHandsHelping; });
  2702. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHandshake", function() { return faHandshake; });
  2703. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHanukiah", function() { return faHanukiah; });
  2704. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHashtag", function() { return faHashtag; });
  2705. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHatWizard", function() { return faHatWizard; });
  2706. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHaykal", function() { return faHaykal; });
  2707. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHdd", function() { return faHdd; });
  2708. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeading", function() { return faHeading; });
  2709. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeadphones", function() { return faHeadphones; });
  2710. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeadphonesAlt", function() { return faHeadphonesAlt; });
  2711. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeadset", function() { return faHeadset; });
  2712. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeart", function() { return faHeart; });
  2713. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHeartbeat", function() { return faHeartbeat; });
  2714. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHelicopter", function() { return faHelicopter; });
  2715. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHighlighter", function() { return faHighlighter; });
  2716. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHiking", function() { return faHiking; });
  2717. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHippo", function() { return faHippo; });
  2718. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHistory", function() { return faHistory; });
  2719. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHockeyPuck", function() { return faHockeyPuck; });
  2720. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHome", function() { return faHome; });
  2721. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHorse", function() { return faHorse; });
  2722. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHospital", function() { return faHospital; });
  2723. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHospitalAlt", function() { return faHospitalAlt; });
  2724. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHospitalSymbol", function() { return faHospitalSymbol; });
  2725. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHotTub", function() { return faHotTub; });
  2726. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHotel", function() { return faHotel; });
  2727. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHourglass", function() { return faHourglass; });
  2728. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHourglassEnd", function() { return faHourglassEnd; });
  2729. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHourglassHalf", function() { return faHourglassHalf; });
  2730. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHourglassStart", function() { return faHourglassStart; });
  2731. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHouseDamage", function() { return faHouseDamage; });
  2732. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faHryvnia", function() { return faHryvnia; });
  2733. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faICursor", function() { return faICursor; });
  2734. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIdBadge", function() { return faIdBadge; });
  2735. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIdCard", function() { return faIdCard; });
  2736. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIdCardAlt", function() { return faIdCardAlt; });
  2737. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faImage", function() { return faImage; });
  2738. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faImages", function() { return faImages; });
  2739. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faInbox", function() { return faInbox; });
  2740. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIndent", function() { return faIndent; });
  2741. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faIndustry", function() { return faIndustry; });
  2742. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faInfinity", function() { return faInfinity; });
  2743. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faInfo", function() { return faInfo; });
  2744. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faInfoCircle", function() { return faInfoCircle; });
  2745. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faItalic", function() { return faItalic; });
  2746. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faJedi", function() { return faJedi; });
  2747. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faJoint", function() { return faJoint; });
  2748. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faJournalWhills", function() { return faJournalWhills; });
  2749. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKaaba", function() { return faKaaba; });
  2750. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKey", function() { return faKey; });
  2751. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKeyboard", function() { return faKeyboard; });
  2752. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKhanda", function() { return faKhanda; });
  2753. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKiss", function() { return faKiss; });
  2754. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKissBeam", function() { return faKissBeam; });
  2755. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKissWinkHeart", function() { return faKissWinkHeart; });
  2756. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faKiwiBird", function() { return faKiwiBird; });
  2757. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLandmark", function() { return faLandmark; });
  2758. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLanguage", function() { return faLanguage; });
  2759. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaptop", function() { return faLaptop; });
  2760. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaptopCode", function() { return faLaptopCode; });
  2761. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaugh", function() { return faLaugh; });
  2762. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughBeam", function() { return faLaughBeam; });
  2763. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughSquint", function() { return faLaughSquint; });
  2764. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLaughWink", function() { return faLaughWink; });
  2765. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLayerGroup", function() { return faLayerGroup; });
  2766. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLeaf", function() { return faLeaf; });
  2767. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLemon", function() { return faLemon; });
  2768. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLessThan", function() { return faLessThan; });
  2769. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLessThanEqual", function() { return faLessThanEqual; });
  2770. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLevelDownAlt", function() { return faLevelDownAlt; });
  2771. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLevelUpAlt", function() { return faLevelUpAlt; });
  2772. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLifeRing", function() { return faLifeRing; });
  2773. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLightbulb", function() { return faLightbulb; });
  2774. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLink", function() { return faLink; });
  2775. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLiraSign", function() { return faLiraSign; });
  2776. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faList", function() { return faList; });
  2777. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faListAlt", function() { return faListAlt; });
  2778. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faListOl", function() { return faListOl; });
  2779. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faListUl", function() { return faListUl; });
  2780. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLocationArrow", function() { return faLocationArrow; });
  2781. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLock", function() { return faLock; });
  2782. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLockOpen", function() { return faLockOpen; });
  2783. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLongArrowAltDown", function() { return faLongArrowAltDown; });
  2784. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLongArrowAltLeft", function() { return faLongArrowAltLeft; });
  2785. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLongArrowAltRight", function() { return faLongArrowAltRight; });
  2786. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLongArrowAltUp", function() { return faLongArrowAltUp; });
  2787. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLowVision", function() { return faLowVision; });
  2788. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faLuggageCart", function() { return faLuggageCart; });
  2789. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMagic", function() { return faMagic; });
  2790. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMagnet", function() { return faMagnet; });
  2791. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMailBulk", function() { return faMailBulk; });
  2792. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMale", function() { return faMale; });
  2793. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMap", function() { return faMap; });
  2794. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapMarked", function() { return faMapMarked; });
  2795. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapMarkedAlt", function() { return faMapMarkedAlt; });
  2796. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapMarker", function() { return faMapMarker; });
  2797. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapMarkerAlt", function() { return faMapMarkerAlt; });
  2798. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapPin", function() { return faMapPin; });
  2799. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMapSigns", function() { return faMapSigns; });
  2800. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMarker", function() { return faMarker; });
  2801. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMars", function() { return faMars; });
  2802. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMarsDouble", function() { return faMarsDouble; });
  2803. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMarsStroke", function() { return faMarsStroke; });
  2804. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMarsStrokeH", function() { return faMarsStrokeH; });
  2805. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMarsStrokeV", function() { return faMarsStrokeV; });
  2806. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMask", function() { return faMask; });
  2807. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMedal", function() { return faMedal; });
  2808. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMedkit", function() { return faMedkit; });
  2809. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMeh", function() { return faMeh; });
  2810. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMehBlank", function() { return faMehBlank; });
  2811. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMehRollingEyes", function() { return faMehRollingEyes; });
  2812. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMemory", function() { return faMemory; });
  2813. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMenorah", function() { return faMenorah; });
  2814. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMercury", function() { return faMercury; });
  2815. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicrochip", function() { return faMicrochip; });
  2816. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicrophone", function() { return faMicrophone; });
  2817. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicrophoneAlt", function() { return faMicrophoneAlt; });
  2818. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicrophoneAltSlash", function() { return faMicrophoneAltSlash; });
  2819. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicrophoneSlash", function() { return faMicrophoneSlash; });
  2820. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMicroscope", function() { return faMicroscope; });
  2821. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMinus", function() { return faMinus; });
  2822. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMinusCircle", function() { return faMinusCircle; });
  2823. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMinusSquare", function() { return faMinusSquare; });
  2824. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMobile", function() { return faMobile; });
  2825. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMobileAlt", function() { return faMobileAlt; });
  2826. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyBill", function() { return faMoneyBill; });
  2827. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyBillAlt", function() { return faMoneyBillAlt; });
  2828. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyBillWave", function() { return faMoneyBillWave; });
  2829. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyBillWaveAlt", function() { return faMoneyBillWaveAlt; });
  2830. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyCheck", function() { return faMoneyCheck; });
  2831. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoneyCheckAlt", function() { return faMoneyCheckAlt; });
  2832. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMonument", function() { return faMonument; });
  2833. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMoon", function() { return faMoon; });
  2834. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMortarPestle", function() { return faMortarPestle; });
  2835. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMosque", function() { return faMosque; });
  2836. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMotorcycle", function() { return faMotorcycle; });
  2837. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMountain", function() { return faMountain; });
  2838. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMousePointer", function() { return faMousePointer; });
  2839. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faMusic", function() { return faMusic; });
  2840. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNetworkWired", function() { return faNetworkWired; });
  2841. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNeuter", function() { return faNeuter; });
  2842. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNewspaper", function() { return faNewspaper; });
  2843. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNotEqual", function() { return faNotEqual; });
  2844. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faNotesMedical", function() { return faNotesMedical; });
  2845. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faObjectGroup", function() { return faObjectGroup; });
  2846. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faObjectUngroup", function() { return faObjectUngroup; });
  2847. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faOilCan", function() { return faOilCan; });
  2848. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faOm", function() { return faOm; });
  2849. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faOtter", function() { return faOtter; });
  2850. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faOutdent", function() { return faOutdent; });
  2851. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaintBrush", function() { return faPaintBrush; });
  2852. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaintRoller", function() { return faPaintRoller; });
  2853. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPalette", function() { return faPalette; });
  2854. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPallet", function() { return faPallet; });
  2855. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaperPlane", function() { return faPaperPlane; });
  2856. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaperclip", function() { return faPaperclip; });
  2857. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faParachuteBox", function() { return faParachuteBox; });
  2858. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faParagraph", function() { return faParagraph; });
  2859. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faParking", function() { return faParking; });
  2860. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPassport", function() { return faPassport; });
  2861. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPastafarianism", function() { return faPastafarianism; });
  2862. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaste", function() { return faPaste; });
  2863. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPause", function() { return faPause; });
  2864. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPauseCircle", function() { return faPauseCircle; });
  2865. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPaw", function() { return faPaw; });
  2866. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPeace", function() { return faPeace; });
  2867. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPen", function() { return faPen; });
  2868. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPenAlt", function() { return faPenAlt; });
  2869. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPenFancy", function() { return faPenFancy; });
  2870. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPenNib", function() { return faPenNib; });
  2871. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPenSquare", function() { return faPenSquare; });
  2872. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPencilAlt", function() { return faPencilAlt; });
  2873. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPencilRuler", function() { return faPencilRuler; });
  2874. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPeopleCarry", function() { return faPeopleCarry; });
  2875. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPercent", function() { return faPercent; });
  2876. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPercentage", function() { return faPercentage; });
  2877. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPhone", function() { return faPhone; });
  2878. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPhoneSlash", function() { return faPhoneSlash; });
  2879. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPhoneSquare", function() { return faPhoneSquare; });
  2880. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPhoneVolume", function() { return faPhoneVolume; });
  2881. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPiggyBank", function() { return faPiggyBank; });
  2882. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPills", function() { return faPills; });
  2883. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlaceOfWorship", function() { return faPlaceOfWorship; });
  2884. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlane", function() { return faPlane; });
  2885. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlaneArrival", function() { return faPlaneArrival; });
  2886. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlaneDeparture", function() { return faPlaneDeparture; });
  2887. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlay", function() { return faPlay; });
  2888. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlayCircle", function() { return faPlayCircle; });
  2889. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlug", function() { return faPlug; });
  2890. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlus", function() { return faPlus; });
  2891. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlusCircle", function() { return faPlusCircle; });
  2892. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPlusSquare", function() { return faPlusSquare; });
  2893. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPodcast", function() { return faPodcast; });
  2894. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPoll", function() { return faPoll; });
  2895. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPollH", function() { return faPollH; });
  2896. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPoo", function() { return faPoo; });
  2897. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPoop", function() { return faPoop; });
  2898. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPortrait", function() { return faPortrait; });
  2899. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPoundSign", function() { return faPoundSign; });
  2900. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPowerOff", function() { return faPowerOff; });
  2901. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPray", function() { return faPray; });
  2902. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPrayingHands", function() { return faPrayingHands; });
  2903. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPrescription", function() { return faPrescription; });
  2904. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPrescriptionBottle", function() { return faPrescriptionBottle; });
  2905. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPrescriptionBottleAlt", function() { return faPrescriptionBottleAlt; });
  2906. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPrint", function() { return faPrint; });
  2907. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faProcedures", function() { return faProcedures; });
  2908. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faProjectDiagram", function() { return faProjectDiagram; });
  2909. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faPuzzlePiece", function() { return faPuzzlePiece; });
  2910. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQrcode", function() { return faQrcode; });
  2911. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuestion", function() { return faQuestion; });
  2912. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuestionCircle", function() { return faQuestionCircle; });
  2913. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuidditch", function() { return faQuidditch; });
  2914. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuoteLeft", function() { return faQuoteLeft; });
  2915. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuoteRight", function() { return faQuoteRight; });
  2916. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faQuran", function() { return faQuran; });
  2917. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRandom", function() { return faRandom; });
  2918. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faReceipt", function() { return faReceipt; });
  2919. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRecycle", function() { return faRecycle; });
  2920. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRedo", function() { return faRedo; });
  2921. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRedoAlt", function() { return faRedoAlt; });
  2922. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRegistered", function() { return faRegistered; });
  2923. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faReply", function() { return faReply; });
  2924. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faReplyAll", function() { return faReplyAll; });
  2925. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRetweet", function() { return faRetweet; });
  2926. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRibbon", function() { return faRibbon; });
  2927. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRing", function() { return faRing; });
  2928. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRoad", function() { return faRoad; });
  2929. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRobot", function() { return faRobot; });
  2930. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRocket", function() { return faRocket; });
  2931. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRoute", function() { return faRoute; });
  2932. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRss", function() { return faRss; });
  2933. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRssSquare", function() { return faRssSquare; });
  2934. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRubleSign", function() { return faRubleSign; });
  2935. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRuler", function() { return faRuler; });
  2936. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRulerCombined", function() { return faRulerCombined; });
  2937. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRulerHorizontal", function() { return faRulerHorizontal; });
  2938. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRulerVertical", function() { return faRulerVertical; });
  2939. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRunning", function() { return faRunning; });
  2940. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faRupeeSign", function() { return faRupeeSign; });
  2941. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSadCry", function() { return faSadCry; });
  2942. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSadTear", function() { return faSadTear; });
  2943. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSave", function() { return faSave; });
  2944. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSchool", function() { return faSchool; });
  2945. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faScrewdriver", function() { return faScrewdriver; });
  2946. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faScroll", function() { return faScroll; });
  2947. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSearch", function() { return faSearch; });
  2948. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSearchDollar", function() { return faSearchDollar; });
  2949. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSearchLocation", function() { return faSearchLocation; });
  2950. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSearchMinus", function() { return faSearchMinus; });
  2951. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSearchPlus", function() { return faSearchPlus; });
  2952. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSeedling", function() { return faSeedling; });
  2953. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faServer", function() { return faServer; });
  2954. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShapes", function() { return faShapes; });
  2955. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShare", function() { return faShare; });
  2956. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShareAlt", function() { return faShareAlt; });
  2957. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShareAltSquare", function() { return faShareAltSquare; });
  2958. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShareSquare", function() { return faShareSquare; });
  2959. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShekelSign", function() { return faShekelSign; });
  2960. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShieldAlt", function() { return faShieldAlt; });
  2961. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShip", function() { return faShip; });
  2962. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShippingFast", function() { return faShippingFast; });
  2963. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShoePrints", function() { return faShoePrints; });
  2964. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShoppingBag", function() { return faShoppingBag; });
  2965. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShoppingBasket", function() { return faShoppingBasket; });
  2966. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShoppingCart", function() { return faShoppingCart; });
  2967. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShower", function() { return faShower; });
  2968. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faShuttleVan", function() { return faShuttleVan; });
  2969. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSign", function() { return faSign; });
  2970. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSignInAlt", function() { return faSignInAlt; });
  2971. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSignLanguage", function() { return faSignLanguage; });
  2972. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSignOutAlt", function() { return faSignOutAlt; });
  2973. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSignal", function() { return faSignal; });
  2974. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSignature", function() { return faSignature; });
  2975. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSitemap", function() { return faSitemap; });
  2976. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSkull", function() { return faSkull; });
  2977. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSkullCrossbones", function() { return faSkullCrossbones; });
  2978. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSlash", function() { return faSlash; });
  2979. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSlidersH", function() { return faSlidersH; });
  2980. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmile", function() { return faSmile; });
  2981. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmileBeam", function() { return faSmileBeam; });
  2982. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmileWink", function() { return faSmileWink; });
  2983. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmoking", function() { return faSmoking; });
  2984. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSmokingBan", function() { return faSmokingBan; });
  2985. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSnowflake", function() { return faSnowflake; });
  2986. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSocks", function() { return faSocks; });
  2987. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSolarPanel", function() { return faSolarPanel; });
  2988. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSort", function() { return faSort; });
  2989. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortAlphaDown", function() { return faSortAlphaDown; });
  2990. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortAlphaUp", function() { return faSortAlphaUp; });
  2991. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortAmountDown", function() { return faSortAmountDown; });
  2992. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortAmountUp", function() { return faSortAmountUp; });
  2993. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortDown", function() { return faSortDown; });
  2994. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortNumericDown", function() { return faSortNumericDown; });
  2995. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortNumericUp", function() { return faSortNumericUp; });
  2996. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSortUp", function() { return faSortUp; });
  2997. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSpa", function() { return faSpa; });
  2998. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSpaceShuttle", function() { return faSpaceShuttle; });
  2999. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSpider", function() { return faSpider; });
  3000. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSpinner", function() { return faSpinner; });
  3001. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSplotch", function() { return faSplotch; });
  3002. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSprayCan", function() { return faSprayCan; });
  3003. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSquare", function() { return faSquare; });
  3004. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSquareFull", function() { return faSquareFull; });
  3005. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSquareRootAlt", function() { return faSquareRootAlt; });
  3006. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStamp", function() { return faStamp; });
  3007. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStar", function() { return faStar; });
  3008. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarAndCrescent", function() { return faStarAndCrescent; });
  3009. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarHalf", function() { return faStarHalf; });
  3010. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarHalfAlt", function() { return faStarHalfAlt; });
  3011. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarOfDavid", function() { return faStarOfDavid; });
  3012. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStarOfLife", function() { return faStarOfLife; });
  3013. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStepBackward", function() { return faStepBackward; });
  3014. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStepForward", function() { return faStepForward; });
  3015. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStethoscope", function() { return faStethoscope; });
  3016. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStickyNote", function() { return faStickyNote; });
  3017. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStop", function() { return faStop; });
  3018. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStopCircle", function() { return faStopCircle; });
  3019. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStopwatch", function() { return faStopwatch; });
  3020. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStore", function() { return faStore; });
  3021. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStoreAlt", function() { return faStoreAlt; });
  3022. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStream", function() { return faStream; });
  3023. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStreetView", function() { return faStreetView; });
  3024. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStrikethrough", function() { return faStrikethrough; });
  3025. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faStroopwafel", function() { return faStroopwafel; });
  3026. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSubscript", function() { return faSubscript; });
  3027. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSubway", function() { return faSubway; });
  3028. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSuitcase", function() { return faSuitcase; });
  3029. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSuitcaseRolling", function() { return faSuitcaseRolling; });
  3030. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSun", function() { return faSun; });
  3031. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSuperscript", function() { return faSuperscript; });
  3032. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSurprise", function() { return faSurprise; });
  3033. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSwatchbook", function() { return faSwatchbook; });
  3034. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSwimmer", function() { return faSwimmer; });
  3035. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSwimmingPool", function() { return faSwimmingPool; });
  3036. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSynagogue", function() { return faSynagogue; });
  3037. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSync", function() { return faSync; });
  3038. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSyncAlt", function() { return faSyncAlt; });
  3039. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faSyringe", function() { return faSyringe; });
  3040. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTable", function() { return faTable; });
  3041. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTableTennis", function() { return faTableTennis; });
  3042. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTablet", function() { return faTablet; });
  3043. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTabletAlt", function() { return faTabletAlt; });
  3044. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTablets", function() { return faTablets; });
  3045. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTachometerAlt", function() { return faTachometerAlt; });
  3046. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTag", function() { return faTag; });
  3047. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTags", function() { return faTags; });
  3048. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTape", function() { return faTape; });
  3049. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTasks", function() { return faTasks; });
  3050. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTaxi", function() { return faTaxi; });
  3051. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTeeth", function() { return faTeeth; });
  3052. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTeethOpen", function() { return faTeethOpen; });
  3053. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTerminal", function() { return faTerminal; });
  3054. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTextHeight", function() { return faTextHeight; });
  3055. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTextWidth", function() { return faTextWidth; });
  3056. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTh", function() { return faTh; });
  3057. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThLarge", function() { return faThLarge; });
  3058. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThList", function() { return faThList; });
  3059. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTheaterMasks", function() { return faTheaterMasks; });
  3060. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometer", function() { return faThermometer; });
  3061. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometerEmpty", function() { return faThermometerEmpty; });
  3062. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometerFull", function() { return faThermometerFull; });
  3063. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometerHalf", function() { return faThermometerHalf; });
  3064. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometerQuarter", function() { return faThermometerQuarter; });
  3065. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThermometerThreeQuarters", function() { return faThermometerThreeQuarters; });
  3066. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThumbsDown", function() { return faThumbsDown; });
  3067. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThumbsUp", function() { return faThumbsUp; });
  3068. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faThumbtack", function() { return faThumbtack; });
  3069. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTicketAlt", function() { return faTicketAlt; });
  3070. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTimes", function() { return faTimes; });
  3071. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTimesCircle", function() { return faTimesCircle; });
  3072. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTint", function() { return faTint; });
  3073. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTintSlash", function() { return faTintSlash; });
  3074. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTired", function() { return faTired; });
  3075. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faToggleOff", function() { return faToggleOff; });
  3076. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faToggleOn", function() { return faToggleOn; });
  3077. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faToiletPaper", function() { return faToiletPaper; });
  3078. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faToolbox", function() { return faToolbox; });
  3079. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTooth", function() { return faTooth; });
  3080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTorah", function() { return faTorah; });
  3081. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faToriiGate", function() { return faToriiGate; });
  3082. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTractor", function() { return faTractor; });
  3083. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrademark", function() { return faTrademark; });
  3084. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrafficLight", function() { return faTrafficLight; });
  3085. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrain", function() { return faTrain; });
  3086. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTransgender", function() { return faTransgender; });
  3087. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTransgenderAlt", function() { return faTransgenderAlt; });
  3088. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrash", function() { return faTrash; });
  3089. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrashAlt", function() { return faTrashAlt; });
  3090. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTree", function() { return faTree; });
  3091. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTrophy", function() { return faTrophy; });
  3092. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTruck", function() { return faTruck; });
  3093. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTruckLoading", function() { return faTruckLoading; });
  3094. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTruckMonster", function() { return faTruckMonster; });
  3095. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTruckMoving", function() { return faTruckMoving; });
  3096. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTruckPickup", function() { return faTruckPickup; });
  3097. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTshirt", function() { return faTshirt; });
  3098. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTty", function() { return faTty; });
  3099. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faTv", function() { return faTv; });
  3100. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUmbrella", function() { return faUmbrella; });
  3101. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUmbrellaBeach", function() { return faUmbrellaBeach; });
  3102. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUnderline", function() { return faUnderline; });
  3103. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUndo", function() { return faUndo; });
  3104. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUndoAlt", function() { return faUndoAlt; });
  3105. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUniversalAccess", function() { return faUniversalAccess; });
  3106. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUniversity", function() { return faUniversity; });
  3107. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUnlink", function() { return faUnlink; });
  3108. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUnlock", function() { return faUnlock; });
  3109. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUnlockAlt", function() { return faUnlockAlt; });
  3110. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUpload", function() { return faUpload; });
  3111. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUser", function() { return faUser; });
  3112. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserAlt", function() { return faUserAlt; });
  3113. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserAltSlash", function() { return faUserAltSlash; });
  3114. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserAstronaut", function() { return faUserAstronaut; });
  3115. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserCheck", function() { return faUserCheck; });
  3116. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserCircle", function() { return faUserCircle; });
  3117. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserClock", function() { return faUserClock; });
  3118. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserCog", function() { return faUserCog; });
  3119. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserEdit", function() { return faUserEdit; });
  3120. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserFriends", function() { return faUserFriends; });
  3121. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserGraduate", function() { return faUserGraduate; });
  3122. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserInjured", function() { return faUserInjured; });
  3123. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserLock", function() { return faUserLock; });
  3124. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserMd", function() { return faUserMd; });
  3125. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserMinus", function() { return faUserMinus; });
  3126. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserNinja", function() { return faUserNinja; });
  3127. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserPlus", function() { return faUserPlus; });
  3128. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserSecret", function() { return faUserSecret; });
  3129. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserShield", function() { return faUserShield; });
  3130. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserSlash", function() { return faUserSlash; });
  3131. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserTag", function() { return faUserTag; });
  3132. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserTie", function() { return faUserTie; });
  3133. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUserTimes", function() { return faUserTimes; });
  3134. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUsers", function() { return faUsers; });
  3135. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUsersCog", function() { return faUsersCog; });
  3136. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUtensilSpoon", function() { return faUtensilSpoon; });
  3137. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faUtensils", function() { return faUtensils; });
  3138. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVectorSquare", function() { return faVectorSquare; });
  3139. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVenus", function() { return faVenus; });
  3140. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVenusDouble", function() { return faVenusDouble; });
  3141. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVenusMars", function() { return faVenusMars; });
  3142. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVial", function() { return faVial; });
  3143. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVials", function() { return faVials; });
  3144. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVideo", function() { return faVideo; });
  3145. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVideoSlash", function() { return faVideoSlash; });
  3146. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVihara", function() { return faVihara; });
  3147. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVolleyballBall", function() { return faVolleyballBall; });
  3148. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVolumeDown", function() { return faVolumeDown; });
  3149. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVolumeMute", function() { return faVolumeMute; });
  3150. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVolumeOff", function() { return faVolumeOff; });
  3151. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVolumeUp", function() { return faVolumeUp; });
  3152. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faVrCardboard", function() { return faVrCardboard; });
  3153. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWalking", function() { return faWalking; });
  3154. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWallet", function() { return faWallet; });
  3155. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWarehouse", function() { return faWarehouse; });
  3156. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWeight", function() { return faWeight; });
  3157. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWeightHanging", function() { return faWeightHanging; });
  3158. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWheelchair", function() { return faWheelchair; });
  3159. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWifi", function() { return faWifi; });
  3160. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWind", function() { return faWind; });
  3161. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowClose", function() { return faWindowClose; });
  3162. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowMaximize", function() { return faWindowMaximize; });
  3163. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowMinimize", function() { return faWindowMinimize; });
  3164. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWindowRestore", function() { return faWindowRestore; });
  3165. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWineBottle", function() { return faWineBottle; });
  3166. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWineGlass", function() { return faWineGlass; });
  3167. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWineGlassAlt", function() { return faWineGlassAlt; });
  3168. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWonSign", function() { return faWonSign; });
  3169. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faWrench", function() { return faWrench; });
  3170. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faXRay", function() { return faXRay; });
  3171. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faYenSign", function() { return faYenSign; });
  3172. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "faYinYang", function() { return faYinYang; });
  3173. /*!
  3174. * Font Awesome Free 5.4.2 by @fontawesome - https://fontawesome.com
  3175. * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
  3176. */
  3177. var prefix = "fas";
  3178. var faAd = { prefix: 'fas', iconName: 'ad', icon: [512, 512, [], "f641", "M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"] };
  3179. var faAddressBook = { prefix: 'fas', iconName: 'address-book', icon: [448, 512, [], "f2b9", "M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"] };
  3180. var faAddressCard = { prefix: 'fas', iconName: 'address-card', icon: [576, 512, [], "f2bb", "M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"] };
  3181. var faAdjust = { prefix: 'fas', iconName: 'adjust', icon: [512, 512, [], "f042", "M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"] };
  3182. var faAirFreshener = { prefix: 'fas', iconName: 'air-freshener', icon: [384, 512, [], "f5d0", "M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z"] };
  3183. var faAlignCenter = { prefix: 'fas', iconName: 'align-center', icon: [448, 512, [], "f037", "M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"] };
  3184. var faAlignJustify = { prefix: 'fas', iconName: 'align-justify', icon: [448, 512, [], "f039", "M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"] };
  3185. var faAlignLeft = { prefix: 'fas', iconName: 'align-left', icon: [448, 512, [], "f036", "M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"] };
  3186. var faAlignRight = { prefix: 'fas', iconName: 'align-right', icon: [448, 512, [], "f038", "M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"] };
  3187. var faAllergies = { prefix: 'fas', iconName: 'allergies', icon: [448, 512, [], "f461", "M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"] };
  3188. var faAmbulance = { prefix: 'fas', iconName: 'ambulance', icon: [640, 512, [], "f0f9", "M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"] };
  3189. var faAmericanSignLanguageInterpreting = { prefix: 'fas', iconName: 'american-sign-language-interpreting', icon: [640, 512, [], "f2a3", "M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z"] };
  3190. var faAnchor = { prefix: 'fas', iconName: 'anchor', icon: [576, 512, [], "f13d", "M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"] };
  3191. var faAngleDoubleDown = { prefix: 'fas', iconName: 'angle-double-down', icon: [320, 512, [], "f103", "M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"] };
  3192. var faAngleDoubleLeft = { prefix: 'fas', iconName: 'angle-double-left', icon: [448, 512, [], "f100", "M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"] };
  3193. var faAngleDoubleRight = { prefix: 'fas', iconName: 'angle-double-right', icon: [448, 512, [], "f101", "M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"] };
  3194. var faAngleDoubleUp = { prefix: 'fas', iconName: 'angle-double-up', icon: [320, 512, [], "f102", "M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"] };
  3195. var faAngleDown = { prefix: 'fas', iconName: 'angle-down', icon: [320, 512, [], "f107", "M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"] };
  3196. var faAngleLeft = { prefix: 'fas', iconName: 'angle-left', icon: [256, 512, [], "f104", "M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"] };
  3197. var faAngleRight = { prefix: 'fas', iconName: 'angle-right', icon: [256, 512, [], "f105", "M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"] };
  3198. var faAngleUp = { prefix: 'fas', iconName: 'angle-up', icon: [320, 512, [], "f106", "M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"] };
  3199. var faAngry = { prefix: 'fas', iconName: 'angry', icon: [496, 512, [], "f556", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"] };
  3200. var faAnkh = { prefix: 'fas', iconName: 'ankh', icon: [320, 512, [], "f644", "M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z"] };
  3201. var faAppleAlt = { prefix: 'fas', iconName: 'apple-alt', icon: [448, 512, [], "f5d1", "M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z"] };
  3202. var faArchive = { prefix: 'fas', iconName: 'archive', icon: [512, 512, [], "f187", "M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"] };
  3203. var faArchway = { prefix: 'fas', iconName: 'archway', icon: [576, 512, [], "f557", "M560 448h-16V96H32v352H16.02c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16H176c8.84 0 16-7.16 16-16V320c0-53.02 42.98-96 96-96s96 42.98 96 96l.02 160v16c0 8.84 7.16 16 16 16H560c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm0-448H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h544c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z"] };
  3204. var faArrowAltCircleDown = { prefix: 'fas', iconName: 'arrow-alt-circle-down', icon: [512, 512, [], "f358", "M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM212 140v116h-70.9c-10.7 0-16.1 13-8.5 20.5l114.9 114.3c4.7 4.7 12.2 4.7 16.9 0l114.9-114.3c7.6-7.6 2.2-20.5-8.5-20.5H300V140c0-6.6-5.4-12-12-12h-64c-6.6 0-12 5.4-12 12z"] };
  3205. var faArrowAltCircleLeft = { prefix: 'fas', iconName: 'arrow-alt-circle-left', icon: [512, 512, [], "f359", "M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z"] };
  3206. var faArrowAltCircleRight = { prefix: 'fas', iconName: 'arrow-alt-circle-right', icon: [512, 512, [], "f35a", "M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"] };
  3207. var faArrowAltCircleUp = { prefix: 'fas', iconName: 'arrow-alt-circle-up', icon: [512, 512, [], "f35b", "M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm292 116V256h70.9c10.7 0 16.1-13 8.5-20.5L264.5 121.2c-4.7-4.7-12.2-4.7-16.9 0l-115 114.3c-7.6 7.6-2.2 20.5 8.5 20.5H212v116c0 6.6 5.4 12 12 12h64c6.6 0 12-5.4 12-12z"] };
  3208. var faArrowCircleDown = { prefix: 'fas', iconName: 'arrow-circle-down', icon: [512, 512, [], "f0ab", "M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-143.6-28.9L288 302.6V120c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24v182.6l-72.4-75.5c-9.3-9.7-24.8-9.9-34.3-.4l-10.9 11c-9.4 9.4-9.4 24.6 0 33.9L239 404.3c9.4 9.4 24.6 9.4 33.9 0l132.7-132.7c9.4-9.4 9.4-24.6 0-33.9l-10.9-11c-9.5-9.5-25-9.3-34.3.4z"] };
  3209. var faArrowCircleLeft = { prefix: 'fas', iconName: 'arrow-circle-left', icon: [512, 512, [], "f0a8", "M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"] };
  3210. var faArrowCircleRight = { prefix: 'fas', iconName: 'arrow-circle-right', icon: [512, 512, [], "f0a9", "M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"] };
  3211. var faArrowCircleUp = { prefix: 'fas', iconName: 'arrow-circle-up', icon: [512, 512, [], "f0aa", "M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm143.6 28.9l72.4-75.5V392c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V209.4l72.4 75.5c9.3 9.7 24.8 9.9 34.3.4l10.9-11c9.4-9.4 9.4-24.6 0-33.9L273 107.7c-9.4-9.4-24.6-9.4-33.9 0L106.3 240.4c-9.4 9.4-9.4 24.6 0 33.9l10.9 11c9.6 9.5 25.1 9.3 34.4-.4z"] };
  3212. var faArrowDown = { prefix: 'fas', iconName: 'arrow-down', icon: [448, 512, [], "f063", "M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"] };
  3213. var faArrowLeft = { prefix: 'fas', iconName: 'arrow-left', icon: [448, 512, [], "f060", "M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"] };
  3214. var faArrowRight = { prefix: 'fas', iconName: 'arrow-right', icon: [448, 512, [], "f061", "M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"] };
  3215. var faArrowUp = { prefix: 'fas', iconName: 'arrow-up', icon: [448, 512, [], "f062", "M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"] };
  3216. var faArrowsAlt = { prefix: 'fas', iconName: 'arrows-alt', icon: [512, 512, [], "f0b2", "M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"] };
  3217. var faArrowsAltH = { prefix: 'fas', iconName: 'arrows-alt-h', icon: [512, 512, [], "f337", "M377.941 169.941V216H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.568 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296h243.882v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.568 0-33.941l-86.059-86.059c-15.119-15.12-40.971-4.412-40.971 16.97z"] };
  3218. var faArrowsAltV = { prefix: 'fas', iconName: 'arrows-alt-v', icon: [256, 512, [], "f338", "M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"] };
  3219. var faAssistiveListeningSystems = { prefix: 'fas', iconName: 'assistive-listening-systems', icon: [512, 512, [], "f2a2", "M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm-80 236c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM32 448c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm480-187.993c0-1.518-.012-3.025-.045-4.531C510.076 140.525 436.157 38.47 327.994 1.511c-14.633-4.998-30.549 2.809-35.55 17.442-5 14.633 2.81 30.549 17.442 35.55 85.906 29.354 144.61 110.513 146.077 201.953l.003.188c.026 1.118.033 2.236.033 3.363 0 15.464 12.536 28 28 28s28.001-12.536 28.001-28zM152.971 439.029l-80-80L39.03 392.97l80 80 33.941-33.941z"] };
  3220. var faAsterisk = { prefix: 'fas', iconName: 'asterisk', icon: [512, 512, [], "f069", "M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"] };
  3221. var faAt = { prefix: 'fas', iconName: 'at', icon: [512, 512, [], "f1fa", "M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"] };
  3222. var faAtlas = { prefix: 'fas', iconName: 'atlas', icon: [448, 512, [], "f558", "M318.38 208h-39.09c-1.49 27.03-6.54 51.35-14.21 70.41 27.71-13.24 48.02-39.19 53.3-70.41zm0-32c-5.29-31.22-25.59-57.17-53.3-70.41 7.68 19.06 12.72 43.38 14.21 70.41h39.09zM224 97.31c-7.69 7.45-20.77 34.42-23.43 78.69h46.87c-2.67-44.26-15.75-71.24-23.44-78.69zm-41.08 8.28c-27.71 13.24-48.02 39.19-53.3 70.41h39.09c1.49-27.03 6.53-51.35 14.21-70.41zm0 172.82c-7.68-19.06-12.72-43.38-14.21-70.41h-39.09c5.28 31.22 25.59 57.17 53.3 70.41zM247.43 208h-46.87c2.66 44.26 15.74 71.24 23.43 78.69 7.7-7.45 20.78-34.43 23.44-78.69zM448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM224 64c70.69 0 128 57.31 128 128s-57.31 128-128 128S96 262.69 96 192 153.31 64 224 64zm160 384H96c-19.2 0-32-12.8-32-32s16-32 32-32h288v64z"] };
  3223. var faAtom = { prefix: 'fas', iconName: 'atom', icon: [448, 512, [], "f5d2", "M413.03 256c40.13-54.89 41.51-98.62 25.14-128-10.91-19.52-40.54-50.73-116.33-41.88C300.36 34.89 267.64 0 224 0s-76.36 34.89-97.84 86.12C50.43 77.34 20.73 108.48 9.83 128c-16.38 29.4-15 73.09 25.14 128-40.13 54.89-41.51 98.62-25.14 128 29.21 52.34 101.68 43.58 116.33 41.88C147.63 477.1 180.36 512 224 512s76.37-34.9 97.84-86.12c14.64 1.7 87.11 10.46 116.33-41.88 16.38-29.4 15-73.09-25.14-128zM63.38 352c-4.03-7.21-.19-24.8 14.95-48.29 6.96 6.53 14.2 12.89 21.87 19.18 1.71 13.71 4 27.08 6.76 40.08-24.56.89-39.89-4.37-43.58-10.97zm36.82-162.88c-7.66 6.29-14.9 12.65-21.87 19.18-15.13-23.5-18.97-41.09-14.95-48.3 3.41-6.14 16.39-11.47 37.92-11.47 1.71 0 3.87.3 5.69.37a472.191 472.191 0 0 0-6.79 40.22zM224 64c9.47 0 22.2 13.52 33.86 37.26-11.19 3.7-22.44 8-33.86 12.86-11.42-4.86-22.67-9.16-33.86-12.86C201.8 77.52 214.53 64 224 64zm0 384c-9.47 0-22.2-13.52-33.86-37.26 11.19-3.7 22.44-8 33.86-12.86 11.42 4.86 22.67 9.16 33.86 12.86C246.2 434.48 233.47 448 224 448zm62.5-157.33c-26.7 19.08-46.14 29.33-62.5 37.48-16.35-8.14-35.8-18.41-62.5-37.48-1.99-27.79-1.99-41.54 0-69.33 26.67-19.05 46.13-29.32 62.5-37.48 16.39 8.17 35.86 18.44 62.5 37.48 1.98 27.78 1.99 41.53 0 69.33zM384.62 352c-3.67 6.62-19 11.82-43.58 10.95 2.76-13 5.05-26.37 6.76-40.06 7.66-6.29 14.9-12.65 21.87-19.18 15.13 23.49 18.97 41.08 14.95 48.29zm-14.95-143.71c-6.96-6.53-14.2-12.89-21.87-19.18a473.535 473.535 0 0 0-6.79-40.22c1.82-.07 3.97-.37 5.69-.37 21.52 0 34.51 5.34 37.92 11.47 4.02 7.22.18 24.81-14.95 48.3zM224 224c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"] };
  3224. var faAudioDescription = { prefix: 'fas', iconName: 'audio-description', icon: [512, 512, [], "f29e", "M162.925 238.709l8.822 30.655h-25.606l9.041-30.652c1.277-4.421 2.651-9.994 3.872-15.245 1.22 5.251 2.594 10.823 3.871 15.242zm166.474-32.099h-14.523v98.781h14.523c29.776 0 46.175-17.678 46.175-49.776 0-32.239-17.49-49.005-46.175-49.005zM512 112v288c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48zM245.459 336.139l-57.097-168A12.001 12.001 0 0 0 177 160h-35.894a12.001 12.001 0 0 0-11.362 8.139l-57.097 168C70.003 343.922 75.789 352 84.009 352h29.133a12 12 0 0 0 11.535-8.693l8.574-29.906h51.367l8.793 29.977A12 12 0 0 0 204.926 352h29.172c8.22 0 14.006-8.078 11.361-15.861zm184.701-80.525c0-58.977-37.919-95.614-98.96-95.614h-57.366c-6.627 0-12 5.373-12 12v168c0 6.627 5.373 12 12 12H331.2c61.041 0 98.96-36.933 98.96-96.386z"] };
  3225. var faAward = { prefix: 'fas', iconName: 'award', icon: [384, 512, [], "f559", "M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"] };
  3226. var faBackspace = { prefix: 'fas', iconName: 'backspace', icon: [640, 512, [], "f55a", "M576 64H205.26A63.97 63.97 0 0 0 160 82.75L9.37 233.37c-12.5 12.5-12.5 32.76 0 45.25L160 429.25c12 12 28.28 18.75 45.25 18.75H576c35.35 0 64-28.65 64-64V128c0-35.35-28.65-64-64-64zm-84.69 254.06c6.25 6.25 6.25 16.38 0 22.63l-22.62 22.62c-6.25 6.25-16.38 6.25-22.63 0L384 301.25l-62.06 62.06c-6.25 6.25-16.38 6.25-22.63 0l-22.62-22.62c-6.25-6.25-6.25-16.38 0-22.63L338.75 256l-62.06-62.06c-6.25-6.25-6.25-16.38 0-22.63l22.62-22.62c6.25-6.25 16.38-6.25 22.63 0L384 210.75l62.06-62.06c6.25-6.25 16.38-6.25 22.63 0l22.62 22.62c6.25 6.25 6.25 16.38 0 22.63L429.25 256l62.06 62.06z"] };
  3227. var faBackward = { prefix: 'fas', iconName: 'backward', icon: [512, 512, [], "f04a", "M11.5 280.6l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2zm256 0l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2z"] };
  3228. var faBalanceScale = { prefix: 'fas', iconName: 'balance-scale', icon: [640, 512, [], "f24e", "M256 336h-.02c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0C-2.06 328.75.02 320.33.02 336H0c0 44.18 57.31 80 128 80s128-35.82 128-80zM128 176l72 144H56l72-144zm511.98 160c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0-87.12 174.26-85.04 165.84-85.04 181.51H384c0 44.18 57.31 80 128 80s128-35.82 128-80h-.02zM440 320l72-144 72 144H440zm88 128H352V153.25c23.51-10.29 41.16-31.48 46.39-57.25H528c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16H383.64C369.04 12.68 346.09 0 320 0s-49.04 12.68-63.64 32H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h129.61c5.23 25.76 22.87 46.96 46.39 57.25V448H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3229. var faBan = { prefix: 'fas', iconName: 'ban', icon: [512, 512, [], "f05e", "M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"] };
  3230. var faBandAid = { prefix: 'fas', iconName: 'band-aid', icon: [640, 512, [], "f462", "M0 160v192c0 35.3 28.7 64 64 64h96V96H64c-35.3 0-64 28.7-64 64zm576-64h-96v320h96c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64zM192 416h256V96H192v320zm176-232c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-96-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24z"] };
  3231. var faBarcode = { prefix: 'fas', iconName: 'barcode', icon: [512, 512, [], "f02a", "M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"] };
  3232. var faBars = { prefix: 'fas', iconName: 'bars', icon: [448, 512, [], "f0c9", "M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"] };
  3233. var faBaseballBall = { prefix: 'fas', iconName: 'baseball-ball', icon: [496, 512, [], "f433", "M368.5 363.9l28.8-13.9c11.1 22.9 26 43.2 44.1 60.9 34-42.5 54.5-96.3 54.5-154.9 0-58.5-20.4-112.2-54.2-154.6-17.8 17.3-32.6 37.1-43.6 59.5l-28.7-14.1c12.8-26 30-49 50.8-69C375.6 34.7 315 8 248 8 181.1 8 120.5 34.6 75.9 77.7c20.7 19.9 37.9 42.9 50.7 68.8l-28.7 14.1c-11-22.3-25.7-42.1-43.5-59.4C20.4 143.7 0 197.4 0 256c0 58.6 20.4 112.3 54.4 154.7 18.2-17.7 33.2-38 44.3-61l28.8 13.9c-12.9 26.7-30.3 50.3-51.5 70.7 44.5 43.1 105.1 69.7 172 69.7 66.8 0 127.3-26.5 171.9-69.5-21.1-20.4-38.5-43.9-51.4-70.6zm-228.3-32l-30.5-9.8c14.9-46.4 12.7-93.8-.6-134l30.4-10c15 45.6 18 99.9.7 153.8zm216.3-153.4l30.4 10c-13.2 40.1-15.5 87.5-.6 134l-30.5 9.8c-17.3-54-14.3-108.3.7-153.8z"] };
  3234. var faBasketballBall = { prefix: 'fas', iconName: 'basketball-ball', icon: [496, 512, [], "f434", "M212.3 10.3c-43.8 6.3-86.2 24.1-122.2 53.8l77.4 77.4c27.8-35.8 43.3-81.2 44.8-131.2zM248 222L405.9 64.1c-42.4-35-93.6-53.5-145.5-56.1-1.2 63.9-21.5 122.3-58.7 167.7L248 222zM56.1 98.1c-29.7 36-47.5 78.4-53.8 122.2 50-1.5 95.5-17 131.2-44.8L56.1 98.1zm272.2 204.2c45.3-37.1 103.7-57.4 167.7-58.7-2.6-51.9-21.1-103.1-56.1-145.5L282 256l46.3 46.3zM248 290L90.1 447.9c42.4 34.9 93.6 53.5 145.5 56.1 1.3-64 21.6-122.4 58.7-167.7L248 290zm191.9 123.9c29.7-36 47.5-78.4 53.8-122.2-50.1 1.6-95.5 17.1-131.2 44.8l77.4 77.4zM167.7 209.7C122.3 246.9 63.9 267.3 0 268.4c2.6 51.9 21.1 103.1 56.1 145.5L214 256l-46.3-46.3zm116 292c43.8-6.3 86.2-24.1 122.2-53.8l-77.4-77.4c-27.7 35.7-43.2 81.2-44.8 131.2z"] };
  3235. var faBath = { prefix: 'fas', iconName: 'bath', icon: [512, 512, [], "f2cd", "M488 256H80V112c0-17.645 14.355-32 32-32 11.351 0 21.332 5.945 27.015 14.88-16.492 25.207-14.687 59.576 6.838 83.035-4.176 4.713-4.021 11.916.491 16.428l11.314 11.314c4.686 4.686 12.284 4.686 16.971 0l95.03-95.029c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.512-4.512-11.715-4.666-16.428-.491-17.949-16.469-42.294-21.429-64.178-15.365C163.281 45.667 139.212 32 112 32c-44.112 0-80 35.888-80 80v144h-8c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h8v32c0 28.43 12.362 53.969 32 71.547V456c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-8h256v8c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-32.453c19.638-17.578 32-43.117 32-71.547v-32h8c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"] };
  3236. var faBatteryEmpty = { prefix: 'fas', iconName: 'battery-empty', icon: [640, 512, [], "f244", "M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48z"] };
  3237. var faBatteryFull = { prefix: 'fas', iconName: 'battery-full', icon: [640, 512, [], "f240", "M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-48 96H96v128h416V192z"] };
  3238. var faBatteryHalf = { prefix: 'fas', iconName: 'battery-half', icon: [640, 512, [], "f242", "M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-240 96H96v128h224V192z"] };
  3239. var faBatteryQuarter = { prefix: 'fas', iconName: 'battery-quarter', icon: [640, 512, [], "f243", "M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-336 96H96v128h128V192z"] };
  3240. var faBatteryThreeQuarters = { prefix: 'fas', iconName: 'battery-three-quarters', icon: [640, 512, [], "f241", "M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-144 96H96v128h320V192z"] };
  3241. var faBed = { prefix: 'fas', iconName: 'bed', icon: [640, 512, [], "f236", "M176 256c44.11 0 80-35.89 80-80s-35.89-80-80-80-80 35.89-80 80 35.89 80 80 80zm352-128H304c-8.84 0-16 7.16-16 16v144H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v352c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h512v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V240c0-61.86-50.14-112-112-112z"] };
  3242. var faBeer = { prefix: 'fas', iconName: 'beer', icon: [448, 512, [], "f0fc", "M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"] };
  3243. var faBell = { prefix: 'fas', iconName: 'bell', icon: [448, 512, [], "f0f3", "M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"] };
  3244. var faBellSlash = { prefix: 'fas', iconName: 'bell-slash', icon: [640, 512, [], "f1f6", "M633.82 458.1l-90.62-70.05c.19-1.38.8-2.66.8-4.06.05-7.55-2.61-15.27-8.61-21.71-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-40.33 8.38-74.66 31.07-97.59 62.57L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.35 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.42-6.97 4.17-17.02-2.81-22.45zM157.23 251.54c-8.61 67.96-36.41 93.33-52.62 110.75-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h241.92L157.23 251.54zM320 512c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"] };
  3245. var faBezierCurve = { prefix: 'fas', iconName: 'bezier-curve', icon: [640, 512, [], "f55b", "M368 32h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM208 88h-84.75C113.75 64.56 90.84 48 64 48 28.66 48 0 76.65 0 112s28.66 64 64 64c26.84 0 49.75-16.56 59.25-40h79.73c-55.37 32.52-95.86 87.32-109.54 152h49.4c11.3-41.61 36.77-77.21 71.04-101.56-3.7-8.08-5.88-16.99-5.88-26.44V88zm-48 232H64c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zM576 48c-26.84 0-49.75 16.56-59.25 40H432v72c0 9.45-2.19 18.36-5.88 26.44 34.27 24.35 59.74 59.95 71.04 101.56h49.4c-13.68-64.68-54.17-119.48-109.54-152h79.73c9.5 23.44 32.41 40 59.25 40 35.34 0 64-28.65 64-64s-28.66-64-64-64zm0 272h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"] };
  3246. var faBible = { prefix: 'fas', iconName: 'bible', icon: [448, 512, [], "f647", "M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM144 144c0-8.84 7.16-16 16-16h48V80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v48h48c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-48v112c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V192h-48c-8.84 0-16-7.16-16-16v-32zm236.8 304H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"] };
  3247. var faBicycle = { prefix: 'fas', iconName: 'bicycle', icon: [640, 512, [], "f206", "M512.509 192.001c-16.373-.064-32.03 2.955-46.436 8.495l-77.68-125.153A24 24 0 0 0 368.001 64h-64c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h50.649l14.896 24H256.002v-16c0-8.837-7.163-16-16-16h-87.459c-13.441 0-24.777 10.999-24.536 24.437.232 13.044 10.876 23.563 23.995 23.563h48.726l-29.417 47.52c-13.433-4.83-27.904-7.483-42.992-7.52C58.094 191.83.412 249.012.002 319.236-.413 390.279 57.055 448 128.002 448c59.642 0 109.758-40.793 123.967-96h52.033a24 24 0 0 0 20.406-11.367L410.37 201.77l14.938 24.067c-25.455 23.448-41.385 57.081-41.307 94.437.145 68.833 57.899 127.051 126.729 127.719 70.606.685 128.181-55.803 129.255-125.996 1.086-70.941-56.526-129.72-127.476-129.996zM186.75 265.772c9.727 10.529 16.673 23.661 19.642 38.228h-43.306l23.664-38.228zM128.002 400c-44.112 0-80-35.888-80-80s35.888-80 80-80c5.869 0 11.586.653 17.099 1.859l-45.505 73.509C89.715 331.327 101.213 352 120.002 352h81.3c-12.37 28.225-40.562 48-73.3 48zm162.63-96h-35.624c-3.96-31.756-19.556-59.894-42.383-80.026L237.371 184h127.547l-74.286 120zm217.057 95.886c-41.036-2.165-74.049-35.692-75.627-76.755-.812-21.121 6.633-40.518 19.335-55.263l44.433 71.586c4.66 7.508 14.524 9.816 22.032 5.156l13.594-8.437c7.508-4.66 9.817-14.524 5.156-22.032l-44.468-71.643a79.901 79.901 0 0 1 19.858-2.497c44.112 0 80 35.888 80 80-.001 45.54-38.252 82.316-84.313 79.885z"] };
  3248. var faBinoculars = { prefix: 'fas', iconName: 'binoculars', icon: [512, 512, [], "f1e5", "M416 48c0-8.84-7.16-16-16-16h-64c-8.84 0-16 7.16-16 16v48h96V48zM63.91 159.99C61.4 253.84 3.46 274.22 0 404v44c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V288h32V128H95.84c-17.63 0-31.45 14.37-31.93 31.99zm384.18 0c-.48-17.62-14.3-31.99-31.93-31.99H320v160h32v160c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-44c-3.46-129.78-61.4-150.16-63.91-244.01zM176 32h-64c-8.84 0-16 7.16-16 16v48h96V48c0-8.84-7.16-16-16-16zm48 256h64V128h-64v160z"] };
  3249. var faBirthdayCake = { prefix: 'fas', iconName: 'birthday-cake', icon: [448, 512, [], "f1fd", "M448 384c-28.02 0-31.26-32-74.5-32-43.43 0-46.825 32-74.75 32-27.695 0-31.454-32-74.75-32-42.842 0-47.218 32-74.5 32-28.148 0-31.202-32-74.75-32-43.547 0-46.653 32-74.75 32v-80c0-26.5 21.5-48 48-48h16V112h64v144h64V112h64v144h64V112h64v144h16c26.5 0 48 21.5 48 48v80zm0 128H0v-96c43.356 0 46.767-32 74.75-32 27.951 0 31.253 32 74.75 32 42.843 0 47.217-32 74.5-32 28.148 0 31.201 32 74.75 32 43.357 0 46.767-32 74.75-32 27.488 0 31.252 32 74.5 32v96zM96 96c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40z"] };
  3250. var faBlender = { prefix: 'fas', iconName: 'blender', icon: [512, 512, [], "f517", "M416 384H160c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-128 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm40-416h166.54L512 0H48C21.49 0 0 21.49 0 48v160c0 26.51 21.49 48 48 48h103.27l8.73 96h256l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H328c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM64 192V64h69.82l11.64 128H64z"] };
  3251. var faBlenderPhone = { prefix: 'fas', iconName: 'blender-phone', icon: [576, 512, [], "f6b6", "M392 64h166.54L576 0H192v352h288l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H392c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM158.8 335.01l-25.78-63.26c-2.78-6.81-9.8-10.99-17.24-10.26l-45.03 4.42c-17.28-46.94-17.65-99.78 0-147.72l45.03 4.42c7.43.73 14.46-3.46 17.24-10.26l25.78-63.26c3.02-7.39.2-15.85-6.68-20.07l-39.28-24.1C98.51-3.87 80.09-.5 68.95 11.97c-92.57 103.6-92 259.55 2.1 362.49 9.87 10.8 29.12 12.48 41.65 4.8l39.41-24.18c6.89-4.22 9.7-12.67 6.69-20.07zM480 384H192c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h352c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-144 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3252. var faBlind = { prefix: 'fas', iconName: 'blind', icon: [384, 512, [], "f29d", "M380.15 510.837a8 8 0 0 1-10.989-2.687l-125.33-206.427a31.923 31.923 0 0 0 12.958-9.485l126.048 207.608a8 8 0 0 1-2.687 10.991zM142.803 314.338l-32.54 89.485 36.12 88.285c6.693 16.36 25.377 24.192 41.733 17.501 16.357-6.692 24.193-25.376 17.501-41.734l-62.814-153.537zM96 88c24.301 0 44-19.699 44-44S120.301 0 96 0 52 19.699 52 44s19.699 44 44 44zm154.837 169.128l-120-152c-4.733-5.995-11.75-9.108-18.837-9.112V96H80v.026c-7.146.003-14.217 3.161-18.944 9.24L0 183.766v95.694c0 13.455 11.011 24.791 24.464 24.536C37.505 303.748 48 293.1 48 280v-79.766l16-20.571v140.698L9.927 469.055c-6.04 16.609 2.528 34.969 19.138 41.009 16.602 6.039 34.968-2.524 41.009-19.138L136 309.638V202.441l-31.406-39.816a4 4 0 1 1 6.269-4.971l102.3 129.217c9.145 11.584 24.368 11.339 33.708 3.965 10.41-8.216 12.159-23.334 3.966-33.708z"] };
  3253. var faBold = { prefix: 'fas', iconName: 'bold', icon: [384, 512, [], "f032", "M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"] };
  3254. var faBolt = { prefix: 'fas', iconName: 'bolt', icon: [320, 512, [], "f0e7", "M295.973 160H180.572L215.19 30.184C219.25 14.956 207.756 0 192 0H56C43.971 0 33.8 8.905 32.211 20.828l-31.996 240C-1.704 275.217 9.504 288 24.004 288h118.701L96.646 482.466C93.05 497.649 104.659 512 119.992 512c8.35 0 16.376-4.374 20.778-11.978l175.973-303.997c9.244-15.967-2.288-36.025-20.77-36.025z"] };
  3255. var faBomb = { prefix: 'fas', iconName: 'bomb', icon: [512, 512, [], "f1e2", "M440.5 88.5l-52 52L415 167c9.4 9.4 9.4 24.6 0 33.9l-17.4 17.4c11.8 26.1 18.4 55.1 18.4 85.6 0 114.9-93.1 208-208 208S0 418.9 0 304 93.1 96 208 96c30.5 0 59.5 6.6 85.6 18.4L311 97c9.4-9.4 24.6-9.4 33.9 0l26.5 26.5 52-52 17.1 17zM500 60h-24c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12zM440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm33.9 55l17-17c4.7-4.7 4.7-12.3 0-17-4.7-4.7-12.3-4.7-17 0l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0zm-67.8 0c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17zm67.8 34c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17zM112 272c0-35.3 28.7-64 64-64 8.8 0 16-7.2 16-16s-7.2-16-16-16c-52.9 0-96 43.1-96 96 0 8.8 7.2 16 16 16s16-7.2 16-16z"] };
  3256. var faBone = { prefix: 'fas', iconName: 'bone', icon: [640, 512, [], "f5d7", "M598.88 244.56c25.2-12.6 41.12-38.36 41.12-66.53v-7.64C640 129.3 606.7 96 565.61 96c-32.02 0-60.44 20.49-70.57 50.86-7.68 23.03-11.6 45.14-38.11 45.14H183.06c-27.38 0-31.58-25.54-38.11-45.14C134.83 116.49 106.4 96 74.39 96 33.3 96 0 129.3 0 170.39v7.64c0 28.17 15.92 53.93 41.12 66.53 9.43 4.71 9.43 18.17 0 22.88C15.92 280.04 0 305.8 0 333.97v7.64C0 382.7 33.3 416 74.38 416c32.02 0 60.44-20.49 70.57-50.86 7.68-23.03 11.6-45.14 38.11-45.14h273.87c27.38 0 31.58 25.54 38.11 45.14C505.17 395.51 533.6 416 565.61 416c41.08 0 74.38-33.3 74.38-74.39v-7.64c0-28.18-15.92-53.93-41.12-66.53-9.42-4.71-9.42-18.17.01-22.88z"] };
  3257. var faBong = { prefix: 'fas', iconName: 'bong', icon: [448, 512, [], "f55c", "M302.5 512c23.18 0 44.43-12.58 56-32.66C374.69 451.26 384 418.75 384 384c0-36.12-10.08-69.81-27.44-98.62L400 241.94l9.38 9.38c6.25 6.25 16.38 6.25 22.63 0l11.3-11.32c6.25-6.25 6.25-16.38 0-22.63l-52.69-52.69c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63l9.38 9.38-39.41 39.41c-11.56-11.37-24.53-21.33-38.65-29.51V63.74l15.97-.02c8.82-.01 15.97-7.16 15.98-15.98l.04-31.72C320 7.17 312.82-.01 303.97 0L80.03.26c-8.82.01-15.97 7.16-15.98 15.98l-.04 31.73c-.01 8.85 7.17 16.02 16.02 16.01L96 63.96v153.93C38.67 251.1 0 312.97 0 384c0 34.75 9.31 67.27 25.5 95.34C37.08 499.42 58.33 512 81.5 512h221zM120.06 259.43L144 245.56V63.91l96-.11v181.76l23.94 13.87c24.81 14.37 44.12 35.73 56.56 60.57h-257c12.45-24.84 31.75-46.2 56.56-60.57z"] };
  3258. var faBook = { prefix: 'fas', iconName: 'book', icon: [448, 512, [], "f02d", "M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"] };
  3259. var faBookDead = { prefix: 'fas', iconName: 'book-dead', icon: [448, 512, [], "f6b7", "M272 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16zm176 222.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM240 56c44.18 0 80 28.65 80 64 0 20.87-12.68 39.23-32 50.91V184c0 8.84-7.16 16-16 16h-64c-8.84 0-16-7.16-16-16v-13.09c-19.32-11.68-32-30.04-32-50.91 0-35.35 35.82-64 80-64zM129.05 233.85a7.996 7.996 0 0 1-4.2-10.5l6.29-14.7a7.995 7.995 0 0 1 10.51-4.2L240 246.6l98.35-42.15c4.06-1.74 8.77.14 10.51 4.2l6.29 14.7a7.996 7.996 0 0 1-4.2 10.5L280.6 264l70.34 30.15a7.996 7.996 0 0 1 4.2 10.5l-6.29 14.7a8.008 8.008 0 0 1-10.51 4.21L240 281.4l-98.35 42.15a8.003 8.003 0 0 1-10.51-4.21l-6.29-14.7a7.996 7.996 0 0 1 4.2-10.5L199.4 264l-70.35-30.15zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64zM208 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16z"] };
  3260. var faBookOpen = { prefix: 'fas', iconName: 'book-open', icon: [576, 512, [], "f518", "M542.22 32.05c-54.8 3.11-163.72 14.43-230.96 55.59-4.64 2.84-7.27 7.89-7.27 13.17v363.87c0 11.55 12.63 18.85 23.28 13.49 69.18-34.82 169.23-44.32 218.7-46.92 16.89-.89 30.02-14.43 30.02-30.66V62.75c.01-17.71-15.35-31.74-33.77-30.7zM264.73 87.64C197.5 46.48 88.58 35.17 33.78 32.05 15.36 31.01 0 45.04 0 62.75V400.6c0 16.24 13.13 29.78 30.02 30.66 49.49 2.6 149.59 12.11 218.77 46.95 10.62 5.35 23.21-1.94 23.21-13.46V100.63c0-5.29-2.62-10.14-7.27-12.99z"] };
  3261. var faBookReader = { prefix: 'fas', iconName: 'book-reader', icon: [512, 512, [], "f5da", "M352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96zM233.59 241.1c-59.33-36.32-155.43-46.3-203.79-49.05C13.55 191.13 0 203.51 0 219.14v222.8c0 14.33 11.59 26.28 26.49 27.05 43.66 2.29 131.99 10.68 193.04 41.43 9.37 4.72 20.48-1.71 20.48-11.87V252.56c-.01-4.67-2.32-8.95-6.42-11.46zm248.61-49.05c-48.35 2.74-144.46 12.73-203.78 49.05-4.1 2.51-6.41 6.96-6.41 11.63v245.79c0 10.19 11.14 16.63 20.54 11.9 61.04-30.72 149.32-39.11 192.97-41.4 14.9-.78 26.49-12.73 26.49-27.06V219.14c-.01-15.63-13.56-28.01-29.81-27.09z"] };
  3262. var faBookmark = { prefix: 'fas', iconName: 'bookmark', icon: [384, 512, [], "f02e", "M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"] };
  3263. var faBowlingBall = { prefix: 'fas', iconName: 'bowling-ball', icon: [496, 512, [], "f436", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM120 192c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64-96c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm48 144c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3264. var faBox = { prefix: 'fas', iconName: 'box', icon: [512, 512, [], "f466", "M509.5 184.6L458.9 32.8C452.4 13.2 434.1 0 413.4 0H272v192h238.7c-.4-2.5-.4-5-1.2-7.4zM240 0H98.6c-20.7 0-39 13.2-45.5 32.8L2.5 184.6c-.8 2.4-.8 4.9-1.2 7.4H240V0zM0 224v240c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V224H0z"] };
  3265. var faBoxOpen = { prefix: 'fas', iconName: 'box-open', icon: [640, 512, [], "f49e", "M53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9zm585.1 102.8L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9z"] };
  3266. var faBoxes = { prefix: 'fas', iconName: 'boxes', icon: [576, 512, [], "f468", "M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z"] };
  3267. var faBraille = { prefix: 'fas', iconName: 'braille', icon: [640, 512, [], "f2a1", "M128 256c0 35.346-28.654 64-64 64S0 291.346 0 256s28.654-64 64-64 64 28.654 64 64zM64 384c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352C28.654 32 0 60.654 0 96s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm224 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-320c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"] };
  3268. var faBrain = { prefix: 'fas', iconName: 'brain', icon: [576, 512, [], "f5dc", "M208 0c-29.87 0-54.74 20.55-61.8 48.22-.75-.02-1.45-.22-2.2-.22-35.34 0-64 28.65-64 64 0 4.84.64 9.51 1.66 14.04C52.54 138 32 166.57 32 200c0 12.58 3.16 24.32 8.34 34.91C16.34 248.72 0 274.33 0 304c0 33.34 20.42 61.88 49.42 73.89-.9 4.57-1.42 9.28-1.42 14.11 0 39.76 32.23 72 72 72 4.12 0 8.1-.55 12.03-1.21C141.61 491.31 168.25 512 200 512c39.77 0 72-32.24 72-72V205.45c-10.91 8.98-23.98 15.45-38.36 18.39-4.97 1.02-9.64-2.82-9.64-7.89v-16.18c0-3.57 2.35-6.78 5.8-7.66 24.2-6.16 42.2-27.95 42.2-54.04V64c0-35.35-28.66-64-64-64zm368 304c0-29.67-16.34-55.28-40.34-69.09 5.17-10.59 8.34-22.33 8.34-34.91 0-33.43-20.54-62-49.66-73.96 1.02-4.53 1.66-9.2 1.66-14.04 0-35.35-28.66-64-64-64-.75 0-1.45.2-2.2.22C422.74 20.55 397.87 0 368 0c-35.34 0-64 28.65-64 64v74.07c0 26.09 17.99 47.88 42.2 54.04 3.46.88 5.8 4.09 5.8 7.66v16.18c0 5.07-4.68 8.91-9.64 7.89-14.38-2.94-27.44-9.41-38.36-18.39V440c0 39.76 32.23 72 72 72 31.75 0 58.39-20.69 67.97-49.21 3.93.67 7.91 1.21 12.03 1.21 39.77 0 72-32.24 72-72 0-4.83-.52-9.54-1.42-14.11 29-12.01 49.42-40.55 49.42-73.89z"] };
  3269. var faBriefcase = { prefix: 'fas', iconName: 'briefcase', icon: [512, 512, [], "f0b1", "M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"] };
  3270. var faBriefcaseMedical = { prefix: 'fas', iconName: 'briefcase-medical', icon: [512, 512, [], "f469", "M464 128h-80V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48zM192 96h128v32H192V96zm160 248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48z"] };
  3271. var faBroadcastTower = { prefix: 'fas', iconName: 'broadcast-tower', icon: [640, 512, [], "f519", "M150.94 192h33.73c11.01 0 18.61-10.83 14.86-21.18-4.93-13.58-7.55-27.98-7.55-42.82s2.62-29.24 7.55-42.82C203.29 74.83 195.68 64 184.67 64h-33.73c-7.01 0-13.46 4.49-15.41 11.23C130.64 92.21 128 109.88 128 128c0 18.12 2.64 35.79 7.54 52.76 1.94 6.74 8.39 11.24 15.4 11.24zM89.92 23.34C95.56 12.72 87.97 0 75.96 0H40.63c-6.27 0-12.14 3.59-14.74 9.31C9.4 45.54 0 85.65 0 128c0 24.75 3.12 68.33 26.69 118.86 2.62 5.63 8.42 9.14 14.61 9.14h34.84c12.02 0 19.61-12.74 13.95-23.37-49.78-93.32-16.71-178.15-.17-209.29zM614.06 9.29C611.46 3.58 605.6 0 599.33 0h-35.42c-11.98 0-19.66 12.66-14.02 23.25 18.27 34.29 48.42 119.42.28 209.23-5.72 10.68 1.8 23.52 13.91 23.52h35.23c6.27 0 12.13-3.58 14.73-9.29C630.57 210.48 640 170.36 640 128s-9.42-82.48-25.94-118.71zM489.06 64h-33.73c-11.01 0-18.61 10.83-14.86 21.18 4.93 13.58 7.55 27.98 7.55 42.82s-2.62 29.24-7.55 42.82c-3.76 10.35 3.85 21.18 14.86 21.18h33.73c7.02 0 13.46-4.49 15.41-11.24 4.9-16.97 7.53-34.64 7.53-52.76 0-18.12-2.64-35.79-7.54-52.76-1.94-6.75-8.39-11.24-15.4-11.24zm-116.3 100.12c7.05-10.29 11.2-22.71 11.2-36.12 0-35.35-28.63-64-63.96-64-35.32 0-63.96 28.65-63.96 64 0 13.41 4.15 25.83 11.2 36.12l-130.5 313.41c-3.4 8.15.46 17.52 8.61 20.92l29.51 12.31c8.15 3.4 17.52-.46 20.91-8.61L244.96 384h150.07l49.2 118.15c3.4 8.16 12.76 12.01 20.91 8.61l29.51-12.31c8.15-3.4 12-12.77 8.61-20.92l-130.5-313.41zM271.62 320L320 203.81 368.38 320h-96.76z"] };
  3272. var faBroom = { prefix: 'fas', iconName: 'broom', icon: [640, 512, [], "f51a", "M256.47 216.77l86.73 109.18s-16.6 102.36-76.57 150.12C206.66 523.85 0 510.19 0 510.19s3.8-23.14 11-55.43l94.62-112.17c3.97-4.7-.87-11.62-6.65-9.5l-60.4 22.09c14.44-41.66 32.72-80.04 54.6-97.47 59.97-47.76 163.3-40.94 163.3-40.94zM636.53 31.03l-19.86-25c-5.49-6.9-15.52-8.05-22.41-2.56l-232.48 177.8-34.14-42.97c-5.09-6.41-15.14-5.21-18.59 2.21l-25.33 54.55 86.73 109.18 58.8-12.45c8-1.69 11.42-11.2 6.34-17.6l-34.09-42.92 232.48-177.8c6.89-5.48 8.04-15.53 2.55-22.44z"] };
  3273. var faBrush = { prefix: 'fas', iconName: 'brush', icon: [384, 512, [], "f55d", "M352 0H32C14.33 0 0 14.33 0 32v224h384V32c0-17.67-14.33-32-32-32zM0 320c0 35.35 28.66 64 64 64h64v64c0 35.35 28.66 64 64 64s64-28.65 64-64v-64h64c35.34 0 64-28.65 64-64v-32H0v32zm192 104c13.25 0 24 10.74 24 24 0 13.25-10.75 24-24 24s-24-10.75-24-24c0-13.26 10.75-24 24-24z"] };
  3274. var faBug = { prefix: 'fas', iconName: 'bug', icon: [512, 512, [], "f188", "M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"] };
  3275. var faBuilding = { prefix: 'fas', iconName: 'building', icon: [448, 512, [], "f1ad", "M436 480h-20V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v456H12c-6.627 0-12 5.373-12 12v20h448v-20c0-6.627-5.373-12-12-12zM128 76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76zm0 96c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40zm52 148h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12zm76 160h-64v-84c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v84zm64-172c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40z"] };
  3276. var faBullhorn = { prefix: 'fas', iconName: 'bullhorn', icon: [576, 512, [], "f0a1", "M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"] };
  3277. var faBullseye = { prefix: 'fas', iconName: 'bullseye', icon: [496, 512, [], "f140", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"] };
  3278. var faBurn = { prefix: 'fas', iconName: 'burn', icon: [384, 512, [], "f46a", "M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"] };
  3279. var faBus = { prefix: 'fas', iconName: 'bus', icon: [512, 512, [], "f207", "M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM112 400c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm16-112c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h256c17.67 0 32 14.33 32 32v128c0 17.67-14.33 32-32 32H128zm272 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3280. var faBusAlt = { prefix: 'fas', iconName: 'bus-alt', icon: [512, 512, [], "f55e", "M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM160 72c0-4.42 3.58-8 8-8h176c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H168c-4.42 0-8-3.58-8-8V72zm-48 328c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm128-112H128c-17.67 0-32-14.33-32-32v-96c0-17.67 14.33-32 32-32h112v160zm32 0V128h112c17.67 0 32 14.33 32 32v96c0 17.67-14.33 32-32 32H272zm128 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3281. var faBusinessTime = { prefix: 'fas', iconName: 'business-time', icon: [640, 512, [], "f64a", "M496 224c-79.59 0-144 64.41-144 144s64.41 144 144 144 144-64.41 144-144-64.41-144-144-144zm64 150.29c0 5.34-4.37 9.71-9.71 9.71h-60.57c-5.34 0-9.71-4.37-9.71-9.71v-76.57c0-5.34 4.37-9.71 9.71-9.71h12.57c5.34 0 9.71 4.37 9.71 9.71V352h38.29c5.34 0 9.71 4.37 9.71 9.71v12.58zM496 192c5.4 0 10.72.33 16 .81V144c0-25.6-22.4-48-48-48h-80V48c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h395.12c28.6-20.09 63.35-32 100.88-32zM320 96H192V64h128v32zm6.82 224H208c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h291.43C327.1 423.96 320 396.82 320 368c0-16.66 2.48-32.72 6.82-48z"] };
  3282. var faCalculator = { prefix: 'fas', iconName: 'calculator', icon: [448, 512, [], "f1ec", "M400 0H48C22.4 0 0 22.4 0 48v416c0 25.6 22.4 48 48 48h352c25.6 0 48-22.4 48-48V48c0-25.6-22.4-48-48-48zM128 435.2c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8V268.8c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v166.4zm0-256c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8V76.8C64 70.4 70.4 64 76.8 64h294.4c6.4 0 12.8 6.4 12.8 12.8v102.4z"] };
  3283. var faCalendar = { prefix: 'fas', iconName: 'calendar', icon: [448, 512, [], "f133", "M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z"] };
  3284. var faCalendarAlt = { prefix: 'fas', iconName: 'calendar-alt', icon: [448, 512, [], "f073", "M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm116 204c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40z"] };
  3285. var faCalendarCheck = { prefix: 'fas', iconName: 'calendar-check', icon: [448, 512, [], "f274", "M436 160H12c-6.627 0-12-5.373-12-12v-36c0-26.51 21.49-48 48-48h48V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h128V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h48c26.51 0 48 21.49 48 48v36c0 6.627-5.373 12-12 12zM12 192h424c6.627 0 12 5.373 12 12v260c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V204c0-6.627 5.373-12 12-12zm333.296 95.947l-28.169-28.398c-4.667-4.705-12.265-4.736-16.97-.068L194.12 364.665l-45.98-46.352c-4.667-4.705-12.266-4.736-16.971-.068l-28.397 28.17c-4.705 4.667-4.736 12.265-.068 16.97l82.601 83.269c4.667 4.705 12.265 4.736 16.97.068l142.953-141.805c4.705-4.667 4.736-12.265.068-16.97z"] };
  3286. var faCalendarMinus = { prefix: 'fas', iconName: 'calendar-minus', icon: [448, 512, [], "f272", "M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm304 192c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H132c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h184z"] };
  3287. var faCalendarPlus = { prefix: 'fas', iconName: 'calendar-plus', icon: [448, 512, [], "f271", "M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm316 140c0-6.6-5.4-12-12-12h-60v-60c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v60h-60c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h60v60c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-60h60c6.6 0 12-5.4 12-12v-40z"] };
  3288. var faCalendarTimes = { prefix: 'fas', iconName: 'calendar-times', icon: [448, 512, [], "f273", "M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm257.3 160l48.1-48.1c4.7-4.7 4.7-12.3 0-17l-28.3-28.3c-4.7-4.7-12.3-4.7-17 0L224 306.7l-48.1-48.1c-4.7-4.7-12.3-4.7-17 0l-28.3 28.3c-4.7 4.7-4.7 12.3 0 17l48.1 48.1-48.1 48.1c-4.7 4.7-4.7 12.3 0 17l28.3 28.3c4.7 4.7 12.3 4.7 17 0l48.1-48.1 48.1 48.1c4.7 4.7 12.3 4.7 17 0l28.3-28.3c4.7-4.7 4.7-12.3 0-17L269.3 352z"] };
  3289. var faCamera = { prefix: 'fas', iconName: 'camera', icon: [512, 512, [], "f030", "M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"] };
  3290. var faCameraRetro = { prefix: 'fas', iconName: 'camera-retro', icon: [512, 512, [], "f083", "M48 32C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm0 32h106c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H38c-3.3 0-6-2.7-6-6V80c0-8.8 7.2-16 16-16zm426 96H38c-3.3 0-6-2.7-6-6v-36c0-3.3 2.7-6 6-6h138l30.2-45.3c1.1-1.7 3-2.7 5-2.7H464c8.8 0 16 7.2 16 16v74c0 3.3-2.7 6-6 6zM256 424c-66.2 0-120-53.8-120-120s53.8-120 120-120 120 53.8 120 120-53.8 120-120 120zm0-208c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm-48 104c-8.8 0-16-7.2-16-16 0-35.3 28.7-64 64-64 8.8 0 16 7.2 16 16s-7.2 16-16 16c-17.6 0-32 14.4-32 32 0 8.8-7.2 16-16 16z"] };
  3291. var faCampground = { prefix: 'fas', iconName: 'campground', icon: [640, 512, [], "f6bb", "M624 448h-24.68L359.54 117.75l53.41-73.55c5.19-7.15 3.61-17.16-3.54-22.35l-25.9-18.79c-7.15-5.19-17.15-3.61-22.35 3.55L320 63.3 278.83 6.6c-5.19-7.15-15.2-8.74-22.35-3.55l-25.88 18.8c-7.15 5.19-8.74 15.2-3.54 22.35l53.41 73.55L40.68 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM320 288l116.36 160H203.64L320 288z"] };
  3292. var faCannabis = { prefix: 'fas', iconName: 'cannabis', icon: [512, 512, [], "f55f", "M503.47 360.25c-1.56-.82-32.39-16.89-76.78-25.81 64.25-75.12 84.05-161.67 84.93-165.64 1.18-5.33-.44-10.9-4.3-14.77-3.03-3.04-7.12-4.7-11.32-4.7-1.14 0-2.29.12-3.44.38-3.88.85-86.54 19.59-160.58 79.76.01-1.46.01-2.93.01-4.4 0-118.79-59.98-213.72-62.53-217.7A15.973 15.973 0 0 0 256 0c-5.45 0-10.53 2.78-13.47 7.37-2.55 3.98-62.53 98.91-62.53 217.7 0 1.47.01 2.94.01 4.4-74.03-60.16-156.69-78.9-160.58-79.76-1.14-.25-2.29-.38-3.44-.38-4.2 0-8.29 1.66-11.32 4.7A15.986 15.986 0 0 0 .38 168.8c.88 3.97 20.68 90.52 84.93 165.64-44.39 8.92-75.21 24.99-76.78 25.81a16.003 16.003 0 0 0-.02 28.29c2.45 1.29 60.76 31.72 133.49 31.72 6.14 0 11.96-.1 17.5-.31-11.37 22.23-16.52 38.31-16.81 39.22-1.8 5.68-.29 11.89 3.91 16.11a16.019 16.019 0 0 0 16.1 3.99c1.83-.57 37.72-11.99 77.3-39.29V504c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-64.01c39.58 27.3 75.47 38.71 77.3 39.29a16.019 16.019 0 0 0 16.1-3.99c4.2-4.22 5.71-10.43 3.91-16.11-.29-.91-5.45-16.99-16.81-39.22 5.54.21 11.37.31 17.5.31 72.72 0 131.04-30.43 133.49-31.72 5.24-2.78 8.52-8.22 8.51-14.15-.01-5.94-3.29-11.39-8.53-14.15z"] };
  3293. var faCapsules = { prefix: 'fas', iconName: 'capsules', icon: [576, 512, [], "f46b", "M555.3 300.1L424.2 112.8C401.9 81 366.4 64 330.4 64c-22.6 0-45.5 6.7-65.5 20.7-19.7 13.8-33.7 32.8-41.5 53.8C220.5 79.2 172 32 112 32 50.1 32 0 82.1 0 144v224c0 61.9 50.1 112 112 112s112-50.1 112-112V218.9c3.3 8.6 7.3 17.1 12.8 25L368 431.2c22.2 31.8 57.7 48.8 93.8 48.8 22.7 0 45.5-6.7 65.5-20.7 51.7-36.2 64.2-107.5 28-159.2zM160 256H64V144c0-26.5 21.5-48 48-48s48 21.5 48 48v112zm194.8 44.9l-65.6-93.7c-7.7-11-10.7-24.4-8.3-37.6 2.3-13.2 9.7-24.8 20.7-32.5 8.5-6 18.5-9.1 28.8-9.1 16.5 0 31.9 8 41.3 21.5l65.6 93.7-82.5 57.7z"] };
  3294. var faCar = { prefix: 'fas', iconName: 'car', icon: [512, 512, [], "f1b9", "M499.99 176h-59.87l-16.64-41.6C406.38 91.63 365.57 64 319.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4L71.87 176H12.01C4.2 176-1.53 183.34.37 190.91l6 24C7.7 220.25 12.5 224 18.01 224h20.07C24.65 235.73 16 252.78 16 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-19.22-8.65-36.27-22.07-48H494c5.51 0 10.31-3.75 11.64-9.09l6-24c1.89-7.57-3.84-14.91-11.65-14.91zm-352.06-17.83c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L384 208H128l19.93-49.83zM96 319.8c-19.2 0-32-12.76-32-31.9S76.8 256 96 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S396.8 256 416 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"] };
  3295. var faCarAlt = { prefix: 'fas', iconName: 'car-alt', icon: [480, 512, [], "f5de", "M438.66 212.33l-11.24-28.1-19.93-49.83C390.38 91.63 349.57 64 303.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4l-19.93 49.83-11.24 28.1C17.22 221.5 0 244.66 0 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-27.34-17.22-50.5-41.34-59.67zm-306.73-54.16c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L368 208H112l19.93-49.83zM80 319.8c-19.2 0-32-12.76-32-31.9S60.8 256 80 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S380.8 256 400 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"] };
  3296. var faCarBattery = { prefix: 'fas', iconName: 'car-battery', icon: [512, 512, [], "f5df", "M480 128h-32V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v48H192V80c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v48H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32V160c0-17.67-14.33-32-32-32zM192 264c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm256 0c0 4.42-3.58 8-8 8h-40v40c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-40h-40c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h40v-40c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v40h40c4.42 0 8 3.58 8 8v16z"] };
  3297. var faCarCrash = { prefix: 'fas', iconName: 'car-crash', icon: [640, 512, [], "f5e1", "M143.25 220.81l-12.42 46.37c-3.01 11.25-3.63 22.89-2.41 34.39l-35.2 28.98c-6.57 5.41-16.31-.43-14.62-8.77l15.44-76.68c1.06-5.26-2.66-10.28-8-10.79l-77.86-7.55c-8.47-.82-11.23-11.83-4.14-16.54l65.15-43.3c4.46-2.97 5.38-9.15 1.98-13.29L21.46 93.22c-5.41-6.57.43-16.3 8.78-14.62l76.68 15.44c5.26 1.06 10.28-2.66 10.8-8l7.55-77.86c.82-8.48 11.83-11.23 16.55-4.14l43.3 65.14c2.97 4.46 9.15 5.38 13.29 1.98l60.4-49.71c6.57-5.41 16.3.43 14.62 8.77L262.1 86.38c-2.71 3.05-5.43 6.09-7.91 9.4l-32.15 42.97-10.71 14.32c-32.73 8.76-59.18 34.53-68.08 67.74zm494.57 132.51l-12.42 46.36c-3.13 11.68-9.38 21.61-17.55 29.36a66.876 66.876 0 0 1-8.76 7l-13.99 52.23c-1.14 4.27-3.1 8.1-5.65 11.38-7.67 9.84-20.74 14.68-33.54 11.25L515 502.62c-17.07-4.57-27.2-22.12-22.63-39.19l8.28-30.91-247.28-66.26-8.28 30.91c-4.57 17.07-22.12 27.2-39.19 22.63l-30.91-8.28c-12.8-3.43-21.7-14.16-23.42-26.51-.57-4.12-.35-8.42.79-12.68l13.99-52.23a66.62 66.62 0 0 1-4.09-10.45c-3.2-10.79-3.65-22.52-.52-34.2l12.42-46.37c5.31-19.8 19.36-34.83 36.89-42.21a64.336 64.336 0 0 1 18.49-4.72l18.13-24.23 32.15-42.97c3.45-4.61 7.19-8.9 11.2-12.84 8-7.89 17.03-14.44 26.74-19.51 4.86-2.54 9.89-4.71 15.05-6.49 10.33-3.58 21.19-5.63 32.24-6.04 11.05-.41 22.31.82 33.43 3.8l122.68 32.87c11.12 2.98 21.48 7.54 30.85 13.43a111.11 111.11 0 0 1 34.69 34.5c8.82 13.88 14.64 29.84 16.68 46.99l6.36 53.29 3.59 30.05a64.49 64.49 0 0 1 22.74 29.93c4.39 11.88 5.29 25.19 1.75 38.39zM255.58 234.34c-18.55-4.97-34.21 4.04-39.17 22.53-4.96 18.49 4.11 34.12 22.65 39.09 18.55 4.97 45.54 15.51 50.49-2.98 4.96-18.49-15.43-53.67-33.97-58.64zm290.61 28.17l-6.36-53.29c-.58-4.87-1.89-9.53-3.82-13.86-5.8-12.99-17.2-23.01-31.42-26.82l-122.68-32.87a48.008 48.008 0 0 0-50.86 17.61l-32.15 42.97 172 46.08 75.29 20.18zm18.49 54.65c-18.55-4.97-53.8 15.31-58.75 33.79-4.95 18.49 23.69 22.86 42.24 27.83 18.55 4.97 34.21-4.04 39.17-22.53 4.95-18.48-4.11-34.12-22.66-39.09z"] };
  3298. var faCarSide = { prefix: 'fas', iconName: 'car-side', icon: [640, 512, [], "f5e4", "M544 192h-16L419.22 56.02A64.025 64.025 0 0 0 369.24 32H155.33c-26.17 0-49.7 15.93-59.42 40.23L48 194.26C20.44 201.4 0 226.21 0 256v112c0 8.84 7.16 16 16 16h48c0 53.02 42.98 96 96 96s96-42.98 96-96h128c0 53.02 42.98 96 96 96s96-42.98 96-96h48c8.84 0 16-7.16 16-16v-80c0-53.02-42.98-96-96-96zM160 432c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48zm72-240H116.93l38.4-96H232v96zm48 0V96h89.24l76.8 96H280zm200 240c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48z"] };
  3299. var faCaretDown = { prefix: 'fas', iconName: 'caret-down', icon: [320, 512, [], "f0d7", "M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"] };
  3300. var faCaretLeft = { prefix: 'fas', iconName: 'caret-left', icon: [192, 512, [], "f0d9", "M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"] };
  3301. var faCaretRight = { prefix: 'fas', iconName: 'caret-right', icon: [192, 512, [], "f0da", "M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"] };
  3302. var faCaretSquareDown = { prefix: 'fas', iconName: 'caret-square-down', icon: [448, 512, [], "f150", "M448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM92.5 220.5l123 123c4.7 4.7 12.3 4.7 17 0l123-123c7.6-7.6 2.2-20.5-8.5-20.5H101c-10.7 0-16.1 12.9-8.5 20.5z"] };
  3303. var faCaretSquareLeft = { prefix: 'fas', iconName: 'caret-square-left', icon: [448, 512, [], "f191", "M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zM259.515 124.485l-123.03 123.03c-4.686 4.686-4.686 12.284 0 16.971l123.029 123.029c7.56 7.56 20.485 2.206 20.485-8.485V132.971c.001-10.691-12.925-16.045-20.484-8.486z"] };
  3304. var faCaretSquareRight = { prefix: 'fas', iconName: 'caret-square-right', icon: [448, 512, [], "f152", "M48 32h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48zm140.485 355.515l123.029-123.029c4.686-4.686 4.686-12.284 0-16.971l-123.029-123.03c-7.56-7.56-20.485-2.206-20.485 8.485v246.059c0 10.691 12.926 16.045 20.485 8.486z"] };
  3305. var faCaretSquareUp = { prefix: 'fas', iconName: 'caret-square-up', icon: [448, 512, [], "f151", "M0 432V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48zm355.515-140.485l-123.03-123.03c-4.686-4.686-12.284-4.686-16.971 0L92.485 291.515c-7.56 7.56-2.206 20.485 8.485 20.485h246.059c10.691 0 16.045-12.926 8.486-20.485z"] };
  3306. var faCaretUp = { prefix: 'fas', iconName: 'caret-up', icon: [320, 512, [], "f0d8", "M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"] };
  3307. var faCartArrowDown = { prefix: 'fas', iconName: 'cart-arrow-down', icon: [576, 512, [], "f218", "M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM403.029 192H360v-60c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v60h-43.029c-10.691 0-16.045 12.926-8.485 20.485l67.029 67.029c4.686 4.686 12.284 4.686 16.971 0l67.029-67.029c7.559-7.559 2.205-20.485-8.486-20.485z"] };
  3308. var faCartPlus = { prefix: 'fas', iconName: 'cart-plus', icon: [576, 512, [], "f217", "M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z"] };
  3309. var faCat = { prefix: 'fas', iconName: 'cat', icon: [512, 512, [], "f6be", "M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"] };
  3310. var faCertificate = { prefix: 'fas', iconName: 'certificate', icon: [512, 512, [], "f0a3", "M458.622 255.92l45.985-45.005c13.708-12.977 7.316-36.039-10.664-40.339l-62.65-15.99 17.661-62.015c4.991-17.838-11.829-34.663-29.661-29.671l-61.994 17.667-15.984-62.671C337.085.197 313.765-6.276 300.99 7.228L256 53.57 211.011 7.229c-12.63-13.351-36.047-7.234-40.325 10.668l-15.984 62.671-61.995-17.667C74.87 57.907 58.056 74.738 63.046 92.572l17.661 62.015-62.65 15.99C.069 174.878-6.31 197.944 7.392 210.915l45.985 45.005-45.985 45.004c-13.708 12.977-7.316 36.039 10.664 40.339l62.65 15.99-17.661 62.015c-4.991 17.838 11.829 34.663 29.661 29.671l61.994-17.667 15.984 62.671c4.439 18.575 27.696 24.018 40.325 10.668L256 458.61l44.989 46.001c12.5 13.488 35.987 7.486 40.325-10.668l15.984-62.671 61.994 17.667c17.836 4.994 34.651-11.837 29.661-29.671l-17.661-62.015 62.65-15.99c17.987-4.302 24.366-27.367 10.664-40.339l-45.984-45.004z"] };
  3311. var faChair = { prefix: 'fas', iconName: 'chair', icon: [448, 512, [], "f6c0", "M446.33 341.88l-10.67-32A31.996 31.996 0 0 0 405.3 288H42.69c-13.77 0-26 8.81-30.36 21.88l-10.67 32C-5.24 362.6 10.18 384 32.03 384H32v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h256v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-.03c21.85 0 37.27-21.4 30.36-42.12zM112 128c0-29.48 16.2-54.99 40-68.87V256h48V48h48v208h48V59.13c23.8 13.88 40 39.39 40 68.87v128h48V128C384 57.31 326.69 0 256 0h-64C121.31 0 64 57.31 64 128v128h48V128z"] };
  3312. var faChalkboard = { prefix: 'fas', iconName: 'chalkboard', icon: [640, 512, [], "f51b", "M96 64h448v352h64V40c0-22.06-17.94-40-40-40H72C49.94 0 32 17.94 32 40v376h64V64zm528 384H480v-64H288v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3313. var faChalkboardTeacher = { prefix: 'fas', iconName: 'chalkboard-teacher', icon: [640, 512, [], "f51c", "M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40.95-6.91-2.28-.74-4.66-1.09-7.05-1.09C49.94 352-.33 402.48 0 464.62.14 490.88 21.73 512 48 512h224c26.27 0 47.86-21.12 48-47.38.33-62.14-49.94-112.62-112-112.62zm-48-32c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96zM592 0H208c-26.47 0-48 22.25-48 49.59V96c23.42 0 45.1 6.78 64 17.8V64h352v288h-64v-64H384v64h-76.24c19.1 16.69 33.12 38.73 39.69 64H592c26.47 0 48-22.25 48-49.59V49.59C640 22.25 618.47 0 592 0z"] };
  3314. var faChargingStation = { prefix: 'fas', iconName: 'charging-station', icon: [576, 512, [], "f5e7", "M336 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h320c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm208-320V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-32V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-16c-8.84 0-16 7.16-16 16v32c0 35.76 23.62 65.69 56 75.93v118.49c0 13.95-9.5 26.92-23.26 29.19C431.22 402.5 416 388.99 416 372v-28c0-48.6-39.4-88-88-88h-8V64c0-35.35-28.65-64-64-64H96C60.65 0 32 28.65 32 64v352h288V304h8c22.09 0 40 17.91 40 40v24.61c0 39.67 28.92 75.16 68.41 79.01C481.71 452.05 520 416.41 520 372V251.93c32.38-10.24 56-40.17 56-75.93v-32c0-8.84-7.16-16-16-16h-16zm-283.91 47.76l-93.7 139c-2.2 3.33-6.21 5.24-10.39 5.24-7.67 0-13.47-6.28-11.67-12.92L167.35 224H108c-7.25 0-12.85-5.59-11.89-11.89l16-107C112.9 99.9 117.98 96 124 96h68c7.88 0 13.62 6.54 11.6 13.21L192 160h57.7c9.24 0 15.01 8.78 10.39 15.76z"] };
  3315. var faChartArea = { prefix: 'fas', iconName: 'chart-area', icon: [512, 512, [], "f1fe", "M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z"] };
  3316. var faChartBar = { prefix: 'fas', iconName: 'chart-bar', icon: [512, 512, [], "f080", "M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3317. var faChartLine = { prefix: 'fas', iconName: 'chart-line', icon: [512, 512, [], "f201", "M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"] };
  3318. var faChartPie = { prefix: 'fas', iconName: 'chart-pie', icon: [544, 512, [], "f200", "M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"] };
  3319. var faCheck = { prefix: 'fas', iconName: 'check', icon: [512, 512, [], "f00c", "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"] };
  3320. var faCheckCircle = { prefix: 'fas', iconName: 'check-circle', icon: [512, 512, [], "f058", "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"] };
  3321. var faCheckDouble = { prefix: 'fas', iconName: 'check-double', icon: [512, 512, [], "f560", "M504.5 171.95l-36.2-36.41c-10-10.05-26.21-10.05-36.2 0L192 377.02 79.9 264.28c-10-10.06-26.21-10.06-36.2 0L7.5 300.69c-10 10.05-10 26.36 0 36.41l166.4 167.36c10 10.06 26.21 10.06 36.2 0l294.4-296.09c10-10.06 10-26.36 0-36.42zM166.57 282.71c6.84 7.02 18.18 7.02 25.21.18L403.85 72.62c7.02-6.84 7.02-18.18.18-25.21L362.08 5.29c-6.84-7.02-18.18-7.02-25.21-.18L179.71 161.19l-68.23-68.77c-6.84-7.02-18.18-7.02-25.2-.18l-42.13 41.77c-7.02 6.84-7.02 18.18-.18 25.2l122.6 123.5z"] };
  3322. var faCheckSquare = { prefix: 'fas', iconName: 'check-square', icon: [448, 512, [], "f14a", "M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"] };
  3323. var faChess = { prefix: 'fas', iconName: 'chess', icon: [512, 512, [], "f439", "M199.821 217.633a6 6 0 0 1 6 6l-.001 20.766a6 6 0 0 1-6 6h-25.805c0 31.715-2.153 96.201 17.398 153.229H64.597C84.54 345.452 82.02 279.245 82.02 250.399H56.183a6 6 0 0 1-6-6l.002-20.766a6 6 0 0 1 6-6h143.636zM41.554 115.088l34.58 95.071h103.734l34.572-95.072c2.846-7.826-2.95-16.101-11.278-16.101H152v-30.22h21.57a6 6 0 0 0 6-6V40.383a6 6 0 0 0-6-6h-28.367V6a6 6 0 0 0-6-6H116.82a6 6 0 0 0-6 6v28.383H82.421a6 6 0 0 0-6 6v22.383a6 6 0 0 0 6 6H104v30.219H52.831c-8.328.001-14.124 8.276-11.277 16.103zM222.678 445.17v-28.067a6 6 0 0 0-6-6H39.322a6 6 0 0 0-6 6v28.067l-22.148 14.164a6 6 0 0 0-2.767 5.055V506a6 6 0 0 0 6 6h227.187a6 6 0 0 0 6-6v-41.612a6 6 0 0 0-2.767-5.055l-22.149-14.163zm90.578-144.225l24.88 16.963c.09 18.124-.167 63.904-11.905 114.522h147.526c-11.713-50.475-11.969-96.324-11.882-114.537l24.859-16.949a3.856 3.856 0 0 0 1.684-3.187v-69.901a3.857 3.857 0 0 0-3.857-3.857h-27.655a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.858-3.857h-52.918a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.857-3.857H315.43a3.857 3.857 0 0 0-3.857 3.857v69.901a3.855 3.855 0 0 0 1.683 3.188zm71.585 51.906c0-8.372 6.787-15.158 15.159-15.158s15.158 6.787 15.158 15.158v30.318h-30.317v-30.318zM504.62 470.059l-13.664-10.639v-15.552a3.857 3.857 0 0 0-3.857-3.857H312.915a3.857 3.857 0 0 0-3.857 3.857v15.552l-13.677 10.639a3.857 3.857 0 0 0-1.488 3.044v35.039a3.857 3.857 0 0 0 3.857 3.857h204.5a3.857 3.857 0 0 0 3.857-3.857v-35.04a3.859 3.859 0 0 0-1.487-3.043z"] };
  3324. var faChessBishop = { prefix: 'fas', iconName: 'chess-bishop', icon: [320, 512, [], "f43a", "M123.158 77.881C107.369 72.53 96 57.597 96 40c0-22.091 17.909-40 40-40h47.796c22.091 0 40 17.909 40 40 0 17.541-11.295 32.434-27.005 37.829 23.993 16.657 48.577 46.839 68.703 82.05L144.929 280.443a6 6 0 0 0 0 8.485l14.142 14.142a6 6 0 0 0 8.485 0L280.9 189.726c17.758 38.297 29.371 79.443 29.371 114.273 0 53.786-22.897 75.788-58.446 86.033V448H68.174v-57.97C32.631 379.784 9.739 357.781 9.739 304c0-78.029 58.281-187.766 113.419-226.119zM320 500v-24c0-6.627-5.373-12-12-12H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h296c6.627 0 12-5.373 12-12z"] };
  3325. var faChessBoard = { prefix: 'fas', iconName: 'chess-board', icon: [512, 512, [], "f43c", "M256 256v64h-64v-64h64zm0-256h-64v64h64V0zm0 256h64v-64h-64v64zM384 0h-64v64h64V0zm0 512h64v-64h-64v64zm128-64v-64h-64v64h64zm-384 64h64v-64h-64v64zm0-512H64v64h64V0zm384 192v-64h-64v64h64zm0 128v-64h-64v64h64zM0 512h64v-64H0v64zM0 64v64h64V64H0zm0 128v64h64v-64H0zm0 128v64h64v-64H0zm256 192h64v-64h-64v64zm-64-128v64h64v-64h-64zm64-192v-64h-64v64h64zM64 384v64h64v-64H64zm64-128H64v64h64v-64zm256 128h64v-64h-64v64zM512 0h-64v64h64V0zM384 256h64v-64h-64v64zm0-192v64h64V64h-64zm-64 320v64h64v-64h-64zm-192-64v64h64v-64h-64zm128 0v64h64v-64h-64zm-64-128h-64v64h64v-64zm-64-64H64v64h64v-64zm192 192h64v-64h-64v64zM192 128V64h-64v64h64zm128 0V64h-64v64h64zm0 64h64v-64h-64v64z"] };
  3326. var faChessKing = { prefix: 'fas', iconName: 'chess-king', icon: [448, 512, [], "f43f", "M416 476v24c0 6.627-5.373 12-12 12H44c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12zm-8.033-324H248v-48h50a6 6 0 0 0 6-6V62a6 6 0 0 0-6-6h-50V6a6 6 0 0 0-6-6h-36a6 6 0 0 0-6 6v50h-50a6 6 0 0 0-6 6v36a6 6 0 0 0 6 6h50v48H40.033c-27.574 0-46.879 27.244-37.738 53.259L87.582 448h272.836l85.287-242.741C454.846 179.244 435.541 152 407.967 152z"] };
  3327. var faChessKnight = { prefix: 'fas', iconName: 'chess-knight', icon: [384, 512, [], "f441", "M352 224v224H32v-46.557c0-30.302 17.12-58.003 44.223-71.554l57.243-28.622A48 48 0 0 0 160 258.334V208l-22.127 11.063a23.996 23.996 0 0 0-12.55 15.645l-11.835 47.338a12 12 0 0 1-7.185 8.231l-29.601 11.84a11.998 11.998 0 0 1-9.33-.176L7.126 275.167A12 12 0 0 1 0 264.201v-158.26c0-6.365 2.529-12.47 7.03-16.971L16 80 1.789 51.578A16.937 16.937 0 0 1 0 44c0-6.627 5.373-12 12-12h148c106.039 0 192 85.961 192 192zm20 240H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12zM52 128c-11.046 0-20 8.954-20 20s8.954 20 20 20 20-8.954 20-20-8.954-20-20-20z"] };
  3328. var faChessPawn = { prefix: 'fas', iconName: 'chess-pawn', icon: [320, 512, [], "f443", "M264 448H56s60-42.743 60-176H84c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h40.209C95.721 210.56 76 181.588 76 148c0-46.392 37.608-84 84-84s84 37.608 84 84c0 33.588-19.721 62.56-48.209 76H236c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12h-32c0 133.257 60 176 60 176zm28 16H28c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h264c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12z"] };
  3329. var faChessQueen = { prefix: 'fas', iconName: 'chess-queen', icon: [512, 512, [], "f445", "M436 512H76c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12zM255.579 0c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zm204.568 154.634c-5.768-3.045-12.916-.932-16.082 4.77-8.616 15.516-22.747 37.801-44.065 37.801-28.714 0-30.625-19.804-31.686-57.542-.183-6.492-5.501-11.664-11.995-11.664h-41.006c-5.175 0-9.754 3.328-11.388 8.238-8.89 26.709-26.073 40.992-47.925 40.992s-39.034-14.283-47.925-40.992c-1.634-4.91-6.213-8.238-11.388-8.238h-41.005c-6.495 0-11.813 5.174-11.995 11.667-1.052 37.642-2.934 57.539-31.688 57.539-20.691 0-33.817-20.224-44.425-38.025-3.266-5.48-10.258-7.431-15.899-4.453l-39.179 20.679a12 12 0 0 0-5.51 15.145L112 448h288l105.014-257.448a12 12 0 0 0-5.51-15.145l-39.357-20.773z"] };
  3330. var faChessRook = { prefix: 'fas', iconName: 'chess-rook', icon: [384, 512, [], "f447", "M81.241 215.027C80.957 258.92 77.411 348.076 48 448h287.982c-29.4-99.604-32.936-188.912-33.221-232.975l45.418-42.312a11.998 11.998 0 0 0 3.82-8.78V44c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v44h-48V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v44H96V44c0-6.627-5.373-12-12-12H44c-6.627 0-12 5.373-12 12v119.932c0 3.33 1.384 6.51 3.82 8.78l45.421 42.315zM160 256c0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32v64.004h-64V256zm224 220v24c0 6.627-5.373 12-12 12H12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12z"] };
  3331. var faChevronCircleDown = { prefix: 'fas', iconName: 'chevron-circle-down', icon: [512, 512, [], "f13a", "M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM273 369.9l135.5-135.5c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L256 285.1 154.4 183.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L239 369.9c9.4 9.4 24.6 9.4 34 0z"] };
  3332. var faChevronCircleLeft = { prefix: 'fas', iconName: 'chevron-circle-left', icon: [512, 512, [], "f137", "M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"] };
  3333. var faChevronCircleRight = { prefix: 'fas', iconName: 'chevron-circle-right', icon: [512, 512, [], "f138", "M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z"] };
  3334. var faChevronCircleUp = { prefix: 'fas', iconName: 'chevron-circle-up', icon: [512, 512, [], "f139", "M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm231-113.9L103.5 277.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L256 226.9l101.6 101.6c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L273 142.1c-9.4-9.4-24.6-9.4-34 0z"] };
  3335. var faChevronDown = { prefix: 'fas', iconName: 'chevron-down', icon: [448, 512, [], "f078", "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"] };
  3336. var faChevronLeft = { prefix: 'fas', iconName: 'chevron-left', icon: [320, 512, [], "f053", "M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"] };
  3337. var faChevronRight = { prefix: 'fas', iconName: 'chevron-right', icon: [320, 512, [], "f054", "M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"] };
  3338. var faChevronUp = { prefix: 'fas', iconName: 'chevron-up', icon: [448, 512, [], "f077", "M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"] };
  3339. var faChild = { prefix: 'fas', iconName: 'child', icon: [384, 512, [], "f1ae", "M120 72c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.764-32.235 72-72 72s-72-32.236-72-72zm254.627 1.373c-12.496-12.497-32.758-12.497-45.254 0L242.745 160H141.254L54.627 73.373c-12.496-12.497-32.758-12.497-45.254 0-12.497 12.497-12.497 32.758 0 45.255L104 213.254V480c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V368h16v112c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V213.254l94.627-94.627c12.497-12.497 12.497-32.757 0-45.254z"] };
  3340. var faChurch = { prefix: 'fas', iconName: 'church', icon: [640, 512, [], "f51d", "M464.46 246.68L352 179.2V128h48c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-48V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v48h-48c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h48v51.2l-112.46 67.48A31.997 31.997 0 0 0 160 274.12V512h96v-96c0-35.35 28.65-64 64-64s64 28.65 64 64v96h96V274.12c0-11.24-5.9-21.66-15.54-27.44zM0 395.96V496c0 8.84 7.16 16 16 16h112V320L19.39 366.54A32.024 32.024 0 0 0 0 395.96zm620.61-29.42L512 320v192h112c8.84 0 16-7.16 16-16V395.96c0-12.8-7.63-24.37-19.39-29.42z"] };
  3341. var faCircle = { prefix: 'fas', iconName: 'circle', icon: [512, 512, [], "f111", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"] };
  3342. var faCircleNotch = { prefix: 'fas', iconName: 'circle-notch', icon: [512, 512, [], "f1ce", "M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"] };
  3343. var faCity = { prefix: 'fas', iconName: 'city', icon: [640, 512, [], "f64f", "M616 192H480V24c0-13.26-10.74-24-24-24H312c-13.26 0-24 10.74-24 24v72h-64V16c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v80h-64V16c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v80H24c-13.26 0-24 10.74-24 24v360c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V216c0-13.26-10.75-24-24-24zM128 404c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm128 192c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12V76c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 288c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40z"] };
  3344. var faClipboard = { prefix: 'fas', iconName: 'clipboard', icon: [384, 512, [], "f328", "M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z"] };
  3345. var faClipboardCheck = { prefix: 'fas', iconName: 'clipboard-check', icon: [384, 512, [], "f46c", "M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm121.2 231.8l-143 141.8c-4.7 4.7-12.3 4.6-17-.1l-82.6-83.3c-4.7-4.7-4.6-12.3.1-17L99.1 285c4.7-4.7 12.3-4.6 17 .1l46 46.4 106-105.2c4.7-4.7 12.3-4.6 17 .1l28.2 28.4c4.7 4.8 4.6 12.3-.1 17z"] };
  3346. var faClipboardList = { prefix: 'fas', iconName: 'clipboard-list', icon: [384, 512, [], "f46d", "M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"] };
  3347. var faClock = { prefix: 'fas', iconName: 'clock', icon: [512, 512, [], "f017", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm57.1 350.1L224.9 294c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v137.7l63.5 46.2c5.4 3.9 6.5 11.4 2.6 16.8l-28.2 38.8c-3.9 5.3-11.4 6.5-16.8 2.6z"] };
  3348. var faClone = { prefix: 'fas', iconName: 'clone', icon: [512, 512, [], "f24d", "M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z"] };
  3349. var faClosedCaptioning = { prefix: 'fas', iconName: 'closed-captioning', icon: [512, 512, [], "f20a", "M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM218.1 287.7c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2.1 48 51.1 70.5 92.3 32.6zm190.4 0c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.5 56.9-172.7 32.1-172.7-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 222.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6z"] };
  3350. var faCloud = { prefix: 'fas', iconName: 'cloud', icon: [640, 512, [], "f0c2", "M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"] };
  3351. var faCloudDownloadAlt = { prefix: 'fas', iconName: 'cloud-download-alt', icon: [640, 512, [], "f381", "M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zm-132.9 88.7L299.3 420.7c-6.2 6.2-16.4 6.2-22.6 0L171.3 315.3c-10.1-10.1-2.9-27.3 11.3-27.3H248V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v112h65.4c14.2 0 21.4 17.2 11.3 27.3z"] };
  3352. var faCloudMoon = { prefix: 'fas', iconName: 'cloud-moon', icon: [640, 512, [], "f6c3", "M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.3 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm285.26-29.42c-104.23 19.22-199.95-58.16-199.95-160.03 0-58.68 32.45-112.64 85.18-141.7 8.13-4.48 6.08-16.41-3.15-18.06C497.14 1.17 484 0 470.84 0 352.25 0 256 93.04 256 208c0 7.26.4 14.44 1.15 21.51 9.87-3.38 20.18-5.51 30.85-5.51 52.94 0 96 43.06 96 96 0 3.59-.21 7.17-.63 10.73 33.49 15.39 57.47 46.55 63.24 83.86 7.96.87 16.03 1.41 24.23 1.41 66.26 0 126.79-29.19 166.88-77.02 5.93-7.07-.54-17.41-9.71-15.72z"] };
  3353. var faCloudSun = { prefix: 'fas', iconName: 'cloud-sun', icon: [640, 512, [], "f6c4", "M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.31 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm243.19-99.8c-7.85-6.79-7.85-18.97 0-25.76L633.41 186c12.76-11.05 5.84-32.02-11-33.3l-61.59-4.67c-10.19-.78-17.28-10.49-14.9-20.43l14.95-62.48c3.89-16.26-13.96-29.02-28.08-20.07l-52.51 33.26c-8.61 5.46-20.06 1.75-23.85-7.72l-23.47-58.74c-6.32-15.81-28.19-15.81-34.51 0l-23.38 58.49c-3.83 9.59-15.44 13.35-24.17 7.82l-52.29-33.12c-14.13-8.95-31.98 3.81-28.08 20.07l14.95 62.48c2.38 9.94-4.7 19.65-14.9 20.43l-61.15 4.64c-17 1.29-23.99 22.46-11.1 33.62l31.23 27.05c7.82 5.17 15.21 11.01 21.78 17.84 11.42-4.71 23.73-7.18 36.37-7.18 5.97 0 11.77.71 17.44 1.76 7.09-54.98 53.68-97.76 110.56-97.76 61.76 0 112 50.24 112 112s-50.24 112-112 112c-.95 0-1.83-.26-2.77-.28 13.83 13.2 24.61 29.47 30.16 48.28h27.02c6.25 0 12.37 1.83 17.6 5.27l45.08 29.68c14.19 8.99 31.89-4.17 27.92-20.76l-14.69-61.38c-2.43-10.16 4.8-20.08 15.22-20.87l61.16-4.64c16.84-1.28 23.76-22.25 11-33.3l-47.47-41.11zm-202.66 59.94C393.3 317.34 404.32 320 416 320c44.11 0 80-35.89 80-80s-35.89-80-80-80c-43.25 0-78.39 34.56-79.75 77.49 26.44 15.53 44.59 43.13 47.03 75.33z"] };
  3354. var faCloudUploadAlt = { prefix: 'fas', iconName: 'cloud-upload-alt', icon: [640, 512, [], "f382", "M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"] };
  3355. var faCocktail = { prefix: 'fas', iconName: 'cocktail', icon: [576, 512, [], "f561", "M296 464h-56V338.78l168.74-168.73c15.52-15.52 4.53-42.05-17.42-42.05H24.68c-21.95 0-32.94 26.53-17.42 42.05L176 338.78V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40zM432 0c-62.61 0-115.35 40.2-135.18 96h52.54c16.65-28.55 47.27-48 82.64-48 52.93 0 96 43.06 96 96s-43.07 96-96 96c-14.04 0-27.29-3.2-39.32-8.64l-35.26 35.26C379.23 279.92 404.59 288 432 288c79.53 0 144-64.47 144-144S511.53 0 432 0z"] };
  3356. var faCode = { prefix: 'fas', iconName: 'code', icon: [640, 512, [], "f121", "M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"] };
  3357. var faCodeBranch = { prefix: 'fas', iconName: 'code-branch', icon: [384, 512, [], "f126", "M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"] };
  3358. var faCoffee = { prefix: 'fas', iconName: 'coffee', icon: [640, 512, [], "f0f4", "M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"] };
  3359. var faCog = { prefix: 'fas', iconName: 'cog', icon: [512, 512, [], "f013", "M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"] };
  3360. var faCogs = { prefix: 'fas', iconName: 'cogs', icon: [640, 512, [], "f085", "M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"] };
  3361. var faCoins = { prefix: 'fas', iconName: 'coins', icon: [512, 512, [], "f51e", "M0 405.3V448c0 35.3 86 64 192 64s192-28.7 192-64v-42.7C342.7 434.4 267.2 448 192 448S41.3 434.4 0 405.3zM320 128c106 0 192-28.7 192-64S426 0 320 0 128 28.7 128 64s86 64 192 64zM0 300.4V352c0 35.3 86 64 192 64s192-28.7 192-64v-51.6c-41.3 34-116.9 51.6-192 51.6S41.3 334.4 0 300.4zm416 11c57.3-11.1 96-31.7 96-55.4v-42.7c-23.2 16.4-57.3 27.6-96 34.5v63.6zM192 160C86 160 0 195.8 0 240s86 80 192 80 192-35.8 192-80-86-80-192-80zm219.3 56.3c60-10.8 100.7-32 100.7-56.3v-42.7c-35.5 25.1-96.5 38.6-160.7 41.8 29.5 14.3 51.2 33.5 60 57.2z"] };
  3362. var faColumns = { prefix: 'fas', iconName: 'columns', icon: [512, 512, [], "f0db", "M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"] };
  3363. var faComment = { prefix: 'fas', iconName: 'comment', icon: [512, 512, [], "f075", "M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"] };
  3364. var faCommentAlt = { prefix: 'fas', iconName: 'comment-alt', icon: [512, 512, [], "f27a", "M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"] };
  3365. var faCommentDollar = { prefix: 'fas', iconName: 'comment-dollar', icon: [512, 512, [], "f651", "M256 32C114.62 32 0 125.12 0 240c0 49.56 21.41 95.01 57.02 130.74C44.46 421.05 2.7 465.97 2.2 466.5A7.995 7.995 0 0 0 8 480c66.26 0 115.99-31.75 140.6-51.38C181.29 440.93 217.59 448 256 448c141.38 0 256-93.12 256-208S397.38 32 256 32zm24 302.44V352c0 8.84-7.16 16-16 16h-16c-8.84 0-16-7.16-16-16v-17.73c-11.42-1.35-22.28-5.19-31.78-11.46-6.22-4.11-6.82-13.11-1.55-18.38l17.52-17.52c3.74-3.74 9.31-4.24 14.11-2.03 3.18 1.46 6.66 2.22 10.26 2.22h32.78c4.66 0 8.44-3.78 8.44-8.42 0-3.75-2.52-7.08-6.12-8.11l-50.07-14.3c-22.25-6.35-40.01-24.71-42.91-47.67-4.05-32.07 19.03-59.43 49.32-63.05V128c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v17.73c11.42 1.35 22.28 5.19 31.78 11.46 6.22 4.11 6.82 13.11 1.55 18.38l-17.52 17.52c-3.74 3.74-9.31 4.24-14.11 2.03a24.516 24.516 0 0 0-10.26-2.22h-32.78c-4.66 0-8.44 3.78-8.44 8.42 0 3.75 2.52 7.08 6.12 8.11l50.07 14.3c22.25 6.36 40.01 24.71 42.91 47.67 4.05 32.06-19.03 59.42-49.32 63.04z"] };
  3366. var faCommentDots = { prefix: 'fas', iconName: 'comment-dots', icon: [512, 512, [], "f4ad", "M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3367. var faCommentSlash = { prefix: 'fas', iconName: 'comment-slash', icon: [640, 512, [], "f4b3", "M64 240c0 49.6 21.4 95 57 130.7-12.6 50.3-54.3 95.2-54.8 95.8-2.2 2.3-2.8 5.7-1.5 8.7 1.3 2.9 4.1 4.8 7.3 4.8 66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 27.4 0 53.7-3.6 78.4-10L72.9 186.4c-5.6 17.1-8.9 35-8.9 53.6zm569.8 218.1l-114.4-88.4C554.6 334.1 576 289.2 576 240c0-114.9-114.6-208-256-208-65.1 0-124.2 20.1-169.4 52.7L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3z"] };
  3368. var faComments = { prefix: 'fas', iconName: 'comments', icon: [576, 512, [], "f086", "M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"] };
  3369. var faCommentsDollar = { prefix: 'fas', iconName: 'comments-dollar', icon: [576, 512, [], "f653", "M416 192c0-88.37-93.12-160-208-160S0 103.63 0 192c0 34.27 14.13 65.95 37.97 91.98C24.61 314.22 2.52 338.16 2.2 338.5A7.995 7.995 0 0 0 8 352c36.58 0 66.93-12.25 88.73-24.98C128.93 342.76 167.02 352 208 352c114.88 0 208-71.63 208-160zm-224 96v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V96c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07V288c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm346.01 123.99C561.87 385.96 576 354.27 576 320c0-66.94-53.49-124.2-129.33-148.07.86 6.6 1.33 13.29 1.33 20.07 0 105.87-107.66 192-240 192-10.78 0-21.32-.77-31.73-1.88C207.8 439.63 281.77 480 368 480c40.98 0 79.07-9.24 111.27-24.98C501.07 467.75 531.42 480 568 480c3.2 0 6.09-1.91 7.34-4.84 1.27-2.94.66-6.34-1.55-8.67-.31-.33-22.42-24.24-35.78-54.5z"] };
  3370. var faCompactDisc = { prefix: 'fas', iconName: 'compact-disc', icon: [496, 512, [], "f51f", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM88 256H56c0-105.9 86.1-192 192-192v32c-88.2 0-160 71.8-160 160zm160 96c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"] };
  3371. var faCompass = { prefix: 'fas', iconName: 'compass', icon: [496, 512, [], "f14e", "M225.38 233.37c-12.5 12.5-12.5 32.76 0 45.25 12.49 12.5 32.76 12.5 45.25 0 12.5-12.5 12.5-32.76 0-45.25-12.5-12.49-32.76-12.49-45.25 0zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm126.14 148.05L308.17 300.4a31.938 31.938 0 0 1-15.77 15.77l-144.34 65.97c-16.65 7.61-33.81-9.55-26.2-26.2l65.98-144.35a31.938 31.938 0 0 1 15.77-15.77l144.34-65.97c16.65-7.6 33.8 9.55 26.19 26.2z"] };
  3372. var faCompress = { prefix: 'fas', iconName: 'compress', icon: [448, 512, [], "f066", "M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v84H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-84h84c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z"] };
  3373. var faConciergeBell = { prefix: 'fas', iconName: 'concierge-bell', icon: [512, 512, [], "f562", "M288 130.54V112h16c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h16v18.54C115.49 146.11 32 239.18 32 352h448c0-112.82-83.49-205.89-192-221.46zM496 384H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3374. var faCookie = { prefix: 'fas', iconName: 'cookie', icon: [512, 512, [], "f563", "M510.37 254.79l-12.08-76.26a132.493 132.493 0 0 0-37.16-72.95l-54.76-54.75c-19.73-19.72-45.18-32.7-72.71-37.05l-76.7-12.15c-27.51-4.36-55.69.11-80.52 12.76L107.32 49.6a132.25 132.25 0 0 0-57.79 57.8l-35.1 68.88a132.602 132.602 0 0 0-12.82 80.94l12.08 76.27a132.493 132.493 0 0 0 37.16 72.95l54.76 54.75a132.087 132.087 0 0 0 72.71 37.05l76.7 12.14c27.51 4.36 55.69-.11 80.52-12.75l69.12-35.21a132.302 132.302 0 0 0 57.79-57.8l35.1-68.87c12.71-24.96 17.2-53.3 12.82-80.96zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3375. var faCookieBite = { prefix: 'fas', iconName: 'cookie-bite', icon: [512, 512, [], "f564", "M510.52 255.82c-69.97-.85-126.47-57.69-126.47-127.86-70.17 0-127-56.49-127.86-126.45-27.26-4.14-55.13.3-79.72 12.82l-69.13 35.22a132.221 132.221 0 0 0-57.79 57.81l-35.1 68.88a132.645 132.645 0 0 0-12.82 80.95l12.08 76.27a132.521 132.521 0 0 0 37.16 72.96l54.77 54.76a132.036 132.036 0 0 0 72.71 37.06l76.71 12.15c27.51 4.36 55.7-.11 80.53-12.76l69.13-35.21a132.273 132.273 0 0 0 57.79-57.81l35.1-68.88c12.56-24.64 17.01-52.58 12.91-79.91zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3376. var faCopy = { prefix: 'fas', iconName: 'copy', icon: [448, 512, [], "f0c5", "M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"] };
  3377. var faCopyright = { prefix: 'fas', iconName: 'copyright', icon: [512, 512, [], "f1f9", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm117.134 346.753c-1.592 1.867-39.776 45.731-109.851 45.731-84.692 0-144.484-63.26-144.484-145.567 0-81.303 62.004-143.401 143.762-143.401 66.957 0 101.965 37.315 103.422 38.904a12 12 0 0 1 1.238 14.623l-22.38 34.655c-4.049 6.267-12.774 7.351-18.234 2.295-.233-.214-26.529-23.88-61.88-23.88-46.116 0-73.916 33.575-73.916 76.082 0 39.602 25.514 79.692 74.277 79.692 38.697 0 65.28-28.338 65.544-28.625 5.132-5.565 14.059-5.033 18.508 1.053l24.547 33.572a12.001 12.001 0 0 1-.553 14.866z"] };
  3378. var faCouch = { prefix: 'fas', iconName: 'couch', icon: [640, 512, [], "f4b8", "M160 224v64h320v-64c0-35.3 28.7-64 64-64h32c0-53-43-96-96-96H160c-53 0-96 43-96 96h32c35.3 0 64 28.7 64 64zm416-32h-32c-17.7 0-32 14.3-32 32v96H128v-96c0-17.7-14.3-32-32-32H64c-35.3 0-64 28.7-64 64 0 23.6 13 44 32 55.1V432c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-16h384v16c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V311.1c19-11.1 32-31.5 32-55.1 0-35.3-28.7-64-64-64z"] };
  3379. var faCreditCard = { prefix: 'fas', iconName: 'credit-card', icon: [576, 512, [], "f09d", "M0 432c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V256H0v176zm192-68c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-40zm-128 0c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM576 80v48H0V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48z"] };
  3380. var faCrop = { prefix: 'fas', iconName: 'crop', icon: [512, 512, [], "f125", "M488 352h-40V109.25l59.31-59.31c6.25-6.25 6.25-16.38 0-22.63L484.69 4.69c-6.25-6.25-16.38-6.25-22.63 0L402.75 64H192v96h114.75L160 306.75V24c0-13.26-10.75-24-24-24H88C74.75 0 64 10.74 64 24v40H24C10.75 64 0 74.74 0 88v48c0 13.25 10.75 24 24 24h40v264c0 13.25 10.75 24 24 24h232v-96H205.25L352 205.25V488c0 13.25 10.75 24 24 24h48c13.25 0 24-10.75 24-24v-40h40c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24z"] };
  3381. var faCropAlt = { prefix: 'fas', iconName: 'crop-alt', icon: [512, 512, [], "f565", "M488 352h-40V96c0-17.67-14.33-32-32-32H192v96h160v328c0 13.25 10.75 24 24 24h48c13.25 0 24-10.75 24-24v-40h40c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24zM160 24c0-13.26-10.75-24-24-24H88C74.75 0 64 10.74 64 24v40H24C10.75 64 0 74.74 0 88v48c0 13.25 10.75 24 24 24h40v256c0 17.67 14.33 32 32 32h224v-96H160V24z"] };
  3382. var faCross = { prefix: 'fas', iconName: 'cross', icon: [384, 512, [], "f654", "M352 128h-96V32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v96H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h96v224c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V256h96c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"] };
  3383. var faCrosshairs = { prefix: 'fas', iconName: 'crosshairs', icon: [512, 512, [], "f05b", "M500 224h-30.364C455.724 130.325 381.675 56.276 288 42.364V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v30.364C130.325 56.276 56.276 130.325 42.364 224H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h30.364C56.276 381.675 130.325 455.724 224 469.636V500c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-30.364C381.675 455.724 455.724 381.675 469.636 288H500c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zM288 404.634V364c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40.634C165.826 392.232 119.783 346.243 107.366 288H148c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40.634C119.768 165.826 165.757 119.783 224 107.366V148c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40.634C346.174 119.768 392.217 165.757 404.634 224H364c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40.634C392.232 346.174 346.243 392.217 288 404.634zM288 256c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32z"] };
  3384. var faCrow = { prefix: 'fas', iconName: 'crow', icon: [640, 512, [], "f520", "M544 32h-16.36C513.04 12.68 490.09 0 464 0c-44.18 0-80 35.82-80 80v20.98L12.09 393.57A30.216 30.216 0 0 0 0 417.74c0 22.46 23.64 37.07 43.73 27.03L165.27 384h96.49l44.41 120.1c2.27 6.23 9.15 9.44 15.38 7.17l22.55-8.21c6.23-2.27 9.44-9.15 7.17-15.38L312.94 384H352c1.91 0 3.76-.23 5.66-.29l44.51 120.38c2.27 6.23 9.15 9.44 15.38 7.17l22.55-8.21c6.23-2.27 9.44-9.15 7.17-15.38l-41.24-111.53C485.74 352.8 544 279.26 544 192v-80l96-16c0-35.35-42.98-64-96-64zm-80 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"] };
  3385. var faCrown = { prefix: 'fas', iconName: 'crown', icon: [640, 512, [], "f521", "M528 448H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h416c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm64-320c-26.5 0-48 21.5-48 48 0 7.1 1.6 13.7 4.4 19.8L476 239.2c-15.4 9.2-35.3 4-44.2-11.6L350.3 85C361 76.2 368 63 368 48c0-26.5-21.5-48-48-48s-48 21.5-48 48c0 15 7 28.2 17.7 37l-81.5 142.6c-8.9 15.6-28.9 20.8-44.2 11.6l-72.3-43.4c2.7-6 4.4-12.7 4.4-19.8 0-26.5-21.5-48-48-48S0 149.5 0 176s21.5 48 48 48c2.6 0 5.2-.4 7.7-.8L128 416h384l72.3-192.8c2.5.4 5.1.8 7.7.8 26.5 0 48-21.5 48-48s-21.5-48-48-48z"] };
  3386. var faCube = { prefix: 'fas', iconName: 'cube', icon: [512, 512, [], "f1b2", "M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"] };
  3387. var faCubes = { prefix: 'fas', iconName: 'cubes', icon: [512, 512, [], "f1b3", "M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"] };
  3388. var faCut = { prefix: 'fas', iconName: 'cut', icon: [448, 512, [], "f0c4", "M278.06 256L444.48 89.57c4.69-4.69 4.69-12.29 0-16.97-32.8-32.8-85.99-32.8-118.79 0L210.18 188.12l-24.86-24.86c4.31-10.92 6.68-22.81 6.68-35.26 0-53.02-42.98-96-96-96S0 74.98 0 128s42.98 96 96 96c4.54 0 8.99-.32 13.36-.93L142.29 256l-32.93 32.93c-4.37-.61-8.83-.93-13.36-.93-53.02 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96c0-12.45-2.37-24.34-6.68-35.26l24.86-24.86L325.69 439.4c32.8 32.8 85.99 32.8 118.79 0 4.69-4.68 4.69-12.28 0-16.97L278.06 256zM96 160c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32zm0 256c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32z"] };
  3389. var faDatabase = { prefix: 'fas', iconName: 'database', icon: [448, 512, [], "f1c0", "M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z"] };
  3390. var faDeaf = { prefix: 'fas', iconName: 'deaf', icon: [512, 512, [], "f2a4", "M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm268.485-52.201L480.2 3.515c-4.687-4.686-12.284-4.686-16.971 0L376.2 90.544c-4.686 4.686-4.686 12.284 0 16.971l28.285 28.285c4.686 4.686 12.284 4.686 16.97 0l87.03-87.029c4.687-4.688 4.687-12.286 0-16.972zM168.97 314.745c-4.686-4.686-12.284-4.686-16.97 0L3.515 463.23c-4.686 4.686-4.686 12.284 0 16.971L31.8 508.485c4.687 4.686 12.284 4.686 16.971 0L197.256 360c4.686-4.686 4.686-12.284 0-16.971l-28.286-28.284z"] };
  3391. var faDesktop = { prefix: 'fas', iconName: 'desktop', icon: [576, 512, [], "f108", "M528 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h192l-16 48h-72c-13.3 0-24 10.7-24 24s10.7 24 24 24h272c13.3 0 24-10.7 24-24s-10.7-24-24-24h-72l-16-48h192c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h448v288z"] };
  3392. var faDharmachakra = { prefix: 'fas', iconName: 'dharmachakra', icon: [512, 512, [], "f655", "M495 225.06l-17.22 1.08c-5.27-39.49-20.79-75.64-43.86-105.84l12.95-11.43c6.92-6.11 7.25-16.79.73-23.31L426.44 64.4c-6.53-6.53-17.21-6.19-23.31.73L391.7 78.07c-30.2-23.06-66.35-38.58-105.83-43.86L286.94 17c.58-9.21-6.74-17-15.97-17h-29.94c-9.23 0-16.54 7.79-15.97 17l1.08 17.22c-39.49 5.27-75.64 20.79-105.83 43.86l-11.43-12.95c-6.11-6.92-16.79-7.25-23.31-.73L64.4 85.56c-6.53 6.53-6.19 17.21.73 23.31l12.95 11.43c-23.06 30.2-38.58 66.35-43.86 105.84L17 225.06c-9.21-.58-17 6.74-17 15.97v29.94c0 9.23 7.79 16.54 17 15.97l17.22-1.08c5.27 39.49 20.79 75.64 43.86 105.83l-12.95 11.43c-6.92 6.11-7.25 16.79-.73 23.31l21.17 21.17c6.53 6.53 17.21 6.19 23.31-.73l11.43-12.95c30.2 23.06 66.35 38.58 105.84 43.86L225.06 495c-.58 9.21 6.74 17 15.97 17h29.94c9.23 0 16.54-7.79 15.97-17l-1.08-17.22c39.49-5.27 75.64-20.79 105.84-43.86l11.43 12.95c6.11 6.92 16.79 7.25 23.31.73l21.17-21.17c6.53-6.53 6.19-17.21-.73-23.31l-12.95-11.43c23.06-30.2 38.58-66.35 43.86-105.83l17.22 1.08c9.21.58 17-6.74 17-15.97v-29.94c-.01-9.23-7.8-16.54-17.01-15.97zM281.84 98.61c24.81 4.07 47.63 13.66 67.23 27.78l-42.62 48.29c-8.73-5.44-18.32-9.54-28.62-11.95l4.01-64.12zm-51.68 0l4.01 64.12c-10.29 2.41-19.89 6.52-28.62 11.95l-42.62-48.29c19.6-14.12 42.42-23.71 67.23-27.78zm-103.77 64.33l48.3 42.61c-5.44 8.73-9.54 18.33-11.96 28.62l-64.12-4.01c4.07-24.81 13.66-47.62 27.78-67.22zm-27.78 118.9l64.12-4.01c2.41 10.29 6.52 19.89 11.95 28.62l-48.29 42.62c-14.12-19.6-23.71-42.42-27.78-67.23zm131.55 131.55c-24.81-4.07-47.63-13.66-67.23-27.78l42.61-48.3c8.73 5.44 18.33 9.54 28.62 11.96l-4 64.12zM256 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm25.84 125.39l-4.01-64.12c10.29-2.41 19.89-6.52 28.62-11.96l42.61 48.3c-19.6 14.12-42.41 23.71-67.22 27.78zm103.77-64.33l-48.29-42.62c5.44-8.73 9.54-18.32 11.95-28.62l64.12 4.01c-4.07 24.82-13.66 47.64-27.78 67.23zm-36.34-114.89c-2.41-10.29-6.52-19.89-11.96-28.62l48.3-42.61c14.12 19.6 23.71 42.42 27.78 67.23l-64.12 4z"] };
  3393. var faDiagnoses = { prefix: 'fas', iconName: 'diagnoses', icon: [640, 512, [], "f470", "M496 256c8.8 0 16-7.2 16-16s-7.2-16-16-16-16 7.2-16 16 7.2 16 16 16zm-176-80c48.5 0 88-39.5 88-88S368.5 0 320 0s-88 39.5-88 88 39.5 88 88 88zM59.8 364c10.2 15.3 29.3 17.8 42.9 9.8 16.2-9.6 56.2-31.7 105.3-48.6V416h224v-90.7c49.1 16.8 89.1 39 105.3 48.6 13.6 8 32.7 5.3 42.9-9.8l17.8-26.7c8.8-13.2 7.6-34.6-10-45.1-11.9-7.1-29.7-17-51.1-27.4-28.1 46.1-99.4 17.8-87.7-35.1C409.3 217.2 365.1 208 320 208c-57 0-112.9 14.5-160 32.2-.2 40.2-47.6 63.3-79.2 36-11.2 6-21.3 11.6-28.7 16-17.6 10.5-18.8 31.8-10 45.1L59.8 364zM368 344c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-96-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-160 8c8.8 0 16-7.2 16-16s-7.2-16-16-16-16 7.2-16 16 7.2 16 16 16zm512 192H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16z"] };
  3394. var faDice = { prefix: 'fas', iconName: 'dice', icon: [640, 512, [], "f522", "M592 192H473.26c12.69 29.59 7.12 65.2-17 89.32L320 417.58V464c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48V240c0-26.51-21.49-48-48-48zM480 376c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm-46.37-186.7L258.7 14.37c-19.16-19.16-50.23-19.16-69.39 0L14.37 189.3c-19.16 19.16-19.16 50.23 0 69.39L189.3 433.63c19.16 19.16 50.23 19.16 69.39 0L433.63 258.7c19.16-19.17 19.16-50.24 0-69.4zM96 248c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm128 128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm0-128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm0-128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm128 128c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"] };
  3395. var faDiceD20 = { prefix: 'fas', iconName: 'dice-d20', icon: [480, 512, [], "f6cf", "M106.75 215.06L1.2 370.95c-3.08 5 .1 11.5 5.93 12.14l208.26 22.07-108.64-190.1zM7.41 315.43L82.7 193.08 6.06 147.1c-2.67-1.6-6.06.32-6.06 3.43v162.81c0 4.03 5.29 5.53 7.41 2.09zM18.25 423.6l194.4 87.66c5.3 2.45 11.35-1.43 11.35-7.26v-65.67l-203.55-22.3c-4.45-.5-6.23 5.59-2.2 7.57zm81.22-257.78L179.4 22.88c4.34-7.06-3.59-15.25-10.78-11.14L17.81 110.35c-2.47 1.62-2.39 5.26.13 6.78l81.53 48.69zM240 176h109.21L253.63 7.62C250.5 2.54 245.25 0 240 0s-10.5 2.54-13.63 7.62L130.79 176H240zm233.94-28.9l-76.64 45.99 75.29 122.35c2.11 3.44 7.41 1.94 7.41-2.1V150.53c0-3.11-3.39-5.03-6.06-3.43zm-93.41 18.72l81.53-48.7c2.53-1.52 2.6-5.16.13-6.78l-150.81-98.6c-7.19-4.11-15.12 4.08-10.78 11.14l79.93 142.94zm79.02 250.21L256 438.32v65.67c0 5.84 6.05 9.71 11.35 7.26l194.4-87.66c4.03-1.97 2.25-8.06-2.2-7.56zm-86.3-200.97l-108.63 190.1 208.26-22.07c5.83-.65 9.01-7.14 5.93-12.14L373.25 215.06zM240 208H139.57L240 383.75 340.43 208H240z"] };
  3396. var faDiceD6 = { prefix: 'fas', iconName: 'dice-d6', icon: [448, 512, [], "f6d1", "M422.19 109.95L256.21 9.07c-19.91-12.1-44.52-12.1-64.43 0L25.81 109.95c-5.32 3.23-5.29 11.27.06 14.46L224 242.55l198.14-118.14c5.35-3.19 5.38-11.22.05-14.46zm13.84 44.63L240 271.46v223.82c0 12.88 13.39 20.91 24.05 14.43l152.16-92.48c19.68-11.96 31.79-33.94 31.79-57.7v-197.7c0-6.41-6.64-10.43-11.97-7.25zM0 161.83v197.7c0 23.77 12.11 45.74 31.79 57.7l152.16 92.47c10.67 6.48 24.05-1.54 24.05-14.43V271.46L11.97 154.58C6.64 151.4 0 155.42 0 161.83z"] };
  3397. var faDiceFive = { prefix: 'fas', iconName: 'dice-five', icon: [448, 512, [], "f523", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3398. var faDiceFour = { prefix: 'fas', iconName: 'dice-four', icon: [448, 512, [], "f524", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3399. var faDiceOne = { prefix: 'fas', iconName: 'dice-one', icon: [448, 512, [], "f525", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM224 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3400. var faDiceSix = { prefix: 'fas', iconName: 'dice-six', icon: [448, 512, [], "f526", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3401. var faDiceThree = { prefix: 'fas', iconName: 'dice-three', icon: [448, 512, [], "f527", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm96 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3402. var faDiceTwo = { prefix: 'fas', iconName: 'dice-two', icon: [448, 512, [], "f528", "M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96c0-35.35-28.65-64-64-64zM128 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm192 192c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3403. var faDigitalTachograph = { prefix: 'fas', iconName: 'digital-tachograph', icon: [640, 512, [], "f566", "M608 96H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V128c0-17.67-14.33-32-32-32zM304 352c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-8c0-4.42 3.58-8 8-8h224c4.42 0 8 3.58 8 8v8zM72 288v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H80c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm64 0v-16c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm40-64c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-48c0-8.84 7.16-16 16-16h208c8.84 0 16 7.16 16 16v48zm272 128c0 4.42-3.58 8-8 8H344c-4.42 0-8-3.58-8-8v-8c0-4.42 3.58-8 8-8h224c4.42 0 8 3.58 8 8v8z"] };
  3404. var faDirections = { prefix: 'fas', iconName: 'directions', icon: [512, 512, [], "f5eb", "M502.61 233.32L278.68 9.39c-12.52-12.52-32.83-12.52-45.36 0L9.39 233.32c-12.52 12.53-12.52 32.83 0 45.36l223.93 223.93c12.52 12.53 32.83 12.53 45.36 0l223.93-223.93c12.52-12.53 12.52-32.83 0-45.36zm-100.98 12.56l-84.21 77.73c-5.12 4.73-13.43 1.1-13.43-5.88V264h-96v64c0 4.42-3.58 8-8 8h-32c-4.42 0-8-3.58-8-8v-80c0-17.67 14.33-32 32-32h112v-53.73c0-6.97 8.3-10.61 13.43-5.88l84.21 77.73c3.43 3.17 3.43 8.59 0 11.76z"] };
  3405. var faDivide = { prefix: 'fas', iconName: 'divide', icon: [448, 512, [], "f529", "M224 352c-35.35 0-64 28.65-64 64s28.65 64 64 64 64-28.65 64-64-28.65-64-64-64zm0-192c35.35 0 64-28.65 64-64s-28.65-64-64-64-64 28.65-64 64 28.65 64 64 64zm192 48H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"] };
  3406. var faDizzy = { prefix: 'fas', iconName: 'dizzy', icon: [496, 512, [], "f567", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-96 206.6l-28.7 28.7c-14.8 14.8-37.8-7.5-22.6-22.6l28.7-28.7-28.7-28.7c-15-15 7.7-37.6 22.6-22.6l28.7 28.7 28.7-28.7c15-15 37.6 7.7 22.6 22.6L174.6 192l28.7 28.7c15.2 15.2-7.9 37.4-22.6 22.6L152 214.6zM248 416c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm147.3-195.3c15.2 15.2-7.9 37.4-22.6 22.6L344 214.6l-28.7 28.7c-14.8 14.8-37.8-7.5-22.6-22.6l28.7-28.7-28.7-28.7c-15-15 7.7-37.6 22.6-22.6l28.7 28.7 28.7-28.7c15-15 37.6 7.7 22.6 22.6L366.6 192l28.7 28.7z"] };
  3407. var faDna = { prefix: 'fas', iconName: 'dna', icon: [448, 512, [], "f471", "M.1 494.1c-1.1 9.5 6.3 17.8 15.9 17.8l32.3.1c8.1 0 14.9-5.9 16-13.9.7-4.9 1.8-11.1 3.4-18.1H380c1.6 6.9 2.9 13.2 3.5 18.1 1.1 8 7.9 14 16 13.9l32.3-.1c9.6 0 17.1-8.3 15.9-17.8-4.6-37.9-25.6-129-118.9-207.7-17.6 12.4-37.1 24.2-58.5 35.4 6.2 4.6 11.4 9.4 17 14.2H159.7c21.3-18.1 47-35.6 78.7-51.4C410.5 199.1 442.1 65.8 447.9 17.9 449 8.4 441.6.1 432 .1L399.6 0c-8.1 0-14.9 5.9-16 13.9-.7 4.9-1.8 11.1-3.4 18.1H67.8c-1.6-7-2.7-13.1-3.4-18.1-1.1-8-7.9-14-16-13.9L16.1.1C6.5.1-1 8.4.1 17.9 5.3 60.8 31.4 171.8 160 256 31.5 340.2 5.3 451.2.1 494.1zM224 219.6c-25.1-13.7-46.4-28.4-64.3-43.6h128.5c-17.8 15.2-39.1 30-64.2 43.6zM355.1 96c-5.8 10.4-12.8 21.1-21 32H114c-8.3-10.9-15.3-21.6-21-32h262.1zM92.9 416c5.8-10.4 12.8-21.1 21-32h219.4c8.3 10.9 15.4 21.6 21.2 32H92.9z"] };
  3408. var faDog = { prefix: 'fas', iconName: 'dog', icon: [512, 512, [], "f6d3", "M496 96h-64l-7.16-14.31A32 32 0 0 0 396.22 64H342.6l-27.28-27.28C305.23 26.64 288 33.78 288 48.03v149.84l128 45.71V208h32c35.35 0 64-28.65 64-64v-32c0-8.84-7.16-16-16-16zm-112 48c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zM96 224c-17.64 0-32-14.36-32-32 0-17.67-14.33-32-32-32S0 174.33 0 192c0 41.66 26.83 76.85 64 90.1V496c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V384h160v112c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V277.55L266.05 224H96z"] };
  3409. var faDollarSign = { prefix: 'fas', iconName: 'dollar-sign', icon: [288, 512, [], "f155", "M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5 6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3 0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5 24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7 21.5-61.6-14.6-124.8-72.5-141.7z"] };
  3410. var faDolly = { prefix: 'fas', iconName: 'dolly', icon: [576, 512, [], "f472", "M294.2 277.7c18 5 34.7 13.4 49.5 24.7l161.5-53.8c8.4-2.8 12.9-11.9 10.1-20.2L454.9 47.2c-2.8-8.4-11.9-12.9-20.2-10.1l-61.1 20.4 33.1 99.4L346 177l-33.1-99.4-61.6 20.5c-8.4 2.8-12.9 11.9-10.1 20.2l53 159.4zm281 48.7L565 296c-2.8-8.4-11.9-12.9-20.2-10.1l-213.5 71.2c-17.2-22-43.6-36.4-73.5-37L158.4 21.9C154 8.8 141.8 0 128 0H16C7.2 0 0 7.2 0 16v32c0 8.8 7.2 16 16 16h88.9l92.2 276.7c-26.1 20.4-41.7 53.6-36 90.5 6.1 39.4 37.9 72.3 77.3 79.2 60.2 10.7 112.3-34.8 113.4-92.6l213.3-71.2c8.3-2.8 12.9-11.8 10.1-20.2zM256 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"] };
  3411. var faDollyFlatbed = { prefix: 'fas', iconName: 'dolly-flatbed', icon: [640, 512, [], "f474", "M208 320h384c8.8 0 16-7.2 16-16V48c0-8.8-7.2-16-16-16H448v128l-48-32-48 32V32H208c-8.8 0-16 7.2-16 16v256c0 8.8 7.2 16 16 16zm416 64H128V16c0-8.8-7.2-16-16-16H16C7.2 0 0 7.2 0 16v32c0 8.8 7.2 16 16 16h48v368c0 8.8 7.2 16 16 16h82.9c-1.8 5-2.9 10.4-2.9 16 0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1.2-11-2.9-16H451c-1.8 5-2.9 10.4-2.9 16 0 26.5 21.5 48 48 48s48-21.5 48-48c0-5.6-1.2-11-2.9-16H624c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16z"] };
  3412. var faDonate = { prefix: 'fas', iconName: 'donate', icon: [512, 512, [], "f4b9", "M256 416c114.9 0 208-93.1 208-208S370.9 0 256 0 48 93.1 48 208s93.1 208 208 208zM233.8 97.4V80.6c0-9.2 7.4-16.6 16.6-16.6h11.1c9.2 0 16.6 7.4 16.6 16.6v17c15.5.8 30.5 6.1 43 15.4 5.6 4.1 6.2 12.3 1.2 17.1L306 145.6c-3.8 3.7-9.5 3.8-14 1-5.4-3.4-11.4-5.1-17.8-5.1h-38.9c-9 0-16.3 8.2-16.3 18.3 0 8.2 5 15.5 12.1 17.6l62.3 18.7c25.7 7.7 43.7 32.4 43.7 60.1 0 34-26.4 61.5-59.1 62.4v16.8c0 9.2-7.4 16.6-16.6 16.6h-11.1c-9.2 0-16.6-7.4-16.6-16.6v-17c-15.5-.8-30.5-6.1-43-15.4-5.6-4.1-6.2-12.3-1.2-17.1l16.3-15.5c3.8-3.7 9.5-3.8 14-1 5.4 3.4 11.4 5.1 17.8 5.1h38.9c9 0 16.3-8.2 16.3-18.3 0-8.2-5-15.5-12.1-17.6l-62.3-18.7c-25.7-7.7-43.7-32.4-43.7-60.1.1-34 26.4-61.5 59.1-62.4zM480 352h-32.5c-19.6 26-44.6 47.7-73 64h63.8c5.3 0 9.6 3.6 9.6 8v16c0 4.4-4.3 8-9.6 8H73.6c-5.3 0-9.6-3.6-9.6-8v-16c0-4.4 4.3-8 9.6-8h63.8c-28.4-16.3-53.3-38-73-64H32c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32v-96c0-17.7-14.3-32-32-32z"] };
  3413. var faDoorClosed = { prefix: 'fas', iconName: 'door-closed', icon: [640, 512, [], "f52a", "M624 448H512V50.8C512 22.78 490.47 0 464 0H175.99c-26.47 0-48 22.78-48 50.8V448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM415.99 288c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32c.01 17.67-14.32 32-32 32z"] };
  3414. var faDoorOpen = { prefix: 'fas', iconName: 'door-open', icon: [640, 512, [], "f52b", "M624 448h-80V113.45C544 86.19 522.47 64 496 64H384v64h96v384h144c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM312.24 1.01l-192 49.74C105.99 54.44 96 67.7 96 82.92V448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h336V33.18c0-21.58-19.56-37.41-39.76-32.17zM264 288c-13.25 0-24-14.33-24-32s10.75-32 24-32 24 14.33 24 32-10.75 32-24 32z"] };
  3415. var faDotCircle = { prefix: 'fas', iconName: 'dot-circle', icon: [512, 512, [], "f192", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"] };
  3416. var faDove = { prefix: 'fas', iconName: 'dove', icon: [512, 512, [], "f4ba", "M288 167.2v-28.1c-28.2-36.3-47.1-79.3-54.1-125.2-2.1-13.5-19-18.8-27.8-8.3-21.1 24.9-37.7 54.1-48.9 86.5 34.2 38.3 80 64.6 130.8 75.1zM400 64c-44.2 0-80 35.9-80 80.1v59.4C215.6 197.3 127 133 87 41.8c-5.5-12.5-23.2-13.2-29-.9C41.4 76 32 115.2 32 156.6c0 70.8 34.1 136.9 85.1 185.9 13.2 12.7 26.1 23.2 38.9 32.8l-143.9 36C1.4 414-3.4 426.4 2.6 435.7 20 462.6 63 508.2 155.8 512c8 .3 16-2.6 22.1-7.9l65.2-56.1H320c88.4 0 160-71.5 160-159.9V128l32-64H400zm0 96.1c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"] };
  3417. var faDownload = { prefix: 'fas', iconName: 'download', icon: [512, 512, [], "f019", "M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"] };
  3418. var faDraftingCompass = { prefix: 'fas', iconName: 'drafting-compass', icon: [512, 512, [], "f568", "M457.01 344.42c-25.05 20.33-52.63 37.18-82.54 49.05l54.38 94.19 53.95 23.04c9.81 4.19 20.89-2.21 22.17-12.8l7.02-58.25-54.98-95.23zm42.49-94.56c4.86-7.67 1.89-17.99-6.05-22.39l-28.07-15.57c-7.48-4.15-16.61-1.46-21.26 5.72C403.01 281.15 332.25 320 256 320c-23.93 0-47.23-4.25-69.41-11.53l67.36-116.68c.7.02 1.34.21 2.04.21s1.35-.19 2.04-.21l51.09 88.5c31.23-8.96 59.56-25.75 82.61-48.92l-51.79-89.71C347.39 128.03 352 112.63 352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96c0 16.63 4.61 32.03 12.05 45.66l-68.3 118.31c-12.55-11.61-23.96-24.59-33.68-39-4.79-7.1-13.97-9.62-21.38-5.33l-27.75 16.07c-7.85 4.54-10.63 14.9-5.64 22.47 15.57 23.64 34.69 44.21 55.98 62.02L0 439.66l7.02 58.25c1.28 10.59 12.36 16.99 22.17 12.8l53.95-23.04 70.8-122.63C186.13 377.28 220.62 384 256 384c99.05 0 190.88-51.01 243.5-134.14zM256 64c17.67 0 32 14.33 32 32s-14.33 32-32 32-32-14.33-32-32 14.33-32 32-32z"] };
  3419. var faDragon = { prefix: 'fas', iconName: 'dragon', icon: [640, 512, [], "f6d5", "M18.32 255.78L192 223.96l-91.28 68.69c-10.08 10.08-2.94 27.31 11.31 27.31h222.7c-9.44-26.4-14.73-54.47-14.73-83.38v-42.27l-119.73-87.6c-23.82-15.88-55.29-14.01-77.06 4.59L5.81 227.64c-12.38 10.33-3.45 30.42 12.51 28.14zm556.87 34.1l-100.66-50.31A47.992 47.992 0 0 1 448 196.65v-36.69h64l28.09 22.63c6 6 14.14 9.37 22.63 9.37h30.97a32 32 0 0 0 28.62-17.69l14.31-28.62a32.005 32.005 0 0 0-3.02-33.51l-74.53-99.38C553.02 4.7 543.54 0 533.47 0H296.02c-7.13 0-10.7 8.57-5.66 13.61L352 63.96 292.42 88.8c-5.9 2.95-5.9 11.36 0 14.31L352 127.96v108.62c0 72.08 36.03 139.39 96 179.38-195.59 6.81-344.56 41.01-434.1 60.91C5.78 478.67 0 485.88 0 494.2 0 504 7.95 512 17.76 512h499.08c63.29.01 119.61-47.56 122.99-110.76 2.52-47.28-22.73-90.4-64.64-111.36zM489.18 66.25l45.65 11.41c-2.75 10.91-12.47 18.89-24.13 18.26-12.96-.71-25.85-12.53-21.52-29.67z"] };
  3420. var faDrawPolygon = { prefix: 'fas', iconName: 'draw-polygon', icon: [448, 512, [], "f5ee", "M384 352c-.35 0-.67.1-1.02.1l-39.2-65.32c5.07-9.17 8.22-19.56 8.22-30.78s-3.14-21.61-8.22-30.78l39.2-65.32c.35.01.67.1 1.02.1 35.35 0 64-28.65 64-64s-28.65-64-64-64c-23.63 0-44.04 12.95-55.12 32H119.12C108.04 44.95 87.63 32 64 32 28.65 32 0 60.65 0 96c0 23.63 12.95 44.04 32 55.12v209.75C12.95 371.96 0 392.37 0 416c0 35.35 28.65 64 64 64 23.63 0 44.04-12.95 55.12-32h209.75c11.09 19.05 31.49 32 55.12 32 35.35 0 64-28.65 64-64 .01-35.35-28.64-64-63.99-64zm-288 8.88V151.12A63.825 63.825 0 0 0 119.12 128h208.36l-38.46 64.1c-.35-.01-.67-.1-1.02-.1-35.35 0-64 28.65-64 64s28.65 64 64 64c.35 0 .67-.1 1.02-.1l38.46 64.1H119.12A63.748 63.748 0 0 0 96 360.88zM272 256c0-8.82 7.18-16 16-16s16 7.18 16 16-7.18 16-16 16-16-7.18-16-16zM400 96c0 8.82-7.18 16-16 16s-16-7.18-16-16 7.18-16 16-16 16 7.18 16 16zM64 80c8.82 0 16 7.18 16 16s-7.18 16-16 16-16-7.18-16-16 7.18-16 16-16zM48 416c0-8.82 7.18-16 16-16s16 7.18 16 16-7.18 16-16 16-16-7.18-16-16zm336 16c-8.82 0-16-7.18-16-16s7.18-16 16-16 16 7.18 16 16-7.18 16-16 16z"] };
  3421. var faDrum = { prefix: 'fas', iconName: 'drum', icon: [576, 512, [], "f569", "M458.08 120.88l102.39-61.43c15.16-9.09 20.06-28.75 10.97-43.91C562.34.39 542.7-4.53 527.53 4.57l-160.69 96.41A629.32 629.32 0 0 0 288 96C128.94 96 0 153.31 0 224v160.83c0 30.46 24.03 58.4 64 80.37v-96.37c0-17.6 14.4-32 32-32s32 14.4 32 32v122.41c37.4 11.13 81 18.44 128 20.75V400.84c0-17.6 14.4-32 32-32s32 14.4 32 32V512c47-2.31 90.6-9.62 128-20.75V368.84c0-17.6 14.4-32 32-32s32 14.4 32 32v96.37c39.97-21.97 64-49.91 64-80.37V224.01c-.01-42.38-46.54-79.84-117.92-103.13zM288 304c-132.55 0-240-35.82-240-80s107.45-80 240-80c2.34 0 4.62.1 6.94.12l-87.41 52.44c-15.16 9.09-20.06 28.75-10.97 43.91 9.56 15.93 29.51 19.61 43.91 10.97l162.71-97.62C477.55 167.41 528 193.74 528 224.01 528 268.19 420.54 304 288 304z"] };
  3422. var faDrumSteelpan = { prefix: 'fas', iconName: 'drum-steelpan', icon: [576, 512, [], "f56a", "M288 32C128.94 32 0 89.31 0 160v192c0 70.69 128.94 128 288 128s288-57.31 288-128V160c0-70.69-128.94-128-288-128zm-82.99 158.36c-4.45 16.61-14.54 30.57-28.31 40.48C100.23 217.46 48 190.78 48 160c0-30.16 50.11-56.39 124.04-70.03l25.6 44.34c9.86 17.09 12.48 36.99 7.37 56.05zM288 240c-21.08 0-41.41-1-60.89-2.7 8.06-26.13 32.15-45.3 60.89-45.3s52.83 19.17 60.89 45.3C329.41 239 309.08 240 288 240zm64-144c0 35.29-28.71 64-64 64s-64-28.71-64-64V82.96c20.4-1.88 41.8-2.96 64-2.96s43.6 1.08 64 2.96V96zm46.93 134.9c-13.81-9.91-23.94-23.9-28.4-40.54-5.11-19.06-2.49-38.96 7.38-56.04l25.65-44.42C477.72 103.5 528 129.79 528 160c0 30.83-52.4 57.54-129.07 70.9z"] };
  3423. var faDrumstickBite = { prefix: 'fas', iconName: 'drumstick-bite', icon: [512, 512, [], "f6d7", "M462.79 49.57c-66.14-66.09-173.36-66.09-239.5 0C187.81 85.02 160.12 128 160.12 192v85.83l-40.62 40.59c-9.7 9.69-24.04 11.07-36.78 5.98-21.72-8.68-47.42-4.29-65.02 13.29-23.61 23.59-23.61 61.84 0 85.43 15.28 15.27 36.53 19.58 56.14 15.09-4.5 19.6-.18 40.83 15.1 56.1 23.61 23.59 61.88 23.59 85.49 0 17.6-17.58 21.99-43.26 13.31-64.97-5.09-12.73-3.72-27.05 5.99-36.75L234.35 352h85.89c23.2 0 43.57-3.72 61.89-10.03-39.64-43.89-39.83-110.23 1.05-151.07 34.38-34.36 86.76-39.46 128.74-16.8 1.3-44.93-14.81-90.25-49.13-124.53z"] };
  3424. var faDumbbell = { prefix: 'fas', iconName: 'dumbbell', icon: [640, 512, [], "f44b", "M104 96H56c-13.3 0-24 10.7-24 24v104H8c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h24v104c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm528 128h-24V120c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v272c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V288h24c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM456 32h-48c-13.3 0-24 10.7-24 24v168H256V56c0-13.3-10.7-24-24-24h-48c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V288h128v168c0 13.3 10.7 24 24 24h48c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24z"] };
  3425. var faDungeon = { prefix: 'fas', iconName: 'dungeon', icon: [512, 512, [], "f6d9", "M128.73 195.32l-82.81-51.76c-8.04-5.02-18.99-2.17-22.93 6.45A254.19 254.19 0 0 0 .54 239.28C-.05 248.37 7.59 256 16.69 256h97.13c7.96 0 14.08-6.25 15.01-14.16 1.09-9.33 3.24-18.33 6.24-26.94 2.56-7.34.25-15.46-6.34-19.58zM319.03 8C298.86 2.82 277.77 0 256 0s-42.86 2.82-63.03 8c-9.17 2.35-13.91 12.6-10.39 21.39l37.47 104.03A16.003 16.003 0 0 0 235.1 144h41.8c6.75 0 12.77-4.23 15.05-10.58l37.47-104.03c3.52-8.79-1.22-19.03-10.39-21.39zM112 288H16c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h96c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16zm0 128H16c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h96c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16zm77.31-283.67l-36.32-90.8c-3.53-8.83-14.13-12.99-22.42-8.31a257.308 257.308 0 0 0-71.61 59.89c-6.06 7.32-3.85 18.48 4.22 23.52l82.93 51.83c6.51 4.07 14.66 2.62 20.11-2.79 5.18-5.15 10.79-9.85 16.79-14.05 6.28-4.41 9.15-12.17 6.3-19.29zM398.18 256h97.13c9.1 0 16.74-7.63 16.15-16.72a254.135 254.135 0 0 0-22.45-89.27c-3.94-8.62-14.89-11.47-22.93-6.45l-82.81 51.76c-6.59 4.12-8.9 12.24-6.34 19.58 3.01 8.61 5.15 17.62 6.24 26.94.93 7.91 7.05 14.16 15.01 14.16zm54.85-162.89a257.308 257.308 0 0 0-71.61-59.89c-8.28-4.68-18.88-.52-22.42 8.31l-36.32 90.8c-2.85 7.12.02 14.88 6.3 19.28 6 4.2 11.61 8.9 16.79 14.05 5.44 5.41 13.6 6.86 20.11 2.79l82.93-51.83c8.07-5.03 10.29-16.19 4.22-23.51zM496 288h-96c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h96c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16zm0 128h-96c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h96c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16zM240 177.62V472c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8V177.62c-5.23-.89-10.52-1.62-16-1.62s-10.77.73-16 1.62zm-64 41.51V472c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8V189.36c-12.78 7.45-23.84 17.47-32 29.77zm128-29.77V472c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8V219.13c-8.16-12.3-19.22-22.32-32-29.77z"] };
  3426. var faEdit = { prefix: 'fas', iconName: 'edit', icon: [576, 512, [], "f044", "M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"] };
  3427. var faEject = { prefix: 'fas', iconName: 'eject', icon: [448, 512, [], "f052", "M448 384v64c0 17.673-14.327 32-32 32H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h384c17.673 0 32 14.327 32 32zM48.053 320h351.886c41.651 0 63.581-49.674 35.383-80.435L259.383 47.558c-19.014-20.743-51.751-20.744-70.767 0L12.67 239.565C-15.475 270.268 6.324 320 48.053 320z"] };
  3428. var faEllipsisH = { prefix: 'fas', iconName: 'ellipsis-h', icon: [512, 512, [], "f141", "M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"] };
  3429. var faEllipsisV = { prefix: 'fas', iconName: 'ellipsis-v', icon: [192, 512, [], "f142", "M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"] };
  3430. var faEnvelope = { prefix: 'fas', iconName: 'envelope', icon: [512, 512, [], "f0e0", "M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"] };
  3431. var faEnvelopeOpen = { prefix: 'fas', iconName: 'envelope-open', icon: [512, 512, [], "f2b6", "M512 464c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V200.724a48 48 0 0 1 18.387-37.776c24.913-19.529 45.501-35.365 164.2-121.511C199.412 29.17 232.797-.347 256 .003c23.198-.354 56.596 29.172 73.413 41.433 118.687 86.137 139.303 101.995 164.2 121.512A48 48 0 0 1 512 200.724V464zm-65.666-196.605c-2.563-3.728-7.7-4.595-11.339-1.907-22.845 16.873-55.462 40.705-105.582 77.079-16.825 12.266-50.21 41.781-73.413 41.43-23.211.344-56.559-29.143-73.413-41.43-50.114-36.37-82.734-60.204-105.582-77.079-3.639-2.688-8.776-1.821-11.339 1.907l-9.072 13.196a7.998 7.998 0 0 0 1.839 10.967c22.887 16.899 55.454 40.69 105.303 76.868 20.274 14.781 56.524 47.813 92.264 47.573 35.724.242 71.961-32.771 92.263-47.573 49.85-36.179 82.418-59.97 105.303-76.868a7.998 7.998 0 0 0 1.839-10.967l-9.071-13.196z"] };
  3432. var faEnvelopeOpenText = { prefix: 'fas', iconName: 'envelope-open-text', icon: [512, 512, [], "f658", "M176 216h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16zm-16 80c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16zm96 121.13c-16.42 0-32.84-5.06-46.86-15.19L0 250.86V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V250.86L302.86 401.94c-14.02 10.12-30.44 15.19-46.86 15.19zm237.61-254.18c-8.85-6.94-17.24-13.47-29.61-22.81V96c0-26.51-21.49-48-48-48h-77.55c-3.04-2.2-5.87-4.26-9.04-6.56C312.6 29.17 279.2-.35 256 0c-23.2-.35-56.59 29.17-73.41 41.44-3.17 2.3-6 4.36-9.04 6.56H96c-26.51 0-48 21.49-48 48v44.14c-12.37 9.33-20.76 15.87-29.61 22.81A47.995 47.995 0 0 0 0 200.72v10.65l96 69.35V96h320v184.72l96-69.35v-10.65c0-14.74-6.78-28.67-18.39-37.77z"] };
  3433. var faEnvelopeSquare = { prefix: 'fas', iconName: 'envelope-square', icon: [448, 512, [], "f199", "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM178.117 262.104C87.429 196.287 88.353 196.121 64 177.167V152c0-13.255 10.745-24 24-24h272c13.255 0 24 10.745 24 24v25.167c-24.371 18.969-23.434 19.124-114.117 84.938-10.5 7.655-31.392 26.12-45.883 25.894-14.503.218-35.367-18.227-45.883-25.895zM384 217.775V360c0 13.255-10.745 24-24 24H88c-13.255 0-24-10.745-24-24V217.775c13.958 10.794 33.329 25.236 95.303 70.214 14.162 10.341 37.975 32.145 64.694 32.01 26.887.134 51.037-22.041 64.72-32.025 61.958-44.965 81.325-59.406 95.283-70.199z"] };
  3434. var faEquals = { prefix: 'fas', iconName: 'equals', icon: [448, 512, [], "f52c", "M416 304H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32zm0-192H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"] };
  3435. var faEraser = { prefix: 'fas', iconName: 'eraser', icon: [512, 512, [], "f12d", "M497.941 273.941c18.745-18.745 18.745-49.137 0-67.882l-160-160c-18.745-18.745-49.136-18.746-67.883 0l-256 256c-18.745 18.745-18.745 49.137 0 67.882l96 96A48.004 48.004 0 0 0 144 480h356c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H355.883l142.058-142.059zm-302.627-62.627l137.373 137.373L265.373 416H150.628l-80-80 124.686-124.686z"] };
  3436. var faEuroSign = { prefix: 'fas', iconName: 'euro-sign', icon: [320, 512, [], "f153", "M310.706 413.765c-1.314-6.63-7.835-10.872-14.424-9.369-10.692 2.439-27.422 5.413-45.426 5.413-56.763 0-101.929-34.79-121.461-85.449h113.689a12 12 0 0 0 11.708-9.369l6.373-28.36c1.686-7.502-4.019-14.631-11.708-14.631H115.22c-1.21-14.328-1.414-28.287.137-42.245H261.95a12 12 0 0 0 11.723-9.434l6.512-29.755c1.638-7.484-4.061-14.566-11.723-14.566H130.184c20.633-44.991 62.69-75.03 117.619-75.03 14.486 0 28.564 2.25 37.851 4.145 6.216 1.268 12.347-2.498 14.002-8.623l11.991-44.368c1.822-6.741-2.465-13.616-9.326-14.917C290.217 34.912 270.71 32 249.635 32 152.451 32 74.03 92.252 45.075 176H12c-6.627 0-12 5.373-12 12v29.755c0 6.627 5.373 12 12 12h21.569c-1.009 13.607-1.181 29.287-.181 42.245H12c-6.627 0-12 5.373-12 12v28.36c0 6.627 5.373 12 12 12h30.114C67.139 414.692 145.264 480 249.635 480c26.301 0 48.562-4.544 61.101-7.788 6.167-1.595 10.027-7.708 8.788-13.957l-8.818-44.49z"] };
  3437. var faExchangeAlt = { prefix: 'fas', iconName: 'exchange-alt', icon: [512, 512, [], "f362", "M0 168v-16c0-13.255 10.745-24 24-24h360V80c0-21.367 25.899-32.042 40.971-16.971l80 80c9.372 9.373 9.372 24.569 0 33.941l-80 80C409.956 271.982 384 261.456 384 240v-48H24c-13.255 0-24-10.745-24-24zm488 152H128v-48c0-21.314-25.862-32.08-40.971-16.971l-80 80c-9.372 9.373-9.372 24.569 0 33.941l80 80C102.057 463.997 128 453.437 128 432v-48h360c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"] };
  3438. var faExclamation = { prefix: 'fas', iconName: 'exclamation', icon: [192, 512, [], "f12a", "M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"] };
  3439. var faExclamationCircle = { prefix: 'fas', iconName: 'exclamation-circle', icon: [512, 512, [], "f06a", "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"] };
  3440. var faExclamationTriangle = { prefix: 'fas', iconName: 'exclamation-triangle', icon: [576, 512, [], "f071", "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"] };
  3441. var faExpand = { prefix: 'fas', iconName: 'expand', icon: [448, 512, [], "f065", "M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"] };
  3442. var faExpandArrowsAlt = { prefix: 'fas', iconName: 'expand-arrows-alt', icon: [448, 512, [], "f31e", "M448.1 344v112c0 13.3-10.7 24-24 24h-112c-21.4 0-32.1-25.9-17-41l36.2-36.2L224 295.6 116.8 402.9 153 439c15.1 15.1 4.4 41-17 41H24c-13.3 0-24-10.7-24-24V344c0-21.4 25.9-32.1 41-17l36.2 36.2L184.5 256 77.2 148.7 41 185c-15.1 15.1-41 4.4-41-17V56c0-13.3 10.7-24 24-24h112c21.4 0 32.1 25.9 17 41l-36.2 36.2L224 216.4l107.3-107.3L295.1 73c-15.1-15.1-4.4-41 17-41h112c13.3 0 24 10.7 24 24v112c0 21.4-25.9 32.1-41 17l-36.2-36.2L263.6 256l107.3 107.3 36.2-36.2c15.1-15.2 41-4.5 41 16.9z"] };
  3443. var faExternalLinkAlt = { prefix: 'fas', iconName: 'external-link-alt', icon: [576, 512, [], "f35d", "M576 24v127.984c0 21.461-25.96 31.98-40.971 16.971l-35.707-35.709-243.523 243.523c-9.373 9.373-24.568 9.373-33.941 0l-22.627-22.627c-9.373-9.373-9.373-24.569 0-33.941L442.756 76.676l-35.703-35.705C391.982 25.9 402.656 0 424.024 0H552c13.255 0 24 10.745 24 24zM407.029 270.794l-16 16A23.999 23.999 0 0 0 384 303.765V448H64V128h264a24.003 24.003 0 0 0 16.97-7.029l16-16C376.089 89.851 365.381 64 344 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V287.764c0-21.382-25.852-32.09-40.971-16.97z"] };
  3444. var faExternalLinkSquareAlt = { prefix: 'fas', iconName: 'external-link-square-alt', icon: [448, 512, [], "f360", "M448 80v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48zm-88 16H248.029c-21.313 0-32.08 25.861-16.971 40.971l31.984 31.987L67.515 364.485c-4.686 4.686-4.686 12.284 0 16.971l31.029 31.029c4.687 4.686 12.285 4.686 16.971 0l195.526-195.526 31.988 31.991C358.058 263.977 384 253.425 384 231.979V120c0-13.255-10.745-24-24-24z"] };
  3445. var faEye = { prefix: 'fas', iconName: 'eye', icon: [576, 512, [], "f06e", "M569.354 231.631C512.969 135.949 407.81 72 288 72 168.14 72 63.004 135.994 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.031 376.051 168.19 440 288 440c119.86 0 224.996-63.994 281.354-159.631a47.997 47.997 0 0 0 0-48.738zM288 392c-75.162 0-136-60.827-136-136 0-75.162 60.826-136 136-136 75.162 0 136 60.826 136 136 0 75.162-60.826 136-136 136zm104-136c0 57.438-46.562 104-104 104s-104-46.562-104-104c0-17.708 4.431-34.379 12.236-48.973l-.001.032c0 23.651 19.173 42.823 42.824 42.823s42.824-19.173 42.824-42.823c0-23.651-19.173-42.824-42.824-42.824l-.032.001C253.621 156.431 270.292 152 288 152c57.438 0 104 46.562 104 104z"] };
  3446. var faEyeDropper = { prefix: 'fas', iconName: 'eye-dropper', icon: [512, 512, [], "f1fb", "M50.75 333.25c-12 12-18.75 28.28-18.75 45.26V424L0 480l32 32 56-32h45.49c16.97 0 33.25-6.74 45.25-18.74l126.64-126.62-128-128L50.75 333.25zM483.88 28.12c-37.47-37.5-98.28-37.5-135.75 0l-77.09 77.09-13.1-13.1c-9.44-9.44-24.65-9.31-33.94 0l-40.97 40.97c-9.37 9.37-9.37 24.57 0 33.94l161.94 161.94c9.44 9.44 24.65 9.31 33.94 0L419.88 288c9.37-9.37 9.37-24.57 0-33.94l-13.1-13.1 77.09-77.09c37.51-37.48 37.51-98.26.01-135.75z"] };
  3447. var faEyeSlash = { prefix: 'fas', iconName: 'eye-slash', icon: [576, 512, [], "f070", "M286.693 391.984l32.579 46.542A333.958 333.958 0 0 1 288 440C168.19 440 63.031 376.051 6.646 280.369a47.999 47.999 0 0 1 0-48.739c24.023-40.766 56.913-75.775 96.024-102.537l57.077 81.539C154.736 224.82 152 240.087 152 256c0 74.736 60.135 135.282 134.693 135.984zm282.661-111.615c-31.667 53.737-78.747 97.46-135.175 125.475l.011.015 41.47 59.2c7.6 10.86 4.96 25.82-5.9 33.42l-13.11 9.18c-10.86 7.6-25.82 4.96-33.42-5.9L100.34 46.94c-7.6-10.86-4.96-25.82 5.9-33.42l13.11-9.18c10.86-7.6 25.82-4.96 33.42 5.9l51.038 72.617C230.68 75.776 258.905 72 288 72c119.81 0 224.969 63.949 281.354 159.631a48.002 48.002 0 0 1 0 48.738zM424 256c0-75.174-60.838-136-136-136-17.939 0-35.056 3.473-50.729 9.772l19.299 27.058c25.869-8.171 55.044-6.163 80.4 7.41h-.03c-23.65 0-42.82 19.17-42.82 42.82 0 23.626 19.147 42.82 42.82 42.82 23.65 0 42.82-19.17 42.82-42.82v-.03c18.462 34.49 16.312 77.914-8.25 110.95v.01l19.314 27.061C411.496 321.2 424 290.074 424 256zM262.014 356.727l-77.53-110.757c-5.014 52.387 29.314 98.354 77.53 110.757z"] };
  3448. var faFastBackward = { prefix: 'fas', iconName: 'fast-backward', icon: [512, 512, [], "f049", "M0 436V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v151.9L235.5 71.4C256.1 54.3 288 68.6 288 96v131.9L459.5 71.4C480.1 54.3 512 68.6 512 96v320c0 27.4-31.9 41.7-52.5 24.6L288 285.3V416c0 27.4-31.9 41.7-52.5 24.6L64 285.3V436c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12z"] };
  3449. var faFastForward = { prefix: 'fas', iconName: 'fast-forward', icon: [512, 512, [], "f050", "M512 76v360c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V284.1L276.5 440.6c-20.6 17.2-52.5 2.8-52.5-24.6V284.1L52.5 440.6C31.9 457.8 0 443.4 0 416V96c0-27.4 31.9-41.7 52.5-24.6L224 226.8V96c0-27.4 31.9-41.7 52.5-24.6L448 226.8V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12z"] };
  3450. var faFax = { prefix: 'fas', iconName: 'fax', icon: [512, 512, [], "f1ac", "M64 128H32c-17.67 0-32 14.33-32 32v320c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V160c0-17.67-14.33-32-32-32zm416 32V77.25c0-8.49-3.37-16.62-9.37-22.63L425.37 9.37c-6-6-14.14-9.37-22.63-9.37H160c-17.67 0-32 14.33-32 32v448c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32V192c0-17.67-14.33-32-32-32zM288 432c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v32zm0-128c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v32zm128 128c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v32zm0-128c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v32zm16-112H176V48h208v32c0 8.84 7.16 16 16 16h32v96z"] };
  3451. var faFeather = { prefix: 'fas', iconName: 'feather', icon: [512, 512, [], "f52d", "M467.14 44.84c-62.55-62.48-161.67-64.78-252.28 25.73-78.61 78.52-60.98 60.92-85.75 85.66-60.46 60.39-70.39 150.83-63.64 211.17l178.44-178.25c6.26-6.25 16.4-6.25 22.65 0s6.25 16.38 0 22.63L7.04 471.03c-9.38 9.37-9.38 24.57 0 33.94 9.38 9.37 24.6 9.37 33.98 0l66.1-66.03C159.42 454.65 279 457.11 353.95 384h-98.19l147.57-49.14c49.99-49.93 36.38-36.18 46.31-46.86h-97.78l131.54-43.8c45.44-74.46 34.31-148.84-16.26-199.36z"] };
  3452. var faFeatherAlt = { prefix: 'fas', iconName: 'feather-alt', icon: [512, 512, [], "f56b", "M512 0C460.22 3.56 96.44 38.2 71.01 287.61c-3.09 26.66-4.84 53.44-5.99 80.24l178.87-178.69c6.25-6.25 16.4-6.25 22.65 0s6.25 16.38 0 22.63L7.04 471.03c-9.38 9.37-9.38 24.57 0 33.94 9.38 9.37 24.59 9.37 33.98 0l57.13-57.07c42.09-.14 84.15-2.53 125.96-7.36 53.48-5.44 97.02-26.47 132.58-56.54H255.74l146.79-48.88c11.25-14.89 21.37-30.71 30.45-47.12h-81.14l106.54-53.21C500.29 132.86 510.19 26.26 512 0z"] };
  3453. var faFemale = { prefix: 'fas', iconName: 'female', icon: [256, 512, [], "f182", "M128 0c35.346 0 64 28.654 64 64s-28.654 64-64 64c-35.346 0-64-28.654-64-64S92.654 0 128 0m119.283 354.179l-48-192A24 24 0 0 0 176 144h-11.36c-22.711 10.443-49.59 10.894-73.28 0H80a24 24 0 0 0-23.283 18.179l-48 192C4.935 369.305 16.383 384 32 384h56v104c0 13.255 10.745 24 24 24h32c13.255 0 24-10.745 24-24V384h56c15.591 0 27.071-14.671 23.283-29.821z"] };
  3454. var faFighterJet = { prefix: 'fas', iconName: 'fighter-jet', icon: [640, 512, [], "f0fb", "M544 224l-128-16-48-16h-24L227.158 44h39.509C278.333 44 288 41.375 288 38s-9.667-6-21.333-6H152v12h16v164h-48l-66.667-80H18.667L8 138.667V208h8v16h48v2.666l-64 8v42.667l64 8V288H16v16H8v69.333L18.667 384h34.667L120 304h48v164h-16v12h114.667c11.667 0 21.333-2.625 21.333-6s-9.667-6-21.333-6h-39.509L344 320h24l48-16 128-16c96-21.333 96-26.583 96-32 0-5.417 0-10.667-96-32z"] };
  3455. var faFile = { prefix: 'fas', iconName: 'file', icon: [384, 512, [], "f15b", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3456. var faFileAlt = { prefix: 'fas', iconName: 'file-alt', icon: [384, 512, [], "f15c", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3457. var faFileArchive = { prefix: 'fas', iconName: 'file-archive', icon: [384, 512, [], "f1c6", "M224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32V32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6zm32.7-53c0 14.9-14.5 27-32.4 27S96 378 96 363c0-14.9 14.5-27 32.4-27s32.5 12.1 32.5 27zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3458. var faFileAudio = { prefix: 'fas', iconName: 'file-audio', icon: [384, 512, [], "f1c7", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-64 268c0 10.7-12.9 16-20.5 8.5L104 376H76c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h28l35.5-36.5c7.6-7.6 20.5-2.2 20.5 8.5v136zm33.2-47.6c9.1-9.3 9.1-24.1 0-33.4-22.1-22.8 12.2-56.2 34.4-33.5 27.2 27.9 27.2 72.4 0 100.4-21.8 22.3-56.9-10.4-34.4-33.5zm86-117.1c54.4 55.9 54.4 144.8 0 200.8-21.8 22.4-57-10.3-34.4-33.5 36.2-37.2 36.3-96.5 0-133.8-22.1-22.8 12.3-56.3 34.4-33.5zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3459. var faFileCode = { prefix: 'fas', iconName: 'file-code', icon: [384, 512, [], "f1c9", "M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zM123.206 400.505a5.4 5.4 0 0 1-7.633.246l-64.866-60.812a5.4 5.4 0 0 1 0-7.879l64.866-60.812a5.4 5.4 0 0 1 7.633.246l19.579 20.885a5.4 5.4 0 0 1-.372 7.747L101.65 336l40.763 35.874a5.4 5.4 0 0 1 .372 7.747l-19.579 20.884zm51.295 50.479l-27.453-7.97a5.402 5.402 0 0 1-3.681-6.692l61.44-211.626a5.402 5.402 0 0 1 6.692-3.681l27.452 7.97a5.4 5.4 0 0 1 3.68 6.692l-61.44 211.626a5.397 5.397 0 0 1-6.69 3.681zm160.792-111.045l-64.866 60.812a5.4 5.4 0 0 1-7.633-.246l-19.58-20.885a5.4 5.4 0 0 1 .372-7.747L284.35 336l-40.763-35.874a5.4 5.4 0 0 1-.372-7.747l19.58-20.885a5.4 5.4 0 0 1 7.633-.246l64.866 60.812a5.4 5.4 0 0 1-.001 7.879z"] };
  3460. var faFileContract = { prefix: 'fas', iconName: 'file-contract', icon: [384, 512, [], "f56c", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 64c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm192.81 248H304c8.84 0 16 7.16 16 16s-7.16 16-16 16h-47.19c-16.45 0-31.27-9.14-38.64-23.86-2.95-5.92-8.09-6.52-10.17-6.52s-7.22.59-10.02 6.19l-7.67 15.34a15.986 15.986 0 0 1-14.31 8.84c-.38 0-.75-.02-1.14-.05-6.45-.45-12-4.75-14.03-10.89L144 354.59l-10.61 31.88c-5.89 17.66-22.38 29.53-41 29.53H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h12.39c4.83 0 9.11-3.08 10.64-7.66l18.19-54.64c3.3-9.81 12.44-16.41 22.78-16.41s19.48 6.59 22.77 16.41l13.88 41.64c19.77-16.19 54.05-9.7 66 14.16 2.02 4.06 5.96 6.5 10.16 6.5zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3461. var faFileCsv = { prefix: 'fas', iconName: 'file-csv', icon: [384, 512, [], "f6dd", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-96 144c0 4.42-3.58 8-8 8h-8c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h8c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-8c-26.51 0-48-21.49-48-48v-32c0-26.51 21.49-48 48-48h8c4.42 0 8 3.58 8 8v16zm44.27 104H160c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h12.27c5.95 0 10.41-3.5 10.41-6.62 0-1.3-.75-2.66-2.12-3.84l-21.89-18.77c-8.47-7.22-13.33-17.48-13.33-28.14 0-21.3 19.02-38.62 42.41-38.62H200c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8h-12.27c-5.95 0-10.41 3.5-10.41 6.62 0 1.3.75 2.66 2.12 3.84l21.89 18.77c8.47 7.22 13.33 17.48 13.33 28.14.01 21.29-19 38.62-42.39 38.62zM256 264v20.8c0 20.27 5.7 40.17 16 56.88 10.3-16.7 16-36.61 16-56.88V264c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v20.8c0 35.48-12.88 68.89-36.28 94.09-3.02 3.25-7.27 5.11-11.72 5.11s-8.7-1.86-11.72-5.11c-23.4-25.2-36.28-58.61-36.28-94.09V264c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8zm121-159L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3462. var faFileDownload = { prefix: 'fas', iconName: 'file-download', icon: [384, 512, [], "f56d", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3463. var faFileExcel = { prefix: 'fas', iconName: 'file-excel', icon: [384, 512, [], "f1c3", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm60.1 106.5L224 336l60.1 93.5c5.1 8-.6 18.5-10.1 18.5h-34.9c-4.4 0-8.5-2.4-10.6-6.3C208.9 405.5 192 373 192 373c-6.4 14.8-10 20-36.6 68.8-2.1 3.9-6.1 6.3-10.5 6.3H110c-9.5 0-15.2-10.5-10.1-18.5l60.3-93.5-60.3-93.5c-5.2-8 .6-18.5 10.1-18.5h34.8c4.4 0 8.5 2.4 10.6 6.3 26.1 48.8 20 33.6 36.6 68.5 0 0 6.1-11.7 36.6-68.5 2.1-3.9 6.2-6.3 10.6-6.3H274c9.5-.1 15.2 10.4 10.1 18.4zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3464. var faFileExport = { prefix: 'fas', iconName: 'file-export', icon: [576, 512, [], "f56e", "M384 121.9c0-6.3-2.5-12.4-7-16.9L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1zM192 336v-32c0-8.84 7.16-16 16-16h176V160H248c-13.2 0-24-10.8-24-24V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V352H208c-8.84 0-16-7.16-16-16zm379.05-28.02l-95.7-96.43c-10.06-10.14-27.36-3.01-27.36 11.27V288H384v64h63.99v65.18c0 14.28 17.29 21.41 27.36 11.27l95.7-96.42c6.6-6.66 6.6-17.4 0-24.05z"] };
  3465. var faFileImage = { prefix: 'fas', iconName: 'file-image', icon: [384, 512, [], "f1c5", "M384 121.941V128H256V0h6.059a24 24 0 0 1 16.97 7.029l97.941 97.941a24.002 24.002 0 0 1 7.03 16.971zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zm-135.455 16c26.51 0 48 21.49 48 48s-21.49 48-48 48-48-21.49-48-48 21.491-48 48-48zm208 240h-256l.485-48.485L104.545 328c4.686-4.686 11.799-4.201 16.485.485L160.545 368 264.06 264.485c4.686-4.686 12.284-4.686 16.971 0L320.545 304v112z"] };
  3466. var faFileImport = { prefix: 'fas', iconName: 'file-import', icon: [512, 512, [], "f56f", "M16 288c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h112v-64H16zm336-152V0H152c-13.3 0-24 10.7-24 24v264h127.99v-65.18c0-14.28 17.29-21.41 27.36-11.27l95.7 96.43c6.6 6.65 6.6 17.39 0 24.04l-95.7 96.42c-10.06 10.14-27.36 3.01-27.36-11.27V352H128v136c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H376c-13.2 0-24-10.8-24-24zm153-31L407.1 7c-4.5-4.5-10.6-7-17-7H384v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3467. var faFileInvoice = { prefix: 'fas', iconName: 'file-invoice', icon: [384, 512, [], "f570", "M288 256H96v64h192v-64zm89-151L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 64c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm256 304c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-200v96c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-96c0-8.84 7.16-16 16-16h224c8.84 0 16 7.16 16 16z"] };
  3468. var faFileInvoiceDollar = { prefix: 'fas', iconName: 'file-invoice-dollar', icon: [384, 512, [], "f571", "M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 80v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8zm144 263.88V440c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-24.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V232c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v24.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07z"] };
  3469. var faFileMedical = { prefix: 'fas', iconName: 'file-medical', icon: [384, 512, [], "f477", "M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 160v48c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8z"] };
  3470. var faFileMedicalAlt = { prefix: 'fas', iconName: 'file-medical-alt', icon: [448, 512, [], "f478", "M288 136V0H88C74.7 0 64 10.7 64 24v232H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h140.9c3 0 5.8 1.7 7.2 4.4l19.9 39.8 56.8-113.7c2.9-5.9 11.4-5.9 14.3 0l34.7 69.5H352c8.8 0 16 7.2 16 16s-7.2 16-16 16h-89.9L240 275.8l-56.8 113.7c-2.9 5.9-11.4 5.9-14.3 0L134.1 320H64v168c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H312c-13.2 0-24-10.8-24-24zm153-31L343.1 7c-4.5-4.5-10.6-7-17-7H320v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3471. var faFilePdf = { prefix: 'fas', iconName: 'file-pdf', icon: [384, 512, [], "f1c1", "M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2c-7.7 20.2-17.3 43.3-28.4 62.7 18.3-7 39-17.2 62.9-21.9-12.7-9.6-24.9-23.4-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V24C0 10.7 10.7 0 24 0h200v136c0 13.2 10.8 24 24 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77-11.6 27.6-28.7 64.6-40.8 85.8-.1 0-.1.1-.2.1-27.1 13.9-73.6 44.5-54.5 68 5.6 6.9 16 10 21.5 10 17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-32 19.7-43.4-13.9-13.6-54.3-9.7-73.6-7.2zM377 105L279 7c-4.5-4.5-10.6-7-17-7h-6v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-74.1 255.3c4.1-2.7-2.5-11.9-42.8-9 37.1 15.8 42.8 9 42.8 9z"] };
  3472. var faFilePowerpoint = { prefix: 'fas', iconName: 'file-powerpoint', icon: [384, 512, [], "f1c4", "M193.7 271.2c8.8 0 15.5 2.7 20.3 8.1 9.6 10.9 9.8 32.7-.2 44.1-4.9 5.6-11.9 8.5-21.1 8.5h-26.9v-60.7h27.9zM377 105L279 7c-4.5-4.5-10.6-7-17-7h-6v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm53 165.2c0 90.3-88.8 77.6-111.1 77.6V436c0 6.6-5.4 12-12 12h-30.8c-6.6 0-12-5.4-12-12V236.2c0-6.6 5.4-12 12-12h81c44.5 0 72.9 32.8 72.9 77z"] };
  3473. var faFilePrescription = { prefix: 'fas', iconName: 'file-prescription', icon: [384, 512, [], "f572", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm68.53 179.48l11.31 11.31c6.25 6.25 6.25 16.38 0 22.63l-29.9 29.9L304 409.38c6.25 6.25 6.25 16.38 0 22.63l-11.31 11.31c-6.25 6.25-16.38 6.25-22.63 0L240 413.25l-30.06 30.06c-6.25 6.25-16.38 6.25-22.63 0L176 432c-6.25-6.25-6.25-16.38 0-22.63l30.06-30.06L146.74 320H128v48c0 8.84-7.16 16-16 16H96c-8.84 0-16-7.16-16-16V208c0-8.84 7.16-16 16-16h80c35.35 0 64 28.65 64 64 0 24.22-13.62 45.05-33.46 55.92L240 345.38l29.9-29.9c6.25-6.25 16.38-6.25 22.63 0zM176 272h-48v-32h48c8.82 0 16 7.18 16 16s-7.18 16-16 16zm208-150.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3474. var faFileSignature = { prefix: 'fas', iconName: 'file-signature', icon: [576, 512, [], "f573", "M218.17 424.14c-2.95-5.92-8.09-6.52-10.17-6.52s-7.22.59-10.02 6.19l-7.67 15.34c-6.37 12.78-25.03 11.37-29.48-2.09L144 386.59l-10.61 31.88c-5.89 17.66-22.38 29.53-41 29.53H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h12.39c4.83 0 9.11-3.08 10.64-7.66l18.19-54.64c3.3-9.81 12.44-16.41 22.78-16.41s19.48 6.59 22.77 16.41l13.88 41.64c19.75-16.19 54.06-9.7 66 14.16 1.89 3.78 5.49 5.95 9.36 6.26v-82.12l128-127.09V160H248c-13.2 0-24-10.8-24-24V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24v-40l-128-.11c-16.12-.31-30.58-9.28-37.83-23.75zM384 121.9c0-6.3-2.5-12.4-7-16.9L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1zm-96 225.06V416h68.99l161.68-162.78-67.88-67.88L288 346.96zm280.54-179.63l-31.87-31.87c-9.94-9.94-26.07-9.94-36.01 0l-27.25 27.25 67.88 67.88 27.25-27.25c9.95-9.94 9.95-26.07 0-36.01z"] };
  3475. var faFileUpload = { prefix: 'fas', iconName: 'file-upload', icon: [384, 512, [], "f574", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"] };
  3476. var faFileVideo = { prefix: 'fas', iconName: 'file-video', icon: [384, 512, [], "f1c8", "M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM224 136V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248c-13.2 0-24-10.8-24-24zm96 144.016v111.963c0 21.445-25.943 31.998-40.971 16.971L224 353.941V392c0 13.255-10.745 24-24 24H88c-13.255 0-24-10.745-24-24V280c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v38.059l55.029-55.013c15.011-15.01 40.971-4.491 40.971 16.97z"] };
  3477. var faFileWord = { prefix: 'fas', iconName: 'file-word', icon: [384, 512, [], "f1c2", "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm57.1 120H305c7.7 0 13.4 7.1 11.7 14.7l-38 168c-1.2 5.5-6.1 9.3-11.7 9.3h-38c-5.5 0-10.3-3.8-11.6-9.1-25.8-103.5-20.8-81.2-25.6-110.5h-.5c-1.1 14.3-2.4 17.4-25.6 110.5-1.3 5.3-6.1 9.1-11.6 9.1H117c-5.6 0-10.5-3.9-11.7-9.4l-37.8-168c-1.7-7.5 4-14.6 11.7-14.6h24.5c5.7 0 10.7 4 11.8 9.7 15.6 78 20.1 109.5 21 122.2 1.6-10.2 7.3-32.7 29.4-122.7 1.3-5.4 6.1-9.1 11.7-9.1h29.1c5.6 0 10.4 3.8 11.7 9.2 24 100.4 28.8 124 29.6 129.4-.2-11.2-2.6-17.8 21.6-129.2 1-5.6 5.9-9.5 11.5-9.5zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"] };
  3478. var faFill = { prefix: 'fas', iconName: 'fill', icon: [512, 512, [], "f575", "M502.63 217.06L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.77c-6.24-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.63l86.19 86.18-94.76 94.76c-37.49 37.49-37.49 98.26 0 135.75l117.19 117.19c18.75 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.88-28.12l221.57-221.57c12.49-12.5 12.49-32.76 0-45.26zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.61 58.6c12.49 12.49 32.75 12.49 45.24 0 12.49-12.49 12.49-32.75 0-45.24l-58.61-58.6 58.95-58.95 162.45 162.44-48.35 48.34z"] };
  3479. var faFillDrip = { prefix: 'fas', iconName: 'fill-drip', icon: [576, 512, [], "f576", "M512 320s-64 92.65-64 128c0 35.35 28.66 64 64 64s64-28.65 64-64-64-128-64-128zm-9.37-102.94L294.94 9.37C288.69 3.12 280.5 0 272.31 0s-16.38 3.12-22.62 9.37l-81.58 81.58L81.93 4.76c-6.25-6.25-16.38-6.25-22.62 0L36.69 27.38c-6.24 6.25-6.24 16.38 0 22.62l86.19 86.18-94.76 94.76c-37.49 37.48-37.49 98.26 0 135.75l117.19 117.19c18.74 18.74 43.31 28.12 67.87 28.12 24.57 0 49.13-9.37 67.87-28.12l221.57-221.57c12.5-12.5 12.5-32.75.01-45.25zm-116.22 70.97H65.93c1.36-3.84 3.57-7.98 7.43-11.83l13.15-13.15 81.61-81.61 58.6 58.6c12.49 12.49 32.75 12.49 45.24 0s12.49-32.75 0-45.24l-58.6-58.6 58.95-58.95 162.44 162.44-48.34 48.34z"] };
  3480. var faFilm = { prefix: 'fas', iconName: 'film', icon: [512, 512, [], "f008", "M488 64h-8v20c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V64H96v20c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12V64h-8C10.7 64 0 74.7 0 88v336c0 13.3 10.7 24 24 24h8v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h320v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h8c13.3 0 24-10.7 24-24V88c0-13.3-10.7-24-24-24zM96 372c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm272 208c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm0-168c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm112 152c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40z"] };
  3481. var faFilter = { prefix: 'fas', iconName: 'filter', icon: [512, 512, [], "f0b0", "M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"] };
  3482. var faFingerprint = { prefix: 'fas', iconName: 'fingerprint', icon: [512, 512, [], "f577", "M256.12 245.96c-13.25 0-24 10.74-24 24 1.14 72.25-8.14 141.9-27.7 211.55-2.73 9.72 2.15 30.49 23.12 30.49 10.48 0 20.11-6.92 23.09-17.52 13.53-47.91 31.04-125.41 29.48-224.52.01-13.25-10.73-24-23.99-24zm-.86-81.73C194 164.16 151.25 211.3 152.1 265.32c.75 47.94-3.75 95.91-13.37 142.55-2.69 12.98 5.67 25.69 18.64 28.36 13.05 2.67 25.67-5.66 28.36-18.64 10.34-50.09 15.17-101.58 14.37-153.02-.41-25.95 19.92-52.49 54.45-52.34 31.31.47 57.15 25.34 57.62 55.47.77 48.05-2.81 96.33-10.61 143.55-2.17 13.06 6.69 25.42 19.76 27.58 19.97 3.33 26.81-15.1 27.58-19.77 8.28-50.03 12.06-101.21 11.27-152.11-.88-55.8-47.94-101.88-104.91-102.72zm-110.69-19.78c-10.3-8.34-25.37-6.8-33.76 3.48-25.62 31.5-39.39 71.28-38.75 112 .59 37.58-2.47 75.27-9.11 112.05-2.34 13.05 6.31 25.53 19.36 27.89 20.11 3.5 27.07-14.81 27.89-19.36 7.19-39.84 10.5-80.66 9.86-121.33-.47-29.88 9.2-57.88 28-80.97 8.35-10.28 6.79-25.39-3.49-33.76zm109.47-62.33c-15.41-.41-30.87 1.44-45.78 4.97-12.89 3.06-20.87 15.98-17.83 28.89 3.06 12.89 16 20.83 28.89 17.83 11.05-2.61 22.47-3.77 34-3.69 75.43 1.13 137.73 61.5 138.88 134.58.59 37.88-1.28 76.11-5.58 113.63-1.5 13.17 7.95 25.08 21.11 26.58 16.72 1.95 25.51-11.88 26.58-21.11a929.06 929.06 0 0 0 5.89-119.85c-1.56-98.75-85.07-180.33-186.16-181.83zm252.07 121.45c-2.86-12.92-15.51-21.2-28.61-18.27-12.94 2.86-21.12 15.66-18.26 28.61 4.71 21.41 4.91 37.41 4.7 61.6-.11 13.27 10.55 24.09 23.8 24.2h.2c13.17 0 23.89-10.61 24-23.8.18-22.18.4-44.11-5.83-72.34zm-40.12-90.72C417.29 43.46 337.6 1.29 252.81.02 183.02-.82 118.47 24.91 70.46 72.94 24.09 119.37-.9 181.04.14 246.65l-.12 21.47c-.39 13.25 10.03 24.31 23.28 24.69.23.02.48.02.72.02 12.92 0 23.59-10.3 23.97-23.3l.16-23.64c-.83-52.5 19.16-101.86 56.28-139 38.76-38.8 91.34-59.67 147.68-58.86 69.45 1.03 134.73 35.56 174.62 92.39 7.61 10.86 22.56 13.45 33.42 5.86 10.84-7.62 13.46-22.59 5.84-33.43z"] };
  3483. var faFire = { prefix: 'fas', iconName: 'fire', icon: [384, 512, [], "f06d", "M216 23.858c0-23.802-30.653-32.765-44.149-13.038C48 191.851 224 200 224 288c0 35.629-29.114 64.458-64.85 63.994C123.98 351.538 96 322.22 96 287.046v-85.51c0-21.703-26.471-32.225-41.432-16.504C27.801 213.158 0 261.332 0 320c0 105.869 86.131 192 192 192s192-86.131 192-192c0-170.29-168-193.003-168-296.142z"] };
  3484. var faFireExtinguisher = { prefix: 'fas', iconName: 'fire-extinguisher', icon: [448, 512, [], "f134", "M434.027 26.329l-168 28C254.693 56.218 256 67.8 256 72h-58.332C208.353 36.108 181.446 0 144 0c-39.435 0-66.368 39.676-52.228 76.203-52.039 13.051-75.381 54.213-90.049 90.884-4.923 12.307 1.063 26.274 13.37 31.197 12.317 4.926 26.279-1.075 31.196-13.37C75.058 112.99 106.964 120 168 120v27.076c-41.543 10.862-72 49.235-72 94.129V488c0 13.255 10.745 24 24 24h144c13.255 0 24-10.745 24-24V240c0-44.731-30.596-82.312-72-92.97V120h40c0 2.974-1.703 15.716 10.027 17.671l168 28C441.342 166.89 448 161.25 448 153.834V38.166c0-7.416-6.658-13.056-13.973-11.837zM144 72c-8.822 0-16-7.178-16-16s7.178-16 16-16 16 7.178 16 16-7.178 16-16 16z"] };
  3485. var faFirstAid = { prefix: 'fas', iconName: 'first-aid', icon: [576, 512, [], "f479", "M0 80v352c0 26.5 21.5 48 48 48h48V32H48C21.5 32 0 53.5 0 80zm128 400h320V32H128v448zm64-248c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48zM528 32h-48v448h48c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"] };
  3486. var faFish = { prefix: 'fas', iconName: 'fish', icon: [576, 512, [], "f578", "M327.1 96c-89.97 0-168.54 54.77-212.27 101.63L27.5 131.58c-12.13-9.18-30.24.6-27.14 14.66L24.54 256 .35 365.77c-3.1 14.06 15.01 23.83 27.14 14.66l87.33-66.05C158.55 361.23 237.13 416 327.1 416 464.56 416 576 288 576 256S464.56 96 327.1 96zm87.43 184c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24 13.26 0 24 10.74 24 24 0 13.25-10.75 24-24 24z"] };
  3487. var faFistRaised = { prefix: 'fas', iconName: 'fist-raised', icon: [384, 512, [], "f6de", "M255.98 160V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v146.93c5.02-1.78 10.34-2.93 15.97-2.93h48.03zm128 95.99c-.01-35.34-28.66-63.99-63.99-63.99H207.85c-8.78 0-15.9 7.07-15.9 15.85v.56c0 26.27 21.3 47.59 47.57 47.59h35.26c9.68 0 13.2 3.58 13.2 8v16.2c0 4.29-3.59 7.78-7.88 8-44.52 2.28-64.16 24.71-96.05 72.55l-6.31 9.47a7.994 7.994 0 0 1-11.09 2.22l-13.31-8.88a7.994 7.994 0 0 1-2.22-11.09l6.31-9.47c15.73-23.6 30.2-43.26 47.31-58.08-17.27-5.51-31.4-18.12-38.87-34.45-6.59 3.41-13.96 5.52-21.87 5.52h-32c-12.34 0-23.49-4.81-32-12.48C71.48 251.19 60.33 256 48 256H16c-5.64 0-10.97-1.15-16-2.95v77.93c0 33.95 13.48 66.5 37.49 90.51L63.99 448v64h255.98v-63.96l35.91-35.92A96.035 96.035 0 0 0 384 344.21l-.02-88.22zm-32.01-90.09V48c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v112h32c11.28 0 21.94 2.31 32 5.9zM16 224h32c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v128c0 8.84 7.16 16 16 16zm95.99 0h32c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v160c0 8.84 7.16 16 16 16z"] };
  3488. var faFlag = { prefix: 'fas', iconName: 'flag', icon: [512, 512, [], "f024", "M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"] };
  3489. var faFlagCheckered = { prefix: 'fas', iconName: 'flag-checkered', icon: [512, 512, [], "f11e", "M466.515 66.928C487.731 57.074 512 72.551 512 95.944v243.1c0 10.526-5.161 20.407-13.843 26.358-35.837 24.564-74.335 40.858-122.505 40.858-67.373 0-111.63-34.783-165.217-34.783-50.853 0-86.124 10.058-114.435 22.122V488c0 13.255-10.745 24-24 24H56c-13.255 0-24-10.745-24-24V101.945C17.497 91.825 8 75.026 8 56 8 24.296 34.345-1.254 66.338.048c28.468 1.158 51.779 23.968 53.551 52.404.52 8.342-.81 16.31-3.586 23.562C137.039 68.384 159.393 64 184.348 64c67.373 0 111.63 34.783 165.217 34.783 40.496 0 82.612-15.906 116.95-31.855zM96 134.63v70.49c29-10.67 51.18-17.83 73.6-20.91v-71.57c-23.5 2.17-40.44 9.79-73.6 21.99zm220.8 9.19c-26.417-4.672-49.886-13.979-73.6-21.34v67.42c24.175 6.706 47.566 16.444 73.6 22.31v-68.39zm-147.2 40.39v70.04c32.796-2.978 53.91-.635 73.6 3.8V189.9c-25.247-7.035-46.581-9.423-73.6-5.69zm73.6 142.23c26.338 4.652 49.732 13.927 73.6 21.34v-67.41c-24.277-6.746-47.54-16.45-73.6-22.32v68.39zM96 342.1c23.62-8.39 47.79-13.84 73.6-16.56v-71.29c-26.11 2.35-47.36 8.04-73.6 17.36v70.49zm368-221.6c-21.3 8.85-46.59 17.64-73.6 22.47v71.91c27.31-4.36 50.03-14.1 73.6-23.89V120.5zm0 209.96v-70.49c-22.19 14.2-48.78 22.61-73.6 26.02v71.58c25.07-2.38 48.49-11.04 73.6-27.11zM316.8 212.21v68.16c25.664 7.134 46.616 9.342 73.6 5.62v-71.11c-25.999 4.187-49.943 2.676-73.6-2.67z"] };
  3490. var faFlask = { prefix: 'fas', iconName: 'flask', icon: [448, 512, [], "f0c3", "M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z"] };
  3491. var faFlushed = { prefix: 'fas', iconName: 'flushed', icon: [496, 512, [], "f579", "M344 200c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm-192 0c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM80 224c0-39.8 32.2-72 72-72s72 32.2 72 72-32.2 72-72 72-72-32.2-72-72zm232 176H184c-21.2 0-21.2-32 0-32h128c21.2 0 21.2 32 0 32zm32-104c-39.8 0-72-32.2-72-72s32.2-72 72-72 72 32.2 72 72-32.2 72-72 72z"] };
  3492. var faFolder = { prefix: 'fas', iconName: 'folder', icon: [512, 512, [], "f07b", "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z"] };
  3493. var faFolderMinus = { prefix: 'fas', iconName: 'folder-minus', icon: [512, 512, [], "f65d", "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm-96 168c0 8.84-7.16 16-16 16H160c-8.84 0-16-7.16-16-16v-16c0-8.84 7.16-16 16-16h192c8.84 0 16 7.16 16 16v16z"] };
  3494. var faFolderOpen = { prefix: 'fas', iconName: 'folder-open', icon: [576, 512, [], "f07c", "M572.694 292.093L500.27 416.248A63.997 63.997 0 0 1 444.989 448H45.025c-18.523 0-30.064-20.093-20.731-36.093l72.424-124.155A64 64 0 0 1 152 256h399.964c18.523 0 30.064 20.093 20.73 36.093zM152 224h328v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v278.046l69.077-118.418C86.214 242.25 117.989 224 152 224z"] };
  3495. var faFolderPlus = { prefix: 'fas', iconName: 'folder-plus', icon: [512, 512, [], "f65e", "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm-96 168c0 8.84-7.16 16-16 16h-72v72c0 8.84-7.16 16-16 16h-16c-8.84 0-16-7.16-16-16v-72h-72c-8.84 0-16-7.16-16-16v-16c0-8.84 7.16-16 16-16h72v-72c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v72h72c8.84 0 16 7.16 16 16v16z"] };
  3496. var faFont = { prefix: 'fas', iconName: 'font', icon: [448, 512, [], "f031", "M152 416h-24.013l26.586-80.782H292.8L319.386 416H296c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h136c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-26.739L275.495 42.746A16 16 0 0 0 260.382 32h-72.766a16 16 0 0 0-15.113 10.746L42.739 416H16c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h136c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm64.353-271.778c4.348-15.216 6.61-28.156 7.586-34.644.839 6.521 2.939 19.476 7.727 34.706l41.335 124.006h-98.619l41.971-124.068z"] };
  3497. var faFontAwesomeLogoFull = { prefix: 'fas', iconName: 'font-awesome-logo-full', icon: [3992, 512, ["Font Awesome"], "f4e6", "M454.6 0H57.4C25.9 0 0 25.9 0 57.4v397.3C0 486.1 25.9 512 57.4 512h397.3c31.4 0 57.4-25.9 57.4-57.4V57.4C512 25.9 486.1 0 454.6 0zm-58.9 324.9c0 4.8-4.1 6.9-8.9 8.9-19.2 8.1-39.7 15.7-61.5 15.7-40.5 0-68.7-44.8-163.2 2.5v51.8c0 30.3-45.7 30.2-45.7 0v-250c-9-7-15-17.9-15-30.3 0-21 17.1-38.2 38.2-38.2 21 0 38.2 17.1 38.2 38.2 0 12.2-5.8 23.2-14.9 30.2v21c37.1-12 65.5-34.4 146.1-3.4 26.6 11.4 68.7-15.7 76.5-15.7 5.5 0 10.3 4.1 10.3 8.9v160.4zm432.9-174.2h-137v70.1H825c39.8 0 40.4 62.2 0 62.2H691.6v105.6c0 45.5-70.7 46.4-70.7 0V128.3c0-22 18-39.8 39.8-39.8h167.8c39.6 0 40.5 62.2.1 62.2zm191.1 23.4c-169.3 0-169.1 252.4 0 252.4 169.9 0 169.9-252.4 0-252.4zm0 196.1c-81.6 0-82.1-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm372.4 53.4c-17.5 0-31.4-13.9-31.4-31.4v-117c0-62.4-72.6-52.5-99.1-16.4v133.4c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c43.3-51.6 162.4-60.4 162.4 39.3v141.5c.3 30.4-31.5 31.4-31.7 31.4zm179.7 2.9c-44.3 0-68.3-22.9-68.3-65.8V235.2H1488c-35.6 0-36.7-55.3 0-55.3h15.5v-37.3c0-41.3 63.8-42.1 63.8 0v37.5h24.9c35.4 0 35.7 55.3 0 55.3h-24.9v108.5c0 29.6 26.1 26.3 27.4 26.3 31.4 0 52.6 56.3-22.9 56.3zM1992 123c-19.5-50.2-95.5-50-114.5 0-107.3 275.7-99.5 252.7-99.5 262.8 0 42.8 58.3 51.2 72.1 14.4l13.5-35.9H2006l13 35.9c14.2 37.7 72.1 27.2 72.1-14.4 0-10.1 5.3 6.8-99.1-262.8zm-108.9 179.1l51.7-142.9 51.8 142.9h-103.5zm591.3-85.6l-53.7 176.3c-12.4 41.2-72 41-84 0l-42.3-135.9-42.3 135.9c-12.4 40.9-72 41.2-84.5 0l-54.2-176.3c-12.5-39.4 49.8-56.1 60.2-16.9L2213 342l45.3-139.5c10.9-32.7 59.6-34.7 71.2 0l45.3 139.5 39.3-142.4c10.3-38.3 72.6-23.8 60.3 16.9zm275.4 75.1c0-42.4-33.9-117.5-119.5-117.5-73.2 0-124.4 56.3-124.4 126 0 77.2 55.3 126.4 128.5 126.4 31.7 0 93-11.5 93-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-109 8.4-115.9-43.8h148.3c16.3 0 29.3-13.4 29.3-28.9zM2571 277.7c9.5-73.4 113.9-68.6 118.6 0H2571zm316.7 148.8c-31.4 0-81.6-10.5-96.6-31.9-12.4-17 2.5-39.8 21.8-39.8 16.3 0 36.8 22.9 77.7 22.9 27.4 0 40.4-11 40.4-25.8 0-39.8-142.9-7.4-142.9-102 0-40.4 35.3-75.7 98.6-75.7 31.4 0 74.1 9.9 87.6 29.4 10.8 14.8-1.4 36.2-20.9 36.2-15.1 0-26.7-17.3-66.2-17.3-22.9 0-37.8 10.5-37.8 23.8 0 35.9 142.4 6 142.4 103.1-.1 43.7-37.4 77.1-104.1 77.1zm266.8-252.4c-169.3 0-169.1 252.4 0 252.4 170.1 0 169.6-252.4 0-252.4zm0 196.1c-81.8 0-82-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm476.9 22V268.7c0-53.8-61.4-45.8-85.7-10.5v134c0 41.3-63.8 42.1-63.8 0V268.7c0-52.1-59.5-47.4-85.7-10.1v133.6c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c9.9-14.4 41.8-37.3 78.6-37.3 35.3 0 57.7 16.4 66.7 43.8 13.9-21.8 45.8-43.8 82.6-43.8 44.3 0 70.7 23.4 70.7 72.7v145.3c.5 17.3-13.5 31.4-31.9 31.4 3.5.1-31.3 1.1-31.3-31.3zM3992 291.6c0-42.4-32.4-117.5-117.9-117.5-73.2 0-127.5 56.3-127.5 126 0 77.2 58.3 126.4 131.6 126.4 31.7 0 91.5-11.5 91.5-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-110.5 8.4-117.5-43.8h149.8c16.3 0 29.1-13.4 29.3-28.9zm-180.5-13.9c9.7-74.4 115.9-68.3 120.1 0h-120.1z"] };
  3498. var faFootballBall = { prefix: 'fas', iconName: 'football-ball', icon: [496, 512, [], "f44e", "M481.5 60.3c-4.8-18.2-19.1-32.5-37.3-37.4C420.3 16.5 383 8.9 339.4 8L496 164.8c-.8-43.5-8.2-80.6-14.5-104.5zm-467 391.4c4.8 18.2 19.1 32.5 37.3 37.4 23.9 6.4 61.2 14 104.8 14.9L0 347.2c.8 43.5 8.2 80.6 14.5 104.5zM4.2 283.4L220.4 500c132.5-19.4 248.8-118.7 271.5-271.4L275.6 12C143.1 31.4 26.8 130.7 4.2 283.4zm317.3-123.6c3.1-3.1 8.2-3.1 11.3 0l11.3 11.3c3.1 3.1 3.1 8.2 0 11.3l-28.3 28.3 28.3 28.3c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0l-28.3-28.3-22.6 22.7 28.3 28.3c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0L248 278.6l-22.6 22.6 28.3 28.3c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0l-28.3-28.3-28.3 28.3c-3.1 3.1-8.2 3.1-11.3 0l-11.3-11.3c-3.1-3.1-3.1-8.2 0-11.3l28.3-28.3-28.3-28.2c-3.1-3.1-3.1-8.2 0-11.3l11.3-11.3c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3 22.6-22.6-28.3-28.3c-3.1-3.1-3.1-8.2 0-11.3l11.3-11.3c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3 22.6-22.6-28.3-28.3c-3.1-3.1-3.1-8.2 0-11.3l11.3-11.3c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3 28.3-28.5z"] };
  3499. var faForward = { prefix: 'fas', iconName: 'forward', icon: [512, 512, [], "f04e", "M500.5 231.4l-192-160C287.9 54.3 256 68.6 256 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2zm-256 0l-192-160C31.9 54.3 0 68.6 0 96v320c0 27.4 31.9 41.8 52.5 24.6l192-160c15.3-12.8 15.3-36.4 0-49.2z"] };
  3500. var faFrog = { prefix: 'fas', iconName: 'frog', icon: [576, 512, [], "f52e", "M446.53 97.43C439.67 60.23 407.19 32 368 32c-39.23 0-71.72 28.29-78.54 65.54C126.75 112.96-.5 250.12 0 416.98.11 451.9 29.08 480 64 480h304c8.84 0 16-7.16 16-16 0-17.67-14.33-32-32-32h-79.49l35.8-48.33c24.14-36.23 10.35-88.28-33.71-106.6-23.89-9.93-51.55-4.65-72.24 10.88l-32.76 24.59c-7.06 5.31-17.09 3.91-22.41-3.19-5.3-7.08-3.88-17.11 3.19-22.41l34.78-26.09c36.84-27.66 88.28-27.62 125.13 0 10.87 8.15 45.87 39.06 40.8 93.21L469.62 480H560c8.84 0 16-7.16 16-16 0-17.67-14.33-32-32-32h-53.63l-98.52-104.68 154.44-86.65A58.16 58.16 0 0 0 576 189.94c0-21.4-11.72-40.95-30.48-51.23-40.56-22.22-98.99-41.28-98.99-41.28zM368 136c-13.26 0-24-10.75-24-24 0-13.26 10.74-24 24-24 13.25 0 24 10.74 24 24 0 13.25-10.75 24-24 24z"] };
  3501. var faFrown = { prefix: 'fas', iconName: 'frown', icon: [496, 512, [], "f119", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm170.2 218.2C315.8 367.4 282.9 352 248 352s-67.8 15.4-90.2 42.2c-13.5 16.3-38.1-4.2-24.6-20.5C161.7 339.6 203.6 320 248 320s86.3 19.6 114.7 53.8c13.6 16.2-11 36.7-24.5 20.4z"] };
  3502. var faFrownOpen = { prefix: 'fas', iconName: 'frown-open', icon: [496, 512, [], "f57a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 208c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm187.3 183.3c-31.2-9.6-59.4-15.3-75.3-15.3s-44.1 5.7-75.3 15.3c-11.5 3.5-22.5-6.3-20.5-18.1 7-40 60.1-61.2 95.8-61.2s88.8 21.3 95.8 61.2c2 11.9-9.1 21.6-20.5 18.1zM328 240c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3503. var faFunnelDollar = { prefix: 'fas', iconName: 'funnel-dollar', icon: [640, 512, [], "f662", "M433.46 165.94l101.2-111.87C554.61 34.12 540.48 0 512.26 0H31.74C3.52 0-10.61 34.12 9.34 54.07L192 256v155.92c0 12.59 5.93 24.44 16 32l79.99 60c20.86 15.64 48.47 6.97 59.22-13.57C310.8 455.38 288 406.35 288 352c0-89.79 62.05-165.17 145.46-186.06zM480 192c-88.37 0-160 71.63-160 160s71.63 160 160 160 160-71.63 160-160-71.63-160-160-160zm16 239.88V448c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V256c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.04 44.44-42.67 45.07z"] };
  3504. var faFutbol = { prefix: 'fas', iconName: 'futbol', icon: [512, 512, [], "f1e3", "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"] };
  3505. var faGamepad = { prefix: 'fas', iconName: 'gamepad', icon: [640, 512, [], "f11b", "M480 96H160C71.6 96 0 167.6 0 256s71.6 160 160 160c44.8 0 85.2-18.4 114.2-48h91.5c29 29.6 69.5 48 114.2 48 88.4 0 160-71.6 160-160S568.4 96 480 96zM256 276c0 6.6-5.4 12-12 12h-52v52c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-52H76c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h52v-52c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h52c6.6 0 12 5.4 12 12v40zm184 68c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-80c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"] };
  3506. var faGasPump = { prefix: 'fas', iconName: 'gas-pump', icon: [512, 512, [], "f52f", "M336 448H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h320c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm157.2-340.7l-81-81c-6.2-6.2-16.4-6.2-22.6 0l-11.3 11.3c-6.2 6.2-6.2 16.4 0 22.6L416 97.9V160c0 28.1 20.9 51.3 48 55.2V376c0 13.2-10.8 24-24 24s-24-10.8-24-24v-32c0-48.6-39.4-88-88-88h-8V64c0-35.3-28.7-64-64-64H96C60.7 0 32 28.7 32 64v352h288V304h8c22.1 0 40 17.9 40 40v27.8c0 37.7 27 72 64.5 75.9 43 4.3 79.5-29.5 79.5-71.7V152.6c0-17-6.8-33.3-18.8-45.3zM256 192H96V64h160v128z"] };
  3507. var faGavel = { prefix: 'fas', iconName: 'gavel', icon: [512, 512, [], "f0e3", "M504.971 199.362l-22.627-22.627c-9.373-9.373-24.569-9.373-33.941 0l-5.657 5.657L329.608 69.255l5.657-5.657c9.373-9.373 9.373-24.569 0-33.941L312.638 7.029c-9.373-9.373-24.569-9.373-33.941 0L154.246 131.48c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l5.657-5.657 39.598 39.598-81.04 81.04-5.657-5.657c-12.497-12.497-32.758-12.497-45.255 0L9.373 412.118c-12.497 12.497-12.497 32.758 0 45.255l45.255 45.255c12.497 12.497 32.758 12.497 45.255 0l114.745-114.745c12.497-12.497 12.497-32.758 0-45.255l-5.657-5.657 81.04-81.04 39.598 39.598-5.657 5.657c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l124.451-124.451c9.372-9.372 9.372-24.568 0-33.941z"] };
  3508. var faGem = { prefix: 'fas', iconName: 'gem', icon: [576, 512, [], "f3a5", "M485.5 0L576 160H474.9L405.7 0h79.8zm-128 0l69.2 160H149.3L218.5 0h139zm-267 0h79.8l-69.2 160H0L90.5 0zM0 192h100.7l123 251.7c1.5 3.1-2.7 5.9-5 3.3L0 192zm148.2 0h279.6l-137 318.2c-1 2.4-4.5 2.4-5.5 0L148.2 192zm204.1 251.7l123-251.7H576L357.3 446.9c-2.3 2.7-6.5-.1-5-3.2z"] };
  3509. var faGenderless = { prefix: 'fas', iconName: 'genderless', icon: [288, 512, [], "f22d", "M144 176c44.1 0 80 35.9 80 80s-35.9 80-80 80-80-35.9-80-80 35.9-80 80-80m0-64C64.5 112 0 176.5 0 256s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144z"] };
  3510. var faGhost = { prefix: 'fas', iconName: 'ghost', icon: [384, 512, [], "f6e2", "M186.1.09C81.01 3.24 0 94.92 0 200.05v263.92c0 14.26 17.23 21.39 27.31 11.31l24.92-18.53c6.66-4.95 16-3.99 21.51 2.21l42.95 48.35c6.25 6.25 16.38 6.25 22.63 0l40.72-45.85c6.37-7.17 17.56-7.17 23.92 0l40.72 45.85c6.25 6.25 16.38 6.25 22.63 0l42.95-48.35c5.51-6.2 14.85-7.17 21.51-2.21l24.92 18.53c10.08 10.08 27.31 2.94 27.31-11.31V192C384 84 294.83-3.17 186.1.09zM128 224c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm128 0c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3511. var faGift = { prefix: 'fas', iconName: 'gift', icon: [512, 512, [], "f06b", "M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm448-288h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40zm-72 320h160c17.7 0 32-14.3 32-32V320H288v160z"] };
  3512. var faGlassMartini = { prefix: 'fas', iconName: 'glass-martini', icon: [512, 512, [], "f000", "M502.05 57.6C523.3 36.34 508.25 0 478.2 0H33.8C3.75 0-11.3 36.34 9.95 57.6L224 271.64V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40h-56V271.64L502.05 57.6z"] };
  3513. var faGlassMartiniAlt = { prefix: 'fas', iconName: 'glass-martini-alt', icon: [512, 512, [], "f57b", "M502.05 57.6C523.3 36.34 508.25 0 478.2 0H33.8C3.75 0-11.3 36.34 9.95 57.6L224 271.64V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40h-56V271.64L502.05 57.6zM443.77 48l-48 48H116.24l-48-48h375.53z"] };
  3514. var faGlasses = { prefix: 'fas', iconName: 'glasses', icon: [576, 512, [], "f530", "M574.1 280.37L528.75 98.66c-5.91-23.7-21.59-44.05-43-55.81-21.44-11.73-46.97-14.11-70.19-6.33l-15.25 5.08c-8.39 2.79-12.92 11.86-10.12 20.24l5.06 15.18c2.79 8.38 11.85 12.91 20.23 10.12l13.18-4.39c10.87-3.62 23-3.57 33.16 1.73 10.29 5.37 17.57 14.56 20.37 25.82l38.46 153.82c-22.19-6.81-49.79-12.46-81.2-12.46-34.77 0-73.98 7.02-114.85 26.74h-73.18c-40.87-19.74-80.08-26.75-114.86-26.75-31.42 0-59.02 5.65-81.21 12.46l38.46-153.83c2.79-11.25 10.09-20.45 20.38-25.81 10.16-5.3 22.28-5.35 33.15-1.73l13.17 4.39c8.38 2.79 17.44-1.74 20.23-10.12l5.06-15.18c2.8-8.38-1.73-17.45-10.12-20.24l-15.25-5.08c-23.22-7.78-48.75-5.41-70.19 6.33-21.41 11.77-37.09 32.11-43 55.8L1.9 280.37A64.218 64.218 0 0 0 0 295.86v70.25C0 429.01 51.58 480 115.2 480h37.12c60.28 0 110.37-45.94 114.88-105.37l2.93-38.63h35.75l2.93 38.63C313.31 434.06 363.4 480 423.68 480h37.12c63.62 0 115.2-50.99 115.2-113.88v-70.25c0-5.23-.64-10.43-1.9-15.5zm-370.72 89.42c-1.97 25.91-24.4 46.21-51.06 46.21H115.2C86.97 416 64 393.62 64 366.11v-37.54c18.12-6.49 43.42-12.92 72.58-12.92 23.86 0 47.26 4.33 69.93 12.92l-3.13 41.22zM512 366.12c0 27.51-22.97 49.88-51.2 49.88h-37.12c-26.67 0-49.1-20.3-51.06-46.21l-3.13-41.22c22.67-8.59 46.08-12.92 69.95-12.92 29.12 0 54.43 6.44 72.55 12.93v37.54z"] };
  3515. var faGlobe = { prefix: 'fas', iconName: 'globe', icon: [496, 512, [], "f0ac", "M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"] };
  3516. var faGlobeAfrica = { prefix: 'fas', iconName: 'globe-africa', icon: [496, 512, [], "f57c", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm160 215.5v6.93c0 5.87-3.32 11.24-8.57 13.86l-15.39 7.7a15.485 15.485 0 0 1-15.53-.97l-18.21-12.14a15.52 15.52 0 0 0-13.5-1.81l-2.65.88c-9.7 3.23-13.66 14.79-7.99 23.3l13.24 19.86c2.87 4.31 7.71 6.9 12.89 6.9h8.21c8.56 0 15.5 6.94 15.5 15.5v11.34c0 3.35-1.09 6.62-3.1 9.3l-18.74 24.98c-1.42 1.9-2.39 4.1-2.83 6.43l-4.3 22.83c-.62 3.29-2.29 6.29-4.76 8.56a159.608 159.608 0 0 0-25 29.16l-13.03 19.55a27.756 27.756 0 0 1-23.09 12.36c-10.51 0-20.12-5.94-24.82-15.34a78.902 78.902 0 0 1-8.33-35.29V367.5c0-8.56-6.94-15.5-15.5-15.5h-25.88c-14.49 0-28.38-5.76-38.63-16a54.659 54.659 0 0 1-16-38.63v-14.06c0-17.19 8.1-33.38 21.85-43.7l27.58-20.69a54.663 54.663 0 0 1 32.78-10.93h.89c8.48 0 16.85 1.97 24.43 5.77l14.72 7.36c3.68 1.84 7.93 2.14 11.83.84l47.31-15.77c6.33-2.11 10.6-8.03 10.6-14.7 0-8.56-6.94-15.5-15.5-15.5h-10.09c-4.11 0-8.05-1.63-10.96-4.54l-6.92-6.92a15.493 15.493 0 0 0-10.96-4.54H199.5c-8.56 0-15.5-6.94-15.5-15.5v-4.4c0-7.11 4.84-13.31 11.74-15.04l14.45-3.61c3.74-.94 7-3.23 9.14-6.44l8.08-12.11c2.87-4.31 7.71-6.9 12.89-6.9h24.21c8.56 0 15.5-6.94 15.5-15.5v-21.7C359.23 71.63 422.86 131.02 441.93 208H423.5c-8.56 0-15.5 6.94-15.5 15.5z"] };
  3517. var faGlobeAmericas = { prefix: 'fas', iconName: 'globe-americas', icon: [496, 512, [], "f57d", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm82.29 357.6c-3.9 3.88-7.99 7.95-11.31 11.28-2.99 3-5.1 6.7-6.17 10.71-1.51 5.66-2.73 11.38-4.77 16.87l-17.39 46.85c-13.76 3-28 4.69-42.65 4.69v-27.38c1.69-12.62-7.64-36.26-22.63-51.25-6-6-9.37-14.14-9.37-22.63v-32.01c0-11.64-6.27-22.34-16.46-27.97-14.37-7.95-34.81-19.06-48.81-26.11-11.48-5.78-22.1-13.14-31.65-21.75l-.8-.72a114.792 114.792 0 0 1-18.06-20.74c-9.38-13.77-24.66-36.42-34.59-51.14 20.47-45.5 57.36-82.04 103.2-101.89l24.01 12.01C203.48 89.74 216 82.01 216 70.11v-11.3c7.99-1.29 16.12-2.11 24.39-2.42l28.3 28.3c6.25 6.25 6.25 16.38 0 22.63L264 112l-10.34 10.34c-3.12 3.12-3.12 8.19 0 11.31l4.69 4.69c3.12 3.12 3.12 8.19 0 11.31l-8 8a8.008 8.008 0 0 1-5.66 2.34h-8.99c-2.08 0-4.08.81-5.58 2.27l-9.92 9.65a8.008 8.008 0 0 0-1.58 9.31l15.59 31.19c2.66 5.32-1.21 11.58-7.15 11.58h-5.64c-1.93 0-3.79-.7-5.24-1.96l-9.28-8.06a16.017 16.017 0 0 0-15.55-3.1l-31.17 10.39a11.95 11.95 0 0 0-8.17 11.34c0 4.53 2.56 8.66 6.61 10.69l11.08 5.54c9.41 4.71 19.79 7.16 30.31 7.16s22.59 27.29 32 32h66.75c8.49 0 16.62 3.37 22.63 9.37l13.69 13.69a30.503 30.503 0 0 1 8.93 21.57 46.536 46.536 0 0 1-13.72 32.98zM417 274.25c-5.79-1.45-10.84-5-14.15-9.97l-17.98-26.97a23.97 23.97 0 0 1 0-26.62l19.59-29.38c2.32-3.47 5.5-6.29 9.24-8.15l12.98-6.49C440.2 193.59 448 223.87 448 256c0 8.67-.74 17.16-1.82 25.54L417 274.25z"] };
  3518. var faGlobeAsia = { prefix: 'fas', iconName: 'globe-asia', icon: [496, 512, [], "f57e", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm-11.34 240.23c-2.89 4.82-8.1 7.77-13.72 7.77h-.31c-4.24 0-8.31 1.69-11.31 4.69l-5.66 5.66c-3.12 3.12-3.12 8.19 0 11.31l5.66 5.66c3 3 4.69 7.07 4.69 11.31V304c0 8.84-7.16 16-16 16h-6.11c-6.06 0-11.6-3.42-14.31-8.85l-22.62-45.23c-2.44-4.88-8.95-5.94-12.81-2.08l-19.47 19.46c-3 3-7.07 4.69-11.31 4.69H50.81C49.12 277.55 48 266.92 48 256c0-110.28 89.72-200 200-200 21.51 0 42.2 3.51 61.63 9.82l-50.16 38.53c-5.11 3.41-4.63 11.06.86 13.81l10.83 5.41c5.42 2.71 8.84 8.25 8.84 14.31V216c0 4.42-3.58 8-8 8h-3.06c-3.03 0-5.8-1.71-7.15-4.42-1.56-3.12-5.96-3.29-7.76-.3l-17.37 28.95zM408 358.43c0 4.24-1.69 8.31-4.69 11.31l-9.57 9.57c-3 3-7.07 4.69-11.31 4.69h-15.16c-4.24 0-8.31-1.69-11.31-4.69l-13.01-13.01a26.767 26.767 0 0 0-25.42-7.04l-21.27 5.32c-1.27.32-2.57.48-3.88.48h-10.34c-4.24 0-8.31-1.69-11.31-4.69l-11.91-11.91a8.008 8.008 0 0 1-2.34-5.66v-10.2c0-3.27 1.99-6.21 5.03-7.43l39.34-15.74c1.98-.79 3.86-1.82 5.59-3.05l23.71-16.89a7.978 7.978 0 0 1 4.64-1.48h12.09c3.23 0 6.15 1.94 7.39 4.93l5.35 12.85a4 4 0 0 0 3.69 2.46h3.8c1.78 0 3.35-1.18 3.84-2.88l4.2-14.47c.5-1.71 2.06-2.88 3.84-2.88h6.06c2.21 0 4 1.79 4 4v12.93c0 2.12.84 4.16 2.34 5.66l11.91 11.91c3 3 4.69 7.07 4.69 11.31v24.6z"] };
  3519. var faGolfBall = { prefix: 'fas', iconName: 'golf-ball', icon: [416, 512, [], "f450", "M96 416h224c0 17.7-14.3 32-32 32h-16c-17.7 0-32 14.3-32 32v20c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-20c0-17.7-14.3-32-32-32h-16c-17.7 0-32-14.3-32-32zm320-208c0 74.2-39 139.2-97.5 176h-221C39 347.2 0 282.2 0 208 0 93.1 93.1 0 208 0s208 93.1 208 208zm-180.1 43.9c18.3 0 33.1-14.8 33.1-33.1 0-14.4-9.3-26.3-22.1-30.9 9.6 26.8-15.6 51.3-41.9 41.9 4.6 12.8 16.5 22.1 30.9 22.1zm49.1 46.9c0-14.4-9.3-26.3-22.1-30.9 9.6 26.8-15.6 51.3-41.9 41.9 4.6 12.8 16.5 22.1 30.9 22.1 18.3 0 33.1-14.9 33.1-33.1zm64-64c0-14.4-9.3-26.3-22.1-30.9 9.6 26.8-15.6 51.3-41.9 41.9 4.6 12.8 16.5 22.1 30.9 22.1 18.3 0 33.1-14.9 33.1-33.1z"] };
  3520. var faGopuram = { prefix: 'fas', iconName: 'gopuram', icon: [512, 512, [], "f664", "M496 352h-16V240c0-8.84-7.16-16-16-16h-16v-80c0-8.84-7.16-16-16-16h-16V16c0-8.84-7.16-16-16-16s-16 7.16-16 16v16h-64V16c0-8.84-7.16-16-16-16s-16 7.16-16 16v16h-64V16c0-8.84-7.16-16-16-16s-16 7.16-16 16v16h-64V16c0-8.84-7.16-16-16-16S96 7.16 96 16v112H80c-8.84 0-16 7.16-16 16v80H48c-8.84 0-16 7.16-16 16v112H16c-8.84 0-16 7.16-16 16v128c0 8.84 7.16 16 16 16h80V352h32V224h32v-96h32v96h-32v128h-32v160h80v-80c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v80h80V352h-32V224h-32v-96h32v96h32v128h32v160h80c8.84 0 16-7.16 16-16V368c0-8.84-7.16-16-16-16zm-272 0v-64c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v64h-64zm8-128v-48c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v48h-48z"] };
  3521. var faGraduationCap = { prefix: 'fas', iconName: 'graduation-cap', icon: [640, 512, [], "f19d", "M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.02-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z"] };
  3522. var faGreaterThan = { prefix: 'fas', iconName: 'greater-than', icon: [384, 512, [], "f531", "M365.52 209.85L59.22 67.01c-16.06-7.49-35.15-.54-42.64 15.52L3.01 111.61c-7.49 16.06-.54 35.15 15.52 42.64L236.96 256.1 18.49 357.99C2.47 365.46-4.46 384.5 3.01 400.52l13.52 29C24 445.54 43.04 452.47 59.06 445l306.47-142.91a32.003 32.003 0 0 0 18.48-29v-34.23c-.01-12.45-7.21-23.76-18.49-29.01z"] };
  3523. var faGreaterThanEqual = { prefix: 'fas', iconName: 'greater-than-equal', icon: [448, 512, [], "f532", "M55.22 107.69l175.56 68.09-175.44 68.05c-18.39 6.03-27.88 24.39-21.2 41l12.09 30.08c6.68 16.61 26.99 25.19 45.38 19.15L393.02 214.2c13.77-4.52 22.98-16.61 22.98-30.17v-15.96c0-13.56-9.21-25.65-22.98-30.17L91.3 17.92c-18.29-6-38.51 2.53-45.15 19.06L34.12 66.9c-6.64 16.53 2.81 34.79 21.1 40.79zM424 400H24c-13.25 0-24 10.74-24 24v48c0 13.25 10.75 24 24 24h400c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24z"] };
  3524. var faGrimace = { prefix: 'fas', iconName: 'grimace', icon: [496, 512, [], "f57f", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM144 400h-8c-17.7 0-32-14.3-32-32v-8h40v40zm0-56h-40v-8c0-17.7 14.3-32 32-32h8v40zm-8-136c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm72 192h-48v-40h48v40zm0-56h-48v-40h48v40zm64 56h-48v-40h48v40zm0-56h-48v-40h48v40zm64 56h-48v-40h48v40zm0-56h-48v-40h48v40zm-8-104c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64 128c0 17.7-14.3 32-32 32h-8v-40h40v8zm0-24h-40v-40h8c17.7 0 32 14.3 32 32v8z"] };
  3525. var faGrin = { prefix: 'fas', iconName: 'grin', icon: [496, 512, [], "f580", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm80 256c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.6 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.3-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3526. var faGrinAlt = { prefix: 'fas', iconName: 'grin-alt', icon: [496, 512, [], "f581", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm63.7 128.7c7.6-11.4 24.7-11.7 32.7 0 12.4 18.4 15.1 36.9 15.7 55.3-.5 18.4-3.3 36.9-15.7 55.3-7.6 11.4-24.7 11.7-32.7 0-12.4-18.4-15.1-36.9-15.7-55.3.5-18.4 3.3-36.9 15.7-55.3zm-160 0c7.6-11.4 24.7-11.7 32.7 0 12.4 18.4 15.1 36.9 15.7 55.3-.5 18.4-3.3 36.9-15.7 55.3-7.6 11.4-24.7 11.7-32.7 0-12.4-18.4-15.1-36.9-15.7-55.3.5-18.4 3.3-36.9 15.7-55.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.6 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.4-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3527. var faGrinBeam = { prefix: 'fas', iconName: 'grin-beam', icon: [496, 512, [], "f582", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 144c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 11.9-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.1 7.3-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm-160 0c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 11.9-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm80 280c-60.6 0-134.5-38.3-143.8-93.3-2-11.9 9.4-21.6 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.4-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3528. var faGrinBeamSweat = { prefix: 'fas', iconName: 'grin-beam-sweat', icon: [504, 512, [], "f583", "M456 128c26.5 0 48-21 48-47 0-20-28.5-60.4-41.6-77.8-3.2-4.3-9.6-4.3-12.8 0C436.5 20.6 408 61 408 81c0 26 21.5 47 48 47zm0 32c-44.1 0-80-35.4-80-79 0-4.4.3-14.2 8.1-32.2C345 23.1 298.3 8 248 8 111 8 0 119 0 256s111 248 248 248 248-111 248-248c0-35.1-7.4-68.4-20.5-98.6-6.3 1.5-12.7 2.6-19.5 2.6zm-128-8c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 12-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.1 7.4-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm-160 0c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 12-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm80 280c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.6 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.2 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3529. var faGrinHearts = { prefix: 'fas', iconName: 'grin-hearts', icon: [496, 512, [], "f584", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM90.4 183.6c6.7-17.6 26.7-26.7 44.9-21.9l7.1 1.9 2-7.1c5-18.1 22.8-30.9 41.5-27.9 21.4 3.4 34.4 24.2 28.8 44.5L195.3 243c-1.2 4.5-5.9 7.2-10.5 6l-70.2-18.2c-20.4-5.4-31.9-27-24.2-47.2zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.2-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.4-3.6 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm133.4-201.3l-70.2 18.2c-4.5 1.2-9.2-1.5-10.5-6L281.3 173c-5.6-20.3 7.4-41.1 28.8-44.5 18.6-3 36.4 9.8 41.5 27.9l2 7.1 7.1-1.9c18.2-4.7 38.2 4.3 44.9 21.9 7.7 20.3-3.8 41.9-24.2 47.2z"] };
  3530. var faGrinSquint = { prefix: 'fas', iconName: 'grin-squint', icon: [496, 512, [], "f585", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm33.8 189.7l80-48c11.6-6.9 24 7.7 15.4 18L343.6 208l33.6 40.3c8.7 10.4-3.9 24.8-15.4 18l-80-48c-7.7-4.7-7.7-15.9 0-20.6zm-163-30c-8.6-10.3 3.8-24.9 15.4-18l80 48c7.8 4.7 7.8 15.9 0 20.6l-80 48c-11.5 6.8-24-7.6-15.4-18l33.6-40.3-33.6-40.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.9 9.4-21.6 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.2 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3531. var faGrinSquintTears = { prefix: 'fas', iconName: 'grin-squint-tears', icon: [512, 512, [], "f586", "M409.6 111.9c22.6-3.2 73.5-12 88.3-26.8 19.2-19.2 18.9-50.6-.7-70.2S446-5 426.9 14.2c-14.8 14.8-23.5 65.7-26.8 88.3-.8 5.5 3.9 10.2 9.5 9.4zM102.4 400.1c-22.6 3.2-73.5 12-88.3 26.8-19.1 19.1-18.8 50.6.8 70.2s51 19.9 70.2.7c14.8-14.8 23.5-65.7 26.8-88.3.8-5.5-3.9-10.2-9.5-9.4zm311.7-256.5c-33 3.9-48.6-25.1-45.7-45.7 3.4-24 7.4-42.1 11.5-56.5C285.1-13.4 161.8-.5 80.6 80.6-.5 161.7-13.4 285 41.4 379.9c14.4-4.1 32.4-8 56.5-11.5 33.2-3.9 48.6 25.2 45.7 45.7-3.4 24-7.4 42.1-11.5 56.5 94.8 54.8 218.1 41.9 299.3-39.2s94-204.4 39.2-299.3c-14.4 4.1-32.5 8-56.5 11.5zM255.7 106c3.3-13.2 22.4-11.5 23.6 1.8l4.8 52.3 52.3 4.8c13.4 1.2 14.9 20.3 1.8 23.6l-90.5 22.6c-8.9 2.2-16.7-5.9-14.5-14.5l22.5-90.6zm-90.9 230.3L160 284l-52.3-4.8c-13.4-1.2-14.9-20.3-1.8-23.6l90.5-22.6c8.8-2.2 16.7 5.8 14.5 14.5L188.3 338c-3.1 13.2-22.2 11.7-23.5-1.7zm215.7 44.2c-29.3 29.3-75.7 50.4-116.7 50.4-18.9 0-36.6-4.5-51-14.7-9.8-6.9-8.7-21.8 2-27.2 28.3-14.6 63.9-42.4 97.8-76.3s61.7-69.6 76.3-97.8c5.4-10.5 20.2-11.9 27.3-2 32.3 45.3 7.1 124.7-35.7 167.6z"] };
  3532. var faGrinStars = { prefix: 'fas', iconName: 'grin-stars', icon: [496, 512, [], "f587", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6 6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5 15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6 34.9 5c6.3.9 9 8.5 4.4 13.1z"] };
  3533. var faGrinTears = { prefix: 'fas', iconName: 'grin-tears', icon: [640, 512, [], "f588", "M102.4 256.1c-22.6 3.2-73.5 12-88.3 26.8-19.1 19.1-18.8 50.6.8 70.2s51 19.9 70.2.7c14.8-14.8 23.5-65.7 26.8-88.3.8-5.5-3.9-10.2-9.5-9.4zm523.4 26.8c-14.8-14.8-65.7-23.5-88.3-26.8-5.5-.8-10.3 3.9-9.5 9.5 3.2 22.6 12 73.5 26.8 88.3 19.2 19.2 50.6 18.9 70.2-.7s20-51.2.8-70.3zm-129.4-12.8c-3.8-26.6 19.1-49.5 45.7-45.7 8.9 1.3 16.8 2.7 24.3 4.1C552.7 104.5 447.7 8 320 8S87.3 104.5 73.6 228.5c7.5-1.4 15.4-2.8 24.3-4.1 33.2-3.9 48.6 25.3 45.7 45.7-11.8 82.3-29.9 100.4-35.8 106.4-.9.9-2 1.6-3 2.5 42.7 74.6 123 125 215.2 125s172.5-50.4 215.2-125.1c-1-.9-2.1-1.5-3-2.5-5.9-5.9-24-24-35.8-106.3zM400 152c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 12-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm-160 0c23.8 0 52.7 29.3 56 71.4.7 8.6-10.8 12-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.6 4-14.9-4.5 3.1-42.1 32-71.4 55.8-71.4zm80 280c-60.6 0-134.5-38.3-143.8-93.3-2-11.7 9.2-21.6 20.7-17.9C227.1 330.5 272 336 320 336s92.9-5.5 123.1-15.2c11.4-3.7 22.6 6.1 20.7 17.9-9.3 55-83.2 93.3-143.8 93.3z"] };
  3534. var faGrinTongue = { prefix: 'fas', iconName: 'grin-tongue', icon: [496, 512, [], "f589", "M248 8C111 8 0 119 0 256c0 106.3 67 196.7 161 232-5.6-12.2-9-25.7-9-40v-45.5c-24.7-16.2-43.5-38.1-47.8-63.8-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.4-3.6 22.6 6.1 20.7 17.9-4.3 25.7-23.1 47.6-47.8 63.8V448c0 14.3-3.4 27.8-9 40 94-35.3 161-125.7 161-232C496 119 385 8 248 8zm-80 232c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm-34.9 134.6c-14.4-6.5-31.1 2.2-34.6 17.6l-1.8 7.8c-2.1 9.2-15.2 9.2-17.3 0l-1.8-7.8c-3.5-15.4-20.2-24.1-34.6-17.6-.9.4.3-.2-18.9 9.4v63c0 35.2 28 64.5 63.1 64.9 35.7.5 64.9-28.4 64.9-64v-64c-19.5-9.6-18.2-8.9-19-9.3z"] };
  3535. var faGrinTongueSquint = { prefix: 'fas', iconName: 'grin-tongue-squint', icon: [496, 512, [], "f58a", "M293.1 374.6c-14.4-6.5-31.1 2.2-34.6 17.6l-1.8 7.8c-2.1 9.2-15.2 9.2-17.3 0l-1.8-7.8c-3.5-15.4-20.2-24.1-34.6-17.6-.9.4.3-.2-18.9 9.4v63c0 35.2 28 64.5 63.1 64.9 35.7.5 64.9-28.4 64.9-64v-64c-19.5-9.6-18.2-8.9-19-9.3zM248 8C111 8 0 119 0 256c0 106.3 67 196.7 161 232-5.6-12.2-9-25.7-9-40v-45.5c-24.7-16.2-43.5-38.1-47.8-63.8-2-11.8 9.2-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.4-3.7 22.6 6.1 20.7 17.9-4.3 25.7-23.1 47.6-47.8 63.8V448c0 14.3-3.4 27.8-9 40 94-35.3 161-125.7 161-232C496 119 385 8 248 8zm-33.8 210.3l-80 48c-11.5 6.8-24-7.6-15.4-18l33.6-40.3-33.6-40.3c-8.6-10.3 3.8-24.9 15.4-18l80 48c7.7 4.7 7.7 15.9 0 20.6zm163 30c8.7 10.4-3.9 24.8-15.4 18l-80-48c-7.8-4.7-7.8-15.9 0-20.6l80-48c11.7-6.9 23.9 7.7 15.4 18L343.6 208l33.6 40.3z"] };
  3536. var faGrinTongueWink = { prefix: 'fas', iconName: 'grin-tongue-wink', icon: [496, 512, [], "f58b", "M344 184c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM248 8C111 8 0 119 0 256c0 106.3 67 196.7 161 232-5.6-12.2-9-25.7-9-40v-45.5c-24.7-16.2-43.5-38.1-47.8-63.8-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9-4.3 25.7-23.1 47.6-47.8 63.8V448c0 14.3-3.4 27.8-9 40 94-35.3 161-125.7 161-232C496 119 385 8 248 8zm-56 225l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L112 233c-8.5 7.4-21.6.3-19.8-10.8 4-25.2 34.2-42.1 59.9-42.1S208 197 212 222.2c1.6 11.1-11.6 18.2-20 10.8zm152 39c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm-50.9 102.6c-14.4-6.5-31.1 2.2-34.6 17.6l-1.8 7.8c-2.1 9.2-15.2 9.2-17.3 0l-1.8-7.8c-3.5-15.4-20.2-24.1-34.6-17.6-.9.4.3-.2-18.9 9.4v63c0 35.2 28 64.5 63.1 64.9 35.7.5 64.9-28.4 64.9-64v-64c-19.5-9.6-18.2-8.9-19-9.3z"] };
  3537. var faGrinWink = { prefix: 'fas', iconName: 'grin-wink', icon: [496, 512, [], "f58c", "M0 256c0 137 111 248 248 248s248-111 248-248S385 8 248 8 0 119 0 256zm200-48c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm168 25l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L288 233c-8.3 7.4-21.6.4-19.8-10.8 4-25.2 34.2-42.1 59.9-42.1S384 197 388 222.2c1.6 11-11.5 18.2-20 10.8zm-243.1 87.8C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.3-3.7 22.6 6 20.7 17.9-9.2 55-83.2 93.3-143.8 93.3s-134.5-38.3-143.8-93.3c-2-11.9 9.3-21.6 20.7-17.9z"] };
  3538. var faGripHorizontal = { prefix: 'fas', iconName: 'grip-horizontal', icon: [448, 512, [], "f58d", "M96 288H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM96 96H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm160 0h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"] };
  3539. var faGripVertical = { prefix: 'fas', iconName: 'grip-vertical', icon: [320, 512, [], "f58e", "M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"] };
  3540. var faHSquare = { prefix: 'fas', iconName: 'h-square', icon: [448, 512, [], "f0fd", "M448 80v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48zm-112 48h-32c-8.837 0-16 7.163-16 16v80H160v-80c0-8.837-7.163-16-16-16h-32c-8.837 0-16 7.163-16 16v224c0 8.837 7.163 16 16 16h32c8.837 0 16-7.163 16-16v-80h128v80c0 8.837 7.163 16 16 16h32c8.837 0 16-7.163 16-16V144c0-8.837-7.163-16-16-16z"] };
  3541. var faHammer = { prefix: 'fas', iconName: 'hammer', icon: [576, 512, [], "f6e3", "M571.31 193.94l-22.63-22.63c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31-28.9-28.9c5.63-21.31.36-44.9-16.35-61.61l-45.25-45.25c-62.48-62.48-163.79-62.48-226.28 0l90.51 45.25v18.75c0 16.97 6.74 33.25 18.75 45.25l49.14 49.14c16.71 16.71 40.3 21.98 61.61 16.35l28.9 28.9-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0l90.51-90.51c6.23-6.24 6.23-16.37-.02-22.62zm-286.72-15.2c-3.7-3.7-6.84-7.79-9.85-11.95L19.64 404.96c-25.57 23.88-26.26 64.19-1.53 88.93s65.05 24.05 88.93-1.53l238.13-255.07c-3.96-2.91-7.9-5.87-11.44-9.41l-49.14-49.14z"] };
  3542. var faHamsa = { prefix: 'fas', iconName: 'hamsa', icon: [512, 512, [], "f665", "M509.34 307.25C504.28 295.56 492.75 288 480 288h-64V80c0-22-18-40-40-40s-40 18-40 40v134c0 5.52-4.48 10-10 10h-20c-5.52 0-10-4.48-10-10V40c0-22-18-40-40-40s-40 18-40 40v174c0 5.52-4.48 10-10 10h-20c-5.52 0-10-4.48-10-10V80c0-22-18-40-40-40S96 58 96 80v208H32c-12.75 0-24.28 7.56-29.34 19.25a31.966 31.966 0 0 0 5.94 34.58l102.69 110.03C146.97 490.08 199.69 512 256 512s109.03-21.92 144.72-60.14L503.4 341.83a31.966 31.966 0 0 0 5.94-34.58zM256 416c-53.02 0-96-64-96-64s42.98-64 96-64 96 64 96 64-42.98 64-96 64zm0-96c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"] };
  3543. var faHandHolding = { prefix: 'fas', iconName: 'hand-holding', icon: [576, 512, [], "f4bd", "M565.3 328.1c-11.8-10.7-30.2-10-42.6 0L430.3 402c-11.3 9.1-25.4 14-40 14H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h78.3c15.9 0 30.7-10.9 33.3-26.6 3.3-20-12.1-37.4-31.6-37.4H192c-27 0-53.1 9.3-74.1 26.3L71.4 384H16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h356.8c14.5 0 28.6-4.9 40-14L564 377c15.2-12.1 16.4-35.3 1.3-48.9z"] };
  3544. var faHandHoldingHeart = { prefix: 'fas', iconName: 'hand-holding-heart', icon: [576, 512, [], "f4be", "M275.3 250.5c7 7.4 18.4 7.4 25.5 0l108.9-114.2c31.6-33.2 29.8-88.2-5.6-118.8-30.8-26.7-76.7-21.9-104.9 7.7L288 36.9l-11.1-11.6C248.7-4.4 202.8-9.2 172 17.5c-35.3 30.6-37.2 85.6-5.6 118.8l108.9 114.2zm290 77.6c-11.8-10.7-30.2-10-42.6 0L430.3 402c-11.3 9.1-25.4 14-40 14H272c-8.8 0-16-7.2-16-16s7.2-16 16-16h78.3c15.9 0 30.7-10.9 33.3-26.6 3.3-20-12.1-37.4-31.6-37.4H192c-27 0-53.1 9.3-74.1 26.3L71.4 384H16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16h356.8c14.5 0 28.6-4.9 40-14L564 377c15.2-12.1 16.4-35.3 1.3-48.9z"] };
  3545. var faHandHoldingUsd = { prefix: 'fas', iconName: 'hand-holding-usd', icon: [544, 512, [], "f4c0", "M257.6 144.3l50 14.3c3.6 1 6.1 4.4 6.1 8.1 0 4.6-3.8 8.4-8.4 8.4h-32.8c-3.6 0-7.1-.8-10.3-2.2-4.8-2.2-10.4-1.7-14.1 2l-17.5 17.5c-5.3 5.3-4.7 14.3 1.5 18.4 9.5 6.3 20.3 10.1 31.8 11.5V240c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-17.6c30.3-3.6 53.3-31 49.3-63-2.9-23-20.7-41.3-42.9-47.7l-50-14.3c-3.6-1-6.1-4.4-6.1-8.1 0-4.6 3.8-8.4 8.4-8.4h32.8c3.6 0 7.1.8 10.3 2.2 4.8 2.2 10.4 1.7 14.1-2l17.5-17.5c5.3-5.3 4.7-14.3-1.5-18.4-9.5-6.3-20.3-10.1-31.8-11.5V16c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v17.6c-30.3 3.6-53.3 31-49.3 63 2.9 23 20.7 41.3 42.9 47.7zm276.3 183.8c-11.2-10.7-28.5-10-40.3 0L406.4 402c-10.7 9.1-24 14-37.8 14H256.9c-8.3 0-15.1-7.2-15.1-16s6.8-16 15.1-16h73.9c15.1 0 29-10.9 31.4-26.6 3.1-20-11.5-37.4-29.8-37.4H181.3c-25.5 0-50.2 9.3-69.9 26.3L67.5 384H15.1C6.8 384 0 391.2 0 400v96c0 8.8 6.8 16 15.1 16H352c13.7 0 27-4.9 37.8-14l142.8-121c14.4-12.1 15.5-35.3 1.3-48.9z"] };
  3546. var faHandLizard = { prefix: 'fas', iconName: 'hand-lizard', icon: [576, 512, [], "f258", "M384 480h192V363.778a95.998 95.998 0 0 0-14.833-51.263L398.127 54.368A48 48 0 0 0 357.544 32H24C10.745 32 0 42.745 0 56v16c0 30.928 25.072 56 56 56h229.981c12.844 0 21.556 13.067 16.615 24.923l-21.41 51.385A32 32 0 0 1 251.648 224H128c-35.346 0-64 28.654-64 64v8c0 13.255 10.745 24 24 24h147.406a47.995 47.995 0 0 1 25.692 7.455l111.748 70.811A24.001 24.001 0 0 1 384 418.539V480z"] };
  3547. var faHandPaper = { prefix: 'fas', iconName: 'hand-paper', icon: [448, 512, [], "f256", "M408.781 128.007C386.356 127.578 368 146.36 368 168.79V256h-8V79.79c0-22.43-18.356-41.212-40.781-40.783C297.488 39.423 280 57.169 280 79v177h-8V40.79C272 18.36 253.644-.422 231.219.007 209.488.423 192 18.169 192 40v216h-8V80.79c0-22.43-18.356-41.212-40.781-40.783C121.488 40.423 104 58.169 104 80v235.992l-31.648-43.519c-12.993-17.866-38.009-21.817-55.877-8.823-17.865 12.994-21.815 38.01-8.822 55.877l125.601 172.705A48 48 0 0 0 172.073 512h197.59c22.274 0 41.622-15.324 46.724-37.006l26.508-112.66a192.011 192.011 0 0 0 5.104-43.975V168c.001-21.831-17.487-39.577-39.218-39.993z"] };
  3548. var faHandPeace = { prefix: 'fas', iconName: 'hand-peace', icon: [448, 512, [], "f25b", "M408 216c-22.092 0-40 17.909-40 40h-8v-32c0-22.091-17.908-40-40-40s-40 17.909-40 40v32h-8V48c0-26.51-21.49-48-48-48s-48 21.49-48 48v208h-13.572L92.688 78.449C82.994 53.774 55.134 41.63 30.461 51.324 5.787 61.017-6.356 88.877 3.337 113.551l74.765 190.342-31.09 24.872c-15.381 12.306-19.515 33.978-9.741 51.081l64 112A39.998 39.998 0 0 0 136 512h240c18.562 0 34.686-12.77 38.937-30.838l32-136A39.97 39.97 0 0 0 448 336v-80c0-22.091-17.908-40-40-40z"] };
  3549. var faHandPointDown = { prefix: 'fas', iconName: 'hand-point-down', icon: [384, 512, [], "f0a7", "M91.826 467.2V317.966c-8.248 5.841-16.558 10.57-24.918 14.153C35.098 345.752-.014 322.222 0 288c.008-18.616 10.897-32.203 29.092-40 28.286-12.122 64.329-78.648 77.323-107.534 7.956-17.857 25.479-28.453 43.845-28.464l.001-.002h171.526c11.812 0 21.897 8.596 23.703 20.269 7.25 46.837 38.483 61.76 38.315 123.731-.007 2.724.195 13.254.195 16 0 50.654-22.122 81.574-71.263 72.6-9.297 18.597-39.486 30.738-62.315 16.45-21.177 24.645-53.896 22.639-70.944 6.299V467.2c0 24.15-20.201 44.8-43.826 44.8-23.283 0-43.826-21.35-43.826-44.8zM112 72V24c0-13.255 10.745-24 24-24h192c13.255 0 24 10.745 24 24v48c0 13.255-10.745 24-24 24H136c-13.255 0-24-10.745-24-24zm212-24c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z"] };
  3550. var faHandPointLeft = { prefix: 'fas', iconName: 'hand-point-left', icon: [512, 512, [], "f0a5", "M44.8 155.826h149.234c-5.841-8.248-10.57-16.558-14.153-24.918C166.248 99.098 189.778 63.986 224 64c18.616.008 32.203 10.897 40 29.092 12.122 28.286 78.648 64.329 107.534 77.323 17.857 7.956 28.453 25.479 28.464 43.845l.002.001v171.526c0 11.812-8.596 21.897-20.269 23.703-46.837 7.25-61.76 38.483-123.731 38.315-2.724-.007-13.254.195-16 .195-50.654 0-81.574-22.122-72.6-71.263-18.597-9.297-30.738-39.486-16.45-62.315-24.645-21.177-22.639-53.896-6.299-70.944H44.8c-24.15 0-44.8-20.201-44.8-43.826 0-23.283 21.35-43.826 44.8-43.826zM440 176h48c13.255 0 24 10.745 24 24v192c0 13.255-10.745 24-24 24h-48c-13.255 0-24-10.745-24-24V200c0-13.255 10.745-24 24-24zm24 212c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20z"] };
  3551. var faHandPointRight = { prefix: 'fas', iconName: 'hand-point-right', icon: [512, 512, [], "f0a4", "M512 199.652c0 23.625-20.65 43.826-44.8 43.826h-99.851c16.34 17.048 18.346 49.766-6.299 70.944 14.288 22.829 2.147 53.017-16.45 62.315C353.574 425.878 322.654 448 272 448c-2.746 0-13.276-.203-16-.195-61.971.168-76.894-31.065-123.731-38.315C120.596 407.683 112 397.599 112 385.786V214.261l.002-.001c.011-18.366 10.607-35.889 28.464-43.845 28.886-12.994 95.413-49.038 107.534-77.323 7.797-18.194 21.384-29.084 40-29.092 34.222-.014 57.752 35.098 44.119 66.908-3.583 8.359-8.312 16.67-14.153 24.918H467.2c23.45 0 44.8 20.543 44.8 43.826zM96 200v192c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V200c0-13.255 10.745-24 24-24h48c13.255 0 24 10.745 24 24zM68 368c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z"] };
  3552. var faHandPointUp = { prefix: 'fas', iconName: 'hand-point-up', icon: [384, 512, [], "f0a6", "M135.652 0c23.625 0 43.826 20.65 43.826 44.8v99.851c17.048-16.34 49.766-18.346 70.944 6.299 22.829-14.288 53.017-2.147 62.315 16.45C361.878 158.426 384 189.346 384 240c0 2.746-.203 13.276-.195 16 .168 61.971-31.065 76.894-38.315 123.731C343.683 391.404 333.599 400 321.786 400H150.261l-.001-.002c-18.366-.011-35.889-10.607-43.845-28.464C93.421 342.648 57.377 276.122 29.092 264 10.897 256.203.008 242.616 0 224c-.014-34.222 35.098-57.752 66.908-44.119 8.359 3.583 16.67 8.312 24.918 14.153V44.8c0-23.45 20.543-44.8 43.826-44.8zM136 416h192c13.255 0 24 10.745 24 24v48c0 13.255-10.745 24-24 24H136c-13.255 0-24-10.745-24-24v-48c0-13.255 10.745-24 24-24zm168 28c-11.046 0-20 8.954-20 20s8.954 20 20 20 20-8.954 20-20-8.954-20-20-20z"] };
  3553. var faHandPointer = { prefix: 'fas', iconName: 'hand-pointer', icon: [448, 512, [], "f25a", "M448 240v96c0 3.084-.356 6.159-1.063 9.162l-32 136C410.686 499.23 394.562 512 376 512H168a40.004 40.004 0 0 1-32.35-16.473l-127.997-176c-12.993-17.866-9.043-42.883 8.822-55.876 17.867-12.994 42.884-9.043 55.877 8.823L104 315.992V40c0-22.091 17.908-40 40-40s40 17.909 40 40v200h8v-40c0-22.091 17.908-40 40-40s40 17.909 40 40v40h8v-24c0-22.091 17.908-40 40-40s40 17.909 40 40v24h8c0-22.091 17.908-40 40-40s40 17.909 40 40zm-256 80h-8v96h8v-96zm88 0h-8v96h8v-96zm88 0h-8v96h8v-96z"] };
  3554. var faHandRock = { prefix: 'fas', iconName: 'hand-rock', icon: [512, 512, [], "f255", "M512 128.79c0-26.322-20.861-48.344-47.18-48.783C437.935 79.558 416 101.217 416 128h-8V96.79c0-26.322-20.861-48.344-47.18-48.783C333.935 47.558 312 69.217 312 96v32h-8V80.79c0-26.322-20.861-48.344-47.18-48.783C229.935 31.558 208 53.217 208 80v48h-8V96.79c0-26.322-20.861-48.344-47.18-48.783C125.935 47.558 104 69.217 104 96v136l-8-7.111V176.79c0-26.322-20.861-48.344-47.18-48.783C21.935 127.558 0 149.217 0 176v66.445a95.998 95.998 0 0 0 32.221 71.751l111.668 99.261A47.999 47.999 0 0 1 160 449.333V456c0 13.255 10.745 24 24 24h240c13.255 0 24-10.745 24-24v-2.921a96.01 96.01 0 0 1 7.523-37.254l48.954-116.265A96.002 96.002 0 0 0 512 262.306V128.79z"] };
  3555. var faHandScissors = { prefix: 'fas', iconName: 'hand-scissors', icon: [512, 512, [], "f257", "M216 440c0-22.092 17.909-40 40-40v-8h-32c-22.091 0-40-17.908-40-40s17.909-40 40-40h32v-8H48c-26.51 0-48-21.49-48-48s21.49-48 48-48h208v-13.572l-177.551-69.74c-24.674-9.694-36.818-37.555-27.125-62.228 9.693-24.674 37.554-36.817 62.228-27.124l190.342 74.765 24.872-31.09c12.306-15.381 33.978-19.515 51.081-9.741l112 64A40.002 40.002 0 0 1 512 168v240c0 18.562-12.77 34.686-30.838 38.937l-136 32A39.982 39.982 0 0 1 336 480h-80c-22.091 0-40-17.908-40-40z"] };
  3556. var faHandSpock = { prefix: 'fas', iconName: 'hand-spock', icon: [512, 512, [], "f259", "M10.872 316.585c15.139-16.086 40.454-16.854 56.543-1.713L128 371.893v-79.405L88.995 120.865c-4.896-21.542 8.598-42.974 30.14-47.87 21.549-4.894 42.975 8.599 47.87 30.141L201.747 256h9.833L164.016 48.966c-4.946-21.531 8.498-42.994 30.028-47.94 21.532-4.95 42.994 8.498 47.94 30.028L293.664 256h15.105l48.425-193.702c5.357-21.432 27.075-34.462 48.507-29.104 21.432 5.358 34.463 27.075 29.104 48.507L391.231 256h11.08l30.768-129.265c5.117-21.491 26.685-34.768 48.177-29.647 21.491 5.117 34.765 26.686 29.647 48.177l-36.292 152.467A96.024 96.024 0 0 0 472 319.967v42.102a96.002 96.002 0 0 1-3.96 27.287l-26.174 88.287C435.825 498.022 417.101 512 395.846 512H179.172a48.002 48.002 0 0 1-32.898-13.046L12.585 373.128c-16.087-15.141-16.853-40.456-1.713-56.543z"] };
  3557. var faHands = { prefix: 'fas', iconName: 'hands', icon: [640, 512, [], "f4c2", "M204.8 230.4c-10.6-14.1-30.7-17-44.8-6.4-14.1 10.6-17 30.7-6.4 44.8l38.1 50.8c4.8 6.4 4.1 15.3-1.5 20.9l-12.8 12.8c-6.7 6.7-17.6 6.2-23.6-1.1L64 244.4V96c0-17.7-14.3-32-32-32S0 78.3 0 96v218.4c0 10.9 3.7 21.5 10.5 30l104.1 134.3c5 6.5 8.4 13.9 10.4 21.7 1.8 6.9 8.1 11.6 15.3 11.6H272c8.8 0 16-7.2 16-16V384c0-27.7-9-54.6-25.6-76.8l-57.6-76.8zM608 64c-17.7 0-32 14.3-32 32v148.4l-89.8 107.8c-6 7.2-17 7.7-23.6 1.1l-12.8-12.8c-5.6-5.6-6.3-14.5-1.5-20.9l38.1-50.8c10.6-14.1 7.7-34.2-6.4-44.8-14.1-10.6-34.2-7.7-44.8 6.4l-57.6 76.8C361 329.4 352 356.3 352 384v112c0 8.8 7.2 16 16 16h131.7c7.1 0 13.5-4.7 15.3-11.6 2-7.8 5.4-15.2 10.4-21.7l104.1-134.3c6.8-8.5 10.5-19.1 10.5-30V96c0-17.7-14.3-32-32-32z"] };
  3558. var faHandsHelping = { prefix: 'fas', iconName: 'hands-helping', icon: [640, 512, [], "f4c4", "M488 192H336v56c0 39.7-32.3 72-72 72s-72-32.3-72-72V126.4l-64.9 39C107.8 176.9 96 197.8 96 220.2v47.3l-80 46.2C.7 322.5-4.6 342.1 4.3 357.4l80 138.6c8.8 15.3 28.4 20.5 43.7 11.7L231.4 448H368c35.3 0 64-28.7 64-64h16c17.7 0 32-14.3 32-32v-64h8c13.3 0 24-10.7 24-24v-48c0-13.3-10.7-24-24-24zm147.7-37.4L555.7 16C546.9.7 527.3-4.5 512 4.3L408.6 64H306.4c-12 0-23.7 3.4-33.9 9.7L239 94.6c-9.4 5.8-15 16.1-15 27.1V248c0 22.1 17.9 40 40 40s40-17.9 40-40v-88h184c30.9 0 56 25.1 56 56v28.5l80-46.2c15.3-8.9 20.5-28.4 11.7-43.7z"] };
  3559. var faHandshake = { prefix: 'fas', iconName: 'handshake', icon: [640, 512, [], "f2b5", "M434.7 64h-85.9c-8 0-15.7 3-21.6 8.4l-98.3 90c-.1.1-.2.3-.3.4-16.6 15.6-16.3 40.5-2.1 56 12.7 13.9 39.4 17.6 56.1 2.7.1-.1.3-.1.4-.2l79.9-73.2c6.5-5.9 16.7-5.5 22.6 1 6 6.5 5.5 16.6-1 22.6l-26.1 23.9L504 313.8c2.9 2.4 5.5 5 7.9 7.7V128l-54.6-54.6c-5.9-6-14.1-9.4-22.6-9.4zM544 128.2v223.9c0 17.7 14.3 32 32 32h64V128.2h-96zm48 223.9c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zM0 384h64c17.7 0 32-14.3 32-32V128.2H0V384zm48-63.9c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16c0-8.9 7.2-16 16-16zm435.9 18.6L334.6 217.5l-30 27.5c-29.7 27.1-75.2 24.5-101.7-4.4-26.9-29.4-24.8-74.9 4.4-101.7L289.1 64h-83.8c-8.5 0-16.6 3.4-22.6 9.4L128 128v223.9h18.3l90.5 81.9c27.4 22.3 67.7 18.1 90-9.3l.2-.2 17.9 15.5c15.9 13 39.4 10.5 52.3-5.4l31.4-38.6 5.4 4.4c13.7 11.1 33.9 9.1 45-4.7l9.5-11.7c11.2-13.8 9.1-33.9-4.6-45.1z"] };
  3560. var faHanukiah = { prefix: 'fas', iconName: 'hanukiah', icon: [640, 512, [], "f6e6", "M232 160c-4.42 0-8 3.58-8 8v120h32V168c0-4.42-3.58-8-8-8h-16zm-64 0c-4.42 0-8 3.58-8 8v120h32V168c0-4.42-3.58-8-8-8h-16zm224 0c-4.42 0-8 3.58-8 8v120h32V168c0-4.42-3.58-8-8-8h-16zm64 0c-4.42 0-8 3.58-8 8v120h32V168c0-4.42-3.58-8-8-8h-16zm88 8c0-4.42-3.58-8-8-8h-16c-4.42 0-8 3.58-8 8v120h32V168zm-440-8c-4.42 0-8 3.58-8 8v120h32V168c0-4.42-3.58-8-8-8h-16zm520 0h-32c-8.84 0-16 7.16-16 16v112c0 17.67-14.33 32-32 32H352V128c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v192H96c-17.67 0-32-14.33-32-32V176c0-8.84-7.16-16-16-16H16c-8.84 0-16 7.16-16 16v112c0 53.02 42.98 96 96 96h192v64H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16H352v-64h192c53.02 0 96-42.98 96-96V176c0-8.84-7.16-16-16-16zm-16-32c13.25 0 24-11.94 24-26.67S608 48 608 48s-24 38.61-24 53.33S594.75 128 608 128zm-576 0c13.25 0 24-11.94 24-26.67S32 48 32 48 8 86.61 8 101.33 18.75 128 32 128zm288-48c13.25 0 24-11.94 24-26.67S320 0 320 0s-24 38.61-24 53.33S306.75 80 320 80zm-208 48c13.25 0 24-11.94 24-26.67S112 48 112 48s-24 38.61-24 53.33S98.75 128 112 128zm64 0c13.25 0 24-11.94 24-26.67S176 48 176 48s-24 38.61-24 53.33S162.75 128 176 128zm64 0c13.25 0 24-11.94 24-26.67S240 48 240 48s-24 38.61-24 53.33S226.75 128 240 128zm160 0c13.25 0 24-11.94 24-26.67S400 48 400 48s-24 38.61-24 53.33S386.75 128 400 128zm64 0c13.25 0 24-11.94 24-26.67S464 48 464 48s-24 38.61-24 53.33S450.75 128 464 128zm64 0c13.25 0 24-11.94 24-26.67S528 48 528 48s-24 38.61-24 53.33S514.75 128 528 128z"] };
  3561. var faHashtag = { prefix: 'fas', iconName: 'hashtag', icon: [448, 512, [], "f292", "M440.667 182.109l7.143-40c1.313-7.355-4.342-14.109-11.813-14.109h-74.81l14.623-81.891C377.123 38.754 371.468 32 363.997 32h-40.632a12 12 0 0 0-11.813 9.891L296.175 128H197.54l14.623-81.891C213.477 38.754 207.822 32 200.35 32h-40.632a12 12 0 0 0-11.813 9.891L132.528 128H53.432a12 12 0 0 0-11.813 9.891l-7.143 40C33.163 185.246 38.818 192 46.289 192h74.81L98.242 320H19.146a12 12 0 0 0-11.813 9.891l-7.143 40C-1.123 377.246 4.532 384 12.003 384h74.81L72.19 465.891C70.877 473.246 76.532 480 84.003 480h40.632a12 12 0 0 0 11.813-9.891L151.826 384h98.634l-14.623 81.891C234.523 473.246 240.178 480 247.65 480h40.632a12 12 0 0 0 11.813-9.891L315.472 384h79.096a12 12 0 0 0 11.813-9.891l7.143-40c1.313-7.355-4.342-14.109-11.813-14.109h-74.81l22.857-128h79.096a12 12 0 0 0 11.813-9.891zM261.889 320h-98.634l22.857-128h98.634l-22.857 128z"] };
  3562. var faHatWizard = { prefix: 'fas', iconName: 'hat-wizard', icon: [512, 512, [], "f6e8", "M496 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm-304-64l-64-32 64-32 32-64 32 64 64 32-64 32-16 32h208l-86.41-201.63a63.955 63.955 0 0 1-1.89-45.45L416 0 228.42 107.19a127.989 127.989 0 0 0-53.46 59.15L64 416h144l-16-32zm64-224l16-32 16 32 32 16-32 16-16 32-16-32-32-16 32-16z"] };
  3563. var faHaykal = { prefix: 'fas', iconName: 'haykal', icon: [512, 512, [], "f666", "M496.25 202.52l-110-15.44 41.82-104.34c6.67-16.64-11.6-32.18-26.59-22.63L307.44 120 273.35 12.82C270.64 4.27 263.32 0 256 0c-7.32 0-14.64 4.27-17.35 12.82l-34.09 107.19-94.04-59.89c-14.99-9.55-33.25 5.99-26.59 22.63l41.82 104.34-110 15.43c-17.54 2.46-21.68 26.27-6.03 34.67l98.16 52.66-74.48 83.54c-10.92 12.25-1.72 30.93 13.29 30.93 1.31 0 2.67-.14 4.07-.45l108.57-23.65-4.11 112.55c-.43 11.65 8.87 19.22 18.41 19.22 5.15 0 10.39-2.21 14.2-7.18l68.18-88.9 68.18 88.9c3.81 4.97 9.04 7.18 14.2 7.18 9.54 0 18.84-7.57 18.41-19.22l-4.11-112.55 108.57 23.65c17.36 3.76 29.21-17.2 17.35-30.49l-74.48-83.54 98.16-52.66c15.64-8.39 11.5-32.2-6.04-34.66zM338.51 311.68l-51.89-11.3 1.97 53.79L256 311.68l-32.59 42.49 1.96-53.79-51.89 11.3 35.6-39.93-46.92-25.17 52.57-7.38-19.99-49.87 44.95 28.62L256 166.72l16.29 51.23 44.95-28.62-19.99 49.87 52.57 7.38-46.92 25.17 35.61 39.93z"] };
  3564. var faHdd = { prefix: 'fas', iconName: 'hdd', icon: [576, 512, [], "f0a0", "M576 304v96c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48v-96c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48zm-48-80a79.557 79.557 0 0 1 30.777 6.165L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L17.223 230.165A79.557 79.557 0 0 1 48 224h480zm-48 96c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm-96 0c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"] };
  3565. var faHeading = { prefix: 'fas', iconName: 'heading', icon: [512, 512, [], "f1dc", "M496 80V48c0-8.837-7.163-16-16-16H320c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h37.621v128H154.379V96H192c8.837 0 16-7.163 16-16V48c0-8.837-7.163-16-16-16H32c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h37.275v320H32c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h160c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-37.621V288H357.62v128H320c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h160c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16h-37.275V96H480c8.837 0 16-7.163 16-16z"] };
  3566. var faHeadphones = { prefix: 'fas', iconName: 'headphones', icon: [512, 512, [], "f025", "M256 32C114.52 32 0 146.496 0 288v48a32 32 0 0 0 17.689 28.622l14.383 7.191C34.083 431.903 83.421 480 144 480h24c13.255 0 24-10.745 24-24V280c0-13.255-10.745-24-24-24h-24c-31.342 0-59.671 12.879-80 33.627V288c0-105.869 86.131-192 192-192s192 86.131 192 192v1.627C427.671 268.879 399.342 256 368 256h-24c-13.255 0-24 10.745-24 24v176c0 13.255 10.745 24 24 24h24c60.579 0 109.917-48.098 111.928-108.187l14.382-7.191A32 32 0 0 0 512 336v-48c0-141.479-114.496-256-256-256z"] };
  3567. var faHeadphonesAlt = { prefix: 'fas', iconName: 'headphones-alt', icon: [512, 512, [], "f58f", "M160 288h-16c-35.35 0-64 28.7-64 64.12v63.76c0 35.41 28.65 64.12 64 64.12h16c17.67 0 32-14.36 32-32.06V320.06c0-17.71-14.33-32.06-32-32.06zm208 0h-16c-17.67 0-32 14.35-32 32.06v127.88c0 17.7 14.33 32.06 32 32.06h16c35.35 0 64-28.71 64-64.12v-63.76c0-35.41-28.65-64.12-64-64.12zM256 32C112.91 32 4.57 151.13 0 288v112c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16V288c0-114.67 93.33-207.8 208-207.82 114.67.02 208 93.15 208 207.82v112c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16V288C507.43 151.13 399.09 32 256 32z"] };
  3568. var faHeadset = { prefix: 'fas', iconName: 'headset', icon: [512, 512, [], "f590", "M192 208c0-17.67-14.33-32-32-32h-16c-35.35 0-64 28.65-64 64v48c0 35.35 28.65 64 64 64h16c17.67 0 32-14.33 32-32V208zm176 144c35.35 0 64-28.65 64-64v-48c0-35.35-28.65-64-64-64h-16c-17.67 0-32 14.33-32 32v112c0 17.67 14.33 32 32 32h16zM256 0C113.18 0 4.58 118.83 0 256v16c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-16c0-114.69 93.31-208 208-208s208 93.31 208 208h-.12c.08 2.43.12 165.72.12 165.72 0 23.35-18.93 42.28-42.28 42.28H320c0-26.51-21.49-48-48-48h-32c-26.51 0-48 21.49-48 48s21.49 48 48 48h181.72c49.86 0 90.28-40.42 90.28-90.28V256C507.42 118.83 398.82 0 256 0z"] };
  3569. var faHeart = { prefix: 'fas', iconName: 'heart', icon: [512, 512, [], "f004", "M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"] };
  3570. var faHeartbeat = { prefix: 'fas', iconName: 'heartbeat', icon: [512, 512, [], "f21e", "M320.2 243.8l-49.7 99.4c-6 12.1-23.4 11.7-28.9-.6l-56.9-126.3-30 71.7H60.6l182.5 186.5c7.1 7.3 18.6 7.3 25.7 0L451.4 288H342.3l-22.1-44.2zM473.7 73.9l-2.4-2.5c-51.5-52.6-135.8-52.6-187.4 0L256 100l-27.9-28.5c-51.5-52.7-135.9-52.7-187.4 0l-2.4 2.4C-10.4 123.7-12.5 203 31 256h102.4l35.9-86.2c5.4-12.9 23.6-13.2 29.4-.4l58.2 129.3 49-97.9c5.9-11.8 22.7-11.8 28.6 0l27.6 55.2H481c43.5-53 41.4-132.3-7.3-182.1z"] };
  3571. var faHelicopter = { prefix: 'fas', iconName: 'helicopter', icon: [640, 512, [], "f533", "M304 384h272c17.67 0 32-14.33 32-32 0-123.71-100.29-224-224-224V64h176c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16H144c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h176v64H112L68.8 70.4C65.78 66.37 61.03 64 56 64H16.01C5.6 64-2.04 73.78.49 83.88L32 192l160 64 86.4 115.2A31.992 31.992 0 0 0 304 384zm112-188.49C478.55 208.3 528.03 257.44 540.79 320H416V195.51zm219.37 263.3l-22.15-22.2c-6.25-6.26-16.24-6.1-22.64.01-7.09 6.77-13.84 11.25-24.64 11.25H240c-8.84 0-16 7.18-16 16.03v32.06c0 8.85 7.16 16.03 16 16.03h325.94c14.88 0 35.3-.47 68.45-29.52 7.02-6.14 7.57-17.05.98-23.66z"] };
  3572. var faHighlighter = { prefix: 'fas', iconName: 'highlighter', icon: [544, 512, [], "f591", "M0 479.98L99.92 512l35.45-35.45-67.04-67.04L0 479.98zm124.61-240.01a36.592 36.592 0 0 0-10.79 38.1l13.05 42.83-50.93 50.94 96.23 96.23 50.86-50.86 42.74 13.08c13.73 4.2 28.65-.01 38.15-10.78l35.55-41.64-173.34-173.34-41.52 35.44zm403.31-160.7l-63.2-63.2c-20.49-20.49-53.38-21.52-75.12-2.35L190.55 183.68l169.77 169.78L530.27 154.4c19.18-21.74 18.15-54.63-2.35-75.13z"] };
  3573. var faHiking = { prefix: 'fas', iconName: 'hiking', icon: [384, 512, [], "f6ec", "M80.95 472.23c-4.28 17.16 6.14 34.53 23.28 38.81 2.61.66 5.22.95 7.8.95 14.33 0 27.37-9.7 31.02-24.23l25.24-100.97-52.78-52.78-34.56 138.22zm14.89-196.12L137 117c2.19-8.42-3.14-16.95-11.92-19.06-43.88-10.52-88.35 15.07-99.32 57.17L.49 253.24c-2.19 8.42 3.14 16.95 11.92 19.06l63.56 15.25c8.79 2.1 17.68-3.02 19.87-11.44zM368 160h-16c-8.84 0-16 7.16-16 16v16h-34.75l-46.78-46.78C243.38 134.11 228.61 128 212.91 128c-27.02 0-50.47 18.3-57.03 44.52l-26.92 107.72a32.012 32.012 0 0 0 8.42 30.39L224 397.25V480c0 17.67 14.33 32 32 32s32-14.33 32-32v-82.75c0-17.09-6.66-33.16-18.75-45.25l-46.82-46.82c.15-.5.49-.89.62-1.41l19.89-79.57 22.43 22.43c6 6 14.14 9.38 22.62 9.38h48v240c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16V176c.01-8.84-7.15-16-15.99-16zM240 96c26.51 0 48-21.49 48-48S266.51 0 240 0s-48 21.49-48 48 21.49 48 48 48z"] };
  3574. var faHippo = { prefix: 'fas', iconName: 'hippo', icon: [640, 512, [], "f6ed", "M581.12 96.2c-27.67-.15-52.5 17.58-76.6 26.62C489.98 88.27 455.83 64 416 64c-11.28 0-21.95 2.3-32 5.88V56c0-13.26-10.75-24-24-24h-16c-13.25 0-24 10.74-24 24v48.98C286.01 79.58 241.24 64 192 64 85.96 64 0 135.64 0 224v240c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16v-70.79C128.35 407.57 166.72 416 208 416s79.65-8.43 112-22.79V464c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V288h128v32c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-32c17.67 0 32-14.33 32-32v-92.02c0-34.09-24.79-67.59-58.88-67.78zM448 176c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"] };
  3575. var faHistory = { prefix: 'fas', iconName: 'history', icon: [512, 512, [], "f1da", "M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"] };
  3576. var faHockeyPuck = { prefix: 'fas', iconName: 'hockey-puck', icon: [512, 512, [], "f453", "M0 160c0-53 114.6-96 256-96s256 43 256 96-114.6 96-256 96S0 213 0 160zm0 82.2V352c0 53 114.6 96 256 96s256-43 256-96V242.2c-113.4 82.3-398.5 82.4-512 0z"] };
  3577. var faHome = { prefix: 'fas', iconName: 'home', icon: [576, 512, [], "f015", "M488 312.7V456c0 13.3-10.7 24-24 24H348c-6.6 0-12-5.4-12-12V356c0-6.6-5.4-12-12-12h-72c-6.6 0-12 5.4-12 12v112c0 6.6-5.4 12-12 12H112c-13.3 0-24-10.7-24-24V312.7c0-3.6 1.6-7 4.4-9.3l188-154.8c4.4-3.6 10.8-3.6 15.3 0l188 154.8c2.7 2.3 4.3 5.7 4.3 9.3zm83.6-60.9L488 182.9V44.4c0-6.6-5.4-12-12-12h-56c-6.6 0-12 5.4-12 12V117l-89.5-73.7c-17.7-14.6-43.3-14.6-61 0L4.4 251.8c-5.1 4.2-5.8 11.8-1.6 16.9l25.5 31c4.2 5.1 11.8 5.8 16.9 1.6l235.2-193.7c4.4-3.6 10.8-3.6 15.3 0l235.2 193.7c5.1 4.2 12.7 3.5 16.9-1.6l25.5-31c4.2-5.2 3.4-12.7-1.7-16.9z"] };
  3578. var faHorse = { prefix: 'fas', iconName: 'horse', icon: [576, 512, [], "f6f0", "M575.92 76.6c-.01-8.13-3.02-15.87-8.58-21.8-3.78-4.03-8.58-9.12-13.69-14.5 11.06-6.84 19.5-17.49 22.18-30.66C576.85 4.68 572.96 0 567.9 0H447.92c-70.69 0-128 57.31-128 128H160c-28.84 0-54.4 12.98-72 33.11V160c-48.53 0-88 39.47-88 88v56c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-56c0-13.22 6.87-24.39 16.78-31.68-.21 2.58-.78 5.05-.78 7.68 0 27.64 11.84 52.36 30.54 69.88l-25.72 68.6a63.945 63.945 0 0 0-2.16 37.99l24.85 99.41A15.982 15.982 0 0 0 107.02 512h65.96c10.41 0 18.05-9.78 15.52-19.88l-26.31-105.26 23.84-63.59L320 345.6V496c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V318.22c19.74-20.19 32-47.75 32-78.22 0-.22-.07-.42-.08-.64V136.89l16 7.11 18.9 37.7c7.45 14.87 25.05 21.55 40.49 15.37l32.55-13.02a31.997 31.997 0 0 0 20.12-29.74l-.06-77.71zm-64 19.4c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"] };
  3579. var faHospital = { prefix: 'fas', iconName: 'hospital', icon: [448, 512, [], "f0f8", "M448 492v20H0v-20c0-6.627 5.373-12 12-12h20V120c0-13.255 10.745-24 24-24h88V24c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v72h88c13.255 0 24 10.745 24 24v360h20c6.627 0 12 5.373 12 12zM308 192h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zm-168 64h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm104 128h-40c-6.627 0-12 5.373-12 12v84h64v-84c0-6.627-5.373-12-12-12zm64-96h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12zm-116 12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40zM182 96h26v26a6 6 0 0 0 6 6h20a6 6 0 0 0 6-6V96h26a6 6 0 0 0 6-6V70a6 6 0 0 0-6-6h-26V38a6 6 0 0 0-6-6h-20a6 6 0 0 0-6 6v26h-26a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6z"] };
  3580. var faHospitalAlt = { prefix: 'fas', iconName: 'hospital-alt', icon: [576, 512, [], "f47d", "M544 96H416V32c0-17.7-14.3-32-32-32H192c-17.7 0-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32v368c0 8.8 7.2 16 16 16h544c8.8 0 16-7.2 16-16V128c0-17.7-14.3-32-32-32zM160 436c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-128c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm160 128c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-128c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm16-170c0 3.3-2.7 6-6 6h-26v26c0 3.3-2.7 6-6 6h-20c-3.3 0-6-2.7-6-6v-26h-26c-3.3 0-6-2.7-6-6v-20c0-3.3 2.7-6 6-6h26V86c0-3.3 2.7-6 6-6h20c3.3 0 6 2.7 6 6v26h26c3.3 0 6 2.7 6 6v20zm144 298c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-128c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40z"] };
  3581. var faHospitalSymbol = { prefix: 'fas', iconName: 'hospital-symbol', icon: [512, 512, [], "f47e", "M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm112 376c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-88h-96v88c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V136c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v88h96v-88c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v240z"] };
  3582. var faHotTub = { prefix: 'fas', iconName: 'hot-tub', icon: [512, 512, [], "f593", "M414.21 177.65c1.02 8.21 7.75 14.35 15.75 14.35h16.12c9.51 0 17.08-8.57 16-18.35-4.34-39.11-22.4-74.53-50.13-97.16-17.37-14.17-28.82-36.75-31.98-62.15C378.96 6.14 372.22 0 364.23 0h-16.12c-9.51 0-17.09 8.57-16 18.35 4.34 39.11 22.4 74.53 50.13 97.16 17.36 14.17 28.82 36.75 31.97 62.14zm-108 0c1.02 8.21 7.75 14.35 15.75 14.35h16.12c9.51 0 17.08-8.57 16-18.35-4.34-39.11-22.4-74.53-50.13-97.16-17.37-14.17-28.82-36.75-31.98-62.15C270.96 6.14 264.22 0 256.23 0h-16.12c-9.51 0-17.09 8.57-16 18.35 4.34 39.11 22.4 74.53 50.13 97.16 17.36 14.17 28.82 36.75 31.97 62.14zM480 256H256l-110.93-83.2a63.99 63.99 0 0 0-38.4-12.8H64c-35.35 0-64 28.65-64 64v224c0 35.35 28.65 64 64 64h384c35.35 0 64-28.65 64-64V288c0-17.67-14.33-32-32-32zM128 440c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V328c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v112zm96 0c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V328c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v112zm96 0c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V328c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v112zm96 0c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8V328c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v112zM64 128c35.35 0 64-28.65 64-64S99.35 0 64 0 0 28.65 0 64s28.65 64 64 64z"] };
  3583. var faHotel = { prefix: 'fas', iconName: 'hotel', icon: [576, 512, [], "f594", "M560 64c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h15.98v384H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h240v-80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v80h240c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16h-16V64h16zm-304 44.8c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4zm0 96c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4zm-128-96c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4zM179.2 256h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4c0 6.4-6.4 12.8-12.8 12.8zM192 384c0-53.02 42.98-96 96-96s96 42.98 96 96H192zm256-140.8c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-96c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4z"] };
  3584. var faHourglass = { prefix: 'fas', iconName: 'hourglass', icon: [384, 512, [], "f254", "M360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64z"] };
  3585. var faHourglassEnd = { prefix: 'fas', iconName: 'hourglass-end', icon: [384, 512, [], "f253", "M360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64zM192 208c-57.787 0-104-66.518-104-144h208c0 77.945-46.51 144-104 144z"] };
  3586. var faHourglassHalf = { prefix: 'fas', iconName: 'hourglass-half', icon: [384, 512, [], "f252", "M360 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24zm-75.078 384H99.08c17.059-46.797 52.096-80 92.92-80 40.821 0 75.862 33.196 92.922 80zm.019-256H99.078C91.988 108.548 88 86.748 88 64h208c0 22.805-3.987 44.587-11.059 64z"] };
  3587. var faHourglassStart = { prefix: 'fas', iconName: 'hourglass-start', icon: [384, 512, [], "f251", "M360 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24zm-64 448H88c0-77.458 46.204-144 104-144 57.786 0 104 66.517 104 144z"] };
  3588. var faHouseDamage = { prefix: 'fas', iconName: 'house-damage', icon: [576, 512, [], "f6f1", "M288 114.96L69.47 307.71c-1.62 1.46-3.69 2.14-5.47 3.35V496c0 8.84 7.16 16 16 16h149.23L192 439.19l104.11-64-60.16-119.22L384 392.75l-104.11 64L319.81 512H496c8.84 0 16-7.16 16-16V311.1c-1.7-1.16-3.72-1.82-5.26-3.2L288 114.96zm282.69 121.32L512 184.45V48c0-8.84-7.16-16-16-16h-64c-8.84 0-16 7.16-16 16v51.69L314.75 10.31C307.12 3.45 297.56.01 288 0s-19.1 3.41-26.7 10.27L5.31 236.28c-6.57 5.91-7.12 16.02-1.21 22.6l21.4 23.82c5.9 6.57 16.02 7.12 22.6 1.21L277.42 81.63c6.05-5.33 15.12-5.33 21.17 0L527.91 283.9c6.57 5.9 16.69 5.36 22.6-1.21l21.4-23.82c5.9-6.57 5.36-16.69-1.22-22.59z"] };
  3589. var faHryvnia = { prefix: 'fas', iconName: 'hryvnia', icon: [384, 512, [], "f6f2", "M368 240c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16h-41.86c13.41-28.63 13.74-63.33-4.13-94.05C303.34 49.84 267.1 32 229.96 32h-78.82c-24.32 0-47.86 8.53-66.54 24.09L72.83 65.9c-10.18 8.49-11.56 23.62-3.07 33.8l20.49 24.59c8.49 10.19 23.62 11.56 33.81 3.07l11.73-9.78c4.32-3.6 9.77-5.57 15.39-5.57h83.62c11.69 0 21.2 9.52 21.2 21.2 0 5.91-2.48 11.58-6.81 15.58L219.7 176H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h134.37l-34.67 32H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h41.86c-13.41 28.63-13.74 63.33 4.13 94.05C80.66 462.15 116.9 480 154.04 480h78.82c24.32 0 47.86-8.53 66.54-24.09l11.77-9.81c10.18-8.49 11.56-23.62 3.07-33.8l-20.49-24.59c-8.49-10.19-23.62-11.56-33.81-3.07l-11.75 9.8a23.992 23.992 0 0 1-15.36 5.56H149.2c-11.69 0-21.2-9.52-21.2-21.2 0-5.91 2.48-11.58 6.81-15.58L164.3 336H368c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16H233.63l34.67-32H368z"] };
  3590. var faICursor = { prefix: 'fas', iconName: 'i-cursor', icon: [256, 512, [], "f246", "M256 52.048V12.065C256 5.496 250.726.148 244.158.066 211.621-.344 166.469.011 128 37.959 90.266.736 46.979-.114 11.913.114 5.318.157 0 5.519 0 12.114v39.645c0 6.687 5.458 12.078 12.145 11.998C38.111 63.447 96 67.243 96 112.182V224H60c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h36v112c0 44.932-56.075 48.031-83.95 47.959C5.404 447.942 0 453.306 0 459.952v39.983c0 6.569 5.274 11.917 11.842 11.999 32.537.409 77.689.054 116.158-37.894 37.734 37.223 81.021 38.073 116.087 37.845 6.595-.043 11.913-5.405 11.913-12V460.24c0-6.687-5.458-12.078-12.145-11.998C217.889 448.553 160 444.939 160 400V288h36c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-36V112.182c0-44.932 56.075-48.213 83.95-48.142 6.646.018 12.05-5.346 12.05-11.992z"] };
  3591. var faIdBadge = { prefix: 'fas', iconName: 'id-badge', icon: [384, 512, [], "f2c1", "M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM144 32h96c8.8 0 16 7.2 16 16s-7.2 16-16 16h-96c-8.8 0-16-7.2-16-16s7.2-16 16-16zm48 128c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H102.4C90 416 80 407.4 80 396.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"] };
  3592. var faIdCard = { prefix: 'fas', iconName: 'id-card', icon: [576, 512, [], "f2c2", "M528 32H48C21.5 32 0 53.5 0 80v16h576V80c0-26.5-21.5-48-48-48zM0 432c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V128H0v304zm352-232c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16zm0 64c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16zm0 64c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16zM176 192c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zM67.1 396.2C75.5 370.5 99.6 352 128 352h8.2c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h8.2c28.4 0 52.5 18.5 60.9 44.2 3.2 9.9-5.2 19.8-15.6 19.8H82.7c-10.4 0-18.8-10-15.6-19.8z"] };
  3593. var faIdCardAlt = { prefix: 'fas', iconName: 'id-card-alt', icon: [576, 512, [], "f47f", "M528 64H384v96H192V64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM288 224c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm93.3 224H194.7c-10.4 0-18.8-10-15.6-19.8 8.3-25.6 32.4-44.2 60.9-44.2h8.2c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h8.2c28.4 0 52.5 18.5 60.9 44.2 3.2 9.8-5.2 19.8-15.6 19.8zM352 32c0-17.7-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32v96h128V32z"] };
  3594. var faImage = { prefix: 'fas', iconName: 'image', icon: [512, 512, [], "f03e", "M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"] };
  3595. var faImages = { prefix: 'fas', iconName: 'images', icon: [576, 512, [], "f302", "M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z"] };
  3596. var faInbox = { prefix: 'fas', iconName: 'inbox', icon: [576, 512, [], "f01c", "M567.938 243.908L462.25 85.374A48.003 48.003 0 0 0 422.311 64H153.689a48 48 0 0 0-39.938 21.374L8.062 243.908A47.994 47.994 0 0 0 0 270.533V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V270.533a47.994 47.994 0 0 0-8.062-26.625zM162.252 128h251.497l85.333 128H376l-32 64H232l-32-64H76.918l85.334-128z"] };
  3597. var faIndent = { prefix: 'fas', iconName: 'indent', icon: [448, 512, [], "f03c", "M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm176 144h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zM16 484h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm-52.687-111.313l-96-95.984C17.266 138.652 0 145.776 0 160.016v191.975c0 14.329 17.325 21.304 27.313 11.313l96-95.992c6.249-6.247 6.249-16.377 0-22.625z"] };
  3598. var faIndustry = { prefix: 'fas', iconName: 'industry', icon: [512, 512, [], "f275", "M475.115 163.781L336 252.309v-68.28c0-18.916-20.931-30.399-36.885-20.248L160 252.309V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h464c13.255 0 24-10.745 24-24V184.029c0-18.917-20.931-30.399-36.885-20.248z"] };
  3599. var faInfinity = { prefix: 'fas', iconName: 'infinity', icon: [640, 512, [], "f534", "M471.1 96C405 96 353.3 137.3 320 174.6 286.7 137.3 235 96 168.9 96 75.8 96 0 167.8 0 256s75.8 160 168.9 160c66.1 0 117.8-41.3 151.1-78.6 33.3 37.3 85 78.6 151.1 78.6 93.1 0 168.9-71.8 168.9-160S564.2 96 471.1 96zM168.9 320c-40.2 0-72.9-28.7-72.9-64s32.7-64 72.9-64c38.2 0 73.4 36.1 94 64-20.4 27.6-55.9 64-94 64zm302.2 0c-38.2 0-73.4-36.1-94-64 20.4-27.6 55.9-64 94-64 40.2 0 72.9 28.7 72.9 64s-32.7 64-72.9 64z"] };
  3600. var faInfo = { prefix: 'fas', iconName: 'info', icon: [192, 512, [], "f129", "M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"] };
  3601. var faInfoCircle = { prefix: 'fas', iconName: 'info-circle', icon: [512, 512, [], "f05a", "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"] };
  3602. var faItalic = { prefix: 'fas', iconName: 'italic', icon: [320, 512, [], "f033", "M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"] };
  3603. var faJedi = { prefix: 'fas', iconName: 'jedi', icon: [544, 512, [], "f669", "M479.99 352l58.88-58.87c3.29-16.8 5.13-34.12 5.13-51.86 0-5.81-.68-11.51-1.05-17.27H496l41.25-41.24c-14.5-64.79-52.43-123.05-107.91-162.27-2.77-1.96-5.97-2.99-9.25-2.99-5.37 0-10.41 2.71-13.49 7.24-3.05 4.49-3.64 9.99-1.61 15.09 6.55 16.46 9.86 33.73 9.86 51.31 0 45.12-21.03 86.57-57.69 113.73-4.02 2.98-6.46 7.5-6.7 12.4-.24 4.92 1.76 9.66 5.49 13.03 32.93 29.75 47.35 73.51 38.57 117.07-9.74 48.35-48.84 87.1-97.31 96.5l-2.5-65.34L321.88 397c2.98 2.06 7.39 1.69 10.02-.8a8.002 8.002 0 0 0 1.34-9.92l-20.11-33.73 42.07-8.72c3.7-.75 6.38-4.05 6.38-7.83 0-3.77-2.69-7.06-6.38-7.83l-42.07-8.73 20.13-33.77c1.92-3.23 1.34-7.31-1.38-9.91-2.7-2.55-6.97-2.89-10-.8l-30.39 20.67L279.96 7.7a7.964 7.964 0 0 0-8-7.7c-4.33 0-7.84 3.38-8 7.67l-11.52 287.97-30.39-20.66c-3.14-2.12-7.27-1.83-10 .78-2.72 2.59-3.3 6.67-1.36 9.94l20.11 33.73-42.07 8.73c-3.7.75-6.38 4.05-6.38 7.83s2.67 7.08 6.38 7.83l42.07 8.72-20.13 33.77c-1.92 3.23-1.34 7.33 1.39 9.94 2.59 2.45 7.03 2.75 10 .75l27.16-18.48-2.5 65.26c-56.94-11.64-99.89-61.89-99.89-121.92 0-35.08 14.62-67.6 41.17-91.58 3.72-3.36 5.72-8.11 5.48-13.01-.24-4.9-2.68-9.41-6.69-12.38-36.67-27.16-57.71-68.62-57.71-113.74 0-17.56 3.31-34.81 9.84-51.26 2.02-5.09 1.43-10.59-1.62-15.09-3.08-4.54-8.13-7.25-13.51-7.25-3.3 0-6.5 1.04-9.27 3-55.87 39.52-93.6 97.37-107.97 162.07L47.93 224H.72c-.63 9.92-.97 19.91-.5 29.99.62 13.43 2.54 26.53 5.11 39.41l58.6 58.6H24.02c41.25 90.23 131.13 154.94 235.1 159.71 4.3.2 8.59.29 12.85.29 110.34 0 205.35-65.83 247.98-160h-39.96z"] };
  3604. var faJoint = { prefix: 'fas', iconName: 'joint', icon: [640, 512, [], "f595", "M444.34 181.1c22.38 15.68 35.66 41.16 35.66 68.59V280c0 4.42 3.58 8 8 8h48c4.42 0 8-3.58 8-8v-30.31c0-43.24-21.01-83.41-56.34-108.06C463.85 125.02 448 99.34 448 70.31V8c0-4.42-3.58-8-8-8h-48c-4.42 0-8 3.58-8 8v66.4c0 43.69 24.56 81.63 60.34 106.7zM194.97 358.98C126.03 370.07 59.69 394.69 0 432c83.65 52.28 180.3 80 278.94 80h88.57L254.79 380.49c-14.74-17.2-37.45-25.11-59.82-21.51zM553.28 87.09c-5.67-3.8-9.28-9.96-9.28-16.78V8c0-4.42-3.58-8-8-8h-48c-4.42 0-8 3.58-8 8v62.31c0 22.02 10.17 43.41 28.64 55.39C550.79 153.04 576 199.54 576 249.69V280c0 4.42 3.58 8 8 8h48c4.42 0 8-3.58 8-8v-30.31c0-65.44-32.41-126.19-86.72-162.6zM360.89 352.05c-34.4.06-86.81.15-88.21.17l117.8 137.43A63.987 63.987 0 0 0 439.07 512h88.45L409.57 374.4a63.955 63.955 0 0 0-48.68-22.35zM616 352H432l117.99 137.65A63.987 63.987 0 0 0 598.58 512H616c13.25 0 24-10.75 24-24V376c0-13.26-10.75-24-24-24z"] };
  3605. var faJournalWhills = { prefix: 'fas', iconName: 'journal-whills', icon: [448, 512, [], "f66a", "M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM133.08 144.39l21.26 21.26c1.56 1.56 3.61 2.34 5.66 2.34s4.09-.78 5.66-2.34c3.12-3.12 3.12-8.19 0-11.31l-26.42-26.42c10-20.9 26.24-37.97 46.37-49.26C179.62 88.4 176 99.74 176 112c0 19.96 9.33 37.57 23.66 49.31C190.01 171.37 184 184.96 184 200c0 26.94 19.04 49.4 44.38 54.76l1.36-32.71-10.37 7.04c-.69.45-1.47.69-2.25.69-1 0-1.98-.38-2.75-1.09a4.006 4.006 0 0 1-.69-4.95l8.54-14.31-17.91-3.72c-1.86-.39-3.19-2.03-3.19-3.92s1.33-3.53 3.19-3.92l17.91-3.72-8.54-14.31c-.95-1.61-.67-3.67.69-4.95 1.36-1.3 3.44-1.44 5-.41l12.01 8.16L236 71.83c.09-2.14 1.86-3.83 4-3.83s3.91 1.69 4 3.83l4.68 112.29 14.2-9.65a4.067 4.067 0 0 1 5 .41 4.006 4.006 0 0 1 .69 4.95l-8.54 14.31 17.91 3.72c1.86.39 3.19 2.03 3.19 3.92s-1.33 3.53-3.19 3.92l-17.91 3.72 8.54 14.31c.95 1.61.67 3.67-.69 4.95-.77.72-1.77 1.09-2.75 1.09-.78 0-1.56-.23-2.25-.69l-12.68-8.62 1.43 34.28C276.96 249.4 296 226.94 296 200c0-15.04-6.01-28.63-15.66-38.69C294.67 149.57 304 131.96 304 112c0-12.26-3.62-23.6-9.6-33.33 20.13 11.28 36.37 28.36 46.37 49.26l-26.42 26.42c-3.12 3.12-3.12 8.19 0 11.31 1.56 1.56 3.61 2.34 5.66 2.34s4.09-.78 5.66-2.34l21.26-21.26c2.97 10.08 5.07 20.55 5.07 31.6 0 .52-.14.99-.15 1.51l-37.11 32.47a7.975 7.975 0 0 0-.75 11.28 7.97 7.97 0 0 0 6.02 2.73c1.88 0 3.75-.66 5.27-1.98l23.59-20.64C337.32 250.96 293.09 288 240 288s-97.32-37.04-108.86-86.62l23.59 20.64A7.957 7.957 0 0 0 160 224c2.22 0 4.44-.92 6.02-2.73 2.92-3.33 2.58-8.38-.75-11.28l-37.11-32.47c-.01-.52-.15-.99-.15-1.51-.01-11.06 2.09-21.53 5.07-31.62zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"] };
  3606. var faKaaba = { prefix: 'fas', iconName: 'kaaba', icon: [576, 512, [], "f66b", "M554.12 83.51L318.36 4.93a95.962 95.962 0 0 0-60.71 0L21.88 83.51A32.006 32.006 0 0 0 0 113.87v49.01l265.02-79.51c15.03-4.5 30.92-4.5 45.98 0l265 79.51v-49.01c0-13.77-8.81-26-21.88-30.36zm-279.9 30.52L0 196.3v228.38c0 15 10.42 27.98 25.06 31.24l242.12 53.8a95.937 95.937 0 0 0 41.65 0l242.12-53.8c14.64-3.25 25.06-16.24 25.06-31.24V196.29l-274.2-82.26c-9.04-2.72-18.59-2.72-27.59 0zM128 230.11c0 3.61-2.41 6.77-5.89 7.72l-80 21.82C37.02 261.03 32 257.2 32 251.93v-16.58c0-3.61 2.41-6.77 5.89-7.72l80-21.82c5.09-1.39 10.11 2.44 10.11 7.72v16.58zm144-39.28c0 3.61-2.41 6.77-5.89 7.72l-96 26.18c-5.09 1.39-10.11-2.44-10.11-7.72v-16.58c0-3.61 2.41-6.77 5.89-7.72l96-26.18c5.09-1.39 10.11 2.44 10.11 7.72v16.58zm176 22.7c0-5.28 5.02-9.11 10.11-7.72l80 21.82c3.48.95 5.89 4.11 5.89 7.72v16.58c0 5.28-5.02 9.11-10.11 7.72l-80-21.82a7.997 7.997 0 0 1-5.89-7.72v-16.58zm-144-39.27c0-5.28 5.02-9.11 10.11-7.72l96 26.18c3.48.95 5.89 4.11 5.89 7.72v16.58c0 5.28-5.02 9.11-10.11 7.72l-96-26.18a7.997 7.997 0 0 1-5.89-7.72v-16.58z"] };
  3607. var faKey = { prefix: 'fas', iconName: 'key', icon: [512, 512, [], "f084", "M512 176.001C512 273.203 433.202 352 336 352c-11.22 0-22.19-1.062-32.827-3.069l-24.012 27.014A23.999 23.999 0 0 1 261.223 384H224v40c0 13.255-10.745 24-24 24h-40v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-78.059c0-6.365 2.529-12.47 7.029-16.971l161.802-161.802C163.108 213.814 160 195.271 160 176 160 78.798 238.797.001 335.999 0 433.488-.001 512 78.511 512 176.001zM336 128c0 26.51 21.49 48 48 48s48-21.49 48-48-21.49-48-48-48-48 21.49-48 48z"] };
  3608. var faKeyboard = { prefix: 'fas', iconName: 'keyboard', icon: [576, 512, [], "f11c", "M528 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM128 180v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"] };
  3609. var faKhanda = { prefix: 'fas', iconName: 'khanda', icon: [512, 512, [], "f66d", "M415.81 66c-6.37-3.5-14.37-2.33-19.36 3.02a15.974 15.974 0 0 0-1.91 19.52c16.49 26.16 25.2 56.39 25.2 87.41-.19 53.25-26.77 102.69-71.27 132.41l-76.63 53.35v-20.1l44.05-36.09c3.92-4.2 5-10.09 2.81-15.28L310.85 273c33.84-19.26 56.94-55.25 56.94-96.99 0-40.79-22.02-76.13-54.59-95.71l5.22-11.44c2.34-5.53.93-11.83-3.57-16.04L255.86 0l-58.99 52.81c-4.5 4.21-5.9 10.51-3.57 16.04l5.22 11.44c-32.57 19.58-54.59 54.93-54.59 95.72 0 41.75 23.09 77.73 56.94 96.99l-7.85 17.24c-2.19 5.18-1.1 11.07 2.81 15.28l44.05 36.09v19.9l-76.59-53.33C119.02 278.62 92.44 229.19 92.26 176c0-31.08 8.71-61.31 25.2-87.47 3.87-6.16 2.4-13.77-2.59-19.08-5-5.34-13.68-6.2-20.02-2.7C16.32 109.6-22.3 205.3 13.36 295.99c7.07 17.99 17.89 34.38 30.46 49.06l55.97 65.36c4.87 5.69 13.04 7.24 19.65 3.72l79.35-42.23L228 392.23l-47.08 32.78c-1.67-.37-3.23-1.01-5.01-1.01-13.25 0-23.99 10.74-23.99 24 0 13.25 10.74 24 23.99 24 12.1 0 21.69-9.11 23.33-20.76l40.63-28.28v29.95c-9.39 5.57-15.99 15.38-15.99 27.1 0 17.67 14.32 32 31.98 32s31.98-14.33 31.98-32c0-11.71-6.61-21.52-15.99-27.1v-30.15l40.91 28.48C314.41 462.89 324 472 336.09 472c13.25 0 23.99-10.75 23.99-24 0-13.26-10.74-24-23.99-24-1.78 0-3.34.64-5.01 1.01L284 392.23l29.21-20.34 79.35 42.23c6.61 3.52 14.78 1.97 19.65-3.71l52.51-61.31c18.87-22.02 34-47.5 41.25-75.59 21.62-83.66-16.45-167.27-90.16-207.51zm-95.99 110c0 22.3-11.49 41.92-28.83 53.38l-5.65-12.41c-8.75-24.52-8.75-51.04 0-75.56l7.83-17.18c16.07 11.65 26.65 30.45 26.65 51.77zm-127.93 0c0-21.32 10.58-40.12 26.66-51.76l7.83 17.18c8.75 24.52 8.75 51.03 0 75.56l-5.65 12.41c-17.34-11.46-28.84-31.09-28.84-53.39z"] };
  3610. var faKiss = { prefix: 'fas', iconName: 'kiss', icon: [496, 512, [], "f596", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-80 232c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm136 156c0 19.2-28.7 41.5-71.5 44-8.5.8-12.1-11.8-3.6-15.4l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-6-2.5-6.1-12.2 0-14.8l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-8.6-3.6-4.8-16.5 3.6-15.4 42.8 2.5 71.5 24.8 71.5 44 0 13-13.4 27.3-35.2 36C290.6 368.7 304 383 304 396zm24-156c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3611. var faKissBeam = { prefix: 'fas', iconName: 'kiss-beam', icon: [496, 512, [], "f597", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-39 219.9l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.6 4-14.9-4.5 3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.5 8.5-10.9 12-15.1 4.5zM304 396c0 19.2-28.7 41.5-71.5 44-8.5.8-12.1-11.8-3.6-15.4l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-6-2.5-6.1-12.2 0-14.8l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-8.6-3.6-4.8-16.5 3.6-15.4 42.8 2.5 71.5 24.8 71.5 44 0 13-13.4 27.3-35.2 36C290.6 368.7 304 383 304 396zm65-168.1l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.1 7.3-15.6 4-14.9-4.5 3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.5 8.5-10.9 12-15.1 4.5z"] };
  3612. var faKissWinkHeart = { prefix: 'fas', iconName: 'kiss-wink-heart', icon: [504, 512, [], "f598", "M501.1 402.5c-8-20.8-31.5-31.5-53.1-25.9l-8.4 2.2-2.3-8.4c-5.9-21.4-27-36.5-49-33-25.2 4-40.6 28.6-34 52.6l22.9 82.6c1.5 5.3 7 8.5 12.4 7.1l83-21.5c24.1-6.3 37.7-31.8 28.5-55.7zm-177.6-4c-5.6-20.3-2.3-42 9-59.7 29.7-46.3 98.7-45.5 127.8 4.3 6.4.1 12.6 1.4 18.6 2.9 10.9-27.9 17.1-58.2 17.1-90C496 119 385 8 248 8S0 119 0 256s111 248 248 248c35.4 0 68.9-7.5 99.4-20.9-.3-.7-23.9-84.6-23.9-84.6zM168 240c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm120 156c0 19.2-28.7 41.5-71.5 44-8.5.8-12.1-11.8-3.6-15.4l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-6-2.5-5.7-12.3 0-14.8l17-7.2c13-5.5 20.8-13.5 20.8-21.5s-7.8-16-20.8-21.5l-17-7.2c-8.8-3.7-4.6-16.6 3.6-15.4 42.8 2.5 71.5 24.8 71.5 44 0 13-13.4 27.3-35.2 36C274.6 368.7 288 383 288 396zm16-179c-8.3 7.4-21.6.4-19.8-10.8 4-25.2 34.2-42.1 59.9-42.1S400 181 404 206.2c1.7 11.1-11.3 18.3-19.8 10.8l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L304 217z"] };
  3613. var faKiwiBird = { prefix: 'fas', iconName: 'kiwi-bird', icon: [576, 512, [], "f535", "M575.81 217.98C572.64 157.41 518.28 112 457.63 112h-9.37c-52.82 0-104.25-16.25-147.74-46.24-41.99-28.96-96.04-41.62-153.21-28.7C129.3 41.12-.08 78.24 0 224c.04 70.95 38.68 132.8 95.99 166.01V464c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-54.26c15.36 3.96 31.4 6.26 48 6.26 5.44 0 10.68-.73 16-1.18V464c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-59.43c14.24-5.06 27.88-11.39 40.34-19.51C342.07 355.25 393.86 336 448.46 336c25.48 0 16.01-.31 23.05-.78l74.41 136.44c2.86 5.23 8.3 8.34 14.05 8.34 1.31 0 2.64-.16 3.95-.5 7.09-1.8 12.05-8.19 12.05-15.5 0 0 .14-240.24-.16-246.02zM463.97 248c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24zm80 153.25l-39.86-73.08c15.12-5.83 28.73-14.6 39.86-25.98v99.06z"] };
  3614. var faLandmark = { prefix: 'fas', iconName: 'landmark', icon: [512, 512, [], "f66f", "M501.62 92.11L267.24 2.04a31.958 31.958 0 0 0-22.47 0L10.38 92.11A16.001 16.001 0 0 0 0 107.09V144c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-36.91c0-6.67-4.14-12.64-10.38-14.98zM64 192v160H48c-8.84 0-16 7.16-16 16v48h448v-48c0-8.84-7.16-16-16-16h-16V192h-64v160h-96V192h-64v160h-96V192H64zm432 256H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3615. var faLanguage = { prefix: 'fas', iconName: 'language', icon: [640, 512, [], "f1ab", "M304 416H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h280v320zm-120.676-72.622A12 12 0 0 0 194.839 352h22.863c8.22 0 14.007-8.078 11.362-15.861L171.61 167.085a12 12 0 0 0-11.362-8.139h-32.489a12.001 12.001 0 0 0-11.362 8.139L58.942 336.139C56.297 343.922 62.084 352 70.304 352h22.805a12 12 0 0 0 11.535-8.693l9.118-31.807h60.211l9.351 31.878zm-39.051-140.42s4.32 21.061 7.83 33.21l10.8 37.531h-38.07l11.07-37.531c3.51-12.15 7.83-33.21 7.83-33.21h.54zM616 416H336V96h280c13.255 0 24 10.745 24 24v272c0 13.255-10.745 24-24 24zm-36-228h-64v-16c0-6.627-5.373-12-12-12h-16c-6.627 0-12 5.373-12 12v16h-64c-6.627 0-12 5.373-12 12v16c0 6.627 5.373 12 12 12h114.106c-6.263 14.299-16.518 28.972-30.023 43.206-6.56-6.898-12.397-13.91-17.365-20.933-3.639-5.144-10.585-6.675-15.995-3.446l-7.28 4.346-6.498 3.879c-5.956 3.556-7.693 11.421-3.735 17.117 6.065 8.729 13.098 17.336 20.984 25.726-8.122 6.226-16.841 12.244-26.103 17.964-5.521 3.41-7.381 10.556-4.162 16.19l7.941 13.896c3.362 5.883 10.935 7.826 16.706 4.276 12.732-7.831 24.571-16.175 35.443-24.891 10.917 8.761 22.766 17.102 35.396 24.881 5.774 3.556 13.353 1.618 16.717-4.27l7.944-13.903c3.213-5.623 1.37-12.76-4.135-16.171a312.737 312.737 0 0 1-26.06-18.019c21.024-22.425 35.768-46.289 42.713-69.85H580c6.627 0 12-5.373 12-12v-16c0-6.625-5.373-11.998-12-11.998z"] };
  3616. var faLaptop = { prefix: 'fas', iconName: 'laptop', icon: [640, 512, [], "f109", "M624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"] };
  3617. var faLaptopCode = { prefix: 'fas', iconName: 'laptop-code', icon: [640, 512, [], "f5fc", "M255.03 261.65c6.25 6.25 16.38 6.25 22.63 0l11.31-11.31c6.25-6.25 6.25-16.38 0-22.63L253.25 192l35.71-35.72c6.25-6.25 6.25-16.38 0-22.63l-11.31-11.31c-6.25-6.25-16.38-6.25-22.63 0l-58.34 58.34c-6.25 6.25-6.25 16.38 0 22.63l58.35 58.34zm96.01-11.3l11.31 11.31c6.25 6.25 16.38 6.25 22.63 0l58.34-58.34c6.25-6.25 6.25-16.38 0-22.63l-58.34-58.34c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63L386.75 192l-35.71 35.72c-6.25 6.25-6.25 16.38 0 22.63zM624 416H381.54c-.74 19.81-14.71 32-32.74 32H288c-18.69 0-33.02-17.47-32.77-32H16c-8.8 0-16 7.2-16 16v16c0 35.2 28.8 64 64 64h512c35.2 0 64-28.8 64-64v-16c0-8.8-7.2-16-16-16zM576 48c0-26.4-21.6-48-48-48H112C85.6 0 64 21.6 64 48v336h512V48zm-64 272H128V64h384v256z"] };
  3618. var faLaugh = { prefix: 'fas', iconName: 'laugh', icon: [496, 512, [], "f599", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 152c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm88 272h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18-8.9 71-69.5 126-142.9 126z"] };
  3619. var faLaughBeam = { prefix: 'fas', iconName: 'laugh-beam', icon: [496, 512, [], "f59a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm24 199.4c3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.7 8.6-10.8 11.9-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.2 7.4-15.8 4.1-15.1-4.5zm-160 0c3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.7 8.6-10.8 11.9-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.3 7.4-15.8 4-15.1-4.5zM398.9 306C390 377 329.4 432 256 432h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18z"] };
  3620. var faLaughSquint = { prefix: 'fas', iconName: 'laugh-squint', icon: [496, 512, [], "f59b", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm33.8 161.7l80-48c11.6-6.9 24 7.7 15.4 18L343.6 180l33.6 40.3c8.7 10.4-3.9 24.8-15.4 18l-80-48c-7.7-4.7-7.7-15.9 0-20.6zm-163-30c-8.6-10.3 3.8-24.9 15.4-18l80 48c7.8 4.7 7.8 15.9 0 20.6l-80 48c-11.5 6.8-24-7.6-15.4-18l33.6-40.3-33.6-40.3zM398.9 306C390 377 329.4 432 256 432h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18z"] };
  3621. var faLaughWink = { prefix: 'fas', iconName: 'laugh-wink', icon: [496, 512, [], "f59c", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm20.1 198.1c4-25.2 34.2-42.1 59.9-42.1s55.9 16.9 59.9 42.1c1.7 11.1-11.4 18.3-19.8 10.8l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L288 217c-8.4 7.4-21.6.3-19.9-10.9zM168 160c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm230.9 146C390 377 329.4 432 256 432h-16c-73.4 0-134-55-142.9-126-1.2-9.5 6.3-18 15.9-18h270c9.6 0 17.1 8.4 15.9 18z"] };
  3622. var faLayerGroup = { prefix: 'fas', iconName: 'layer-group', icon: [512, 512, [], "f5fd", "M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"] };
  3623. var faLeaf = { prefix: 'fas', iconName: 'leaf', icon: [576, 512, [], "f06c", "M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z"] };
  3624. var faLemon = { prefix: 'fas', iconName: 'lemon', icon: [512, 512, [], "f094", "M489.038 22.963C465.944-.13 434.648-5.93 413.947 6.129c-58.906 34.312-181.25-53.077-321.073 86.746S40.441 355.041 6.129 413.945c-12.059 20.702-6.26 51.999 16.833 75.093 23.095 23.095 54.392 28.891 75.095 16.832 58.901-34.31 181.246 53.079 321.068-86.743S471.56 156.96 505.871 98.056c12.059-20.702 6.261-51.999-16.833-75.093zM243.881 95.522c-58.189 14.547-133.808 90.155-148.358 148.358-1.817 7.27-8.342 12.124-15.511 12.124-1.284 0-2.59-.156-3.893-.481-8.572-2.144-13.784-10.83-11.642-19.403C81.901 166.427 166.316 81.93 236.119 64.478c8.575-2.143 17.261 3.069 19.403 11.642s-3.069 17.259-11.641 19.402z"] };
  3625. var faLessThan = { prefix: 'fas', iconName: 'less-than', icon: [384, 512, [], "f536", "M365.46 357.74L147.04 255.89l218.47-101.88c16.02-7.47 22.95-26.51 15.48-42.53l-13.52-29C360 66.46 340.96 59.53 324.94 67L18.48 209.91a32.014 32.014 0 0 0-18.48 29v34.24c0 12.44 7.21 23.75 18.48 29l306.31 142.83c16.06 7.49 35.15.54 42.64-15.52l13.56-29.08c7.49-16.06.54-35.15-15.53-42.64z"] };
  3626. var faLessThanEqual = { prefix: 'fas', iconName: 'less-than-equal', icon: [448, 512, [], "f537", "M54.98 214.2l301.41 119.87c18.39 6.03 38.71-2.54 45.38-19.15l12.09-30.08c6.68-16.61-2.82-34.97-21.21-41l-175.44-68.05 175.56-68.09c18.29-6 27.74-24.27 21.1-40.79l-12.03-29.92c-6.64-16.53-26.86-25.06-45.15-19.06L54.98 137.89C41.21 142.41 32 154.5 32 168.07v15.96c0 13.56 9.21 25.65 22.98 30.17zM424 400H24c-13.25 0-24 10.74-24 24v48c0 13.25 10.75 24 24 24h400c13.25 0 24-10.75 24-24v-48c0-13.26-10.75-24-24-24z"] };
  3627. var faLevelDownAlt = { prefix: 'fas', iconName: 'level-down-alt', icon: [320, 512, [], "f3be", "M313.553 392.331L209.587 504.334c-9.485 10.214-25.676 10.229-35.174 0L70.438 392.331C56.232 377.031 67.062 352 88.025 352H152V80H68.024a11.996 11.996 0 0 1-8.485-3.515l-56-56C-4.021 12.926 1.333 0 12.024 0H208c13.255 0 24 10.745 24 24v328h63.966c20.878 0 31.851 24.969 17.587 40.331z"] };
  3628. var faLevelUpAlt = { prefix: 'fas', iconName: 'level-up-alt', icon: [320, 512, [], "f3bf", "M313.553 119.669L209.587 7.666c-9.485-10.214-25.676-10.229-35.174 0L70.438 119.669C56.232 134.969 67.062 160 88.025 160H152v272H68.024a11.996 11.996 0 0 0-8.485 3.515l-56 56C-4.021 499.074 1.333 512 12.024 512H208c13.255 0 24-10.745 24-24V160h63.966c20.878 0 31.851-24.969 17.587-40.331z"] };
  3629. var faLifeRing = { prefix: 'fas', iconName: 'life-ring', icon: [512, 512, [], "f1cd", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm173.696 119.559l-63.399 63.399c-10.987-18.559-26.67-34.252-45.255-45.255l63.399-63.399a218.396 218.396 0 0 1 45.255 45.255zM256 352c-53.019 0-96-42.981-96-96s42.981-96 96-96 96 42.981 96 96-42.981 96-96 96zM127.559 82.304l63.399 63.399c-18.559 10.987-34.252 26.67-45.255 45.255l-63.399-63.399a218.372 218.372 0 0 1 45.255-45.255zM82.304 384.441l63.399-63.399c10.987 18.559 26.67 34.252 45.255 45.255l-63.399 63.399a218.396 218.396 0 0 1-45.255-45.255zm302.137 45.255l-63.399-63.399c18.559-10.987 34.252-26.67 45.255-45.255l63.399 63.399a218.403 218.403 0 0 1-45.255 45.255z"] };
  3630. var faLightbulb = { prefix: 'fas', iconName: 'lightbulb', icon: [352, 512, [], "f0eb", "M96.06 454.35c.01 6.29 1.87 12.45 5.36 17.69l17.09 25.69a31.99 31.99 0 0 0 26.64 14.28h61.71a31.99 31.99 0 0 0 26.64-14.28l17.09-25.69a31.989 31.989 0 0 0 5.36-17.69l.04-38.35H96.01l.05 38.35zM0 176c0 44.37 16.45 84.85 43.56 115.78 16.52 18.85 42.36 58.23 52.21 91.45.04.26.07.52.11.78h160.24c.04-.26.07-.51.11-.78 9.85-33.22 35.69-72.6 52.21-91.45C335.55 260.85 352 220.37 352 176 352 78.61 272.91-.3 175.45 0 73.44.31 0 82.97 0 176zm176-80c-44.11 0-80 35.89-80 80 0 8.84-7.16 16-16 16s-16-7.16-16-16c0-61.76 50.24-112 112-112 8.84 0 16 7.16 16 16s-7.16 16-16 16z"] };
  3631. var faLink = { prefix: 'fas', iconName: 'link', icon: [512, 512, [], "f0c1", "M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"] };
  3632. var faLiraSign = { prefix: 'fas', iconName: 'lira-sign', icon: [384, 512, [], "f195", "M371.994 256h-48.019C317.64 256 312 260.912 312 267.246 312 368 230.179 416 144 416V256.781l134.603-29.912A12 12 0 0 0 288 215.155v-40.976c0-7.677-7.109-13.38-14.603-11.714L144 191.219V160.78l134.603-29.912A12 12 0 0 0 288 119.154V78.179c0-7.677-7.109-13.38-14.603-11.714L144 95.219V44c0-6.627-5.373-12-12-12H76c-6.627 0-12 5.373-12 12v68.997L9.397 125.131A12 12 0 0 0 0 136.845v40.976c0 7.677 7.109 13.38 14.603 11.714L64 178.558v30.439L9.397 221.131A12 12 0 0 0 0 232.845v40.976c0 7.677 7.109 13.38 14.603 11.714L64 274.558V468c0 6.627 5.373 12 12 12h79.583c134.091 0 223.255-77.834 228.408-211.592.261-6.782-5.211-12.408-11.997-12.408z"] };
  3633. var faList = { prefix: 'fas', iconName: 'list', icon: [512, 512, [], "f03a", "M128 116V76c0-8.837 7.163-16 16-16h352c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H144c-8.837 0-16-7.163-16-16zm16 176h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zM16 144h64c8.837 0 16-7.163 16-16V64c0-8.837-7.163-16-16-16H16C7.163 48 0 55.163 0 64v64c0 8.837 7.163 16 16 16zm0 160h64c8.837 0 16-7.163 16-16v-64c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v64c0 8.837 7.163 16 16 16zm0 160h64c8.837 0 16-7.163 16-16v-64c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v64c0 8.837 7.163 16 16 16z"] };
  3634. var faListAlt = { prefix: 'fas', iconName: 'list-alt', icon: [512, 512, [], "f022", "M464 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zM128 120c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zm0 96c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zm0 96c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zm288-136v-32c0-6.627-5.373-12-12-12H204c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h200c6.627 0 12-5.373 12-12zm0 96v-32c0-6.627-5.373-12-12-12H204c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h200c6.627 0 12-5.373 12-12zm0 96v-32c0-6.627-5.373-12-12-12H204c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h200c6.627 0 12-5.373 12-12z"] };
  3635. var faListOl = { prefix: 'fas', iconName: 'list-ol', icon: [512, 512, [], "f0cb", "M3.263 139.527c0-7.477 3.917-11.572 11.573-11.572h15.131V88.078c0-5.163.534-10.503.534-10.503h-.356s-1.779 2.67-2.848 3.738c-4.451 4.273-10.504 4.451-15.666-1.068l-5.518-6.231c-5.342-5.341-4.984-11.216.534-16.379l21.72-19.938C32.815 33.602 36.732 32 42.785 32H54.89c7.656 0 11.749 3.916 11.749 11.572v84.384h15.488c7.655 0 11.572 4.094 11.572 11.572v8.901c0 7.477-3.917 11.572-11.572 11.572H14.836c-7.656 0-11.573-4.095-11.573-11.572v-8.902zM2.211 304.591c0-47.278 50.955-56.383 50.955-69.165 0-7.18-5.954-8.755-9.28-8.755-3.153 0-6.479 1.051-9.455 3.852-5.079 4.903-10.507 7.004-16.111 2.451l-8.579-6.829c-5.779-4.553-7.18-9.805-2.803-15.409C13.592 201.981 26.025 192 47.387 192c19.437 0 44.476 10.506 44.476 39.573 0 38.347-46.753 46.402-48.679 56.909h39.049c7.529 0 11.557 4.027 11.557 11.382v8.755c0 7.354-4.028 11.382-11.557 11.382h-67.94c-7.005 0-12.083-4.028-12.083-11.382v-4.028zM5.654 454.61l5.603-9.28c3.853-6.654 9.105-7.004 15.584-3.152 4.903 2.101 9.63 3.152 14.359 3.152 10.155 0 14.358-3.502 14.358-8.23 0-6.654-5.604-9.106-15.934-9.106h-4.728c-5.954 0-9.28-2.101-12.258-7.88l-1.05-1.926c-2.451-4.728-1.226-9.806 2.801-14.884l5.604-7.004c6.829-8.405 12.257-13.483 12.257-13.483v-.35s-4.203 1.051-12.608 1.051H16.685c-7.53 0-11.383-4.028-11.383-11.382v-8.755c0-7.53 3.853-11.382 11.383-11.382h58.484c7.529 0 11.382 4.027 11.382 11.382v3.327c0 5.778-1.401 9.806-5.079 14.183l-17.509 20.137c19.611 5.078 28.716 20.487 28.716 34.845 0 21.363-14.358 44.126-48.503 44.126-16.636 0-28.192-4.728-35.896-9.455-5.779-4.202-6.304-9.805-2.626-15.934zM144 132h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"] };
  3636. var faListUl = { prefix: 'fas', iconName: 'list-ul', icon: [512, 512, [], "f0ca", "M96 96c0 26.51-21.49 48-48 48S0 122.51 0 96s21.49-48 48-48 48 21.49 48 48zM48 208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm0 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm96-236h352c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h352c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H144c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"] };
  3637. var faLocationArrow = { prefix: 'fas', iconName: 'location-arrow', icon: [512, 512, [], "f124", "M444.52 3.52L28.74 195.42c-47.97 22.39-31.98 92.75 19.19 92.75h175.91v175.91c0 51.17 70.36 67.17 92.75 19.19l191.9-415.78c15.99-38.39-25.59-79.97-63.97-63.97z"] };
  3638. var faLock = { prefix: 'fas', iconName: 'lock', icon: [448, 512, [], "f023", "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"] };
  3639. var faLockOpen = { prefix: 'fas', iconName: 'lock-open', icon: [576, 512, [], "f3c1", "M423.5 0C339.5.3 272 69.5 272 153.5V224H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48h-48v-71.1c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v80c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-80C576 68 507.5-.3 423.5 0z"] };
  3640. var faLongArrowAltDown = { prefix: 'fas', iconName: 'long-arrow-alt-down', icon: [256, 512, [], "f309", "M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z"] };
  3641. var faLongArrowAltLeft = { prefix: 'fas', iconName: 'long-arrow-alt-left', icon: [448, 512, [], "f30a", "M134.059 296H436c6.627 0 12-5.373 12-12v-56c0-6.627-5.373-12-12-12H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.569 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296z"] };
  3642. var faLongArrowAltRight = { prefix: 'fas', iconName: 'long-arrow-alt-right', icon: [448, 512, [], "f30b", "M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"] };
  3643. var faLongArrowAltUp = { prefix: 'fas', iconName: 'long-arrow-alt-up', icon: [256, 512, [], "f30c", "M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z"] };
  3644. var faLowVision = { prefix: 'fas', iconName: 'low-vision', icon: [576, 512, [], "f2a8", "M569.344 231.631C512.96 135.949 407.81 72 288 72c-28.468 0-56.102 3.619-82.451 10.409L152.778 10.24c-7.601-10.858-22.564-13.5-33.423-5.9l-13.114 9.178c-10.86 7.601-13.502 22.566-5.9 33.426l43.131 58.395C89.449 131.73 40.228 174.683 6.682 231.581c-.01.017-.023.033-.034.05-8.765 14.875-8.964 33.528 0 48.739 38.5 65.332 99.742 115.862 172.859 141.349L55.316 244.302A272.194 272.194 0 0 1 83.61 208.39l119.4 170.58h.01l40.63 58.04a330.055 330.055 0 0 0 78.94 1.17l-189.98-271.4a277.628 277.628 0 0 1 38.777-21.563l251.836 356.544c7.601 10.858 22.564 13.499 33.423 5.9l13.114-9.178c10.86-7.601 13.502-22.567 5.9-33.426l-43.12-58.377-.007-.009c57.161-27.978 104.835-72.04 136.81-126.301a47.938 47.938 0 0 0 .001-48.739zM390.026 345.94l-19.066-27.23c24.682-32.567 27.711-76.353 8.8-111.68v.03c0 23.65-19.17 42.82-42.82 42.82-23.828 0-42.82-19.349-42.82-42.82 0-23.65 19.17-42.82 42.82-42.82h.03c-24.75-13.249-53.522-15.643-79.51-7.68l-19.068-27.237C253.758 123.306 270.488 120 288 120c75.162 0 136 60.826 136 136 0 34.504-12.833 65.975-33.974 89.94z"] };
  3645. var faLuggageCart = { prefix: 'fas', iconName: 'luggage-cart', icon: [640, 512, [], "f59d", "M224 320h32V96h-32c-17.67 0-32 14.33-32 32v160c0 17.67 14.33 32 32 32zm352-32V128c0-17.67-14.33-32-32-32h-32v224h32c17.67 0 32-14.33 32-32zm48 96H128V16c0-8.84-7.16-16-16-16H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h48v368c0 8.84 7.16 16 16 16h82.94c-1.79 5.03-2.94 10.36-2.94 16 0 26.51 21.49 48 48 48s48-21.49 48-48c0-5.64-1.15-10.97-2.94-16h197.88c-1.79 5.03-2.94 10.36-2.94 16 0 26.51 21.49 48 48 48s48-21.49 48-48c0-5.64-1.15-10.97-2.94-16H624c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM480 96V48c0-26.51-21.49-48-48-48h-96c-26.51 0-48 21.49-48 48v272h192V96zm-48 0h-96V48h96v48z"] };
  3646. var faMagic = { prefix: 'fas', iconName: 'magic', icon: [512, 512, [], "f0d0", "M224 96l16-32 32-16-32-16-16-32-16 32-32 16 32 16 16 32zM80 160l26.66-53.33L160 80l-53.34-26.67L80 0 53.34 53.33 0 80l53.34 26.67L80 160zm352 128l-26.66 53.33L352 368l53.34 26.67L432 448l26.66-53.33L512 368l-53.34-26.67L432 288zm70.62-193.77L417.77 9.38C411.53 3.12 403.34 0 395.15 0c-8.19 0-16.38 3.12-22.63 9.38L9.38 372.52c-12.5 12.5-12.5 32.76 0 45.25l84.85 84.85c6.25 6.25 14.44 9.37 22.62 9.37 8.19 0 16.38-3.12 22.63-9.37l363.14-363.15c12.5-12.48 12.5-32.75 0-45.24zM359.45 203.46l-50.91-50.91 86.6-86.6 50.91 50.91-86.6 86.6z"] };
  3647. var faMagnet = { prefix: 'fas', iconName: 'magnet', icon: [512, 512, [], "f076", "M164.1 160H12c-6.6 0-12-5.4-12-12V68c0-19.9 16.1-36 36-36h104c19.9 0 36 16.1 36 36v80c.1 6.6-5.3 12-11.9 12zm348-12V67.9c0-19.9-16.1-36-36-36h-104c-19.9 0-36 16.1-36 36v80c0 6.6 5.4 12 12 12h152c6.6.1 12-5.3 12-11.9zm-164 44c-6.6 0-12 5.4-12 12v52c0 128.1-160 127.9-160 0v-52c0-6.6-5.4-12-12-12h-152c-6.7 0-12 5.4-12 12.1.1 21.4.6 40.3 0 53.3C.1 408 136.3 504 256.9 504 377.5 504 512 408 512 257.3c-.6-12.8-.2-33 0-53.2 0-6.7-5.3-12.1-12-12.1H348.1z"] };
  3648. var faMailBulk = { prefix: 'fas', iconName: 'mail-bulk', icon: [576, 512, [], "f674", "M160 448c-25.6 0-51.2-22.4-64-32-64-44.8-83.2-60.8-96-70.4V480c0 17.67 14.33 32 32 32h256c17.67 0 32-14.33 32-32V345.6c-12.8 9.6-32 25.6-96 70.4-12.8 9.6-38.4 32-64 32zm128-192H32c-17.67 0-32 14.33-32 32v16c25.6 19.2 22.4 19.2 115.2 86.4 9.6 6.4 28.8 25.6 44.8 25.6s35.2-19.2 44.8-22.4c92.8-67.2 89.6-67.2 115.2-86.4V288c0-17.67-14.33-32-32-32zm256-96H224c-17.67 0-32 14.33-32 32v32h96c33.21 0 60.59 25.42 63.71 57.82l.29-.22V416h192c17.67 0 32-14.33 32-32V192c0-17.67-14.33-32-32-32zm-32 128h-64v-64h64v64zm-352-96c0-35.29 28.71-64 64-64h224V32c0-17.67-14.33-32-32-32H96C78.33 0 64 14.33 64 32v192h96v-32z"] };
  3649. var faMale = { prefix: 'fas', iconName: 'male', icon: [192, 512, [], "f183", "M96 0c35.346 0 64 28.654 64 64s-28.654 64-64 64-64-28.654-64-64S60.654 0 96 0m48 144h-11.36c-22.711 10.443-49.59 10.894-73.28 0H48c-26.51 0-48 21.49-48 48v136c0 13.255 10.745 24 24 24h16v136c0 13.255 10.745 24 24 24h64c13.255 0 24-10.745 24-24V352h16c13.255 0 24-10.745 24-24V192c0-26.51-21.49-48-48-48z"] };
  3650. var faMap = { prefix: 'fas', iconName: 'map', icon: [576, 512, [], "f279", "M0 117.66v346.32c0 11.32 11.43 19.06 21.94 14.86L160 416V32L20.12 87.95A32.006 32.006 0 0 0 0 117.66zM192 416l192 64V96L192 32v384zM554.06 33.16L416 96v384l139.88-55.95A31.996 31.996 0 0 0 576 394.34V48.02c0-11.32-11.43-19.06-21.94-14.86z"] };
  3651. var faMapMarked = { prefix: 'fas', iconName: 'map-marked', icon: [576, 512, [], "f59f", "M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"] };
  3652. var faMapMarkedAlt = { prefix: 'fas', iconName: 'map-marked-alt', icon: [576, 512, [], "f5a0", "M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"] };
  3653. var faMapMarker = { prefix: 'fas', iconName: 'map-marker', icon: [384, 512, [], "f041", "M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z"] };
  3654. var faMapMarkerAlt = { prefix: 'fas', iconName: 'map-marker-alt', icon: [384, 512, [], "f3c5", "M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"] };
  3655. var faMapPin = { prefix: 'fas', iconName: 'map-pin', icon: [288, 512, [], "f276", "M112 316.94v156.69l22.02 33.02c4.75 7.12 15.22 7.12 19.97 0L176 473.63V316.94c-10.39 1.92-21.06 3.06-32 3.06s-21.61-1.14-32-3.06zM144 0C64.47 0 0 64.47 0 144s64.47 144 144 144 144-64.47 144-144S223.53 0 144 0zm0 76c-37.5 0-68 30.5-68 68 0 6.62-5.38 12-12 12s-12-5.38-12-12c0-50.73 41.28-92 92-92 6.62 0 12 5.38 12 12s-5.38 12-12 12z"] };
  3656. var faMapSigns = { prefix: 'fas', iconName: 'map-signs', icon: [512, 512, [], "f277", "M507.31 84.69L464 41.37c-6-6-14.14-9.37-22.63-9.37H288V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v16H56c-13.25 0-24 10.75-24 24v80c0 13.25 10.75 24 24 24h385.37c8.49 0 16.62-3.37 22.63-9.37l43.31-43.31c6.25-6.26 6.25-16.38 0-22.63zM224 496c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-64v112zm232-272H288v-32h-64v32H70.63c-8.49 0-16.62 3.37-22.63 9.37L4.69 276.69c-6.25 6.25-6.25 16.38 0 22.63L48 342.63c6 6 14.14 9.37 22.63 9.37H456c13.25 0 24-10.75 24-24v-80c0-13.25-10.75-24-24-24z"] };
  3657. var faMarker = { prefix: 'fas', iconName: 'marker', icon: [512, 512, [], "f5a1", "M93.95 290.03A327.038 327.038 0 0 0 .17 485.11l-.03.23c-1.7 15.28 11.21 28.2 26.49 26.51a327.02 327.02 0 0 0 195.34-93.8l75.4-75.4-128.02-128.02-75.4 75.4zM485.49 26.51c-35.35-35.35-92.67-35.35-128.02 0l-21.76 21.76-36.56-36.55c-15.62-15.62-40.95-15.62-56.56 0L138.47 115.84c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0l87.15-87.15 19.59 19.59L191.98 192 320 320.02l165.49-165.49c35.35-35.35 35.35-92.66 0-128.02z"] };
  3658. var faMars = { prefix: 'fas', iconName: 'mars', icon: [384, 512, [], "f222", "M372 64h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-80.7 80.7c-22.2-14-48.5-22.1-76.7-22.1C64.5 160 0 224.5 0 304s64.5 144 144 144 144-64.5 144-144c0-28.2-8.1-54.5-22.1-76.7l80.7-80.7 16.9 16.9c7.6 7.6 20.5 2.2 20.5-8.5V76c0-6.6-5.4-12-12-12zM144 384c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3659. var faMarsDouble = { prefix: 'fas', iconName: 'mars-double', icon: [512, 512, [], "f227", "M340 0h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-48.7 48.7C198.5 72.1 172.2 64 144 64 64.5 64 0 128.5 0 208s64.5 144 144 144 144-64.5 144-144c0-28.2-8.1-54.5-22.1-76.7l48.7-48.7 16.9 16.9c2.4 2.4 5.5 3.5 8.4 3.5 6.2 0 12.1-4.8 12.1-12V12c0-6.6-5.4-12-12-12zM144 288c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm356-128.1h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-48.7 48.7c-18.2-11.4-39-18.9-61.5-21.3-2.1 21.8-8.2 43.3-18.4 63.3 1.1 0 2.2-.1 3.2-.1 44.1 0 80 35.9 80 80s-35.9 80-80 80-80-35.9-80-80c0-1.1 0-2.2.1-3.2-20 10.2-41.5 16.4-63.3 18.4C168.4 455.6 229.6 512 304 512c79.5 0 144-64.5 144-144 0-28.2-8.1-54.5-22.1-76.7l48.7-48.7 16.9 16.9c2.4 2.4 5.4 3.5 8.4 3.5 6.2 0 12.1-4.8 12.1-12v-79c0-6.7-5.4-12.1-12-12.1z"] };
  3660. var faMarsStroke = { prefix: 'fas', iconName: 'mars-stroke', icon: [384, 512, [], "f229", "M372 64h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-17.5 17.5-14.1-14.1c-4.7-4.7-12.3-4.7-17 0L224.5 133c-4.7 4.7-4.7 12.3 0 17l14.1 14.1-18 18c-22.2-14-48.5-22.1-76.7-22.1C64.5 160 0 224.5 0 304s64.5 144 144 144 144-64.5 144-144c0-28.2-8.1-54.5-22.1-76.7l18-18 14.1 14.1c4.7 4.7 12.3 4.7 17 0l28.3-28.3c4.7-4.7 4.7-12.3 0-17L329.2 164l17.5-17.5 16.9 16.9c7.6 7.6 20.5 2.2 20.5-8.5V76c-.1-6.6-5.5-12-12.1-12zM144 384c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3661. var faMarsStrokeH = { prefix: 'fas', iconName: 'mars-stroke-h', icon: [480, 512, [], "f22b", "M476.2 247.5l-55.9-55.9c-7.6-7.6-20.5-2.2-20.5 8.5V224H376v-20c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v20h-27.6c-5.8-25.6-18.7-49.9-38.6-69.8C189.6 98 98.4 98 42.2 154.2c-56.2 56.2-56.2 147.4 0 203.6 56.2 56.2 147.4 56.2 203.6 0 19.9-19.9 32.8-44.2 38.6-69.8H312v20c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-20h23.9v23.9c0 10.7 12.9 16 20.5 8.5l55.9-55.9c4.6-4.7 4.6-12.3-.1-17zm-275.6 65.1c-31.2 31.2-81.9 31.2-113.1 0-31.2-31.2-31.2-81.9 0-113.1 31.2-31.2 81.9-31.2 113.1 0 31.2 31.1 31.2 81.9 0 113.1z"] };
  3662. var faMarsStrokeV = { prefix: 'fas', iconName: 'mars-stroke-v', icon: [288, 512, [], "f22a", "M245.8 234.2c-19.9-19.9-44.2-32.8-69.8-38.6v-25.4h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V81.4h23.9c10.7 0 16-12.9 8.5-20.5L152.5 5.1c-4.7-4.7-12.3-4.7-17 0L79.6 61c-7.6 7.6-2.2 20.5 8.5 20.5H112v24.7H92c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h20v25.4c-25.6 5.8-49.9 18.7-69.8 38.6-56.2 56.2-56.2 147.4 0 203.6 56.2 56.2 147.4 56.2 203.6 0 56.3-56.2 56.3-147.4 0-203.6zm-45.2 158.4c-31.2 31.2-81.9 31.2-113.1 0-31.2-31.2-31.2-81.9 0-113.1 31.2-31.2 81.9-31.2 113.1 0 31.2 31.1 31.2 81.9 0 113.1z"] };
  3663. var faMask = { prefix: 'fas', iconName: 'mask', icon: [640, 512, [], "f6fa", "M320.67 64c-442.6 0-357.57 384-158.46 384 39.9 0 77.47-20.69 101.42-55.86l25.73-37.79c15.66-22.99 46.97-22.99 62.63 0l25.73 37.79C401.66 427.31 439.23 448 479.13 448c189.86 0 290.63-384-158.46-384zM184 308.36c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05zm272 0c-41.06 0-67.76-25.66-80.08-41.05-5.23-6.53-5.23-16.09 0-22.63 12.32-15.4 39.01-41.05 80.08-41.05s67.76 25.66 80.08 41.05c5.23 6.53 5.23 16.09 0 22.63-12.32 15.4-39.02 41.05-80.08 41.05z"] };
  3664. var faMedal = { prefix: 'fas', iconName: 'medal', icon: [512, 512, [], "f5a2", "M223.75 130.75L154.62 15.54A31.997 31.997 0 0 0 127.18 0H16.03C3.08 0-4.5 14.57 2.92 25.18l111.27 158.96c29.72-27.77 67.52-46.83 109.56-53.39zM495.97 0H384.82c-11.24 0-21.66 5.9-27.44 15.54l-69.13 115.21c42.04 6.56 79.84 25.62 109.56 53.38L509.08 25.18C516.5 14.57 508.92 0 495.97 0zM256 160c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm92.52 157.26l-37.93 36.96 8.97 52.22c1.6 9.36-8.26 16.51-16.65 12.09L256 393.88l-46.9 24.65c-8.4 4.45-18.25-2.74-16.65-12.09l8.97-52.22-37.93-36.96c-6.82-6.64-3.05-18.23 6.35-19.59l52.43-7.64 23.43-47.52c2.11-4.28 6.19-6.39 10.28-6.39 4.11 0 8.22 2.14 10.33 6.39l23.43 47.52 52.43 7.64c9.4 1.36 13.17 12.95 6.35 19.59z"] };
  3665. var faMedkit = { prefix: 'fas', iconName: 'medkit', icon: [512, 512, [], "f0fa", "M96 480h320V128h-32V80c0-26.51-21.49-48-48-48H176c-26.51 0-48 21.49-48 48v48H96v352zm96-384h128v32H192V96zm320 80v256c0 26.51-21.49 48-48 48h-16V128h16c26.51 0 48 21.49 48 48zM64 480H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v352zm288-208v32c0 8.837-7.163 16-16 16h-48v48c0 8.837-7.163 16-16 16h-32c-8.837 0-16-7.163-16-16v-48h-48c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h48v-48c0-8.837 7.163-16 16-16h32c8.837 0 16 7.163 16 16v48h48c8.837 0 16 7.163 16 16z"] };
  3666. var faMeh = { prefix: 'fas', iconName: 'meh', icon: [496, 512, [], "f11a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm176 192H152c-21.2 0-21.2-32 0-32h192c21.2 0 21.2 32 0 32zm-16-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3667. var faMehBlank = { prefix: 'fas', iconName: 'meh-blank', icon: [496, 512, [], "f5a4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm-80 232c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3668. var faMehRollingEyes = { prefix: 'fas', iconName: 'meh-rolling-eyes', icon: [496, 512, [], "f5a5", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM88 224c0-24.3 13.7-45.2 33.6-56-.7 2.6-1.6 5.2-1.6 8 0 17.7 14.3 32 32 32s32-14.3 32-32c0-2.8-.9-5.4-1.6-8 19.9 10.8 33.6 31.7 33.6 56 0 35.3-28.7 64-64 64s-64-28.7-64-64zm224 176H184c-21.2 0-21.2-32 0-32h128c21.2 0 21.2 32 0 32zm32-112c-35.3 0-64-28.7-64-64 0-24.3 13.7-45.2 33.6-56-.7 2.6-1.6 5.2-1.6 8 0 17.7 14.3 32 32 32s32-14.3 32-32c0-2.8-.9-5.4-1.6-8 19.9 10.8 33.6 31.7 33.6 56 0 35.3-28.7 64-64 64z"] };
  3669. var faMemory = { prefix: 'fas', iconName: 'memory', icon: [640, 512, [], "f538", "M640 130.94V96c0-17.67-14.33-32-32-32H32C14.33 64 0 78.33 0 96v34.94c18.6 6.61 32 24.19 32 45.06s-13.4 38.45-32 45.06V320h640v-98.94c-18.6-6.61-32-24.19-32-45.06s13.4-38.45 32-45.06zM224 256h-64V128h64v128zm128 0h-64V128h64v128zm128 0h-64V128h64v128zM0 448h64v-26.67c0-8.84 7.16-16 16-16s16 7.16 16 16V448h128v-26.67c0-8.84 7.16-16 16-16s16 7.16 16 16V448h128v-26.67c0-8.84 7.16-16 16-16s16 7.16 16 16V448h128v-26.67c0-8.84 7.16-16 16-16s16 7.16 16 16V448h64v-96H0v96z"] };
  3670. var faMenorah = { prefix: 'fas', iconName: 'menorah', icon: [640, 512, [], "f676", "M144 128h-32c-8.84 0-16 7.16-16 16v144h64V144c0-8.84-7.16-16-16-16zm96 0h-32c-8.84 0-16 7.16-16 16v144h64V144c0-8.84-7.16-16-16-16zm192 0h-32c-8.84 0-16 7.16-16 16v144h64V144c0-8.84-7.16-16-16-16zm96 0h-32c-8.84 0-16 7.16-16 16v144h64V144c0-8.84-7.16-16-16-16zm80-32c17.67 0 32-14.33 32-32S608 0 608 0s-32 46.33-32 64 14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S512 0 512 0s-32 46.33-32 64 14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S416 0 416 0s-32 46.33-32 64 14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S320 0 320 0s-32 46.33-32 64 14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S224 0 224 0s-32 46.33-32 64 14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S128 0 128 0 96 46.33 96 64s14.33 32 32 32zm-96 0c17.67 0 32-14.33 32-32S32 0 32 0 0 46.33 0 64s14.33 32 32 32zm544 192c0 17.67-14.33 32-32 32H352V144c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v176H96c-17.67 0-32-14.33-32-32V144c0-8.84-7.16-16-16-16H16c-8.84 0-16 7.16-16 16v144c0 53.02 42.98 96 96 96h192v64H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16H352v-64h192c53.02 0 96-42.98 96-96V144c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v144z"] };
  3671. var faMercury = { prefix: 'fas', iconName: 'mercury', icon: [288, 512, [], "f223", "M288 208c0-44.2-19.9-83.7-51.2-110.1 2.5-1.8 4.9-3.8 7.2-5.8 24.7-21.2 39.8-48.8 43.2-78.8.9-7.1-4.7-13.3-11.9-13.3h-40.5C229 0 224.1 4.1 223 9.8c-2.4 12.5-9.6 24.3-20.7 33.8C187 56.8 166.3 64 144 64s-43-7.2-58.4-20.4C74.5 34.1 67.4 22.3 64.9 9.8 63.8 4.1 58.9 0 53.2 0H12.7C5.5 0-.1 6.2.8 13.3 4.2 43.4 19.2 71 44 92.2c2.3 2 4.7 3.9 7.2 5.8C19.9 124.3 0 163.8 0 208c0 68.5 47.9 125.9 112 140.4V400H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v36c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-36h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-51.6c64.1-14.5 112-71.9 112-140.4zm-224 0c0-44.1 35.9-80 80-80s80 35.9 80 80-35.9 80-80 80-80-35.9-80-80z"] };
  3672. var faMicrochip = { prefix: 'fas', iconName: 'microchip', icon: [512, 512, [], "f2db", "M416 48v416c0 26.51-21.49 48-48 48H144c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h224c26.51 0 48 21.49 48 48zm96 58v12a6 6 0 0 1-6 6h-18v6a6 6 0 0 1-6 6h-42V88h42a6 6 0 0 1 6 6v6h18a6 6 0 0 1 6 6zm0 96v12a6 6 0 0 1-6 6h-18v6a6 6 0 0 1-6 6h-42v-48h42a6 6 0 0 1 6 6v6h18a6 6 0 0 1 6 6zm0 96v12a6 6 0 0 1-6 6h-18v6a6 6 0 0 1-6 6h-42v-48h42a6 6 0 0 1 6 6v6h18a6 6 0 0 1 6 6zm0 96v12a6 6 0 0 1-6 6h-18v6a6 6 0 0 1-6 6h-42v-48h42a6 6 0 0 1 6 6v6h18a6 6 0 0 1 6 6zM30 376h42v48H30a6 6 0 0 1-6-6v-6H6a6 6 0 0 1-6-6v-12a6 6 0 0 1 6-6h18v-6a6 6 0 0 1 6-6zm0-96h42v48H30a6 6 0 0 1-6-6v-6H6a6 6 0 0 1-6-6v-12a6 6 0 0 1 6-6h18v-6a6 6 0 0 1 6-6zm0-96h42v48H30a6 6 0 0 1-6-6v-6H6a6 6 0 0 1-6-6v-12a6 6 0 0 1 6-6h18v-6a6 6 0 0 1 6-6zm0-96h42v48H30a6 6 0 0 1-6-6v-6H6a6 6 0 0 1-6-6v-12a6 6 0 0 1 6-6h18v-6a6 6 0 0 1 6-6z"] };
  3673. var faMicrophone = { prefix: 'fas', iconName: 'microphone', icon: [352, 512, [], "f130", "M176 352c53.02 0 96-42.98 96-96V96c0-53.02-42.98-96-96-96S80 42.98 80 96v160c0 53.02 42.98 96 96 96zm160-160h-16c-8.84 0-16 7.16-16 16v48c0 74.8-64.49 134.82-140.79 127.38C96.71 376.89 48 317.11 48 250.3V208c0-8.84-7.16-16-16-16H16c-8.84 0-16 7.16-16 16v40.16c0 89.64 63.97 169.55 152 181.69V464H96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16h-56v-33.77C285.71 418.47 352 344.9 352 256v-48c0-8.84-7.16-16-16-16z"] };
  3674. var faMicrophoneAlt = { prefix: 'fas', iconName: 'microphone-alt', icon: [352, 512, [], "f3c9", "M336 192h-16c-8.84 0-16 7.16-16 16v48c0 74.8-64.49 134.82-140.79 127.38C96.71 376.89 48 317.11 48 250.3V208c0-8.84-7.16-16-16-16H16c-8.84 0-16 7.16-16 16v40.16c0 89.64 63.97 169.55 152 181.69V464H96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16h-56v-33.77C285.71 418.47 352 344.9 352 256v-48c0-8.84-7.16-16-16-16zM176 352c53.02 0 96-42.98 96-96h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272c0-53.02-42.98-96-96-96S80 42.98 80 96v160c0 53.02 42.98 96 96 96z"] };
  3675. var faMicrophoneAltSlash = { prefix: 'fas', iconName: 'microphone-alt-slash', icon: [640, 512, [], "f539", "M633.82 458.1L476.26 336.33C488.74 312.21 496 284.98 496 256v-48c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v48c0 17.92-3.96 34.8-10.72 50.2l-26.55-20.52c3.1-9.4 5.28-19.22 5.28-29.67h-43.67l-41.4-32H416v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H416v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H416c0-53.02-42.98-96-96-96s-96 42.98-96 96v45.36L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM400 464h-56v-33.78c11.71-1.62 23.1-4.28 33.96-8.08l-50.4-38.96c-6.71.4-13.41.87-20.35.2-55.85-5.45-98.74-48.63-111.18-101.85L144 241.31v6.85c0 89.64 63.97 169.55 152 181.69V464h-56c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16z"] };
  3676. var faMicrophoneSlash = { prefix: 'fas', iconName: 'microphone-slash', icon: [640, 512, [], "f131", "M633.82 458.1l-157.8-121.96C488.61 312.13 496 285.01 496 256v-48c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v48c0 17.92-3.96 34.8-10.72 50.2l-26.55-20.52c3.1-9.4 5.28-19.22 5.28-29.67V96c0-53.02-42.98-96-96-96s-96 42.98-96 96v45.36L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM400 464h-56v-33.77c11.66-1.6 22.85-4.54 33.67-8.31l-50.11-38.73c-6.71.4-13.41.87-20.35.2-55.85-5.45-98.74-48.63-111.18-101.85L144 241.31v6.85c0 89.64 63.97 169.55 152 181.69V464h-56c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16z"] };
  3677. var faMicroscope = { prefix: 'fas', iconName: 'microscope', icon: [512, 512, [], "f610", "M160 320h12v16c0 8.84 7.16 16 16 16h40c8.84 0 16-7.16 16-16v-16h12c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32V16c0-8.84-7.16-16-16-16h-64c-8.84 0-16 7.16-16 16v16c-17.67 0-32 14.33-32 32v224c0 17.67 14.33 32 32 32zm304 128h-1.29C493.24 413.99 512 369.2 512 320c0-105.88-86.12-192-192-192v64c70.58 0 128 57.42 128 128s-57.42 128-128 128H48c-26.51 0-48 21.49-48 48 0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16 0-26.51-21.49-48-48-48zm-360-32h208c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8H104c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8z"] };
  3678. var faMinus = { prefix: 'fas', iconName: 'minus', icon: [448, 512, [], "f068", "M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"] };
  3679. var faMinusCircle = { prefix: 'fas', iconName: 'minus-circle', icon: [512, 512, [], "f056", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zM124 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H124z"] };
  3680. var faMinusSquare = { prefix: 'fas', iconName: 'minus-square', icon: [448, 512, [], "f146", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM92 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H92z"] };
  3681. var faMobile = { prefix: 'fas', iconName: 'mobile', icon: [320, 512, [], "f10b", "M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3682. var faMobileAlt = { prefix: 'fas', iconName: 'mobile-alt', icon: [320, 512, [], "f3cd", "M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"] };
  3683. var faMoneyBill = { prefix: 'fas', iconName: 'money-bill', icon: [640, 512, [], "f0d6", "M608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 176c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96zm272 48h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"] };
  3684. var faMoneyBillAlt = { prefix: 'fas', iconName: 'money-bill-alt', icon: [640, 512, [], "f3d1", "M352 288h-16v-88c0-4.42-3.58-8-8-8h-13.58c-4.74 0-9.37 1.4-13.31 4.03l-15.33 10.22a7.994 7.994 0 0 0-2.22 11.09l8.88 13.31a7.994 7.994 0 0 0 11.09 2.22l.47-.31V288h-16c-4.42 0-8 3.58-8 8v16c0 4.42 3.58 8 8 8h64c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM48 400v-64c35.35 0 64 28.65 64 64H48zm0-224v-64h64c0 35.35-28.65 64-64 64zm272 192c-53.02 0-96-50.15-96-112 0-61.86 42.98-112 96-112s96 50.14 96 112c0 61.87-43 112-96 112zm272 32h-64c0-35.35 28.65-64 64-64v64zm0-224c-35.35 0-64-28.65-64-64h64v64z"] };
  3685. var faMoneyBillWave = { prefix: 'fas', iconName: 'money-bill-wave', icon: [640, 512, [], "f53a", "M621.16 54.46C582.37 38.19 543.55 32 504.75 32c-123.17-.01-246.33 62.34-369.5 62.34-30.89 0-61.76-3.92-92.65-13.72-3.47-1.1-6.95-1.62-10.35-1.62C15.04 79 0 92.32 0 110.81v317.26c0 12.63 7.23 24.6 18.84 29.46C57.63 473.81 96.45 480 135.25 480c123.17 0 246.34-62.35 369.51-62.35 30.89 0 61.76 3.92 92.65 13.72 3.47 1.1 6.95 1.62 10.35 1.62 17.21 0 32.25-13.32 32.25-31.81V83.93c-.01-12.64-7.24-24.6-18.85-29.47zM48 132.22c20.12 5.04 41.12 7.57 62.72 8.93C104.84 170.54 79 192.69 48 192.69v-60.47zm0 285v-47.78c34.37 0 62.18 27.27 63.71 61.4-22.53-1.81-43.59-6.31-63.71-13.62zM320 352c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96zm272 27.78c-17.52-4.39-35.71-6.85-54.32-8.44 5.87-26.08 27.5-45.88 54.32-49.28v57.72zm0-236.11c-30.89-3.91-54.86-29.7-55.81-61.55 19.54 2.17 38.09 6.23 55.81 12.66v48.89z"] };
  3686. var faMoneyBillWaveAlt = { prefix: 'fas', iconName: 'money-bill-wave-alt', icon: [640, 512, [], "f53b", "M621.16 54.46C582.37 38.19 543.55 32 504.75 32c-123.17-.01-246.33 62.34-369.5 62.34-30.89 0-61.76-3.92-92.65-13.72-3.47-1.1-6.95-1.62-10.35-1.62C15.04 79 0 92.32 0 110.81v317.26c0 12.63 7.23 24.6 18.84 29.46C57.63 473.81 96.45 480 135.25 480c123.17 0 246.34-62.35 369.51-62.35 30.89 0 61.76 3.92 92.65 13.72 3.47 1.1 6.95 1.62 10.35 1.62 17.21 0 32.25-13.32 32.25-31.81V83.93c-.01-12.64-7.24-24.6-18.85-29.47zM320 352c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96z"] };
  3687. var faMoneyCheck = { prefix: 'fas', iconName: 'money-check', icon: [640, 512, [], "f53c", "M0 448c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V128H0v320zm448-208c0-8.84 7.16-16 16-16h96c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-32zm0 120c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H456c-4.42 0-8-3.58-8-8v-16zM64 264c0-4.42 3.58-8 8-8h304c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm0 96c0-4.42 3.58-8 8-8h176c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zM624 32H16C7.16 32 0 39.16 0 48v48h640V48c0-8.84-7.16-16-16-16z"] };
  3688. var faMoneyCheckAlt = { prefix: 'fas', iconName: 'money-check-alt', icon: [640, 512, [], "f53d", "M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"] };
  3689. var faMonument = { prefix: 'fas', iconName: 'monument', icon: [384, 512, [], "f5a6", "M368 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h352c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm-78.86-347.26a31.97 31.97 0 0 0-9.21-19.44L203.31 4.69c-6.25-6.25-16.38-6.25-22.63 0l-76.6 76.61a31.97 31.97 0 0 0-9.21 19.44L64 416h256l-30.86-315.26zM240 307.2c0 6.4-6.4 12.8-12.8 12.8h-70.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h70.4c6.4 0 12.8 6.4 12.8 12.8v38.4z"] };
  3690. var faMoon = { prefix: 'fas', iconName: 'moon', icon: [512, 512, [], "f186", "M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"] };
  3691. var faMortarPestle = { prefix: 'fas', iconName: 'mortar-pestle', icon: [512, 512, [], "f5a7", "M501.54 60.91c17.22-17.22 12.51-46.25-9.27-57.14a35.696 35.696 0 0 0-37.37 3.37L251.09 160h151.37l99.08-99.09zM496 192H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h16c0 80.98 50.2 150.11 121.13 178.32-12.76 16.87-21.72 36.8-24.95 58.69-1.46 9.92 6.04 18.98 16.07 18.98h223.5c10.03 0 17.53-9.06 16.07-18.98-3.22-21.89-12.18-41.82-24.95-58.69C429.8 406.11 480 336.98 480 256h16c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"] };
  3692. var faMosque = { prefix: 'fas', iconName: 'mosque', icon: [640, 512, [], "f678", "M0 480c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V160H0v320zm579.16-192c17.86-17.39 28.84-37.34 28.84-58.91 0-52.86-41.79-93.79-87.92-122.9-41.94-26.47-80.63-57.77-111.96-96.22L400 0l-8.12 9.97c-31.33 38.45-70.01 69.76-111.96 96.22C233.79 135.3 192 176.23 192 229.09c0 21.57 10.98 41.52 28.84 58.91h358.32zM608 320H192c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h32v-64c0-17.67 14.33-32 32-32s32 14.33 32 32v64h64v-72c0-48 48-72 48-72s48 24 48 72v72h64v-64c0-17.67 14.33-32 32-32s32 14.33 32 32v64h32c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32zM64 0S0 32 0 96v32h128V96c0-64-64-96-64-96z"] };
  3693. var faMotorcycle = { prefix: 'fas', iconName: 'motorcycle', icon: [640, 512, [], "f21c", "M512.949 192.003c-14.862-.108-29.14 2.322-42.434 6.874L437.589 144H520c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24h-45.311a24 24 0 0 0-17.839 7.945l-37.496 41.663-22.774-37.956A24 24 0 0 0 376 64h-80c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h66.411l19.2 32H227.904c-17.727-23.073-44.924-40-99.904-40H72.54c-13.455 0-24.791 11.011-24.536 24.464C48.252 141.505 58.9 152 72 152h56c24.504 0 38.686 10.919 47.787 24.769l-11.291 20.529c-13.006-3.865-26.871-5.736-41.251-5.21C55.857 194.549 1.565 249.605.034 317.021-1.603 389.076 56.317 448 128 448c59.642 0 109.744-40.794 123.953-96h84.236c13.673 0 24.589-11.421 23.976-25.077-2.118-47.12 17.522-93.665 56.185-125.026l12.485 20.808c-27.646 23.654-45.097 58.88-44.831 98.179.47 69.556 57.203 126.452 126.758 127.11 71.629.678 129.839-57.487 129.234-129.099-.588-69.591-57.455-126.386-127.047-126.892zM128 400c-44.112 0-80-35.888-80-80s35.888-80 80-80c4.242 0 8.405.341 12.469.982L98.97 316.434C90.187 332.407 101.762 352 120 352h81.297c-12.37 28.225-40.56 48-73.297 48zm388.351-.116C470.272 402.337 432 365.554 432 320c0-21.363 8.434-40.781 22.125-55.144l49.412 82.352c4.546 7.577 14.375 10.034 21.952 5.488l13.72-8.232c7.577-4.546 10.034-14.375 5.488-21.952l-48.556-80.927A80.005 80.005 0 0 1 512 240c45.554 0 82.338 38.273 79.884 84.352-2.16 40.558-34.974 73.372-75.533 75.532z"] };
  3694. var faMountain = { prefix: 'fas', iconName: 'mountain', icon: [640, 512, [], "f6fc", "M634.92 462.7l-288-448C341.03 5.54 330.89 0 320 0s-21.03 5.54-26.92 14.7l-288 448a32.001 32.001 0 0 0-1.17 32.64A32.004 32.004 0 0 0 32 512h576c11.71 0 22.48-6.39 28.09-16.67a31.983 31.983 0 0 0-1.17-32.63zM320 91.18L405.39 224H320l-64 64-38.06-38.06L320 91.18z"] };
  3695. var faMousePointer = { prefix: 'fas', iconName: 'mouse-pointer', icon: [320, 512, [], "f245", "M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z"] };
  3696. var faMusic = { prefix: 'fas', iconName: 'music', icon: [512, 512, [], "f001", "M511.99 32.01c0-21.71-21.1-37.01-41.6-30.51L150.4 96c-13.3 4.2-22.4 16.5-22.4 30.5v261.42c-10.05-2.38-20.72-3.92-32-3.92-53.02 0-96 28.65-96 64s42.98 64 96 64 96-28.65 96-64V214.31l256-75.02v184.63c-10.05-2.38-20.72-3.92-32-3.92-53.02 0-96 28.65-96 64s42.98 64 96 64 96-28.65 96-64l-.01-351.99z"] };
  3697. var faNetworkWired = { prefix: 'fas', iconName: 'network-wired', icon: [640, 512, [], "f6ff", "M640 264v-16c0-8.84-7.16-16-16-16H344v-40h72c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H224c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h72v40H16c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h104v40H64c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h304v40h-56c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h104c8.84 0 16-7.16 16-16zM256 128V64h128v64H256zm-64 320H96v-64h96v64zm352 0h-96v-64h96v64z"] };
  3698. var faNeuter = { prefix: 'fas', iconName: 'neuter', icon: [288, 512, [], "f22c", "M288 176c0-79.5-64.5-144-144-144S0 96.5 0 176c0 68.5 47.9 125.9 112 140.4V468c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V316.4c64.1-14.5 112-71.9 112-140.4zm-144 80c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3699. var faNewspaper = { prefix: 'fas', iconName: 'newspaper', icon: [576, 512, [], "f1ea", "M552 64H88c-13.255 0-24 10.745-24 24v8H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h472c26.51 0 48-21.49 48-48V88c0-13.255-10.745-24-24-24zM56 400a8 8 0 0 1-8-8V144h16v248a8 8 0 0 1-8 8zm236-16H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm-208-96H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm0-96H140c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12z"] };
  3700. var faNotEqual = { prefix: 'fas', iconName: 'not-equal', icon: [448, 512, [], "f53e", "M416 208c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32h-23.88l51.87-66.81c5.37-7.02 4.04-17.06-2.97-22.43L415.61 3.3c-7.02-5.38-17.06-4.04-22.44 2.97L311.09 112H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h204.56l-74.53 96H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h55.49l-51.87 66.81c-5.37 7.01-4.04 17.05 2.97 22.43L64 508.7c7.02 5.38 17.06 4.04 22.43-2.97L168.52 400H416c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32H243.05l74.53-96H416z"] };
  3701. var faNotesMedical = { prefix: 'fas', iconName: 'notes-medical', icon: [384, 512, [], "f481", "M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm96 304c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm0-192c0 4.4-3.6 8-8 8H104c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h176c4.4 0 8 3.6 8 8v16z"] };
  3702. var faObjectGroup = { prefix: 'fas', iconName: 'object-group', icon: [512, 512, [], "f247", "M480 128V96h20c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v20H64V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v40c0 6.627 5.373 12 12 12h20v320H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-20h384v20c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-20V128zM96 276V140c0-6.627 5.373-12 12-12h168c6.627 0 12 5.373 12 12v136c0 6.627-5.373 12-12 12H108c-6.627 0-12-5.373-12-12zm320 96c0 6.627-5.373 12-12 12H236c-6.627 0-12-5.373-12-12v-52h72c13.255 0 24-10.745 24-24v-72h84c6.627 0 12 5.373 12 12v136z"] };
  3703. var faObjectUngroup = { prefix: 'fas', iconName: 'object-ungroup', icon: [576, 512, [], "f248", "M64 320v26a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6v-52a6 6 0 0 1 6-6h26V96H6a6 6 0 0 1-6-6V38a6 6 0 0 1 6-6h52a6 6 0 0 1 6 6v26h288V38a6 6 0 0 1 6-6h52a6 6 0 0 1 6 6v52a6 6 0 0 1-6 6h-26v192h26a6 6 0 0 1 6 6v52a6 6 0 0 1-6 6h-52a6 6 0 0 1-6-6v-26H64zm480-64v-32h26a6 6 0 0 0 6-6v-52a6 6 0 0 0-6-6h-52a6 6 0 0 0-6 6v26H408v72h8c13.255 0 24 10.745 24 24v64c0 13.255-10.745 24-24 24h-64c-13.255 0-24-10.745-24-24v-8H192v72h-26a6 6 0 0 0-6 6v52a6 6 0 0 0 6 6h52a6 6 0 0 0 6-6v-26h288v26a6 6 0 0 0 6 6h52a6 6 0 0 0 6-6v-52a6 6 0 0 0-6-6h-26V256z"] };
  3704. var faOilCan = { prefix: 'fas', iconName: 'oil-can', icon: [640, 512, [], "f613", "M629.8 160.31L416 224l-50.49-25.24a64.07 64.07 0 0 0-28.62-6.76H280v-48h56c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h56v48h-56L37.72 166.86a31.9 31.9 0 0 0-5.79-.53C14.67 166.33 0 180.36 0 198.34v94.95c0 15.46 11.06 28.72 26.28 31.48L96 337.46V384c0 17.67 14.33 32 32 32h274.63c8.55 0 16.75-3.42 22.76-9.51l212.26-214.75c1.5-1.5 2.34-3.54 2.34-5.66V168c.01-5.31-5.08-9.15-10.19-7.69zM96 288.67l-48-8.73v-62.43l48 8.73v62.43zm453.33 84.66c0 23.56 19.1 42.67 42.67 42.67s42.67-19.1 42.67-42.67S592 288 592 288s-42.67 61.77-42.67 85.33z"] };
  3705. var faOm = { prefix: 'fas', iconName: 'om', icon: [512, 512, [], "f679", "M360.6 60.94a10.43 10.43 0 0 0 14.76 0l21.57-21.56a10.43 10.43 0 0 0 0-14.76L375.35 3.06c-4.08-4.07-10.68-4.07-14.76 0l-21.57 21.56a10.43 10.43 0 0 0 0 14.76l21.58 21.56zM412.11 192c-26.69 0-51.77 10.39-70.64 29.25l-24.25 24.25c-6.78 6.77-15.78 10.5-25.38 10.5H245c10.54-22.1 14.17-48.11 7.73-75.23-10.1-42.55-46.36-76.11-89.52-83.19-36.15-5.93-70.9 5.04-96.01 28.78-7.36 6.96-6.97 18.85 1.12 24.93l26.15 19.63c5.72 4.3 13.66 4.32 19.2-.21 8.45-6.9 19.02-10.71 30.27-10.71 26.47 0 48.01 21.53 48.01 48s-21.54 48-48.01 48h-31.9c-11.96 0-19.74 12.58-14.39 23.28l16.09 32.17c2.53 5.06 7.6 8.1 13.17 8.55h33.03c35.3 0 64.01 28.7 64.01 64s-28.71 64-64.01 64c-96.02 0-122.35-54.02-145.15-92.03-4.53-7.55-14.77-3.58-14.79 5.22C-.09 416 41.13 512 159.94 512c70.59 0 128.02-57.42 128.02-128 0-23.42-6.78-45.1-17.81-64h21.69c26.69 0 51.77-10.39 70.64-29.25l24.25-24.25c6.78-6.77 15.78-10.5 25.38-10.5 19.78 0 35.88 16.09 35.88 35.88V392c0 13.23-18.77 24-32.01 24-39.4 0-66.67-24.24-81.82-42.89-4.77-5.87-14.2-2.54-14.2 5.02V416s0 64 96.02 64c48.54 0 96.02-39.47 96.02-88V291.88c0-55.08-44.8-99.88-99.89-99.88zm42.18-124.73c-85.55 65.12-169.05 2.75-172.58.05-6.02-4.62-14.44-4.38-20.14.55-5.74 4.92-7.27 13.17-3.66 19.8 1.61 2.95 40.37 72.34 118.8 72.34 79.92 0 98.78-31.36 101.75-37.66 1.02-2.12 1.53-4.47 1.53-6.83V80c0-13.22-15.14-20.69-25.7-12.73z"] };
  3706. var faOtter = { prefix: 'fas', iconName: 'otter', icon: [640, 512, [], "f700", "M608 32h-32l-13.25-13.25A63.97 63.97 0 0 0 517.49 0H497c-11.14 0-22.08 2.91-31.75 8.43L312 96h-56C149.96 96 64 181.96 64 288v1.61c0 32.75-16 62.14-39.56 84.89-18.19 17.58-28.1 43.68-23.19 71.8 6.76 38.8 42.9 65.7 82.28 65.7H192c17.67 0 32-14.33 32-32s-14.33-32-32-32H80c-8.83 0-16-7.17-16-16s7.17-16 16-16h224c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-64l149.49-80.5L448 416h80c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-28.22l-55.11-110.21L521.14 192H544c53.02 0 96-42.98 96-96V64c0-17.67-14.33-32-32-32zm-96 16c8.84 0 16 7.16 16 16s-7.16 16-16 16-16-7.16-16-16 7.16-16 16-16zm32 96h-34.96L407.2 198.84l-13.77-27.55L512 112h77.05c-6.62 18.58-24.22 32-45.05 32z"] };
  3707. var faOutdent = { prefix: 'fas', iconName: 'outdent', icon: [448, 512, [], "f03b", "M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm208 144h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H208c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zM16 484h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm192-128h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H208c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zM4.687 267.313l96 95.984C110.734 373.348 128 366.224 128 351.984V160.008c0-14.329-17.325-21.304-27.313-11.313l-96 95.992c-6.249 6.248-6.249 16.378 0 22.626z"] };
  3708. var faPaintBrush = { prefix: 'fas', iconName: 'paint-brush', icon: [512, 512, [], "f1fc", "M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"] };
  3709. var faPaintRoller = { prefix: 'fas', iconName: 'paint-roller', icon: [512, 512, [], "f5aa", "M416 128V32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v96c0 17.67 14.33 32 32 32h352c17.67 0 32-14.33 32-32zm32-64v128c0 17.67-14.33 32-32 32H256c-35.35 0-64 28.65-64 64v32c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32v-32h160c53.02 0 96-42.98 96-96v-64c0-35.35-28.65-64-64-64z"] };
  3710. var faPalette = { prefix: 'fas', iconName: 'palette', icon: [512, 512, [], "f53f", "M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3711. var faPallet = { prefix: 'fas', iconName: 'pallet', icon: [640, 512, [], "f482", "M144 256h352c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H384v128l-64-32-64 32V0H144c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16zm480 128c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v64H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16h-48v-64h48zm-336 64H128v-64h160v64zm224 0H352v-64h160v64z"] };
  3712. var faPaperPlane = { prefix: 'fas', iconName: 'paper-plane', icon: [512, 512, [], "f1d8", "M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z"] };
  3713. var faPaperclip = { prefix: 'fas', iconName: 'paperclip', icon: [448, 512, [], "f0c6", "M43.246 466.142c-58.43-60.289-57.341-157.511 1.386-217.581L254.392 34c44.316-45.332 116.351-45.336 160.671 0 43.89 44.894 43.943 117.329 0 162.276L232.214 383.128c-29.855 30.537-78.633 30.111-107.982-.998-28.275-29.97-27.368-77.473 1.452-106.953l143.743-146.835c6.182-6.314 16.312-6.422 22.626-.241l22.861 22.379c6.315 6.182 6.422 16.312.241 22.626L171.427 319.927c-4.932 5.045-5.236 13.428-.648 18.292 4.372 4.634 11.245 4.711 15.688.165l182.849-186.851c19.613-20.062 19.613-52.725-.011-72.798-19.189-19.627-49.957-19.637-69.154 0L90.39 293.295c-34.763 35.56-35.299 93.12-1.191 128.313 34.01 35.093 88.985 35.137 123.058.286l172.06-175.999c6.177-6.319 16.307-6.433 22.626-.256l22.877 22.364c6.319 6.177 6.434 16.307.256 22.626l-172.06 175.998c-59.576 60.938-155.943 60.216-214.77-.485z"] };
  3714. var faParachuteBox = { prefix: 'fas', iconName: 'parachute-box', icon: [512, 512, [], "f4cd", "M511.9 175c-9.1-75.6-78.4-132.4-158.3-158.7C390 55.7 416 116.9 416 192h28.1L327.5 321.5c-2.5-.6-4.8-1.5-7.5-1.5h-48V192h112C384 76.8 315.1 0 256 0S128 76.8 128 192h112v128h-48c-2.7 0-5 .9-7.5 1.5L67.9 192H96c0-75.1 26-136.3 62.4-175.7C78.5 42.7 9.2 99.5.1 175c-1.1 9.1 6.8 17 16 17h8.7l136.7 151.9c-.7 2.6-1.6 5.2-1.6 8.1v128c0 17.7 14.3 32 32 32h128c17.7 0 32-14.3 32-32V352c0-2.9-.9-5.4-1.6-8.1L487.1 192h8.7c9.3 0 17.2-7.8 16.1-17z"] };
  3715. var faParagraph = { prefix: 'fas', iconName: 'paragraph', icon: [448, 512, [], "f1dd", "M408 32H177.531C88.948 32 16.045 103.335 16 191.918 15.956 280.321 87.607 352 176 352v104c0 13.255 10.745 24 24 24h32c13.255 0 24-10.745 24-24V112h32v344c0 13.255 10.745 24 24 24h32c13.255 0 24-10.745 24-24V112h40c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24z"] };
  3716. var faParking = { prefix: 'fas', iconName: 'parking', icon: [448, 512, [], "f540", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM240 320h-48v48c0 8.8-7.2 16-16 16h-32c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16h96c52.9 0 96 43.1 96 96s-43.1 96-96 96zm0-128h-48v64h48c17.6 0 32-14.4 32-32s-14.4-32-32-32z"] };
  3717. var faPassport = { prefix: 'fas', iconName: 'passport', icon: [448, 512, [], "f5ab", "M129.62 176h39.09c1.49-27.03 6.54-51.35 14.21-70.41-27.71 13.24-48.02 39.19-53.3 70.41zm0 32c5.29 31.22 25.59 57.17 53.3 70.41-7.68-19.06-12.72-43.38-14.21-70.41h-39.09zM224 286.69c7.69-7.45 20.77-34.42 23.43-78.69h-46.87c2.67 44.26 15.75 71.24 23.44 78.69zM200.57 176h46.87c-2.66-44.26-15.74-71.24-23.43-78.69-7.7 7.45-20.78 34.43-23.44 78.69zm64.51 102.41c27.71-13.24 48.02-39.19 53.3-70.41h-39.09c-1.49 27.03-6.53 51.35-14.21 70.41zM416 0H64C28.65 0 0 28.65 0 64v384c0 35.35 28.65 64 64 64h352c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32zm-80 416H112c-8.8 0-16-7.2-16-16s7.2-16 16-16h224c8.8 0 16 7.2 16 16s-7.2 16-16 16zm-112-96c-70.69 0-128-57.31-128-128S153.31 64 224 64s128 57.31 128 128-57.31 128-128 128zm41.08-214.41c7.68 19.06 12.72 43.38 14.21 70.41h39.09c-5.28-31.22-25.59-57.17-53.3-70.41z"] };
  3718. var faPastafarianism = { prefix: 'fas', iconName: 'pastafarianism', icon: [640, 512, [], "f67b", "M624.54 347.67c-32.7-12.52-57.36 4.25-75.37 16.45-17.06 11.53-23.25 14.42-31.41 11.36-8.12-3.09-10.83-9.38-15.89-29.38-3.33-13.15-7.44-29.32-17.95-42.65 2.24-2.91 4.43-5.79 6.38-8.57C500.47 304.45 513.71 312 532 312c33.95 0 50.87-25.78 62.06-42.83 10.59-16.14 15-21.17 21.94-21.17 13.25 0 24-10.75 24-24s-10.75-24-24-24c-33.95 0-50.87 25.78-62.06 42.83-10.6 16.14-15 21.17-21.94 21.17-17.31 0-37.48-61.43-97.26-101.91l17.25-34.5C485.43 125.5 512 97.98 512 64c0-35.35-28.65-64-64-64s-64 28.65-64 64c0 13.02 3.94 25.1 10.62 35.21l-18.15 36.3c-16.98-4.6-35.6-7.51-56.46-7.51s-39.49 2.91-56.46 7.51l-18.15-36.3C252.06 89.1 256 77.02 256 64c0-35.35-28.65-64-64-64s-64 28.65-64 64c0 33.98 26.56 61.5 60.02 63.6l17.25 34.5C145.68 202.44 125.15 264 108 264c-6.94 0-11.34-5.03-21.94-21.17C74.88 225.78 57.96 200 24 200c-13.25 0-24 10.75-24 24s10.75 24 24 24c6.94 0 11.34 5.03 21.94 21.17C57.13 286.22 74.05 312 108 312c18.29 0 31.53-7.55 41.7-17.11 1.95 2.79 4.14 5.66 6.38 8.57-10.51 13.33-14.62 29.5-17.95 42.65-5.06 20-7.77 26.28-15.89 29.38-8.11 3.06-14.33.17-31.41-11.36-18.03-12.2-42.72-28.92-75.37-16.45-12.39 4.72-18.59 18.58-13.87 30.97 4.72 12.41 18.61 18.61 30.97 13.88 8.16-3.09 14.34-.19 31.39 11.36 13.55 9.16 30.83 20.86 52.42 20.84 7.17 0 14.83-1.28 22.97-4.39 32.66-12.44 39.98-41.33 45.33-62.44 2.21-8.72 3.99-14.49 5.95-18.87 16.62 13.61 36.95 25.88 61.64 34.17-9.96 37-32.18 90.8-60.26 90.8-13.25 0-24 10.75-24 24s10.75 24 24 24c66.74 0 97.05-88.63 107.42-129.14 6.69.6 13.42 1.14 20.58 1.14s13.89-.54 20.58-1.14C350.95 423.37 381.26 512 448 512c13.25 0 24-10.75 24-24s-10.75-24-24-24c-27.94 0-50.21-53.81-60.22-90.81 24.69-8.29 45-20.56 61.62-34.16 1.96 4.38 3.74 10.15 5.95 18.87 5.34 21.11 12.67 50 45.33 62.44 8.14 3.11 15.8 4.39 22.97 4.39 21.59 0 38.87-11.69 52.42-20.84 17.05-11.55 23.28-14.45 31.39-11.36 12.39 4.75 26.27-1.47 30.97-13.88 4.71-12.4-1.49-26.26-13.89-30.98zM448 48c8.82 0 16 7.18 16 16s-7.18 16-16 16-16-7.18-16-16 7.18-16 16-16zm-256 0c8.82 0 16 7.18 16 16s-7.18 16-16 16-16-7.18-16-16 7.18-16 16-16z"] };
  3719. var faPaste = { prefix: 'fas', iconName: 'paste', icon: [448, 512, [], "f0ea", "M128 184c0-30.879 25.122-56 56-56h136V56c0-13.255-10.745-24-24-24h-80.61C204.306 12.89 183.637 0 160 0s-44.306 12.89-55.39 32H24C10.745 32 0 42.745 0 56v336c0 13.255 10.745 24 24 24h104V184zm32-144c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24zm184 248h104v200c0 13.255-10.745 24-24 24H184c-13.255 0-24-10.745-24-24V184c0-13.255 10.745-24 24-24h136v104c0 13.2 10.8 24 24 24zm104-38.059V256h-96v-96h6.059a24 24 0 0 1 16.97 7.029l65.941 65.941a24.002 24.002 0 0 1 7.03 16.971z"] };
  3720. var faPause = { prefix: 'fas', iconName: 'pause', icon: [448, 512, [], "f04c", "M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"] };
  3721. var faPauseCircle = { prefix: 'fas', iconName: 'pause-circle', icon: [512, 512, [], "f28b", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-16 328c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160zm112 0c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160z"] };
  3722. var faPaw = { prefix: 'fas', iconName: 'paw', icon: [512, 512, [], "f1b0", "M256 224c-79.41 0-192 122.76-192 200.25 0 34.9 26.81 55.75 71.74 55.75 48.84 0 81.09-25.08 120.26-25.08 39.51 0 71.85 25.08 120.26 25.08 44.93 0 71.74-20.85 71.74-55.75C448 346.76 335.41 224 256 224zm-147.28-12.61c-10.4-34.65-42.44-57.09-71.56-50.13-29.12 6.96-44.29 40.69-33.89 75.34 10.4 34.65 42.44 57.09 71.56 50.13 29.12-6.96 44.29-40.69 33.89-75.34zm84.72-20.78c30.94-8.14 46.42-49.94 34.58-93.36s-46.52-72.01-77.46-63.87-46.42 49.94-34.58 93.36c11.84 43.42 46.53 72.02 77.46 63.87zm281.39-29.34c-29.12-6.96-61.15 15.48-71.56 50.13-10.4 34.65 4.77 68.38 33.89 75.34 29.12 6.96 61.15-15.48 71.56-50.13 10.4-34.65-4.77-68.38-33.89-75.34zm-156.27 29.34c30.94 8.14 65.62-20.45 77.46-63.87 11.84-43.42-3.64-85.21-34.58-93.36s-65.62 20.45-77.46 63.87c-11.84 43.42 3.64 85.22 34.58 93.36z"] };
  3723. var faPeace = { prefix: 'fas', iconName: 'peace', icon: [496, 512, [], "f67c", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm184 248c0 31.93-8.2 61.97-22.57 88.17L280 240.63V74.97c86.23 15.21 152 90.5 152 181.03zM216 437.03c-33.86-5.97-64.49-21.2-89.29-43.02L216 322.57v114.46zm64-114.46L369.29 394c-24.8 21.82-55.43 37.05-89.29 43.02V322.57zm-64-247.6v165.66L86.57 344.17C72.2 317.97 64 287.93 64 256c0-90.53 65.77-165.82 152-181.03z"] };
  3724. var faPen = { prefix: 'fas', iconName: 'pen', icon: [512, 512, [], "f304", "M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z"] };
  3725. var faPenAlt = { prefix: 'fas', iconName: 'pen-alt', icon: [512, 512, [], "f305", "M497.94 74.17l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.75 18.75-49.15 0-67.91zm-246.8-20.53c-15.62-15.62-40.94-15.62-56.56 0L75.8 172.43c-6.25 6.25-6.25 16.38 0 22.62l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0l101.82-101.82 22.63 22.62L93.95 290.03A327.038 327.038 0 0 0 .17 485.11l-.03.23c-1.7 15.28 11.21 28.2 26.49 26.51a327.02 327.02 0 0 0 195.34-93.8l196.79-196.79-82.77-82.77-84.85-84.85z"] };
  3726. var faPenFancy = { prefix: 'fas', iconName: 'pen-fancy', icon: [512, 512, [], "f5ac", "M79.18 282.94a32.005 32.005 0 0 0-20.24 20.24L0 480l4.69 4.69 92.89-92.89c-.66-2.56-1.57-5.03-1.57-7.8 0-17.67 14.33-32 32-32s32 14.33 32 32-14.33 32-32 32c-2.77 0-5.24-.91-7.8-1.57l-92.89 92.89L32 512l176.82-58.94a31.983 31.983 0 0 0 20.24-20.24l33.07-84.07-98.88-98.88-84.07 33.07zM369.25 28.32L186.14 227.81l97.85 97.85 199.49-183.11C568.4 67.48 443.73-55.94 369.25 28.32z"] };
  3727. var faPenNib = { prefix: 'fas', iconName: 'pen-nib', icon: [512, 512, [], "f5ad", "M136.6 138.79a64.003 64.003 0 0 0-43.31 41.35L0 460l14.69 14.69L164.8 324.58c-2.99-6.26-4.8-13.18-4.8-20.58 0-26.51 21.49-48 48-48s48 21.49 48 48-21.49 48-48 48c-7.4 0-14.32-1.81-20.58-4.8L37.31 497.31 52 512l279.86-93.29a64.003 64.003 0 0 0 41.35-43.31L416 224 288 96l-151.4 42.79zm361.34-64.62l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.75 18.75-49.15 0-67.91z"] };
  3728. var faPenSquare = { prefix: 'fas', iconName: 'pen-square', icon: [448, 512, [], "f14b", "M400 480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zM238.1 177.9L102.4 313.6l-6.3 57.1c-.8 7.6 5.6 14.1 13.3 13.3l57.1-6.3L302.2 242c2.3-2.3 2.3-6.1 0-8.5L246.7 178c-2.5-2.4-6.3-2.4-8.6-.1zM345 165.1L314.9 135c-9.4-9.4-24.6-9.4-33.9 0l-23.1 23.1c-2.3 2.3-2.3 6.1 0 8.5l55.5 55.5c2.3 2.3 6.1 2.3 8.5 0L345 199c9.3-9.3 9.3-24.5 0-33.9z"] };
  3729. var faPencilAlt = { prefix: 'fas', iconName: 'pencil-alt', icon: [512, 512, [], "f303", "M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"] };
  3730. var faPencilRuler = { prefix: 'fas', iconName: 'pencil-ruler', icon: [512, 512, [], "f5ae", "M109.46 244.04l134.58-134.56-44.12-44.12-61.68 61.68a7.919 7.919 0 0 1-11.21 0l-11.21-11.21c-3.1-3.1-3.1-8.12 0-11.21l61.68-61.68-33.64-33.65C131.47-3.1 111.39-3.1 99 9.29L9.29 99c-12.38 12.39-12.39 32.47 0 44.86l100.17 100.18zm388.47-116.8c18.76-18.76 18.75-49.17 0-67.93l-45.25-45.25c-18.76-18.76-49.18-18.76-67.95 0l-46.02 46.01 113.2 113.2 46.02-46.03zM316.08 82.71l-297 296.96L.32 487.11c-2.53 14.49 10.09 27.11 24.59 24.56l107.45-18.84L429.28 195.9 316.08 82.71zm186.63 285.43l-33.64-33.64-61.68 61.68c-3.1 3.1-8.12 3.1-11.21 0l-11.21-11.21c-3.09-3.1-3.09-8.12 0-11.21l61.68-61.68-44.14-44.14L267.93 402.5l100.21 100.2c12.39 12.39 32.47 12.39 44.86 0l89.71-89.7c12.39-12.39 12.39-32.47 0-44.86z"] };
  3731. var faPeopleCarry = { prefix: 'fas', iconName: 'people-carry', icon: [640, 512, [], "f4ce", "M128 96c26.5 0 48-21.5 48-48S154.5 0 128 0 80 21.5 80 48s21.5 48 48 48zm384 0c26.5 0 48-21.5 48-48S538.5 0 512 0s-48 21.5-48 48 21.5 48 48 48zm125.7 372.1l-44-110-41.1 46.4-2 18.2 27.7 69.2c5 12.5 17 20.1 29.7 20.1 4 0 8-.7 11.9-2.3 16.4-6.6 24.4-25.2 17.8-41.6zm-34.2-209.8L585 178.1c-4.6-20-18.6-36.8-37.5-44.9-18.5-8-39-6.7-56.1 3.3-22.7 13.4-39.7 34.5-48.1 59.4L432 229.8 416 240v-96c0-8.8-7.2-16-16-16H240c-8.8 0-16 7.2-16 16v96l-16.1-10.2-11.3-33.9c-8.3-25-25.4-46-48.1-59.4-17.2-10-37.6-11.3-56.1-3.3-18.9 8.1-32.9 24.9-37.5 44.9l-18.4 80.2c-4.6 20 .7 41.2 14.4 56.7l67.2 75.9 10.1 92.6C130 499.8 143.8 512 160 512c1.2 0 2.3-.1 3.5-.2 17.6-1.9 30.2-17.7 28.3-35.3l-10.1-92.8c-1.5-13-6.9-25.1-15.6-35l-43.3-49 17.6-70.3 6.8 20.4c4.1 12.5 11.9 23.4 24.5 32.6l51.1 32.5c4.6 2.9 12.1 4.6 17.2 5h160c5.1-.4 12.6-2.1 17.2-5l51.1-32.5c12.6-9.2 20.4-20 24.5-32.6l6.8-20.4 17.6 70.3-43.3 49c-8.7 9.9-14.1 22-15.6 35l-10.1 92.8c-1.9 17.6 10.8 33.4 28.3 35.3 1.2.1 2.3.2 3.5.2 16.1 0 30-12.1 31.8-28.5l10.1-92.6 67.2-75.9c13.6-15.5 19-36.7 14.4-56.7zM46.3 358.1l-44 110c-6.6 16.4 1.4 35 17.8 41.6 16.8 6.6 35.1-1.7 41.6-17.8l27.7-69.2-2-18.2-41.1-46.4z"] };
  3732. var faPercent = { prefix: 'fas', iconName: 'percent', icon: [448, 512, [], "f295", "M112 224c61.9 0 112-50.1 112-112S173.9 0 112 0 0 50.1 0 112s50.1 112 112 112zm0-160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm224 224c-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112-50.1-112-112-112zm0 160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zM392.3.2l31.6-.1c19.4-.1 30.9 21.8 19.7 37.8L77.4 501.6a23.95 23.95 0 0 1-19.6 10.2l-33.4.1c-19.5 0-30.9-21.9-19.7-37.8l368-463.7C377.2 4 384.5.2 392.3.2z"] };
  3733. var faPercentage = { prefix: 'fas', iconName: 'percentage', icon: [384, 512, [], "f541", "M109.25 173.25c24.99-24.99 24.99-65.52 0-90.51-24.99-24.99-65.52-24.99-90.51 0-24.99 24.99-24.99 65.52 0 90.51 25 25 65.52 25 90.51 0zm256 165.49c-24.99-24.99-65.52-24.99-90.51 0-24.99 24.99-24.99 65.52 0 90.51 24.99 24.99 65.52 24.99 90.51 0 25-24.99 25-65.51 0-90.51zm-1.94-231.43l-22.62-22.62c-12.5-12.5-32.76-12.5-45.25 0L20.69 359.44c-12.5 12.5-12.5 32.76 0 45.25l22.62 22.62c12.5 12.5 32.76 12.5 45.25 0l274.75-274.75c12.5-12.49 12.5-32.75 0-45.25z"] };
  3734. var faPhone = { prefix: 'fas', iconName: 'phone', icon: [512, 512, [], "f095", "M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"] };
  3735. var faPhoneSlash = { prefix: 'fas', iconName: 'phone-slash', icon: [640, 512, [], "f3dd", "M268.2 381.4l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48c-10.7 4.6-16.5 16.1-13.9 27.5l24 104c2.5 10.8 12.1 18.6 23.4 18.6 100.7 0 193.7-32.4 269.7-86.9l-80-61.8c-10.9 6.5-22.1 12.7-33.6 18.1zm365.6 76.7L475.1 335.5C537.9 256.4 576 156.9 576 48c0-11.2-7.7-20.9-18.6-23.4l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-12.2 26.1-27.9 50.3-46 72.8L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3z"] };
  3736. var faPhoneSquare = { prefix: 'fas', iconName: 'phone-square', icon: [448, 512, [], "f098", "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM94 416c-7.033 0-13.057-4.873-14.616-11.627l-14.998-65a15 15 0 0 1 8.707-17.16l69.998-29.999a15 15 0 0 1 17.518 4.289l30.997 37.885c48.944-22.963 88.297-62.858 110.781-110.78l-37.886-30.997a15.001 15.001 0 0 1-4.289-17.518l30-69.998a15 15 0 0 1 17.16-8.707l65 14.998A14.997 14.997 0 0 1 384 126c0 160.292-129.945 290-290 290z"] };
  3737. var faPhoneVolume = { prefix: 'fas', iconName: 'phone-volume', icon: [384, 512, [], "f2a0", "M97.333 506.966c-129.874-129.874-129.681-340.252 0-469.933 5.698-5.698 14.527-6.632 21.263-2.422l64.817 40.513a17.187 17.187 0 0 1 6.849 20.958l-32.408 81.021a17.188 17.188 0 0 1-17.669 10.719l-55.81-5.58c-21.051 58.261-20.612 122.471 0 179.515l55.811-5.581a17.188 17.188 0 0 1 17.669 10.719l32.408 81.022a17.188 17.188 0 0 1-6.849 20.958l-64.817 40.513a17.19 17.19 0 0 1-21.264-2.422zM247.126 95.473c11.832 20.047 11.832 45.008 0 65.055-3.95 6.693-13.108 7.959-18.718 2.581l-5.975-5.726c-3.911-3.748-4.793-9.622-2.261-14.41a32.063 32.063 0 0 0 0-29.945c-2.533-4.788-1.65-10.662 2.261-14.41l5.975-5.726c5.61-5.378 14.768-4.112 18.718 2.581zm91.787-91.187c60.14 71.604 60.092 175.882 0 247.428-4.474 5.327-12.53 5.746-17.552.933l-5.798-5.557c-4.56-4.371-4.977-11.529-.93-16.379 49.687-59.538 49.646-145.933 0-205.422-4.047-4.85-3.631-12.008.93-16.379l5.798-5.557c5.022-4.813 13.078-4.394 17.552.933zm-45.972 44.941c36.05 46.322 36.108 111.149 0 157.546-4.39 5.641-12.697 6.251-17.856 1.304l-5.818-5.579c-4.4-4.219-4.998-11.095-1.285-15.931 26.536-34.564 26.534-82.572 0-117.134-3.713-4.836-3.115-11.711 1.285-15.931l5.818-5.579c5.159-4.947 13.466-4.337 17.856 1.304z"] };
  3738. var faPiggyBank = { prefix: 'fas', iconName: 'piggy-bank', icon: [576, 512, [], "f4d3", "M560 224h-29.5c-8.8-20-21.6-37.7-37.4-52.5L512 96h-32c-29.4 0-55.4 13.5-73 34.3-7.6-1.1-15.1-2.3-23-2.3H256c-77.4 0-141.9 55-156.8 128H56c-14.8 0-26.5-13.5-23.5-28.8C34.7 215.8 45.4 208 57 208h1c3.3 0 6-2.7 6-6v-20c0-3.3-2.7-6-6-6-28.5 0-53.9 20.4-57.5 48.6C-3.9 258.8 22.7 288 56 288h40c0 52.2 25.4 98.1 64 127.3V496c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-48h128v48c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-80.7c11.8-8.9 22.3-19.4 31.3-31.3H560c8.8 0 16-7.2 16-16V240c0-8.8-7.2-16-16-16zm-128 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zM256 96h128c5.4 0 10.7.4 15.9.8 0-.3.1-.5.1-.8 0-53-43-96-96-96s-96 43-96 96c0 2.1.5 4.1.6 6.2 15.2-3.9 31-6.2 47.4-6.2z"] };
  3739. var faPills = { prefix: 'fas', iconName: 'pills', icon: [576, 512, [], "f484", "M112 32C50.1 32 0 82.1 0 144v224c0 61.9 50.1 112 112 112s112-50.1 112-112V144c0-61.9-50.1-112-112-112zm48 224H64V144c0-26.5 21.5-48 48-48s48 21.5 48 48v112zm139.7-29.7c-3.5-3.5-9.4-3.1-12.3.8-45.3 62.5-40.4 150.1 15.9 206.4 56.3 56.3 143.9 61.2 206.4 15.9 4-2.9 4.3-8.8.8-12.3L299.7 226.3zm229.8-19c-56.3-56.3-143.9-61.2-206.4-15.9-4 2.9-4.3 8.8-.8 12.3l210.8 210.8c3.5 3.5 9.4 3.1 12.3-.8 45.3-62.6 40.5-150.1-15.9-206.4z"] };
  3740. var faPlaceOfWorship = { prefix: 'fas', iconName: 'place-of-worship', icon: [640, 512, [], "f67f", "M620.61 366.55L512 320v192h112c8.84 0 16-7.16 16-16V395.96a32 32 0 0 0-19.39-29.41zM0 395.96V496c0 8.84 7.16 16 16 16h112V320L19.39 366.55A32 32 0 0 0 0 395.96zm464.46-149.28L416 217.6V102.63c0-8.49-3.37-16.62-9.38-22.63L331.31 4.69c-6.25-6.25-16.38-6.25-22.62 0L233.38 80c-6 6-9.38 14.14-9.38 22.63V217.6l-48.46 29.08A31.997 31.997 0 0 0 160 274.12V512h96v-96c0-35.35 28.66-64 64-64s64 28.65 64 64v96h96V274.12c0-11.24-5.9-21.66-15.54-27.44z"] };
  3741. var faPlane = { prefix: 'fas', iconName: 'plane', icon: [576, 512, [], "f072", "M480 192H365.71L260.61 8.06A16.014 16.014 0 0 0 246.71 0h-65.5c-10.63 0-18.3 10.17-15.38 20.39L214.86 192H112l-43.2-57.6c-3.02-4.03-7.77-6.4-12.8-6.4H16.01C5.6 128-2.04 137.78.49 147.88L32 256 .49 364.12C-2.04 374.22 5.6 384 16.01 384H56c5.04 0 9.78-2.37 12.8-6.4L112 320h102.86l-49.03 171.6c-2.92 10.22 4.75 20.4 15.38 20.4h65.5c5.74 0 11.04-3.08 13.89-8.06L365.71 320H480c35.35 0 96-28.65 96-64s-60.65-64-96-64z"] };
  3742. var faPlaneArrival = { prefix: 'fas', iconName: 'plane-arrival', icon: [640, 512, [], "f5af", "M624 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM44.81 205.66l88.74 80a62.607 62.607 0 0 0 25.47 13.93l287.6 78.35c26.48 7.21 54.56 8.72 81 1.36 29.67-8.27 43.44-21.21 47.25-35.71 3.83-14.5-1.73-32.71-23.37-54.96-19.28-19.82-44.35-32.79-70.83-40l-97.51-26.56L282.8 30.22c-1.51-5.81-5.95-10.35-11.66-11.91L206.05.58c-10.56-2.88-20.9 5.32-20.71 16.44l47.92 164.21-102.2-27.84-27.59-67.88c-1.93-4.89-6.01-8.57-11.02-9.93L52.72 64.75c-10.34-2.82-20.53 5-20.72 15.88l.23 101.78c.19 8.91 6.03 17.34 12.58 23.25z"] };
  3743. var faPlaneDeparture = { prefix: 'fas', iconName: 'plane-departure', icon: [640, 512, [], "f5b0", "M624 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM80.55 341.27c6.28 6.84 15.1 10.72 24.33 10.71l130.54-.18a65.62 65.62 0 0 0 29.64-7.12l290.96-147.65c26.74-13.57 50.71-32.94 67.02-58.31 18.31-28.48 20.3-49.09 13.07-63.65-7.21-14.57-24.74-25.27-58.25-27.45-29.85-1.94-59.54 5.92-86.28 19.48l-98.51 49.99-218.7-82.06a17.799 17.799 0 0 0-18-1.11L90.62 67.29c-10.67 5.41-13.25 19.65-5.17 28.53l156.22 98.1-103.21 52.38-72.35-36.47a17.804 17.804 0 0 0-16.07.02L9.91 230.22c-10.44 5.3-13.19 19.12-5.57 28.08l76.21 82.97z"] };
  3744. var faPlay = { prefix: 'fas', iconName: 'play', icon: [448, 512, [], "f04b", "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"] };
  3745. var faPlayCircle = { prefix: 'fas', iconName: 'play-circle', icon: [512, 512, [], "f144", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"] };
  3746. var faPlug = { prefix: 'fas', iconName: 'plug', icon: [384, 512, [], "f1e6", "M256 144V32c0-17.673 14.327-32 32-32s32 14.327 32 32v112h-64zm112 16H16c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16h16v32c0 77.406 54.969 141.971 128 156.796V512h64v-99.204c73.031-14.825 128-79.39 128-156.796v-32h16c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16zm-240-16V32c0-17.673-14.327-32-32-32S64 14.327 64 32v112h64z"] };
  3747. var faPlus = { prefix: 'fas', iconName: 'plus', icon: [448, 512, [], "f067", "M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"] };
  3748. var faPlusCircle = { prefix: 'fas', iconName: 'plus-circle', icon: [512, 512, [], "f055", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"] };
  3749. var faPlusSquare = { prefix: 'fas', iconName: 'plus-square', icon: [448, 512, [], "f0fe", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"] };
  3750. var faPodcast = { prefix: 'fas', iconName: 'podcast', icon: [448, 512, [], "f2ce", "M267.429 488.563C262.286 507.573 242.858 512 224 512c-18.857 0-38.286-4.427-43.428-23.437C172.927 460.134 160 388.898 160 355.75c0-35.156 31.142-43.75 64-43.75s64 8.594 64 43.75c0 32.949-12.871 104.179-20.571 132.813zM156.867 288.554c-18.693-18.308-29.958-44.173-28.784-72.599 2.054-49.724 42.395-89.956 92.124-91.881C274.862 121.958 320 165.807 320 220c0 26.827-11.064 51.116-28.866 68.552-2.675 2.62-2.401 6.986.628 9.187 9.312 6.765 16.46 15.343 21.234 25.363 1.741 3.654 6.497 4.66 9.449 1.891 28.826-27.043 46.553-65.783 45.511-108.565-1.855-76.206-63.595-138.208-139.793-140.369C146.869 73.753 80 139.215 80 220c0 41.361 17.532 78.7 45.55 104.989 2.953 2.771 7.711 1.77 9.453-1.887 4.774-10.021 11.923-18.598 21.235-25.363 3.029-2.2 3.304-6.566.629-9.185zM224 0C100.204 0 0 100.185 0 224c0 89.992 52.602 165.647 125.739 201.408 4.333 2.118 9.267-1.544 8.535-6.31-2.382-15.512-4.342-30.946-5.406-44.339-.146-1.836-1.149-3.486-2.678-4.512-47.4-31.806-78.564-86.016-78.187-147.347.592-96.237 79.29-174.648 175.529-174.899C320.793 47.747 400 126.797 400 224c0 61.932-32.158 116.49-80.65 147.867-.999 14.037-3.069 30.588-5.624 47.23-.732 4.767 4.203 8.429 8.535 6.31C395.227 389.727 448 314.187 448 224 448 100.205 347.815 0 224 0zm0 160c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64z"] };
  3751. var faPoll = { prefix: 'fas', iconName: 'poll', icon: [448, 512, [], "f681", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM160 368c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V240c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v128zm96 0c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V144c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v224zm96 0c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-64c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v64z"] };
  3752. var faPollH = { prefix: 'fas', iconName: 'poll-h', icon: [448, 512, [], "f682", "M448 432V80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48zM112 192c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h128c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h224c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16H112zm0 96c-8.84 0-16-7.16-16-16v-32c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-64z"] };
  3753. var faPoo = { prefix: 'fas', iconName: 'poo', icon: [512, 512, [], "f2fe", "M451.4 369.1C468.7 356 480 335.4 480 312c0-39.8-32.2-72-72-72h-14.1c13.4-11.7 22.1-28.8 22.1-48 0-35.3-28.7-64-64-64h-5.9c3.6-10.1 5.9-20.7 5.9-32 0-53-43-96-96-96-5.2 0-10.2.7-15.1 1.5C250.3 14.6 256 30.6 256 48c0 44.2-35.8 80-80 80h-16c-35.3 0-64 28.7-64 64 0 19.2 8.7 36.3 22.1 48H104c-39.8 0-72 32.2-72 72 0 23.4 11.3 44 28.6 57.1C26.3 374.6 0 404.1 0 440c0 39.8 32.2 72 72 72h368c39.8 0 72-32.2 72-72 0-35.9-26.3-65.4-60.6-70.9zM192 256c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm159.5 139C341 422.9 293 448 256 448s-85-25.1-95.5-53c-2-5.3 2-11 7.8-11h175.4c5.8 0 9.8 5.7 7.8 11zM320 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3754. var faPoop = { prefix: 'fas', iconName: 'poop', icon: [512, 512, [], "f619", "M451.36 369.14C468.66 355.99 480 335.41 480 312c0-39.77-32.24-72-72-72h-14.07c13.42-11.73 22.07-28.78 22.07-48 0-35.35-28.65-64-64-64h-5.88c3.57-10.05 5.88-20.72 5.88-32 0-53.02-42.98-96-96-96-5.17 0-10.15.74-15.11 1.52C250.31 14.64 256 30.62 256 48c0 44.18-35.82 80-80 80h-16c-35.35 0-64 28.65-64 64 0 19.22 8.65 36.27 22.07 48H104c-39.76 0-72 32.23-72 72 0 23.41 11.34 43.99 28.64 57.14C26.31 374.62 0 404.12 0 440c0 39.76 32.24 72 72 72h368c39.76 0 72-32.24 72-72 0-35.88-26.31-65.38-60.64-70.86z"] };
  3755. var faPortrait = { prefix: 'fas', iconName: 'portrait', icon: [384, 512, [], "f3e0", "M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM192 128c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H102.4C90 384 80 375.4 80 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"] };
  3756. var faPoundSign = { prefix: 'fas', iconName: 'pound-sign', icon: [320, 512, [], "f154", "M308 352h-45.495c-6.627 0-12 5.373-12 12v50.848H128V288h84c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-84v-63.556c0-32.266 24.562-57.086 61.792-57.086 23.658 0 45.878 11.505 57.652 18.849 5.151 3.213 11.888 2.051 15.688-2.685l28.493-35.513c4.233-5.276 3.279-13.005-2.119-17.081C273.124 54.56 236.576 32 187.931 32 106.026 32 48 84.742 48 157.961V224H20c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h28v128H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h296c6.627 0 12-5.373 12-12V364c0-6.627-5.373-12-12-12z"] };
  3757. var faPowerOff = { prefix: 'fas', iconName: 'power-off', icon: [512, 512, [], "f011", "M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z"] };
  3758. var faPray = { prefix: 'fas', iconName: 'pray', icon: [384, 512, [], "f683", "M256 128c35.35 0 64-28.65 64-64S291.35 0 256 0s-64 28.65-64 64 28.65 64 64 64zm-30.63 169.75c14.06 16.72 39 19.09 55.97 5.22l88-72.02c17.09-13.98 19.59-39.19 5.62-56.28-13.97-17.11-39.19-19.59-56.31-5.62l-57.44 47-38.91-46.31c-15.44-18.39-39.22-27.92-64-25.33-24.19 2.48-45.25 16.27-56.37 36.92l-49.37 92.03c-23.4 43.64-8.69 96.37 34.19 123.75L131.56 432H40c-22.09 0-40 17.91-40 40s17.91 40 40 40h208c34.08 0 53.77-42.79 28.28-68.28L166.42 333.86l34.8-64.87 24.15 28.76z"] };
  3759. var faPrayingHands = { prefix: 'fas', iconName: 'praying-hands', icon: [640, 512, [], "f684", "M272 191.91c-17.6 0-32 14.4-32 32v80c0 8.84-7.16 16-16 16s-16-7.16-16-16v-76.55c0-17.39 4.72-34.47 13.69-49.39l77.75-129.59c9.09-15.16 4.19-34.81-10.97-43.91-14.45-8.67-32.72-4.3-42.3 9.21-.2.23-.62.21-.79.48l-117.26 175.9C117.56 205.9 112 224.31 112 243.29v80.23l-90.12 30.04A31.974 31.974 0 0 0 0 383.91v96c0 10.82 8.52 32 32 32 2.69 0 5.41-.34 8.06-1.03l179.19-46.62C269.16 449.99 304 403.8 304 351.91v-128c0-17.6-14.4-32-32-32zm346.12 161.73L528 323.6v-80.23c0-18.98-5.56-37.39-16.12-53.23L394.62 14.25c-.18-.27-.59-.24-.79-.48-9.58-13.51-27.85-17.88-42.3-9.21-15.16 9.09-20.06 28.75-10.97 43.91l77.75 129.59c8.97 14.92 13.69 32 13.69 49.39V304c0 8.84-7.16 16-16 16s-16-7.16-16-16v-80c0-17.6-14.4-32-32-32s-32 14.4-32 32v128c0 51.89 34.84 98.08 84.75 112.34l179.19 46.62c2.66.69 5.38 1.03 8.06 1.03 23.48 0 32-21.18 32-32v-96c0-13.77-8.81-25.99-21.88-30.35z"] };
  3760. var faPrescription = { prefix: 'fas', iconName: 'prescription', icon: [384, 512, [], "f5b1", "M301.26 352l78.06-78.06c6.25-6.25 6.25-16.38 0-22.63l-22.63-22.63c-6.25-6.25-16.38-6.25-22.63 0L256 306.74l-83.96-83.96C219.31 216.8 256 176.89 256 128c0-53.02-42.98-96-96-96H16C7.16 32 0 39.16 0 48v256c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-80h18.75l128 128-78.06 78.06c-6.25 6.25-6.25 16.38 0 22.63l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0L256 397.25l78.06 78.06c6.25 6.25 16.38 6.25 22.63 0l22.63-22.63c6.25-6.25 6.25-16.38 0-22.63L301.26 352zM64 96h96c17.64 0 32 14.36 32 32s-14.36 32-32 32H64V96z"] };
  3761. var faPrescriptionBottle = { prefix: 'fas', iconName: 'prescription-bottle', icon: [384, 512, [], "f485", "M32 192h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V128H32v64zM360 0H24C10.8 0 0 10.8 0 24v48c0 13.2 10.8 24 24 24h336c13.2 0 24-10.8 24-24V24c0-13.2-10.8-24-24-24z"] };
  3762. var faPrescriptionBottleAlt = { prefix: 'fas', iconName: 'prescription-bottle-alt', icon: [384, 512, [], "f486", "M360 0H24C10.8 0 0 10.8 0 24v48c0 13.2 10.8 24 24 24h336c13.2 0 24-10.8 24-24V24c0-13.2-10.8-24-24-24zM32 480c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V128H32v352zm64-184c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48z"] };
  3763. var faPrint = { prefix: 'fas', iconName: 'print', icon: [512, 512, [], "f02f", "M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"] };
  3764. var faProcedures = { prefix: 'fas', iconName: 'procedures', icon: [640, 512, [], "f487", "M528 224H272c-8.8 0-16 7.2-16 16v144H64V144c0-8.8-7.2-16-16-16H16c-8.8 0-16 7.2-16 16v352c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48h512v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V336c0-61.9-50.1-112-112-112zM136 96h126.1l27.6 55.2c5.9 11.8 22.7 11.8 28.6 0L368 51.8 390.1 96H512c8.8 0 16-7.2 16-16s-7.2-16-16-16H409.9L382.3 8.8C376.4-3 359.6-3 353.7 8.8L304 108.2l-19.9-39.8c-1.4-2.7-4.1-4.4-7.2-4.4H136c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm24 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64z"] };
  3765. var faProjectDiagram = { prefix: 'fas', iconName: 'project-diagram', icon: [640, 512, [], "f542", "M384 320H256c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32zM192 32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v128c0 17.67 14.33 32 32 32h95.72l73.16 128.04C211.98 300.98 232.4 288 256 288h.28L192 175.51V128h224V64H192V32zM608 0H480c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32z"] };
  3766. var faPuzzlePiece = { prefix: 'fas', iconName: 'puzzle-piece', icon: [576, 512, [], "f12e", "M519.442 288.651c-41.519 0-59.5 31.593-82.058 31.593C377.409 320.244 432 144 432 144s-196.288 80-196.288-3.297c0-35.827 36.288-46.25 36.288-85.985C272 19.216 243.885 0 210.539 0c-34.654 0-66.366 18.891-66.366 56.346 0 41.364 31.711 59.277 31.711 81.75C175.885 207.719 0 166.758 0 166.758v333.237s178.635 41.047 178.635-28.662c0-22.473-40-40.107-40-81.471 0-37.456 29.25-56.346 63.577-56.346 33.673 0 61.788 19.216 61.788 54.717 0 39.735-36.288 50.158-36.288 85.985 0 60.803 129.675 25.73 181.23 25.73 0 0-34.725-120.101 25.827-120.101 35.962 0 46.423 36.152 86.308 36.152C556.712 416 576 387.99 576 354.443c0-34.199-18.962-65.792-56.558-65.792z"] };
  3767. var faQrcode = { prefix: 'fas', iconName: 'qrcode', icon: [448, 512, [], "f029", "M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"] };
  3768. var faQuestion = { prefix: 'fas', iconName: 'question', icon: [384, 512, [], "f128", "M202.021 0C122.202 0 70.503 32.703 29.914 91.026c-7.363 10.58-5.093 25.086 5.178 32.874l43.138 32.709c10.373 7.865 25.132 6.026 33.253-4.148 25.049-31.381 43.63-49.449 82.757-49.449 30.764 0 68.816 19.799 68.816 49.631 0 22.552-18.617 34.134-48.993 51.164-35.423 19.86-82.299 44.576-82.299 106.405V320c0 13.255 10.745 24 24 24h72.471c13.255 0 24-10.745 24-24v-5.773c0-42.86 125.268-44.645 125.268-160.627C377.504 66.256 286.902 0 202.021 0zM192 373.459c-38.196 0-69.271 31.075-69.271 69.271 0 38.195 31.075 69.27 69.271 69.27s69.271-31.075 69.271-69.271-31.075-69.27-69.271-69.27z"] };
  3769. var faQuestionCircle = { prefix: 'fas', iconName: 'question-circle', icon: [512, 512, [], "f059", "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"] };
  3770. var faQuidditch = { prefix: 'fas', iconName: 'quidditch', icon: [640, 512, [], "f458", "M256.5 216.8L343.2 326s-16.6 102.4-76.6 150.1C206.7 523.8 0 510.2 0 510.2s3.8-23.1 11-55.4l94.6-112.2c4-4.7-.9-11.6-6.6-9.5l-60.4 22.1c14.4-41.7 32.7-80 54.6-97.5 59.9-47.8 163.3-40.9 163.3-40.9zm238 135c-44 0-79.8 35.8-79.8 79.9 0 44.1 35.7 79.9 79.8 79.9 44.1 0 79.8-35.8 79.8-79.9 0-44.2-35.8-79.9-79.8-79.9zM636.5 31L616.7 6c-5.5-6.9-15.5-8-22.4-2.6L361.8 181.3l-34.1-43c-5.1-6.4-15.1-5.2-18.6 2.2l-25.3 54.6 86.7 109.2 58.8-12.4c8-1.7 11.4-11.2 6.3-17.6l-34.1-42.9L634 53.5c6.9-5.5 8-15.6 2.5-22.5z"] };
  3771. var faQuoteLeft = { prefix: 'fas', iconName: 'quote-left', icon: [512, 512, [], "f10d", "M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"] };
  3772. var faQuoteRight = { prefix: 'fas', iconName: 'quote-right', icon: [512, 512, [], "f10e", "M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"] };
  3773. var faQuran = { prefix: 'fas', iconName: 'quran', icon: [448, 512, [], "f687", "M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM301.08 145.82c.6-1.21 1.76-1.82 2.92-1.82s2.32.61 2.92 1.82l11.18 22.65 25 3.63c2.67.39 3.74 3.67 1.81 5.56l-18.09 17.63 4.27 24.89c.36 2.11-1.31 3.82-3.21 3.82-.5 0-1.02-.12-1.52-.38L304 211.87l-22.36 11.75c-.5.26-1.02.38-1.52.38-1.9 0-3.57-1.71-3.21-3.82l4.27-24.89-18.09-17.63c-1.94-1.89-.87-5.17 1.81-5.56l24.99-3.63 11.19-22.65zm-57.89-69.01c13.67 0 27.26 2.49 40.38 7.41a6.775 6.775 0 1 1-2.38 13.12c-.67 0-3.09-.21-4.13-.21-52.31 0-94.86 42.55-94.86 94.86 0 52.3 42.55 94.86 94.86 94.86 1.03 0 3.48-.21 4.13-.21 3.93 0 6.8 3.14 6.8 6.78 0 2.98-1.94 5.51-4.62 6.42-13.07 4.87-26.59 7.34-40.19 7.34C179.67 307.19 128 255.51 128 192c0-63.52 51.67-115.19 115.19-115.19zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"] };
  3774. var faRandom = { prefix: 'fas', iconName: 'random', icon: [512, 512, [], "f074", "M504.971 359.029c9.373 9.373 9.373 24.569 0 33.941l-80 79.984c-15.01 15.01-40.971 4.49-40.971-16.971V416h-58.785a12.004 12.004 0 0 1-8.773-3.812l-70.556-75.596 53.333-57.143L352 336h32v-39.981c0-21.438 25.943-31.998 40.971-16.971l80 79.981zM12 176h84l52.781 56.551 53.333-57.143-70.556-75.596A11.999 11.999 0 0 0 122.785 96H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12zm372 0v39.984c0 21.46 25.961 31.98 40.971 16.971l80-79.984c9.373-9.373 9.373-24.569 0-33.941l-80-79.981C409.943 24.021 384 34.582 384 56.019V96h-58.785a12.004 12.004 0 0 0-8.773 3.812L96 336H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h110.785c3.326 0 6.503-1.381 8.773-3.812L352 176h32z"] };
  3775. var faReceipt = { prefix: 'fas', iconName: 'receipt', icon: [384, 512, [], "f543", "M358.4 3.2L320 48 265.6 3.2a15.9 15.9 0 0 0-19.2 0L192 48 137.6 3.2a15.9 15.9 0 0 0-19.2 0L64 48 25.6 3.2C15-4.7 0 2.8 0 16v480c0 13.2 15 20.7 25.6 12.8L64 464l54.4 44.8a15.9 15.9 0 0 0 19.2 0L192 464l54.4 44.8a15.9 15.9 0 0 0 19.2 0L320 464l38.4 44.8c10.5 7.9 25.6.4 25.6-12.8V16c0-13.2-15-20.7-25.6-12.8zM320 360c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H72c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h240c4.4 0 8 3.6 8 8v16z"] };
  3776. var faRecycle = { prefix: 'fas', iconName: 'recycle', icon: [512, 512, [], "f1b8", "M184.561 261.903c3.232 13.997-12.123 24.635-24.068 17.168l-40.736-25.455-50.867 81.402C55.606 356.273 70.96 384 96.012 384H148c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12H96.115c-75.334 0-121.302-83.048-81.408-146.88l50.822-81.388-40.725-25.448c-12.081-7.547-8.966-25.961 4.879-29.158l110.237-25.45c8.611-1.988 17.201 3.381 19.189 11.99l25.452 110.237zm98.561-182.915l41.289 66.076-40.74 25.457c-12.051 7.528-9 25.953 4.879 29.158l110.237 25.45c8.672 1.999 17.215-3.438 19.189-11.99l25.45-110.237c3.197-13.844-11.99-24.719-24.068-17.168l-40.687 25.424-41.263-66.082c-37.521-60.033-125.209-60.171-162.816 0l-17.963 28.766c-3.51 5.62-1.8 13.021 3.82 16.533l33.919 21.195c5.62 3.512 13.024 1.803 16.536-3.817l17.961-28.743c12.712-20.341 41.973-19.676 54.257-.022zM497.288 301.12l-27.515-44.065c-3.511-5.623-10.916-7.334-16.538-3.821l-33.861 21.159c-5.62 3.512-7.33 10.915-3.818 16.536l27.564 44.112c13.257 21.211-2.057 48.96-27.136 48.96H320V336.02c0-14.213-17.242-21.383-27.313-11.313l-80 79.981c-6.249 6.248-6.249 16.379 0 22.627l80 79.989C302.689 517.308 320 510.3 320 495.989V448h95.88c75.274 0 121.335-82.997 81.408-146.88z"] };
  3777. var faRedo = { prefix: 'fas', iconName: 'redo', icon: [512, 512, [], "f01e", "M500.333 0h-47.411c-6.853 0-12.314 5.729-11.986 12.574l3.966 82.759C399.416 41.899 331.672 8 256.001 8 119.34 8 7.899 119.526 8 256.187 8.101 393.068 119.096 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-33.971-33.971c-4.466-4.466-11.64-4.717-16.38-.543C341.308 415.448 300.606 432 256 432c-97.267 0-176-78.716-176-176 0-97.267 78.716-176 176-176 60.892 0 114.506 30.858 146.099 77.8l-101.525-4.865c-6.845-.328-12.574 5.133-12.574 11.986v47.411c0 6.627 5.373 12 12 12h200.333c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12z"] };
  3778. var faRedoAlt = { prefix: 'fas', iconName: 'redo-alt', icon: [512, 512, [], "f2f9", "M256.455 8c66.269.119 126.437 26.233 170.859 68.685l35.715-35.715C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.75c-30.864-28.899-70.801-44.907-113.23-45.273-92.398-.798-170.283 73.977-169.484 169.442C88.764 348.009 162.184 424 256 424c41.127 0 79.997-14.678 110.629-41.556 4.743-4.161 11.906-3.908 16.368.553l39.662 39.662c4.872 4.872 4.631 12.815-.482 17.433C378.202 479.813 319.926 504 256 504 119.034 504 8.001 392.967 8 256.002 7.999 119.193 119.646 7.755 256.455 8z"] };
  3779. var faRegistered = { prefix: 'fas', iconName: 'registered', icon: [512, 512, [], "f25d", "M285.363 207.475c0 18.6-9.831 28.431-28.431 28.431h-29.876v-56.14h23.378c28.668 0 34.929 8.773 34.929 27.709zM504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM363.411 360.414c-46.729-84.825-43.299-78.636-44.702-80.98 23.432-15.172 37.945-42.979 37.945-74.486 0-54.244-31.5-89.252-105.498-89.252h-70.667c-13.255 0-24 10.745-24 24V372c0 13.255 10.745 24 24 24h22.567c13.255 0 24-10.745 24-24v-71.663h25.556l44.129 82.937a24.001 24.001 0 0 0 21.188 12.727h24.464c18.261-.001 29.829-19.591 21.018-35.587z"] };
  3780. var faReply = { prefix: 'fas', iconName: 'reply', icon: [512, 512, [], "f3e5", "M8.309 189.836L184.313 37.851C199.719 24.546 224 35.347 224 56.015v80.053c160.629 1.839 288 34.032 288 186.258 0 61.441-39.581 122.309-83.333 154.132-13.653 9.931-33.111-2.533-28.077-18.631 45.344-145.012-21.507-183.51-176.59-185.742V360c0 20.7-24.3 31.453-39.687 18.164l-176.004-152c-11.071-9.562-11.086-26.753 0-36.328z"] };
  3781. var faReplyAll = { prefix: 'fas', iconName: 'reply-all', icon: [576, 512, [], "f122", "M136.309 189.836L312.313 37.851C327.72 24.546 352 35.348 352 56.015v82.763c129.182 10.231 224 52.212 224 183.548 0 61.441-39.582 122.309-83.333 154.132-13.653 9.931-33.111-2.533-28.077-18.631 38.512-123.162-3.922-169.482-112.59-182.015v84.175c0 20.701-24.3 31.453-39.687 18.164L136.309 226.164c-11.071-9.561-11.086-26.753 0-36.328zm-128 36.328L184.313 378.15C199.7 391.439 224 380.687 224 359.986v-15.818l-108.606-93.785A55.96 55.96 0 0 1 96 207.998a55.953 55.953 0 0 1 19.393-42.38L224 71.832V56.015c0-20.667-24.28-31.469-39.687-18.164L8.309 189.836c-11.086 9.575-11.071 26.767 0 36.328z"] };
  3782. var faRetweet = { prefix: 'fas', iconName: 'retweet', icon: [640, 512, [], "f079", "M629.657 343.598L528.971 444.284c-9.373 9.372-24.568 9.372-33.941 0L394.343 343.598c-9.373-9.373-9.373-24.569 0-33.941l10.823-10.823c9.562-9.562 25.133-9.34 34.419.492L480 342.118V160H292.451a24.005 24.005 0 0 1-16.971-7.029l-16-16C244.361 121.851 255.069 96 276.451 96H520c13.255 0 24 10.745 24 24v222.118l40.416-42.792c9.285-9.831 24.856-10.054 34.419-.492l10.823 10.823c9.372 9.372 9.372 24.569-.001 33.941zm-265.138 15.431A23.999 23.999 0 0 0 347.548 352H160V169.881l40.416 42.792c9.286 9.831 24.856 10.054 34.419.491l10.822-10.822c9.373-9.373 9.373-24.569 0-33.941L144.971 67.716c-9.373-9.373-24.569-9.373-33.941 0L10.343 168.402c-9.373 9.373-9.373 24.569 0 33.941l10.822 10.822c9.562 9.562 25.133 9.34 34.419-.491L96 169.881V392c0 13.255 10.745 24 24 24h243.549c21.382 0 32.09-25.851 16.971-40.971l-16.001-16z"] };
  3783. var faRibbon = { prefix: 'fas', iconName: 'ribbon', icon: [448, 512, [], "f4d6", "M6.1 444.3c-9.6 10.8-7.5 27.6 4.5 35.7l68.8 27.9c9.9 6.7 23.3 5 31.3-3.8l91.8-101.9-79.2-87.9-117.2 130zm435.8 0s-292-324.6-295.4-330.1c15.4-8.4 40.2-17.9 77.5-17.9s62.1 9.5 77.5 17.9c-3.3 5.6-56 64.6-56 64.6l79.1 87.7 34.2-38c28.7-31.9 33.3-78.6 11.4-115.5l-43.7-73.5c-4.3-7.2-9.9-13.3-16.8-18-40.7-27.6-127.4-29.7-171.4 0-6.9 4.7-12.5 10.8-16.8 18l-43.6 73.2c-1.5 2.5-37.1 62.2 11.5 116L337.5 504c8 8.9 21.4 10.5 31.3 3.8l68.8-27.9c11.9-8 14-24.8 4.3-35.6z"] };
  3784. var faRing = { prefix: 'fas', iconName: 'ring', icon: [512, 512, [], "f70b", "M256 64C110.06 64 0 125.91 0 208v98.13C0 384.48 114.62 448 256 448s256-63.52 256-141.87V208c0-82.09-110.06-144-256-144zm0 64c106.04 0 192 35.82 192 80 0 9.26-3.97 18.12-10.91 26.39C392.15 208.21 328.23 192 256 192s-136.15 16.21-181.09 42.39C67.97 226.12 64 217.26 64 208c0-44.18 85.96-80 192-80zM120.43 264.64C155.04 249.93 201.64 240 256 240s100.96 9.93 135.57 24.64C356.84 279.07 308.93 288 256 288s-100.84-8.93-135.57-23.36z"] };
  3785. var faRoad = { prefix: 'fas', iconName: 'road', icon: [576, 512, [], "f018", "M573.19 402.67l-139.79-320C428.43 71.29 417.6 64 405.68 64h-97.59l2.45 23.16c.5 4.72-3.21 8.84-7.96 8.84h-29.16c-4.75 0-8.46-4.12-7.96-8.84L267.91 64h-97.59c-11.93 0-22.76 7.29-27.73 18.67L2.8 402.67C-6.45 423.86 8.31 448 30.54 448h196.84l10.31-97.68c.86-8.14 7.72-14.32 15.91-14.32h68.8c8.19 0 15.05 6.18 15.91 14.32L348.62 448h196.84c22.23 0 36.99-24.14 27.73-45.33zM260.4 135.16a8 8 0 0 1 7.96-7.16h39.29c4.09 0 7.53 3.09 7.96 7.16l4.6 43.58c.75 7.09-4.81 13.26-11.93 13.26h-40.54c-7.13 0-12.68-6.17-11.93-13.26l4.59-43.58zM315.64 304h-55.29c-9.5 0-16.91-8.23-15.91-17.68l5.07-48c.86-8.14 7.72-14.32 15.91-14.32h45.15c8.19 0 15.05 6.18 15.91 14.32l5.07 48c1 9.45-6.41 17.68-15.91 17.68z"] };
  3786. var faRobot = { prefix: 'fas', iconName: 'robot', icon: [640, 512, [], "f544", "M0 256v128c0 17.7 14.3 32 32 32h32V224H32c-17.7 0-32 14.3-32 32zM464 96H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H176c-44.2 0-80 35.8-80 80v272c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V176c0-44.2-35.8-80-80-80zM256 416h-64v-32h64v32zm-32-120c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm128 120h-64v-32h64v32zm96 0h-64v-32h64v32zm-32-120c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm192-72h-32v192h32c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32z"] };
  3787. var faRocket = { prefix: 'fas', iconName: 'rocket', icon: [512, 512, [], "f135", "M505.1 19.1C503.8 13 499 8.2 492.9 6.9 460.7 0 435.5 0 410.4 0 307.2 0 245.3 55.2 199.1 128H94.9c-18.2 0-34.8 10.3-42.9 26.5L2.6 253.3c-8 16 3.6 34.7 21.5 34.7h95.1c-5.9 12.8-11.9 25.5-18 37.7-3.1 6.2-1.9 13.6 3 18.5l63.6 63.6c4.9 4.9 12.3 6.1 18.5 3 12.2-6.1 24.9-12 37.7-17.9V488c0 17.8 18.8 29.4 34.7 21.5l98.7-49.4c16.3-8.1 26.5-24.8 26.5-42.9V312.8c72.6-46.3 128-108.4 128-211.1.1-25.2.1-50.4-6.8-82.6zM400 160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"] };
  3788. var faRoute = { prefix: 'fas', iconName: 'route', icon: [512, 512, [], "f4d7", "M416 320h-96c-17.6 0-32-14.4-32-32s14.4-32 32-32h96s96-107 96-160-43-96-96-96-96 43-96 96c0 25.5 22.2 63.4 45.3 96H320c-52.9 0-96 43.1-96 96s43.1 96 96 96h96c17.6 0 32 14.4 32 32s-14.4 32-32 32H185.5c-16 24.8-33.8 47.7-47.3 64H416c52.9 0 96-43.1 96-96s-43.1-96-96-96zm0-256c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM96 256c-53 0-96 43-96 96s96 160 96 160 96-107 96-160-43-96-96-96zm0 128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3789. var faRss = { prefix: 'fas', iconName: 'rss', icon: [448, 512, [], "f09e", "M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"] };
  3790. var faRssSquare = { prefix: 'fas', iconName: 'rss-square', icon: [448, 512, [], "f143", "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM112 416c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm157.533 0h-34.335c-6.011 0-11.051-4.636-11.442-10.634-5.214-80.05-69.243-143.92-149.123-149.123-5.997-.39-10.633-5.431-10.633-11.441v-34.335c0-6.535 5.468-11.777 11.994-11.425 110.546 5.974 198.997 94.536 204.964 204.964.352 6.526-4.89 11.994-11.425 11.994zm103.027 0h-34.334c-6.161 0-11.175-4.882-11.427-11.038-5.598-136.535-115.204-246.161-251.76-251.76C68.882 152.949 64 147.935 64 141.774V107.44c0-6.454 5.338-11.664 11.787-11.432 167.83 6.025 302.21 141.191 308.205 308.205.232 6.449-4.978 11.787-11.432 11.787z"] };
  3791. var faRubleSign = { prefix: 'fas', iconName: 'ruble-sign', icon: [384, 512, [], "f158", "M239.36 320C324.48 320 384 260.542 384 175.071S324.48 32 239.36 32H76c-6.627 0-12 5.373-12 12v206.632H12c-6.627 0-12 5.373-12 12V308c0 6.627 5.373 12 12 12h52v32H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v52c0 6.627 5.373 12 12 12h58.56c6.627 0 12-5.373 12-12v-52H308c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12H146.56v-32h92.8zm-92.8-219.252h78.72c46.72 0 74.88 29.11 74.88 74.323 0 45.832-28.16 75.561-76.16 75.561h-77.44V100.748z"] };
  3792. var faRuler = { prefix: 'fas', iconName: 'ruler', icon: [640, 512, [], "f545", "M635.7 167.2L556.1 31.7c-8.8-15-28.3-20.1-43.5-11.5l-69 39.1L503.3 161c2.2 3.8.9 8.5-2.9 10.7l-13.8 7.8c-3.8 2.2-8.7.9-10.9-2.9L416 75l-55.2 31.3 27.9 47.4c2.2 3.8.9 8.5-2.9 10.7l-13.8 7.8c-3.8 2.2-8.7.9-10.9-2.9L333.2 122 278 153.3 337.8 255c2.2 3.7.9 8.5-2.9 10.7l-13.8 7.8c-3.8 2.2-8.7.9-10.9-2.9l-59.7-101.7-55.2 31.3 27.9 47.4c2.2 3.8.9 8.5-2.9 10.7l-13.8 7.8c-3.8 2.2-8.7.9-10.9-2.9l-27.9-47.5-55.2 31.3 59.7 101.7c2.2 3.7.9 8.5-2.9 10.7l-13.8 7.8c-3.8 2.2-8.7.9-10.9-2.9L84.9 262.9l-69 39.1C.7 310.7-4.6 329.8 4.2 344.8l79.6 135.6c8.8 15 28.3 20.1 43.5 11.5L624.1 210c15.2-8.6 20.4-27.8 11.6-42.8z"] };
  3793. var faRulerCombined = { prefix: 'fas', iconName: 'ruler-combined', icon: [512, 512, [], "f546", "M160 288h-56c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h56v-64h-56c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h56V96h-56c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8h56V32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v448c0 2.77.91 5.24 1.57 7.8L160 329.38V288zm320 64h-32v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-64v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-64v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-41.37L24.2 510.43c2.56.66 5.04 1.57 7.8 1.57h448c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"] };
  3794. var faRulerHorizontal = { prefix: 'fas', iconName: 'ruler-horizontal', icon: [576, 512, [], "f547", "M544 128h-48v88c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-88h-64v88c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-88h-64v88c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-88h-64v88c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-88h-64v88c0 4.42-3.58 8-8 8H88c-4.42 0-8-3.58-8-8v-88H32c-17.67 0-32 14.33-32 32v192c0 17.67 14.33 32 32 32h512c17.67 0 32-14.33 32-32V160c0-17.67-14.33-32-32-32z"] };
  3795. var faRulerVertical = { prefix: 'fas', iconName: 'ruler-vertical', icon: [256, 512, [], "f548", "M168 416c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h88v-64h-88c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h88v-64h-88c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h88v-64h-88c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h88V32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v448c0 17.67 14.33 32 32 32h192c17.67 0 32-14.33 32-32v-64h-88z"] };
  3796. var faRunning = { prefix: 'fas', iconName: 'running', icon: [416, 512, [], "f70c", "M272 96c26.51 0 48-21.49 48-48S298.51 0 272 0s-48 21.49-48 48 21.49 48 48 48zM113.69 317.47l-14.8 34.52H32c-17.67 0-32 14.33-32 32s14.33 32 32 32h77.45c19.25 0 36.58-11.44 44.11-29.09l8.79-20.52-10.67-6.3c-17.32-10.23-30.06-25.37-37.99-42.61zM384 223.99h-44.03l-26.06-53.25c-12.5-25.55-35.45-44.23-61.78-50.94l-71.08-21.14c-28.3-6.8-57.77-.55-80.84 17.14l-39.67 30.41c-14.03 10.75-16.69 30.83-5.92 44.86s30.84 16.66 44.86 5.92l39.69-30.41c7.67-5.89 17.44-8 25.27-6.14l14.7 4.37-37.46 87.39c-12.62 29.48-1.31 64.01 26.3 80.31l84.98 50.17-27.47 87.73c-5.28 16.86 4.11 34.81 20.97 40.09 3.19 1 6.41 1.48 9.58 1.48 13.61 0 26.23-8.77 30.52-22.45l31.64-101.06c5.91-20.77-2.89-43.08-21.64-54.39l-61.24-36.14 31.31-78.28 20.27 41.43c8 16.34 24.92 26.89 43.11 26.89H384c17.67 0 32-14.33 32-32s-14.33-31.99-32-31.99z"] };
  3797. var faRupeeSign = { prefix: 'fas', iconName: 'rupee-sign', icon: [320, 512, [], "f156", "M308 96c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v44.748c0 6.627 5.373 12 12 12h85.28c27.308 0 48.261 9.958 60.97 27.252H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h158.757c-6.217 36.086-32.961 58.632-74.757 58.632H12c-6.627 0-12 5.373-12 12v53.012c0 3.349 1.4 6.546 3.861 8.818l165.052 152.356a12.001 12.001 0 0 0 8.139 3.182h82.562c10.924 0 16.166-13.408 8.139-20.818L116.871 319.906c76.499-2.34 131.144-53.395 138.318-127.906H308c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-58.69c-3.486-11.541-8.28-22.246-14.252-32H308z"] };
  3798. var faSadCry = { prefix: 'fas', iconName: 'sad-cry', icon: [496, 512, [], "f5b3", "M248 8C111 8 0 119 0 256c0 90.1 48.2 168.7 120 212.1V288c0-8.8 7.2-16 16-16s16 7.2 16 16v196.7c29.5 12.4 62 19.3 96 19.3s66.5-6.9 96-19.3V288c0-8.8 7.2-16 16-16s16 7.2 16 16v180.1C447.8 424.7 496 346 496 256 496 119 385 8 248 8zm-65.5 216.5c-14.8-13.2-46.2-13.2-61 0L112 233c-3.8 3.3-9.3 4-13.7 1.6-4.4-2.4-6.9-7.4-6.1-12.4 4-25.2 34.2-42.1 59.9-42.1S208 197 212 222.2c.8 5-1.7 10-6.1 12.4-5.8 3.1-11.2.7-13.7-1.6l-9.7-8.5zM248 416c-26.5 0-48-28.7-48-64s21.5-64 48-64 48 28.7 48 64-21.5 64-48 64zm149.8-181.5c-5.8 3.1-11.2.7-13.7-1.6l-9.5-8.5c-14.8-13.2-46.2-13.2-61 0L304 233c-3.8 3.3-9.3 4-13.7 1.6-4.4-2.4-6.9-7.4-6.1-12.4 4-25.2 34.2-42.1 59.9-42.1S400 197 404 222.2c.6 4.9-1.8 9.9-6.2 12.3z"] };
  3799. var faSadTear = { prefix: 'fas', iconName: 'sad-tear', icon: [496, 512, [], "f5b4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM152 416c-26.5 0-48-21-48-47 0-20 28.5-60.4 41.6-77.8 3.2-4.3 9.6-4.3 12.8 0C171.5 308.6 200 349 200 369c0 26-21.5 47-48 47zm16-176c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm170.2 154.2C315.8 367.4 282.9 352 248 352c-21.2 0-21.2-32 0-32 44.4 0 86.3 19.6 114.7 53.8 13.8 16.4-11.2 36.5-24.5 20.4z"] };
  3800. var faSave = { prefix: 'fas', iconName: 'save', icon: [448, 512, [], "f0c7", "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"] };
  3801. var faSchool = { prefix: 'fas', iconName: 'school', icon: [640, 512, [], "f549", "M0 224v272c0 8.84 7.16 16 16 16h80V192H32c-17.67 0-32 14.33-32 32zm360-48h-24v-40c0-4.42-3.58-8-8-8h-16c-4.42 0-8 3.58-8 8v64c0 4.42 3.58 8 8 8h48c4.42 0 8-3.58 8-8v-16c0-4.42-3.58-8-8-8zm137.75-63.96l-160-106.67a32.02 32.02 0 0 0-35.5 0l-160 106.67A32.002 32.002 0 0 0 128 138.66V512h128V368c0-8.84 7.16-16 16-16h96c8.84 0 16 7.16 16 16v144h128V138.67c0-10.7-5.35-20.7-14.25-26.63zM320 256c-44.18 0-80-35.82-80-80s35.82-80 80-80 80 35.82 80 80-35.82 80-80 80zm288-64h-64v320h80c8.84 0 16-7.16 16-16V224c0-17.67-14.33-32-32-32z"] };
  3802. var faScrewdriver = { prefix: 'fas', iconName: 'screwdriver', icon: [512, 512, [], "f54a", "M448 0L320 96v62.06l-83.03 83.03c6.79 4.25 13.27 9.06 19.07 14.87 5.8 5.8 10.62 12.28 14.87 19.07L353.94 192H416l96-128-64-64zM128 278.59L10.92 395.67c-14.55 14.55-14.55 38.15 0 52.71l52.7 52.7c14.56 14.56 38.15 14.56 52.71 0L233.41 384c29.11-29.11 29.11-76.3 0-105.41s-76.3-29.11-105.41 0z"] };
  3803. var faScroll = { prefix: 'fas', iconName: 'scroll', icon: [640, 512, [], "f70e", "M48 0C21.53 0 0 21.53 0 48v64c0 8.84 7.16 16 16 16h80V48C96 21.53 74.47 0 48 0zm208 412.57V352h288V96c0-52.94-43.06-96-96-96H111.59C121.74 13.41 128 29.92 128 48v368c0 38.87 34.65 69.65 74.75 63.12C234.22 474 256 444.46 256 412.57zM288 384v32c0 52.93-43.06 96-96 96h336c61.86 0 112-50.14 112-112 0-8.84-7.16-16-16-16H288z"] };
  3804. var faSearch = { prefix: 'fas', iconName: 'search', icon: [512, 512, [], "f002", "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"] };
  3805. var faSearchDollar = { prefix: 'fas', iconName: 'search-dollar', icon: [512, 512, [], "f688", "M505.04 442.66l-99.71-99.69c-4.5-4.5-10.6-7-17-7h-16.3c27.6-35.3 44-79.69 44-127.99C416.03 93.09 322.92 0 208.02 0S0 93.09 0 207.98s93.11 207.98 208.02 207.98c48.3 0 92.71-16.4 128.01-44v16.3c0 6.4 2.5 12.5 7 17l99.71 99.69c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.59.1-33.99zm-297.02-90.7c-79.54 0-144-64.34-144-143.98 0-79.53 64.35-143.98 144-143.98 79.54 0 144 64.34 144 143.98 0 79.53-64.35 143.98-144 143.98zm27.11-152.54l-45.01-13.5c-5.16-1.55-8.77-6.78-8.77-12.73 0-7.27 5.3-13.19 11.8-13.19h28.11c4.56 0 8.96 1.29 12.82 3.72 3.24 2.03 7.36 1.91 10.13-.73l11.75-11.21c3.53-3.37 3.33-9.21-.57-12.14-9.1-6.83-20.08-10.77-31.37-11.35V112c0-4.42-3.58-8-8-8h-16c-4.42 0-8 3.58-8 8v16.12c-23.63.63-42.68 20.55-42.68 45.07 0 19.97 12.99 37.81 31.58 43.39l45.01 13.5c5.16 1.55 8.77 6.78 8.77 12.73 0 7.27-5.3 13.19-11.8 13.19h-28.1c-4.56 0-8.96-1.29-12.82-3.72-3.24-2.03-7.36-1.91-10.13.73l-11.75 11.21c-3.53 3.37-3.33 9.21.57 12.14 9.1 6.83 20.08 10.77 31.37 11.35V304c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-16.12c23.63-.63 42.68-20.54 42.68-45.07 0-19.97-12.99-37.81-31.59-43.39z"] };
  3806. var faSearchLocation = { prefix: 'fas', iconName: 'search-location', icon: [512, 512, [], "f689", "M505.04 442.66l-99.71-99.69c-4.5-4.5-10.6-7-17-7h-16.3c27.6-35.3 44-79.69 44-127.99C416.03 93.09 322.92 0 208.02 0S0 93.09 0 207.98s93.11 207.98 208.02 207.98c48.3 0 92.71-16.4 128.01-44v16.3c0 6.4 2.5 12.5 7 17l99.71 99.69c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.59.1-33.99zm-297.02-90.7c-79.54 0-144-64.34-144-143.98 0-79.53 64.35-143.98 144-143.98 79.54 0 144 64.34 144 143.98 0 79.53-64.35 143.98-144 143.98zm.02-239.96c-40.78 0-73.84 33.05-73.84 73.83 0 32.96 48.26 93.05 66.75 114.86a9.24 9.24 0 0 0 14.18 0c18.49-21.81 66.75-81.89 66.75-114.86 0-40.78-33.06-73.83-73.84-73.83zm0 96c-13.26 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"] };
  3807. var faSearchMinus = { prefix: 'fas', iconName: 'search-minus', icon: [512, 512, [], "f010", "M304 192v32c0 6.6-5.4 12-12 12H124c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z"] };
  3808. var faSearchPlus = { prefix: 'fas', iconName: 'search-plus', icon: [512, 512, [], "f00e", "M304 192v32c0 6.6-5.4 12-12 12h-56v56c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-56h-56c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h56v-56c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v56h56c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z"] };
  3809. var faSeedling = { prefix: 'fas', iconName: 'seedling', icon: [512, 512, [], "f4d8", "M64 96H0c0 123.7 100.3 224 224 224v144c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V320C288 196.3 187.7 96 64 96zm384-64c-84.2 0-157.4 46.5-195.7 115.2 27.7 30.2 48.2 66.9 59 107.6C424 243.1 512 147.9 512 32h-64z"] };
  3810. var faServer = { prefix: 'fas', iconName: 'server', icon: [512, 512, [], "f233", "M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"] };
  3811. var faShapes = { prefix: 'fas', iconName: 'shapes', icon: [512, 512, [], "f61f", "M512 320v160c0 17.67-14.33 32-32 32H320c-17.67 0-32-14.33-32-32V320c0-17.67 14.33-32 32-32h160c17.67 0 32 14.33 32 32zm-384-64C57.31 256 0 313.31 0 384s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm351.03-32c25.34 0 41.18-26.67 28.51-48L412.51 16c-12.67-21.33-44.35-21.33-57.02 0l-95.03 160c-12.67 21.33 3.17 48 28.51 48h190.06z"] };
  3812. var faShare = { prefix: 'fas', iconName: 'share', icon: [512, 512, [], "f064", "M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"] };
  3813. var faShareAlt = { prefix: 'fas', iconName: 'share-alt', icon: [448, 512, [], "f1e0", "M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z"] };
  3814. var faShareAltSquare = { prefix: 'fas', iconName: 'share-alt-square', icon: [448, 512, [], "f1e1", "M448 80v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48zM304 296c-14.562 0-27.823 5.561-37.783 14.671l-67.958-40.775a56.339 56.339 0 0 0 0-27.793l67.958-40.775C276.177 210.439 289.438 216 304 216c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56c0 4.797.605 9.453 1.74 13.897l-67.958 40.775C171.823 205.561 158.562 200 144 200c-30.928 0-56 25.072-56 56s25.072 56 56 56c14.562 0 27.823-5.561 37.783-14.671l67.958 40.775a56.088 56.088 0 0 0-1.74 13.897c0 30.928 25.072 56 56 56s56-25.072 56-56C360 321.072 334.928 296 304 296z"] };
  3815. var faShareSquare = { prefix: 'fas', iconName: 'share-square', icon: [576, 512, [], "f14d", "M568.482 177.448L424.479 313.433C409.3 327.768 384 317.14 384 295.985v-71.963c-144.575.97-205.566 35.113-164.775 171.353 4.483 14.973-12.846 26.567-25.006 17.33C155.252 383.105 120 326.488 120 269.339c0-143.937 117.599-172.5 264-173.312V24.012c0-21.174 25.317-31.768 40.479-17.448l144.003 135.988c10.02 9.463 10.028 25.425 0 34.896zM384 379.128V448H64V128h50.916a11.99 11.99 0 0 0 8.648-3.693c14.953-15.568 32.237-27.89 51.014-37.676C185.708 80.83 181.584 64 169.033 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48v-88.806c0-8.288-8.197-14.066-16.011-11.302a71.83 71.83 0 0 1-34.189 3.377c-7.27-1.046-13.8 4.514-13.8 11.859z"] };
  3816. var faShekelSign = { prefix: 'fas', iconName: 'shekel-sign', icon: [448, 512, [], "f20b", "M248 168v168c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V168c0-75.11-60.89-136-136-136H24C10.75 32 0 42.74 0 56v408c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V112h112c30.93 0 56 25.07 56 56zM432 32h-48c-8.84 0-16 7.16-16 16v296c0 30.93-25.07 56-56 56H200V176c0-8.84-7.16-16-16-16h-48c-8.84 0-16 7.16-16 16v280c0 13.25 10.75 24 24 24h168c75.11 0 136-60.89 136-136V48c0-8.84-7.16-16-16-16z"] };
  3817. var faShieldAlt = { prefix: 'fas', iconName: 'shield-alt', icon: [512, 512, [], "f3ed", "M496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 0 1-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0 1 29.539-44.308l192-80a48 48 0 0 1 36.923 0l192 80A48 48 0 0 1 496 128zM256 446.313l.066.034c93.735-46.689 172.497-156.308 175.817-307.729L256 65.333v380.98z"] };
  3818. var faShip = { prefix: 'fas', iconName: 'ship', icon: [640, 512, [], "f21a", "M496.616 372.639l70.012-70.012c16.899-16.9 9.942-45.771-12.836-53.092L512 236.102V96c0-17.673-14.327-32-32-32h-64V24c0-13.255-10.745-24-24-24H248c-13.255 0-24 10.745-24 24v40h-64c-17.673 0-32 14.327-32 32v140.102l-41.792 13.433c-22.753 7.313-29.754 36.173-12.836 53.092l70.012 70.012C125.828 416.287 85.587 448 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24 61.023 0 107.499-20.61 143.258-59.396C181.677 487.432 216.021 512 256 512h128c39.979 0 74.323-24.568 88.742-59.396C508.495 491.384 554.968 512 616 512c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24-60.817 0-101.542-31.001-119.384-75.361zM192 128h256v87.531l-118.208-37.995a31.995 31.995 0 0 0-19.584 0L192 215.531V128z"] };
  3819. var faShippingFast = { prefix: 'fas', iconName: 'shipping-fast', icon: [640, 512, [], "f48b", "M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v48H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h272c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H40c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H64v128c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"] };
  3820. var faShoePrints = { prefix: 'fas', iconName: 'shoe-prints', icon: [640, 512, [], "f54b", "M192 160h32V32h-32c-35.35 0-64 28.65-64 64s28.65 64 64 64zM0 416c0 35.35 28.65 64 64 64h32V352H64c-35.35 0-64 28.65-64 64zm337.46-128c-34.91 0-76.16 13.12-104.73 32-24.79 16.38-44.52 32-104.73 32v128l57.53 15.97c26.21 7.28 53.01 13.12 80.31 15.05 32.69 2.31 65.6.67 97.58-6.2C472.9 481.3 512 429.22 512 384c0-64-84.18-96-174.54-96zM491.42 7.19C459.44.32 426.53-1.33 393.84.99c-27.3 1.93-54.1 7.77-80.31 15.04L256 32v128c60.2 0 79.94 15.62 104.73 32 28.57 18.88 69.82 32 104.73 32C555.82 224 640 192 640 128c0-45.22-39.1-97.3-148.58-120.81z"] };
  3821. var faShoppingBag = { prefix: 'fas', iconName: 'shopping-bag', icon: [448, 512, [], "f290", "M352 160v-32C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128v32H0v272c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V160h-96zm-192-32c0-35.29 28.71-64 64-64s64 28.71 64 64v32H160v-32zm160 120c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm-192 0c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24z"] };
  3822. var faShoppingBasket = { prefix: 'fas', iconName: 'shopping-basket', icon: [576, 512, [], "f291", "M576 216v16c0 13.255-10.745 24-24 24h-8l-26.113 182.788C514.509 462.435 494.257 480 470.37 480H105.63c-23.887 0-44.139-17.565-47.518-41.212L32 256h-8c-13.255 0-24-10.745-24-24v-16c0-13.255 10.745-24 24-24h67.341l106.78-146.821c10.395-14.292 30.407-17.453 44.701-7.058 14.293 10.395 17.453 30.408 7.058 44.701L170.477 192h235.046L326.12 82.821c-10.395-14.292-7.234-34.306 7.059-44.701 14.291-10.395 34.306-7.235 44.701 7.058L484.659 192H552c13.255 0 24 10.745 24 24zM312 392V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm112 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm-224 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24z"] };
  3823. var faShoppingCart = { prefix: 'fas', iconName: 'shopping-cart', icon: [576, 512, [], "f07a", "M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"] };
  3824. var faShower = { prefix: 'fas', iconName: 'shower', icon: [512, 512, [], "f2cc", "M389.66 135.6L231.6 293.66c-9.37 9.37-24.57 9.37-33.94 0l-11.32-11.32c-9.37-9.37-9.37-24.57 0-33.94l.11-.11c-34.03-40.21-35.16-98.94-3.39-140.38-11.97-7.55-26.14-11.91-41.3-11.91C98.88 96 64 130.88 64 173.76V480H0V173.76C0 95.59 63.59 32 141.76 32c36.93 0 70.61 14.2 95.86 37.42 35.9-11.51 76.5-4.5 106.67 21.03l.11-.11c9.37-9.37 24.57-9.37 33.94 0l11.32 11.32c9.37 9.37 9.37 24.57 0 33.94zM384 208c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm32 0c0-8.837 7.163-16 16-16s16 7.163 16 16-7.163 16-16 16-16-7.163-16-16zm96 0c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-160 32c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm48-16c8.837 0 16 7.163 16 16s-7.163 16-16 16-16-7.163-16-16 7.163-16 16-16zm80 16c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-160 32c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm32 0c0-8.837 7.163-16 16-16s16 7.163 16 16-7.163 16-16 16-16-7.163-16-16zm96 0c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-128 32c0-8.837 7.163-16 16-16s16 7.163 16 16-7.163 16-16 16-16-7.163-16-16zm96 0c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-96 32c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm64 0c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-32 32c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16zm-32 32c0 8.837-7.163 16-16 16s-16-7.163-16-16 7.163-16 16-16 16 7.163 16 16z"] };
  3825. var faShuttleVan = { prefix: 'fas', iconName: 'shuttle-van', icon: [640, 512, [], "f5b6", "M628.88 210.65L494.39 49.27A48.01 48.01 0 0 0 457.52 32H32C14.33 32 0 46.33 0 64v288c0 17.67 14.33 32 32 32h32c0 53.02 42.98 96 96 96s96-42.98 96-96h128c0 53.02 42.98 96 96 96s96-42.98 96-96h32c17.67 0 32-14.33 32-32V241.38c0-11.23-3.94-22.1-11.12-30.73zM64 192V96h96v96H64zm96 240c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm160-240h-96V96h96v96zm160 240c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm-96-240V96h66.02l80 96H384z"] };
  3826. var faSign = { prefix: 'fas', iconName: 'sign', icon: [512, 512, [], "f4d9", "M496 64H128V16c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16v48H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h48v368c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V128h368c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM160 384h320V160H160v224z"] };
  3827. var faSignInAlt = { prefix: 'fas', iconName: 'sign-in-alt', icon: [512, 512, [], "f2f6", "M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z"] };
  3828. var faSignLanguage = { prefix: 'fas', iconName: 'sign-language', icon: [448, 512, [], "f2a7", "M91.434 483.987c-.307-16.018 13.109-29.129 29.13-29.129h62.293v-5.714H56.993c-16.021 0-29.437-13.111-29.13-29.129C28.16 404.491 40.835 392 56.428 392h126.429v-5.714H29.136c-16.021 0-29.437-13.111-29.13-29.129.297-15.522 12.973-28.013 28.566-28.013h154.286v-5.714H57.707c-16.021 0-29.437-13.111-29.13-29.129.297-15.522 12.973-28.013 28.566-28.013h168.566l-31.085-22.606c-12.762-9.281-15.583-27.149-6.302-39.912 9.281-12.761 27.15-15.582 39.912-6.302l123.361 89.715a34.287 34.287 0 0 1 14.12 27.728v141.136c0 15.91-10.946 29.73-26.433 33.374l-80.471 18.934a137.16 137.16 0 0 1-31.411 3.646H120c-15.593-.001-28.269-12.492-28.566-28.014zm73.249-225.701h36.423l-11.187-8.136c-18.579-13.511-20.313-40.887-3.17-56.536l-13.004-16.7c-9.843-12.641-28.43-15.171-40.88-5.088-12.065 9.771-14.133 27.447-4.553 39.75l36.371 46.71zm283.298-2.103l-5.003-152.452c-.518-15.771-13.722-28.136-29.493-27.619-15.773.518-28.137 13.722-27.619 29.493l1.262 38.415L283.565 11.019c-9.58-12.303-27.223-14.63-39.653-5.328-12.827 9.599-14.929 28.24-5.086 40.881l76.889 98.745-4.509 3.511-94.79-121.734c-9.58-12.303-27.223-14.63-39.653-5.328-12.827 9.599-14.929 28.24-5.086 40.881l94.443 121.288-4.509 3.511-77.675-99.754c-9.58-12.303-27.223-14.63-39.653-5.328-12.827 9.599-14.929 28.24-5.086 40.881l52.053 66.849c12.497-8.257 29.055-8.285 41.69.904l123.36 89.714c10.904 7.93 17.415 20.715 17.415 34.198v16.999l61.064-47.549a34.285 34.285 0 0 0 13.202-28.177z"] };
  3829. var faSignOutAlt = { prefix: 'fas', iconName: 'sign-out-alt', icon: [512, 512, [], "f2f5", "M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"] };
  3830. var faSignal = { prefix: 'fas', iconName: 'signal', icon: [640, 512, [], "f012", "M216 288h-48c-8.84 0-16 7.16-16 16v192c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V304c0-8.84-7.16-16-16-16zM88 384H40c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16zm256-192h-48c-8.84 0-16 7.16-16 16v288c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V208c0-8.84-7.16-16-16-16zm128-96h-48c-8.84 0-16 7.16-16 16v384c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V112c0-8.84-7.16-16-16-16zM600 0h-48c-8.84 0-16 7.16-16 16v480c0 8.84 7.16 16 16 16h48c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z"] };
  3831. var faSignature = { prefix: 'fas', iconName: 'signature', icon: [512, 512, [], "f5b7", "M496 320h-91.86c-9.27 0-19.72-11.31-25.78-28.52-15.23-43.36-48.11-70.3-85.8-70.3-30.84 0-58.47 18.05-76.11 49.23L194.8 106.5C188.84 81.08 169.34 64 146.28 64c-23.05 0-42.55 17.08-48.5 42.5L56.16 284.2C50.7 307.45 37.75 320 28.33 320H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h12.33c41.97 0 78.19-34.23 90.14-85.2l23.84-101.78 29.25 222.11c1.98 15.05 13.82 27.45 28.94 28.75.99.09 1.96.13 2.93.13 14.08 0 26.64-9.27 30.69-22.95l33.03-112.34c5.88-16.72 15.84-27.52 25.41-27.52 9.58 0 19.55 10.8 25.78 28.52 15.23 43.36 48.11 70.3 85.8 70.3H496c8.84 0 16-7.16 16-16v-32c0-8.86-7.16-16.02-16-16.02z"] };
  3832. var faSitemap = { prefix: 'fas', iconName: 'sitemap', icon: [640, 512, [], "f0e8", "M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"] };
  3833. var faSkull = { prefix: 'fas', iconName: 'skull', icon: [512, 512, [], "f54c", "M256 0C114.6 0 0 100.3 0 224c0 70.1 36.9 132.6 94.5 173.7 9.6 6.9 15.2 18.1 13.5 29.9l-9.4 66.2c-1.4 9.6 6 18.2 15.7 18.2H192v-56c0-4.4 3.6-8 8-8h16c4.4 0 8 3.6 8 8v56h64v-56c0-4.4 3.6-8 8-8h16c4.4 0 8 3.6 8 8v56h77.7c9.7 0 17.1-8.6 15.7-18.2l-9.4-66.2c-1.7-11.7 3.8-23 13.5-29.9C475.1 356.6 512 294.1 512 224 512 100.3 397.4 0 256 0zm-96 320c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm192 0c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z"] };
  3834. var faSkullCrossbones = { prefix: 'fas', iconName: 'skull-crossbones', icon: [448, 512, [], "f714", "M439.15 453.06L297.17 384l141.99-69.06c7.9-3.95 11.11-13.56 7.15-21.46L432 264.85c-3.95-7.9-13.56-11.11-21.47-7.16L224 348.41 37.47 257.69c-7.9-3.95-17.51-.75-21.47 7.16L1.69 293.48c-3.95 7.9-.75 17.51 7.15 21.46L150.83 384 8.85 453.06c-7.9 3.95-11.11 13.56-7.15 21.47l14.31 28.63c3.95 7.9 13.56 11.11 21.47 7.15L224 419.59l186.53 90.72c7.9 3.95 17.51.75 21.47-7.15l14.31-28.63c3.95-7.91.74-17.52-7.16-21.47zM150 237.28l-5.48 25.87c-2.67 12.62 5.42 24.85 16.45 24.85h126.08c11.03 0 19.12-12.23 16.45-24.85l-5.5-25.87c41.78-22.41 70-62.75 70-109.28C368 57.31 303.53 0 224 0S80 57.31 80 128c0 46.53 28.22 86.87 70 109.28zM280 112c17.65 0 32 14.35 32 32s-14.35 32-32 32-32-14.35-32-32 14.35-32 32-32zm-112 0c17.65 0 32 14.35 32 32s-14.35 32-32 32-32-14.35-32-32 14.35-32 32-32z"] };
  3835. var faSlash = { prefix: 'fas', iconName: 'slash', icon: [640, 512, [], "f715", "M594.53 508.63L6.18 53.9c-6.97-5.42-8.23-15.47-2.81-22.45L23.01 6.18C28.43-.8 38.49-2.06 45.47 3.37L633.82 458.1c6.97 5.42 8.23 15.47 2.81 22.45l-19.64 25.27c-5.42 6.98-15.48 8.23-22.46 2.81z"] };
  3836. var faSlidersH = { prefix: 'fas', iconName: 'sliders-h', icon: [512, 512, [], "f1de", "M496 384H160v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h80v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h336c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160h-80v-16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h336v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h80c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm0-160H288V48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v16H16C7.2 64 0 71.2 0 80v32c0 8.8 7.2 16 16 16h208v16c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-16h208c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16z"] };
  3837. var faSmile = { prefix: 'fas', iconName: 'smile', icon: [496, 512, [], "f118", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm194.8 170.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5 22.4 26.9 55.2 42.2 90.2 42.2s67.8-15.4 90.2-42.2c13.4-16.2 38.1 4.2 24.6 20.5z"] };
  3838. var faSmileBeam = { prefix: 'fas', iconName: 'smile-beam', icon: [496, 512, [], "f5b8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM112 223.4c3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.7 8.6-10.8 11.9-14.9 4.5l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.3 7.4-15.8 4-15.1-4.5zm250.8 122.8C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.5-16.3 11-36.7 24.6-20.5 22.4 26.9 55.2 42.2 90.2 42.2s67.8-15.4 90.2-42.2c13.6-16.2 38.1 4.3 24.6 20.5zm6.2-118.3l-9.5-17c-7.7-13.7-19.2-21.6-31.5-21.6s-23.8 7.9-31.5 21.6l-9.5 17c-4.1 7.3-15.6 4-14.9-4.5 3.3-42.1 32.2-71.4 56-71.4s52.7 29.3 56 71.4c.6 8.6-11 11.9-15.1 4.5z"] };
  3839. var faSmileWink = { prefix: 'fas', iconName: 'smile-wink', icon: [496, 512, [], "f4da", "M0 256c0 137 111 248 248 248s248-111 248-248S385 8 248 8 0 119 0 256zm200-48c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm158.5 16.5c-14.8-13.2-46.2-13.2-61 0L288 233c-8.3 7.4-21.6.4-19.8-10.8 4-25.2 34.2-42.1 59.9-42.1S384 197 388 222.2c1.7 11.1-11.4 18.3-19.8 10.8l-9.7-8.5zM157.8 325.8C180.2 352.7 213 368 248 368s67.8-15.4 90.2-42.2c13.6-16.2 38.1 4.2 24.6 20.5C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.5-16.3 11.2-36.7 24.6-20.4z"] };
  3840. var faSmoking = { prefix: 'fas', iconName: 'smoking', icon: [640, 512, [], "f48d", "M632 352h-48c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zM553.3 87.1c-5.7-3.8-9.3-10-9.3-16.8V8c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v62.3c0 22 10.2 43.4 28.6 55.4 42.2 27.3 67.4 73.8 67.4 124V280c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-30.3c0-65.5-32.4-126.2-86.7-162.6zM432 352H48c-26.5 0-48 21.5-48 48v64c0 26.5 21.5 48 48 48h384c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16zm-32 112H224v-64h176v64zm87.7-322.4C463.8 125 448 99.3 448 70.3V8c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v66.4c0 43.7 24.6 81.6 60.3 106.7 22.4 15.7 35.7 41.2 35.7 68.6V280c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-30.3c0-43.3-21-83.4-56.3-108.1zM536 352h-48c-4.4 0-8 3.6-8 8v144c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"] };
  3841. var faSmokingBan = { prefix: 'fas', iconName: 'smoking-ban', icon: [512, 512, [], "f54d", "M96 304c0 8.8 7.2 16 16 16h117.5l-96-96H112c-8.8 0-16 7.2-16 16v64zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm0 448c-105.9 0-192-86.1-192-192 0-41.4 13.3-79.7 35.7-111.1l267.4 267.4C335.7 434.7 297.4 448 256 448zm45.2-192H384v32h-50.8l-32-32zm111.1 111.1L365.2 320H400c8.8 0 16-7.2 16-16v-64c0-8.8-7.2-16-16-16H269.2L144.9 99.7C176.3 77.3 214.6 64 256 64c105.9 0 192 86.1 192 192 0 41.4-13.3 79.7-35.7 111.1zM320.6 128c-15.6 0-28.6-11.2-31.4-25.9-.7-3.6-4-6.1-7.7-6.1h-16.2c-5 0-8.7 4.5-8 9.4 4.6 30.9 31.2 54.6 63.3 54.6 15.6 0 28.6 11.2 31.4 25.9.7 3.6 4 6.1 7.7 6.1h16.2c5 0 8.7-4.5 8-9.4-4.6-30.9-31.2-54.6-63.3-54.6z"] };
  3842. var faSnowflake = { prefix: 'fas', iconName: 'snowflake', icon: [448, 512, [], "f2dc", "M444.816 301.639a24.12 24.12 0 0 0 2.661-16.978c-2.725-12.966-15.339-21.245-28.174-18.492l-87.407 25.046L264 256l67.896-35.215 87.407 25.046c12.835 2.753 25.449-5.526 28.174-18.492 2.725-12.966-5.471-25.708-18.305-28.461l-47.477-7.137 53.077-30.956c11.363-6.627 15.257-21.306 8.696-32.785-6.561-11.479-21.091-15.412-32.454-8.785l-53.077 30.956 17.621-45.104c4.057-12.606-2.768-26.146-15.247-30.245-12.478-4.099-25.883 2.797-29.94 15.402l-22.232 88.99-60.38 35.215V144l65.175-63.945c8.778-9.852 7.987-25.027-1.766-33.894-9.753-8.867-24.775-8.068-33.552 1.784l-29.857 37.967V24c0-13.255-10.637-24-23.758-24s-23.758 10.745-23.758 24v61.912l-29.857-37.967c-8.779-9.852-23.799-10.652-33.552-1.784-9.753 8.867-10.543 24.042-1.766 33.894L200.242 144v70.431l-60.38-35.215-22.232-88.99c-4.057-12.605-17.462-19.501-29.94-15.402-12.478 4.099-19.304 17.64-15.247 30.245l17.62 45.104-53.077-30.956c-11.363-6.627-25.893-2.694-32.454 8.785s-2.667 26.157 8.696 32.785l53.077 30.956-47.477 7.137C5.993 201.634-2.203 214.375.523 227.341c2.725 12.965 15.339 21.245 28.174 18.492l87.407-25.046L184 256l-67.896 35.215-87.406-25.045c-12.835-2.753-25.449 5.526-28.174 18.492-2.725 12.967 5.47 25.708 18.305 28.461l47.477 7.137-53.077 30.956C1.866 357.843-2.027 372.521 4.533 384s21.091 15.412 32.454 8.785l53.077-30.956-17.62 45.104a24.157 24.157 0 0 0 2.022 19.428c2.831 4.953 7.416 8.909 13.224 10.816 12.478 4.099 25.883-2.797 29.94-15.402l22.232-88.99 60.38-35.215V368l-65.175 63.945c-8.778 9.852-7.987 25.027 1.766 33.894 9.754 8.868 24.774 8.068 33.552-1.784l29.857-37.967V488c0 13.255 10.637 24 23.758 24s23.758-10.745 23.758-24v-61.912l29.857 37.967A23.59 23.59 0 0 0 295.282 472a23.534 23.534 0 0 0 15.885-6.161c9.753-8.867 10.544-24.042 1.766-33.894L247.758 368v-70.431l60.38 35.215 22.232 88.99c4.057 12.605 17.462 19.501 29.94 15.402 12.479-4.099 19.304-17.64 15.247-30.245l-17.621-45.104 53.077 30.956c11.363 6.627 25.893 2.694 32.454-8.785s2.667-26.157-8.696-32.785l-53.077-30.956 47.477-7.137c6.86-1.469 12.394-5.793 15.645-11.481z"] };
  3843. var faSocks = { prefix: 'fas', iconName: 'socks', icon: [512, 512, [], "f696", "M214.66 311.01L288 256V96H128v176l-86.65 64.61c-39.4 29.56-53.86 84.42-29.21 127.06C30.39 495.25 63.27 512 96.08 512c20.03 0 40.25-6.25 57.52-19.2l21.86-16.39c-29.85-55.38-13.54-125.84 39.2-165.4zM288 32c0-11.05 3.07-21.3 8.02-30.38C293.4.92 290.85 0 288 0H160c-17.67 0-32 14.33-32 32v32h160V32zM480 0H352c-17.67 0-32 14.33-32 32v32h192V32c0-17.67-14.33-32-32-32zM320 272l-86.13 64.61c-39.4 29.56-53.86 84.42-29.21 127.06 18.25 31.58 50.61 48.33 83.42 48.33 20.03 0 40.25-6.25 57.52-19.2l115.2-86.4A127.997 127.997 0 0 0 512 304V96H320v176z"] };
  3844. var faSolarPanel = { prefix: 'fas', iconName: 'solar-panel', icon: [640, 512, [], "f5ba", "M431.98 448.01l-47.97.05V416h-128v32.21l-47.98.05c-8.82.01-15.97 7.16-15.98 15.99l-.05 31.73c-.01 8.85 7.17 16.03 16.02 16.02l223.96-.26c8.82-.01 15.97-7.16 15.98-15.98l.04-31.73c.01-8.85-7.17-16.03-16.02-16.02zM585.2 26.74C582.58 11.31 568.99 0 553.06 0H86.93C71 0 57.41 11.31 54.79 26.74-3.32 369.16.04 348.08.03 352c-.03 17.32 14.29 32 32.6 32h574.74c18.23 0 32.51-14.56 32.59-31.79.02-4.08 3.35 16.95-54.76-325.47zM259.83 64h120.33l9.77 96H250.06l9.77-96zm-75.17 256H71.09L90.1 208h105.97l-11.41 112zm16.29-160H98.24l16.29-96h96.19l-9.77 96zm32.82 160l11.4-112h149.65l11.4 112H233.77zm195.5-256h96.19l16.29 96H439.04l-9.77-96zm26.06 256l-11.4-112H549.9l19.01 112H455.33z"] };
  3845. var faSort = { prefix: 'fas', iconName: 'sort', icon: [320, 512, [], "f0dc", "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"] };
  3846. var faSortAlphaDown = { prefix: 'fas', iconName: 'sort-alpha-down', icon: [448, 512, [], "f15d", "M187.298 395.314l-79.984 80.002c-6.248 6.247-16.383 6.245-22.627 0L4.705 395.314C-5.365 385.244 1.807 368 16.019 368H64V48c0-8.837 7.163-16 16-16h32c8.837 0 16 7.163 16 16v320h47.984c14.241 0 21.363 17.264 11.314 27.314zm119.075-180.007A12 12 0 0 1 294.838 224h-35.717c-8.22 0-14.007-8.078-11.362-15.861l57.096-168A12 12 0 0 1 316.217 32h39.566c5.139 0 9.708 3.273 11.362 8.139l57.096 168C426.886 215.922 421.1 224 412.879 224h-35.735a12 12 0 0 1-11.515-8.622l-8.301-28.299h-42.863l-8.092 28.228zm22.857-78.697h13.367l-6.6-22.937-6.767 22.937zm12.575 287.323l67.451-95.698a12 12 0 0 0 2.192-6.913V300c0-6.627-5.373-12-12-12H274.522c-6.627 0-12 5.373-12 12v28.93c0 6.627 5.373 12 12 12h56.469c-.739.991-1.497 2.036-2.27 3.133l-67.203 95.205a12.001 12.001 0 0 0-2.196 6.92V468c0 6.627 5.373 12 12 12h129.355c6.627 0 12-5.373 12-12v-28.93c0-6.627-5.373-12-12-12h-61.146c.74-.993 1.5-2.039 2.274-3.137z"] };
  3847. var faSortAlphaUp = { prefix: 'fas', iconName: 'sort-alpha-up', icon: [448, 512, [], "f15e", "M4.702 116.686l79.984-80.002c6.248-6.247 16.383-6.245 22.627 0l79.981 80.002c10.07 10.07 2.899 27.314-11.314 27.314H128v320c0 8.837-7.163 16-16 16H80c-8.837 0-16-7.163-16-16V144H16.016c-14.241 0-21.363-17.264-11.314-27.314zm301.671 98.621A12 12 0 0 1 294.838 224h-35.717c-8.22 0-14.007-8.078-11.362-15.861l57.096-168A12 12 0 0 1 316.217 32h39.566c5.139 0 9.708 3.273 11.362 8.139l57.096 168C426.886 215.922 421.1 224 412.879 224h-35.735a12 12 0 0 1-11.515-8.622l-8.301-28.299h-42.863l-8.092 28.228zm22.857-78.697h13.367l-6.6-22.937-6.767 22.937zm12.575 287.323l67.451-95.698a12 12 0 0 0 2.192-6.913V300c0-6.627-5.373-12-12-12H274.522c-6.627 0-12 5.373-12 12v28.93c0 6.627 5.373 12 12 12h56.469c-.739.991-1.497 2.036-2.27 3.133l-67.203 95.205a12.001 12.001 0 0 0-2.196 6.92V468c0 6.627 5.373 12 12 12h129.355c6.627 0 12-5.373 12-12v-28.93c0-6.627-5.373-12-12-12h-61.146c.74-.993 1.5-2.039 2.274-3.137z"] };
  3848. var faSortAmountDown = { prefix: 'fas', iconName: 'sort-amount-down', icon: [512, 512, [], "f160", "M187.298 395.314l-79.984 80.002c-6.248 6.247-16.383 6.245-22.627 0L4.705 395.314C-5.365 385.244 1.807 368 16.019 368H64V48c0-8.837 7.163-16 16-16h32c8.837 0 16 7.163 16 16v320h47.984c14.241 0 21.363 17.264 11.314 27.314zM240 96h256c8.837 0 16-7.163 16-16V48c0-8.837-7.163-16-16-16H240c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16zm-16 112v-32c0-8.837 7.163-16 16-16h192c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H240c-8.837 0-16-7.163-16-16zm0 256v-32c0-8.837 7.163-16 16-16h64c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-64c-8.837 0-16-7.163-16-16zm0-128v-32c0-8.837 7.163-16 16-16h128c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H240c-8.837 0-16-7.163-16-16z"] };
  3849. var faSortAmountUp = { prefix: 'fas', iconName: 'sort-amount-up', icon: [512, 512, [], "f161", "M4.702 116.686l79.984-80.002c6.248-6.247 16.383-6.245 22.627 0l79.981 80.002c10.07 10.07 2.899 27.314-11.314 27.314H128v320c0 8.837-7.163 16-16 16H80c-8.837 0-16-7.163-16-16V144H16.016c-14.241 0-21.363-17.264-11.314-27.314zM240 96h256c8.837 0 16-7.163 16-16V48c0-8.837-7.163-16-16-16H240c-8.837 0-16 7.163-16 16v32c0 8.837 7.163 16 16 16zm-16 112v-32c0-8.837 7.163-16 16-16h192c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H240c-8.837 0-16-7.163-16-16zm0 256v-32c0-8.837 7.163-16 16-16h64c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-64c-8.837 0-16-7.163-16-16zm0-128v-32c0-8.837 7.163-16 16-16h128c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H240c-8.837 0-16-7.163-16-16z"] };
  3850. var faSortDown = { prefix: 'fas', iconName: 'sort-down', icon: [320, 512, [], "f0dd", "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"] };
  3851. var faSortNumericDown = { prefix: 'fas', iconName: 'sort-numeric-down', icon: [448, 512, [], "f162", "M308.811 113.787l-19.448-20.795c-4.522-4.836-4.274-12.421.556-16.95l43.443-40.741a11.999 11.999 0 0 1 8.209-3.247h31.591c6.627 0 12 5.373 12 12v127.07h25.66c6.627 0 12 5.373 12 12v28.93c0 6.627-5.373 12-12 12H301.649c-6.627 0-12-5.373-12-12v-28.93c0-6.627 5.373-12 12-12h25.414v-57.938c-7.254 6.58-14.211 4.921-18.252.601zm-30.57 238.569c0-32.653 23.865-67.356 68.094-67.356 38.253 0 79.424 28.861 79.424 92.228 0 51.276-32.237 105.772-91.983 105.772-17.836 0-30.546-3.557-38.548-6.781-5.79-2.333-8.789-8.746-6.922-14.703l9.237-29.48c2.035-6.496 9.049-9.983 15.467-7.716 13.029 4.602 27.878 5.275 38.103-4.138-38.742 5.072-72.872-25.36-72.872-67.826zm92.273 19.338c0-22.285-15.302-36.505-25.835-36.505-8.642 0-13.164 7.965-13.164 15.832 0 5.669 1.815 24.168 25.168 24.168 9.973 0 13.377-2.154 13.744-2.731.021-.046.087-.291.087-.764zM175.984 368H128V48c0-8.837-7.163-16-16-16H80c-8.837 0-16 7.163-16 16v320H16.019c-14.212 0-21.384 17.244-11.314 27.314l79.981 80.002c6.245 6.245 16.38 6.247 22.627 0l79.984-80.002c10.05-10.05 2.928-27.314-11.313-27.314z"] };
  3852. var faSortNumericUp = { prefix: 'fas', iconName: 'sort-numeric-up', icon: [448, 512, [], "f163", "M308.811 113.787l-19.448-20.795c-4.522-4.836-4.274-12.421.556-16.95l43.443-40.741a11.999 11.999 0 0 1 8.209-3.247h31.591c6.627 0 12 5.373 12 12v127.07h25.66c6.627 0 12 5.373 12 12v28.93c0 6.627-5.373 12-12 12H301.649c-6.627 0-12-5.373-12-12v-28.93c0-6.627 5.373-12 12-12h25.414v-57.938c-7.254 6.58-14.211 4.921-18.252.601zm-30.57 238.569c0-32.653 23.865-67.356 68.094-67.356 38.253 0 79.424 28.861 79.424 92.228 0 51.276-32.237 105.772-91.983 105.772-17.836 0-30.546-3.557-38.548-6.781-5.79-2.333-8.789-8.746-6.922-14.703l9.237-29.48c2.035-6.496 9.049-9.983 15.467-7.716 13.029 4.602 27.878 5.275 38.103-4.138-38.742 5.072-72.872-25.36-72.872-67.826zm92.273 19.338c0-22.285-15.302-36.505-25.835-36.505-8.642 0-13.164 7.965-13.164 15.832 0 5.669 1.815 24.168 25.168 24.168 9.973 0 13.377-2.154 13.744-2.731.021-.046.087-.291.087-.764zM16.016 144H64v320c0 8.837 7.163 16 16 16h32c8.837 0 16-7.163 16-16V144h47.981c14.212 0 21.384-17.244 11.314-27.314l-79.981-80.002c-6.245-6.245-16.38-6.247-22.627 0L4.702 116.686C-5.347 126.736 1.775 144 16.016 144z"] };
  3853. var faSortUp = { prefix: 'fas', iconName: 'sort-up', icon: [320, 512, [], "f0de", "M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"] };
  3854. var faSpa = { prefix: 'fas', iconName: 'spa', icon: [576, 512, [], "f5bb", "M568.25 192c-29.04.13-135.01 6.16-213.84 83-33.12 29.63-53.36 63.3-66.41 94.86-13.05-31.56-33.29-65.23-66.41-94.86-78.83-76.84-184.8-82.87-213.84-83-4.41-.02-7.79 3.4-7.75 7.82.23 27.92 7.14 126.14 88.77 199.3C172.79 480.94 256 480 288 480s115.19.95 199.23-80.88c81.64-73.17 88.54-171.38 88.77-199.3.04-4.42-3.34-7.84-7.75-7.82zM287.98 302.6c12.82-18.85 27.6-35.78 44.09-50.52 19.09-18.61 39.58-33.3 60.26-45.18-16.44-70.5-51.72-133.05-96.73-172.22-4.11-3.58-11.02-3.58-15.14 0-44.99 39.14-80.27 101.63-96.74 172.07 20.37 11.7 40.5 26.14 59.22 44.39a282.768 282.768 0 0 1 45.04 51.46z"] };
  3855. var faSpaceShuttle = { prefix: 'fas', iconName: 'space-shuttle', icon: [640, 512, [], "f197", "M592.604 208.244C559.735 192.836 515.777 184 472 184H186.327c-4.952-6.555-10.585-11.978-16.72-16H376C229.157 137.747 219.403 32 96.003 32H96v128H80V32c-26.51 0-48 28.654-48 64v64c-23.197 0-32 10.032-32 24v40c0 13.983 8.819 24 32 24v16c-23.197 0-32 10.032-32 24v40c0 13.983 8.819 24 32 24v64c0 35.346 21.49 64 48 64V352h16v128h.003c123.4 0 133.154-105.747 279.997-136H169.606c6.135-4.022 11.768-9.445 16.72-16H472c43.777 0 87.735-8.836 120.604-24.244C622.282 289.845 640 271.992 640 256s-17.718-33.845-47.396-47.756zM488 296a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8c31.909 0 31.942 80 0 80z"] };
  3856. var faSpider = { prefix: 'fas', iconName: 'spider', icon: [576, 512, [], "f717", "M151.17 167.35L177.1 176h4.67l5.22-26.12c.72-3.58 1.8-7.58 3.21-11.79l-20.29-40.58 23.8-71.39c2.79-8.38-1.73-17.44-10.12-20.24L168.42.82c-8.38-2.8-17.45 1.73-20.24 10.12l-25.89 77.68a32.04 32.04 0 0 0 1.73 24.43l27.15 54.3zm422.14 182.03l-52.75-79.12a32.002 32.002 0 0 0-26.62-14.25H416l68.99-24.36a32.03 32.03 0 0 0 16.51-12.61l53.6-80.41c4.9-7.35 2.91-17.29-4.44-22.19l-13.31-8.88c-7.35-4.9-17.29-2.91-22.19 4.44l-50.56 75.83L404.1 208H368l-10.37-51.85C355.44 145.18 340.26 96 288 96c-52.26 0-67.44 49.18-69.63 60.15L208 208h-36.1l-60.49-20.17L60.84 112c-4.9-7.35-14.83-9.34-22.19-4.44l-13.31 8.88c-7.35 4.9-9.34 14.83-4.44 22.19l53.6 80.41a32.03 32.03 0 0 0 16.51 12.61L160 256H82.06a32.02 32.02 0 0 0-26.63 14.25L2.69 349.38c-4.9 7.35-2.92 17.29 4.44 22.19l13.31 8.88c7.35 4.9 17.29 2.91 22.19-4.44l48-72h47.06l-60.83 97.33A31.988 31.988 0 0 0 72 418.3V496c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-73.11l74.08-118.53c-1.01 14.05-2.08 28.11-2.08 42.21C192 399.64 232.76 448 288 448s96-48.36 96-101.43c0-14.1-1.08-28.16-2.08-42.21L456 422.89V496c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-77.71c0-6-1.69-11.88-4.86-16.96L438.31 304h47.06l48 72c4.9 7.35 14.84 9.34 22.19 4.44l13.31-8.88c7.36-4.9 9.34-14.83 4.44-22.18zM406.09 97.51l-20.29 40.58c1.41 4.21 2.49 8.21 3.21 11.79l5.22 26.12h4.67l25.93-8.65 27.15-54.3a31.995 31.995 0 0 0 1.73-24.43l-25.89-77.68C425.03 2.56 415.96-1.98 407.58.82l-15.17 5.06c-8.38 2.8-12.91 11.86-10.12 20.24l23.8 71.39z"] };
  3857. var faSpinner = { prefix: 'fas', iconName: 'spinner', icon: [512, 512, [], "f110", "M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"] };
  3858. var faSplotch = { prefix: 'fas', iconName: 'splotch', icon: [512, 512, [], "f5bc", "M472.29 195.89l-67.06-22.95c-19.28-6.6-33.54-20.92-38.14-38.3L351.1 74.19c-11.58-43.77-76.57-57.13-109.98-22.62l-46.14 47.67c-13.26 13.71-33.54 20.93-54.2 19.31l-71.88-5.62c-52.05-4.07-86.93 44.88-59.03 82.83l38.54 52.42c11.08 15.07 12.82 33.86 4.64 50.24L24.62 355.4c-20.59 41.25 22.84 84.87 73.49 73.81l69.96-15.28c20.11-4.39 41.45 0 57.07 11.73l54.32 40.83c39.32 29.56 101.04 7.57 104.45-37.22l4.7-61.86c1.35-17.79 12.8-33.86 30.63-42.99l62-31.74c44.88-22.96 39.59-80.17-8.95-96.79z"] };
  3859. var faSprayCan = { prefix: 'fas', iconName: 'spray-can', icon: [512, 512, [], "f5bd", "M224 32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v96h128V32zm256 96c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm-256 32H96c-53.02 0-96 42.98-96 96v224c0 17.67 14.33 32 32 32h256c17.67 0 32-14.33 32-32V256c0-53.02-42.98-96-96-96zm-64 256c-44.18 0-80-35.82-80-80s35.82-80 80-80 80 35.82 80 80-35.82 80-80 80zM480 96c17.67 0 32-14.33 32-32s-14.33-32-32-32-32 14.33-32 32 14.33 32 32 32zm-96 32c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm-96-96c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm96 0c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm96 192c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"] };
  3860. var faSquare = { prefix: 'fas', iconName: 'square', icon: [448, 512, [], "f0c8", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"] };
  3861. var faSquareFull = { prefix: 'fas', iconName: 'square-full', icon: [512, 512, [], "f45c", "M512 512H0V0h512v512z"] };
  3862. var faSquareRootAlt = { prefix: 'fas', iconName: 'square-root-alt', icon: [576, 512, [], "f698", "M571.31 251.31l-22.62-22.62c-6.25-6.25-16.38-6.25-22.63 0L480 274.75l-46.06-46.06c-6.25-6.25-16.38-6.25-22.63 0l-22.62 22.62c-6.25 6.25-6.25 16.38 0 22.63L434.75 320l-46.06 46.06c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L480 365.25l46.06 46.06c6.25 6.25 16.38 6.25 22.63 0l22.62-22.62c6.25-6.25 6.25-16.38 0-22.63L525.25 320l46.06-46.06c6.25-6.25 6.25-16.38 0-22.63zM552 0H307.65c-14.54 0-27.26 9.8-30.95 23.87l-84.79 322.8-58.41-106.1A32.008 32.008 0 0 0 105.47 224H24c-13.25 0-24 10.74-24 24v48c0 13.25 10.75 24 24 24h43.62l88.88 163.73C168.99 503.5 186.3 512 204.94 512c17.27 0 44.44-9 54.28-41.48L357.03 96H552c13.25 0 24-10.75 24-24V24c0-13.26-10.75-24-24-24z"] };
  3863. var faStamp = { prefix: 'fas', iconName: 'stamp', icon: [512, 512, [], "f5bf", "M32 512h448v-64H32v64zm384-256h-66.56c-16.26 0-29.44-13.18-29.44-29.44v-9.46c0-27.37 8.88-53.41 21.46-77.72 9.11-17.61 12.9-38.39 9.05-60.42-6.77-38.78-38.47-70.7-77.26-77.45C212.62-9.04 160 37.33 160 96c0 14.16 3.12 27.54 8.69 39.58C182.02 164.43 192 194.7 192 226.49v.07c0 16.26-13.18 29.44-29.44 29.44H96c-53.02 0-96 42.98-96 96v32c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-32c0-53.02-42.98-96-96-96z"] };
  3864. var faStar = { prefix: 'fas', iconName: 'star', icon: [576, 512, [], "f005", "M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"] };
  3865. var faStarAndCrescent = { prefix: 'fas', iconName: 'star-and-crescent', icon: [512, 512, [], "f699", "M340.47 466.36c-1.45 0-6.89.46-9.18.46-116.25 0-210.82-94.57-210.82-210.82S215.04 45.18 331.29 45.18c2.32 0 7.7.46 9.18.46 7.13 0 13.33-5.03 14.75-12.07 1.46-7.25-2.55-14.49-9.47-17.09C316.58 5.54 286.39 0 256 0 114.84 0 0 114.84 0 256s114.84 256 256 256c30.23 0 60.28-5.49 89.32-16.32 5.96-2.02 10.28-7.64 10.28-14.26 0-8.09-6.39-15.06-15.13-15.06zm162.99-252.5l-76.38-11.1-34.16-69.21c-1.83-3.7-5.38-5.55-8.93-5.55s-7.1 1.85-8.93 5.55l-34.16 69.21-76.38 11.1c-8.17 1.18-11.43 11.22-5.52 16.99l55.27 53.87-13.05 76.07c-1.11 6.44 4.01 11.66 9.81 11.66 1.53 0 3.11-.36 4.64-1.17L384 335.37l68.31 35.91c1.53.8 3.11 1.17 4.64 1.17 5.8 0 10.92-5.23 9.81-11.66l-13.05-76.07 55.27-53.87c5.91-5.77 2.65-15.81-5.52-16.99z"] };
  3866. var faStarHalf = { prefix: 'fas', iconName: 'star-half', icon: [576, 512, [], "f089", "M288 0c-11.4 0-22.8 5.9-28.7 17.8L194 150.2 47.9 171.4c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.1 23 46 46.4 33.7L288 439.6V0z"] };
  3867. var faStarHalfAlt = { prefix: 'fas', iconName: 'star-half-alt', icon: [536, 512, [], "f5c0", "M508.55 171.51L362.18 150.2 296.77 17.81C290.89 5.98 279.42 0 267.95 0c-11.4 0-22.79 5.9-28.69 17.81l-65.43 132.38-146.38 21.29c-26.25 3.8-36.77 36.09-17.74 54.59l105.89 103-25.06 145.48C86.98 495.33 103.57 512 122.15 512c4.93 0 10-1.17 14.87-3.75l130.95-68.68 130.94 68.7c4.86 2.55 9.92 3.71 14.83 3.71 18.6 0 35.22-16.61 31.66-37.4l-25.03-145.49 105.91-102.98c19.04-18.5 8.52-50.8-17.73-54.6zm-121.74 123.2l-18.12 17.62 4.28 24.88 19.52 113.45-102.13-53.59-22.38-11.74.03-317.19 51.03 103.29 11.18 22.63 25.01 3.64 114.23 16.63-82.65 80.38z"] };
  3868. var faStarOfDavid = { prefix: 'fas', iconName: 'star-of-david', icon: [464, 512, [], "f69a", "M405.68 256l53.21-89.39C473.3 142.4 455.48 112 426.88 112H319.96l-55.95-93.98C256.86 6.01 244.43 0 232 0s-24.86 6.01-32.01 18.02L144.04 112H37.11c-28.6 0-46.42 30.4-32.01 54.61L58.32 256 5.1 345.39C-9.31 369.6 8.51 400 37.11 400h106.93l55.95 93.98C207.14 505.99 219.57 512 232 512s24.86-6.01 32.01-18.02L319.96 400h106.93c28.6 0 46.42-30.4 32.01-54.61L405.68 256zm-12.78-88l-19.8 33.26L353.3 168h39.6zm-52.39 88l-52.39 88H175.88l-52.39-88 52.38-88h112.25l52.39 88zM232 73.72L254.79 112h-45.57L232 73.72zM71.1 168h39.6l-19.8 33.26L71.1 168zm0 176l19.8-33.26L110.7 344H71.1zM232 438.28L209.21 400h45.57L232 438.28zM353.29 344l19.8-33.26L392.9 344h-39.61z"] };
  3869. var faStarOfLife = { prefix: 'fas', iconName: 'star-of-life', icon: [480, 512, [], "f621", "M471.99 334.43L336.06 256l135.93-78.43c7.66-4.42 10.28-14.2 5.86-21.86l-32.02-55.43c-4.42-7.65-14.21-10.28-21.87-5.86l-135.93 78.43V16c0-8.84-7.17-16-16.01-16h-64.04c-8.84 0-16.01 7.16-16.01 16v156.86L56.04 94.43c-7.66-4.42-17.45-1.79-21.87 5.86L2.15 155.71c-4.42 7.65-1.8 17.44 5.86 21.86L143.94 256 8.01 334.43c-7.66 4.42-10.28 14.21-5.86 21.86l32.02 55.43c4.42 7.65 14.21 10.27 21.87 5.86l135.93-78.43V496c0 8.84 7.17 16 16.01 16h64.04c8.84 0 16.01-7.16 16.01-16V339.14l135.93 78.43c7.66 4.42 17.45 1.8 21.87-5.86l32.02-55.43c4.42-7.65 1.8-17.43-5.86-21.85z"] };
  3870. var faStepBackward = { prefix: 'fas', iconName: 'step-backward', icon: [448, 512, [], "f048", "M64 468V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v176.4l195.5-181C352.1 22.3 384 36.6 384 64v384c0 27.4-31.9 41.7-52.5 24.6L136 292.7V468c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12z"] };
  3871. var faStepForward = { prefix: 'fas', iconName: 'step-forward', icon: [448, 512, [], "f051", "M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z"] };
  3872. var faStethoscope = { prefix: 'fas', iconName: 'stethoscope', icon: [512, 512, [], "f0f1", "M447.1 112c-34.2.5-62.3 28.4-63 62.6-.5 24.3 12.5 45.6 32 56.8V344c0 57.3-50.2 104-112 104-60 0-109.2-44.1-111.9-99.2C265 333.8 320 269.2 320 192V36.6c0-11.4-8.1-21.3-19.3-23.5L237.8.5c-13-2.6-25.6 5.8-28.2 18.8L206.4 35c-2.6 13 5.8 25.6 18.8 28.2l30.7 6.1v121.4c0 52.9-42.2 96.7-95.1 97.2-53.4.5-96.9-42.7-96.9-96V69.4l30.7-6.1c13-2.6 21.4-15.2 18.8-28.2l-3.1-15.7C107.7 6.4 95.1-2 82.1.6L19.3 13C8.1 15.3 0 25.1 0 36.6V192c0 77.3 55.1 142 128.1 156.8C130.7 439.2 208.6 512 304 512c97 0 176-75.4 176-168V231.4c19.1-11.1 32-31.7 32-55.4 0-35.7-29.2-64.5-64.9-64zm.9 80c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"] };
  3873. var faStickyNote = { prefix: 'fas', iconName: 'sticky-note', icon: [448, 512, [], "f249", "M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z"] };
  3874. var faStop = { prefix: 'fas', iconName: 'stop', icon: [448, 512, [], "f04d", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48z"] };
  3875. var faStopCircle = { prefix: 'fas', iconName: 'stop-circle', icon: [512, 512, [], "f28d", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16v160z"] };
  3876. var faStopwatch = { prefix: 'fas', iconName: 'stopwatch', icon: [448, 512, [], "f2f2", "M432 304c0 114.9-93.1 208-208 208S16 418.9 16 304c0-104 76.3-190.2 176-205.5V64h-28c-6.6 0-12-5.4-12-12V12c0-6.6 5.4-12 12-12h120c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-28v34.5c37.5 5.8 71.7 21.6 99.7 44.6l27.5-27.5c4.7-4.7 12.3-4.7 17 0l28.3 28.3c4.7 4.7 4.7 12.3 0 17l-29.4 29.4-.6.6C419.7 223.3 432 262.2 432 304zm-176 36V188.5c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12V340c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z"] };
  3877. var faStore = { prefix: 'fas', iconName: 'store', icon: [616, 512, [], "f54e", "M602 118.6L537.1 15C531.3 5.7 521 0 510 0H106C95 0 84.7 5.7 78.9 15L14 118.6c-33.5 53.5-3.8 127.9 58.8 136.4 4.5.6 9.1.9 13.7.9 29.6 0 55.8-13 73.8-33.1 18 20.1 44.3 33.1 73.8 33.1 29.6 0 55.8-13 73.8-33.1 18 20.1 44.3 33.1 73.8 33.1 29.6 0 55.8-13 73.8-33.1 18.1 20.1 44.3 33.1 73.8 33.1 4.7 0 9.2-.3 13.7-.9 62.8-8.4 92.6-82.8 59-136.4zM529.5 288c-10 0-19.9-1.5-29.5-3.8V384H116v-99.8c-9.6 2.2-19.5 3.8-29.5 3.8-6 0-12.1-.4-18-1.2-5.6-.8-11.1-2.1-16.4-3.6V480c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V283.2c-5.4 1.6-10.8 2.9-16.4 3.6-6.1.8-12.1 1.2-18.2 1.2z"] };
  3878. var faStoreAlt = { prefix: 'fas', iconName: 'store-alt', icon: [640, 512, [], "f54f", "M320 384H128V224H64v256c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V224h-64v160zm314.6-241.8l-85.3-128c-6-8.9-16-14.2-26.7-14.2H117.4c-10.7 0-20.7 5.3-26.6 14.2l-85.3 128c-14.2 21.3 1 49.8 26.6 49.8H608c25.5 0 40.7-28.5 26.6-49.8zM512 496c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V224h-64v272z"] };
  3879. var faStream = { prefix: 'fas', iconName: 'stream', icon: [512, 512, [], "f550", "M16 128h416c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16H16C7.16 32 0 39.16 0 48v64c0 8.84 7.16 16 16 16zm480 80H80c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16zm-64 176H16c-8.84 0-16 7.16-16 16v64c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-64c0-8.84-7.16-16-16-16z"] };
  3880. var faStreetView = { prefix: 'fas', iconName: 'street-view', icon: [512, 512, [], "f21d", "M367.9 329.76c-4.62 5.3-9.78 10.1-15.9 13.65v22.94c66.52 9.34 112 28.05 112 49.65 0 30.93-93.12 56-208 56S48 446.93 48 416c0-21.6 45.48-40.3 112-49.65v-22.94c-6.12-3.55-11.28-8.35-15.9-13.65C58.87 345.34 0 378.05 0 416c0 53.02 114.62 96 256 96s256-42.98 256-96c0-37.95-58.87-70.66-144.1-86.24zM256 128c35.35 0 64-28.65 64-64S291.35 0 256 0s-64 28.65-64 64 28.65 64 64 64zm-64 192v96c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-96c17.67 0 32-14.33 32-32v-96c0-26.51-21.49-48-48-48h-11.8c-11.07 5.03-23.26 8-36.2 8s-25.13-2.97-36.2-8H208c-26.51 0-48 21.49-48 48v96c0 17.67 14.33 32 32 32z"] };
  3881. var faStrikethrough = { prefix: 'fas', iconName: 'strikethrough', icon: [512, 512, [], "f0cc", "M496 288H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h480c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16zm-214.666 16c27.258 12.937 46.524 28.683 46.524 56.243 0 33.108-28.977 53.676-75.621 53.676-32.325 0-76.874-12.08-76.874-44.271V368c0-8.837-7.164-16-16-16H113.75c-8.836 0-16 7.163-16 16v19.204c0 66.845 77.717 101.82 154.487 101.82 88.578 0 162.013-45.438 162.013-134.424 0-19.815-3.618-36.417-10.143-50.6H281.334zm-30.952-96c-32.422-13.505-56.836-28.946-56.836-59.683 0-33.92 30.901-47.406 64.962-47.406 42.647 0 64.962 16.593 64.962 32.985V136c0 8.837 7.164 16 16 16h45.613c8.836 0 16-7.163 16-16v-30.318c0-52.438-71.725-79.875-142.575-79.875-85.203 0-150.726 40.972-150.726 125.646 0 22.71 4.665 41.176 12.777 56.547h129.823z"] };
  3882. var faStroopwafel = { prefix: 'fas', iconName: 'stroopwafel', icon: [512, 512, [], "f551", "M188.12 210.74L142.86 256l45.25 45.25L233.37 256l-45.25-45.26zm113.13-22.62L256 142.86l-45.25 45.25L256 233.37l45.25-45.25zm-90.5 135.76L256 369.14l45.26-45.26L256 278.63l-45.25 45.25zM256 0C114.62 0 0 114.62 0 256s114.62 256 256 256 256-114.62 256-256S397.38 0 256 0zm186.68 295.6l-11.31 11.31c-3.12 3.12-8.19 3.12-11.31 0l-28.29-28.29-45.25 45.25 33.94 33.94 16.97-16.97c3.12-3.12 8.19-3.12 11.31 0l11.31 11.31c3.12 3.12 3.12 8.19 0 11.31l-16.97 16.97 16.97 16.97c3.12 3.12 3.12 8.19 0 11.31l-11.31 11.31c-3.12 3.12-8.19 3.12-11.31 0l-16.97-16.97-16.97 16.97c-3.12 3.12-8.19 3.12-11.31 0l-11.31-11.31c-3.12-3.12-3.12-8.19 0-11.31l16.97-16.97-33.94-33.94-45.26 45.26 28.29 28.29c3.12 3.12 3.12 8.19 0 11.31l-11.31 11.31c-3.12 3.12-8.19 3.12-11.31 0L256 414.39l-28.29 28.29c-3.12 3.12-8.19 3.12-11.31 0l-11.31-11.31c-3.12-3.12-3.12-8.19 0-11.31l28.29-28.29-45.25-45.26-33.94 33.94 16.97 16.97c3.12 3.12 3.12 8.19 0 11.31l-11.31 11.31c-3.12 3.12-8.19 3.12-11.31 0l-16.97-16.97-16.97 16.97c-3.12 3.12-8.19 3.12-11.31 0l-11.31-11.31c-3.12-3.12-3.12-8.19 0-11.31l16.97-16.97-16.97-16.97c-3.12-3.12-3.12-8.19 0-11.31l11.31-11.31c3.12-3.12 8.19-3.12 11.31 0l16.97 16.97 33.94-33.94-45.25-45.25-28.29 28.29c-3.12 3.12-8.19 3.12-11.31 0L69.32 295.6c-3.12-3.12-3.12-8.19 0-11.31L97.61 256l-28.29-28.29c-3.12-3.12-3.12-8.19 0-11.31l11.31-11.31c3.12-3.12 8.19-3.12 11.31 0l28.29 28.29 45.25-45.26-33.94-33.94-16.97 16.97c-3.12 3.12-8.19 3.12-11.31 0l-11.31-11.31c-3.12-3.12-3.12-8.19 0-11.31l16.97-16.97-16.97-16.97c-3.12-3.12-3.12-8.19 0-11.31l11.31-11.31c3.12-3.12 8.19-3.12 11.31 0l16.97 16.97 16.97-16.97c3.12-3.12 8.19-3.12 11.31 0l11.31 11.31c3.12 3.12 3.12 8.19 0 11.31l-16.97 16.97 33.94 33.94 45.26-45.25-28.29-28.29c-3.12-3.12-3.12-8.19 0-11.31l11.31-11.31c3.12-3.12 8.19-3.12 11.31 0L256 97.61l28.29-28.29c3.12-3.12 8.19-3.12 11.31 0l11.31 11.31c3.12 3.12 3.12 8.19 0 11.31l-28.29 28.29 45.26 45.25 33.94-33.94-16.97-16.97c-3.12-3.12-3.12-8.19 0-11.31l11.31-11.31c3.12-3.12 8.19-3.12 11.31 0l16.97 16.97 16.97-16.97c3.12-3.12 8.19-3.12 11.31 0l11.31 11.31c3.12 3.12 3.12 8.19 0 11.31l-16.97 16.97 16.97 16.97c3.12 3.12 3.12 8.19 0 11.31l-11.31 11.31c-3.12 3.12-8.19 3.12-11.31 0l-16.97-16.97-33.94 33.94 45.25 45.26 28.29-28.29c3.12-3.12 8.19-3.12 11.31 0l11.31 11.31c3.12 3.12 3.12 8.19 0 11.31L414.39 256l28.29 28.28a8.015 8.015 0 0 1 0 11.32zM278.63 256l45.26 45.25L369.14 256l-45.25-45.26L278.63 256z"] };
  3883. var faSubscript = { prefix: 'fas', iconName: 'subscript', icon: [512, 512, [], "f12c", "M395.198 416c3.461-10.526 18.796-21.28 36.265-32.425 16.625-10.605 35.467-22.626 50.341-38.862 17.458-19.054 25.944-40.175 25.944-64.567 0-60.562-50.702-88.146-97.81-88.146-42.491 0-76.378 22.016-94.432 50.447-4.654 7.329-2.592 17.036 4.623 21.865l30.328 20.296c7.032 4.706 16.46 3.084 21.63-3.614 8.022-10.394 18.818-18.225 31.667-18.225 19.387 0 26.266 12.901 26.266 23.948 0 36.159-119.437 57.023-119.437 160.024 0 6.654.561 13.014 1.415 19.331 1.076 7.964 7.834 13.928 15.87 13.928H496c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16H395.198zM272 256c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-62.399a16 16 0 0 1-13.541-7.478l-45.701-72.615c-2.297-3.352-4.422-6.969-6.195-10.209-1.65 3.244-3.647 6.937-5.874 10.582l-44.712 72.147a15.999 15.999 0 0 1-13.6 7.572H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h26.325l56.552-82.709L46.111 96H16C7.163 96 0 88.837 0 80V48c0-8.837 7.163-16 16-16h68.806a16 16 0 0 1 13.645 7.644l39.882 65.126c2.072 3.523 4.053 7.171 5.727 10.37 1.777-3.244 3.92-6.954 6.237-10.537l40.332-65.035A15.999 15.999 0 0 1 204.226 32H272c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-27.979l-52.69 75.671L249.974 256H272z"] };
  3884. var faSubway = { prefix: 'fas', iconName: 'subway', icon: [448, 512, [], "f239", "M448 96v256c0 51.815-61.624 96-130.022 96l62.98 49.721C386.905 502.417 383.562 512 376 512H72c-7.578 0-10.892-9.594-4.957-14.279L130.022 448C61.82 448 0 403.954 0 352V96C0 42.981 64 0 128 0h192c65 0 128 42.981 128 96zM200 232V120c0-13.255-10.745-24-24-24H72c-13.255 0-24 10.745-24 24v112c0 13.255 10.745 24 24 24h104c13.255 0 24-10.745 24-24zm200 0V120c0-13.255-10.745-24-24-24H272c-13.255 0-24 10.745-24 24v112c0 13.255 10.745 24 24 24h104c13.255 0 24-10.745 24-24zm-48 56c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm-256 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"] };
  3885. var faSuitcase = { prefix: 'fas', iconName: 'suitcase', icon: [512, 512, [], "f0f2", "M128 480h256V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48v400zm64-384h128v32H192V96zm320 80v256c0 26.5-21.5 48-48 48h-48V128h48c26.5 0 48 21.5 48 48zM96 480H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48h48v352z"] };
  3886. var faSuitcaseRolling = { prefix: 'fas', iconName: 'suitcase-rolling', icon: [384, 512, [], "f5c1", "M336 160H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h16v16c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-16h128v16c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-16h16c26.51 0 48-21.49 48-48V208c0-26.51-21.49-48-48-48zm-16 216c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h240c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h240c4.42 0 8 3.58 8 8v16zM144 48h96v80h48V48c0-26.51-21.49-48-48-48h-96c-26.51 0-48 21.49-48 48v80h48V48z"] };
  3887. var faSun = { prefix: 'fas', iconName: 'sun', icon: [512, 512, [], "f185", "M274.835 12.646l25.516 62.393c4.213 10.301 16.671 14.349 26.134 8.492l57.316-35.479c15.49-9.588 34.808 4.447 30.475 22.142l-16.03 65.475c-2.647 10.81 5.053 21.408 16.152 22.231l67.224 4.987c18.167 1.348 25.546 24.057 11.641 35.826L441.81 242.26c-8.495 7.19-8.495 20.289 0 27.479l51.454 43.548c13.906 11.769 6.527 34.478-11.641 35.826l-67.224 4.987c-11.099.823-18.799 11.421-16.152 22.231l16.03 65.475c4.332 17.695-14.986 31.73-30.475 22.142l-57.316-35.479c-9.463-5.858-21.922-1.81-26.134 8.492l-25.516 62.393c-6.896 16.862-30.774 16.862-37.67 0l-25.516-62.393c-4.213-10.301-16.671-14.349-26.134-8.492l-57.317 35.479c-15.49 9.588-34.808-4.447-30.475-22.142l16.03-65.475c2.647-10.81-5.053-21.408-16.152-22.231l-67.224-4.987c-18.167-1.348-25.546-24.057-11.641-35.826L70.19 269.74c8.495-7.19 8.495-20.289 0-27.479l-51.454-43.548c-13.906-11.769-6.527-34.478 11.641-35.826l67.224-4.987c11.099-.823 18.799-11.421 16.152-22.231l-16.03-65.475c-4.332-17.695 14.986-31.73 30.475-22.142l57.317 35.479c9.463 5.858 21.921 1.81 26.134-8.492l25.516-62.393c6.896-16.861 30.774-16.861 37.67 0zM392 256c0-74.991-61.01-136-136-136-74.991 0-136 61.009-136 136s61.009 136 136 136c74.99 0 136-61.009 136-136zm-32 0c0 57.346-46.654 104-104 104s-104-46.654-104-104 46.654-104 104-104 104 46.654 104 104z"] };
  3888. var faSuperscript = { prefix: 'fas', iconName: 'superscript', icon: [512, 512, [], "f12b", "M395.198 256c3.461-10.526 18.796-21.28 36.265-32.425 16.625-10.605 35.467-22.626 50.341-38.862 17.458-19.054 25.944-40.175 25.944-64.567 0-60.562-50.702-88.146-97.81-88.146-42.491 0-76.378 22.016-94.432 50.447-4.654 7.329-2.592 17.036 4.623 21.865l30.328 20.296c7.032 4.706 16.46 3.084 21.63-3.614 8.022-10.394 18.818-18.225 31.667-18.225 19.387 0 26.266 12.901 26.266 23.948 0 36.159-119.437 57.023-119.437 160.024 0 6.654.561 13.014 1.415 19.331 1.076 7.964 7.834 13.928 15.87 13.928H496c8.837 0 16-7.163 16-16v-32c0-8.837-7.163-16-16-16H395.198zM272 416c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-62.399a16 16 0 0 1-13.541-7.478l-45.701-72.615c-2.297-3.352-4.422-6.969-6.195-10.209-1.65 3.244-3.647 6.937-5.874 10.582l-44.712 72.147a15.999 15.999 0 0 1-13.6 7.572H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h26.325l56.552-82.709L46.111 256H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h68.806a16 16 0 0 1 13.645 7.644l39.882 65.126c2.072 3.523 4.053 7.171 5.727 10.37 1.777-3.244 3.92-6.954 6.237-10.537l40.332-65.035a16 16 0 0 1 13.598-7.567H272c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-27.979l-52.69 75.671L249.974 416H272z"] };
  3889. var faSurprise = { prefix: 'fas', iconName: 'surprise', icon: [496, 512, [], "f5c2", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 208c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm112 208c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64zm80-176c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3890. var faSwatchbook = { prefix: 'fas', iconName: 'swatchbook', icon: [511, 512, [], "f5c3", "M479.06 320H372.29L186.15 506.51c-2.06 2.07-4.49 3.58-6.67 5.49h299.58c17.64 0 31.94-14.33 31.94-32V352c0-17.67-14.3-32-31.94-32zm-44.5-152.9l-90.33-90.51c-12.47-12.5-32.69-12.5-45.17 0l-75.5 75.65V416c0 2.96-.67 5.73-.87 8.64l211.87-212.28c12.47-12.5 12.47-32.77 0-45.26zM191.62 32c0-17.67-14.3-32-31.94-32H31.94C14.3 0 0 14.33 0 32v384c0 53.02 42.9 96 95.81 96s95.81-42.98 95.81-96V32zM95.81 440c-13.23 0-23.95-10.75-23.95-24 0-13.26 10.73-24 23.95-24s23.95 10.74 23.95 24c.01 13.25-10.72 24-23.95 24zm31.94-184H63.88v-64h63.88v64zm0-128H63.88V64h63.88v64z"] };
  3891. var faSwimmer = { prefix: 'fas', iconName: 'swimmer', icon: [640, 512, [], "f5c4", "M189.61 310.58c3.54 3.26 15.27 9.42 34.39 9.42s30.86-6.16 34.39-9.42c16.02-14.77 34.5-22.58 53.46-22.58h16.3c18.96 0 37.45 7.81 53.46 22.58 3.54 3.26 15.27 9.42 34.39 9.42s30.86-6.16 34.39-9.42c14.86-13.71 31.88-21.12 49.39-22.16l-112.84-80.6 18-12.86c3.64-2.58 8.28-3.52 12.62-2.61l100.35 21.53c25.91 5.53 51.44-10.97 57-36.88 5.55-25.92-10.95-51.44-36.88-57L437.68 98.47c-30.73-6.58-63.02.12-88.56 18.38l-80.02 57.17c-10.38 7.39-19.36 16.44-26.72 26.94L173.75 299c5.47 3.23 10.82 6.93 15.86 11.58zM624 352h-16c-26.04 0-45.8-8.42-56.09-17.9-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C461.8 343.58 442.04 352 416 352s-45.8-8.42-56.09-17.9c-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C269.8 343.58 250.04 352 224 352s-45.8-8.42-56.09-17.9c-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C77.8 343.58 58.04 352 32 352H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h16c38.62 0 72.72-12.19 96-31.84 23.28 19.66 57.38 31.84 96 31.84s72.72-12.19 96-31.84c23.28 19.66 57.38 31.84 96 31.84s72.72-12.19 96-31.84c23.28 19.66 57.38 31.84 96 31.84h16c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm-512-96c44.18 0 80-35.82 80-80s-35.82-80-80-80-80 35.82-80 80 35.82 80 80 80z"] };
  3892. var faSwimmingPool = { prefix: 'fas', iconName: 'swimming-pool', icon: [640, 512, [], "f5c5", "M624 416h-16c-26.04 0-45.8-8.42-56.09-17.9-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C461.8 407.58 442.04 416 416 416s-45.8-8.42-56.09-17.9c-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C269.8 407.58 250.04 416 224 416s-45.8-8.42-56.09-17.9c-8.9-8.21-19.66-14.1-31.77-14.1h-16.3c-12.11 0-22.87 5.89-31.77 14.1C77.8 407.58 58.04 416 32 416H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h16c38.62 0 72.72-12.19 96-31.84 23.28 19.66 57.38 31.84 96 31.84s72.72-12.19 96-31.84c23.28 19.66 57.38 31.84 96 31.84s72.72-12.19 96-31.84c23.28 19.66 57.38 31.84 96 31.84h16c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm-400-32v-96h192v96c19.12 0 30.86-6.16 34.39-9.42 9.17-8.46 19.2-14.34 29.61-18.07V128c0-17.64 14.36-32 32-32s32 14.36 32 32v16c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-16c0-52.94-43.06-96-96-96s-96 43.06-96 96v96H224v-96c0-17.64 14.36-32 32-32s32 14.36 32 32v16c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-16c0-52.94-43.06-96-96-96s-96 43.06-96 96v228.5c10.41 3.73 20.44 9.62 29.61 18.07 3.53 3.27 15.27 9.43 34.39 9.43z"] };
  3893. var faSynagogue = { prefix: 'fas', iconName: 'synagogue', icon: [640, 512, [], "f69b", "M70 196.51L6.67 268.29A26.643 26.643 0 0 0 0 285.93V512h128V239.58l-38-43.07c-5.31-6.01-14.69-6.01-20 0zm563.33 71.78L570 196.51c-5.31-6.02-14.69-6.02-20 0l-38 43.07V512h128V285.93c0-6.5-2.37-12.77-6.67-17.64zM339.99 7.01c-11.69-9.35-28.29-9.35-39.98 0l-128 102.4A32.005 32.005 0 0 0 160 134.4V512h96v-92.57c0-31.88 21.78-61.43 53.25-66.55C349.34 346.35 384 377.13 384 416v96h96V134.4c0-9.72-4.42-18.92-12.01-24.99l-128-102.4zm52.07 215.55c1.98 3.15-.29 7.24-4 7.24h-38.94L324 269.79c-1.85 2.95-6.15 2.95-8 0l-25.12-39.98h-38.94c-3.72 0-5.98-4.09-4-7.24l19.2-30.56-19.2-30.56c-1.98-3.15.29-7.24 4-7.24h38.94l25.12-40c1.85-2.95 6.15-2.95 8 0l25.12 39.98h38.95c3.71 0 5.98 4.09 4 7.24L372.87 192l19.19 30.56z"] };
  3894. var faSync = { prefix: 'fas', iconName: 'sync', icon: [512, 512, [], "f021", "M440.935 12.574l3.966 82.766C399.416 41.904 331.674 8 256 8 134.813 8 33.933 94.924 12.296 209.824 10.908 217.193 16.604 224 24.103 224h49.084c5.57 0 10.377-3.842 11.676-9.259C103.407 137.408 172.931 80 256 80c60.893 0 114.512 30.856 146.104 77.801l-101.53-4.865c-6.845-.328-12.574 5.133-12.574 11.986v47.411c0 6.627 5.373 12 12 12h200.333c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12h-47.411c-6.853 0-12.315 5.729-11.987 12.574zM256 432c-60.895 0-114.517-30.858-146.109-77.805l101.868 4.871c6.845.327 12.573-5.134 12.573-11.986v-47.412c0-6.627-5.373-12-12-12H12c-6.627 0-12 5.373-12 12V500c0 6.627 5.373 12 12 12h47.385c6.863 0 12.328-5.745 11.985-12.599l-4.129-82.575C112.725 470.166 180.405 504 256 504c121.187 0 222.067-86.924 243.704-201.824 1.388-7.369-4.308-14.176-11.807-14.176h-49.084c-5.57 0-10.377 3.842-11.676 9.259C408.593 374.592 339.069 432 256 432z"] };
  3895. var faSyncAlt = { prefix: 'fas', iconName: 'sync-alt', icon: [512, 512, [], "f2f1", "M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"] };
  3896. var faSyringe = { prefix: 'fas', iconName: 'syringe', icon: [512, 512, [], "f48e", "M201.5 174.8l55.7 55.8c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0l-55.7-55.8-45.3 45.3 55.8 55.8c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0L111 265.2l-26.4 26.4c-17.3 17.3-25.6 41.1-23 65.4l7.1 63.6L2.3 487c-3.1 3.1-3.1 8.2 0 11.3l11.3 11.3c3.1 3.1 8.2 3.1 11.3 0l66.3-66.3 63.6 7.1c23.9 2.6 47.9-5.4 65.4-23l181.9-181.9-135.7-135.7-64.9 65zm308.2-93.3L430.5 2.3c-3.1-3.1-8.2-3.1-11.3 0l-11.3 11.3c-3.1 3.1-3.1 8.2 0 11.3l28.3 28.3-45.3 45.3-56.6-56.6-17-17c-3.1-3.1-8.2-3.1-11.3 0l-33.9 33.9c-3.1 3.1-3.1 8.2 0 11.3l17 17L424.8 223l17 17c3.1 3.1 8.2 3.1 11.3 0l33.9-34c3.1-3.1 3.1-8.2 0-11.3l-73.5-73.5 45.3-45.3 28.3 28.3c3.1 3.1 8.2 3.1 11.3 0l11.3-11.3c3.1-3.2 3.1-8.2 0-11.4z"] };
  3897. var faTable = { prefix: 'fas', iconName: 'table', icon: [512, 512, [], "f0ce", "M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64v-96h160v96zm0-160H64v-96h160v96zm224 160H288v-96h160v96zm0-160H288v-96h160v96z"] };
  3898. var faTableTennis = { prefix: 'fas', iconName: 'table-tennis', icon: [512, 512, [], "f45d", "M496.2 296.5C527.7 218.7 512 126.2 449 63.1 365.1-21 229-21 145.1 63.1l-56 56.1 211.5 211.5c46.1-62.1 131.5-77.4 195.6-34.2zm-217.9 79.7L57.9 155.9c-27.3 45.3-21.7 105 17.3 144.1l34.5 34.6L6.7 424c-8.6 7.5-9.1 20.7-1 28.8l53.4 53.5c8 8.1 21.2 7.6 28.7-1L177.1 402l35.7 35.7c19.7 19.7 44.6 30.5 70.3 33.3-7.1-17-11-35.6-11-55.1-.1-13.8 2.5-27 6.2-39.7zM416 320c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96z"] };
  3899. var faTablet = { prefix: 'fas', iconName: 'tablet', icon: [448, 512, [], "f10a", "M400 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM224 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"] };
  3900. var faTabletAlt = { prefix: 'fas', iconName: 'tablet-alt', icon: [448, 512, [], "f3fa", "M400 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM224 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm176-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h328c6.6 0 12 5.4 12 12v312z"] };
  3901. var faTablets = { prefix: 'fas', iconName: 'tablets', icon: [640, 512, [], "f490", "M160 192C78.9 192 12.5 250.5.1 326.7c-.8 4.8 3.3 9.3 8.3 9.3h303.3c5 0 9.1-4.5 8.3-9.3C307.5 250.5 241.1 192 160 192zm151.6 176H8.4c-5 0-9.1 4.5-8.3 9.3C12.5 453.5 78.9 512 160 512s147.5-58.5 159.9-134.7c.8-4.8-3.3-9.3-8.3-9.3zM593.4 46.6c-56.5-56.5-144.2-61.4-206.9-16-4 2.9-4.3 8.9-.8 12.3L597 254.3c3.5 3.5 9.5 3.2 12.3-.8 45.5-62.7 40.6-150.4-15.9-206.9zM363 65.7c-3.5-3.5-9.5-3.2-12.3.8-45.4 62.7-40.5 150.4 15.9 206.9 56.5 56.5 144.2 61.4 206.9 15.9 4-2.9 4.3-8.9.8-12.3L363 65.7z"] };
  3902. var faTachometerAlt = { prefix: 'fas', iconName: 'tachometer-alt', icon: [576, 512, [], "f3fd", "M288 32C128.94 32 0 160.94 0 320c0 52.8 14.25 102.26 39.06 144.8 5.61 9.62 16.3 15.2 27.44 15.2h443c11.14 0 21.83-5.58 27.44-15.2C561.75 422.26 576 372.8 576 320c0-159.06-128.94-288-288-288zm0 64c14.71 0 26.58 10.13 30.32 23.65-1.11 2.26-2.64 4.23-3.45 6.67l-9.22 27.67c-5.13 3.49-10.97 6.01-17.64 6.01-17.67 0-32-14.33-32-32S270.33 96 288 96zM96 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm48-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm246.77-72.41l-61.33 184C343.13 347.33 352 364.54 352 384c0 11.72-3.38 22.55-8.88 32H232.88c-5.5-9.45-8.88-20.28-8.88-32 0-33.94 26.5-61.43 59.9-63.59l61.34-184.01c4.17-12.56 17.73-19.45 30.36-15.17 12.57 4.19 19.35 17.79 15.17 30.36zm14.66 57.2l15.52-46.55c3.47-1.29 7.13-2.23 11.05-2.23 17.67 0 32 14.33 32 32s-14.33 32-32 32c-11.38-.01-20.89-6.28-26.57-15.22zM480 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3903. var faTag = { prefix: 'fas', iconName: 'tag', icon: [512, 512, [], "f02b", "M0 252.118V48C0 21.49 21.49 0 48 0h204.118a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882L293.823 497.941c-18.745 18.745-49.137 18.745-67.882 0L14.059 286.059A48 48 0 0 1 0 252.118zM112 64c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z"] };
  3904. var faTags = { prefix: 'fas', iconName: 'tags', icon: [640, 512, [], "f02c", "M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"] };
  3905. var faTape = { prefix: 'fas', iconName: 'tape', icon: [640, 512, [], "f4db", "M224 192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm400 224H380.6c41.5-40.7 67.4-97.3 67.4-160 0-123.7-100.3-224-224-224S0 132.3 0 256s100.3 224 224 224h400c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400-64c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"] };
  3906. var faTasks = { prefix: 'fas', iconName: 'tasks', icon: [512, 512, [], "f0ae", "M208 132h288c8.8 0 16-7.2 16-16V76c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zm0 160h288c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16zM64 368c-26.5 0-48.6 21.5-48.6 48s22.1 48 48.6 48 48-21.5 48-48-21.5-48-48-48zm92.5-299l-72.2 72.2-15.6 15.6c-4.7 4.7-12.9 4.7-17.6 0L3.5 109.4c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.3c4.7-4.7 12.3-4.7 17 0l17 16.5c4.6 4.7 4.6 12.3-.1 17zm0 159.6l-72.2 72.2-15.7 15.7c-4.7 4.7-12.9 4.7-17.6 0L3.5 269c-4.7-4.7-4.7-12.3 0-17l15.7-15.7c4.7-4.7 12.3-4.7 17 0l22.7 22.1 63.7-63.7c4.7-4.7 12.3-4.7 17 0l17 17c4.6 4.6 4.6 12.2-.1 16.9z"] };
  3907. var faTaxi = { prefix: 'fas', iconName: 'taxi', icon: [512, 512, [], "f1ba", "M462 241.64l-22-84.84c-9.6-35.2-41.6-60.8-76.8-60.8H352V64c0-17.67-14.33-32-32-32H192c-17.67 0-32 14.33-32 32v32h-11.2c-35.2 0-67.2 25.6-76.8 60.8l-22 84.84C21.41 248.04 0 273.47 0 304v48c0 23.63 12.95 44.04 32 55.12V448c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-40.88c19.05-11.09 32-31.5 32-55.12v-48c0-30.53-21.41-55.96-50-62.36zM96 352c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm20.55-112l17.2-66.36c2.23-8.16 9.59-13.64 15.06-13.64h214.4c5.47 0 12.83 5.48 14.85 12.86L395.45 240h-278.9zM416 352c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  3908. var faTeeth = { prefix: 'fas', iconName: 'teeth', icon: [640, 512, [], "f62e", "M544 0H96C42.98 0 0 42.98 0 96v320c0 53.02 42.98 96 96 96h448c53.02 0 96-42.98 96-96V96c0-53.02-42.98-96-96-96zM160 368c0 26.51-21.49 48-48 48s-48-21.49-48-48v-64c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v64zm0-128c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-64c0-26.51 21.49-48 48-48s48 21.49 48 48v64zm144 120c0 30.93-25.07 56-56 56s-56-25.07-56-56v-56c0-8.84 7.16-16 16-16h80c8.84 0 16 7.16 16 16v56zm0-120c0 8.84-7.16 16-16 16h-80c-8.84 0-16-7.16-16-16v-88c0-30.93 25.07-56 56-56s56 25.07 56 56v88zm144 120c0 30.93-25.07 56-56 56s-56-25.07-56-56v-56c0-8.84 7.16-16 16-16h80c8.84 0 16 7.16 16 16v56zm0-120c0 8.84-7.16 16-16 16h-80c-8.84 0-16-7.16-16-16v-88c0-30.93 25.07-56 56-56s56 25.07 56 56v88zm128 128c0 26.51-21.49 48-48 48s-48-21.49-48-48v-64c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v64zm0-128c0 8.84-7.16 16-16 16h-64c-8.84 0-16-7.16-16-16v-64c0-26.51 21.49-48 48-48s48 21.49 48 48v64z"] };
  3909. var faTeethOpen = { prefix: 'fas', iconName: 'teeth-open', icon: [640, 512, [], "f62f", "M544 0H96C42.98 0 0 42.98 0 96v64c0 35.35 28.66 64 64 64h512c35.34 0 64-28.65 64-64V96c0-53.02-42.98-96-96-96zM160 176c0 8.84-7.16 16-16 16H80c-8.84 0-16-7.16-16-16v-32c0-26.51 21.49-48 48-48s48 21.49 48 48v32zm144 0c0 8.84-7.16 16-16 16h-80c-8.84 0-16-7.16-16-16v-56c0-30.93 25.07-56 56-56s56 25.07 56 56v56zm144 0c0 8.84-7.16 16-16 16h-80c-8.84 0-16-7.16-16-16v-56c0-30.93 25.07-56 56-56s56 25.07 56 56v56zm128 0c0 8.84-7.16 16-16 16h-64c-8.84 0-16-7.16-16-16v-32c0-26.51 21.49-48 48-48s48 21.49 48 48v32zm0 144H64c-35.34 0-64 28.65-64 64v32c0 53.02 42.98 96 96 96h448c53.02 0 96-42.98 96-96v-32c0-35.35-28.66-64-64-64zm-416 80c0 26.51-21.49 48-48 48s-48-21.49-48-48v-32c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v32zm144-8c0 30.93-25.07 56-56 56s-56-25.07-56-56v-24c0-8.84 7.16-16 16-16h80c8.84 0 16 7.16 16 16v24zm144 0c0 30.93-25.07 56-56 56s-56-25.07-56-56v-24c0-8.84 7.16-16 16-16h80c8.84 0 16 7.16 16 16v24zm128 8c0 26.51-21.49 48-48 48s-48-21.49-48-48v-32c0-8.84 7.16-16 16-16h64c8.84 0 16 7.16 16 16v32z"] };
  3910. var faTerminal = { prefix: 'fas', iconName: 'terminal', icon: [640, 512, [], "f120", "M257.981 272.971L63.638 467.314c-9.373 9.373-24.569 9.373-33.941 0L7.029 444.647c-9.357-9.357-9.375-24.522-.04-33.901L161.011 256 6.99 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L257.981 239.03c9.373 9.372 9.373 24.568 0 33.941zM640 456v-32c0-13.255-10.745-24-24-24H312c-13.255 0-24 10.745-24 24v32c0 13.255 10.745 24 24 24h304c13.255 0 24-10.745 24-24z"] };
  3911. var faTextHeight = { prefix: 'fas', iconName: 'text-height', icon: [576, 512, [], "f034", "M16 32h288c8.837 0 16 7.163 16 16v96c0 8.837-7.163 16-16 16h-35.496c-8.837 0-16-7.163-16-16V96h-54.761v320H232c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H88c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h34.257V96H67.496v48c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V48c0-8.837 7.163-16 16-16zm475.308 4.685l79.995 80.001C581.309 126.693 574.297 144 559.99 144H512v224h48c15.639 0 20.635 17.991 11.313 27.314l-79.995 80.001c-6.247 6.247-16.381 6.245-22.626 0l-79.995-80.001C378.691 385.307 385.703 368 400.01 368H448V144h-48c-15.639 0-20.635-17.991-11.313-27.314l79.995-80.001c6.247-6.248 16.381-6.245 22.626 0z"] };
  3912. var faTextWidth = { prefix: 'fas', iconName: 'text-width', icon: [448, 512, [], "f035", "M16 32h416c8.837 0 16 7.163 16 16v96c0 8.837-7.163 16-16 16h-35.496c-8.837 0-16-7.163-16-16V96H261.743v128H296c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H152c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16h34.257V96H67.496v48c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V48c0-8.837 7.163-16 16-16zm427.315 340.682l-80.001-79.995C353.991 283.365 336 288.362 336 304v48H112v-47.99c0-14.307-17.307-21.319-27.314-11.313L4.685 372.692c-6.245 6.245-6.247 16.379 0 22.626l80.001 79.995C94.009 484.635 112 479.638 112 464v-48h224v47.99c0 14.307 17.307 21.319 27.314 11.313l80.001-79.995c6.245-6.245 6.248-16.379 0-22.626z"] };
  3913. var faTh = { prefix: 'fas', iconName: 'th', icon: [512, 512, [], "f00a", "M149.333 56v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zm181.334 240v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm32-240v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24zm-32 80V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.256 0 24.001-10.745 24.001-24zm-205.334 56H24c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm386.667-56H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm0 160H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H386.667c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zM181.333 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24z"] };
  3914. var faThLarge = { prefix: 'fas', iconName: 'th-large', icon: [512, 512, [], "f009", "M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"] };
  3915. var faThList = { prefix: 'fas', iconName: 'th-list', icon: [512, 512, [], "f00b", "M149.333 216v80c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-80c0-13.255 10.745-24 24-24h101.333c13.255 0 24 10.745 24 24zM0 376v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zM125.333 32H24C10.745 32 0 42.745 0 56v80c0 13.255 10.745 24 24 24h101.333c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zm80 448H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24zm-24-424v80c0 13.255 10.745 24 24 24H488c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24zm24 264H488c13.255 0 24-10.745 24-24v-80c0-13.255-10.745-24-24-24H205.333c-13.255 0-24 10.745-24 24v80c0 13.255 10.745 24 24 24z"] };
  3916. var faTheaterMasks = { prefix: 'fas', iconName: 'theater-masks', icon: [640, 512, [], "f630", "M206.86 245.15c-35.88 10.45-59.95 41.2-57.53 74.1 11.4-12.72 28.81-23.7 49.9-30.92l7.63-43.18zM95.81 295L64.08 115.49c-.29-1.62.28-2.62.24-2.65 57.76-32.06 123.12-49.01 189.01-49.01 1.61 0 3.23.17 4.85.19 13.95-13.47 31.73-22.83 51.59-26 18.89-3.02 38.05-4.55 57.18-5.32-9.99-13.95-24.48-24.23-41.77-27C301.27 1.89 277.24 0 253.32 0 176.66 0 101.02 19.42 33.2 57.06 9.03 70.48-3.92 98.48 1.05 126.58l31.73 179.51c14.23 80.52 136.33 142.08 204.45 142.08 3.59 0 6.75-.46 10.01-.8-13.52-17.08-28.94-40.48-39.5-67.58-47.61-12.98-106.06-51.62-111.93-84.79zm97.55-137.46c-.73-4.12-2.23-7.87-4.07-11.4-8.25 8.91-20.67 15.75-35.32 18.32-14.65 2.58-28.67.4-39.48-5.17-.52 3.94-.64 7.98.09 12.1 3.84 21.7 24.58 36.19 46.34 32.37 21.75-3.82 36.28-24.52 32.44-46.22zM606.8 120.9c-88.98-49.38-191.43-67.41-291.98-51.35-27.31 4.36-49.08 26.26-54.04 54.36l-31.73 179.51c-15.39 87.05 95.28 196.27 158.31 207.35 63.03 11.09 204.47-53.79 219.86-140.84l31.73-179.51c4.97-28.11-7.98-56.11-32.15-69.52zm-273.24 96.8c3.84-21.7 24.58-36.19 46.34-32.36 21.76 3.83 36.28 24.52 32.45 46.22-.73 4.12-2.23 7.87-4.07 11.4-8.25-8.91-20.67-15.75-35.32-18.32-14.65-2.58-28.67-.4-39.48 5.17-.53-3.95-.65-7.99.08-12.11zm70.47 198.76c-55.68-9.79-93.52-59.27-89.04-112.9 20.6 25.54 56.21 46.17 99.49 53.78 43.28 7.61 83.82.37 111.93-16.6-14.18 51.94-66.71 85.51-122.38 75.72zm130.3-151.34c-8.25-8.91-20.68-15.75-35.33-18.32-14.65-2.58-28.67-.4-39.48 5.17-.52-3.94-.64-7.98.09-12.1 3.84-21.7 24.58-36.19 46.34-32.37 21.75 3.83 36.28 24.52 32.45 46.22-.73 4.13-2.23 7.88-4.07 11.4z"] };
  3917. var faThermometer = { prefix: 'fas', iconName: 'thermometer', icon: [512, 512, [], "f491", "M476.8 20.4c-37.5-30.7-95.5-26.3-131.9 10.2l-45.7 46 50.5 50.5c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0l-50.4-50.5-45.1 45.4 50.3 50.4c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0L209 167.4l-45.1 45.4L214 263c3.1 3.1 3.1 8.2 0 11.3l-11.3 11.3c-3.1 3.1-8.2 3.1-11.3 0l-50.1-50.2L96 281.1V382L7 471c-9.4 9.4-9.4 24.6 0 33.9 9.4 9.4 24.6 9.4 33.9 0l89-89h99.9L484 162.6c34.9-34.9 42.2-101.5-7.2-142.2z"] };
  3918. var faThermometerEmpty = { prefix: 'fas', iconName: 'thermometer-empty', icon: [256, 512, [], "f2cb", "M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-35.346 28.654-64 64-64s64 28.654 64 64zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z"] };
  3919. var faThermometerFull = { prefix: 'fas', iconName: 'thermometer-full', icon: [256, 512, [], "f2c7", "M224 96c0-53.019-42.981-96-96-96S32 42.981 32 96v203.347C12.225 321.756.166 351.136.002 383.333c-.359 70.303 56.787 128.176 127.089 128.664.299.002.61.003.909.003 70.698 0 128-57.304 128-128 0-32.459-12.088-62.09-32-84.653V96zm-96 368l-.576-.002c-43.86-.304-79.647-36.544-79.423-80.42.173-33.98 19.266-51.652 31.999-66.08V96c0-26.467 21.533-48 48-48s48 21.533 48 48v221.498c12.63 14.312 32 32.164 32 66.502 0 44.112-35.888 80-80 80zm64-80c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V96c0-17.673 14.327-32 32-32s32 14.327 32 32v232.583c19.124 11.068 32 31.732 32 55.417z"] };
  3920. var faThermometerHalf = { prefix: 'fas', iconName: 'thermometer-half', icon: [256, 512, [], "f2c9", "M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V224c0-17.673 14.327-32 32-32s32 14.327 32 32v104.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z"] };
  3921. var faThermometerQuarter = { prefix: 'fas', iconName: 'thermometer-quarter', icon: [256, 512, [], "f2ca", "M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V288c0-17.673 14.327-32 32-32s32 14.327 32 32v40.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z"] };
  3922. var faThermometerThreeQuarters = { prefix: 'fas', iconName: 'thermometer-three-quarters', icon: [256, 512, [], "f2c8", "M192 384c0 35.346-28.654 64-64 64-35.346 0-64-28.654-64-64 0-23.685 12.876-44.349 32-55.417V160c0-17.673 14.327-32 32-32s32 14.327 32 32v168.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z"] };
  3923. var faThumbsDown = { prefix: 'fas', iconName: 'thumbs-down', icon: [512, 512, [], "f165", "M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"] };
  3924. var faThumbsUp = { prefix: 'fas', iconName: 'thumbs-up', icon: [512, 512, [], "f164", "M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"] };
  3925. var faThumbtack = { prefix: 'fas', iconName: 'thumbtack', icon: [384, 512, [], "f08d", "M298.028 214.267L285.793 96H328c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v48c0 13.255 10.745 24 24 24h42.207L85.972 214.267C37.465 236.82 0 277.261 0 328c0 13.255 10.745 24 24 24h136v104.007c0 1.242.289 2.467.845 3.578l24 48c2.941 5.882 11.364 5.893 14.311 0l24-48a8.008 8.008 0 0 0 .845-3.578V352h136c13.255 0 24-10.745 24-24-.001-51.183-37.983-91.42-85.973-113.733z"] };
  3926. var faTicketAlt = { prefix: 'fas', iconName: 'ticket-alt', icon: [576, 512, [], "f3ff", "M128 160h320v192H128V160zm400 96c0 26.51 21.49 48 48 48v96c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48v-96c26.51 0 48-21.49 48-48s-21.49-48-48-48v-96c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v96c-26.51 0-48 21.49-48 48zm-48-104c0-13.255-10.745-24-24-24H120c-13.255 0-24 10.745-24 24v208c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V152z"] };
  3927. var faTimes = { prefix: 'fas', iconName: 'times', icon: [352, 512, [], "f00d", "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"] };
  3928. var faTimesCircle = { prefix: 'fas', iconName: 'times-circle', icon: [512, 512, [], "f057", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"] };
  3929. var faTint = { prefix: 'fas', iconName: 'tint', icon: [352, 512, [], "f043", "M205.22 22.09c-7.94-28.78-49.44-30.12-58.44 0C100.01 179.85 0 222.72 0 333.91 0 432.35 78.72 512 176 512s176-79.65 176-178.09c0-111.75-99.79-153.34-146.78-311.82zM176 448c-61.75 0-112-50.25-112-112 0-8.84 7.16-16 16-16s16 7.16 16 16c0 44.11 35.89 80 80 80 8.84 0 16 7.16 16 16s-7.16 16-16 16z"] };
  3930. var faTintSlash = { prefix: 'fas', iconName: 'tint-slash', icon: [640, 512, [], "f5c7", "M633.82 458.1L494.97 350.78c.52-5.57 1.03-11.16 1.03-16.87 0-111.76-99.79-153.34-146.78-311.82-7.94-28.78-49.44-30.12-58.44 0-15.52 52.34-36.87 91.96-58.49 125.68L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM144 333.91C144 432.35 222.72 512 320 512c44.71 0 85.37-16.96 116.4-44.7L162.72 255.78c-11.41 23.5-18.72 48.35-18.72 78.13z"] };
  3931. var faTired = { prefix: 'fas', iconName: 'tired', icon: [496, 512, [], "f5c8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm33.8 189.7l80-48c11.6-6.9 24 7.7 15.4 18L343.6 208l33.6 40.3c8.7 10.4-3.9 24.8-15.4 18l-80-48c-7.7-4.7-7.7-15.9 0-20.6zm-163-30c-8.6-10.3 3.8-24.9 15.4-18l80 48c7.8 4.7 7.8 15.9 0 20.6l-80 48c-11.5 6.8-24-7.6-15.4-18l33.6-40.3-33.6-40.3zM248 288c51.9 0 115.3 43.8 123.2 106.7 1.7 13.6-8 24.6-17.7 20.4-25.9-11.1-64.4-17.4-105.5-17.4s-79.6 6.3-105.5 17.4c-9.8 4.2-19.4-7-17.7-20.4C132.7 331.8 196.1 288 248 288z"] };
  3932. var faToggleOff = { prefix: 'fas', iconName: 'toggle-off', icon: [576, 512, [], "f204", "M384 64H192C85.961 64 0 149.961 0 256s85.961 192 192 192h192c106.039 0 192-85.961 192-192S490.039 64 384 64zM64 256c0-70.741 57.249-128 128-128 70.741 0 128 57.249 128 128 0 70.741-57.249 128-128 128-70.741 0-128-57.249-128-128zm320 128h-48.905c65.217-72.858 65.236-183.12 0-256H384c70.741 0 128 57.249 128 128 0 70.74-57.249 128-128 128z"] };
  3933. var faToggleOn = { prefix: 'fas', iconName: 'toggle-on', icon: [576, 512, [], "f205", "M576 256c0 106.039-85.961 192-192 192H192C85.961 448 0 362.039 0 256S85.961 64 192 64h192c106.039 0 192 85.961 192 192zM384 128c-70.741 0-128 57.249-128 128 0 70.741 57.249 128 128 128 70.741 0 128-57.249 128-128 0-70.741-57.249-128-128-128"] };
  3934. var faToiletPaper = { prefix: 'fas', iconName: 'toilet-paper', icon: [576, 512, [], "f71e", "M128 0C74.98 0 32 85.96 32 192v172.07c0 41.12-9.8 62.77-31.17 126.87C-2.62 501.3 5.09 512 16.01 512h280.92c13.77 0 26-8.81 30.36-21.88 12.83-38.48 24.71-72.4 24.71-126.05V192c0-83.6 23.67-153.52 60.44-192H128zM96 224c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm64 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm64 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm64 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zM480 0c-53.02 0-96 85.96-96 192s42.98 192 96 192 96-85.96 96-192S533.02 0 480 0zm0 256c-17.67 0-32-28.65-32-64s14.33-64 32-64 32 28.65 32 64-14.33 64-32 64z"] };
  3935. var faToolbox = { prefix: 'fas', iconName: 'toolbox', icon: [512, 512, [], "f552", "M502.63 214.63l-45.25-45.25c-6-6-14.14-9.37-22.63-9.37H384V80c0-26.51-21.49-48-48-48H176c-26.51 0-48 21.49-48 48v80H77.25c-8.49 0-16.62 3.37-22.63 9.37L9.37 214.63c-6 6-9.37 14.14-9.37 22.63V320h128v-16c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v16h128v-16c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v16h128v-82.75c0-8.48-3.37-16.62-9.37-22.62zM320 160H192V96h128v64zm64 208c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-16H192v16c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-16H0v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96H384v16z"] };
  3936. var faTooth = { prefix: 'fas', iconName: 'tooth', icon: [448, 512, [], "f5c9", "M443.98 96.25c-11.01-45.22-47.11-82.06-92.01-93.72-32.19-8.36-63 5.1-89.14 24.33-3.25 2.39-6.96 3.73-10.5 5.48l28.32 18.21c7.42 4.77 9.58 14.67 4.8 22.11-4.46 6.95-14.27 9.86-22.11 4.8L162.83 12.84c-20.7-10.85-43.38-16.4-66.81-10.31-44.9 11.67-81 48.5-92.01 93.72-10.13 41.62-.42 80.81 21.5 110.43 23.36 31.57 32.68 68.66 36.29 107.35 4.4 47.16 10.33 94.16 20.94 140.32l7.8 33.95c3.19 13.87 15.49 23.7 29.67 23.7 13.97 0 26.15-9.55 29.54-23.16l34.47-138.42c4.56-18.32 20.96-31.16 39.76-31.16s35.2 12.85 39.76 31.16l34.47 138.42c3.39 13.61 15.57 23.16 29.54 23.16 14.18 0 26.48-9.83 29.67-23.7l7.8-33.95c10.61-46.15 16.53-93.16 20.94-140.32 3.61-38.7 12.93-75.78 36.29-107.35 21.95-29.61 31.66-68.8 21.53-110.43z"] };
  3937. var faTorah = { prefix: 'fas', iconName: 'torah', icon: [448, 512, [], "f6a0", "M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM139.11 141.21c-2.77-4.41.4-10.14 5.6-10.14h53.08c.9 0 1.73-.46 2.21-1.22l34.4-54.76c2.6-4.13 8.61-4.13 11.21 0l34.4 54.76a2.61 2.61 0 0 0 2.21 1.22h53.08c5.2 0 8.37 5.73 5.6 10.14L314.01 184l26.88 42.79c2.77 4.4-.4 10.13-5.6 10.13h-53.08c-.9 0-1.73.46-2.21 1.22l-34.4 54.76c-2.6 4.13-8.61 4.13-11.21 0L200 238.15a2.61 2.61 0 0 0-2.21-1.22h-53.08c-5.2 0-8.37-5.73-5.6-10.13l26.88-42.8-26.88-42.79zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"] };
  3938. var faToriiGate = { prefix: 'fas', iconName: 'torii-gate', icon: [512, 512, [], "f6a1", "M376.45 32h-240.9A303.17 303.17 0 0 1 0 0v96c0 17.67 14.33 32 32 32h32v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h48v240c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V256h256v240c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V256h48c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16h-48v-64h32c17.67 0 32-14.33 32-32V0a303.17 303.17 0 0 1-135.55 32zM128 128h96v64h-96v-64zm256 64h-96v-64h96v64z"] };
  3939. var faTractor = { prefix: 'fas', iconName: 'tractor', icon: [640, 512, [], "f722", "M528 336c-48.6 0-88 39.4-88 88s39.4 88 88 88 88-39.4 88-88-39.4-88-88-88zm0 112c-13.23 0-24-10.77-24-24s10.77-24 24-24 24 10.77 24 24-10.77 24-24 24zm80-288h-64v-40.2c0-14.12 4.7-27.76 13.15-38.84 4.42-5.8 3.55-14.06-1.32-19.49L534.2 37.3c-6.66-7.45-18.32-6.92-24.7.78C490.58 60.9 480 89.81 480 119.8V160H377.67L321.58 29.14A47.914 47.914 0 0 0 277.45 0H144c-26.47 0-48 21.53-48 48v146.52c-8.63-6.73-20.96-6.46-28.89 1.47L36 227.1c-8.59 8.59-8.59 22.52 0 31.11l5.06 5.06c-4.99 9.26-8.96 18.82-11.91 28.72H22c-12.15 0-22 9.85-22 22v44c0 12.15 9.85 22 22 22h7.14c2.96 9.91 6.92 19.46 11.91 28.73l-5.06 5.06c-8.59 8.59-8.59 22.52 0 31.11L67.1 476c8.59 8.59 22.52 8.59 31.11 0l5.06-5.06c9.26 4.99 18.82 8.96 28.72 11.91V490c0 12.15 9.85 22 22 22h44c12.15 0 22-9.85 22-22v-7.14c9.9-2.95 19.46-6.92 28.72-11.91l5.06 5.06c8.59 8.59 22.52 8.59 31.11 0l31.11-31.11c8.59-8.59 8.59-22.52 0-31.11l-5.06-5.06c4.99-9.26 8.96-18.82 11.91-28.72H330c12.15 0 22-9.85 22-22v-6h80.54c21.91-28.99 56.32-48 95.46-48 18.64 0 36.07 4.61 51.8 12.2l50.82-50.82c6-6 9.37-14.14 9.37-22.63V192c.01-17.67-14.32-32-31.99-32zM176 416c-44.18 0-80-35.82-80-80s35.82-80 80-80 80 35.82 80 80-35.82 80-80 80zm22-256h-38V64h106.89l41.15 96H198z"] };
  3940. var faTrademark = { prefix: 'fas', iconName: 'trademark', icon: [640, 512, [], "f25c", "M97.119 163.133H12c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h248.559c6.627 0 12 5.373 12 12v43.133c0 6.627-5.373 12-12 12H175.44V404c0 6.627-5.373 12-12 12h-54.322c-6.627 0-12-5.373-12-12V163.133zM329.825 96h65.425a12 12 0 0 1 11.346 8.093l43.759 127.068c7.161 20.588 16.111 52.812 16.111 52.812h.896s8.95-32.224 16.111-52.812l43.758-127.068A12 12 0 0 1 538.577 96h65.41a12 12 0 0 1 11.961 11.03l24.012 296c.567 6.987-4.951 12.97-11.961 12.97h-54.101a12 12 0 0 1-11.972-11.182l-9.082-132.93c-1.79-24.168 0-53.706 0-53.706h-.896s-10.741 33.566-17.902 53.706l-30.7 84.731a12 12 0 0 1-11.282 7.912h-50.302a12 12 0 0 1-11.282-7.912l-30.7-84.731c-7.161-20.14-17.903-53.706-17.903-53.706h-.895s1.79 29.538 0 53.706l-9.082 132.93c-.428 6.295-5.66 11.182-11.97 11.182H305.4c-7.017 0-12.536-5.994-11.959-12.987l24.425-296A11.999 11.999 0 0 1 329.825 96z"] };
  3941. var faTrafficLight = { prefix: 'fas', iconName: 'traffic-light', icon: [384, 512, [], "f637", "M384 192h-64v-37.88c37.2-13.22 64-48.38 64-90.12h-64V32c0-17.67-14.33-32-32-32H96C78.33 0 64 14.33 64 32v32H0c0 41.74 26.8 76.9 64 90.12V192H0c0 41.74 26.8 76.9 64 90.12V320H0c0 42.84 28.25 78.69 66.99 91.05C79.42 468.72 130.6 512 192 512s112.58-43.28 125.01-100.95C355.75 398.69 384 362.84 384 320h-64v-37.88c37.2-13.22 64-48.38 64-90.12zM192 416c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm0-128c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm0-128c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48z"] };
  3942. var faTrain = { prefix: 'fas', iconName: 'train', icon: [448, 512, [], "f238", "M448 96v256c0 51.815-61.624 96-130.022 96l62.98 49.721C386.905 502.417 383.562 512 376 512H72c-7.578 0-10.892-9.594-4.957-14.279L130.022 448C61.82 448 0 403.954 0 352V96C0 42.981 64 0 128 0h192c65 0 128 42.981 128 96zm-48 136V120c0-13.255-10.745-24-24-24H72c-13.255 0-24 10.745-24 24v112c0 13.255 10.745 24 24 24h304c13.255 0 24-10.745 24-24zm-176 64c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56z"] };
  3943. var faTransgender = { prefix: 'fas', iconName: 'transgender', icon: [384, 512, [], "f224", "M372 0h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-80.7 80.7C198.5 104.1 172.2 96 144 96 64.5 96 0 160.5 0 240c0 68.5 47.9 125.9 112 140.4V408H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v28c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-28h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-27.6c64.1-14.6 112-71.9 112-140.4 0-28.2-8.1-54.5-22.1-76.7l80.7-80.7 16.9 16.9c7.6 7.6 20.5 2.2 20.5-8.5V12c0-6.6-5.4-12-12-12zM144 320c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3944. var faTransgenderAlt = { prefix: 'fas', iconName: 'transgender-alt', icon: [480, 512, [], "f225", "M468 0h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-80.7 80.7C294.5 104.1 268.2 96 240 96c-28.2 0-54.5 8.1-76.7 22.1l-16.5-16.5 19.8-19.8c4.7-4.7 4.7-12.3 0-17l-28.3-28.3c-4.7-4.7-12.3-4.7-17 0l-19.8 19.8-19-19 16.9-16.9C107.1 12.9 101.7 0 91 0H12C5.4 0 0 5.4 0 12v79c0 10.7 12.9 16 20.5 8.5l16.9-16.9 19 19-19.8 19.8c-4.7 4.7-4.7 12.3 0 17l28.3 28.3c4.7 4.7 12.3 4.7 17 0l19.8-19.8 16.5 16.5C104.1 185.5 96 211.8 96 240c0 68.5 47.9 125.9 112 140.4V408h-36c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v28c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-28h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-27.6c64.1-14.6 112-71.9 112-140.4 0-28.2-8.1-54.5-22.1-76.7l80.7-80.7 16.9 16.9c7.6 7.6 20.5 2.2 20.5-8.5V12c0-6.6-5.4-12-12-12zM240 320c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3945. var faTrash = { prefix: 'fas', iconName: 'trash', icon: [448, 512, [], "f1f8", "M0 84V56c0-13.3 10.7-24 24-24h112l9.4-18.7c4-8.2 12.3-13.3 21.4-13.3h114.3c9.1 0 17.4 5.1 21.5 13.3L312 32h112c13.3 0 24 10.7 24 24v28c0 6.6-5.4 12-12 12H12C5.4 96 0 90.6 0 84zm415.2 56.7L394.8 467c-1.6 25.3-22.6 45-47.9 45H101.1c-25.3 0-46.3-19.7-47.9-45L32.8 140.7c-.4-6.9 5.1-12.7 12-12.7h358.5c6.8 0 12.3 5.8 11.9 12.7z"] };
  3946. var faTrashAlt = { prefix: 'fas', iconName: 'trash-alt', icon: [448, 512, [], "f2ed", "M0 84V56c0-13.3 10.7-24 24-24h112l9.4-18.7c4-8.2 12.3-13.3 21.4-13.3h114.3c9.1 0 17.4 5.1 21.5 13.3L312 32h112c13.3 0 24 10.7 24 24v28c0 6.6-5.4 12-12 12H12C5.4 96 0 90.6 0 84zm416 56v324c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V140c0-6.6 5.4-12 12-12h360c6.6 0 12 5.4 12 12zm-272 68c0-8.8-7.2-16-16-16s-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V208zm96 0c0-8.8-7.2-16-16-16s-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V208zm96 0c0-8.8-7.2-16-16-16s-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V208z"] };
  3947. var faTree = { prefix: 'fas', iconName: 'tree', icon: [384, 512, [], "f1bb", "M378.31 378.49L298.42 288h30.63c9.01 0 16.98-5 20.78-13.06 3.8-8.04 2.55-17.26-3.28-24.05L268.42 160h28.89c9.1 0 17.3-5.35 20.86-13.61 3.52-8.13 1.86-17.59-4.24-24.08L203.66 4.83c-6.03-6.45-17.28-6.45-23.32 0L70.06 122.31c-6.1 6.49-7.75 15.95-4.24 24.08C69.38 154.65 77.59 160 86.69 160h28.89l-78.14 90.91c-5.81 6.78-7.06 15.99-3.27 24.04C37.97 283 45.93 288 54.95 288h30.63L5.69 378.49c-6 6.79-7.36 16.09-3.56 24.26 3.75 8.05 12 13.25 21.01 13.25H160v24.45l-30.29 48.4c-5.32 10.64 2.42 23.16 14.31 23.16h95.96c11.89 0 19.63-12.52 14.31-23.16L224 440.45V416h136.86c9.01 0 17.26-5.2 21.01-13.25 3.8-8.17 2.44-17.47-3.56-24.26z"] };
  3948. var faTrophy = { prefix: 'fas', iconName: 'trophy', icon: [576, 512, [], "f091", "M552 64H448V24c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24v40H24C10.7 64 0 74.7 0 88v56c0 35.7 22.5 72.4 61.9 100.7 31.5 22.7 69.8 37.1 110 41.7C203.3 338.5 240 360 240 360v72h-48c-35.3 0-64 20.7-64 56v12c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12v-12c0-35.3-28.7-56-64-56h-48v-72s36.7-21.5 68.1-73.6c40.3-4.6 78.6-19 110-41.7 39.3-28.3 61.9-65 61.9-100.7V88c0-13.3-10.7-24-24-24zM99.3 192.8C74.9 175.2 64 155.6 64 144v-16h64.2c1 32.6 5.8 61.2 12.8 86.2-15.1-5.2-29.2-12.4-41.7-21.4zM512 144c0 16.1-17.7 36.1-35.3 48.8-12.5 9-26.7 16.2-41.8 21.4 7-25 11.8-53.6 12.8-86.2H512v16z"] };
  3949. var faTruck = { prefix: 'fas', iconName: 'truck', icon: [640, 512, [], "f0d1", "M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"] };
  3950. var faTruckLoading = { prefix: 'fas', iconName: 'truck-loading', icon: [640, 512, [], "f4de", "M50.2 375.6c2.3 8.5 11.1 13.6 19.6 11.3l216.4-58c8.5-2.3 13.6-11.1 11.3-19.6l-49.7-185.5c-2.3-8.5-11.1-13.6-19.6-11.3L151 133.3l24.8 92.7-61.8 16.5-24.8-92.7-77.3 20.7C3.4 172.8-1.7 181.6.6 190.1l49.6 185.5zM384 0c-17.7 0-32 14.3-32 32v323.6L5.9 450c-4.3 1.2-6.8 5.6-5.6 9.8l12.6 46.3c1.2 4.3 5.6 6.8 9.8 5.6l393.7-107.4C418.8 464.1 467.6 512 528 512c61.9 0 112-50.1 112-112V0H384zm144 448c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"] };
  3951. var faTruckMonster = { prefix: 'fas', iconName: 'truck-monster', icon: [640, 512, [], "f63b", "M624 224h-16v-64c0-17.67-14.33-32-32-32h-73.6L419.22 24.02A64.025 64.025 0 0 0 369.24 0H256c-17.67 0-32 14.33-32 32v96H48c-8.84 0-16 7.16-16 16v80H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h16.72c29.21-38.65 75.1-64 127.28-64s98.07 25.35 127.28 64h65.45c29.21-38.65 75.1-64 127.28-64s98.07 25.35 127.28 64H624c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm-336-96V64h81.24l51.2 64H288zm304 224h-5.2c-2.2-7.33-5.07-14.28-8.65-20.89l3.67-3.67c6.25-6.25 6.25-16.38 0-22.63l-22.63-22.63c-6.25-6.25-16.38-6.25-22.63 0l-3.67 3.67A110.85 110.85 0 0 0 512 277.2V272c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v5.2c-7.33 2.2-14.28 5.07-20.89 8.65l-3.67-3.67c-6.25-6.25-16.38-6.25-22.63 0l-22.63 22.63c-6.25 6.25-6.25 16.38 0 22.63l3.67 3.67A110.85 110.85 0 0 0 373.2 352H368c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h5.2c2.2 7.33 5.07 14.28 8.65 20.89l-3.67 3.67c-6.25 6.25-6.25 16.38 0 22.63l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0l3.67-3.67c6.61 3.57 13.57 6.45 20.9 8.65v5.2c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-5.2c7.33-2.2 14.28-5.07 20.9-8.65l3.67 3.67c6.25 6.25 16.38 6.25 22.63 0l22.63-22.63c6.25-6.25 6.25-16.38 0-22.63l-3.67-3.67a110.85 110.85 0 0 0 8.65-20.89h5.2c8.84 0 16-7.16 16-16v-32c-.02-8.84-7.18-16-16.02-16zm-112 80c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm-208-80h-5.2c-2.2-7.33-5.07-14.28-8.65-20.89l3.67-3.67c6.25-6.25 6.25-16.38 0-22.63l-22.63-22.63c-6.25-6.25-16.38-6.25-22.63 0l-3.67 3.67A110.85 110.85 0 0 0 192 277.2V272c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v5.2c-7.33 2.2-14.28 5.07-20.89 8.65l-3.67-3.67c-6.25-6.25-16.38-6.25-22.63 0L58.18 304.8c-6.25 6.25-6.25 16.38 0 22.63l3.67 3.67a110.85 110.85 0 0 0-8.65 20.89H48c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h5.2c2.2 7.33 5.07 14.28 8.65 20.89l-3.67 3.67c-6.25 6.25-6.25 16.38 0 22.63l22.63 22.63c6.25 6.25 16.38 6.25 22.63 0l3.67-3.67c6.61 3.57 13.57 6.45 20.9 8.65v5.2c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-5.2c7.33-2.2 14.28-5.07 20.9-8.65l3.67 3.67c6.25 6.25 16.38 6.25 22.63 0l22.63-22.63c6.25-6.25 6.25-16.38 0-22.63l-3.67-3.67a110.85 110.85 0 0 0 8.65-20.89h5.2c8.84 0 16-7.16 16-16v-32C288 359.16 280.84 352 272 352zm-112 80c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48z"] };
  3952. var faTruckMoving = { prefix: 'fas', iconName: 'truck-moving', icon: [640, 512, [], "f4df", "M621.3 237.3l-58.5-58.5c-12-12-28.3-18.7-45.3-18.7H480V64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64v336c0 44.2 35.8 80 80 80 26.3 0 49.4-12.9 64-32.4 14.6 19.6 37.7 32.4 64 32.4 44.2 0 80-35.8 80-80 0-5.5-.6-10.8-1.6-16h163.2c-1.1 5.2-1.6 10.5-1.6 16 0 44.2 35.8 80 80 80s80-35.8 80-80c0-5.5-.6-10.8-1.6-16H624c8.8 0 16-7.2 16-16v-85.5c0-17-6.7-33.2-18.7-45.2zM80 432c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32zm128 0c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32zm272-224h37.5c4.3 0 8.3 1.7 11.3 4.7l43.3 43.3H480v-48zm48 224c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32z"] };
  3953. var faTruckPickup = { prefix: 'fas', iconName: 'truck-pickup', icon: [640, 512, [], "f63c", "M624 288h-16v-64c0-17.67-14.33-32-32-32h-48L419.22 56.02A64.025 64.025 0 0 0 369.24 32H256c-17.67 0-32 14.33-32 32v128H64c-17.67 0-32 14.33-32 32v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h49.61c-.76 5.27-1.61 10.52-1.61 16 0 61.86 50.14 112 112 112s112-50.14 112-112c0-5.48-.85-10.73-1.61-16h67.23c-.76 5.27-1.61 10.52-1.61 16 0 61.86 50.14 112 112 112s112-50.14 112-112c0-5.48-.85-10.73-1.61-16H624c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM288 96h81.24l76.8 96H288V96zM176 416c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48zm288 0c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48z"] };
  3954. var faTshirt = { prefix: 'fas', iconName: 'tshirt', icon: [640, 512, [], "f553", "M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z"] };
  3955. var faTty = { prefix: 'fas', iconName: 'tty', icon: [512, 512, [], "f1e4", "M5.37 103.822c138.532-138.532 362.936-138.326 501.262 0 6.078 6.078 7.074 15.496 2.583 22.681l-43.214 69.138a18.332 18.332 0 0 1-22.356 7.305l-86.422-34.569a18.335 18.335 0 0 1-11.434-18.846L351.741 90c-62.145-22.454-130.636-21.986-191.483 0l5.953 59.532a18.331 18.331 0 0 1-11.434 18.846l-86.423 34.568a18.334 18.334 0 0 1-22.356-7.305L2.787 126.502a18.333 18.333 0 0 1 2.583-22.68zM96 308v-40c0-6.627-5.373-12-12-12H44c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm-336 96v-40c0-6.627-5.373-12-12-12H92c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zM96 500v-40c0-6.627-5.373-12-12-12H44c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm288 0v-40c0-6.627-5.373-12-12-12H140c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h232c6.627 0 12-5.373 12-12zm96 0v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12z"] };
  3956. var faTv = { prefix: 'fas', iconName: 'tv', icon: [640, 512, [], "f26c", "M592 0H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h245.1v32h-160c-17.7 0-32 14.3-32 32s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-160v-32H592c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-16 352H64V64h512v288z"] };
  3957. var faUmbrella = { prefix: 'fas', iconName: 'umbrella', icon: [576, 512, [], "f0e9", "M557.011 267.631c-51.432-45.217-107.572-43.698-158.567 30.731-5.298 7.861-14.906 7.165-19.736 0-2.483-3.624-32.218-60.808-90.708-60.808-45.766 0-70.542 31.378-90.709 60.808-4.829 7.165-14.436 7.861-19.734 0-50.904-74.285-106.613-76.406-158.567-30.731-10.21 8.264-20.912-1.109-18.696-9.481C32.146 134.573 158.516 64.612 288.001 64.612c128.793 0 256.546 69.961 287.706 193.538 2.206 8.322-8.426 17.793-18.696 9.481zM256 261.001V416c0 17.645-14.355 32-32 32s-32-14.355-32-32c0-17.673-14.327-32-32-32s-32 14.327-32 32c0 52.935 43.065 96 96 96s96-43.065 96-96V261.288c-21.836-10.806-45.425-9.737-64-.287zm64-211.007V32c0-17.673-14.327-32-32-32s-32 14.327-32 32v17.987a372.105 372.105 0 0 1 64 .007z"] };
  3958. var faUmbrellaBeach = { prefix: 'fas', iconName: 'umbrella-beach', icon: [640, 512, [], "f5ca", "M115.38 136.9l102.11 37.18c35.19-81.54 86.21-144.29 139-173.7-95.88-4.89-188.78 36.96-248.53 111.8-6.69 8.4-2.66 21.05 7.42 24.72zm132.25 48.16l238.48 86.83c35.76-121.38 18.7-231.66-42.63-253.98-7.4-2.7-15.13-4-23.09-4-58.02.01-128.27 69.17-172.76 171.15zM521.48 60.5c6.22 16.3 10.83 34.6 13.2 55.19 5.74 49.89-1.42 108.23-18.95 166.98l102.62 37.36c10.09 3.67 21.31-3.43 21.57-14.17 2.32-95.69-41.91-187.44-118.44-245.36zM560 447.98H321.06L386 269.5l-60.14-21.9-72.9 200.37H16c-8.84 0-16 7.16-16 16.01v32.01C0 504.83 7.16 512 16 512h544c8.84 0 16-7.17 16-16.01v-32.01c0-8.84-7.16-16-16-16z"] };
  3959. var faUnderline = { prefix: 'fas', iconName: 'underline', icon: [448, 512, [], "f0cd", "M224.264 388.24c-91.669 0-156.603-51.165-156.603-151.392V64H39.37c-8.837 0-16-7.163-16-16V16c0-8.837 7.163-16 16-16h137.39c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-28.813v172.848c0 53.699 28.314 79.444 76.317 79.444 46.966 0 75.796-25.434 75.796-79.965V64h-28.291c-8.837 0-16-7.163-16-16V16c0-8.837 7.163-16 16-16h136.868c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16h-28.291v172.848c0 99.405-64.881 151.392-156.082 151.392zM16 448h416c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16v-32c0-8.837 7.163-16 16-16z"] };
  3960. var faUndo = { prefix: 'fas', iconName: 'undo', icon: [512, 512, [], "f0e2", "M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"] };
  3961. var faUndoAlt = { prefix: 'fas', iconName: 'undo-alt', icon: [512, 512, [], "f2ea", "M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z"] };
  3962. var faUniversalAccess = { prefix: 'fas', iconName: 'universal-access', icon: [512, 512, [], "f29a", "M256 48c114.953 0 208 93.029 208 208 0 114.953-93.029 208-208 208-114.953 0-208-93.029-208-208 0-114.953 93.029-208 208-208m0-40C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 56C149.961 64 64 149.961 64 256s85.961 192 192 192 192-85.961 192-192S362.039 64 256 64zm0 44c19.882 0 36 16.118 36 36s-16.118 36-36 36-36-16.118-36-36 16.118-36 36-36zm117.741 98.023c-28.712 6.779-55.511 12.748-82.14 15.807.851 101.023 12.306 123.052 25.037 155.621 3.617 9.26-.957 19.698-10.217 23.315-9.261 3.617-19.699-.957-23.316-10.217-8.705-22.308-17.086-40.636-22.261-78.549h-9.686c-5.167 37.851-13.534 56.208-22.262 78.549-3.615 9.255-14.05 13.836-23.315 10.217-9.26-3.617-13.834-14.056-10.217-23.315 12.713-32.541 24.185-54.541 25.037-155.621-26.629-3.058-53.428-9.027-82.141-15.807-8.6-2.031-13.926-10.648-11.895-19.249s10.647-13.926 19.249-11.895c96.686 22.829 124.283 22.783 220.775 0 8.599-2.03 17.218 3.294 19.249 11.895 2.029 8.601-3.297 17.219-11.897 19.249z"] };
  3963. var faUniversity = { prefix: 'fas', iconName: 'university', icon: [512, 512, [], "f19c", "M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a7.996 7.996 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128zm-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24zM96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192H96z"] };
  3964. var faUnlink = { prefix: 'fas', iconName: 'unlink', icon: [512, 512, [], "f127", "M304.083 405.907c4.686 4.686 4.686 12.284 0 16.971l-44.674 44.674c-59.263 59.262-155.693 59.266-214.961 0-59.264-59.265-59.264-155.696 0-214.96l44.675-44.675c4.686-4.686 12.284-4.686 16.971 0l39.598 39.598c4.686 4.686 4.686 12.284 0 16.971l-44.675 44.674c-28.072 28.073-28.072 73.75 0 101.823 28.072 28.072 73.75 28.073 101.824 0l44.674-44.674c4.686-4.686 12.284-4.686 16.971 0l39.597 39.598zm-56.568-260.216c4.686 4.686 12.284 4.686 16.971 0l44.674-44.674c28.072-28.075 73.75-28.073 101.824 0 28.072 28.073 28.072 73.75 0 101.823l-44.675 44.674c-4.686 4.686-4.686 12.284 0 16.971l39.598 39.598c4.686 4.686 12.284 4.686 16.971 0l44.675-44.675c59.265-59.265 59.265-155.695 0-214.96-59.266-59.264-155.695-59.264-214.961 0l-44.674 44.674c-4.686 4.686-4.686 12.284 0 16.971l39.597 39.598zm234.828 359.28l22.627-22.627c9.373-9.373 9.373-24.569 0-33.941L63.598 7.029c-9.373-9.373-24.569-9.373-33.941 0L7.029 29.657c-9.373 9.373-9.373 24.569 0 33.941l441.373 441.373c9.373 9.372 24.569 9.372 33.941 0z"] };
  3965. var faUnlock = { prefix: 'fas', iconName: 'unlock', icon: [448, 512, [], "f09c", "M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"] };
  3966. var faUnlockAlt = { prefix: 'fas', iconName: 'unlock-alt', icon: [448, 512, [], "f13e", "M400 256H152V152.9c0-39.6 31.7-72.5 71.3-72.9 40-.4 72.7 32.1 72.7 72v16c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24v-16C376 68 307.5-.3 223.5 0 139.5.3 72 69.5 72 153.5V256H48c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zM264 408c0 22.1-17.9 40-40 40s-40-17.9-40-40v-48c0-22.1 17.9-40 40-40s40 17.9 40 40v48z"] };
  3967. var faUpload = { prefix: 'fas', iconName: 'upload', icon: [512, 512, [], "f093", "M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"] };
  3968. var faUser = { prefix: 'fas', iconName: 'user', icon: [448, 512, [], "f007", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"] };
  3969. var faUserAlt = { prefix: 'fas', iconName: 'user-alt', icon: [512, 512, [], "f406", "M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0 112 64.5 112 144s64.5 144 144 144zm128 32h-55.1c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16H128C57.3 320 0 377.3 0 448v16c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-16c0-70.7-57.3-128-128-128z"] };
  3970. var faUserAltSlash = { prefix: 'fas', iconName: 'user-alt-slash', icon: [640, 512, [], "f4fa", "M633.8 458.1L389.6 269.3C433.8 244.7 464 198.1 464 144 464 64.5 399.5 0 320 0c-67.1 0-123 46.1-139 108.2L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3zM198.4 320C124.2 320 64 380.2 64 454.4v9.6c0 26.5 21.5 48 48 48h382.2L245.8 320h-47.4z"] };
  3971. var faUserAstronaut = { prefix: 'fas', iconName: 'user-astronaut', icon: [448, 512, [], "f4fb", "M64 224h13.5c24.7 56.5 80.9 96 146.5 96s121.8-39.5 146.5-96H384c8.8 0 16-7.2 16-16v-96c0-8.8-7.2-16-16-16h-13.5C345.8 39.5 289.6 0 224 0S102.2 39.5 77.5 96H64c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16zm40-88c0-22.1 21.5-40 48-40h144c26.5 0 48 17.9 48 40v24c0 53-43 96-96 96h-48c-53 0-96-43-96-96v-24zm72 72l12-36 36-12-36-12-12-36-12 36-36 12 36 12 12 36zm151.6 113.4C297.7 340.7 262.2 352 224 352s-73.7-11.3-103.6-30.6C52.9 328.5 0 385 0 454.4v9.6c0 26.5 21.5 48 48 48h80v-64c0-17.7 14.3-32 32-32h128c17.7 0 32 14.3 32 32v64h80c26.5 0 48-21.5 48-48v-9.6c0-69.4-52.9-125.9-120.4-133zM272 448c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zm-96 0c-8.8 0-16 7.2-16 16v48h32v-48c0-8.8-7.2-16-16-16z"] };
  3972. var faUserCheck = { prefix: 'fas', iconName: 'user-check', icon: [640, 512, [], "f4fc", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4zm323-128.4l-27.8-28.1c-4.6-4.7-12.1-4.7-16.8-.1l-104.8 104-45.5-45.8c-4.6-4.7-12.1-4.7-16.8-.1l-28.1 27.9c-4.7 4.6-4.7 12.1-.1 16.8l81.7 82.3c4.6 4.7 12.1 4.7 16.8.1l141.3-140.2c4.6-4.7 4.7-12.2.1-16.8z"] };
  3973. var faUserCircle = { prefix: 'fas', iconName: 'user-circle', icon: [496, 512, [], "f2bd", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"] };
  3974. var faUserClock = { prefix: 'fas', iconName: 'user-clock', icon: [640, 512, [], "f4fd", "M496 224c-79.6 0-144 64.4-144 144s64.4 144 144 144 144-64.4 144-144-64.4-144-144-144zm64 150.3c0 5.3-4.4 9.7-9.7 9.7h-60.6c-5.3 0-9.7-4.4-9.7-9.7v-76.6c0-5.3 4.4-9.7 9.7-9.7h12.6c5.3 0 9.7 4.4 9.7 9.7V352h38.3c5.3 0 9.7 4.4 9.7 9.7v12.6zM320 368c0-27.8 6.7-54.1 18.2-77.5-8-1.5-16.2-2.5-24.6-2.5h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h347.1c-45.3-31.9-75.1-84.5-75.1-144zm-96-112c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128z"] };
  3975. var faUserCog = { prefix: 'fas', iconName: 'user-cog', icon: [640, 512, [], "f4fe", "M610.5 373.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 400.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm201.2 226.5c-2.3-1.2-4.6-2.6-6.8-3.9l-7.9 4.6c-6 3.4-12.8 5.3-19.6 5.3-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-5.5-17.7 1.9-36.4 17.9-45.7l7.9-4.6c-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-16-9.2-23.4-28-17.9-45.7.9-2.9 2.2-5.8 3.2-8.7-3.8-.3-7.5-1.2-11.4-1.2h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c10.1 0 19.5-3.2 27.2-8.5-1.2-3.8-2-7.7-2-11.8v-9.2z"] };
  3976. var faUserEdit = { prefix: 'fas', iconName: 'user-edit', icon: [640, 512, [], "f4ff", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h274.9c-2.4-6.8-3.4-14-2.6-21.3l6.8-60.9 1.2-11.1 7.9-7.9 77.3-77.3c-24.5-27.7-60-45.5-99.9-45.5zm45.3 145.3l-6.8 61c-1.1 10.2 7.5 18.8 17.6 17.6l60.9-6.8 137.9-137.9-71.7-71.7-137.9 137.8zM633 268.9L595.1 231c-9.3-9.3-24.5-9.3-33.8 0l-37.8 37.8-4.1 4.1 71.8 71.7 41.8-41.8c9.3-9.4 9.3-24.5 0-33.9z"] };
  3977. var faUserFriends = { prefix: 'fas', iconName: 'user-friends', icon: [640, 512, [], "f500", "M192 256c61.9 0 112-50.1 112-112S253.9 32 192 32 80 82.1 80 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C51.6 288 0 339.6 0 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zM480 256c53 0 96-43 96-96s-43-96-96-96-96 43-96 96 43 96 96 96zm48 32h-3.8c-13.9 4.8-28.6 8-44.2 8s-30.3-3.2-44.2-8H432c-20.4 0-39.2 5.9-55.7 15.4 24.4 26.3 39.7 61.2 39.7 99.8v38.4c0 2.2-.5 4.3-.6 6.4H592c26.5 0 48-21.5 48-48 0-61.9-50.1-112-112-112z"] };
  3978. var faUserGraduate = { prefix: 'fas', iconName: 'user-graduate', icon: [448, 512, [], "f501", "M319.4 320.6L224 416l-95.4-95.4C57.1 323.7 0 382.2 0 454.4v9.6c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-9.6c0-72.2-57.1-130.7-128.6-133.8zM13.6 79.8l6.4 1.5v58.4c-7 4.2-12 11.5-12 20.3 0 8.4 4.6 15.4 11.1 19.7L3.5 242c-1.7 6.9 2.1 14 7.6 14h41.8c5.5 0 9.3-7.1 7.6-14l-15.6-62.3C51.4 175.4 56 168.4 56 160c0-8.8-5-16.1-12-20.3V87.1l66 15.9c-8.6 17.2-14 36.4-14 57 0 70.7 57.3 128 128 128s128-57.3 128-128c0-20.6-5.3-39.8-14-57l96.3-23.2c18.2-4.4 18.2-27.1 0-31.5l-190.4-46c-13-3.1-26.7-3.1-39.7 0L13.6 48.2c-18.1 4.4-18.1 27.2 0 31.6z"] };
  3979. var faUserInjured = { prefix: 'fas', iconName: 'user-injured', icon: [448, 512, [], "f728", "M277.37 11.98C261.08 4.47 243.11 0 224 0c-53.69 0-99.5 33.13-118.51 80h81.19l90.69-68.02zM342.51 80c-7.9-19.47-20.67-36.2-36.49-49.52L239.99 80h102.52zM224 256c70.69 0 128-57.31 128-128 0-5.48-.95-10.7-1.61-16H97.61c-.67 5.3-1.61 10.52-1.61 16 0 70.69 57.31 128 128 128zM80 299.7V512h128.26l-98.45-221.52A132.835 132.835 0 0 0 80 299.7zM0 464c0 26.51 21.49 48 48 48V320.24C18.88 344.89 0 381.26 0 422.4V464zm256-48h-55.38l42.67 96H256c26.47 0 48-21.53 48-48s-21.53-48-48-48zm57.6-128h-16.71c-22.24 10.18-46.88 16-72.89 16s-50.65-5.82-72.89-16h-7.37l42.67 96H256c44.11 0 80 35.89 80 80 0 18.08-6.26 34.59-16.41 48H400c26.51 0 48-21.49 48-48v-41.6c0-74.23-60.17-134.4-134.4-134.4z"] };
  3980. var faUserLock = { prefix: 'fas', iconName: 'user-lock', icon: [640, 512, [], "f502", "M320 320c0-11.1 3.1-21.4 8.1-30.5-4.8-.5-9.5-1.5-14.5-1.5h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h280.9c-5.5-9.5-8.9-20.3-8.9-32V320zm-96-64c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm384 32h-32v-48c0-44.2-35.8-80-80-80s-80 35.8-80 80v48h-32c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h224c17.7 0 32-14.3 32-32V320c0-17.7-14.3-32-32-32zm-80 0h-64v-48c0-17.6 14.4-32 32-32s32 14.4 32 32v48z"] };
  3981. var faUserMd = { prefix: 'fas', iconName: 'user-md', icon: [448, 512, [], "f0f0", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zM104 424c0 13.3 10.7 24 24 24s24-10.7 24-24-10.7-24-24-24-24 10.7-24 24zm216-135.4v49c36.5 7.4 64 39.8 64 78.4v41.7c0 7.6-5.4 14.2-12.9 15.7l-32.2 6.4c-4.3.9-8.5-1.9-9.4-6.3l-3.1-15.7c-.9-4.3 1.9-8.6 6.3-9.4l19.3-3.9V416c0-62.8-96-65.1-96 1.9v26.7l19.3 3.9c4.3.9 7.1 5.1 6.3 9.4l-3.1 15.7c-.9 4.3-5.1 7.1-9.4 6.3l-31.2-4.2c-7.9-1.1-13.8-7.8-13.8-15.9V416c0-38.6 27.5-70.9 64-78.4v-45.2c-2.2.7-4.4 1.1-6.6 1.9-18 6.3-37.3 9.8-57.4 9.8s-39.4-3.5-57.4-9.8c-7.4-2.6-14.9-4.2-22.6-5.2v81.6c23.1 6.9 40 28.1 40 53.4 0 30.9-25.1 56-56 56s-56-25.1-56-56c0-25.3 16.9-46.5 40-53.4v-80.4C48.5 301 0 355.8 0 422.4v44.8C0 491.9 20.1 512 44.8 512h358.4c24.7 0 44.8-20.1 44.8-44.8v-44.8c0-72-56.8-130.3-128-133.8z"] };
  3982. var faUserMinus = { prefix: 'fas', iconName: 'user-minus', icon: [640, 512, [], "f503", "M624 208H432c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"] };
  3983. var faUserNinja = { prefix: 'fas', iconName: 'user-ninja', icon: [448, 512, [], "f504", "M325.4 289.2L224 390.6 122.6 289.2C54 295.3 0 352.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-70.2-54-127.1-122.6-133.2zM32 192c27.3 0 51.8-11.5 69.2-29.7 15.1 53.9 64 93.7 122.8 93.7 70.7 0 128-57.3 128-128S294.7 0 224 0c-50.4 0-93.6 29.4-114.5 71.8C92.1 47.8 64 32 32 32c0 33.4 17.1 62.8 43.1 80-26 17.2-43.1 46.6-43.1 80zm144-96h96c17.7 0 32 14.3 32 32H144c0-17.7 14.3-32 32-32z"] };
  3984. var faUserPlus = { prefix: 'fas', iconName: 'user-plus', icon: [640, 512, [], "f234", "M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"] };
  3985. var faUserSecret = { prefix: 'fas', iconName: 'user-secret', icon: [448, 512, [], "f21b", "M383.9 308.3l23.9-62.6c4-10.5-3.7-21.7-15-21.7h-58.5c11-18.9 17.8-40.6 17.8-64v-.3c39.2-7.8 64-19.1 64-31.7 0-13.3-27.3-25.1-70.1-33-9.2-32.8-27-65.8-40.6-82.8-9.5-11.9-25.9-15.6-39.5-8.8l-27.6 13.8c-9 4.5-19.6 4.5-28.6 0L182.1 3.4c-13.6-6.8-30-3.1-39.5 8.8-13.5 17-31.4 50-40.6 82.8-42.7 7.9-70 19.7-70 33 0 12.6 24.8 23.9 64 31.7v.3c0 23.4 6.8 45.1 17.8 64H56.3c-11.5 0-19.2 11.7-14.7 22.3l25.8 60.2C27.3 329.8 0 372.7 0 422.4v44.8C0 491.9 20.1 512 44.8 512h358.4c24.7 0 44.8-20.1 44.8-44.8v-44.8c0-48.4-25.8-90.4-64.1-114.1zM176 480l-41.6-192 49.6 32 24 40-32 120zm96 0l-32-120 24-40 49.6-32L272 480zm41.7-298.5c-3.9 11.9-7 24.6-16.5 33.4-10.1 9.3-48 22.4-64-25-2.8-8.4-15.4-8.4-18.3 0-17 50.2-56 32.4-64 25-9.5-8.8-12.7-21.5-16.5-33.4-.8-2.5-6.3-5.7-6.3-5.8v-10.8c28.3 3.6 61 5.8 96 5.8s67.7-2.1 96-5.8v10.8c-.1.1-5.6 3.2-6.4 5.8z"] };
  3986. var faUserShield = { prefix: 'fas', iconName: 'user-shield', icon: [640, 512, [], "f505", "M622.3 271.1l-115.2-45c-4.1-1.6-12.6-3.7-22.2 0l-115.2 45c-10.7 4.2-17.7 14-17.7 24.9 0 111.6 68.7 188.8 132.9 213.9 9.6 3.7 18 1.6 22.2 0C558.4 489.9 640 420.5 640 296c0-10.9-7-20.7-17.7-24.9zM496 462.4V273.3l95.5 37.3c-5.6 87.1-60.9 135.4-95.5 151.8zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm96 40c0-2.5.8-4.8 1.1-7.2-2.5-.1-4.9-.8-7.5-.8h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c6.8 0 13.3-1.5 19.2-4-54-42.9-99.2-116.7-99.2-212z"] };
  3987. var faUserSlash = { prefix: 'fas', iconName: 'user-slash', icon: [640, 512, [], "f506", "M633.8 458.1L362.3 248.3C412.1 230.7 448 183.8 448 128 448 57.3 390.7 0 320 0c-67.1 0-121.5 51.8-126.9 117.4L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3zM96 422.4V464c0 26.5 21.5 48 48 48h350.2L207.4 290.3C144.2 301.3 96 356 96 422.4z"] };
  3988. var faUserTag = { prefix: 'fas', iconName: 'user-tag', icon: [640, 512, [], "f507", "M630.6 364.9l-90.3-90.2c-12-12-28.3-18.7-45.3-18.7h-79.3c-17.7 0-32 14.3-32 32v79.2c0 17 6.7 33.2 18.7 45.2l90.3 90.2c12.5 12.5 32.8 12.5 45.3 0l92.5-92.5c12.6-12.5 12.6-32.7.1-45.2zm-182.8-21c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24c0 13.2-10.7 24-24 24zm-223.8-88c70.7 0 128-57.3 128-128C352 57.3 294.7 0 224 0S96 57.3 96 128c0 70.6 57.3 127.9 128 127.9zm127.8 111.2V294c-12.2-3.6-24.9-6.2-38.2-6.2h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 287.9 0 348.1 0 422.3v41.6c0 26.5 21.5 48 48 48h352c15.5 0 29.1-7.5 37.9-18.9l-58-58c-18.1-18.1-28.1-42.2-28.1-67.9z"] };
  3989. var faUserTie = { prefix: 'fas', iconName: 'user-tie', icon: [448, 512, [], "f508", "M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm95.8 32.6L272 480l-32-136 32-56h-96l32 56-32 136-47.8-191.4C56.9 292 0 350.3 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-72.1-56.9-130.4-128.2-133.8z"] };
  3990. var faUserTimes = { prefix: 'fas', iconName: 'user-times', icon: [640, 512, [], "f235", "M589.6 240l45.6-45.6c6.3-6.3 6.3-16.5 0-22.8l-22.8-22.8c-6.3-6.3-16.5-6.3-22.8 0L544 194.4l-45.6-45.6c-6.3-6.3-16.5-6.3-22.8 0l-22.8 22.8c-6.3 6.3-6.3 16.5 0 22.8l45.6 45.6-45.6 45.6c-6.3 6.3-6.3 16.5 0 22.8l22.8 22.8c6.3 6.3 16.5 6.3 22.8 0l45.6-45.6 45.6 45.6c6.3 6.3 16.5 6.3 22.8 0l22.8-22.8c6.3-6.3 6.3-16.5 0-22.8L589.6 240zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"] };
  3991. var faUsers = { prefix: 'fas', iconName: 'users', icon: [640, 512, [], "f0c0", "M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"] };
  3992. var faUsersCog = { prefix: 'fas', iconName: 'users-cog', icon: [640, 512, [], "f509", "M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"] };
  3993. var faUtensilSpoon = { prefix: 'fas', iconName: 'utensil-spoon', icon: [512, 512, [], "f2e5", "M480.1 31.9c-55-55.1-164.9-34.5-227.8 28.5-49.3 49.3-55.1 110-28.8 160.4L9 413.2c-11.6 10.5-12.1 28.5-1 39.5L59.3 504c11 11 29.1 10.5 39.5-1.1l192.4-214.4c50.4 26.3 111.1 20.5 160.4-28.8 63-62.9 83.6-172.8 28.5-227.8z"] };
  3994. var faUtensils = { prefix: 'fas', iconName: 'utensils', icon: [416, 512, [], "f2e7", "M207.9 15.2c.8 4.7 16.1 94.5 16.1 128.8 0 52.3-27.8 89.6-68.9 104.6L168 486.7c.7 13.7-10.2 25.3-24 25.3H80c-13.7 0-24.7-11.5-24-25.3l12.9-238.1C27.7 233.6 0 196.2 0 144 0 109.6 15.3 19.9 16.1 15.2 19.3-5.1 61.4-5.4 64 16.3v141.2c1.3 3.4 15.1 3.2 16 0 1.4-25.3 7.9-139.2 8-141.8 3.3-20.8 44.7-20.8 47.9 0 .2 2.7 6.6 116.5 8 141.8.9 3.2 14.8 3.4 16 0V16.3c2.6-21.6 44.8-21.4 48-1.1zm119.2 285.7l-15 185.1c-1.2 14 9.9 26 23.9 26h56c13.3 0 24-10.7 24-24V24c0-13.2-10.7-24-24-24-82.5 0-221.4 178.5-64.9 300.9z"] };
  3995. var faVectorSquare = { prefix: 'fas', iconName: 'vector-square', icon: [512, 512, [], "f5cb", "M512 128V32c0-17.67-14.33-32-32-32h-96c-17.67 0-32 14.33-32 32H160c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v96c0 17.67 14.33 32 32 32v192c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32h192c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32V160c17.67 0 32-14.33 32-32zm-96-64h32v32h-32V64zM64 64h32v32H64V64zm32 384H64v-32h32v32zm352 0h-32v-32h32v32zm-32-96h-32c-17.67 0-32 14.33-32 32v32H160v-32c0-17.67-14.33-32-32-32H96V160h32c17.67 0 32-14.33 32-32V96h192v32c0 17.67 14.33 32 32 32h32v192z"] };
  3996. var faVenus = { prefix: 'fas', iconName: 'venus', icon: [288, 512, [], "f221", "M288 176c0-79.5-64.5-144-144-144S0 96.5 0 176c0 68.5 47.9 125.9 112 140.4V368H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v36c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-36h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-51.6c64.1-14.5 112-71.9 112-140.4zm-224 0c0-44.1 35.9-80 80-80s80 35.9 80 80-35.9 80-80 80-80-35.9-80-80z"] };
  3997. var faVenusDouble = { prefix: 'fas', iconName: 'venus-double', icon: [512, 512, [], "f226", "M288 176c0-79.5-64.5-144-144-144S0 96.5 0 176c0 68.5 47.9 125.9 112 140.4V368H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v36c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-36h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-51.6c64.1-14.5 112-71.9 112-140.4zm-224 0c0-44.1 35.9-80 80-80s80 35.9 80 80-35.9 80-80 80-80-35.9-80-80zm336 140.4V368h36c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-36v36c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-36h-36c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h36v-51.6c-21.2-4.8-40.6-14.3-57.2-27.3 14-16.7 25-36 32.1-57.1 14.5 14.8 34.7 24 57.1 24 44.1 0 80-35.9 80-80s-35.9-80-80-80c-22.3 0-42.6 9.2-57.1 24-7.1-21.1-18-40.4-32.1-57.1C303.4 43.6 334.3 32 368 32c79.5 0 144 64.5 144 144 0 68.5-47.9 125.9-112 140.4z"] };
  3998. var faVenusMars = { prefix: 'fas', iconName: 'venus-mars', icon: [576, 512, [], "f228", "M564 0h-79c-10.7 0-16 12.9-8.5 20.5l16.9 16.9-48.7 48.7C422.5 72.1 396.2 64 368 64c-33.7 0-64.6 11.6-89.2 30.9 14 16.7 25 36 32.1 57.1 14.5-14.8 34.7-24 57.1-24 44.1 0 80 35.9 80 80s-35.9 80-80 80c-22.3 0-42.6-9.2-57.1-24-7.1 21.1-18 40.4-32.1 57.1 24.5 19.4 55.5 30.9 89.2 30.9 79.5 0 144-64.5 144-144 0-28.2-8.1-54.5-22.1-76.7l48.7-48.7 16.9 16.9c2.4 2.4 5.4 3.5 8.4 3.5 6.2 0 12.1-4.8 12.1-12V12c0-6.6-5.4-12-12-12zM144 64C64.5 64 0 128.5 0 208c0 68.5 47.9 125.9 112 140.4V400H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h36v36c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-36h36c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-36v-51.6c64.1-14.6 112-71.9 112-140.4 0-79.5-64.5-144-144-144zm0 224c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"] };
  3999. var faVial = { prefix: 'fas', iconName: 'vial', icon: [480, 512, [], "f492", "M477.7 186.1L309.5 18.3c-3.1-3.1-8.2-3.1-11.3 0l-34 33.9c-3.1 3.1-3.1 8.2 0 11.3l11.2 11.1L33 316.5c-38.8 38.7-45.1 102-9.4 143.5 20.6 24 49.5 36 78.4 35.9 26.4 0 52.8-10 72.9-30.1l246.3-245.7 11.2 11.1c3.1 3.1 8.2 3.1 11.3 0l34-33.9c3.1-3 3.1-8.1 0-11.2zM318 256H161l148-147.7 78.5 78.3L318 256z"] };
  4000. var faVials = { prefix: 'fas', iconName: 'vials', icon: [640, 512, [], "f493", "M72 64h24v240c0 44.1 35.9 80 80 80s80-35.9 80-80V64h24c4.4 0 8-3.6 8-8V8c0-4.4-3.6-8-8-8H72c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm72 0h64v96h-64V64zm480 384H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM360 64h24v240c0 44.1 35.9 80 80 80s80-35.9 80-80V64h24c4.4 0 8-3.6 8-8V8c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm72 0h64v96h-64V64z"] };
  4001. var faVideo = { prefix: 'fas', iconName: 'video', icon: [576, 512, [], "f03d", "M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"] };
  4002. var faVideoSlash = { prefix: 'fas', iconName: 'video-slash', icon: [640, 512, [], "f4e2", "M633.8 458.1l-55-42.5c15.4-1.4 29.2-13.7 29.2-31.1v-257c0-25.5-29.1-40.4-50.4-25.8L448 177.3v137.2l-32-24.7v-178c0-26.4-21.4-47.8-47.8-47.8H123.9L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4L42.7 82 416 370.6l178.5 138c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.5-6.9 4.2-17-2.8-22.4zM32 400.2c0 26.4 21.4 47.8 47.8 47.8h288.4c11.2 0 21.4-4 29.6-10.5L32 154.7v245.5z"] };
  4003. var faVihara = { prefix: 'fas', iconName: 'vihara', icon: [640, 512, [], "f6a7", "M632.88 400.71L544 352v-64l55.16-17.69c11.79-5.9 11.79-22.72 0-28.62L480 192v-64l27.31-16.3c7.72-7.72 5.61-20.74-4.16-25.62L320 0 136.85 86.07c-9.77 4.88-11.88 17.9-4.16 25.62L160 128v64L40.84 241.69c-11.79 5.9-11.79 22.72 0 28.62L96 288v64L7.12 400.71c-5.42 3.62-7.7 9.63-7 15.29.62 5.01 3.57 9.75 8.72 12.33L64 448v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h160v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h160v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48l55.15-19.67c5.16-2.58 8.1-7.32 8.72-12.33.71-5.67-1.57-11.68-6.99-15.29zM224 128h192v64H224v-64zm-64 224v-64h320v64H160z"] };
  4004. var faVolleyballBall = { prefix: 'fas', iconName: 'volleyball-ball', icon: [495, 512, [], "f45f", "M223.3 243.4c-.9-37-8.6-72.8-22.7-105.7-90.8 42.4-157.5 122.4-180.3 216.8 13.4 30.8 32.9 58.3 56.9 81.1 22.7-79.2 74.2-147.8 146.1-192.2zM186.4 109c-15-26.4-34.5-50.1-57.4-70.7C38 88.1-15.8 191.2 4 300.5c33.4-83.1 98.4-152 182.4-191.5zM374 274.1c8.6-99.8-27.3-197.5-97.5-264.4-14.7-1.7-51.6-5.5-98.9 8.5 57.3 59.3 91 138.2 93.5 222.7 32.5 17.7 67.3 29 102.9 33.2zm-124.7 9.5c-31.6 19.3-58.7 43.9-80.2 72.6 82 57.3 184.5 75.1 277.5 47.8 19.7-26.4 34.2-56.8 42.2-89.9-26.6 6.6-53.7 10.4-80.9 10.4-54.6-.1-108.9-14.1-158.6-40.9zM151 383.3c-15.2 26-25.7 54.4-32.1 84.2 37.6 23 81.7 36.5 129.1 36.5 61 0 116.7-22.1 159.9-58.6C295 461.5 204.6 420.6 151 383.3zM331.3 22.7c55.3 70.4 82.5 161.2 74.6 253.6 30.3.2 60.5-4.8 89.7-14.2 0-2 .3-4 .3-6 0-107.8-68.7-199.1-164.6-233.4z"] };
  4005. var faVolumeDown = { prefix: 'fas', iconName: 'volume-down', icon: [384, 512, [], "f027", "M215.03 72.04L126.06 161H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V89.02c0-21.47-25.96-31.98-40.97-16.98zm123.2 108.08c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 229.28 336 242.62 336 257c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.87z"] };
  4006. var faVolumeMute = { prefix: 'fas', iconName: 'volume-mute', icon: [512, 512, [], "f6a9", "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zM461.64 256l45.64-45.64c6.3-6.3 6.3-16.52 0-22.82l-22.82-22.82c-6.3-6.3-16.52-6.3-22.82 0L416 210.36l-45.64-45.64c-6.3-6.3-16.52-6.3-22.82 0l-22.82 22.82c-6.3 6.3-6.3 16.52 0 22.82L370.36 256l-45.63 45.63c-6.3 6.3-6.3 16.52 0 22.82l22.82 22.82c6.3 6.3 16.52 6.3 22.82 0L416 301.64l45.64 45.64c6.3 6.3 16.52 6.3 22.82 0l22.82-22.82c6.3-6.3 6.3-16.52 0-22.82L461.64 256z"] };
  4007. var faVolumeOff = { prefix: 'fas', iconName: 'volume-off', icon: [257, 512, [], "f026", "M216.36 71.04L127.39 160H25.33c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.47-25.96-31.98-40.97-16.98z"] };
  4008. var faVolumeUp = { prefix: 'fas', iconName: 'volume-up', icon: [576, 512, [], "f028", "M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"] };
  4009. var faVrCardboard = { prefix: 'fas', iconName: 'vr-cardboard', icon: [640, 512, [], "f729", "M608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h160.22c25.19 0 48.03-14.77 58.36-37.74l27.74-61.64C286.21 331.08 302.35 320 320 320s33.79 11.08 41.68 28.62l27.74 61.64C399.75 433.23 422.6 448 447.78 448H608c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zM160 304c-35.35 0-64-28.65-64-64s28.65-64 64-64 64 28.65 64 64-28.65 64-64 64zm320 0c-35.35 0-64-28.65-64-64s28.65-64 64-64 64 28.65 64 64-28.65 64-64 64z"] };
  4010. var faWalking = { prefix: 'fas', iconName: 'walking', icon: [320, 512, [], "f554", "M208 96c26.5 0 48-21.5 48-48S234.5 0 208 0s-48 21.5-48 48 21.5 48 48 48zm94.5 149.1l-23.3-11.8-9.7-29.4c-14.7-44.6-55.7-75.8-102.2-75.9-36-.1-55.9 10.1-93.3 25.2-21.6 8.7-39.3 25.2-49.7 46.2L17.6 213c-7.8 15.8-1.5 35 14.2 42.9 15.6 7.9 34.6 1.5 42.5-14.3L81 228c3.5-7 9.3-12.5 16.5-15.4l26.8-10.8-15.2 60.7c-5.2 20.8.4 42.9 14.9 58.8l59.9 65.4c7.2 7.9 12.3 17.4 14.9 27.7l18.3 73.3c4.3 17.1 21.7 27.6 38.8 23.3 17.1-4.3 27.6-21.7 23.3-38.8l-22.2-89c-2.6-10.3-7.7-19.9-14.9-27.7l-45.5-49.7 17.2-68.7 5.5 16.5c5.3 16.1 16.7 29.4 31.7 37l23.3 11.8c15.6 7.9 34.6 1.5 42.5-14.3 7.7-15.7 1.4-35.1-14.3-43zM73.6 385.8c-3.2 8.1-8 15.4-14.2 21.5l-50 50.1c-12.5 12.5-12.5 32.8 0 45.3s32.7 12.5 45.2 0l59.4-59.4c6.1-6.1 10.9-13.4 14.2-21.5l13.5-33.8c-55.3-60.3-38.7-41.8-47.4-53.7l-20.7 51.5z"] };
  4011. var faWallet = { prefix: 'fas', iconName: 'wallet', icon: [512, 512, [], "f555", "M461.2 128H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h384c8.84 0 16-7.16 16-16 0-26.51-21.49-48-48-48H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h397.2c28.02 0 50.8-21.53 50.8-48V176c0-26.47-22.78-48-50.8-48zM416 336c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"] };
  4012. var faWarehouse = { prefix: 'fas', iconName: 'warehouse', icon: [640, 512, [], "f494", "M504 352H136.4c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0 96H136.1c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm0-192H136.6c-4.4 0-8 3.6-8 8l-.1 48c0 4.4 3.6 8 8 8H504c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm106.5-139L338.4 3.7a48.15 48.15 0 0 0-36.9 0L29.5 117C11.7 124.5 0 141.9 0 161.3V504c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V256c0-17.6 14.6-32 32.6-32h382.8c18 0 32.6 14.4 32.6 32v248c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8V161.3c0-19.4-11.7-36.8-29.5-44.3z"] };
  4013. var faWeight = { prefix: 'fas', iconName: 'weight', icon: [512, 512, [], "f496", "M448 64h-25.98C438.44 92.28 448 125.01 448 160c0 105.87-86.13 192-192 192S64 265.87 64 160c0-34.99 9.56-67.72 25.98-96H64C28.71 64 0 92.71 0 128v320c0 35.29 28.71 64 64 64h384c35.29 0 64-28.71 64-64V128c0-35.29-28.71-64-64-64zM256 320c88.37 0 160-71.63 160-160S344.37 0 256 0 96 71.63 96 160s71.63 160 160 160zm-.3-151.94l33.58-78.36c3.5-8.17 12.94-11.92 21.03-8.41 8.12 3.48 11.88 12.89 8.41 21l-33.67 78.55C291.73 188 296 197.45 296 208c0 22.09-17.91 40-40 40s-40-17.91-40-40c0-21.98 17.76-39.77 39.7-39.94z"] };
  4014. var faWeightHanging = { prefix: 'fas', iconName: 'weight-hanging', icon: [512, 512, [], "f5cd", "M510.28 445.86l-73.03-292.13c-3.8-15.19-16.44-25.72-30.87-25.72h-60.25c3.57-10.05 5.88-20.72 5.88-32 0-53.02-42.98-96-96-96s-96 42.98-96 96c0 11.28 2.3 21.95 5.88 32h-60.25c-14.43 0-27.08 10.54-30.87 25.72L1.72 445.86C-6.61 479.17 16.38 512 48.03 512h415.95c31.64 0 54.63-32.83 46.3-66.14zM256 128c-17.64 0-32-14.36-32-32s14.36-32 32-32 32 14.36 32 32-14.36 32-32 32z"] };
  4015. var faWheelchair = { prefix: 'fas', iconName: 'wheelchair', icon: [512, 512, [], "f193", "M496.101 385.669l14.227 28.663c3.929 7.915.697 17.516-7.218 21.445l-65.465 32.886c-16.049 7.967-35.556 1.194-43.189-15.055L331.679 320H192c-15.925 0-29.426-11.71-31.679-27.475C126.433 55.308 128.38 70.044 128 64c0-36.358 30.318-65.635 67.052-63.929 33.271 1.545 60.048 28.905 60.925 62.201.868 32.933-23.152 60.423-54.608 65.039l4.67 32.69H336c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H215.182l4.572 32H352a32 32 0 0 1 28.962 18.392L438.477 396.8l36.178-18.349c7.915-3.929 17.517-.697 21.446 7.218zM311.358 352h-24.506c-7.788 54.204-54.528 96-110.852 96-61.757 0-112-50.243-112-112 0-41.505 22.694-77.809 56.324-97.156-3.712-25.965-6.844-47.86-9.488-66.333C45.956 198.464 0 261.963 0 336c0 97.047 78.953 176 176 176 71.87 0 133.806-43.308 161.11-105.192L311.358 352z"] };
  4016. var faWifi = { prefix: 'fas', iconName: 'wifi', icon: [640, 512, [], "f1eb", "M634.91 154.88C457.74-8.99 182.19-8.93 5.09 154.88c-6.66 6.16-6.79 16.59-.35 22.98l34.24 33.97c6.14 6.1 16.02 6.23 22.4.38 145.92-133.68 371.3-133.71 517.25 0 6.38 5.85 16.26 5.71 22.4-.38l34.24-33.97c6.43-6.39 6.3-16.82-.36-22.98zM320 352c-35.35 0-64 28.65-64 64s28.65 64 64 64 64-28.65 64-64-28.65-64-64-64zm202.67-83.59c-115.26-101.93-290.21-101.82-405.34 0-6.9 6.1-7.12 16.69-.57 23.15l34.44 33.99c6 5.92 15.66 6.32 22.05.8 83.95-72.57 209.74-72.41 293.49 0 6.39 5.52 16.05 5.13 22.05-.8l34.44-33.99c6.56-6.46 6.33-17.06-.56-23.15z"] };
  4017. var faWind = { prefix: 'fas', iconName: 'wind', icon: [512, 512, [], "f72e", "M156.66 256H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h142.19c15.95 0 30.77 10.85 33.37 26.58C194.86 366.6 179.42 384 160 384c-14.11 0-26.13-9.19-30.37-21.9-2.11-6.31-8.6-10.1-15.25-10.1H81.63c-9.8 0-17.73 8.81-15.86 18.43C74.39 414.58 113.37 448 160 448c57.09 0 102.7-50.09 95.19-108.63-6.21-48.39-49.74-83.37-98.53-83.37zM16 224h336c59.7 0 106.83-54.76 93.83-116.69-7.61-36.23-36.91-65.53-73.14-73.14-55.44-11.64-105.13 24.91-114.93 75.53-1.86 9.57 6.09 18.3 15.84 18.3h32.8c6.65 0 13.14-3.79 15.25-10.1C325.88 105.19 337.89 96 352 96c19.42 0 34.86 17.39 31.55 37.41-2.6 15.73-17.42 26.59-33.37 26.59H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16zm384 32H243.68c19.34 16.57 33.19 38.79 39.77 64H400c26.47 0 48 21.53 48 48s-21.53 48-48 48c-17.86 0-33.33-9.86-41.56-24.38-2.85-5.03-8.69-7.62-14.47-7.62h-33.82c-10.91 0-18.96 10.81-15.35 21.1 17.77 50.6 70.54 84.75 129.41 72.35 41.22-8.69 75.1-41.65 84.67-82.68C525.98 321.46 470.48 256 400 256z"] };
  4018. var faWindowClose = { prefix: 'fas', iconName: 'window-close', icon: [512, 512, [], "f410", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-83.6 290.5c4.8 4.8 4.8 12.6 0 17.4l-40.5 40.5c-4.8 4.8-12.6 4.8-17.4 0L256 313.3l-66.5 67.1c-4.8 4.8-12.6 4.8-17.4 0l-40.5-40.5c-4.8-4.8-4.8-12.6 0-17.4l67.1-66.5-67.1-66.5c-4.8-4.8-4.8-12.6 0-17.4l40.5-40.5c4.8-4.8 12.6-4.8 17.4 0l66.5 67.1 66.5-67.1c4.8-4.8 12.6-4.8 17.4 0l40.5 40.5c4.8 4.8 4.8 12.6 0 17.4L313.3 256l67.1 66.5z"] };
  4019. var faWindowMaximize = { prefix: 'fas', iconName: 'window-maximize', icon: [512, 512, [], "f2d0", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-16 160H64v-84c0-6.6 5.4-12 12-12h360c6.6 0 12 5.4 12 12v84z"] };
  4020. var faWindowMinimize = { prefix: 'fas', iconName: 'window-minimize', icon: [512, 512, [], "f2d1", "M464 352H48c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-32c0-26.5-21.5-48-48-48z"] };
  4021. var faWindowRestore = { prefix: 'fas', iconName: 'window-restore', icon: [512, 512, [], "f2d2", "M512 48v288c0 26.5-21.5 48-48 48h-48V176c0-44.1-35.9-80-80-80H128V48c0-26.5 21.5-48 48-48h288c26.5 0 48 21.5 48 48zM384 176v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48h288c26.5 0 48 21.5 48 48zm-68 28c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v52h252v-52z"] };
  4022. var faWineBottle = { prefix: 'fas', iconName: 'wine-bottle', icon: [512, 512, [], "f72f", "M507.31 72.57L439.43 4.69c-6.25-6.25-16.38-6.25-22.63 0l-22.63 22.63c-6.25 6.25-6.25 16.38 0 22.63l-76.67 76.67c-46.58-19.7-102.4-10.73-140.37 27.23L18.75 312.23c-24.99 24.99-24.99 65.52 0 90.51l90.51 90.51c24.99 24.99 65.52 24.99 90.51 0l158.39-158.39c37.96-37.96 46.93-93.79 27.23-140.37l76.67-76.67c6.25 6.25 16.38 6.25 22.63 0l22.63-22.63c6.24-6.24 6.24-16.37-.01-22.62zM179.22 423.29l-90.51-90.51 122.04-122.04 90.51 90.51-122.04 122.04z"] };
  4023. var faWineGlass = { prefix: 'fas', iconName: 'wine-glass', icon: [288, 512, [], "f4e3", "M216 464h-40V346.81c68.47-15.89 118.05-79.91 111.4-154.16l-15.95-178.1C270.71 6.31 263.9 0 255.74 0H32.26c-8.15 0-14.97 6.31-15.7 14.55L.6 192.66C-6.05 266.91 43.53 330.93 112 346.82V464H72c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h208c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40z"] };
  4024. var faWineGlassAlt = { prefix: 'fas', iconName: 'wine-glass-alt', icon: [288, 512, [], "f5ce", "M216 464h-40V346.81c68.47-15.89 118.05-79.91 111.4-154.16l-15.95-178.1C270.71 6.31 263.9 0 255.74 0H32.26c-8.15 0-14.97 6.31-15.7 14.55L.6 192.66C-6.05 266.91 43.53 330.93 112 346.82V464H72c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h208c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40zM61.75 48h164.5l7.17 80H54.58l7.17-80z"] };
  4025. var faWonSign = { prefix: 'fas', iconName: 'won-sign', icon: [576, 512, [], "f159", "M564 192c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-48.028l18.572-80.61c1.732-7.518-3.978-14.694-11.693-14.694h-46.107a11.998 11.998 0 0 0-11.736 9.5L450.73 128H340.839l-19.725-85.987a12 12 0 0 0-11.696-9.317H265.43a12 12 0 0 0-11.687 9.277L233.696 128H124.975L107.5 42.299a12 12 0 0 0-11.758-9.602H53.628c-7.686 0-13.39 7.124-11.709 14.624L60 128H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h62.342l7.171 32H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h83.856l40.927 182.624A12 12 0 0 0 148.492 480h56.767c5.583 0 10.428-3.85 11.689-9.288L259.335 288h55.086l42.386 182.712A12 12 0 0 0 368.496 480h56.826a12 12 0 0 0 11.694-9.306L479.108 288H564c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-70.146l7.373-32H564zm-425.976 0h80.757l-7.457 32h-66.776l-6.524-32zm45.796 150.029c-6.194 25.831-6.758 47.25-7.321 47.25h-1.126s-1.689-22.05-6.758-47.25L157.599 288h38.812l-12.591 54.029zM274.182 224l1.996-8.602c1.856-7.962 3.457-15.968 4.803-23.398h11.794c1.347 7.43 2.947 15.436 4.803 23.398l1.996 8.602h-25.392zm130.959 118.029c-5.068 25.2-6.758 47.25-6.758 47.25h-1.126c-.563 0-1.126-21.42-7.321-47.25L377.542 288h39.107l-11.508 54.029zM430.281 224h-67.42l-7.34-32h81.577l-6.817 32z"] };
  4026. var faWrench = { prefix: 'fas', iconName: 'wrench', icon: [512, 512, [], "f0ad", "M507.73 109.1c-2.24-9.03-13.54-12.09-20.12-5.51l-74.36 74.36-67.88-11.31-11.31-67.88 74.36-74.36c6.62-6.62 3.43-17.9-5.66-20.16-47.38-11.74-99.55.91-136.58 37.93-39.64 39.64-50.55 97.1-34.05 147.2L18.74 402.76c-24.99 24.99-24.99 65.51 0 90.5 24.99 24.99 65.51 24.99 90.5 0l213.21-213.21c50.12 16.71 107.47 5.68 147.37-34.22 37.07-37.07 49.7-89.32 37.91-136.73zM64 472c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"] };
  4027. var faXRay = { prefix: 'fas', iconName: 'x-ray', icon: [640, 512, [], "f497", "M240 384c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zm160 32c8.8 0 16-7.2 16-16s-7.2-16-16-16-16 7.2-16 16 7.2 16 16 16zM624 0H16C7.2 0 0 7.2 0 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16zm0 448h-48V96H64v352H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h608c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM480 248c0 4.4-3.6 8-8 8H336v32h104c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H336v32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48v-16h-64v16c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48h64v-32H200c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h104v-32H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h136v-32H200c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h104v-24c0-4.4 3.6-8 8-8h16c4.4 0 8 3.6 8 8v24h104c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H336v32h136c4.4 0 8 3.6 8 8v16z"] };
  4028. var faYenSign = { prefix: 'fas', iconName: 'yen-sign', icon: [384, 512, [], "f157", "M351.208 32h-65.277a12 12 0 0 0-10.778 6.724l-55.39 113.163c-14.513 34.704-27.133 71.932-27.133 71.932h-1.262s-12.62-37.228-27.133-71.932l-55.39-113.163A11.997 11.997 0 0 0 98.068 32H32.792c-9.057 0-14.85 9.65-10.59 17.643L102.322 200H44c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h88.162L152 293.228V320H44c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h108v92c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-92h108c6.627 0 12-5.373 12-12v-32c0-6.627-5.373-12-12-12H232v-26.772L251.838 256H340c6.627 0 12-5.373 12-12v-32c0-6.627-5.373-12-12-12h-58.322l80.12-150.357C366.058 41.65 360.266 32 351.208 32z"] };
  4029. var faYinYang = { prefix: 'fas', iconName: 'yin-yang', icon: [496, 512, [], "f6ad", "M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 376c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm0-128c-53.02 0-96 42.98-96 96s42.98 96 96 96c-106.04 0-192-85.96-192-192S141.96 64 248 64c53.02 0 96 42.98 96 96s-42.98 96-96 96zm0-128c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"] };
  4030. var _iconsCache = {
  4031. faAd: faAd,
  4032. faAddressBook: faAddressBook,
  4033. faAddressCard: faAddressCard,
  4034. faAdjust: faAdjust,
  4035. faAirFreshener: faAirFreshener,
  4036. faAlignCenter: faAlignCenter,
  4037. faAlignJustify: faAlignJustify,
  4038. faAlignLeft: faAlignLeft,
  4039. faAlignRight: faAlignRight,
  4040. faAllergies: faAllergies,
  4041. faAmbulance: faAmbulance,
  4042. faAmericanSignLanguageInterpreting: faAmericanSignLanguageInterpreting,
  4043. faAnchor: faAnchor,
  4044. faAngleDoubleDown: faAngleDoubleDown,
  4045. faAngleDoubleLeft: faAngleDoubleLeft,
  4046. faAngleDoubleRight: faAngleDoubleRight,
  4047. faAngleDoubleUp: faAngleDoubleUp,
  4048. faAngleDown: faAngleDown,
  4049. faAngleLeft: faAngleLeft,
  4050. faAngleRight: faAngleRight,
  4051. faAngleUp: faAngleUp,
  4052. faAngry: faAngry,
  4053. faAnkh: faAnkh,
  4054. faAppleAlt: faAppleAlt,
  4055. faArchive: faArchive,
  4056. faArchway: faArchway,
  4057. faArrowAltCircleDown: faArrowAltCircleDown,
  4058. faArrowAltCircleLeft: faArrowAltCircleLeft,
  4059. faArrowAltCircleRight: faArrowAltCircleRight,
  4060. faArrowAltCircleUp: faArrowAltCircleUp,
  4061. faArrowCircleDown: faArrowCircleDown,
  4062. faArrowCircleLeft: faArrowCircleLeft,
  4063. faArrowCircleRight: faArrowCircleRight,
  4064. faArrowCircleUp: faArrowCircleUp,
  4065. faArrowDown: faArrowDown,
  4066. faArrowLeft: faArrowLeft,
  4067. faArrowRight: faArrowRight,
  4068. faArrowUp: faArrowUp,
  4069. faArrowsAlt: faArrowsAlt,
  4070. faArrowsAltH: faArrowsAltH,
  4071. faArrowsAltV: faArrowsAltV,
  4072. faAssistiveListeningSystems: faAssistiveListeningSystems,
  4073. faAsterisk: faAsterisk,
  4074. faAt: faAt,
  4075. faAtlas: faAtlas,
  4076. faAtom: faAtom,
  4077. faAudioDescription: faAudioDescription,
  4078. faAward: faAward,
  4079. faBackspace: faBackspace,
  4080. faBackward: faBackward,
  4081. faBalanceScale: faBalanceScale,
  4082. faBan: faBan,
  4083. faBandAid: faBandAid,
  4084. faBarcode: faBarcode,
  4085. faBars: faBars,
  4086. faBaseballBall: faBaseballBall,
  4087. faBasketballBall: faBasketballBall,
  4088. faBath: faBath,
  4089. faBatteryEmpty: faBatteryEmpty,
  4090. faBatteryFull: faBatteryFull,
  4091. faBatteryHalf: faBatteryHalf,
  4092. faBatteryQuarter: faBatteryQuarter,
  4093. faBatteryThreeQuarters: faBatteryThreeQuarters,
  4094. faBed: faBed,
  4095. faBeer: faBeer,
  4096. faBell: faBell,
  4097. faBellSlash: faBellSlash,
  4098. faBezierCurve: faBezierCurve,
  4099. faBible: faBible,
  4100. faBicycle: faBicycle,
  4101. faBinoculars: faBinoculars,
  4102. faBirthdayCake: faBirthdayCake,
  4103. faBlender: faBlender,
  4104. faBlenderPhone: faBlenderPhone,
  4105. faBlind: faBlind,
  4106. faBold: faBold,
  4107. faBolt: faBolt,
  4108. faBomb: faBomb,
  4109. faBone: faBone,
  4110. faBong: faBong,
  4111. faBook: faBook,
  4112. faBookDead: faBookDead,
  4113. faBookOpen: faBookOpen,
  4114. faBookReader: faBookReader,
  4115. faBookmark: faBookmark,
  4116. faBowlingBall: faBowlingBall,
  4117. faBox: faBox,
  4118. faBoxOpen: faBoxOpen,
  4119. faBoxes: faBoxes,
  4120. faBraille: faBraille,
  4121. faBrain: faBrain,
  4122. faBriefcase: faBriefcase,
  4123. faBriefcaseMedical: faBriefcaseMedical,
  4124. faBroadcastTower: faBroadcastTower,
  4125. faBroom: faBroom,
  4126. faBrush: faBrush,
  4127. faBug: faBug,
  4128. faBuilding: faBuilding,
  4129. faBullhorn: faBullhorn,
  4130. faBullseye: faBullseye,
  4131. faBurn: faBurn,
  4132. faBus: faBus,
  4133. faBusAlt: faBusAlt,
  4134. faBusinessTime: faBusinessTime,
  4135. faCalculator: faCalculator,
  4136. faCalendar: faCalendar,
  4137. faCalendarAlt: faCalendarAlt,
  4138. faCalendarCheck: faCalendarCheck,
  4139. faCalendarMinus: faCalendarMinus,
  4140. faCalendarPlus: faCalendarPlus,
  4141. faCalendarTimes: faCalendarTimes,
  4142. faCamera: faCamera,
  4143. faCameraRetro: faCameraRetro,
  4144. faCampground: faCampground,
  4145. faCannabis: faCannabis,
  4146. faCapsules: faCapsules,
  4147. faCar: faCar,
  4148. faCarAlt: faCarAlt,
  4149. faCarBattery: faCarBattery,
  4150. faCarCrash: faCarCrash,
  4151. faCarSide: faCarSide,
  4152. faCaretDown: faCaretDown,
  4153. faCaretLeft: faCaretLeft,
  4154. faCaretRight: faCaretRight,
  4155. faCaretSquareDown: faCaretSquareDown,
  4156. faCaretSquareLeft: faCaretSquareLeft,
  4157. faCaretSquareRight: faCaretSquareRight,
  4158. faCaretSquareUp: faCaretSquareUp,
  4159. faCaretUp: faCaretUp,
  4160. faCartArrowDown: faCartArrowDown,
  4161. faCartPlus: faCartPlus,
  4162. faCat: faCat,
  4163. faCertificate: faCertificate,
  4164. faChair: faChair,
  4165. faChalkboard: faChalkboard,
  4166. faChalkboardTeacher: faChalkboardTeacher,
  4167. faChargingStation: faChargingStation,
  4168. faChartArea: faChartArea,
  4169. faChartBar: faChartBar,
  4170. faChartLine: faChartLine,
  4171. faChartPie: faChartPie,
  4172. faCheck: faCheck,
  4173. faCheckCircle: faCheckCircle,
  4174. faCheckDouble: faCheckDouble,
  4175. faCheckSquare: faCheckSquare,
  4176. faChess: faChess,
  4177. faChessBishop: faChessBishop,
  4178. faChessBoard: faChessBoard,
  4179. faChessKing: faChessKing,
  4180. faChessKnight: faChessKnight,
  4181. faChessPawn: faChessPawn,
  4182. faChessQueen: faChessQueen,
  4183. faChessRook: faChessRook,
  4184. faChevronCircleDown: faChevronCircleDown,
  4185. faChevronCircleLeft: faChevronCircleLeft,
  4186. faChevronCircleRight: faChevronCircleRight,
  4187. faChevronCircleUp: faChevronCircleUp,
  4188. faChevronDown: faChevronDown,
  4189. faChevronLeft: faChevronLeft,
  4190. faChevronRight: faChevronRight,
  4191. faChevronUp: faChevronUp,
  4192. faChild: faChild,
  4193. faChurch: faChurch,
  4194. faCircle: faCircle,
  4195. faCircleNotch: faCircleNotch,
  4196. faCity: faCity,
  4197. faClipboard: faClipboard,
  4198. faClipboardCheck: faClipboardCheck,
  4199. faClipboardList: faClipboardList,
  4200. faClock: faClock,
  4201. faClone: faClone,
  4202. faClosedCaptioning: faClosedCaptioning,
  4203. faCloud: faCloud,
  4204. faCloudDownloadAlt: faCloudDownloadAlt,
  4205. faCloudMoon: faCloudMoon,
  4206. faCloudSun: faCloudSun,
  4207. faCloudUploadAlt: faCloudUploadAlt,
  4208. faCocktail: faCocktail,
  4209. faCode: faCode,
  4210. faCodeBranch: faCodeBranch,
  4211. faCoffee: faCoffee,
  4212. faCog: faCog,
  4213. faCogs: faCogs,
  4214. faCoins: faCoins,
  4215. faColumns: faColumns,
  4216. faComment: faComment,
  4217. faCommentAlt: faCommentAlt,
  4218. faCommentDollar: faCommentDollar,
  4219. faCommentDots: faCommentDots,
  4220. faCommentSlash: faCommentSlash,
  4221. faComments: faComments,
  4222. faCommentsDollar: faCommentsDollar,
  4223. faCompactDisc: faCompactDisc,
  4224. faCompass: faCompass,
  4225. faCompress: faCompress,
  4226. faConciergeBell: faConciergeBell,
  4227. faCookie: faCookie,
  4228. faCookieBite: faCookieBite,
  4229. faCopy: faCopy,
  4230. faCopyright: faCopyright,
  4231. faCouch: faCouch,
  4232. faCreditCard: faCreditCard,
  4233. faCrop: faCrop,
  4234. faCropAlt: faCropAlt,
  4235. faCross: faCross,
  4236. faCrosshairs: faCrosshairs,
  4237. faCrow: faCrow,
  4238. faCrown: faCrown,
  4239. faCube: faCube,
  4240. faCubes: faCubes,
  4241. faCut: faCut,
  4242. faDatabase: faDatabase,
  4243. faDeaf: faDeaf,
  4244. faDesktop: faDesktop,
  4245. faDharmachakra: faDharmachakra,
  4246. faDiagnoses: faDiagnoses,
  4247. faDice: faDice,
  4248. faDiceD20: faDiceD20,
  4249. faDiceD6: faDiceD6,
  4250. faDiceFive: faDiceFive,
  4251. faDiceFour: faDiceFour,
  4252. faDiceOne: faDiceOne,
  4253. faDiceSix: faDiceSix,
  4254. faDiceThree: faDiceThree,
  4255. faDiceTwo: faDiceTwo,
  4256. faDigitalTachograph: faDigitalTachograph,
  4257. faDirections: faDirections,
  4258. faDivide: faDivide,
  4259. faDizzy: faDizzy,
  4260. faDna: faDna,
  4261. faDog: faDog,
  4262. faDollarSign: faDollarSign,
  4263. faDolly: faDolly,
  4264. faDollyFlatbed: faDollyFlatbed,
  4265. faDonate: faDonate,
  4266. faDoorClosed: faDoorClosed,
  4267. faDoorOpen: faDoorOpen,
  4268. faDotCircle: faDotCircle,
  4269. faDove: faDove,
  4270. faDownload: faDownload,
  4271. faDraftingCompass: faDraftingCompass,
  4272. faDragon: faDragon,
  4273. faDrawPolygon: faDrawPolygon,
  4274. faDrum: faDrum,
  4275. faDrumSteelpan: faDrumSteelpan,
  4276. faDrumstickBite: faDrumstickBite,
  4277. faDumbbell: faDumbbell,
  4278. faDungeon: faDungeon,
  4279. faEdit: faEdit,
  4280. faEject: faEject,
  4281. faEllipsisH: faEllipsisH,
  4282. faEllipsisV: faEllipsisV,
  4283. faEnvelope: faEnvelope,
  4284. faEnvelopeOpen: faEnvelopeOpen,
  4285. faEnvelopeOpenText: faEnvelopeOpenText,
  4286. faEnvelopeSquare: faEnvelopeSquare,
  4287. faEquals: faEquals,
  4288. faEraser: faEraser,
  4289. faEuroSign: faEuroSign,
  4290. faExchangeAlt: faExchangeAlt,
  4291. faExclamation: faExclamation,
  4292. faExclamationCircle: faExclamationCircle,
  4293. faExclamationTriangle: faExclamationTriangle,
  4294. faExpand: faExpand,
  4295. faExpandArrowsAlt: faExpandArrowsAlt,
  4296. faExternalLinkAlt: faExternalLinkAlt,
  4297. faExternalLinkSquareAlt: faExternalLinkSquareAlt,
  4298. faEye: faEye,
  4299. faEyeDropper: faEyeDropper,
  4300. faEyeSlash: faEyeSlash,
  4301. faFastBackward: faFastBackward,
  4302. faFastForward: faFastForward,
  4303. faFax: faFax,
  4304. faFeather: faFeather,
  4305. faFeatherAlt: faFeatherAlt,
  4306. faFemale: faFemale,
  4307. faFighterJet: faFighterJet,
  4308. faFile: faFile,
  4309. faFileAlt: faFileAlt,
  4310. faFileArchive: faFileArchive,
  4311. faFileAudio: faFileAudio,
  4312. faFileCode: faFileCode,
  4313. faFileContract: faFileContract,
  4314. faFileCsv: faFileCsv,
  4315. faFileDownload: faFileDownload,
  4316. faFileExcel: faFileExcel,
  4317. faFileExport: faFileExport,
  4318. faFileImage: faFileImage,
  4319. faFileImport: faFileImport,
  4320. faFileInvoice: faFileInvoice,
  4321. faFileInvoiceDollar: faFileInvoiceDollar,
  4322. faFileMedical: faFileMedical,
  4323. faFileMedicalAlt: faFileMedicalAlt,
  4324. faFilePdf: faFilePdf,
  4325. faFilePowerpoint: faFilePowerpoint,
  4326. faFilePrescription: faFilePrescription,
  4327. faFileSignature: faFileSignature,
  4328. faFileUpload: faFileUpload,
  4329. faFileVideo: faFileVideo,
  4330. faFileWord: faFileWord,
  4331. faFill: faFill,
  4332. faFillDrip: faFillDrip,
  4333. faFilm: faFilm,
  4334. faFilter: faFilter,
  4335. faFingerprint: faFingerprint,
  4336. faFire: faFire,
  4337. faFireExtinguisher: faFireExtinguisher,
  4338. faFirstAid: faFirstAid,
  4339. faFish: faFish,
  4340. faFistRaised: faFistRaised,
  4341. faFlag: faFlag,
  4342. faFlagCheckered: faFlagCheckered,
  4343. faFlask: faFlask,
  4344. faFlushed: faFlushed,
  4345. faFolder: faFolder,
  4346. faFolderMinus: faFolderMinus,
  4347. faFolderOpen: faFolderOpen,
  4348. faFolderPlus: faFolderPlus,
  4349. faFont: faFont,
  4350. faFontAwesomeLogoFull: faFontAwesomeLogoFull,
  4351. faFootballBall: faFootballBall,
  4352. faForward: faForward,
  4353. faFrog: faFrog,
  4354. faFrown: faFrown,
  4355. faFrownOpen: faFrownOpen,
  4356. faFunnelDollar: faFunnelDollar,
  4357. faFutbol: faFutbol,
  4358. faGamepad: faGamepad,
  4359. faGasPump: faGasPump,
  4360. faGavel: faGavel,
  4361. faGem: faGem,
  4362. faGenderless: faGenderless,
  4363. faGhost: faGhost,
  4364. faGift: faGift,
  4365. faGlassMartini: faGlassMartini,
  4366. faGlassMartiniAlt: faGlassMartiniAlt,
  4367. faGlasses: faGlasses,
  4368. faGlobe: faGlobe,
  4369. faGlobeAfrica: faGlobeAfrica,
  4370. faGlobeAmericas: faGlobeAmericas,
  4371. faGlobeAsia: faGlobeAsia,
  4372. faGolfBall: faGolfBall,
  4373. faGopuram: faGopuram,
  4374. faGraduationCap: faGraduationCap,
  4375. faGreaterThan: faGreaterThan,
  4376. faGreaterThanEqual: faGreaterThanEqual,
  4377. faGrimace: faGrimace,
  4378. faGrin: faGrin,
  4379. faGrinAlt: faGrinAlt,
  4380. faGrinBeam: faGrinBeam,
  4381. faGrinBeamSweat: faGrinBeamSweat,
  4382. faGrinHearts: faGrinHearts,
  4383. faGrinSquint: faGrinSquint,
  4384. faGrinSquintTears: faGrinSquintTears,
  4385. faGrinStars: faGrinStars,
  4386. faGrinTears: faGrinTears,
  4387. faGrinTongue: faGrinTongue,
  4388. faGrinTongueSquint: faGrinTongueSquint,
  4389. faGrinTongueWink: faGrinTongueWink,
  4390. faGrinWink: faGrinWink,
  4391. faGripHorizontal: faGripHorizontal,
  4392. faGripVertical: faGripVertical,
  4393. faHSquare: faHSquare,
  4394. faHammer: faHammer,
  4395. faHamsa: faHamsa,
  4396. faHandHolding: faHandHolding,
  4397. faHandHoldingHeart: faHandHoldingHeart,
  4398. faHandHoldingUsd: faHandHoldingUsd,
  4399. faHandLizard: faHandLizard,
  4400. faHandPaper: faHandPaper,
  4401. faHandPeace: faHandPeace,
  4402. faHandPointDown: faHandPointDown,
  4403. faHandPointLeft: faHandPointLeft,
  4404. faHandPointRight: faHandPointRight,
  4405. faHandPointUp: faHandPointUp,
  4406. faHandPointer: faHandPointer,
  4407. faHandRock: faHandRock,
  4408. faHandScissors: faHandScissors,
  4409. faHandSpock: faHandSpock,
  4410. faHands: faHands,
  4411. faHandsHelping: faHandsHelping,
  4412. faHandshake: faHandshake,
  4413. faHanukiah: faHanukiah,
  4414. faHashtag: faHashtag,
  4415. faHatWizard: faHatWizard,
  4416. faHaykal: faHaykal,
  4417. faHdd: faHdd,
  4418. faHeading: faHeading,
  4419. faHeadphones: faHeadphones,
  4420. faHeadphonesAlt: faHeadphonesAlt,
  4421. faHeadset: faHeadset,
  4422. faHeart: faHeart,
  4423. faHeartbeat: faHeartbeat,
  4424. faHelicopter: faHelicopter,
  4425. faHighlighter: faHighlighter,
  4426. faHiking: faHiking,
  4427. faHippo: faHippo,
  4428. faHistory: faHistory,
  4429. faHockeyPuck: faHockeyPuck,
  4430. faHome: faHome,
  4431. faHorse: faHorse,
  4432. faHospital: faHospital,
  4433. faHospitalAlt: faHospitalAlt,
  4434. faHospitalSymbol: faHospitalSymbol,
  4435. faHotTub: faHotTub,
  4436. faHotel: faHotel,
  4437. faHourglass: faHourglass,
  4438. faHourglassEnd: faHourglassEnd,
  4439. faHourglassHalf: faHourglassHalf,
  4440. faHourglassStart: faHourglassStart,
  4441. faHouseDamage: faHouseDamage,
  4442. faHryvnia: faHryvnia,
  4443. faICursor: faICursor,
  4444. faIdBadge: faIdBadge,
  4445. faIdCard: faIdCard,
  4446. faIdCardAlt: faIdCardAlt,
  4447. faImage: faImage,
  4448. faImages: faImages,
  4449. faInbox: faInbox,
  4450. faIndent: faIndent,
  4451. faIndustry: faIndustry,
  4452. faInfinity: faInfinity,
  4453. faInfo: faInfo,
  4454. faInfoCircle: faInfoCircle,
  4455. faItalic: faItalic,
  4456. faJedi: faJedi,
  4457. faJoint: faJoint,
  4458. faJournalWhills: faJournalWhills,
  4459. faKaaba: faKaaba,
  4460. faKey: faKey,
  4461. faKeyboard: faKeyboard,
  4462. faKhanda: faKhanda,
  4463. faKiss: faKiss,
  4464. faKissBeam: faKissBeam,
  4465. faKissWinkHeart: faKissWinkHeart,
  4466. faKiwiBird: faKiwiBird,
  4467. faLandmark: faLandmark,
  4468. faLanguage: faLanguage,
  4469. faLaptop: faLaptop,
  4470. faLaptopCode: faLaptopCode,
  4471. faLaugh: faLaugh,
  4472. faLaughBeam: faLaughBeam,
  4473. faLaughSquint: faLaughSquint,
  4474. faLaughWink: faLaughWink,
  4475. faLayerGroup: faLayerGroup,
  4476. faLeaf: faLeaf,
  4477. faLemon: faLemon,
  4478. faLessThan: faLessThan,
  4479. faLessThanEqual: faLessThanEqual,
  4480. faLevelDownAlt: faLevelDownAlt,
  4481. faLevelUpAlt: faLevelUpAlt,
  4482. faLifeRing: faLifeRing,
  4483. faLightbulb: faLightbulb,
  4484. faLink: faLink,
  4485. faLiraSign: faLiraSign,
  4486. faList: faList,
  4487. faListAlt: faListAlt,
  4488. faListOl: faListOl,
  4489. faListUl: faListUl,
  4490. faLocationArrow: faLocationArrow,
  4491. faLock: faLock,
  4492. faLockOpen: faLockOpen,
  4493. faLongArrowAltDown: faLongArrowAltDown,
  4494. faLongArrowAltLeft: faLongArrowAltLeft,
  4495. faLongArrowAltRight: faLongArrowAltRight,
  4496. faLongArrowAltUp: faLongArrowAltUp,
  4497. faLowVision: faLowVision,
  4498. faLuggageCart: faLuggageCart,
  4499. faMagic: faMagic,
  4500. faMagnet: faMagnet,
  4501. faMailBulk: faMailBulk,
  4502. faMale: faMale,
  4503. faMap: faMap,
  4504. faMapMarked: faMapMarked,
  4505. faMapMarkedAlt: faMapMarkedAlt,
  4506. faMapMarker: faMapMarker,
  4507. faMapMarkerAlt: faMapMarkerAlt,
  4508. faMapPin: faMapPin,
  4509. faMapSigns: faMapSigns,
  4510. faMarker: faMarker,
  4511. faMars: faMars,
  4512. faMarsDouble: faMarsDouble,
  4513. faMarsStroke: faMarsStroke,
  4514. faMarsStrokeH: faMarsStrokeH,
  4515. faMarsStrokeV: faMarsStrokeV,
  4516. faMask: faMask,
  4517. faMedal: faMedal,
  4518. faMedkit: faMedkit,
  4519. faMeh: faMeh,
  4520. faMehBlank: faMehBlank,
  4521. faMehRollingEyes: faMehRollingEyes,
  4522. faMemory: faMemory,
  4523. faMenorah: faMenorah,
  4524. faMercury: faMercury,
  4525. faMicrochip: faMicrochip,
  4526. faMicrophone: faMicrophone,
  4527. faMicrophoneAlt: faMicrophoneAlt,
  4528. faMicrophoneAltSlash: faMicrophoneAltSlash,
  4529. faMicrophoneSlash: faMicrophoneSlash,
  4530. faMicroscope: faMicroscope,
  4531. faMinus: faMinus,
  4532. faMinusCircle: faMinusCircle,
  4533. faMinusSquare: faMinusSquare,
  4534. faMobile: faMobile,
  4535. faMobileAlt: faMobileAlt,
  4536. faMoneyBill: faMoneyBill,
  4537. faMoneyBillAlt: faMoneyBillAlt,
  4538. faMoneyBillWave: faMoneyBillWave,
  4539. faMoneyBillWaveAlt: faMoneyBillWaveAlt,
  4540. faMoneyCheck: faMoneyCheck,
  4541. faMoneyCheckAlt: faMoneyCheckAlt,
  4542. faMonument: faMonument,
  4543. faMoon: faMoon,
  4544. faMortarPestle: faMortarPestle,
  4545. faMosque: faMosque,
  4546. faMotorcycle: faMotorcycle,
  4547. faMountain: faMountain,
  4548. faMousePointer: faMousePointer,
  4549. faMusic: faMusic,
  4550. faNetworkWired: faNetworkWired,
  4551. faNeuter: faNeuter,
  4552. faNewspaper: faNewspaper,
  4553. faNotEqual: faNotEqual,
  4554. faNotesMedical: faNotesMedical,
  4555. faObjectGroup: faObjectGroup,
  4556. faObjectUngroup: faObjectUngroup,
  4557. faOilCan: faOilCan,
  4558. faOm: faOm,
  4559. faOtter: faOtter,
  4560. faOutdent: faOutdent,
  4561. faPaintBrush: faPaintBrush,
  4562. faPaintRoller: faPaintRoller,
  4563. faPalette: faPalette,
  4564. faPallet: faPallet,
  4565. faPaperPlane: faPaperPlane,
  4566. faPaperclip: faPaperclip,
  4567. faParachuteBox: faParachuteBox,
  4568. faParagraph: faParagraph,
  4569. faParking: faParking,
  4570. faPassport: faPassport,
  4571. faPastafarianism: faPastafarianism,
  4572. faPaste: faPaste,
  4573. faPause: faPause,
  4574. faPauseCircle: faPauseCircle,
  4575. faPaw: faPaw,
  4576. faPeace: faPeace,
  4577. faPen: faPen,
  4578. faPenAlt: faPenAlt,
  4579. faPenFancy: faPenFancy,
  4580. faPenNib: faPenNib,
  4581. faPenSquare: faPenSquare,
  4582. faPencilAlt: faPencilAlt,
  4583. faPencilRuler: faPencilRuler,
  4584. faPeopleCarry: faPeopleCarry,
  4585. faPercent: faPercent,
  4586. faPercentage: faPercentage,
  4587. faPhone: faPhone,
  4588. faPhoneSlash: faPhoneSlash,
  4589. faPhoneSquare: faPhoneSquare,
  4590. faPhoneVolume: faPhoneVolume,
  4591. faPiggyBank: faPiggyBank,
  4592. faPills: faPills,
  4593. faPlaceOfWorship: faPlaceOfWorship,
  4594. faPlane: faPlane,
  4595. faPlaneArrival: faPlaneArrival,
  4596. faPlaneDeparture: faPlaneDeparture,
  4597. faPlay: faPlay,
  4598. faPlayCircle: faPlayCircle,
  4599. faPlug: faPlug,
  4600. faPlus: faPlus,
  4601. faPlusCircle: faPlusCircle,
  4602. faPlusSquare: faPlusSquare,
  4603. faPodcast: faPodcast,
  4604. faPoll: faPoll,
  4605. faPollH: faPollH,
  4606. faPoo: faPoo,
  4607. faPoop: faPoop,
  4608. faPortrait: faPortrait,
  4609. faPoundSign: faPoundSign,
  4610. faPowerOff: faPowerOff,
  4611. faPray: faPray,
  4612. faPrayingHands: faPrayingHands,
  4613. faPrescription: faPrescription,
  4614. faPrescriptionBottle: faPrescriptionBottle,
  4615. faPrescriptionBottleAlt: faPrescriptionBottleAlt,
  4616. faPrint: faPrint,
  4617. faProcedures: faProcedures,
  4618. faProjectDiagram: faProjectDiagram,
  4619. faPuzzlePiece: faPuzzlePiece,
  4620. faQrcode: faQrcode,
  4621. faQuestion: faQuestion,
  4622. faQuestionCircle: faQuestionCircle,
  4623. faQuidditch: faQuidditch,
  4624. faQuoteLeft: faQuoteLeft,
  4625. faQuoteRight: faQuoteRight,
  4626. faQuran: faQuran,
  4627. faRandom: faRandom,
  4628. faReceipt: faReceipt,
  4629. faRecycle: faRecycle,
  4630. faRedo: faRedo,
  4631. faRedoAlt: faRedoAlt,
  4632. faRegistered: faRegistered,
  4633. faReply: faReply,
  4634. faReplyAll: faReplyAll,
  4635. faRetweet: faRetweet,
  4636. faRibbon: faRibbon,
  4637. faRing: faRing,
  4638. faRoad: faRoad,
  4639. faRobot: faRobot,
  4640. faRocket: faRocket,
  4641. faRoute: faRoute,
  4642. faRss: faRss,
  4643. faRssSquare: faRssSquare,
  4644. faRubleSign: faRubleSign,
  4645. faRuler: faRuler,
  4646. faRulerCombined: faRulerCombined,
  4647. faRulerHorizontal: faRulerHorizontal,
  4648. faRulerVertical: faRulerVertical,
  4649. faRunning: faRunning,
  4650. faRupeeSign: faRupeeSign,
  4651. faSadCry: faSadCry,
  4652. faSadTear: faSadTear,
  4653. faSave: faSave,
  4654. faSchool: faSchool,
  4655. faScrewdriver: faScrewdriver,
  4656. faScroll: faScroll,
  4657. faSearch: faSearch,
  4658. faSearchDollar: faSearchDollar,
  4659. faSearchLocation: faSearchLocation,
  4660. faSearchMinus: faSearchMinus,
  4661. faSearchPlus: faSearchPlus,
  4662. faSeedling: faSeedling,
  4663. faServer: faServer,
  4664. faShapes: faShapes,
  4665. faShare: faShare,
  4666. faShareAlt: faShareAlt,
  4667. faShareAltSquare: faShareAltSquare,
  4668. faShareSquare: faShareSquare,
  4669. faShekelSign: faShekelSign,
  4670. faShieldAlt: faShieldAlt,
  4671. faShip: faShip,
  4672. faShippingFast: faShippingFast,
  4673. faShoePrints: faShoePrints,
  4674. faShoppingBag: faShoppingBag,
  4675. faShoppingBasket: faShoppingBasket,
  4676. faShoppingCart: faShoppingCart,
  4677. faShower: faShower,
  4678. faShuttleVan: faShuttleVan,
  4679. faSign: faSign,
  4680. faSignInAlt: faSignInAlt,
  4681. faSignLanguage: faSignLanguage,
  4682. faSignOutAlt: faSignOutAlt,
  4683. faSignal: faSignal,
  4684. faSignature: faSignature,
  4685. faSitemap: faSitemap,
  4686. faSkull: faSkull,
  4687. faSkullCrossbones: faSkullCrossbones,
  4688. faSlash: faSlash,
  4689. faSlidersH: faSlidersH,
  4690. faSmile: faSmile,
  4691. faSmileBeam: faSmileBeam,
  4692. faSmileWink: faSmileWink,
  4693. faSmoking: faSmoking,
  4694. faSmokingBan: faSmokingBan,
  4695. faSnowflake: faSnowflake,
  4696. faSocks: faSocks,
  4697. faSolarPanel: faSolarPanel,
  4698. faSort: faSort,
  4699. faSortAlphaDown: faSortAlphaDown,
  4700. faSortAlphaUp: faSortAlphaUp,
  4701. faSortAmountDown: faSortAmountDown,
  4702. faSortAmountUp: faSortAmountUp,
  4703. faSortDown: faSortDown,
  4704. faSortNumericDown: faSortNumericDown,
  4705. faSortNumericUp: faSortNumericUp,
  4706. faSortUp: faSortUp,
  4707. faSpa: faSpa,
  4708. faSpaceShuttle: faSpaceShuttle,
  4709. faSpider: faSpider,
  4710. faSpinner: faSpinner,
  4711. faSplotch: faSplotch,
  4712. faSprayCan: faSprayCan,
  4713. faSquare: faSquare,
  4714. faSquareFull: faSquareFull,
  4715. faSquareRootAlt: faSquareRootAlt,
  4716. faStamp: faStamp,
  4717. faStar: faStar,
  4718. faStarAndCrescent: faStarAndCrescent,
  4719. faStarHalf: faStarHalf,
  4720. faStarHalfAlt: faStarHalfAlt,
  4721. faStarOfDavid: faStarOfDavid,
  4722. faStarOfLife: faStarOfLife,
  4723. faStepBackward: faStepBackward,
  4724. faStepForward: faStepForward,
  4725. faStethoscope: faStethoscope,
  4726. faStickyNote: faStickyNote,
  4727. faStop: faStop,
  4728. faStopCircle: faStopCircle,
  4729. faStopwatch: faStopwatch,
  4730. faStore: faStore,
  4731. faStoreAlt: faStoreAlt,
  4732. faStream: faStream,
  4733. faStreetView: faStreetView,
  4734. faStrikethrough: faStrikethrough,
  4735. faStroopwafel: faStroopwafel,
  4736. faSubscript: faSubscript,
  4737. faSubway: faSubway,
  4738. faSuitcase: faSuitcase,
  4739. faSuitcaseRolling: faSuitcaseRolling,
  4740. faSun: faSun,
  4741. faSuperscript: faSuperscript,
  4742. faSurprise: faSurprise,
  4743. faSwatchbook: faSwatchbook,
  4744. faSwimmer: faSwimmer,
  4745. faSwimmingPool: faSwimmingPool,
  4746. faSynagogue: faSynagogue,
  4747. faSync: faSync,
  4748. faSyncAlt: faSyncAlt,
  4749. faSyringe: faSyringe,
  4750. faTable: faTable,
  4751. faTableTennis: faTableTennis,
  4752. faTablet: faTablet,
  4753. faTabletAlt: faTabletAlt,
  4754. faTablets: faTablets,
  4755. faTachometerAlt: faTachometerAlt,
  4756. faTag: faTag,
  4757. faTags: faTags,
  4758. faTape: faTape,
  4759. faTasks: faTasks,
  4760. faTaxi: faTaxi,
  4761. faTeeth: faTeeth,
  4762. faTeethOpen: faTeethOpen,
  4763. faTerminal: faTerminal,
  4764. faTextHeight: faTextHeight,
  4765. faTextWidth: faTextWidth,
  4766. faTh: faTh,
  4767. faThLarge: faThLarge,
  4768. faThList: faThList,
  4769. faTheaterMasks: faTheaterMasks,
  4770. faThermometer: faThermometer,
  4771. faThermometerEmpty: faThermometerEmpty,
  4772. faThermometerFull: faThermometerFull,
  4773. faThermometerHalf: faThermometerHalf,
  4774. faThermometerQuarter: faThermometerQuarter,
  4775. faThermometerThreeQuarters: faThermometerThreeQuarters,
  4776. faThumbsDown: faThumbsDown,
  4777. faThumbsUp: faThumbsUp,
  4778. faThumbtack: faThumbtack,
  4779. faTicketAlt: faTicketAlt,
  4780. faTimes: faTimes,
  4781. faTimesCircle: faTimesCircle,
  4782. faTint: faTint,
  4783. faTintSlash: faTintSlash,
  4784. faTired: faTired,
  4785. faToggleOff: faToggleOff,
  4786. faToggleOn: faToggleOn,
  4787. faToiletPaper: faToiletPaper,
  4788. faToolbox: faToolbox,
  4789. faTooth: faTooth,
  4790. faTorah: faTorah,
  4791. faToriiGate: faToriiGate,
  4792. faTractor: faTractor,
  4793. faTrademark: faTrademark,
  4794. faTrafficLight: faTrafficLight,
  4795. faTrain: faTrain,
  4796. faTransgender: faTransgender,
  4797. faTransgenderAlt: faTransgenderAlt,
  4798. faTrash: faTrash,
  4799. faTrashAlt: faTrashAlt,
  4800. faTree: faTree,
  4801. faTrophy: faTrophy,
  4802. faTruck: faTruck,
  4803. faTruckLoading: faTruckLoading,
  4804. faTruckMonster: faTruckMonster,
  4805. faTruckMoving: faTruckMoving,
  4806. faTruckPickup: faTruckPickup,
  4807. faTshirt: faTshirt,
  4808. faTty: faTty,
  4809. faTv: faTv,
  4810. faUmbrella: faUmbrella,
  4811. faUmbrellaBeach: faUmbrellaBeach,
  4812. faUnderline: faUnderline,
  4813. faUndo: faUndo,
  4814. faUndoAlt: faUndoAlt,
  4815. faUniversalAccess: faUniversalAccess,
  4816. faUniversity: faUniversity,
  4817. faUnlink: faUnlink,
  4818. faUnlock: faUnlock,
  4819. faUnlockAlt: faUnlockAlt,
  4820. faUpload: faUpload,
  4821. faUser: faUser,
  4822. faUserAlt: faUserAlt,
  4823. faUserAltSlash: faUserAltSlash,
  4824. faUserAstronaut: faUserAstronaut,
  4825. faUserCheck: faUserCheck,
  4826. faUserCircle: faUserCircle,
  4827. faUserClock: faUserClock,
  4828. faUserCog: faUserCog,
  4829. faUserEdit: faUserEdit,
  4830. faUserFriends: faUserFriends,
  4831. faUserGraduate: faUserGraduate,
  4832. faUserInjured: faUserInjured,
  4833. faUserLock: faUserLock,
  4834. faUserMd: faUserMd,
  4835. faUserMinus: faUserMinus,
  4836. faUserNinja: faUserNinja,
  4837. faUserPlus: faUserPlus,
  4838. faUserSecret: faUserSecret,
  4839. faUserShield: faUserShield,
  4840. faUserSlash: faUserSlash,
  4841. faUserTag: faUserTag,
  4842. faUserTie: faUserTie,
  4843. faUserTimes: faUserTimes,
  4844. faUsers: faUsers,
  4845. faUsersCog: faUsersCog,
  4846. faUtensilSpoon: faUtensilSpoon,
  4847. faUtensils: faUtensils,
  4848. faVectorSquare: faVectorSquare,
  4849. faVenus: faVenus,
  4850. faVenusDouble: faVenusDouble,
  4851. faVenusMars: faVenusMars,
  4852. faVial: faVial,
  4853. faVials: faVials,
  4854. faVideo: faVideo,
  4855. faVideoSlash: faVideoSlash,
  4856. faVihara: faVihara,
  4857. faVolleyballBall: faVolleyballBall,
  4858. faVolumeDown: faVolumeDown,
  4859. faVolumeMute: faVolumeMute,
  4860. faVolumeOff: faVolumeOff,
  4861. faVolumeUp: faVolumeUp,
  4862. faVrCardboard: faVrCardboard,
  4863. faWalking: faWalking,
  4864. faWallet: faWallet,
  4865. faWarehouse: faWarehouse,
  4866. faWeight: faWeight,
  4867. faWeightHanging: faWeightHanging,
  4868. faWheelchair: faWheelchair,
  4869. faWifi: faWifi,
  4870. faWind: faWind,
  4871. faWindowClose: faWindowClose,
  4872. faWindowMaximize: faWindowMaximize,
  4873. faWindowMinimize: faWindowMinimize,
  4874. faWindowRestore: faWindowRestore,
  4875. faWineBottle: faWineBottle,
  4876. faWineGlass: faWineGlass,
  4877. faWineGlassAlt: faWineGlassAlt,
  4878. faWonSign: faWonSign,
  4879. faWrench: faWrench,
  4880. faXRay: faXRay,
  4881. faYenSign: faYenSign,
  4882. faYinYang: faYinYang
  4883. };
  4884. /***/ }),
  4885. /***/ "../../node_modules/@fortawesome/react-fontawesome/index.es.js":
  4886. /*!***********************************************************************************!*\
  4887. !*** D:/Repos/Babylon.js/node_modules/@fortawesome/react-fontawesome/index.es.js ***!
  4888. \***********************************************************************************/
  4889. /*! exports provided: FontAwesomeIcon */
  4890. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4891. "use strict";
  4892. __webpack_require__.r(__webpack_exports__);
  4893. /* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FontAwesomeIcon", function() { return FontAwesomeIcon; });
  4894. /* harmony import */ var _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fortawesome/fontawesome-svg-core */ "../../node_modules/@fortawesome/fontawesome-svg-core/index.es.js");
  4895. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  4896. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  4897. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  4898. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
  4899. var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
  4900. function createCommonjsModule(fn, module) {
  4901. return module = { exports: {} }, fn(module, module.exports), module.exports;
  4902. }
  4903. var humps = createCommonjsModule(function (module) {
  4904. (function(global) {
  4905. var _processKeys = function(convert, obj, options) {
  4906. if(!_isObject(obj) || _isDate(obj) || _isRegExp(obj) || _isBoolean(obj) || _isFunction(obj)) {
  4907. return obj;
  4908. }
  4909. var output,
  4910. i = 0,
  4911. l = 0;
  4912. if(_isArray(obj)) {
  4913. output = [];
  4914. for(l=obj.length; i<l; i++) {
  4915. output.push(_processKeys(convert, obj[i], options));
  4916. }
  4917. }
  4918. else {
  4919. output = {};
  4920. for(var key in obj) {
  4921. if(Object.prototype.hasOwnProperty.call(obj, key)) {
  4922. output[convert(key, options)] = _processKeys(convert, obj[key], options);
  4923. }
  4924. }
  4925. }
  4926. return output;
  4927. };
  4928. // String conversion methods
  4929. var separateWords = function(string, options) {
  4930. options = options || {};
  4931. var separator = options.separator || '_';
  4932. var split = options.split || /(?=[A-Z])/;
  4933. return string.split(split).join(separator);
  4934. };
  4935. var camelize = function(string) {
  4936. if (_isNumerical(string)) {
  4937. return string;
  4938. }
  4939. string = string.replace(/[\-_\s]+(.)?/g, function(match, chr) {
  4940. return chr ? chr.toUpperCase() : '';
  4941. });
  4942. // Ensure 1st char is always lowercase
  4943. return string.substr(0, 1).toLowerCase() + string.substr(1);
  4944. };
  4945. var pascalize = function(string) {
  4946. var camelized = camelize(string);
  4947. // Ensure 1st char is always uppercase
  4948. return camelized.substr(0, 1).toUpperCase() + camelized.substr(1);
  4949. };
  4950. var decamelize = function(string, options) {
  4951. return separateWords(string, options).toLowerCase();
  4952. };
  4953. // Utilities
  4954. // Taken from Underscore.js
  4955. var toString = Object.prototype.toString;
  4956. var _isFunction = function(obj) {
  4957. return typeof(obj) === 'function';
  4958. };
  4959. var _isObject = function(obj) {
  4960. return obj === Object(obj);
  4961. };
  4962. var _isArray = function(obj) {
  4963. return toString.call(obj) == '[object Array]';
  4964. };
  4965. var _isDate = function(obj) {
  4966. return toString.call(obj) == '[object Date]';
  4967. };
  4968. var _isRegExp = function(obj) {
  4969. return toString.call(obj) == '[object RegExp]';
  4970. };
  4971. var _isBoolean = function(obj) {
  4972. return toString.call(obj) == '[object Boolean]';
  4973. };
  4974. // Performant way to determine if obj coerces to a number
  4975. var _isNumerical = function(obj) {
  4976. obj = obj - 0;
  4977. return obj === obj;
  4978. };
  4979. // Sets up function which handles processing keys
  4980. // allowing the convert function to be modified by a callback
  4981. var _processor = function(convert, options) {
  4982. var callback = options && 'process' in options ? options.process : options;
  4983. if(typeof(callback) !== 'function') {
  4984. return convert;
  4985. }
  4986. return function(string, options) {
  4987. return callback(string, convert, options);
  4988. }
  4989. };
  4990. var humps = {
  4991. camelize: camelize,
  4992. decamelize: decamelize,
  4993. pascalize: pascalize,
  4994. depascalize: decamelize,
  4995. camelizeKeys: function(object, options) {
  4996. return _processKeys(_processor(camelize, options), object);
  4997. },
  4998. decamelizeKeys: function(object, options) {
  4999. return _processKeys(_processor(decamelize, options), object, options);
  5000. },
  5001. pascalizeKeys: function(object, options) {
  5002. return _processKeys(_processor(pascalize, options), object);
  5003. },
  5004. depascalizeKeys: function () {
  5005. return this.decamelizeKeys.apply(this, arguments);
  5006. }
  5007. };
  5008. if (module.exports) {
  5009. module.exports = humps;
  5010. } else {
  5011. global.humps = humps;
  5012. }
  5013. })(commonjsGlobal);
  5014. });
  5015. var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
  5016. return typeof obj;
  5017. } : function (obj) {
  5018. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  5019. };
  5020. var defineProperty = function (obj, key, value) {
  5021. if (key in obj) {
  5022. Object.defineProperty(obj, key, {
  5023. value: value,
  5024. enumerable: true,
  5025. configurable: true,
  5026. writable: true
  5027. });
  5028. } else {
  5029. obj[key] = value;
  5030. }
  5031. return obj;
  5032. };
  5033. var _extends = Object.assign || function (target) {
  5034. for (var i = 1; i < arguments.length; i++) {
  5035. var source = arguments[i];
  5036. for (var key in source) {
  5037. if (Object.prototype.hasOwnProperty.call(source, key)) {
  5038. target[key] = source[key];
  5039. }
  5040. }
  5041. }
  5042. return target;
  5043. };
  5044. var objectWithoutProperties = function (obj, keys) {
  5045. var target = {};
  5046. for (var i in obj) {
  5047. if (keys.indexOf(i) >= 0) continue;
  5048. if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
  5049. target[i] = obj[i];
  5050. }
  5051. return target;
  5052. };
  5053. var toConsumableArray = function (arr) {
  5054. if (Array.isArray(arr)) {
  5055. for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
  5056. return arr2;
  5057. } else {
  5058. return Array.from(arr);
  5059. }
  5060. };
  5061. function capitalize(val) {
  5062. return val.charAt(0).toUpperCase() + val.slice(1);
  5063. }
  5064. function styleToObject(style) {
  5065. return style.split(';').map(function (s) {
  5066. return s.trim();
  5067. }).filter(function (s) {
  5068. return s;
  5069. }).reduce(function (acc, pair) {
  5070. var i = pair.indexOf(':');
  5071. var prop = humps.camelize(pair.slice(0, i));
  5072. var value = pair.slice(i + 1).trim();
  5073. prop.startsWith('webkit') ? acc[capitalize(prop)] = value : acc[prop] = value;
  5074. return acc;
  5075. }, {});
  5076. }
  5077. function convert(createElement, element) {
  5078. var extraProps = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  5079. if (typeof element === 'string') {
  5080. return element;
  5081. }
  5082. var children = (element.children || []).map(convert.bind(null, createElement));
  5083. var mixins = Object.keys(element.attributes || {}).reduce(function (acc, key) {
  5084. var val = element.attributes[key];
  5085. switch (key) {
  5086. case 'class':
  5087. acc.attrs['className'] = val;
  5088. delete element.attributes['class'];
  5089. break;
  5090. case 'style':
  5091. acc.attrs['style'] = styleToObject(val);
  5092. break;
  5093. default:
  5094. if (key.indexOf('aria-') === 0 || key.indexOf('data-') === 0) {
  5095. acc.attrs[key.toLowerCase()] = val;
  5096. } else {
  5097. acc.attrs[humps.camelize(key)] = val;
  5098. }
  5099. }
  5100. return acc;
  5101. }, { attrs: {} });
  5102. var _extraProps$style = extraProps.style,
  5103. existingStyle = _extraProps$style === undefined ? {} : _extraProps$style,
  5104. remaining = objectWithoutProperties(extraProps, ['style']);
  5105. mixins.attrs['style'] = _extends({}, mixins.attrs['style'], existingStyle);
  5106. return createElement.apply(undefined, [element.tag, _extends({}, mixins.attrs, remaining)].concat(toConsumableArray(children)));
  5107. }
  5108. var PRODUCTION = false;
  5109. try {
  5110. PRODUCTION = "development" === 'production';
  5111. } catch (e) {}
  5112. function log () {
  5113. if (!PRODUCTION && console && typeof console.error === 'function') {
  5114. var _console;
  5115. (_console = console).error.apply(_console, arguments);
  5116. }
  5117. }
  5118. function objectWithKey(key, value) {
  5119. return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? defineProperty({}, key, value) : {};
  5120. }
  5121. function classList(props) {
  5122. var _classes;
  5123. var classes = (_classes = {
  5124. 'fa-spin': props.spin,
  5125. 'fa-pulse': props.pulse,
  5126. 'fa-fw': props.fixedWidth,
  5127. 'fa-inverse': props.inverse,
  5128. 'fa-border': props.border,
  5129. 'fa-li': props.listItem,
  5130. 'fa-flip-horizontal': props.flip === 'horizontal' || props.flip === 'both',
  5131. 'fa-flip-vertical': props.flip === 'vertical' || props.flip === 'both'
  5132. }, defineProperty(_classes, 'fa-' + props.size, props.size !== null), defineProperty(_classes, 'fa-rotate-' + props.rotation, props.rotation !== null), defineProperty(_classes, 'fa-pull-' + props.pull, props.pull !== null), _classes);
  5133. return Object.keys(classes).map(function (key) {
  5134. return classes[key] ? key : null;
  5135. }).filter(function (key) {
  5136. return key;
  5137. });
  5138. }
  5139. function normalizeIconArgs(icon$$1) {
  5140. if (icon$$1 === null) {
  5141. return null;
  5142. }
  5143. if ((typeof icon$$1 === 'undefined' ? 'undefined' : _typeof(icon$$1)) === 'object' && icon$$1.prefix && icon$$1.iconName) {
  5144. return icon$$1;
  5145. }
  5146. if (Array.isArray(icon$$1) && icon$$1.length === 2) {
  5147. return { prefix: icon$$1[0], iconName: icon$$1[1] };
  5148. }
  5149. if (typeof icon$$1 === 'string') {
  5150. return { prefix: 'fas', iconName: icon$$1 };
  5151. }
  5152. }
  5153. function FontAwesomeIcon(props) {
  5154. var iconArgs = props.icon,
  5155. maskArgs = props.mask,
  5156. symbol = props.symbol,
  5157. className = props.className,
  5158. title = props.title;
  5159. var iconLookup = normalizeIconArgs(iconArgs);
  5160. var classes = objectWithKey('classes', [].concat(toConsumableArray(classList(props)), toConsumableArray(className.split(' '))));
  5161. var transform = objectWithKey('transform', typeof props.transform === 'string' ? _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__["parse"].transform(props.transform) : props.transform);
  5162. var mask = objectWithKey('mask', normalizeIconArgs(maskArgs));
  5163. var renderedIcon = Object(_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__["icon"])(iconLookup, _extends({}, classes, transform, mask, {
  5164. symbol: symbol,
  5165. title: title
  5166. }));
  5167. if (!renderedIcon) {
  5168. log('Could not find icon', iconLookup);
  5169. return null;
  5170. }
  5171. var abstract = renderedIcon.abstract;
  5172. var extraProps = {};
  5173. Object.keys(props).forEach(function (key) {
  5174. if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
  5175. extraProps[key] = props[key];
  5176. }
  5177. });
  5178. return convertCurry(abstract[0], extraProps);
  5179. }
  5180. FontAwesomeIcon.displayName = 'FontAwesomeIcon';
  5181. FontAwesomeIcon.propTypes = {
  5182. border: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5183. className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
  5184. mask: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
  5185. fixedWidth: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5186. inverse: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5187. flip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(['horizontal', 'vertical', 'both']),
  5188. icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
  5189. listItem: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5190. pull: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(['right', 'left']),
  5191. pulse: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5192. rotation: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf([90, 180, 270]),
  5193. size: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(['lg', 'xs', 'sm', '1x', '2x', '3x', '4x', '5x', '6x', '7x', '8x', '9x', '10x']),
  5194. spin: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  5195. symbol: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
  5196. title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
  5197. transform: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object])
  5198. };
  5199. FontAwesomeIcon.defaultProps = {
  5200. border: false,
  5201. className: '',
  5202. mask: null,
  5203. fixedWidth: false,
  5204. inverse: false,
  5205. flip: null,
  5206. icon: null,
  5207. listItem: false,
  5208. pull: null,
  5209. pulse: false,
  5210. rotation: null,
  5211. size: null,
  5212. spin: false,
  5213. symbol: false,
  5214. title: '',
  5215. transform: null
  5216. };
  5217. var convertCurry = convert.bind(null, react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement);
  5218. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
  5219. /***/ }),
  5220. /***/ "../../node_modules/classnames/index.js":
  5221. /*!************************************************************!*\
  5222. !*** D:/Repos/Babylon.js/node_modules/classnames/index.js ***!
  5223. \************************************************************/
  5224. /*! no static exports found */
  5225. /***/ (function(module, exports, __webpack_require__) {
  5226. var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
  5227. Copyright (c) 2017 Jed Watson.
  5228. Licensed under the MIT License (MIT), see
  5229. http://jedwatson.github.io/classnames
  5230. */
  5231. /* global define */
  5232. (function () {
  5233. 'use strict';
  5234. var hasOwn = {}.hasOwnProperty;
  5235. function classNames () {
  5236. var classes = [];
  5237. for (var i = 0; i < arguments.length; i++) {
  5238. var arg = arguments[i];
  5239. if (!arg) continue;
  5240. var argType = typeof arg;
  5241. if (argType === 'string' || argType === 'number') {
  5242. classes.push(arg);
  5243. } else if (Array.isArray(arg) && arg.length) {
  5244. var inner = classNames.apply(null, arg);
  5245. if (inner) {
  5246. classes.push(inner);
  5247. }
  5248. } else if (argType === 'object') {
  5249. for (var key in arg) {
  5250. if (hasOwn.call(arg, key) && arg[key]) {
  5251. classes.push(key);
  5252. }
  5253. }
  5254. }
  5255. }
  5256. return classes.join(' ');
  5257. }
  5258. if ( true && module.exports) {
  5259. classNames.default = classNames;
  5260. module.exports = classNames;
  5261. } else if (true) {
  5262. // register as 'classnames', consistent with npm package name
  5263. !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
  5264. return classNames;
  5265. }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
  5266. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  5267. } else {}
  5268. }());
  5269. /***/ }),
  5270. /***/ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/actionTabs/actionTabs.scss":
  5271. /*!******************************************************************************************************************************************************!*\
  5272. !*** D:/Repos/Babylon.js/node_modules/css-loader!D:/Repos/Babylon.js/node_modules/sass-loader/lib/loader.js!./components/actionTabs/actionTabs.scss ***!
  5273. \******************************************************************************************************************************************************/
  5274. /*! no static exports found */
  5275. /***/ (function(module, exports, __webpack_require__) {
  5276. exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ "../../node_modules/css-loader/lib/css-base.js")(false);
  5277. // imports
  5278. // module
  5279. exports.push([module.i, "#inspector-host {\n position: absolute;\n right: 0px;\n top: 0px;\n bottom: 0px; }\n\n#__resizable_base__ {\n display: none; }\n\n#actionTabs {\n background: #333333;\n height: 100%;\n margin: 0;\n padding: 0;\n display: grid;\n grid-template-rows: auto 1fr;\n font: 14px \"Arial\";\n overflow: hidden; }\n #actionTabs .hoverIcon:hover {\n opacity: 0.8; }\n #actionTabs #header {\n height: 30px;\n font-size: 16px;\n color: white;\n background: #222222;\n grid-row: 1;\n text-align: center;\n display: grid;\n grid-template-columns: 30px 1fr 50px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n #actionTabs #header #logo {\n grid-column: 1;\n width: 24px;\n height: 24px;\n display: flex;\n align-self: center;\n justify-self: center; }\n #actionTabs #header #back {\n grid-column: 1;\n display: grid;\n align-self: center;\n justify-self: center;\n cursor: pointer; }\n #actionTabs #header #title {\n grid-column: 2;\n display: grid;\n align-items: center;\n text-align: center; }\n #actionTabs #header #commands {\n grid-column: 3;\n display: grid;\n align-items: center;\n grid-template-columns: 1fr 1fr; }\n #actionTabs #header #commands .expand {\n grid-column: 1;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #actionTabs #header #commands .close {\n grid-column: 2;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #actionTabs .tabs {\n display: grid;\n grid-row: 2;\n grid-template-rows: 40px 1fr;\n font: 14px \"Arial\";\n overflow: hidden; }\n #actionTabs .tabs .labels {\n grid-row: 1;\n display: flex;\n align-items: center;\n justify-items: center;\n border-bottom: 1px solid #ffffff;\n margin: 0;\n padding: 0; }\n #actionTabs .tabs .labels .label {\n font-size: 24px;\n color: white;\n width: 40px;\n display: flex;\n align-content: center;\n justify-content: center;\n border: 1px solid transparent;\n border-bottom: none;\n background: #333333;\n padding: 5px;\n height: 28px;\n cursor: pointer; }\n #actionTabs .tabs .labels .label.active {\n border-color: #ffffff;\n border-bottom: 2px solid transparent;\n margin-bottom: -2px; }\n #actionTabs .tabs .panes {\n grid-row: 2;\n display: grid;\n grid-template-rows: 100%;\n overflow: hidden; }\n #actionTabs .tabs .panes .infoMessage {\n opacity: 0.5;\n color: white;\n margin: 15px 5px 0px 5px; }\n #actionTabs .tabs .panes .pane {\n color: white;\n overflow-x: hidden;\n overflow-y: auto;\n height: 100%;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n #actionTabs .tabs .panes .pane .underline {\n border-bottom: 0.5px solid rgba(255, 255, 255, 0.5); }\n #actionTabs .tabs .panes .pane .textureLinkLine {\n display: grid;\n grid-template-columns: auto 1fr; }\n #actionTabs .tabs .panes .pane .textureLinkLine .debug {\n grid-column: 1;\n margin-left: 5px;\n margin-right: 5px;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer;\n opacity: 0.5; }\n #actionTabs .tabs .panes .pane .textureLinkLine .debug.selected {\n opacity: 1.0; }\n #actionTabs .tabs .panes .pane .textureLinkLine .textLine {\n grid-column: 2; }\n #actionTabs .tabs .panes .pane .messageLine {\n text-align: center;\n font-size: 12px;\n font-style: italic;\n opacity: 0.6; }\n #actionTabs .tabs .panes .pane .iconMessageLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 30px 1fr; }\n #actionTabs .tabs .panes .pane .iconMessageLine .icon {\n grid-column: 1;\n display: grid;\n align-items: center;\n justify-items: center; }\n #actionTabs .tabs .panes .pane .iconMessageLine .value {\n grid-column: 2;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .textLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .textLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .textLine .link-value {\n grid-column: 2;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: end;\n opacity: 0.8;\n margin: 5px;\n margin-top: 6px;\n max-width: 140px;\n text-decoration: underline;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .textLine .value {\n grid-column: 2;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n text-align: end;\n opacity: 0.8;\n margin: 5px;\n margin-top: 6px;\n max-width: 200px;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text; }\n #actionTabs .tabs .panes .pane .textLine .value.check {\n color: green; }\n #actionTabs .tabs .panes .pane .textLine .value.uncheck {\n color: red; }\n #actionTabs .tabs .panes .pane .textInputLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr 120px; }\n #actionTabs .tabs .panes .pane .textInputLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .textInputLine .value {\n display: flex;\n align-items: center;\n grid-column: 2; }\n #actionTabs .tabs .panes .pane .textInputLine .value input {\n width: 110px; }\n #actionTabs .tabs .panes .pane .buttonLine {\n height: 30px;\n display: grid;\n align-items: center;\n justify-items: stretch; }\n #actionTabs .tabs .panes .pane .buttonLine input[type=\"file\"] {\n display: none; }\n #actionTabs .tabs .panes .pane .buttonLine .file-upload {\n background: transparent;\n border: 1px solid #337ab7;\n margin: 0px 10px;\n color: white;\n padding: 4px 5px;\n opacity: 0.9;\n cursor: pointer;\n text-align: center; }\n #actionTabs .tabs .panes .pane .buttonLine .file-upload:hover {\n opacity: 1.0; }\n #actionTabs .tabs .panes .pane .buttonLine .file-upload:active {\n transform: scale(0.98);\n transform-origin: 0.5 0.5; }\n #actionTabs .tabs .panes .pane .buttonLine button {\n background: #222222;\n border: 1px solid #337ab7;\n margin: 5px 10px 5px 10px;\n color: white;\n padding: 4px 5px;\n opacity: 0.9; }\n #actionTabs .tabs .panes .pane .buttonLine button:hover {\n opacity: 1.0; }\n #actionTabs .tabs .panes .pane .buttonLine button:active {\n background: #282828; }\n #actionTabs .tabs .panes .pane .buttonLine button:focus {\n border: 1px solid #337ab7;\n outline: 0px; }\n #actionTabs .tabs .panes .pane .radioLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr 24px; }\n #actionTabs .tabs .panes .pane .radioLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer {\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .radio {\n grid-column: 2;\n display: none; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .radio:checked + label:before {\n border-color: #337ab7; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .radio:checked + label:after {\n transform: scale(1); }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .labelForRadio {\n display: inline-block;\n height: 14px;\n position: relative;\n padding: 0 24px;\n margin-bottom: 0;\n cursor: pointer;\n vertical-align: bottom; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .labelForRadio:before, #actionTabs .tabs .panes .pane .radioLine .radioContainer .labelForRadio:after {\n position: absolute;\n content: '';\n border-radius: 50%;\n transition: all .3s ease;\n transition-property: transform, border-color; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .labelForRadio:before {\n left: 0px;\n top: 0;\n width: 16px;\n height: 16px;\n border: 2px solid white; }\n #actionTabs .tabs .panes .pane .radioLine .radioContainer .labelForRadio:after {\n top: 6px;\n left: 6px;\n width: 8px;\n height: 8px;\n transform: scale(0);\n background: #337ab7; }\n #actionTabs .tabs .panes .pane .vector3Line {\n padding-left: 2px;\n display: grid; }\n #actionTabs .tabs .panes .pane .vector3Line .firstLine {\n display: grid;\n grid-template-columns: 1fr auto 20px;\n height: 30px; }\n #actionTabs .tabs .panes .pane .vector3Line .firstLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .vector3Line .firstLine .vector {\n grid-column: 2;\n display: flex;\n align-items: center;\n text-align: right;\n opacity: 0.8; }\n #actionTabs .tabs .panes .pane .vector3Line .firstLine .expand {\n grid-column: 3;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .vector3Line .secondLine {\n display: grid;\n padding-right: 5px;\n border-left: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .vector3Line .secondLine .numeric {\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .vector3Line .secondLine .numeric-label {\n text-align: right;\n grid-column: 1;\n display: flex;\n align-items: center;\n justify-self: right;\n margin-right: 10px; }\n #actionTabs .tabs .panes .pane .vector3Line .secondLine .numeric-value {\n width: 120px;\n grid-column: 2;\n display: flex;\n align-items: center;\n border: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .checkBoxLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .checkBoxLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox {\n grid-column: 2;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .lbl {\n position: relative;\n display: block;\n height: 14px;\n width: 34px;\n margin-right: 5px;\n background: #898989;\n border-radius: 100px;\n cursor: pointer;\n transition: all 0.3s ease; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .lbl:after {\n position: absolute;\n left: 3px;\n top: 2px;\n display: block;\n width: 10px;\n height: 10px;\n border-radius: 100px;\n background: #fff;\n box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);\n content: '';\n transition: all 0.15s ease; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .lbl:active:after {\n transform: scale(1.15, 0.85); }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .cbx:checked ~ label {\n background: #337ab7; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .cbx:checked ~ label:after {\n left: 20px;\n background: #164975; }\n #actionTabs .tabs .panes .pane .checkBoxLine .checkBox .hidden {\n display: none; }\n #actionTabs .tabs .panes .pane .textureLine {\n display: grid;\n grid-template-rows: 30px auto; }\n #actionTabs .tabs .panes .pane .textureLine .control {\n margin-top: 2px;\n grid-row: 1;\n display: grid;\n grid-template-columns: 1fr 40px 40px 40px 40px 40px 1fr; }\n #actionTabs .tabs .panes .pane .textureLine .control .red {\n grid-column: 2; }\n #actionTabs .tabs .panes .pane .textureLine .control .green {\n grid-column: 3; }\n #actionTabs .tabs .panes .pane .textureLine .control .blue {\n grid-column: 4; }\n #actionTabs .tabs .panes .pane .textureLine .control .alpha {\n grid-column: 5; }\n #actionTabs .tabs .panes .pane .textureLine .control .all {\n grid-column: 6; }\n #actionTabs .tabs .panes .pane .textureLine .control3D {\n margin-top: 2px;\n grid-row: 1;\n display: grid;\n grid-template-columns: 1fr 40px 40px 40px 40px 40px 40px 1fr; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .px {\n grid-column: 2; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .nx {\n grid-column: 3; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .py {\n grid-column: 4; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .ny {\n grid-column: 5; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .pz {\n grid-column: 6; }\n #actionTabs .tabs .panes .pane .textureLine .control3D .nz {\n grid-column: 7; }\n #actionTabs .tabs .panes .pane .textureLine .command {\n border: 1px solid transparent;\n background: transparent;\n color: white; }\n #actionTabs .tabs .panes .pane .textureLine .selected {\n border: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .textureLine .preview {\n grid-row: 2;\n display: grid;\n align-self: center;\n justify-self: center;\n height: 256px;\n width: 256px;\n margin-top: 5px;\n margin-bottom: 5px;\n border: 2px solid rgba(255, 255, 255, 0.4); }\n #actionTabs .tabs .panes .pane .gltf-extension-property {\n margin-left: 30px;\n border-left: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .floatLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr 120px; }\n #actionTabs .tabs .panes .pane .floatLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .floatLine .value {\n grid-column: 2;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .floatLine .value input {\n width: 110px; }\n #actionTabs .tabs .panes .pane .sliderLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .sliderLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .sliderLine .slider {\n grid-column: 2;\n margin-right: 5px;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .sliderLine .slider .range {\n -webkit-appearance: none;\n width: 120px;\n height: 6px;\n background: #d3d3d3;\n border-radius: 5px;\n outline: none;\n opacity: 0.7;\n -webkit-transition: .2s;\n transition: opacity .2s; }\n #actionTabs .tabs .panes .pane .sliderLine .slider .range:hover {\n opacity: 1; }\n #actionTabs .tabs .panes .pane .sliderLine .slider .range::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n background: #337ab7;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .sliderLine .slider .range::-moz-range-thumb {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n background: #337ab7;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .color3Line {\n padding-left: 2px;\n display: grid; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine {\n height: 30px;\n display: grid;\n grid-template-columns: 1fr auto 20px 20px; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .color3 {\n grid-column: 2;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .color3 input[type=\"color\"] {\n -webkit-appearance: none;\n border: 1px solid rgba(255, 255, 255, 0.5);\n padding: 0;\n width: 30px;\n height: 20px; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .color3 input[type=\"color\"]::-webkit-color-swatch-wrapper {\n padding: 0; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .color3 input[type=\"color\"]::-webkit-color-swatch {\n border: none; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .color3 input {\n margin-right: 5px; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .copy {\n grid-column: 3;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .color3Line .firstLine .expand {\n grid-column: 4;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .color3Line .secondLine {\n display: grid;\n padding-right: 5px;\n border-left: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .color3Line .secondLine .numeric {\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .color3Line .secondLine .numeric-label {\n text-align: right;\n grid-column: 1;\n display: flex;\n align-items: center;\n justify-self: right;\n margin-right: 10px; }\n #actionTabs .tabs .panes .pane .color3Line .secondLine .numeric-value {\n width: 120px;\n grid-column: 2;\n display: flex;\n align-items: center;\n border: 1px solid #337ab7; }\n #actionTabs .tabs .panes .pane .listLine {\n padding-left: 2px;\n height: 30px;\n display: grid;\n grid-template-columns: 1fr auto; }\n #actionTabs .tabs .panes .pane .listLine .label {\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .listLine .options {\n grid-column: 2;\n display: flex;\n align-items: center;\n margin-right: 5px; }\n #actionTabs .tabs .panes .pane .listLine .options select {\n width: 115px; }\n #actionTabs .tabs .panes .pane .paneContainer {\n margin-top: 3px;\n display: grid;\n grid-template-rows: 100%;\n grid-template-columns: 100%; }\n #actionTabs .tabs .panes .pane .paneContainer .paneList {\n border-left: 3px solid transparent; }\n #actionTabs .tabs .panes .pane .paneContainer:hover .paneList {\n border-left: 3px solid rgba(51, 122, 183, 0.8); }\n #actionTabs .tabs .panes .pane .paneContainer:hover .paneContainer-content .header .title {\n border-left: 3px solid #337ab7; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-highlight-border {\n grid-row: 1;\n grid-column: 1;\n opacity: 1;\n border: 3px solid red;\n transition: opacity 250ms;\n pointer-events: none; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-highlight-border.transparent {\n opacity: 0; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content {\n grid-row: 1;\n grid-column: 1; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .header {\n display: grid;\n grid-template-columns: 1fr auto;\n background: #555555;\n height: 30px;\n padding-right: 5px;\n cursor: pointer; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .header .title {\n border-left: 3px solid transparent;\n padding-left: 5px;\n grid-column: 1;\n display: flex;\n align-items: center; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .header .collapse {\n grid-column: 2;\n display: flex;\n align-items: center;\n justify-items: center;\n transform-origin: center; }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .header .collapse.closed {\n transform: rotate(180deg); }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .paneList > div:not(:last-child) {\n border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); }\n #actionTabs .tabs .panes .pane .paneContainer .paneContainer-content .fragment > div:not(:last-child) {\n border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); }\n", ""]);
  5280. // exports
  5281. /***/ }),
  5282. /***/ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/embedHost/embedHost.scss":
  5283. /*!****************************************************************************************************************************************************!*\
  5284. !*** D:/Repos/Babylon.js/node_modules/css-loader!D:/Repos/Babylon.js/node_modules/sass-loader/lib/loader.js!./components/embedHost/embedHost.scss ***!
  5285. \****************************************************************************************************************************************************/
  5286. /*! no static exports found */
  5287. /***/ (function(module, exports, __webpack_require__) {
  5288. exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ "../../node_modules/css-loader/lib/css-base.js")(false);
  5289. // imports
  5290. // module
  5291. exports.push([module.i, "#embed-host {\n position: absolute;\n right: 0px;\n top: 0px;\n bottom: 0px; }\n\n#__resizable_base__ {\n display: none; }\n\n#embed {\n background: #333333;\n height: 100%;\n margin: 0;\n padding: 0;\n display: grid;\n grid-template-rows: 30px 1fr;\n font: 14px \"Arial\";\n overflow: hidden; }\n #embed #header {\n font-size: 16px;\n color: white;\n background: #222222;\n grid-row: 1;\n text-align: center;\n display: grid;\n grid-template-columns: 30px 1fr 50px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n #embed #header #logo {\n grid-column: 1;\n width: 24px;\n height: 24px;\n display: flex;\n align-self: center;\n justify-self: center; }\n #embed #header #back {\n grid-column: 1;\n display: grid;\n align-self: center;\n justify-self: center;\n cursor: pointer; }\n #embed #header #title {\n grid-column: 2;\n display: grid;\n align-items: center;\n text-align: center; }\n #embed #header #commands {\n grid-column: 3;\n display: grid;\n align-items: center;\n grid-template-columns: 1fr 1fr; }\n #embed #header #commands .expand {\n grid-column: 1;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #embed #header #commands .close {\n grid-column: 2;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #embed #split {\n grid-row: 2;\n overflow: hidden; }\n #embed #split.splitPopup {\n display: grid;\n grid-template-rows: 300px 2px 1fr; }\n #embed #split.splitPopup .panes {\n margin-bottom: 1px; }\n #embed #split #topPart {\n grid-row: 1;\n overflow: hidden;\n display: grid;\n grid-auto-rows: 100%; }\n #embed #split #separator {\n grid-row: 2;\n background: white;\n opacity: 0.1; }\n #embed #split #bottomPart {\n overflow: hidden;\n grid-row: 3;\n display: grid;\n grid-auto-rows: 100%; }\n #embed #split .gutter.gutter-vertical {\n background-image: none;\n background: #444444;\n cursor: row-resize; }\n", ""]);
  5292. // exports
  5293. /***/ }),
  5294. /***/ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/sceneExplorer/sceneExplorer.scss":
  5295. /*!************************************************************************************************************************************************************!*\
  5296. !*** D:/Repos/Babylon.js/node_modules/css-loader!D:/Repos/Babylon.js/node_modules/sass-loader/lib/loader.js!./components/sceneExplorer/sceneExplorer.scss ***!
  5297. \************************************************************************************************************************************************************/
  5298. /*! no static exports found */
  5299. /***/ (function(module, exports, __webpack_require__) {
  5300. exports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ "../../node_modules/css-loader/lib/css-base.js")(false);
  5301. // imports
  5302. // module
  5303. exports.push([module.i, "#scene-explorer-host {\n position: absolute;\n left: 0px;\n top: 0px;\n bottom: 0px; }\n #scene-explorer-host:focus {\n outline: none; }\n\n#__resizable_base__ {\n display: none; }\n\n.context-menu {\n background: #222222; }\n .context-menu .react-contextmenu-item {\n padding: 10px;\n cursor: pointer; }\n .context-menu .react-contextmenu-item:hover {\n background: #555555; }\n\n.react-contextmenu.context-menu.react-contextmenu--visible {\n z-index: 99;\n transform: scale(1); }\n\n#sceneExplorer {\n background: #333333;\n height: 100%;\n margin: 0;\n padding: 0;\n display: grid;\n grid-template-rows: auto 1fr;\n font: 14px \"Arial\"; }\n #sceneExplorer:focus {\n outline: none; }\n #sceneExplorer #header {\n height: 30px;\n font-size: 16px;\n color: white;\n background: #222222;\n grid-row: 1;\n text-align: center;\n display: grid;\n grid-template-columns: 30px 1fr 50px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n #sceneExplorer #header #logo {\n position: relative;\n grid-column: 1;\n width: 24px;\n height: 24px;\n left: 0;\n display: flex;\n align-self: center;\n justify-self: center; }\n #sceneExplorer #header #title {\n grid-column: 2;\n display: grid;\n align-items: center;\n text-align: center; }\n #sceneExplorer #header #commands {\n grid-column: 3;\n display: grid;\n align-items: center;\n grid-template-columns: 1fr 1fr; }\n #sceneExplorer #header #commands .expand {\n grid-column: 1;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #sceneExplorer #header #commands .close {\n grid-column: 2;\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #sceneExplorer #tree {\n grid-row: 2;\n overflow-x: hidden;\n overflow-y: auto; }\n #sceneExplorer .filter {\n display: flex;\n align-items: stretch; }\n #sceneExplorer .filter input {\n width: 100%;\n margin: 10px 40px 5px 40px;\n display: block;\n border: none;\n padding: 0;\n border-bottom: solid 1px #337ab7;\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #337ab7 4%);\n background-position: -1000px 0;\n background-size: 1000px 100%;\n background-repeat: no-repeat;\n color: white; }\n #sceneExplorer .filter input:focus {\n box-shadow: none;\n outline: none;\n background-position: 0 0; }\n #sceneExplorer .groupContainer {\n margin-left: 0px;\n color: white;\n margin-top: 0px;\n margin-bottom: 0px;\n height: 24px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n align-self: center;\n display: grid;\n align-items: center; }\n #sceneExplorer .groupContainer:hover {\n background: #444444; }\n #sceneExplorer .groupContainer .expandableHeader {\n display: grid;\n grid-template-columns: 1fr 20px; }\n #sceneExplorer .groupContainer .expandableHeader .text {\n grid-column: 1;\n display: grid;\n grid-template-columns: 20px 1fr; }\n #sceneExplorer .groupContainer .expandableHeader .text .arrow {\n grid-column: 1;\n margin-left: 0px;\n color: white;\n cursor: pointer;\n display: inline-block;\n margin-right: 6px;\n opacity: 0.5; }\n #sceneExplorer .groupContainer .expandableHeader .text .text-value {\n grid-column: 2;\n display: flex;\n align-items: center; }\n #sceneExplorer .groupContainer .expandableHeader .expandAll {\n opacity: 0.5;\n grid-column: 2;\n margin-right: 10px; }\n #sceneExplorer .icon {\n display: grid;\n align-items: center;\n justify-items: center;\n cursor: pointer; }\n #sceneExplorer .itemContainer {\n margin-left: 0px;\n color: white;\n margin-top: 0px;\n margin-bottom: 0px;\n height: 24px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n display: grid;\n grid-template-columns: 20px 1fr; }\n #sceneExplorer .itemContainer:hover {\n background: #444444; }\n #sceneExplorer .itemContainer.selected {\n background: #bbbbbb;\n color: black; }\n #sceneExplorer .itemContainer .isNotActive {\n opacity: 0.3; }\n #sceneExplorer .itemContainer .arrow {\n grid-column: 1;\n color: white;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .popup {\n width: 200px;\n visibility: hidden;\n background-color: #444444;\n color: #fff;\n border: 1px solid rgba(255, 255, 255, 0.5);\n position: absolute;\n z-index: 1;\n margin-left: -180px;\n box-sizing: border-box; }\n #sceneExplorer .itemContainer .popup.show {\n visibility: visible; }\n #sceneExplorer .itemContainer .popup:focus {\n outline: none; }\n #sceneExplorer .itemContainer .popup .popupMenu {\n padding: 6px 5px 5px 10px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n height: 18px; }\n #sceneExplorer .itemContainer .popup .popupMenu:hover {\n background: white;\n color: #333333; }\n #sceneExplorer .itemContainer .sceneNode {\n grid-column: 2;\n margin-left: -10px;\n display: grid;\n grid-template-columns: 1fr 20px 20px 20px 20px 10px 20px 20px auto 5px;\n align-items: center;\n cursor: pointer; }\n #sceneExplorer .itemContainer .sceneNode .sceneTitle {\n grid-column: 1;\n margin-right: 5px;\n display: flex;\n align-items: center;\n height: 24px; }\n #sceneExplorer .itemContainer .sceneNode .translation {\n grid-column: 2;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .sceneNode .translation.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .sceneNode .rotation {\n grid-column: 3;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .sceneNode .rotation.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .sceneNode .scaling {\n grid-column: 4;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .sceneNode .scaling.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .sceneNode .bounding {\n grid-column: 5;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .sceneNode .bounding.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .sceneNode .separator {\n grid-column: 6;\n margin-left: 5px;\n width: 5px;\n display: flex;\n align-items: center;\n height: 18px;\n border-left: solid 1px #337ab7; }\n #sceneExplorer .itemContainer .sceneNode .pickingMode {\n grid-column: 7;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .sceneNode .pickingMode.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .sceneNode .refresh {\n grid-column: 8; }\n #sceneExplorer .itemContainer .sceneNode .extensions {\n width: 20px;\n grid-column: 9; }\n #sceneExplorer .itemContainer .animationGroupTools {\n grid-column: 2;\n width: 100%;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center;\n min-width: 0; }\n #sceneExplorer .itemContainer .animationGroupTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .meshTools {\n grid-column: 2;\n width: 100%;\n display: grid;\n grid-template-columns: 1fr 20px 20px auto 5px;\n align-items: center;\n min-width: 0; }\n #sceneExplorer .itemContainer .meshTools .bounding-box {\n grid-column: 2;\n opacity: 0.5; }\n #sceneExplorer .itemContainer .meshTools .bounding-box.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .meshTools .visibility {\n grid-column: 3; }\n #sceneExplorer .itemContainer .meshTools .extensions {\n width: 20px;\n grid-column: 4; }\n #sceneExplorer .itemContainer .cameraTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr 20px auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .cameraTools .activeCamera {\n grid-column: 2; }\n #sceneExplorer .itemContainer .cameraTools .extensions {\n width: 20px;\n grid-column: 3; }\n #sceneExplorer .itemContainer .lightTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr 20px 20px auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .lightTools .enableLight {\n grid-column: 2; }\n #sceneExplorer .itemContainer .lightTools .extensions {\n width: 20px;\n grid-column: 3; }\n #sceneExplorer .itemContainer .materialTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .materialTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .postProcessTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .postProcessTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .renderingPipelineTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .renderingPipelineTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .textureTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .textureTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .adtextureTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr 20px auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .adtextureTools .pickingMode {\n grid-column: 2;\n opacity: 0.6; }\n #sceneExplorer .itemContainer .adtextureTools .pickingMode.selected {\n opacity: 1; }\n #sceneExplorer .itemContainer .adtextureTools .extensions {\n width: 20px;\n grid-column: 3; }\n #sceneExplorer .itemContainer .controlTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr 20px 20px auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .controlTools .highlight {\n grid-column: 2; }\n #sceneExplorer .itemContainer .controlTools .visibility {\n grid-column: 3; }\n #sceneExplorer .itemContainer .controlTools .extensions {\n width: 20px;\n grid-column: 4; }\n #sceneExplorer .itemContainer .transformNodeTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .transformNodeTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .skeletonTools {\n grid-column: 2;\n display: grid;\n grid-template-columns: 1fr auto 5px;\n align-items: center; }\n #sceneExplorer .itemContainer .skeletonTools .extensions {\n width: 20px;\n grid-column: 2; }\n #sceneExplorer .itemContainer .title {\n grid-column: 1;\n background: transparent;\n white-space: nowrap;\n overflow: hidden;\n min-width: 0;\n margin-right: 5px;\n display: grid;\n align-items: center;\n grid-template-columns: 25px 1fr;\n height: 24px;\n cursor: pointer; }\n #sceneExplorer .itemContainer .title .titleIcon {\n grid-column: 1;\n display: grid;\n align-items: center;\n justify-items: center; }\n #sceneExplorer .itemContainer .title .titleText {\n grid-column: 2;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden; }\n", ""]);
  5304. // exports
  5305. /***/ }),
  5306. /***/ "../../node_modules/css-loader/lib/css-base.js":
  5307. /*!*******************************************************************!*\
  5308. !*** D:/Repos/Babylon.js/node_modules/css-loader/lib/css-base.js ***!
  5309. \*******************************************************************/
  5310. /*! no static exports found */
  5311. /***/ (function(module, exports) {
  5312. /*
  5313. MIT License http://www.opensource.org/licenses/mit-license.php
  5314. Author Tobias Koppers @sokra
  5315. */
  5316. // css base code, injected by the css-loader
  5317. module.exports = function(useSourceMap) {
  5318. var list = [];
  5319. // return the list of modules as css string
  5320. list.toString = function toString() {
  5321. return this.map(function (item) {
  5322. var content = cssWithMappingToString(item, useSourceMap);
  5323. if(item[2]) {
  5324. return "@media " + item[2] + "{" + content + "}";
  5325. } else {
  5326. return content;
  5327. }
  5328. }).join("");
  5329. };
  5330. // import a list of modules into the list
  5331. list.i = function(modules, mediaQuery) {
  5332. if(typeof modules === "string")
  5333. modules = [[null, modules, ""]];
  5334. var alreadyImportedModules = {};
  5335. for(var i = 0; i < this.length; i++) {
  5336. var id = this[i][0];
  5337. if(typeof id === "number")
  5338. alreadyImportedModules[id] = true;
  5339. }
  5340. for(i = 0; i < modules.length; i++) {
  5341. var item = modules[i];
  5342. // skip already imported module
  5343. // this implementation is not 100% perfect for weird media query combinations
  5344. // when a module is imported multiple times with different media queries.
  5345. // I hope this will never occur (Hey this way we have smaller bundles)
  5346. if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
  5347. if(mediaQuery && !item[2]) {
  5348. item[2] = mediaQuery;
  5349. } else if(mediaQuery) {
  5350. item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
  5351. }
  5352. list.push(item);
  5353. }
  5354. }
  5355. };
  5356. return list;
  5357. };
  5358. function cssWithMappingToString(item, useSourceMap) {
  5359. var content = item[1] || '';
  5360. var cssMapping = item[3];
  5361. if (!cssMapping) {
  5362. return content;
  5363. }
  5364. if (useSourceMap && typeof btoa === 'function') {
  5365. var sourceMapping = toComment(cssMapping);
  5366. var sourceURLs = cssMapping.sources.map(function (source) {
  5367. return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
  5368. });
  5369. return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
  5370. }
  5371. return [content].join('\n');
  5372. }
  5373. // Adapted from convert-source-map (MIT)
  5374. function toComment(sourceMap) {
  5375. // eslint-disable-next-line no-undef
  5376. var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
  5377. var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
  5378. return '/*# ' + data + ' */';
  5379. }
  5380. /***/ }),
  5381. /***/ "../../node_modules/object-assign/index.js":
  5382. /*!***************************************************************!*\
  5383. !*** D:/Repos/Babylon.js/node_modules/object-assign/index.js ***!
  5384. \***************************************************************/
  5385. /*! no static exports found */
  5386. /***/ (function(module, exports, __webpack_require__) {
  5387. "use strict";
  5388. /*
  5389. object-assign
  5390. (c) Sindre Sorhus
  5391. @license MIT
  5392. */
  5393. /* eslint-disable no-unused-vars */
  5394. var getOwnPropertySymbols = Object.getOwnPropertySymbols;
  5395. var hasOwnProperty = Object.prototype.hasOwnProperty;
  5396. var propIsEnumerable = Object.prototype.propertyIsEnumerable;
  5397. function toObject(val) {
  5398. if (val === null || val === undefined) {
  5399. throw new TypeError('Object.assign cannot be called with null or undefined');
  5400. }
  5401. return Object(val);
  5402. }
  5403. function shouldUseNative() {
  5404. try {
  5405. if (!Object.assign) {
  5406. return false;
  5407. }
  5408. // Detect buggy property enumeration order in older V8 versions.
  5409. // https://bugs.chromium.org/p/v8/issues/detail?id=4118
  5410. var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
  5411. test1[5] = 'de';
  5412. if (Object.getOwnPropertyNames(test1)[0] === '5') {
  5413. return false;
  5414. }
  5415. // https://bugs.chromium.org/p/v8/issues/detail?id=3056
  5416. var test2 = {};
  5417. for (var i = 0; i < 10; i++) {
  5418. test2['_' + String.fromCharCode(i)] = i;
  5419. }
  5420. var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
  5421. return test2[n];
  5422. });
  5423. if (order2.join('') !== '0123456789') {
  5424. return false;
  5425. }
  5426. // https://bugs.chromium.org/p/v8/issues/detail?id=3056
  5427. var test3 = {};
  5428. 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
  5429. test3[letter] = letter;
  5430. });
  5431. if (Object.keys(Object.assign({}, test3)).join('') !==
  5432. 'abcdefghijklmnopqrst') {
  5433. return false;
  5434. }
  5435. return true;
  5436. } catch (err) {
  5437. // We don't expect any of the above to throw, but better to be safe.
  5438. return false;
  5439. }
  5440. }
  5441. module.exports = shouldUseNative() ? Object.assign : function (target, source) {
  5442. var from;
  5443. var to = toObject(target);
  5444. var symbols;
  5445. for (var s = 1; s < arguments.length; s++) {
  5446. from = Object(arguments[s]);
  5447. for (var key in from) {
  5448. if (hasOwnProperty.call(from, key)) {
  5449. to[key] = from[key];
  5450. }
  5451. }
  5452. if (getOwnPropertySymbols) {
  5453. symbols = getOwnPropertySymbols(from);
  5454. for (var i = 0; i < symbols.length; i++) {
  5455. if (propIsEnumerable.call(from, symbols[i])) {
  5456. to[symbols[i]] = from[symbols[i]];
  5457. }
  5458. }
  5459. }
  5460. }
  5461. return to;
  5462. };
  5463. /***/ }),
  5464. /***/ "../../node_modules/prop-types/checkPropTypes.js":
  5465. /*!*********************************************************************!*\
  5466. !*** D:/Repos/Babylon.js/node_modules/prop-types/checkPropTypes.js ***!
  5467. \*********************************************************************/
  5468. /*! no static exports found */
  5469. /***/ (function(module, exports, __webpack_require__) {
  5470. "use strict";
  5471. /**
  5472. * Copyright (c) 2013-present, Facebook, Inc.
  5473. *
  5474. * This source code is licensed under the MIT license found in the
  5475. * LICENSE file in the root directory of this source tree.
  5476. */
  5477. var printWarning = function() {};
  5478. if (true) {
  5479. var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
  5480. var loggedTypeFailures = {};
  5481. printWarning = function(text) {
  5482. var message = 'Warning: ' + text;
  5483. if (typeof console !== 'undefined') {
  5484. console.error(message);
  5485. }
  5486. try {
  5487. // --- Welcome to debugging React ---
  5488. // This error was thrown as a convenience so that you can use this stack
  5489. // to find the callsite that caused this warning to fire.
  5490. throw new Error(message);
  5491. } catch (x) {}
  5492. };
  5493. }
  5494. /**
  5495. * Assert that the values match with the type specs.
  5496. * Error messages are memorized and will only be shown once.
  5497. *
  5498. * @param {object} typeSpecs Map of name to a ReactPropType
  5499. * @param {object} values Runtime values that need to be type-checked
  5500. * @param {string} location e.g. "prop", "context", "child context"
  5501. * @param {string} componentName Name of the component for error messages.
  5502. * @param {?Function} getStack Returns the component stack.
  5503. * @private
  5504. */
  5505. function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
  5506. if (true) {
  5507. for (var typeSpecName in typeSpecs) {
  5508. if (typeSpecs.hasOwnProperty(typeSpecName)) {
  5509. var error;
  5510. // Prop type validation may throw. In case they do, we don't want to
  5511. // fail the render phase where it didn't fail before. So we log it.
  5512. // After these have been cleaned up, we'll let them throw.
  5513. try {
  5514. // This is intentionally an invariant that gets caught. It's the same
  5515. // behavior as without this statement except with a better message.
  5516. if (typeof typeSpecs[typeSpecName] !== 'function') {
  5517. var err = Error(
  5518. (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
  5519. 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
  5520. );
  5521. err.name = 'Invariant Violation';
  5522. throw err;
  5523. }
  5524. error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
  5525. } catch (ex) {
  5526. error = ex;
  5527. }
  5528. if (error && !(error instanceof Error)) {
  5529. printWarning(
  5530. (componentName || 'React class') + ': type specification of ' +
  5531. location + ' `' + typeSpecName + '` is invalid; the type checker ' +
  5532. 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
  5533. 'You may have forgotten to pass an argument to the type checker ' +
  5534. 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
  5535. 'shape all require an argument).'
  5536. )
  5537. }
  5538. if (error instanceof Error && !(error.message in loggedTypeFailures)) {
  5539. // Only monitor this failure once because there tends to be a lot of the
  5540. // same error.
  5541. loggedTypeFailures[error.message] = true;
  5542. var stack = getStack ? getStack() : '';
  5543. printWarning(
  5544. 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
  5545. );
  5546. }
  5547. }
  5548. }
  5549. }
  5550. }
  5551. module.exports = checkPropTypes;
  5552. /***/ }),
  5553. /***/ "../../node_modules/prop-types/factoryWithTypeCheckers.js":
  5554. /*!******************************************************************************!*\
  5555. !*** D:/Repos/Babylon.js/node_modules/prop-types/factoryWithTypeCheckers.js ***!
  5556. \******************************************************************************/
  5557. /*! no static exports found */
  5558. /***/ (function(module, exports, __webpack_require__) {
  5559. "use strict";
  5560. /**
  5561. * Copyright (c) 2013-present, Facebook, Inc.
  5562. *
  5563. * This source code is licensed under the MIT license found in the
  5564. * LICENSE file in the root directory of this source tree.
  5565. */
  5566. var assign = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  5567. var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js");
  5568. var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../../node_modules/prop-types/checkPropTypes.js");
  5569. var printWarning = function() {};
  5570. if (true) {
  5571. printWarning = function(text) {
  5572. var message = 'Warning: ' + text;
  5573. if (typeof console !== 'undefined') {
  5574. console.error(message);
  5575. }
  5576. try {
  5577. // --- Welcome to debugging React ---
  5578. // This error was thrown as a convenience so that you can use this stack
  5579. // to find the callsite that caused this warning to fire.
  5580. throw new Error(message);
  5581. } catch (x) {}
  5582. };
  5583. }
  5584. function emptyFunctionThatReturnsNull() {
  5585. return null;
  5586. }
  5587. module.exports = function(isValidElement, throwOnDirectAccess) {
  5588. /* global Symbol */
  5589. var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  5590. var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
  5591. /**
  5592. * Returns the iterator method function contained on the iterable object.
  5593. *
  5594. * Be sure to invoke the function with the iterable as context:
  5595. *
  5596. * var iteratorFn = getIteratorFn(myIterable);
  5597. * if (iteratorFn) {
  5598. * var iterator = iteratorFn.call(myIterable);
  5599. * ...
  5600. * }
  5601. *
  5602. * @param {?object} maybeIterable
  5603. * @return {?function}
  5604. */
  5605. function getIteratorFn(maybeIterable) {
  5606. var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
  5607. if (typeof iteratorFn === 'function') {
  5608. return iteratorFn;
  5609. }
  5610. }
  5611. /**
  5612. * Collection of methods that allow declaration and validation of props that are
  5613. * supplied to React components. Example usage:
  5614. *
  5615. * var Props = require('ReactPropTypes');
  5616. * var MyArticle = React.createClass({
  5617. * propTypes: {
  5618. * // An optional string prop named "description".
  5619. * description: Props.string,
  5620. *
  5621. * // A required enum prop named "category".
  5622. * category: Props.oneOf(['News','Photos']).isRequired,
  5623. *
  5624. * // A prop named "dialog" that requires an instance of Dialog.
  5625. * dialog: Props.instanceOf(Dialog).isRequired
  5626. * },
  5627. * render: function() { ... }
  5628. * });
  5629. *
  5630. * A more formal specification of how these methods are used:
  5631. *
  5632. * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
  5633. * decl := ReactPropTypes.{type}(.isRequired)?
  5634. *
  5635. * Each and every declaration produces a function with the same signature. This
  5636. * allows the creation of custom validation functions. For example:
  5637. *
  5638. * var MyLink = React.createClass({
  5639. * propTypes: {
  5640. * // An optional string or URI prop named "href".
  5641. * href: function(props, propName, componentName) {
  5642. * var propValue = props[propName];
  5643. * if (propValue != null && typeof propValue !== 'string' &&
  5644. * !(propValue instanceof URI)) {
  5645. * return new Error(
  5646. * 'Expected a string or an URI for ' + propName + ' in ' +
  5647. * componentName
  5648. * );
  5649. * }
  5650. * }
  5651. * },
  5652. * render: function() {...}
  5653. * });
  5654. *
  5655. * @internal
  5656. */
  5657. var ANONYMOUS = '<<anonymous>>';
  5658. // Important!
  5659. // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
  5660. var ReactPropTypes = {
  5661. array: createPrimitiveTypeChecker('array'),
  5662. bool: createPrimitiveTypeChecker('boolean'),
  5663. func: createPrimitiveTypeChecker('function'),
  5664. number: createPrimitiveTypeChecker('number'),
  5665. object: createPrimitiveTypeChecker('object'),
  5666. string: createPrimitiveTypeChecker('string'),
  5667. symbol: createPrimitiveTypeChecker('symbol'),
  5668. any: createAnyTypeChecker(),
  5669. arrayOf: createArrayOfTypeChecker,
  5670. element: createElementTypeChecker(),
  5671. instanceOf: createInstanceTypeChecker,
  5672. node: createNodeChecker(),
  5673. objectOf: createObjectOfTypeChecker,
  5674. oneOf: createEnumTypeChecker,
  5675. oneOfType: createUnionTypeChecker,
  5676. shape: createShapeTypeChecker,
  5677. exact: createStrictShapeTypeChecker,
  5678. };
  5679. /**
  5680. * inlined Object.is polyfill to avoid requiring consumers ship their own
  5681. * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  5682. */
  5683. /*eslint-disable no-self-compare*/
  5684. function is(x, y) {
  5685. // SameValue algorithm
  5686. if (x === y) {
  5687. // Steps 1-5, 7-10
  5688. // Steps 6.b-6.e: +0 != -0
  5689. return x !== 0 || 1 / x === 1 / y;
  5690. } else {
  5691. // Step 6.a: NaN == NaN
  5692. return x !== x && y !== y;
  5693. }
  5694. }
  5695. /*eslint-enable no-self-compare*/
  5696. /**
  5697. * We use an Error-like object for backward compatibility as people may call
  5698. * PropTypes directly and inspect their output. However, we don't use real
  5699. * Errors anymore. We don't inspect their stack anyway, and creating them
  5700. * is prohibitively expensive if they are created too often, such as what
  5701. * happens in oneOfType() for any type before the one that matched.
  5702. */
  5703. function PropTypeError(message) {
  5704. this.message = message;
  5705. this.stack = '';
  5706. }
  5707. // Make `instanceof Error` still work for returned errors.
  5708. PropTypeError.prototype = Error.prototype;
  5709. function createChainableTypeChecker(validate) {
  5710. if (true) {
  5711. var manualPropTypeCallCache = {};
  5712. var manualPropTypeWarningCount = 0;
  5713. }
  5714. function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
  5715. componentName = componentName || ANONYMOUS;
  5716. propFullName = propFullName || propName;
  5717. if (secret !== ReactPropTypesSecret) {
  5718. if (throwOnDirectAccess) {
  5719. // New behavior only for users of `prop-types` package
  5720. var err = new Error(
  5721. 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
  5722. 'Use `PropTypes.checkPropTypes()` to call them. ' +
  5723. 'Read more at http://fb.me/use-check-prop-types'
  5724. );
  5725. err.name = 'Invariant Violation';
  5726. throw err;
  5727. } else if ( true && typeof console !== 'undefined') {
  5728. // Old behavior for people using React.PropTypes
  5729. var cacheKey = componentName + ':' + propName;
  5730. if (
  5731. !manualPropTypeCallCache[cacheKey] &&
  5732. // Avoid spamming the console because they are often not actionable except for lib authors
  5733. manualPropTypeWarningCount < 3
  5734. ) {
  5735. printWarning(
  5736. 'You are manually calling a React.PropTypes validation ' +
  5737. 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
  5738. 'and will throw in the standalone `prop-types` package. ' +
  5739. 'You may be seeing this warning due to a third-party PropTypes ' +
  5740. 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
  5741. );
  5742. manualPropTypeCallCache[cacheKey] = true;
  5743. manualPropTypeWarningCount++;
  5744. }
  5745. }
  5746. }
  5747. if (props[propName] == null) {
  5748. if (isRequired) {
  5749. if (props[propName] === null) {
  5750. return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
  5751. }
  5752. return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
  5753. }
  5754. return null;
  5755. } else {
  5756. return validate(props, propName, componentName, location, propFullName);
  5757. }
  5758. }
  5759. var chainedCheckType = checkType.bind(null, false);
  5760. chainedCheckType.isRequired = checkType.bind(null, true);
  5761. return chainedCheckType;
  5762. }
  5763. function createPrimitiveTypeChecker(expectedType) {
  5764. function validate(props, propName, componentName, location, propFullName, secret) {
  5765. var propValue = props[propName];
  5766. var propType = getPropType(propValue);
  5767. if (propType !== expectedType) {
  5768. // `propValue` being instance of, say, date/regexp, pass the 'object'
  5769. // check, but we can offer a more precise error message here rather than
  5770. // 'of type `object`'.
  5771. var preciseType = getPreciseType(propValue);
  5772. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
  5773. }
  5774. return null;
  5775. }
  5776. return createChainableTypeChecker(validate);
  5777. }
  5778. function createAnyTypeChecker() {
  5779. return createChainableTypeChecker(emptyFunctionThatReturnsNull);
  5780. }
  5781. function createArrayOfTypeChecker(typeChecker) {
  5782. function validate(props, propName, componentName, location, propFullName) {
  5783. if (typeof typeChecker !== 'function') {
  5784. return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
  5785. }
  5786. var propValue = props[propName];
  5787. if (!Array.isArray(propValue)) {
  5788. var propType = getPropType(propValue);
  5789. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
  5790. }
  5791. for (var i = 0; i < propValue.length; i++) {
  5792. var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
  5793. if (error instanceof Error) {
  5794. return error;
  5795. }
  5796. }
  5797. return null;
  5798. }
  5799. return createChainableTypeChecker(validate);
  5800. }
  5801. function createElementTypeChecker() {
  5802. function validate(props, propName, componentName, location, propFullName) {
  5803. var propValue = props[propName];
  5804. if (!isValidElement(propValue)) {
  5805. var propType = getPropType(propValue);
  5806. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
  5807. }
  5808. return null;
  5809. }
  5810. return createChainableTypeChecker(validate);
  5811. }
  5812. function createInstanceTypeChecker(expectedClass) {
  5813. function validate(props, propName, componentName, location, propFullName) {
  5814. if (!(props[propName] instanceof expectedClass)) {
  5815. var expectedClassName = expectedClass.name || ANONYMOUS;
  5816. var actualClassName = getClassName(props[propName]);
  5817. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
  5818. }
  5819. return null;
  5820. }
  5821. return createChainableTypeChecker(validate);
  5822. }
  5823. function createEnumTypeChecker(expectedValues) {
  5824. if (!Array.isArray(expectedValues)) {
  5825. true ? printWarning('Invalid argument supplied to oneOf, expected an instance of array.') : undefined;
  5826. return emptyFunctionThatReturnsNull;
  5827. }
  5828. function validate(props, propName, componentName, location, propFullName) {
  5829. var propValue = props[propName];
  5830. for (var i = 0; i < expectedValues.length; i++) {
  5831. if (is(propValue, expectedValues[i])) {
  5832. return null;
  5833. }
  5834. }
  5835. var valuesString = JSON.stringify(expectedValues);
  5836. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
  5837. }
  5838. return createChainableTypeChecker(validate);
  5839. }
  5840. function createObjectOfTypeChecker(typeChecker) {
  5841. function validate(props, propName, componentName, location, propFullName) {
  5842. if (typeof typeChecker !== 'function') {
  5843. return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
  5844. }
  5845. var propValue = props[propName];
  5846. var propType = getPropType(propValue);
  5847. if (propType !== 'object') {
  5848. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
  5849. }
  5850. for (var key in propValue) {
  5851. if (propValue.hasOwnProperty(key)) {
  5852. var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  5853. if (error instanceof Error) {
  5854. return error;
  5855. }
  5856. }
  5857. }
  5858. return null;
  5859. }
  5860. return createChainableTypeChecker(validate);
  5861. }
  5862. function createUnionTypeChecker(arrayOfTypeCheckers) {
  5863. if (!Array.isArray(arrayOfTypeCheckers)) {
  5864. true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;
  5865. return emptyFunctionThatReturnsNull;
  5866. }
  5867. for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  5868. var checker = arrayOfTypeCheckers[i];
  5869. if (typeof checker !== 'function') {
  5870. printWarning(
  5871. 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
  5872. 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
  5873. );
  5874. return emptyFunctionThatReturnsNull;
  5875. }
  5876. }
  5877. function validate(props, propName, componentName, location, propFullName) {
  5878. for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
  5879. var checker = arrayOfTypeCheckers[i];
  5880. if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
  5881. return null;
  5882. }
  5883. }
  5884. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
  5885. }
  5886. return createChainableTypeChecker(validate);
  5887. }
  5888. function createNodeChecker() {
  5889. function validate(props, propName, componentName, location, propFullName) {
  5890. if (!isNode(props[propName])) {
  5891. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
  5892. }
  5893. return null;
  5894. }
  5895. return createChainableTypeChecker(validate);
  5896. }
  5897. function createShapeTypeChecker(shapeTypes) {
  5898. function validate(props, propName, componentName, location, propFullName) {
  5899. var propValue = props[propName];
  5900. var propType = getPropType(propValue);
  5901. if (propType !== 'object') {
  5902. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
  5903. }
  5904. for (var key in shapeTypes) {
  5905. var checker = shapeTypes[key];
  5906. if (!checker) {
  5907. continue;
  5908. }
  5909. var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  5910. if (error) {
  5911. return error;
  5912. }
  5913. }
  5914. return null;
  5915. }
  5916. return createChainableTypeChecker(validate);
  5917. }
  5918. function createStrictShapeTypeChecker(shapeTypes) {
  5919. function validate(props, propName, componentName, location, propFullName) {
  5920. var propValue = props[propName];
  5921. var propType = getPropType(propValue);
  5922. if (propType !== 'object') {
  5923. return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
  5924. }
  5925. // We need to check all keys in case some are required but missing from
  5926. // props.
  5927. var allKeys = assign({}, props[propName], shapeTypes);
  5928. for (var key in allKeys) {
  5929. var checker = shapeTypes[key];
  5930. if (!checker) {
  5931. return new PropTypeError(
  5932. 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
  5933. '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
  5934. '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
  5935. );
  5936. }
  5937. var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
  5938. if (error) {
  5939. return error;
  5940. }
  5941. }
  5942. return null;
  5943. }
  5944. return createChainableTypeChecker(validate);
  5945. }
  5946. function isNode(propValue) {
  5947. switch (typeof propValue) {
  5948. case 'number':
  5949. case 'string':
  5950. case 'undefined':
  5951. return true;
  5952. case 'boolean':
  5953. return !propValue;
  5954. case 'object':
  5955. if (Array.isArray(propValue)) {
  5956. return propValue.every(isNode);
  5957. }
  5958. if (propValue === null || isValidElement(propValue)) {
  5959. return true;
  5960. }
  5961. var iteratorFn = getIteratorFn(propValue);
  5962. if (iteratorFn) {
  5963. var iterator = iteratorFn.call(propValue);
  5964. var step;
  5965. if (iteratorFn !== propValue.entries) {
  5966. while (!(step = iterator.next()).done) {
  5967. if (!isNode(step.value)) {
  5968. return false;
  5969. }
  5970. }
  5971. } else {
  5972. // Iterator will provide entry [k,v] tuples rather than values.
  5973. while (!(step = iterator.next()).done) {
  5974. var entry = step.value;
  5975. if (entry) {
  5976. if (!isNode(entry[1])) {
  5977. return false;
  5978. }
  5979. }
  5980. }
  5981. }
  5982. } else {
  5983. return false;
  5984. }
  5985. return true;
  5986. default:
  5987. return false;
  5988. }
  5989. }
  5990. function isSymbol(propType, propValue) {
  5991. // Native Symbol.
  5992. if (propType === 'symbol') {
  5993. return true;
  5994. }
  5995. // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
  5996. if (propValue['@@toStringTag'] === 'Symbol') {
  5997. return true;
  5998. }
  5999. // Fallback for non-spec compliant Symbols which are polyfilled.
  6000. if (typeof Symbol === 'function' && propValue instanceof Symbol) {
  6001. return true;
  6002. }
  6003. return false;
  6004. }
  6005. // Equivalent of `typeof` but with special handling for array and regexp.
  6006. function getPropType(propValue) {
  6007. var propType = typeof propValue;
  6008. if (Array.isArray(propValue)) {
  6009. return 'array';
  6010. }
  6011. if (propValue instanceof RegExp) {
  6012. // Old webkits (at least until Android 4.0) return 'function' rather than
  6013. // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
  6014. // passes PropTypes.object.
  6015. return 'object';
  6016. }
  6017. if (isSymbol(propType, propValue)) {
  6018. return 'symbol';
  6019. }
  6020. return propType;
  6021. }
  6022. // This handles more types than `getPropType`. Only used for error messages.
  6023. // See `createPrimitiveTypeChecker`.
  6024. function getPreciseType(propValue) {
  6025. if (typeof propValue === 'undefined' || propValue === null) {
  6026. return '' + propValue;
  6027. }
  6028. var propType = getPropType(propValue);
  6029. if (propType === 'object') {
  6030. if (propValue instanceof Date) {
  6031. return 'date';
  6032. } else if (propValue instanceof RegExp) {
  6033. return 'regexp';
  6034. }
  6035. }
  6036. return propType;
  6037. }
  6038. // Returns a string that is postfixed to a warning about an invalid type.
  6039. // For example, "undefined" or "of type array"
  6040. function getPostfixForTypeWarning(value) {
  6041. var type = getPreciseType(value);
  6042. switch (type) {
  6043. case 'array':
  6044. case 'object':
  6045. return 'an ' + type;
  6046. case 'boolean':
  6047. case 'date':
  6048. case 'regexp':
  6049. return 'a ' + type;
  6050. default:
  6051. return type;
  6052. }
  6053. }
  6054. // Returns class name of the object, if any.
  6055. function getClassName(propValue) {
  6056. if (!propValue.constructor || !propValue.constructor.name) {
  6057. return ANONYMOUS;
  6058. }
  6059. return propValue.constructor.name;
  6060. }
  6061. ReactPropTypes.checkPropTypes = checkPropTypes;
  6062. ReactPropTypes.PropTypes = ReactPropTypes;
  6063. return ReactPropTypes;
  6064. };
  6065. /***/ }),
  6066. /***/ "../../node_modules/prop-types/index.js":
  6067. /*!************************************************************!*\
  6068. !*** D:/Repos/Babylon.js/node_modules/prop-types/index.js ***!
  6069. \************************************************************/
  6070. /*! no static exports found */
  6071. /***/ (function(module, exports, __webpack_require__) {
  6072. /**
  6073. * Copyright (c) 2013-present, Facebook, Inc.
  6074. *
  6075. * This source code is licensed under the MIT license found in the
  6076. * LICENSE file in the root directory of this source tree.
  6077. */
  6078. if (true) {
  6079. var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&
  6080. Symbol.for &&
  6081. Symbol.for('react.element')) ||
  6082. 0xeac7;
  6083. var isValidElement = function(object) {
  6084. return typeof object === 'object' &&
  6085. object !== null &&
  6086. object.$$typeof === REACT_ELEMENT_TYPE;
  6087. };
  6088. // By explicitly using `prop-types` you are opting into new development behavior.
  6089. // http://fb.me/prop-types-in-prod
  6090. var throwOnDirectAccess = true;
  6091. module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../../node_modules/prop-types/factoryWithTypeCheckers.js")(isValidElement, throwOnDirectAccess);
  6092. } else {}
  6093. /***/ }),
  6094. /***/ "../../node_modules/prop-types/lib/ReactPropTypesSecret.js":
  6095. /*!*******************************************************************************!*\
  6096. !*** D:/Repos/Babylon.js/node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
  6097. \*******************************************************************************/
  6098. /*! no static exports found */
  6099. /***/ (function(module, exports, __webpack_require__) {
  6100. "use strict";
  6101. /**
  6102. * Copyright (c) 2013-present, Facebook, Inc.
  6103. *
  6104. * This source code is licensed under the MIT license found in the
  6105. * LICENSE file in the root directory of this source tree.
  6106. */
  6107. var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
  6108. module.exports = ReactPropTypesSecret;
  6109. /***/ }),
  6110. /***/ "../../node_modules/re-resizable/lib/index.es5.js":
  6111. /*!**********************************************************************!*\
  6112. !*** D:/Repos/Babylon.js/node_modules/re-resizable/lib/index.es5.js ***!
  6113. \**********************************************************************/
  6114. /*! no static exports found */
  6115. /***/ (function(module, exports, __webpack_require__) {
  6116. "use strict";
  6117. var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  6118. var classCallCheck = function (instance, Constructor) {
  6119. if (!(instance instanceof Constructor)) {
  6120. throw new TypeError("Cannot call a class as a function");
  6121. }
  6122. };
  6123. var createClass = function () {
  6124. function defineProperties(target, props) {
  6125. for (var i = 0; i < props.length; i++) {
  6126. var descriptor = props[i];
  6127. descriptor.enumerable = descriptor.enumerable || false;
  6128. descriptor.configurable = true;
  6129. if ("value" in descriptor) descriptor.writable = true;
  6130. Object.defineProperty(target, descriptor.key, descriptor);
  6131. }
  6132. }
  6133. return function (Constructor, protoProps, staticProps) {
  6134. if (protoProps) defineProperties(Constructor.prototype, protoProps);
  6135. if (staticProps) defineProperties(Constructor, staticProps);
  6136. return Constructor;
  6137. };
  6138. }();
  6139. var _extends = Object.assign || function (target) {
  6140. for (var i = 1; i < arguments.length; i++) {
  6141. var source = arguments[i];
  6142. for (var key in source) {
  6143. if (Object.prototype.hasOwnProperty.call(source, key)) {
  6144. target[key] = source[key];
  6145. }
  6146. }
  6147. }
  6148. return target;
  6149. };
  6150. var inherits = function (subClass, superClass) {
  6151. if (typeof superClass !== "function" && superClass !== null) {
  6152. throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
  6153. }
  6154. subClass.prototype = Object.create(superClass && superClass.prototype, {
  6155. constructor: {
  6156. value: subClass,
  6157. enumerable: false,
  6158. writable: true,
  6159. configurable: true
  6160. }
  6161. });
  6162. if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
  6163. };
  6164. var possibleConstructorReturn = function (self, call) {
  6165. if (!self) {
  6166. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  6167. }
  6168. return call && (typeof call === "object" || typeof call === "function") ? call : self;
  6169. };
  6170. var styles = {
  6171. base: {
  6172. position: 'absolute',
  6173. userSelect: 'none',
  6174. MsUserSelect: 'none'
  6175. },
  6176. top: {
  6177. width: '100%',
  6178. height: '10px',
  6179. top: '-5px',
  6180. left: '0px',
  6181. cursor: 'row-resize'
  6182. },
  6183. right: {
  6184. width: '10px',
  6185. height: '100%',
  6186. top: '0px',
  6187. right: '-5px',
  6188. cursor: 'col-resize'
  6189. },
  6190. bottom: {
  6191. width: '100%',
  6192. height: '10px',
  6193. bottom: '-5px',
  6194. left: '0px',
  6195. cursor: 'row-resize'
  6196. },
  6197. left: {
  6198. width: '10px',
  6199. height: '100%',
  6200. top: '0px',
  6201. left: '-5px',
  6202. cursor: 'col-resize'
  6203. },
  6204. topRight: {
  6205. width: '20px',
  6206. height: '20px',
  6207. position: 'absolute',
  6208. right: '-10px',
  6209. top: '-10px',
  6210. cursor: 'ne-resize'
  6211. },
  6212. bottomRight: {
  6213. width: '20px',
  6214. height: '20px',
  6215. position: 'absolute',
  6216. right: '-10px',
  6217. bottom: '-10px',
  6218. cursor: 'se-resize'
  6219. },
  6220. bottomLeft: {
  6221. width: '20px',
  6222. height: '20px',
  6223. position: 'absolute',
  6224. left: '-10px',
  6225. bottom: '-10px',
  6226. cursor: 'sw-resize'
  6227. },
  6228. topLeft: {
  6229. width: '20px',
  6230. height: '20px',
  6231. position: 'absolute',
  6232. left: '-10px',
  6233. top: '-10px',
  6234. cursor: 'nw-resize'
  6235. }
  6236. };
  6237. var Resizer = (function (props) {
  6238. return React.createElement(
  6239. 'div',
  6240. {
  6241. className: props.className,
  6242. style: _extends({}, styles.base, styles[props.direction], props.replaceStyles || {}),
  6243. onMouseDown: function onMouseDown(e) {
  6244. props.onResizeStart(e, props.direction);
  6245. },
  6246. onTouchStart: function onTouchStart(e) {
  6247. props.onResizeStart(e, props.direction);
  6248. }
  6249. },
  6250. props.children
  6251. );
  6252. });
  6253. var userSelectNone = {
  6254. userSelect: 'none',
  6255. MozUserSelect: 'none',
  6256. WebkitUserSelect: 'none',
  6257. MsUserSelect: 'none'
  6258. };
  6259. var userSelectAuto = {
  6260. userSelect: 'auto',
  6261. MozUserSelect: 'auto',
  6262. WebkitUserSelect: 'auto',
  6263. MsUserSelect: 'auto'
  6264. };
  6265. var clamp = function clamp(n, min, max) {
  6266. return Math.max(Math.min(n, max), min);
  6267. };
  6268. var snap = function snap(n, size) {
  6269. return Math.round(n / size) * size;
  6270. };
  6271. var findClosestSnap = function findClosestSnap(n, snapArray) {
  6272. return snapArray.reduce(function (prev, curr) {
  6273. return Math.abs(curr - n) < Math.abs(prev - n) ? curr : prev;
  6274. });
  6275. };
  6276. var endsWith = function endsWith(str, searchStr) {
  6277. return str.substr(str.length - searchStr.length, searchStr.length) === searchStr;
  6278. };
  6279. var getStringSize = function getStringSize(n) {
  6280. if (n.toString() === 'auto') return n.toString();
  6281. if (endsWith(n.toString(), 'px')) return n.toString();
  6282. if (endsWith(n.toString(), '%')) return n.toString();
  6283. if (endsWith(n.toString(), 'vh')) return n.toString();
  6284. if (endsWith(n.toString(), 'vw')) return n.toString();
  6285. if (endsWith(n.toString(), 'vmax')) return n.toString();
  6286. if (endsWith(n.toString(), 'vmin')) return n.toString();
  6287. return n + 'px';
  6288. };
  6289. var definedProps = ['style', 'className', 'grid', 'snap', 'bounds', 'size', 'defaultSize', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'lockAspectRatio', 'lockAspectRatioExtraWidth', 'lockAspectRatioExtraHeight', 'enable', 'handleStyles', 'handleClasses', 'handleWrapperStyle', 'handleWrapperClass', 'children', 'onResizeStart', 'onResize', 'onResizeStop', 'handleComponent'];
  6290. var baseClassName = '__resizable_base__';
  6291. var Resizable = function (_React$Component) {
  6292. inherits(Resizable, _React$Component);
  6293. function Resizable(props) {
  6294. classCallCheck(this, Resizable);
  6295. var _this = possibleConstructorReturn(this, (Resizable.__proto__ || Object.getPrototypeOf(Resizable)).call(this, props));
  6296. _this.state = {
  6297. isResizing: false,
  6298. resizeCursor: 'auto',
  6299. width: typeof (_this.propsSize && _this.propsSize.width) === 'undefined' ? 'auto' : _this.propsSize && _this.propsSize.width,
  6300. height: typeof (_this.propsSize && _this.propsSize.height) === 'undefined' ? 'auto' : _this.propsSize && _this.propsSize.height,
  6301. direction: 'right',
  6302. original: {
  6303. x: 0,
  6304. y: 0,
  6305. width: 0,
  6306. height: 0
  6307. }
  6308. };
  6309. _this.updateExtendsProps(props);
  6310. _this.onResizeStart = _this.onResizeStart.bind(_this);
  6311. _this.onMouseMove = _this.onMouseMove.bind(_this);
  6312. _this.onMouseUp = _this.onMouseUp.bind(_this);
  6313. if (typeof window !== 'undefined') {
  6314. window.addEventListener('mouseup', _this.onMouseUp);
  6315. window.addEventListener('mousemove', _this.onMouseMove);
  6316. window.addEventListener('mouseleave', _this.onMouseUp);
  6317. window.addEventListener('touchmove', _this.onMouseMove);
  6318. window.addEventListener('touchend', _this.onMouseUp);
  6319. }
  6320. return _this;
  6321. }
  6322. createClass(Resizable, [{
  6323. key: 'updateExtendsProps',
  6324. value: function updateExtendsProps(props) {
  6325. this.extendsProps = Object.keys(props).reduce(function (acc, key) {
  6326. if (definedProps.indexOf(key) !== -1) return acc;
  6327. acc[key] = props[key];
  6328. return acc;
  6329. }, {});
  6330. }
  6331. }, {
  6332. key: 'getParentSize',
  6333. value: function getParentSize() {
  6334. var base = this.base;
  6335. if (!base) return { width: window.innerWidth, height: window.innerHeight };
  6336. // INFO: To calculate parent width with flex layout
  6337. var wrapChanged = false;
  6338. var wrap = this.parentNode.style.flexWrap;
  6339. var minWidth = base.style.minWidth;
  6340. if (wrap !== 'wrap') {
  6341. wrapChanged = true;
  6342. this.parentNode.style.flexWrap = 'wrap';
  6343. // HACK: Use relative to get parent padding size
  6344. }
  6345. base.style.position = 'relative';
  6346. base.style.minWidth = '100%';
  6347. var size = {
  6348. width: base.offsetWidth,
  6349. height: base.offsetHeight
  6350. };
  6351. base.style.position = 'absolute';
  6352. if (wrapChanged) this.parentNode.style.flexWrap = wrap;
  6353. base.style.minWidth = minWidth;
  6354. return size;
  6355. }
  6356. }, {
  6357. key: 'componentDidMount',
  6358. value: function componentDidMount() {
  6359. var size = this.size;
  6360. this.setState({
  6361. width: this.state.width || size.width,
  6362. height: this.state.height || size.height
  6363. });
  6364. var parent = this.parentNode;
  6365. if (!(parent instanceof HTMLElement)) return;
  6366. if (this.base) return;
  6367. var element = document.createElement('div');
  6368. element.style.width = '100%';
  6369. element.style.height = '100%';
  6370. element.style.position = 'absolute';
  6371. element.style.transform = 'scale(0, 0)';
  6372. element.style.left = '0';
  6373. element.style.flex = '0';
  6374. if (element.classList) {
  6375. element.classList.add(baseClassName);
  6376. } else {
  6377. element.className += baseClassName;
  6378. }
  6379. parent.appendChild(element);
  6380. }
  6381. }, {
  6382. key: 'componentWillReceiveProps',
  6383. value: function componentWillReceiveProps(next) {
  6384. this.updateExtendsProps(next);
  6385. }
  6386. }, {
  6387. key: 'componentWillUnmount',
  6388. value: function componentWillUnmount() {
  6389. if (typeof window !== 'undefined') {
  6390. window.removeEventListener('mouseup', this.onMouseUp);
  6391. window.removeEventListener('mousemove', this.onMouseMove);
  6392. window.removeEventListener('mouseleave', this.onMouseUp);
  6393. window.removeEventListener('touchmove', this.onMouseMove);
  6394. window.removeEventListener('touchend', this.onMouseUp);
  6395. var parent = this.parentNode;
  6396. var base = this.base;
  6397. if (!base || !parent) return;
  6398. if (!(parent instanceof HTMLElement) || !(base instanceof Node)) return;
  6399. parent.removeChild(base);
  6400. }
  6401. }
  6402. }, {
  6403. key: 'calculateNewSize',
  6404. value: function calculateNewSize(newSize, kind) {
  6405. var propsSize = this.propsSize && this.propsSize[kind];
  6406. return this.state[kind] === 'auto' && this.state.original[kind] === newSize && (typeof propsSize === 'undefined' || propsSize === 'auto') ? 'auto' : newSize;
  6407. }
  6408. }, {
  6409. key: 'onResizeStart',
  6410. value: function onResizeStart(event, direction) {
  6411. var clientX = 0;
  6412. var clientY = 0;
  6413. if (event.nativeEvent instanceof MouseEvent) {
  6414. clientX = event.nativeEvent.clientX;
  6415. clientY = event.nativeEvent.clientY;
  6416. // When user click with right button the resize is stuck in resizing mode
  6417. // until users clicks again, dont continue if right click is used.
  6418. // HACK: MouseEvent does not have `which` from flow-bin v0.68.
  6419. if (event.nativeEvent.which === 3) {
  6420. return;
  6421. }
  6422. } else if (event.nativeEvent instanceof TouchEvent) {
  6423. clientX = event.nativeEvent.touches[0].clientX;
  6424. clientY = event.nativeEvent.touches[0].clientY;
  6425. }
  6426. if (this.props.onResizeStart) {
  6427. this.props.onResizeStart(event, direction, this.resizable);
  6428. }
  6429. // Fix #168
  6430. if (this.props.size) {
  6431. if (typeof this.props.size.height !== 'undefined' && this.props.size.height !== this.state.height) {
  6432. this.setState({ height: this.props.size.height });
  6433. }
  6434. if (typeof this.props.size.width !== 'undefined' && this.props.size.width !== this.state.width) {
  6435. this.setState({ width: this.props.size.width });
  6436. }
  6437. }
  6438. this.setState({
  6439. original: {
  6440. x: clientX,
  6441. y: clientY,
  6442. width: this.size.width,
  6443. height: this.size.height
  6444. },
  6445. isResizing: true,
  6446. resizeCursor: window.getComputedStyle(event.target).cursor,
  6447. direction: direction
  6448. });
  6449. }
  6450. }, {
  6451. key: 'onMouseMove',
  6452. value: function onMouseMove(event) {
  6453. if (!this.state.isResizing) return;
  6454. var clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX;
  6455. var clientY = event instanceof MouseEvent ? event.clientY : event.touches[0].clientY;
  6456. var _state = this.state,
  6457. direction = _state.direction,
  6458. original = _state.original,
  6459. width = _state.width,
  6460. height = _state.height;
  6461. var _props = this.props,
  6462. lockAspectRatio = _props.lockAspectRatio,
  6463. lockAspectRatioExtraHeight = _props.lockAspectRatioExtraHeight,
  6464. lockAspectRatioExtraWidth = _props.lockAspectRatioExtraWidth;
  6465. var _props2 = this.props,
  6466. maxWidth = _props2.maxWidth,
  6467. maxHeight = _props2.maxHeight,
  6468. minWidth = _props2.minWidth,
  6469. minHeight = _props2.minHeight;
  6470. // TODO: refactor
  6471. var parentSize = this.getParentSize();
  6472. if (maxWidth && typeof maxWidth === 'string' && endsWith(maxWidth, '%')) {
  6473. var _ratio = Number(maxWidth.replace('%', '')) / 100;
  6474. maxWidth = parentSize.width * _ratio;
  6475. }
  6476. if (maxHeight && typeof maxHeight === 'string' && endsWith(maxHeight, '%')) {
  6477. var _ratio2 = Number(maxHeight.replace('%', '')) / 100;
  6478. maxHeight = parentSize.height * _ratio2;
  6479. }
  6480. if (minWidth && typeof minWidth === 'string' && endsWith(minWidth, '%')) {
  6481. var _ratio3 = Number(minWidth.replace('%', '')) / 100;
  6482. minWidth = parentSize.width * _ratio3;
  6483. }
  6484. if (minHeight && typeof minHeight === 'string' && endsWith(minHeight, '%')) {
  6485. var _ratio4 = Number(minHeight.replace('%', '')) / 100;
  6486. minHeight = parentSize.height * _ratio4;
  6487. }
  6488. maxWidth = typeof maxWidth === 'undefined' ? undefined : Number(maxWidth);
  6489. maxHeight = typeof maxHeight === 'undefined' ? undefined : Number(maxHeight);
  6490. minWidth = typeof minWidth === 'undefined' ? undefined : Number(minWidth);
  6491. minHeight = typeof minHeight === 'undefined' ? undefined : Number(minHeight);
  6492. var ratio = typeof lockAspectRatio === 'number' ? lockAspectRatio : original.width / original.height;
  6493. var newWidth = original.width;
  6494. var newHeight = original.height;
  6495. if (/right/i.test(direction)) {
  6496. newWidth = original.width + (clientX - original.x);
  6497. if (lockAspectRatio) newHeight = (newWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
  6498. }
  6499. if (/left/i.test(direction)) {
  6500. newWidth = original.width - (clientX - original.x);
  6501. if (lockAspectRatio) newHeight = (newWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
  6502. }
  6503. if (/bottom/i.test(direction)) {
  6504. newHeight = original.height + (clientY - original.y);
  6505. if (lockAspectRatio) newWidth = (newHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
  6506. }
  6507. if (/top/i.test(direction)) {
  6508. newHeight = original.height - (clientY - original.y);
  6509. if (lockAspectRatio) newWidth = (newHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
  6510. }
  6511. if (this.props.bounds === 'parent') {
  6512. var parent = this.parentNode;
  6513. if (parent instanceof HTMLElement) {
  6514. var parentRect = parent.getBoundingClientRect();
  6515. var parentLeft = parentRect.left;
  6516. var parentTop = parentRect.top;
  6517. var _resizable$getBoundin = this.resizable.getBoundingClientRect(),
  6518. _left = _resizable$getBoundin.left,
  6519. _top = _resizable$getBoundin.top;
  6520. var boundWidth = parent.offsetWidth + (parentLeft - _left);
  6521. var boundHeight = parent.offsetHeight + (parentTop - _top);
  6522. maxWidth = maxWidth && maxWidth < boundWidth ? maxWidth : boundWidth;
  6523. maxHeight = maxHeight && maxHeight < boundHeight ? maxHeight : boundHeight;
  6524. }
  6525. } else if (this.props.bounds === 'window') {
  6526. if (typeof window !== 'undefined') {
  6527. var _resizable$getBoundin2 = this.resizable.getBoundingClientRect(),
  6528. _left2 = _resizable$getBoundin2.left,
  6529. _top2 = _resizable$getBoundin2.top;
  6530. var _boundWidth = window.innerWidth - _left2;
  6531. var _boundHeight = window.innerHeight - _top2;
  6532. maxWidth = maxWidth && maxWidth < _boundWidth ? maxWidth : _boundWidth;
  6533. maxHeight = maxHeight && maxHeight < _boundHeight ? maxHeight : _boundHeight;
  6534. }
  6535. } else if (this.props.bounds instanceof HTMLElement) {
  6536. var targetRect = this.props.bounds.getBoundingClientRect();
  6537. var targetLeft = targetRect.left;
  6538. var targetTop = targetRect.top;
  6539. var _resizable$getBoundin3 = this.resizable.getBoundingClientRect(),
  6540. _left3 = _resizable$getBoundin3.left,
  6541. _top3 = _resizable$getBoundin3.top;
  6542. if (!(this.props.bounds instanceof HTMLElement)) return;
  6543. var _boundWidth2 = this.props.bounds.offsetWidth + (targetLeft - _left3);
  6544. var _boundHeight2 = this.props.bounds.offsetHeight + (targetTop - _top3);
  6545. maxWidth = maxWidth && maxWidth < _boundWidth2 ? maxWidth : _boundWidth2;
  6546. maxHeight = maxHeight && maxHeight < _boundHeight2 ? maxHeight : _boundHeight2;
  6547. }
  6548. var computedMinWidth = typeof minWidth === 'undefined' ? 10 : minWidth;
  6549. var computedMaxWidth = typeof maxWidth === 'undefined' || maxWidth < 0 ? newWidth : maxWidth;
  6550. var computedMinHeight = typeof minHeight === 'undefined' ? 10 : minHeight;
  6551. var computedMaxHeight = typeof maxHeight === 'undefined' || maxHeight < 0 ? newHeight : maxHeight;
  6552. if (lockAspectRatio) {
  6553. var extraMinWidth = (computedMinHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
  6554. var extraMaxWidth = (computedMaxHeight - lockAspectRatioExtraHeight) * ratio + lockAspectRatioExtraWidth;
  6555. var extraMinHeight = (computedMinWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
  6556. var extraMaxHeight = (computedMaxWidth - lockAspectRatioExtraWidth) / ratio + lockAspectRatioExtraHeight;
  6557. var lockedMinWidth = Math.max(computedMinWidth, extraMinWidth);
  6558. var lockedMaxWidth = Math.min(computedMaxWidth, extraMaxWidth);
  6559. var lockedMinHeight = Math.max(computedMinHeight, extraMinHeight);
  6560. var lockedMaxHeight = Math.min(computedMaxHeight, extraMaxHeight);
  6561. newWidth = clamp(newWidth, lockedMinWidth, lockedMaxWidth);
  6562. newHeight = clamp(newHeight, lockedMinHeight, lockedMaxHeight);
  6563. } else {
  6564. newWidth = clamp(newWidth, computedMinWidth, computedMaxWidth);
  6565. newHeight = clamp(newHeight, computedMinHeight, computedMaxHeight);
  6566. }
  6567. if (this.props.grid) {
  6568. newWidth = snap(newWidth, this.props.grid[0]);
  6569. }
  6570. if (this.props.grid) {
  6571. newHeight = snap(newHeight, this.props.grid[1]);
  6572. }
  6573. if (this.props.snap && this.props.snap.x) {
  6574. newWidth = findClosestSnap(newWidth, this.props.snap.x);
  6575. }
  6576. if (this.props.snap && this.props.snap.y) {
  6577. newHeight = findClosestSnap(newHeight, this.props.snap.y);
  6578. }
  6579. var delta = {
  6580. width: newWidth - original.width,
  6581. height: newHeight - original.height
  6582. };
  6583. if (width && typeof width === 'string' && endsWith(width, '%')) {
  6584. var percent = newWidth / parentSize.width * 100;
  6585. newWidth = percent + '%';
  6586. }
  6587. if (height && typeof height === 'string' && endsWith(height, '%')) {
  6588. var _percent = newHeight / parentSize.height * 100;
  6589. newHeight = _percent + '%';
  6590. }
  6591. this.setState({
  6592. width: this.calculateNewSize(newWidth, 'width'),
  6593. height: this.calculateNewSize(newHeight, 'height')
  6594. });
  6595. if (this.props.onResize) {
  6596. this.props.onResize(event, direction, this.resizable, delta);
  6597. }
  6598. }
  6599. }, {
  6600. key: 'onMouseUp',
  6601. value: function onMouseUp(event) {
  6602. var _state2 = this.state,
  6603. isResizing = _state2.isResizing,
  6604. direction = _state2.direction,
  6605. original = _state2.original;
  6606. if (!isResizing) return;
  6607. var delta = {
  6608. width: this.size.width - original.width,
  6609. height: this.size.height - original.height
  6610. };
  6611. if (this.props.onResizeStop) {
  6612. this.props.onResizeStop(event, direction, this.resizable, delta);
  6613. }
  6614. if (this.props.size) {
  6615. this.setState(this.props.size);
  6616. }
  6617. this.setState({ isResizing: false, resizeCursor: 'auto' });
  6618. }
  6619. }, {
  6620. key: 'updateSize',
  6621. value: function updateSize(size) {
  6622. this.setState({ width: size.width, height: size.height });
  6623. }
  6624. }, {
  6625. key: 'renderResizer',
  6626. value: function renderResizer() {
  6627. var _this2 = this;
  6628. var _props3 = this.props,
  6629. enable = _props3.enable,
  6630. handleStyles = _props3.handleStyles,
  6631. handleClasses = _props3.handleClasses,
  6632. handleWrapperStyle = _props3.handleWrapperStyle,
  6633. handleWrapperClass = _props3.handleWrapperClass,
  6634. handleComponent = _props3.handleComponent;
  6635. if (!enable) return null;
  6636. var resizers = Object.keys(enable).map(function (dir) {
  6637. if (enable[dir] !== false) {
  6638. return React.createElement(
  6639. Resizer,
  6640. {
  6641. key: dir,
  6642. direction: dir,
  6643. onResizeStart: _this2.onResizeStart,
  6644. replaceStyles: handleStyles && handleStyles[dir],
  6645. className: handleClasses && handleClasses[dir]
  6646. },
  6647. handleComponent && handleComponent[dir] ? React.createElement(handleComponent[dir]) : null
  6648. );
  6649. }
  6650. return null;
  6651. });
  6652. // #93 Wrap the resize box in span (will not break 100% width/height)
  6653. return React.createElement(
  6654. 'span',
  6655. { className: handleWrapperClass, style: handleWrapperStyle },
  6656. resizers
  6657. );
  6658. }
  6659. }, {
  6660. key: 'render',
  6661. value: function render() {
  6662. var _this3 = this;
  6663. var userSelect = this.state.isResizing ? userSelectNone : userSelectAuto;
  6664. return React.createElement(
  6665. 'div',
  6666. _extends({
  6667. ref: function ref(c) {
  6668. if (c) {
  6669. _this3.resizable = c;
  6670. }
  6671. },
  6672. style: _extends({
  6673. position: 'relative'
  6674. }, userSelect, this.props.style, this.sizeStyle, {
  6675. maxWidth: this.props.maxWidth,
  6676. maxHeight: this.props.maxHeight,
  6677. minWidth: this.props.minWidth,
  6678. minHeight: this.props.minHeight,
  6679. boxSizing: 'border-box'
  6680. }),
  6681. className: this.props.className
  6682. }, this.extendsProps),
  6683. this.state.isResizing && React.createElement('div', {
  6684. style: {
  6685. height: '100%',
  6686. width: '100%',
  6687. backgroundColor: 'rgba(0,0,0,0)',
  6688. cursor: '' + (this.state.resizeCursor || 'auto'),
  6689. opacity: '0',
  6690. position: 'fixed',
  6691. zIndex: '9999',
  6692. top: '0',
  6693. left: '0',
  6694. bottom: '0',
  6695. right: '0'
  6696. }
  6697. }),
  6698. this.props.children,
  6699. this.renderResizer()
  6700. );
  6701. }
  6702. }, {
  6703. key: 'parentNode',
  6704. get: function get$$1() {
  6705. return this.resizable.parentNode;
  6706. }
  6707. }, {
  6708. key: 'propsSize',
  6709. get: function get$$1() {
  6710. return this.props.size || this.props.defaultSize;
  6711. }
  6712. }, {
  6713. key: 'base',
  6714. get: function get$$1() {
  6715. var parent = this.parentNode;
  6716. if (!parent) return undefined;
  6717. var children = [].slice.call(parent.children);
  6718. for (var i = 0; i < children.length; i += 1) {
  6719. var n = children[i];
  6720. if (n instanceof HTMLElement) {
  6721. if (n.classList.contains(baseClassName)) {
  6722. return n;
  6723. }
  6724. }
  6725. }
  6726. return undefined;
  6727. }
  6728. }, {
  6729. key: 'size',
  6730. get: function get$$1() {
  6731. var width = 0;
  6732. var height = 0;
  6733. if (typeof window !== 'undefined') {
  6734. var orgWidth = this.resizable.offsetWidth;
  6735. var orgHeight = this.resizable.offsetHeight;
  6736. // HACK: Set position `relative` to get parent size.
  6737. // This is because when re-resizable set `absolute`, I can not get base width correctly.
  6738. var orgPosition = this.resizable.style.position;
  6739. if (orgPosition !== 'relative') {
  6740. this.resizable.style.position = 'relative';
  6741. }
  6742. // INFO: Use original width or height if set auto.
  6743. width = this.resizable.style.width !== 'auto' ? this.resizable.offsetWidth : orgWidth;
  6744. height = this.resizable.style.height !== 'auto' ? this.resizable.offsetHeight : orgHeight;
  6745. // Restore original position
  6746. this.resizable.style.position = orgPosition;
  6747. }
  6748. return { width: width, height: height };
  6749. }
  6750. }, {
  6751. key: 'sizeStyle',
  6752. get: function get$$1() {
  6753. var _this4 = this;
  6754. var size = this.props.size;
  6755. var getSize = function getSize(key) {
  6756. if (typeof _this4.state[key] === 'undefined' || _this4.state[key] === 'auto') return 'auto';
  6757. if (_this4.propsSize && _this4.propsSize[key] && endsWith(_this4.propsSize[key].toString(), '%')) {
  6758. if (endsWith(_this4.state[key].toString(), '%')) return _this4.state[key].toString();
  6759. var parentSize = _this4.getParentSize();
  6760. var value = Number(_this4.state[key].toString().replace('px', ''));
  6761. var percent = value / parentSize[key] * 100;
  6762. return percent + '%';
  6763. }
  6764. return getStringSize(_this4.state[key]);
  6765. };
  6766. var width = size && typeof size.width !== 'undefined' && !this.state.isResizing ? getStringSize(size.width) : getSize('width');
  6767. var height = size && typeof size.height !== 'undefined' && !this.state.isResizing ? getStringSize(size.height) : getSize('height');
  6768. return { width: width, height: height };
  6769. }
  6770. }]);
  6771. return Resizable;
  6772. }(React.Component);
  6773. Resizable.defaultProps = {
  6774. onResizeStart: function onResizeStart() {},
  6775. onResize: function onResize() {},
  6776. onResizeStop: function onResizeStop() {},
  6777. enable: {
  6778. top: true,
  6779. right: true,
  6780. bottom: true,
  6781. left: true,
  6782. topRight: true,
  6783. bottomRight: true,
  6784. bottomLeft: true,
  6785. topLeft: true
  6786. },
  6787. style: {},
  6788. grid: [1, 1],
  6789. lockAspectRatio: false,
  6790. lockAspectRatioExtraWidth: 0,
  6791. lockAspectRatioExtraHeight: 0
  6792. };
  6793. module.exports = Resizable;
  6794. /***/ }),
  6795. /***/ "../../node_modules/react-contextmenu/es6/AbstractMenu.js":
  6796. /*!******************************************************************************!*\
  6797. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/AbstractMenu.js ***!
  6798. \******************************************************************************/
  6799. /*! exports provided: default */
  6800. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6801. "use strict";
  6802. __webpack_require__.r(__webpack_exports__);
  6803. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  6804. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  6805. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  6806. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  6807. /* harmony import */ var _MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MenuItem */ "../../node_modules/react-contextmenu/es6/MenuItem.js");
  6808. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  6809. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  6810. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  6811. var AbstractMenu = function (_Component) {
  6812. _inherits(AbstractMenu, _Component);
  6813. function AbstractMenu(props) {
  6814. _classCallCheck(this, AbstractMenu);
  6815. var _this = _possibleConstructorReturn(this, (AbstractMenu.__proto__ || Object.getPrototypeOf(AbstractMenu)).call(this, props));
  6816. _initialiseProps.call(_this);
  6817. _this.seletedItemRef = null;
  6818. _this.state = {
  6819. selectedItem: null,
  6820. forceSubMenuOpen: false
  6821. };
  6822. return _this;
  6823. }
  6824. return AbstractMenu;
  6825. }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  6826. AbstractMenu.propTypes = {
  6827. children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired
  6828. };
  6829. var _initialiseProps = function _initialiseProps() {
  6830. var _this2 = this;
  6831. this.handleKeyNavigation = function (e) {
  6832. // check for isVisible strictly here as it might be undefined when this code executes in the context of SubMenu
  6833. // but we only need to check when it runs in the ContextMenu context
  6834. if (_this2.state.isVisible === false) {
  6835. return;
  6836. }
  6837. switch (e.keyCode) {
  6838. case 37: // left arrow
  6839. case 27:
  6840. // escape
  6841. e.preventDefault();
  6842. _this2.hideMenu(e);
  6843. break;
  6844. case 38:
  6845. // up arrow
  6846. e.preventDefault();
  6847. _this2.selectChildren(true);
  6848. break;
  6849. case 40:
  6850. // down arrow
  6851. e.preventDefault();
  6852. _this2.selectChildren(false);
  6853. break;
  6854. case 39:
  6855. // right arrow
  6856. _this2.tryToOpenSubMenu(e);
  6857. break;
  6858. case 13:
  6859. // enter
  6860. e.preventDefault();
  6861. _this2.tryToOpenSubMenu(e);
  6862. {
  6863. // determine the selected item is disabled or not
  6864. var disabled = _this2.seletedItemRef && _this2.seletedItemRef.props && _this2.seletedItemRef.props.disabled;
  6865. if (_this2.seletedItemRef && _this2.seletedItemRef.ref instanceof HTMLElement && !disabled) {
  6866. _this2.seletedItemRef.ref.click();
  6867. } else {
  6868. _this2.hideMenu(e);
  6869. }
  6870. }
  6871. break;
  6872. default:
  6873. // do nothing
  6874. }
  6875. };
  6876. this.handleForceClose = function () {
  6877. _this2.setState({ forceSubMenuOpen: false });
  6878. };
  6879. this.tryToOpenSubMenu = function (e) {
  6880. if (_this2.state.selectedItem && _this2.state.selectedItem.type === _this2.getSubMenuType()) {
  6881. e.preventDefault();
  6882. _this2.setState({ forceSubMenuOpen: true });
  6883. }
  6884. };
  6885. this.selectChildren = function (forward) {
  6886. var selectedItem = _this2.state.selectedItem;
  6887. var children = [];
  6888. var childCollector = function childCollector(child) {
  6889. // child can be empty in case you do conditional rendering of components, in which
  6890. // case it should not be accounted for as a real child
  6891. if (!child) {
  6892. return;
  6893. }
  6894. if ([_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], _this2.getSubMenuType()].indexOf(child.type) < 0) {
  6895. // Maybe the MenuItem or SubMenu is capsuled in a wrapper div or something else
  6896. react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.forEach(child.props.children, childCollector);
  6897. } else if (!child.props.divider) {
  6898. children.push(child);
  6899. }
  6900. };
  6901. react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.forEach(_this2.props.children, childCollector);
  6902. var currentIndex = children.indexOf(selectedItem);
  6903. if (currentIndex < 0) {
  6904. _this2.setState({
  6905. selectedItem: forward ? children[children.length - 1] : children[0],
  6906. forceSubMenuOpen: false
  6907. });
  6908. } else if (forward) {
  6909. _this2.setState({
  6910. selectedItem: children[currentIndex - 1 < 0 ? children.length - 1 : currentIndex - 1],
  6911. forceSubMenuOpen: false
  6912. });
  6913. } else {
  6914. _this2.setState({
  6915. selectedItem: children[currentIndex + 1 < children.length ? currentIndex + 1 : 0],
  6916. forceSubMenuOpen: false
  6917. });
  6918. }
  6919. };
  6920. this.onChildMouseMove = function (child) {
  6921. if (_this2.state.selectedItem !== child) {
  6922. _this2.setState({ selectedItem: child, forceSubMenuOpen: false });
  6923. }
  6924. };
  6925. this.onChildMouseLeave = function () {
  6926. _this2.setState({ selectedItem: null, forceSubMenuOpen: false });
  6927. };
  6928. this.renderChildren = function (children) {
  6929. return react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.map(children, function (child) {
  6930. var props = {};
  6931. if (!react__WEBPACK_IMPORTED_MODULE_0___default.a.isValidElement(child)) return child;
  6932. if ([_MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"], _this2.getSubMenuType()].indexOf(child.type) < 0) {
  6933. // Maybe the MenuItem or SubMenu is capsuled in a wrapper div or something else
  6934. props.children = _this2.renderChildren(child.props.children);
  6935. return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(child, props);
  6936. }
  6937. props.onMouseLeave = _this2.onChildMouseLeave.bind(_this2);
  6938. if (child.type === _this2.getSubMenuType()) {
  6939. // special props for SubMenu only
  6940. props.forceOpen = _this2.state.forceSubMenuOpen && _this2.state.selectedItem === child;
  6941. props.forceClose = _this2.handleForceClose;
  6942. props.parentKeyNavigationHandler = _this2.handleKeyNavigation;
  6943. }
  6944. if (!child.props.divider && _this2.state.selectedItem === child) {
  6945. // special props for selected item only
  6946. props.selected = true;
  6947. props.ref = function (ref) {
  6948. _this2.seletedItemRef = ref;
  6949. };
  6950. return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(child, props);
  6951. }
  6952. // onMouseMove is only needed for non selected items
  6953. props.onMouseMove = function () {
  6954. return _this2.onChildMouseMove(child);
  6955. };
  6956. return react__WEBPACK_IMPORTED_MODULE_0___default.a.cloneElement(child, props);
  6957. });
  6958. };
  6959. };
  6960. /* harmony default export */ __webpack_exports__["default"] = (AbstractMenu);
  6961. /***/ }),
  6962. /***/ "../../node_modules/react-contextmenu/es6/ContextMenu.js":
  6963. /*!*****************************************************************************!*\
  6964. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/ContextMenu.js ***!
  6965. \*****************************************************************************/
  6966. /*! exports provided: default */
  6967. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  6968. "use strict";
  6969. __webpack_require__.r(__webpack_exports__);
  6970. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  6971. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  6972. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  6973. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  6974. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/classnames/index.js");
  6975. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
  6976. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  6977. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(object_assign__WEBPACK_IMPORTED_MODULE_3__);
  6978. /* harmony import */ var _globalEventListener__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./globalEventListener */ "../../node_modules/react-contextmenu/es6/globalEventListener.js");
  6979. /* harmony import */ var _AbstractMenu__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AbstractMenu */ "../../node_modules/react-contextmenu/es6/AbstractMenu.js");
  6980. /* harmony import */ var _SubMenu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SubMenu */ "../../node_modules/react-contextmenu/es6/SubMenu.js");
  6981. /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./actions */ "../../node_modules/react-contextmenu/es6/actions.js");
  6982. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  6983. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  6984. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  6985. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  6986. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  6987. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  6988. var ContextMenu = function (_AbstractMenu) {
  6989. _inherits(ContextMenu, _AbstractMenu);
  6990. function ContextMenu(props) {
  6991. _classCallCheck(this, ContextMenu);
  6992. var _this = _possibleConstructorReturn(this, (ContextMenu.__proto__ || Object.getPrototypeOf(ContextMenu)).call(this, props));
  6993. _this.registerHandlers = function () {
  6994. document.addEventListener('mousedown', _this.handleOutsideClick);
  6995. document.addEventListener('touchstart', _this.handleOutsideClick);
  6996. document.addEventListener('scroll', _this.handleHide);
  6997. document.addEventListener('contextmenu', _this.handleHide);
  6998. document.addEventListener('keydown', _this.handleKeyNavigation);
  6999. window.addEventListener('resize', _this.handleHide);
  7000. };
  7001. _this.unregisterHandlers = function () {
  7002. document.removeEventListener('mousedown', _this.handleOutsideClick);
  7003. document.removeEventListener('touchstart', _this.handleOutsideClick);
  7004. document.removeEventListener('scroll', _this.handleHide);
  7005. document.removeEventListener('contextmenu', _this.handleHide);
  7006. document.removeEventListener('keydown', _this.handleKeyNavigation);
  7007. window.removeEventListener('resize', _this.handleHide);
  7008. };
  7009. _this.handleShow = function (e) {
  7010. if (e.detail.id !== _this.props.id || _this.state.isVisible) return;
  7011. var _e$detail$position = e.detail.position,
  7012. x = _e$detail$position.x,
  7013. y = _e$detail$position.y;
  7014. _this.setState({ isVisible: true, x: x, y: y });
  7015. _this.registerHandlers();
  7016. Object(_helpers__WEBPACK_IMPORTED_MODULE_8__["callIfExists"])(_this.props.onShow, e);
  7017. };
  7018. _this.handleHide = function (e) {
  7019. if (_this.state.isVisible && (!e.detail || !e.detail.id || e.detail.id === _this.props.id)) {
  7020. _this.unregisterHandlers();
  7021. _this.setState({ isVisible: false, selectedItem: null, forceSubMenuOpen: false });
  7022. Object(_helpers__WEBPACK_IMPORTED_MODULE_8__["callIfExists"])(_this.props.onHide, e);
  7023. }
  7024. };
  7025. _this.handleOutsideClick = function (e) {
  7026. if (!_this.menu.contains(e.target)) Object(_actions__WEBPACK_IMPORTED_MODULE_7__["hideMenu"])();
  7027. };
  7028. _this.handleMouseLeave = function (event) {
  7029. event.preventDefault();
  7030. Object(_helpers__WEBPACK_IMPORTED_MODULE_8__["callIfExists"])(_this.props.onMouseLeave, event, object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, _this.props.data, _helpers__WEBPACK_IMPORTED_MODULE_8__["store"].data), _helpers__WEBPACK_IMPORTED_MODULE_8__["store"].target);
  7031. if (_this.props.hideOnLeave) Object(_actions__WEBPACK_IMPORTED_MODULE_7__["hideMenu"])();
  7032. };
  7033. _this.handleContextMenu = function (e) {
  7034. if (false) {}
  7035. _this.handleHide(e);
  7036. };
  7037. _this.hideMenu = function (e) {
  7038. if (e.keyCode === 27 || e.keyCode === 13) {
  7039. // ECS or enter
  7040. Object(_actions__WEBPACK_IMPORTED_MODULE_7__["hideMenu"])();
  7041. }
  7042. };
  7043. _this.getMenuPosition = function () {
  7044. var x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  7045. var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  7046. var menuStyles = {
  7047. top: y,
  7048. left: x
  7049. };
  7050. if (!_this.menu) return menuStyles;
  7051. var _window = window,
  7052. innerWidth = _window.innerWidth,
  7053. innerHeight = _window.innerHeight;
  7054. var rect = _this.menu.getBoundingClientRect();
  7055. if (y + rect.height > innerHeight) {
  7056. menuStyles.top -= rect.height;
  7057. }
  7058. if (x + rect.width > innerWidth) {
  7059. menuStyles.left -= rect.width;
  7060. }
  7061. if (menuStyles.top < 0) {
  7062. menuStyles.top = rect.height < innerHeight ? (innerHeight - rect.height) / 2 : 0;
  7063. }
  7064. if (menuStyles.left < 0) {
  7065. menuStyles.left = rect.width < innerWidth ? (innerWidth - rect.width) / 2 : 0;
  7066. }
  7067. return menuStyles;
  7068. };
  7069. _this.getRTLMenuPosition = function () {
  7070. var x = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  7071. var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  7072. var menuStyles = {
  7073. top: y,
  7074. left: x
  7075. };
  7076. if (!_this.menu) return menuStyles;
  7077. var _window2 = window,
  7078. innerWidth = _window2.innerWidth,
  7079. innerHeight = _window2.innerHeight;
  7080. var rect = _this.menu.getBoundingClientRect();
  7081. // Try to position the menu on the left side of the cursor
  7082. menuStyles.left = x - rect.width;
  7083. if (y + rect.height > innerHeight) {
  7084. menuStyles.top -= rect.height;
  7085. }
  7086. if (menuStyles.left < 0) {
  7087. menuStyles.left += rect.width;
  7088. }
  7089. if (menuStyles.top < 0) {
  7090. menuStyles.top = rect.height < innerHeight ? (innerHeight - rect.height) / 2 : 0;
  7091. }
  7092. if (menuStyles.left + rect.width > innerWidth) {
  7093. menuStyles.left = rect.width < innerWidth ? (innerWidth - rect.width) / 2 : 0;
  7094. }
  7095. return menuStyles;
  7096. };
  7097. _this.menuRef = function (c) {
  7098. _this.menu = c;
  7099. };
  7100. _this.state = object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, _this.state, {
  7101. x: 0,
  7102. y: 0,
  7103. isVisible: false
  7104. });
  7105. return _this;
  7106. }
  7107. _createClass(ContextMenu, [{
  7108. key: 'getSubMenuType',
  7109. value: function getSubMenuType() {
  7110. // eslint-disable-line class-methods-use-this
  7111. return _SubMenu__WEBPACK_IMPORTED_MODULE_6__["default"];
  7112. }
  7113. }, {
  7114. key: 'componentDidMount',
  7115. value: function componentDidMount() {
  7116. this.listenId = _globalEventListener__WEBPACK_IMPORTED_MODULE_4__["default"].register(this.handleShow, this.handleHide);
  7117. }
  7118. }, {
  7119. key: 'componentDidUpdate',
  7120. value: function componentDidUpdate() {
  7121. var _this2 = this;
  7122. if (this.state.isVisible) {
  7123. var wrapper = window.requestAnimationFrame || setTimeout;
  7124. wrapper(function () {
  7125. var _state = _this2.state,
  7126. x = _state.x,
  7127. y = _state.y;
  7128. var _ref = _this2.props.rtl ? _this2.getRTLMenuPosition(x, y) : _this2.getMenuPosition(x, y),
  7129. top = _ref.top,
  7130. left = _ref.left;
  7131. wrapper(function () {
  7132. if (!_this2.menu) return;
  7133. _this2.menu.style.top = top + 'px';
  7134. _this2.menu.style.left = left + 'px';
  7135. _this2.menu.style.opacity = 1;
  7136. _this2.menu.style.pointerEvents = 'auto';
  7137. });
  7138. });
  7139. } else {
  7140. if (!this.menu) return;
  7141. this.menu.style.opacity = 0;
  7142. this.menu.style.pointerEvents = 'none';
  7143. }
  7144. }
  7145. }, {
  7146. key: 'componentWillUnmount',
  7147. value: function componentWillUnmount() {
  7148. if (this.listenId) {
  7149. _globalEventListener__WEBPACK_IMPORTED_MODULE_4__["default"].unregister(this.listenId);
  7150. }
  7151. this.unregisterHandlers();
  7152. }
  7153. }, {
  7154. key: 'render',
  7155. value: function render() {
  7156. var _props = this.props,
  7157. children = _props.children,
  7158. className = _props.className,
  7159. style = _props.style;
  7160. var isVisible = this.state.isVisible;
  7161. var inlineStyle = object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, style, { position: 'fixed', opacity: 0, pointerEvents: 'none' });
  7162. var menuClassnames = classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_8__["cssClasses"].menu, className, _defineProperty({}, _helpers__WEBPACK_IMPORTED_MODULE_8__["cssClasses"].menuVisible, isVisible));
  7163. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
  7164. 'nav',
  7165. {
  7166. role: 'menu', tabIndex: '-1', ref: this.menuRef, style: inlineStyle, className: menuClassnames,
  7167. onContextMenu: this.handleContextMenu, onMouseLeave: this.handleMouseLeave },
  7168. this.renderChildren(children)
  7169. );
  7170. }
  7171. }]);
  7172. return ContextMenu;
  7173. }(_AbstractMenu__WEBPACK_IMPORTED_MODULE_5__["default"]);
  7174. ContextMenu.propTypes = {
  7175. id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,
  7176. children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,
  7177. data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
  7178. className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
  7179. hideOnLeave: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7180. rtl: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7181. onHide: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7182. onMouseLeave: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7183. onShow: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7184. style: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object
  7185. };
  7186. ContextMenu.defaultProps = {
  7187. className: '',
  7188. data: {},
  7189. hideOnLeave: false,
  7190. rtl: false,
  7191. onHide: function onHide() {
  7192. return null;
  7193. },
  7194. onMouseLeave: function onMouseLeave() {
  7195. return null;
  7196. },
  7197. onShow: function onShow() {
  7198. return null;
  7199. },
  7200. style: {}
  7201. };
  7202. /* harmony default export */ __webpack_exports__["default"] = (ContextMenu);
  7203. /***/ }),
  7204. /***/ "../../node_modules/react-contextmenu/es6/ContextMenuTrigger.js":
  7205. /*!************************************************************************************!*\
  7206. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/ContextMenuTrigger.js ***!
  7207. \************************************************************************************/
  7208. /*! exports provided: default */
  7209. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7210. "use strict";
  7211. __webpack_require__.r(__webpack_exports__);
  7212. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  7213. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  7214. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  7215. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  7216. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/classnames/index.js");
  7217. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
  7218. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  7219. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(object_assign__WEBPACK_IMPORTED_MODULE_3__);
  7220. /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./actions */ "../../node_modules/react-contextmenu/es6/actions.js");
  7221. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  7222. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  7223. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  7224. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  7225. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  7226. var ContextMenuTrigger = function (_Component) {
  7227. _inherits(ContextMenuTrigger, _Component);
  7228. function ContextMenuTrigger() {
  7229. var _ref;
  7230. var _temp, _this, _ret;
  7231. _classCallCheck(this, ContextMenuTrigger);
  7232. for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  7233. args[_key] = arguments[_key];
  7234. }
  7235. return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ContextMenuTrigger.__proto__ || Object.getPrototypeOf(ContextMenuTrigger)).call.apply(_ref, [this].concat(args))), _this), _this.touchHandled = false, _this.handleMouseDown = function (event) {
  7236. if (_this.props.holdToDisplay >= 0 && event.button === 0) {
  7237. event.persist();
  7238. event.stopPropagation();
  7239. _this.mouseDownTimeoutId = setTimeout(function () {
  7240. return _this.handleContextClick(event);
  7241. }, _this.props.holdToDisplay);
  7242. }
  7243. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onMouseDown, event);
  7244. }, _this.handleMouseUp = function (event) {
  7245. if (event.button === 0) {
  7246. clearTimeout(_this.mouseDownTimeoutId);
  7247. }
  7248. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onMouseUp, event);
  7249. }, _this.handleMouseOut = function (event) {
  7250. if (event.button === 0) {
  7251. clearTimeout(_this.mouseDownTimeoutId);
  7252. }
  7253. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onMouseOut, event);
  7254. }, _this.handleTouchstart = function (event) {
  7255. _this.touchHandled = false;
  7256. if (_this.props.holdToDisplay >= 0) {
  7257. event.persist();
  7258. event.stopPropagation();
  7259. _this.touchstartTimeoutId = setTimeout(function () {
  7260. _this.handleContextClick(event);
  7261. _this.touchHandled = true;
  7262. }, _this.props.holdToDisplay);
  7263. }
  7264. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onTouchStart, event);
  7265. }, _this.handleTouchEnd = function (event) {
  7266. if (_this.touchHandled) {
  7267. event.preventDefault();
  7268. }
  7269. clearTimeout(_this.touchstartTimeoutId);
  7270. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onTouchEnd, event);
  7271. }, _this.handleContextMenu = function (event) {
  7272. _this.handleContextClick(event);
  7273. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.attributes.onContextMenu, event);
  7274. }, _this.handleContextClick = function (event) {
  7275. if (_this.props.disable) return;
  7276. event.preventDefault();
  7277. event.stopPropagation();
  7278. var x = event.clientX || event.touches && event.touches[0].pageX;
  7279. var y = event.clientY || event.touches && event.touches[0].pageY;
  7280. if (_this.props.posX) {
  7281. x -= _this.props.posX;
  7282. }
  7283. if (_this.props.posY) {
  7284. y -= _this.props.posY;
  7285. }
  7286. Object(_actions__WEBPACK_IMPORTED_MODULE_4__["hideMenu"])();
  7287. var data = Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.collect, _this.props);
  7288. var showMenuConfig = {
  7289. position: { x: x, y: y },
  7290. target: _this.elem,
  7291. id: _this.props.id,
  7292. data: data
  7293. };
  7294. if (data && typeof data.then === 'function') {
  7295. // it's promise
  7296. data.then(function (resp) {
  7297. showMenuConfig.data = resp;
  7298. Object(_actions__WEBPACK_IMPORTED_MODULE_4__["showMenu"])(showMenuConfig);
  7299. });
  7300. } else {
  7301. Object(_actions__WEBPACK_IMPORTED_MODULE_4__["showMenu"])(showMenuConfig);
  7302. }
  7303. }, _this.elemRef = function (c) {
  7304. _this.elem = c;
  7305. }, _temp), _possibleConstructorReturn(_this, _ret);
  7306. }
  7307. _createClass(ContextMenuTrigger, [{
  7308. key: 'render',
  7309. value: function render() {
  7310. var _props = this.props,
  7311. renderTag = _props.renderTag,
  7312. attributes = _props.attributes,
  7313. children = _props.children;
  7314. var newAttrs = object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, attributes, {
  7315. className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuWrapper, attributes.className),
  7316. onContextMenu: this.handleContextMenu,
  7317. onMouseDown: this.handleMouseDown,
  7318. onMouseUp: this.handleMouseUp,
  7319. onTouchStart: this.handleTouchstart,
  7320. onTouchEnd: this.handleTouchEnd,
  7321. onMouseOut: this.handleMouseOut,
  7322. ref: this.elemRef
  7323. });
  7324. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(renderTag, newAttrs, children);
  7325. }
  7326. }]);
  7327. return ContextMenuTrigger;
  7328. }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  7329. ContextMenuTrigger.propTypes = {
  7330. id: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,
  7331. children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,
  7332. attributes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
  7333. collect: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7334. disable: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7335. holdToDisplay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
  7336. posX: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
  7337. posY: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
  7338. renderTag: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func])
  7339. };
  7340. ContextMenuTrigger.defaultProps = {
  7341. attributes: {},
  7342. collect: function collect() {
  7343. return null;
  7344. },
  7345. disable: false,
  7346. holdToDisplay: 1000,
  7347. renderTag: 'div',
  7348. posX: 0,
  7349. posY: 0
  7350. };
  7351. /* harmony default export */ __webpack_exports__["default"] = (ContextMenuTrigger);
  7352. /***/ }),
  7353. /***/ "../../node_modules/react-contextmenu/es6/MenuItem.js":
  7354. /*!**************************************************************************!*\
  7355. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/MenuItem.js ***!
  7356. \**************************************************************************/
  7357. /*! exports provided: default */
  7358. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7359. "use strict";
  7360. __webpack_require__.r(__webpack_exports__);
  7361. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  7362. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  7363. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  7364. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  7365. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/classnames/index.js");
  7366. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
  7367. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  7368. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(object_assign__WEBPACK_IMPORTED_MODULE_3__);
  7369. /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./actions */ "../../node_modules/react-contextmenu/es6/actions.js");
  7370. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  7371. var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  7372. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  7373. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  7374. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  7375. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  7376. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  7377. var MenuItem = function (_Component) {
  7378. _inherits(MenuItem, _Component);
  7379. function MenuItem() {
  7380. var _ref;
  7381. var _temp, _this, _ret;
  7382. _classCallCheck(this, MenuItem);
  7383. for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
  7384. args[_key] = arguments[_key];
  7385. }
  7386. return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MenuItem.__proto__ || Object.getPrototypeOf(MenuItem)).call.apply(_ref, [this].concat(args))), _this), _this.handleClick = function (event) {
  7387. event.preventDefault();
  7388. if (_this.props.disabled || _this.props.divider) return;
  7389. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.onClick, event, object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, _this.props.data, _helpers__WEBPACK_IMPORTED_MODULE_5__["store"].data), _helpers__WEBPACK_IMPORTED_MODULE_5__["store"].target);
  7390. if (_this.props.preventClose) return;
  7391. Object(_actions__WEBPACK_IMPORTED_MODULE_4__["hideMenu"])();
  7392. }, _temp), _possibleConstructorReturn(_this, _ret);
  7393. }
  7394. _createClass(MenuItem, [{
  7395. key: 'render',
  7396. value: function render() {
  7397. var _cx,
  7398. _this2 = this;
  7399. var _props = this.props,
  7400. disabled = _props.disabled,
  7401. divider = _props.divider,
  7402. children = _props.children,
  7403. attributes = _props.attributes,
  7404. selected = _props.selected;
  7405. var menuItemClassNames = classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItem, attributes.className, (_cx = {}, _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemDisabled, attributes.disabledClassName), disabled), _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemDivider, attributes.dividerClassName), divider), _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemSelected, attributes.selectedClassName), selected), _cx));
  7406. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
  7407. 'div',
  7408. _extends({}, attributes, { className: menuItemClassNames,
  7409. role: 'menuitem', tabIndex: '-1', 'aria-disabled': disabled ? 'true' : 'false',
  7410. 'aria-orientation': divider ? 'horizontal' : null,
  7411. ref: function ref(_ref2) {
  7412. _this2.ref = _ref2;
  7413. },
  7414. onMouseMove: this.props.onMouseMove, onMouseLeave: this.props.onMouseLeave,
  7415. onTouchEnd: this.handleClick, onClick: this.handleClick }),
  7416. divider ? null : children
  7417. );
  7418. }
  7419. }]);
  7420. return MenuItem;
  7421. }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  7422. MenuItem.propTypes = {
  7423. children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
  7424. attributes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
  7425. data: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
  7426. disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7427. divider: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7428. preventClose: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7429. onClick: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7430. selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7431. onMouseMove: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7432. onMouseLeave: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
  7433. };
  7434. MenuItem.defaultProps = {
  7435. disabled: false,
  7436. data: {},
  7437. divider: false,
  7438. attributes: {},
  7439. preventClose: false,
  7440. onClick: function onClick() {
  7441. return null;
  7442. },
  7443. children: null,
  7444. selected: false,
  7445. onMouseMove: function onMouseMove() {
  7446. return null;
  7447. },
  7448. onMouseLeave: function onMouseLeave() {
  7449. return null;
  7450. }
  7451. };
  7452. /* harmony default export */ __webpack_exports__["default"] = (MenuItem);
  7453. /***/ }),
  7454. /***/ "../../node_modules/react-contextmenu/es6/SubMenu.js":
  7455. /*!*************************************************************************!*\
  7456. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/SubMenu.js ***!
  7457. \*************************************************************************/
  7458. /*! exports provided: default */
  7459. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7460. "use strict";
  7461. __webpack_require__.r(__webpack_exports__);
  7462. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  7463. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  7464. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "../../node_modules/prop-types/index.js");
  7465. /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
  7466. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "../../node_modules/classnames/index.js");
  7467. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
  7468. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  7469. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(object_assign__WEBPACK_IMPORTED_MODULE_3__);
  7470. /* harmony import */ var _AbstractMenu__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AbstractMenu */ "../../node_modules/react-contextmenu/es6/AbstractMenu.js");
  7471. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  7472. /* harmony import */ var _globalEventListener__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./globalEventListener */ "../../node_modules/react-contextmenu/es6/globalEventListener.js");
  7473. var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  7474. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  7475. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  7476. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  7477. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  7478. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  7479. var SubMenu = function (_AbstractMenu) {
  7480. _inherits(SubMenu, _AbstractMenu);
  7481. function SubMenu(props) {
  7482. _classCallCheck(this, SubMenu);
  7483. var _this = _possibleConstructorReturn(this, (SubMenu.__proto__ || Object.getPrototypeOf(SubMenu)).call(this, props));
  7484. _this.getMenuPosition = function () {
  7485. var _window = window,
  7486. innerWidth = _window.innerWidth,
  7487. innerHeight = _window.innerHeight;
  7488. var rect = _this.subMenu.getBoundingClientRect();
  7489. var position = {};
  7490. if (rect.bottom > innerHeight) {
  7491. position.bottom = 0;
  7492. } else {
  7493. position.top = 0;
  7494. }
  7495. if (rect.right < innerWidth) {
  7496. position.left = '100%';
  7497. } else {
  7498. position.right = '100%';
  7499. }
  7500. return position;
  7501. };
  7502. _this.getRTLMenuPosition = function () {
  7503. var _window2 = window,
  7504. innerHeight = _window2.innerHeight;
  7505. var rect = _this.subMenu.getBoundingClientRect();
  7506. var position = {};
  7507. if (rect.bottom > innerHeight) {
  7508. position.bottom = 0;
  7509. } else {
  7510. position.top = 0;
  7511. }
  7512. if (rect.left < 0) {
  7513. position.left = '100%';
  7514. } else {
  7515. position.right = '100%';
  7516. }
  7517. return position;
  7518. };
  7519. _this.hideMenu = function (e) {
  7520. // avoid closing submenus of a different menu tree
  7521. if (e.detail && e.detail.id && _this.menu && e.detail.id !== _this.menu.id) {
  7522. return;
  7523. }
  7524. if (_this.props.forceOpen) {
  7525. _this.props.forceClose();
  7526. }
  7527. _this.setState({ visible: false, selectedItem: null });
  7528. _this.unregisterHandlers();
  7529. };
  7530. _this.handleClick = function (event) {
  7531. event.preventDefault();
  7532. if (_this.props.disabled) return;
  7533. Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["callIfExists"])(_this.props.onClick, event, object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, _this.props.data, _helpers__WEBPACK_IMPORTED_MODULE_5__["store"].data), _helpers__WEBPACK_IMPORTED_MODULE_5__["store"].target);
  7534. };
  7535. _this.handleMouseEnter = function () {
  7536. if (_this.closetimer) clearTimeout(_this.closetimer);
  7537. if (_this.props.disabled || _this.state.visible) return;
  7538. _this.opentimer = setTimeout(function () {
  7539. return _this.setState({
  7540. visible: true,
  7541. selectedItem: null
  7542. });
  7543. }, _this.props.hoverDelay);
  7544. };
  7545. _this.handleMouseLeave = function () {
  7546. if (_this.opentimer) clearTimeout(_this.opentimer);
  7547. if (!_this.state.visible) return;
  7548. _this.closetimer = setTimeout(function () {
  7549. return _this.setState({
  7550. visible: false,
  7551. selectedItem: null
  7552. });
  7553. }, _this.props.hoverDelay);
  7554. };
  7555. _this.menuRef = function (c) {
  7556. _this.menu = c;
  7557. };
  7558. _this.subMenuRef = function (c) {
  7559. _this.subMenu = c;
  7560. };
  7561. _this.registerHandlers = function () {
  7562. document.removeEventListener('keydown', _this.props.parentKeyNavigationHandler);
  7563. document.addEventListener('keydown', _this.handleKeyNavigation);
  7564. };
  7565. _this.unregisterHandlers = function (dismounting) {
  7566. document.removeEventListener('keydown', _this.handleKeyNavigation);
  7567. if (!dismounting) {
  7568. document.addEventListener('keydown', _this.props.parentKeyNavigationHandler);
  7569. }
  7570. };
  7571. _this.state = object_assign__WEBPACK_IMPORTED_MODULE_3___default()({}, _this.state, {
  7572. visible: false
  7573. });
  7574. return _this;
  7575. }
  7576. _createClass(SubMenu, [{
  7577. key: 'componentDidMount',
  7578. value: function componentDidMount() {
  7579. this.listenId = _globalEventListener__WEBPACK_IMPORTED_MODULE_6__["default"].register(function () {}, this.hideMenu);
  7580. }
  7581. }, {
  7582. key: 'getSubMenuType',
  7583. value: function getSubMenuType() {
  7584. // eslint-disable-line class-methods-use-this
  7585. return SubMenu;
  7586. }
  7587. }, {
  7588. key: 'shouldComponentUpdate',
  7589. value: function shouldComponentUpdate(nextProps, nextState) {
  7590. this.isVisibilityChange = (this.state.visible !== nextState.visible || this.props.forceOpen !== nextProps.forceOpen) && !(this.state.visible && nextProps.forceOpen) && !(this.props.forceOpen && nextState.visible);
  7591. return true;
  7592. }
  7593. }, {
  7594. key: 'componentDidUpdate',
  7595. value: function componentDidUpdate() {
  7596. var _this2 = this;
  7597. if (!this.isVisibilityChange) return;
  7598. if (this.props.forceOpen || this.state.visible) {
  7599. var wrapper = window.requestAnimationFrame || setTimeout;
  7600. wrapper(function () {
  7601. var styles = _this2.props.rtl ? _this2.getRTLMenuPosition() : _this2.getMenuPosition();
  7602. _this2.subMenu.style.removeProperty('top');
  7603. _this2.subMenu.style.removeProperty('bottom');
  7604. _this2.subMenu.style.removeProperty('left');
  7605. _this2.subMenu.style.removeProperty('right');
  7606. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["hasOwnProp"])(styles, 'top')) _this2.subMenu.style.top = styles.top;
  7607. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["hasOwnProp"])(styles, 'left')) _this2.subMenu.style.left = styles.left;
  7608. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["hasOwnProp"])(styles, 'bottom')) _this2.subMenu.style.bottom = styles.bottom;
  7609. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_5__["hasOwnProp"])(styles, 'right')) _this2.subMenu.style.right = styles.right;
  7610. _this2.subMenu.classList.add(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuVisible);
  7611. _this2.registerHandlers();
  7612. _this2.setState({ selectedItem: null });
  7613. });
  7614. } else {
  7615. var cleanup = function cleanup() {
  7616. _this2.subMenu.removeEventListener('transitionend', cleanup);
  7617. _this2.subMenu.style.removeProperty('bottom');
  7618. _this2.subMenu.style.removeProperty('right');
  7619. _this2.subMenu.style.top = 0;
  7620. _this2.subMenu.style.left = '100%';
  7621. _this2.unregisterHandlers();
  7622. };
  7623. this.subMenu.addEventListener('transitionend', cleanup);
  7624. this.subMenu.classList.remove(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuVisible);
  7625. }
  7626. }
  7627. }, {
  7628. key: 'componentWillUnmount',
  7629. value: function componentWillUnmount() {
  7630. if (this.listenId) {
  7631. _globalEventListener__WEBPACK_IMPORTED_MODULE_6__["default"].unregister(this.listenId);
  7632. }
  7633. if (this.opentimer) clearTimeout(this.opentimer);
  7634. if (this.closetimer) clearTimeout(this.closetimer);
  7635. this.unregisterHandlers(true);
  7636. }
  7637. }, {
  7638. key: 'render',
  7639. value: function render() {
  7640. var _cx;
  7641. var _props = this.props,
  7642. children = _props.children,
  7643. attributes = _props.attributes,
  7644. disabled = _props.disabled,
  7645. title = _props.title,
  7646. selected = _props.selected;
  7647. var visible = this.state.visible;
  7648. var menuProps = {
  7649. ref: this.menuRef,
  7650. onMouseEnter: this.handleMouseEnter,
  7651. onMouseLeave: this.handleMouseLeave,
  7652. className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItem, _helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].subMenu, attributes.listClassName),
  7653. style: {
  7654. position: 'relative'
  7655. }
  7656. };
  7657. var menuItemProps = {
  7658. className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItem, attributes.className, (_cx = {}, _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemDisabled, attributes.disabledClassName), disabled), _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemActive, attributes.visibleClassName), visible), _defineProperty(_cx, classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menuItemSelected, attributes.selectedClassName), selected), _cx)),
  7659. onMouseMove: this.props.onMouseMove,
  7660. onMouseOut: this.props.onMouseOut,
  7661. onClick: this.handleClick
  7662. };
  7663. var subMenuProps = {
  7664. ref: this.subMenuRef,
  7665. style: {
  7666. position: 'absolute',
  7667. transition: 'opacity 1ms', // trigger transitionend event
  7668. top: 0,
  7669. left: '100%'
  7670. },
  7671. className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(_helpers__WEBPACK_IMPORTED_MODULE_5__["cssClasses"].menu, this.props.className)
  7672. };
  7673. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
  7674. 'nav',
  7675. _extends({}, menuProps, { role: 'menuitem', tabIndex: '-1', 'aria-haspopup': 'true' }),
  7676. react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
  7677. 'div',
  7678. _extends({}, attributes, menuItemProps),
  7679. title
  7680. ),
  7681. react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(
  7682. 'nav',
  7683. _extends({}, subMenuProps, { role: 'menu', tabIndex: '-1' }),
  7684. this.renderChildren(children)
  7685. )
  7686. );
  7687. }
  7688. }]);
  7689. return SubMenu;
  7690. }(_AbstractMenu__WEBPACK_IMPORTED_MODULE_4__["default"]);
  7691. SubMenu.propTypes = {
  7692. children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,
  7693. attributes: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
  7694. title: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node.isRequired,
  7695. className: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
  7696. disabled: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7697. hoverDelay: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number,
  7698. rtl: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7699. selected: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7700. onMouseMove: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7701. onMouseOut: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7702. forceOpen: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
  7703. forceClose: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func,
  7704. parentKeyNavigationHandler: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.func
  7705. };
  7706. SubMenu.defaultProps = {
  7707. disabled: false,
  7708. hoverDelay: 500,
  7709. attributes: {},
  7710. className: '',
  7711. rtl: false,
  7712. selected: false,
  7713. onMouseMove: function onMouseMove() {
  7714. return null;
  7715. },
  7716. onMouseOut: function onMouseOut() {
  7717. return null;
  7718. },
  7719. forceOpen: false,
  7720. forceClose: function forceClose() {
  7721. return null;
  7722. },
  7723. parentKeyNavigationHandler: function parentKeyNavigationHandler() {
  7724. return null;
  7725. }
  7726. };
  7727. /* harmony default export */ __webpack_exports__["default"] = (SubMenu);
  7728. /***/ }),
  7729. /***/ "../../node_modules/react-contextmenu/es6/actions.js":
  7730. /*!*************************************************************************!*\
  7731. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/actions.js ***!
  7732. \*************************************************************************/
  7733. /*! exports provided: MENU_SHOW, MENU_HIDE, dispatchGlobalEvent, showMenu, hideMenu */
  7734. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7735. "use strict";
  7736. __webpack_require__.r(__webpack_exports__);
  7737. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MENU_SHOW", function() { return MENU_SHOW; });
  7738. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MENU_HIDE", function() { return MENU_HIDE; });
  7739. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatchGlobalEvent", function() { return dispatchGlobalEvent; });
  7740. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showMenu", function() { return showMenu; });
  7741. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hideMenu", function() { return hideMenu; });
  7742. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  7743. /* harmony import */ var object_assign__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(object_assign__WEBPACK_IMPORTED_MODULE_0__);
  7744. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  7745. var MENU_SHOW = 'REACT_CONTEXTMENU_SHOW';
  7746. var MENU_HIDE = 'REACT_CONTEXTMENU_HIDE';
  7747. function dispatchGlobalEvent(eventName, opts) {
  7748. var target = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : window;
  7749. // Compatibale with IE
  7750. // @see http://stackoverflow.com/questions/26596123/internet-explorer-9-10-11-event-constructor-doesnt-work
  7751. var event = void 0;
  7752. if (typeof window.CustomEvent === 'function') {
  7753. event = new window.CustomEvent(eventName, { detail: opts });
  7754. } else {
  7755. event = document.createEvent('CustomEvent');
  7756. event.initCustomEvent(eventName, false, true, opts);
  7757. }
  7758. if (target) {
  7759. target.dispatchEvent(event);
  7760. object_assign__WEBPACK_IMPORTED_MODULE_0___default()(_helpers__WEBPACK_IMPORTED_MODULE_1__["store"], opts);
  7761. }
  7762. }
  7763. function showMenu() {
  7764. var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  7765. var target = arguments[1];
  7766. dispatchGlobalEvent(MENU_SHOW, object_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, opts, { type: MENU_SHOW }), target);
  7767. }
  7768. function hideMenu() {
  7769. var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  7770. var target = arguments[1];
  7771. dispatchGlobalEvent(MENU_HIDE, object_assign__WEBPACK_IMPORTED_MODULE_0___default()({}, opts, { type: MENU_HIDE }), target);
  7772. }
  7773. /***/ }),
  7774. /***/ "../../node_modules/react-contextmenu/es6/connectMenu.js":
  7775. /*!*****************************************************************************!*\
  7776. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/connectMenu.js ***!
  7777. \*****************************************************************************/
  7778. /*! exports provided: default */
  7779. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7780. "use strict";
  7781. __webpack_require__.r(__webpack_exports__);
  7782. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  7783. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  7784. /* harmony import */ var _ContextMenuTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContextMenuTrigger */ "../../node_modules/react-contextmenu/es6/ContextMenuTrigger.js");
  7785. /* harmony import */ var _globalEventListener__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./globalEventListener */ "../../node_modules/react-contextmenu/es6/globalEventListener.js");
  7786. var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  7787. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  7788. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  7789. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  7790. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  7791. function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
  7792. // collect ContextMenuTrigger's expected props to NOT pass them on as part of the context
  7793. var ignoredTriggerProps = [].concat(_toConsumableArray(Object.keys(_ContextMenuTrigger__WEBPACK_IMPORTED_MODULE_1__["default"].propTypes)), ['children']);
  7794. // expect the id of the menu to be responsible for as outer parameter
  7795. /* harmony default export */ __webpack_exports__["default"] = (function (menuId) {
  7796. // expect menu component to connect as inner parameter
  7797. // <Child/> is presumably a wrapper of <ContextMenu/>
  7798. return function (Child) {
  7799. // return wrapper for <Child/> that forwards the ContextMenuTrigger's additional props
  7800. return function (_Component) {
  7801. _inherits(ConnectMenu, _Component);
  7802. function ConnectMenu(props) {
  7803. _classCallCheck(this, ConnectMenu);
  7804. var _this = _possibleConstructorReturn(this, (ConnectMenu.__proto__ || Object.getPrototypeOf(ConnectMenu)).call(this, props));
  7805. _this.handleShow = function (e) {
  7806. if (e.detail.id !== menuId) return;
  7807. // the onShow event's detail.data object holds all ContextMenuTrigger props
  7808. var data = e.detail.data;
  7809. var filteredData = {};
  7810. for (var key in data) {
  7811. // exclude props the ContextMenuTrigger is expecting itself
  7812. if (!ignoredTriggerProps.includes(key)) {
  7813. filteredData[key] = data[key];
  7814. }
  7815. }
  7816. _this.setState({ trigger: filteredData });
  7817. };
  7818. _this.handleHide = function () {
  7819. _this.setState({ trigger: null });
  7820. };
  7821. _this.state = { trigger: null };
  7822. return _this;
  7823. }
  7824. _createClass(ConnectMenu, [{
  7825. key: 'componentDidMount',
  7826. value: function componentDidMount() {
  7827. this.listenId = _globalEventListener__WEBPACK_IMPORTED_MODULE_2__["default"].register(this.handleShow, this.handleHide);
  7828. }
  7829. }, {
  7830. key: 'componentWillUnmount',
  7831. value: function componentWillUnmount() {
  7832. if (this.listenId) {
  7833. _globalEventListener__WEBPACK_IMPORTED_MODULE_2__["default"].unregister(this.listenId);
  7834. }
  7835. }
  7836. }, {
  7837. key: 'render',
  7838. value: function render() {
  7839. return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Child, _extends({}, this.props, { id: menuId, trigger: this.state.trigger }));
  7840. }
  7841. }]);
  7842. return ConnectMenu;
  7843. }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  7844. };
  7845. });
  7846. /***/ }),
  7847. /***/ "../../node_modules/react-contextmenu/es6/globalEventListener.js":
  7848. /*!*************************************************************************************!*\
  7849. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/globalEventListener.js ***!
  7850. \*************************************************************************************/
  7851. /*! exports provided: default */
  7852. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7853. "use strict";
  7854. __webpack_require__.r(__webpack_exports__);
  7855. /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./actions */ "../../node_modules/react-contextmenu/es6/actions.js");
  7856. /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../node_modules/react-contextmenu/es6/helpers.js");
  7857. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  7858. var GlobalEventListener = function GlobalEventListener() {
  7859. var _this = this;
  7860. _classCallCheck(this, GlobalEventListener);
  7861. this.handleShowEvent = function (event) {
  7862. for (var id in _this.callbacks) {
  7863. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_1__["hasOwnProp"])(_this.callbacks, id)) _this.callbacks[id].show(event);
  7864. }
  7865. };
  7866. this.handleHideEvent = function (event) {
  7867. for (var id in _this.callbacks) {
  7868. if (Object(_helpers__WEBPACK_IMPORTED_MODULE_1__["hasOwnProp"])(_this.callbacks, id)) _this.callbacks[id].hide(event);
  7869. }
  7870. };
  7871. this.register = function (showCallback, hideCallback) {
  7872. var id = Object(_helpers__WEBPACK_IMPORTED_MODULE_1__["uniqueId"])();
  7873. _this.callbacks[id] = {
  7874. show: showCallback,
  7875. hide: hideCallback
  7876. };
  7877. return id;
  7878. };
  7879. this.unregister = function (id) {
  7880. if (id && _this.callbacks[id]) {
  7881. delete _this.callbacks[id];
  7882. }
  7883. };
  7884. this.callbacks = {};
  7885. if (_helpers__WEBPACK_IMPORTED_MODULE_1__["canUseDOM"]) {
  7886. window.addEventListener(_actions__WEBPACK_IMPORTED_MODULE_0__["MENU_SHOW"], this.handleShowEvent);
  7887. window.addEventListener(_actions__WEBPACK_IMPORTED_MODULE_0__["MENU_HIDE"], this.handleHideEvent);
  7888. }
  7889. };
  7890. /* harmony default export */ __webpack_exports__["default"] = (new GlobalEventListener());
  7891. /***/ }),
  7892. /***/ "../../node_modules/react-contextmenu/es6/helpers.js":
  7893. /*!*************************************************************************!*\
  7894. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/helpers.js ***!
  7895. \*************************************************************************/
  7896. /*! exports provided: callIfExists, hasOwnProp, uniqueId, cssClasses, store, canUseDOM */
  7897. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7898. "use strict";
  7899. __webpack_require__.r(__webpack_exports__);
  7900. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "callIfExists", function() { return callIfExists; });
  7901. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasOwnProp", function() { return hasOwnProp; });
  7902. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "uniqueId", function() { return uniqueId; });
  7903. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cssClasses", function() { return cssClasses; });
  7904. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "store", function() { return store; });
  7905. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "canUseDOM", function() { return canUseDOM; });
  7906. function callIfExists(func) {
  7907. for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  7908. args[_key - 1] = arguments[_key];
  7909. }
  7910. return typeof func === 'function' && func.apply(undefined, args);
  7911. }
  7912. function hasOwnProp(obj, prop) {
  7913. return Object.prototype.hasOwnProperty.call(obj, prop);
  7914. }
  7915. function uniqueId() {
  7916. return Math.random().toString(36).substring(7);
  7917. }
  7918. var cssClasses = {
  7919. menu: 'react-contextmenu',
  7920. menuVisible: 'react-contextmenu--visible',
  7921. menuWrapper: 'react-contextmenu-wrapper',
  7922. menuItem: 'react-contextmenu-item',
  7923. menuItemActive: 'react-contextmenu-item--active',
  7924. menuItemDisabled: 'react-contextmenu-item--disabled',
  7925. menuItemDivider: 'react-contextmenu-item--divider',
  7926. menuItemSelected: 'react-contextmenu-item--selected',
  7927. subMenu: 'react-contextmenu-submenu'
  7928. };
  7929. var store = {};
  7930. var canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
  7931. /***/ }),
  7932. /***/ "../../node_modules/react-contextmenu/es6/index.js":
  7933. /*!***********************************************************************!*\
  7934. !*** D:/Repos/Babylon.js/node_modules/react-contextmenu/es6/index.js ***!
  7935. \***********************************************************************/
  7936. /*! exports provided: ContextMenu, ContextMenuTrigger, MenuItem, SubMenu, connectMenu, hideMenu, showMenu */
  7937. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  7938. "use strict";
  7939. __webpack_require__.r(__webpack_exports__);
  7940. /* harmony import */ var _ContextMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContextMenu */ "../../node_modules/react-contextmenu/es6/ContextMenu.js");
  7941. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ContextMenu", function() { return _ContextMenu__WEBPACK_IMPORTED_MODULE_0__["default"]; });
  7942. /* harmony import */ var _ContextMenuTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ContextMenuTrigger */ "../../node_modules/react-contextmenu/es6/ContextMenuTrigger.js");
  7943. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ContextMenuTrigger", function() { return _ContextMenuTrigger__WEBPACK_IMPORTED_MODULE_1__["default"]; });
  7944. /* harmony import */ var _MenuItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MenuItem */ "../../node_modules/react-contextmenu/es6/MenuItem.js");
  7945. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MenuItem", function() { return _MenuItem__WEBPACK_IMPORTED_MODULE_2__["default"]; });
  7946. /* harmony import */ var _SubMenu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SubMenu */ "../../node_modules/react-contextmenu/es6/SubMenu.js");
  7947. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SubMenu", function() { return _SubMenu__WEBPACK_IMPORTED_MODULE_3__["default"]; });
  7948. /* harmony import */ var _connectMenu__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./connectMenu */ "../../node_modules/react-contextmenu/es6/connectMenu.js");
  7949. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "connectMenu", function() { return _connectMenu__WEBPACK_IMPORTED_MODULE_4__["default"]; });
  7950. /* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions */ "../../node_modules/react-contextmenu/es6/actions.js");
  7951. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hideMenu", function() { return _actions__WEBPACK_IMPORTED_MODULE_5__["hideMenu"]; });
  7952. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "showMenu", function() { return _actions__WEBPACK_IMPORTED_MODULE_5__["showMenu"]; });
  7953. /***/ }),
  7954. /***/ "../../node_modules/react-dom/cjs/react-dom.development.js":
  7955. /*!*******************************************************************************!*\
  7956. !*** D:/Repos/Babylon.js/node_modules/react-dom/cjs/react-dom.development.js ***!
  7957. \*******************************************************************************/
  7958. /*! no static exports found */
  7959. /***/ (function(module, exports, __webpack_require__) {
  7960. "use strict";
  7961. /** @license React v16.6.1
  7962. * react-dom.development.js
  7963. *
  7964. * Copyright (c) Facebook, Inc. and its affiliates.
  7965. *
  7966. * This source code is licensed under the MIT license found in the
  7967. * LICENSE file in the root directory of this source tree.
  7968. */
  7969. if (true) {
  7970. (function() {
  7971. 'use strict';
  7972. var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  7973. var _assign = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  7974. var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ "../../node_modules/prop-types/checkPropTypes.js");
  7975. var scheduler = __webpack_require__(/*! scheduler */ "../../node_modules/scheduler/index.js");
  7976. var tracing = __webpack_require__(/*! scheduler/tracing */ "../../node_modules/scheduler/tracing.js");
  7977. /**
  7978. * Use invariant() to assert state which your program assumes to be true.
  7979. *
  7980. * Provide sprintf-style format (only %s is supported) and arguments
  7981. * to provide information about what broke and what you were
  7982. * expecting.
  7983. *
  7984. * The invariant message will be stripped in production, but the invariant
  7985. * will remain to ensure logic does not differ in production.
  7986. */
  7987. var validateFormat = function () {};
  7988. {
  7989. validateFormat = function (format) {
  7990. if (format === undefined) {
  7991. throw new Error('invariant requires an error message argument');
  7992. }
  7993. };
  7994. }
  7995. function invariant(condition, format, a, b, c, d, e, f) {
  7996. validateFormat(format);
  7997. if (!condition) {
  7998. var error = void 0;
  7999. if (format === undefined) {
  8000. error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');
  8001. } else {
  8002. var args = [a, b, c, d, e, f];
  8003. var argIndex = 0;
  8004. error = new Error(format.replace(/%s/g, function () {
  8005. return args[argIndex++];
  8006. }));
  8007. error.name = 'Invariant Violation';
  8008. }
  8009. error.framesToPop = 1; // we don't care about invariant's own frame
  8010. throw error;
  8011. }
  8012. }
  8013. // Relying on the `invariant()` implementation lets us
  8014. // preserve the format and params in the www builds.
  8015. !React ? invariant(false, 'ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.') : void 0;
  8016. var invokeGuardedCallbackImpl = function (name, func, context, a, b, c, d, e, f) {
  8017. var funcArgs = Array.prototype.slice.call(arguments, 3);
  8018. try {
  8019. func.apply(context, funcArgs);
  8020. } catch (error) {
  8021. this.onError(error);
  8022. }
  8023. };
  8024. {
  8025. // In DEV mode, we swap out invokeGuardedCallback for a special version
  8026. // that plays more nicely with the browser's DevTools. The idea is to preserve
  8027. // "Pause on exceptions" behavior. Because React wraps all user-provided
  8028. // functions in invokeGuardedCallback, and the production version of
  8029. // invokeGuardedCallback uses a try-catch, all user exceptions are treated
  8030. // like caught exceptions, and the DevTools won't pause unless the developer
  8031. // takes the extra step of enabling pause on caught exceptions. This is
  8032. // untintuitive, though, because even though React has caught the error, from
  8033. // the developer's perspective, the error is uncaught.
  8034. //
  8035. // To preserve the expected "Pause on exceptions" behavior, we don't use a
  8036. // try-catch in DEV. Instead, we synchronously dispatch a fake event to a fake
  8037. // DOM node, and call the user-provided callback from inside an event handler
  8038. // for that fake event. If the callback throws, the error is "captured" using
  8039. // a global event handler. But because the error happens in a different
  8040. // event loop context, it does not interrupt the normal program flow.
  8041. // Effectively, this gives us try-catch behavior without actually using
  8042. // try-catch. Neat!
  8043. // Check that the browser supports the APIs we need to implement our special
  8044. // DEV version of invokeGuardedCallback
  8045. if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
  8046. var fakeNode = document.createElement('react');
  8047. var invokeGuardedCallbackDev = function (name, func, context, a, b, c, d, e, f) {
  8048. // If document doesn't exist we know for sure we will crash in this method
  8049. // when we call document.createEvent(). However this can cause confusing
  8050. // errors: https://github.com/facebookincubator/create-react-app/issues/3482
  8051. // So we preemptively throw with a better message instead.
  8052. !(typeof document !== 'undefined') ? invariant(false, 'The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.') : void 0;
  8053. var evt = document.createEvent('Event');
  8054. // Keeps track of whether the user-provided callback threw an error. We
  8055. // set this to true at the beginning, then set it to false right after
  8056. // calling the function. If the function errors, `didError` will never be
  8057. // set to false. This strategy works even if the browser is flaky and
  8058. // fails to call our global error handler, because it doesn't rely on
  8059. // the error event at all.
  8060. var didError = true;
  8061. // Keeps track of the value of window.event so that we can reset it
  8062. // during the callback to let user code access window.event in the
  8063. // browsers that support it.
  8064. var windowEvent = window.event;
  8065. // Keeps track of the descriptor of window.event to restore it after event
  8066. // dispatching: https://github.com/facebook/react/issues/13688
  8067. var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, 'event');
  8068. // Create an event handler for our fake event. We will synchronously
  8069. // dispatch our fake event using `dispatchEvent`. Inside the handler, we
  8070. // call the user-provided callback.
  8071. var funcArgs = Array.prototype.slice.call(arguments, 3);
  8072. function callCallback() {
  8073. // We immediately remove the callback from event listeners so that
  8074. // nested `invokeGuardedCallback` calls do not clash. Otherwise, a
  8075. // nested call would trigger the fake event handlers of any call higher
  8076. // in the stack.
  8077. fakeNode.removeEventListener(evtType, callCallback, false);
  8078. // We check for window.hasOwnProperty('event') to prevent the
  8079. // window.event assignment in both IE <= 10 as they throw an error
  8080. // "Member not found" in strict mode, and in Firefox which does not
  8081. // support window.event.
  8082. if (typeof window.event !== 'undefined' && window.hasOwnProperty('event')) {
  8083. window.event = windowEvent;
  8084. }
  8085. func.apply(context, funcArgs);
  8086. didError = false;
  8087. }
  8088. // Create a global error event handler. We use this to capture the value
  8089. // that was thrown. It's possible that this error handler will fire more
  8090. // than once; for example, if non-React code also calls `dispatchEvent`
  8091. // and a handler for that event throws. We should be resilient to most of
  8092. // those cases. Even if our error event handler fires more than once, the
  8093. // last error event is always used. If the callback actually does error,
  8094. // we know that the last error event is the correct one, because it's not
  8095. // possible for anything else to have happened in between our callback
  8096. // erroring and the code that follows the `dispatchEvent` call below. If
  8097. // the callback doesn't error, but the error event was fired, we know to
  8098. // ignore it because `didError` will be false, as described above.
  8099. var error = void 0;
  8100. // Use this to track whether the error event is ever called.
  8101. var didSetError = false;
  8102. var isCrossOriginError = false;
  8103. function handleWindowError(event) {
  8104. error = event.error;
  8105. didSetError = true;
  8106. if (error === null && event.colno === 0 && event.lineno === 0) {
  8107. isCrossOriginError = true;
  8108. }
  8109. if (event.defaultPrevented) {
  8110. // Some other error handler has prevented default.
  8111. // Browsers silence the error report if this happens.
  8112. // We'll remember this to later decide whether to log it or not.
  8113. if (error != null && typeof error === 'object') {
  8114. try {
  8115. error._suppressLogging = true;
  8116. } catch (inner) {
  8117. // Ignore.
  8118. }
  8119. }
  8120. }
  8121. }
  8122. // Create a fake event type.
  8123. var evtType = 'react-' + (name ? name : 'invokeguardedcallback');
  8124. // Attach our event handlers
  8125. window.addEventListener('error', handleWindowError);
  8126. fakeNode.addEventListener(evtType, callCallback, false);
  8127. // Synchronously dispatch our fake event. If the user-provided function
  8128. // errors, it will trigger our global error handler.
  8129. evt.initEvent(evtType, false, false);
  8130. fakeNode.dispatchEvent(evt);
  8131. if (windowEventDescriptor) {
  8132. Object.defineProperty(window, 'event', windowEventDescriptor);
  8133. }
  8134. if (didError) {
  8135. if (!didSetError) {
  8136. // The callback errored, but the error event never fired.
  8137. error = new Error('An error was thrown inside one of your components, but React ' + "doesn't know what it was. This is likely due to browser " + 'flakiness. React does its best to preserve the "Pause on ' + 'exceptions" behavior of the DevTools, which requires some ' + "DEV-mode only tricks. It's possible that these don't work in " + 'your browser. Try triggering the error in production mode, ' + 'or switching to a modern browser. If you suspect that this is ' + 'actually an issue with React, please file an issue.');
  8138. } else if (isCrossOriginError) {
  8139. error = new Error("A cross-origin error was thrown. React doesn't have access to " + 'the actual error object in development. ' + 'See https://fb.me/react-crossorigin-error for more information.');
  8140. }
  8141. this.onError(error);
  8142. }
  8143. // Remove our event listeners
  8144. window.removeEventListener('error', handleWindowError);
  8145. };
  8146. invokeGuardedCallbackImpl = invokeGuardedCallbackDev;
  8147. }
  8148. }
  8149. var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;
  8150. // Used by Fiber to simulate a try-catch.
  8151. var hasError = false;
  8152. var caughtError = null;
  8153. // Used by event system to capture/rethrow the first error.
  8154. var hasRethrowError = false;
  8155. var rethrowError = null;
  8156. var reporter = {
  8157. onError: function (error) {
  8158. hasError = true;
  8159. caughtError = error;
  8160. }
  8161. };
  8162. /**
  8163. * Call a function while guarding against errors that happens within it.
  8164. * Returns an error if it throws, otherwise null.
  8165. *
  8166. * In production, this is implemented using a try-catch. The reason we don't
  8167. * use a try-catch directly is so that we can swap out a different
  8168. * implementation in DEV mode.
  8169. *
  8170. * @param {String} name of the guard to use for logging or debugging
  8171. * @param {Function} func The function to invoke
  8172. * @param {*} context The context to use when calling the function
  8173. * @param {...*} args Arguments for function
  8174. */
  8175. function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
  8176. hasError = false;
  8177. caughtError = null;
  8178. invokeGuardedCallbackImpl$1.apply(reporter, arguments);
  8179. }
  8180. /**
  8181. * Same as invokeGuardedCallback, but instead of returning an error, it stores
  8182. * it in a global so it can be rethrown by `rethrowCaughtError` later.
  8183. * TODO: See if caughtError and rethrowError can be unified.
  8184. *
  8185. * @param {String} name of the guard to use for logging or debugging
  8186. * @param {Function} func The function to invoke
  8187. * @param {*} context The context to use when calling the function
  8188. * @param {...*} args Arguments for function
  8189. */
  8190. function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {
  8191. invokeGuardedCallback.apply(this, arguments);
  8192. if (hasError) {
  8193. var error = clearCaughtError();
  8194. if (!hasRethrowError) {
  8195. hasRethrowError = true;
  8196. rethrowError = error;
  8197. }
  8198. }
  8199. }
  8200. /**
  8201. * During execution of guarded functions we will capture the first error which
  8202. * we will rethrow to be handled by the top level error handler.
  8203. */
  8204. function rethrowCaughtError() {
  8205. if (hasRethrowError) {
  8206. var error = rethrowError;
  8207. hasRethrowError = false;
  8208. rethrowError = null;
  8209. throw error;
  8210. }
  8211. }
  8212. function hasCaughtError() {
  8213. return hasError;
  8214. }
  8215. function clearCaughtError() {
  8216. if (hasError) {
  8217. var error = caughtError;
  8218. hasError = false;
  8219. caughtError = null;
  8220. return error;
  8221. } else {
  8222. invariant(false, 'clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.');
  8223. }
  8224. }
  8225. /**
  8226. * Injectable ordering of event plugins.
  8227. */
  8228. var eventPluginOrder = null;
  8229. /**
  8230. * Injectable mapping from names to event plugin modules.
  8231. */
  8232. var namesToPlugins = {};
  8233. /**
  8234. * Recomputes the plugin list using the injected plugins and plugin ordering.
  8235. *
  8236. * @private
  8237. */
  8238. function recomputePluginOrdering() {
  8239. if (!eventPluginOrder) {
  8240. // Wait until an `eventPluginOrder` is injected.
  8241. return;
  8242. }
  8243. for (var pluginName in namesToPlugins) {
  8244. var pluginModule = namesToPlugins[pluginName];
  8245. var pluginIndex = eventPluginOrder.indexOf(pluginName);
  8246. !(pluginIndex > -1) ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : void 0;
  8247. if (plugins[pluginIndex]) {
  8248. continue;
  8249. }
  8250. !pluginModule.extractEvents ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : void 0;
  8251. plugins[pluginIndex] = pluginModule;
  8252. var publishedEvents = pluginModule.eventTypes;
  8253. for (var eventName in publishedEvents) {
  8254. !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : void 0;
  8255. }
  8256. }
  8257. }
  8258. /**
  8259. * Publishes an event so that it can be dispatched by the supplied plugin.
  8260. *
  8261. * @param {object} dispatchConfig Dispatch configuration for the event.
  8262. * @param {object} PluginModule Plugin publishing the event.
  8263. * @return {boolean} True if the event was successfully published.
  8264. * @private
  8265. */
  8266. function publishEventForPlugin(dispatchConfig, pluginModule, eventName) {
  8267. !!eventNameDispatchConfigs.hasOwnProperty(eventName) ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : void 0;
  8268. eventNameDispatchConfigs[eventName] = dispatchConfig;
  8269. var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;
  8270. if (phasedRegistrationNames) {
  8271. for (var phaseName in phasedRegistrationNames) {
  8272. if (phasedRegistrationNames.hasOwnProperty(phaseName)) {
  8273. var phasedRegistrationName = phasedRegistrationNames[phaseName];
  8274. publishRegistrationName(phasedRegistrationName, pluginModule, eventName);
  8275. }
  8276. }
  8277. return true;
  8278. } else if (dispatchConfig.registrationName) {
  8279. publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);
  8280. return true;
  8281. }
  8282. return false;
  8283. }
  8284. /**
  8285. * Publishes a registration name that is used to identify dispatched events.
  8286. *
  8287. * @param {string} registrationName Registration name to add.
  8288. * @param {object} PluginModule Plugin publishing the event.
  8289. * @private
  8290. */
  8291. function publishRegistrationName(registrationName, pluginModule, eventName) {
  8292. !!registrationNameModules[registrationName] ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : void 0;
  8293. registrationNameModules[registrationName] = pluginModule;
  8294. registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;
  8295. {
  8296. var lowerCasedName = registrationName.toLowerCase();
  8297. possibleRegistrationNames[lowerCasedName] = registrationName;
  8298. if (registrationName === 'onDoubleClick') {
  8299. possibleRegistrationNames.ondblclick = registrationName;
  8300. }
  8301. }
  8302. }
  8303. /**
  8304. * Registers plugins so that they can extract and dispatch events.
  8305. *
  8306. * @see {EventPluginHub}
  8307. */
  8308. /**
  8309. * Ordered list of injected plugins.
  8310. */
  8311. var plugins = [];
  8312. /**
  8313. * Mapping from event name to dispatch config
  8314. */
  8315. var eventNameDispatchConfigs = {};
  8316. /**
  8317. * Mapping from registration name to plugin module
  8318. */
  8319. var registrationNameModules = {};
  8320. /**
  8321. * Mapping from registration name to event name
  8322. */
  8323. var registrationNameDependencies = {};
  8324. /**
  8325. * Mapping from lowercase registration names to the properly cased version,
  8326. * used to warn in the case of missing event handlers. Available
  8327. * only in true.
  8328. * @type {Object}
  8329. */
  8330. var possibleRegistrationNames = {};
  8331. // Trust the developer to only use possibleRegistrationNames in true
  8332. /**
  8333. * Injects an ordering of plugins (by plugin name). This allows the ordering
  8334. * to be decoupled from injection of the actual plugins so that ordering is
  8335. * always deterministic regardless of packaging, on-the-fly injection, etc.
  8336. *
  8337. * @param {array} InjectedEventPluginOrder
  8338. * @internal
  8339. * @see {EventPluginHub.injection.injectEventPluginOrder}
  8340. */
  8341. function injectEventPluginOrder(injectedEventPluginOrder) {
  8342. !!eventPluginOrder ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : void 0;
  8343. // Clone the ordering so it cannot be dynamically mutated.
  8344. eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);
  8345. recomputePluginOrdering();
  8346. }
  8347. /**
  8348. * Injects plugins to be used by `EventPluginHub`. The plugin names must be
  8349. * in the ordering injected by `injectEventPluginOrder`.
  8350. *
  8351. * Plugins can be injected as part of page initialization or on-the-fly.
  8352. *
  8353. * @param {object} injectedNamesToPlugins Map from names to plugin modules.
  8354. * @internal
  8355. * @see {EventPluginHub.injection.injectEventPluginsByName}
  8356. */
  8357. function injectEventPluginsByName(injectedNamesToPlugins) {
  8358. var isOrderingDirty = false;
  8359. for (var pluginName in injectedNamesToPlugins) {
  8360. if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {
  8361. continue;
  8362. }
  8363. var pluginModule = injectedNamesToPlugins[pluginName];
  8364. if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {
  8365. !!namesToPlugins[pluginName] ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : void 0;
  8366. namesToPlugins[pluginName] = pluginModule;
  8367. isOrderingDirty = true;
  8368. }
  8369. }
  8370. if (isOrderingDirty) {
  8371. recomputePluginOrdering();
  8372. }
  8373. }
  8374. /**
  8375. * Similar to invariant but only logs a warning if the condition is not met.
  8376. * This can be used to log issues in development environments in critical
  8377. * paths. Removing the logging code for production environments will keep the
  8378. * same logic and follow the same code paths.
  8379. */
  8380. var warningWithoutStack = function () {};
  8381. {
  8382. warningWithoutStack = function (condition, format) {
  8383. for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
  8384. args[_key - 2] = arguments[_key];
  8385. }
  8386. if (format === undefined) {
  8387. throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
  8388. }
  8389. if (args.length > 8) {
  8390. // Check before the condition to catch violations early.
  8391. throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
  8392. }
  8393. if (condition) {
  8394. return;
  8395. }
  8396. if (typeof console !== 'undefined') {
  8397. var argsWithFormat = args.map(function (item) {
  8398. return '' + item;
  8399. });
  8400. argsWithFormat.unshift('Warning: ' + format);
  8401. // We intentionally don't use spread (or .apply) directly because it
  8402. // breaks IE9: https://github.com/facebook/react/issues/13610
  8403. Function.prototype.apply.call(console.error, console, argsWithFormat);
  8404. }
  8405. try {
  8406. // --- Welcome to debugging React ---
  8407. // This error was thrown as a convenience so that you can use this stack
  8408. // to find the callsite that caused this warning to fire.
  8409. var argIndex = 0;
  8410. var message = 'Warning: ' + format.replace(/%s/g, function () {
  8411. return args[argIndex++];
  8412. });
  8413. throw new Error(message);
  8414. } catch (x) {}
  8415. };
  8416. }
  8417. var warningWithoutStack$1 = warningWithoutStack;
  8418. var getFiberCurrentPropsFromNode = null;
  8419. var getInstanceFromNode = null;
  8420. var getNodeFromInstance = null;
  8421. function setComponentTree(getFiberCurrentPropsFromNodeImpl, getInstanceFromNodeImpl, getNodeFromInstanceImpl) {
  8422. getFiberCurrentPropsFromNode = getFiberCurrentPropsFromNodeImpl;
  8423. getInstanceFromNode = getInstanceFromNodeImpl;
  8424. getNodeFromInstance = getNodeFromInstanceImpl;
  8425. {
  8426. !(getNodeFromInstance && getInstanceFromNode) ? warningWithoutStack$1(false, 'EventPluginUtils.setComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;
  8427. }
  8428. }
  8429. var validateEventDispatches = void 0;
  8430. {
  8431. validateEventDispatches = function (event) {
  8432. var dispatchListeners = event._dispatchListeners;
  8433. var dispatchInstances = event._dispatchInstances;
  8434. var listenersIsArr = Array.isArray(dispatchListeners);
  8435. var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;
  8436. var instancesIsArr = Array.isArray(dispatchInstances);
  8437. var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;
  8438. !(instancesIsArr === listenersIsArr && instancesLen === listenersLen) ? warningWithoutStack$1(false, 'EventPluginUtils: Invalid `event`.') : void 0;
  8439. };
  8440. }
  8441. /**
  8442. * Dispatch the event to the listener.
  8443. * @param {SyntheticEvent} event SyntheticEvent to handle
  8444. * @param {function} listener Application-level callback
  8445. * @param {*} inst Internal component instance
  8446. */
  8447. function executeDispatch(event, listener, inst) {
  8448. var type = event.type || 'unknown-event';
  8449. event.currentTarget = getNodeFromInstance(inst);
  8450. invokeGuardedCallbackAndCatchFirstError(type, listener, undefined, event);
  8451. event.currentTarget = null;
  8452. }
  8453. /**
  8454. * Standard/simple iteration through an event's collected dispatches.
  8455. */
  8456. function executeDispatchesInOrder(event) {
  8457. var dispatchListeners = event._dispatchListeners;
  8458. var dispatchInstances = event._dispatchInstances;
  8459. {
  8460. validateEventDispatches(event);
  8461. }
  8462. if (Array.isArray(dispatchListeners)) {
  8463. for (var i = 0; i < dispatchListeners.length; i++) {
  8464. if (event.isPropagationStopped()) {
  8465. break;
  8466. }
  8467. // Listeners and Instances are two parallel arrays that are always in sync.
  8468. executeDispatch(event, dispatchListeners[i], dispatchInstances[i]);
  8469. }
  8470. } else if (dispatchListeners) {
  8471. executeDispatch(event, dispatchListeners, dispatchInstances);
  8472. }
  8473. event._dispatchListeners = null;
  8474. event._dispatchInstances = null;
  8475. }
  8476. /**
  8477. * @see executeDispatchesInOrderStopAtTrueImpl
  8478. */
  8479. /**
  8480. * Execution of a "direct" dispatch - there must be at most one dispatch
  8481. * accumulated on the event or it is considered an error. It doesn't really make
  8482. * sense for an event with multiple dispatches (bubbled) to keep track of the
  8483. * return values at each dispatch execution, but it does tend to make sense when
  8484. * dealing with "direct" dispatches.
  8485. *
  8486. * @return {*} The return value of executing the single dispatch.
  8487. */
  8488. /**
  8489. * @param {SyntheticEvent} event
  8490. * @return {boolean} True iff number of dispatches accumulated is greater than 0.
  8491. */
  8492. /**
  8493. * Accumulates items that must not be null or undefined into the first one. This
  8494. * is used to conserve memory by avoiding array allocations, and thus sacrifices
  8495. * API cleanness. Since `current` can be null before being passed in and not
  8496. * null after this function, make sure to assign it back to `current`:
  8497. *
  8498. * `a = accumulateInto(a, b);`
  8499. *
  8500. * This API should be sparingly used. Try `accumulate` for something cleaner.
  8501. *
  8502. * @return {*|array<*>} An accumulation of items.
  8503. */
  8504. function accumulateInto(current, next) {
  8505. !(next != null) ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : void 0;
  8506. if (current == null) {
  8507. return next;
  8508. }
  8509. // Both are not empty. Warning: Never call x.concat(y) when you are not
  8510. // certain that x is an Array (x could be a string with concat method).
  8511. if (Array.isArray(current)) {
  8512. if (Array.isArray(next)) {
  8513. current.push.apply(current, next);
  8514. return current;
  8515. }
  8516. current.push(next);
  8517. return current;
  8518. }
  8519. if (Array.isArray(next)) {
  8520. // A bit too dangerous to mutate `next`.
  8521. return [current].concat(next);
  8522. }
  8523. return [current, next];
  8524. }
  8525. /**
  8526. * @param {array} arr an "accumulation" of items which is either an Array or
  8527. * a single item. Useful when paired with the `accumulate` module. This is a
  8528. * simple utility that allows us to reason about a collection of items, but
  8529. * handling the case when there is exactly one item (and we do not need to
  8530. * allocate an array).
  8531. * @param {function} cb Callback invoked with each element or a collection.
  8532. * @param {?} [scope] Scope used as `this` in a callback.
  8533. */
  8534. function forEachAccumulated(arr, cb, scope) {
  8535. if (Array.isArray(arr)) {
  8536. arr.forEach(cb, scope);
  8537. } else if (arr) {
  8538. cb.call(scope, arr);
  8539. }
  8540. }
  8541. /**
  8542. * Internal queue of events that have accumulated their dispatches and are
  8543. * waiting to have their dispatches executed.
  8544. */
  8545. var eventQueue = null;
  8546. /**
  8547. * Dispatches an event and releases it back into the pool, unless persistent.
  8548. *
  8549. * @param {?object} event Synthetic event to be dispatched.
  8550. * @private
  8551. */
  8552. var executeDispatchesAndRelease = function (event) {
  8553. if (event) {
  8554. executeDispatchesInOrder(event);
  8555. if (!event.isPersistent()) {
  8556. event.constructor.release(event);
  8557. }
  8558. }
  8559. };
  8560. var executeDispatchesAndReleaseTopLevel = function (e) {
  8561. return executeDispatchesAndRelease(e);
  8562. };
  8563. function isInteractive(tag) {
  8564. return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
  8565. }
  8566. function shouldPreventMouseEvent(name, type, props) {
  8567. switch (name) {
  8568. case 'onClick':
  8569. case 'onClickCapture':
  8570. case 'onDoubleClick':
  8571. case 'onDoubleClickCapture':
  8572. case 'onMouseDown':
  8573. case 'onMouseDownCapture':
  8574. case 'onMouseMove':
  8575. case 'onMouseMoveCapture':
  8576. case 'onMouseUp':
  8577. case 'onMouseUpCapture':
  8578. return !!(props.disabled && isInteractive(type));
  8579. default:
  8580. return false;
  8581. }
  8582. }
  8583. /**
  8584. * This is a unified interface for event plugins to be installed and configured.
  8585. *
  8586. * Event plugins can implement the following properties:
  8587. *
  8588. * `extractEvents` {function(string, DOMEventTarget, string, object): *}
  8589. * Required. When a top-level event is fired, this method is expected to
  8590. * extract synthetic events that will in turn be queued and dispatched.
  8591. *
  8592. * `eventTypes` {object}
  8593. * Optional, plugins that fire events must publish a mapping of registration
  8594. * names that are used to register listeners. Values of this mapping must
  8595. * be objects that contain `registrationName` or `phasedRegistrationNames`.
  8596. *
  8597. * `executeDispatch` {function(object, function, string)}
  8598. * Optional, allows plugins to override how an event gets dispatched. By
  8599. * default, the listener is simply invoked.
  8600. *
  8601. * Each plugin that is injected into `EventsPluginHub` is immediately operable.
  8602. *
  8603. * @public
  8604. */
  8605. /**
  8606. * Methods for injecting dependencies.
  8607. */
  8608. var injection = {
  8609. /**
  8610. * @param {array} InjectedEventPluginOrder
  8611. * @public
  8612. */
  8613. injectEventPluginOrder: injectEventPluginOrder,
  8614. /**
  8615. * @param {object} injectedNamesToPlugins Map from names to plugin modules.
  8616. */
  8617. injectEventPluginsByName: injectEventPluginsByName
  8618. };
  8619. /**
  8620. * @param {object} inst The instance, which is the source of events.
  8621. * @param {string} registrationName Name of listener (e.g. `onClick`).
  8622. * @return {?function} The stored callback.
  8623. */
  8624. function getListener(inst, registrationName) {
  8625. var listener = void 0;
  8626. // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not
  8627. // live here; needs to be moved to a better place soon
  8628. var stateNode = inst.stateNode;
  8629. if (!stateNode) {
  8630. // Work in progress (ex: onload events in incremental mode).
  8631. return null;
  8632. }
  8633. var props = getFiberCurrentPropsFromNode(stateNode);
  8634. if (!props) {
  8635. // Work in progress.
  8636. return null;
  8637. }
  8638. listener = props[registrationName];
  8639. if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
  8640. return null;
  8641. }
  8642. !(!listener || typeof listener === 'function') ? invariant(false, 'Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener) : void 0;
  8643. return listener;
  8644. }
  8645. /**
  8646. * Allows registered plugins an opportunity to extract events from top-level
  8647. * native browser events.
  8648. *
  8649. * @return {*} An accumulation of synthetic events.
  8650. * @internal
  8651. */
  8652. function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  8653. var events = null;
  8654. for (var i = 0; i < plugins.length; i++) {
  8655. // Not every plugin in the ordering may be loaded at runtime.
  8656. var possiblePlugin = plugins[i];
  8657. if (possiblePlugin) {
  8658. var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);
  8659. if (extractedEvents) {
  8660. events = accumulateInto(events, extractedEvents);
  8661. }
  8662. }
  8663. }
  8664. return events;
  8665. }
  8666. function runEventsInBatch(events) {
  8667. if (events !== null) {
  8668. eventQueue = accumulateInto(eventQueue, events);
  8669. }
  8670. // Set `eventQueue` to null before processing it so that we can tell if more
  8671. // events get enqueued while processing.
  8672. var processingEventQueue = eventQueue;
  8673. eventQueue = null;
  8674. if (!processingEventQueue) {
  8675. return;
  8676. }
  8677. forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);
  8678. !!eventQueue ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : void 0;
  8679. // This would be a good time to rethrow if any of the event handlers threw.
  8680. rethrowCaughtError();
  8681. }
  8682. function runExtractedEventsInBatch(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  8683. var events = extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);
  8684. runEventsInBatch(events);
  8685. }
  8686. var FunctionComponent = 0;
  8687. var ClassComponent = 1;
  8688. var IndeterminateComponent = 2; // Before we know whether it is function or class
  8689. var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
  8690. var HostPortal = 4; // A subtree. Could be an entry point to a different renderer.
  8691. var HostComponent = 5;
  8692. var HostText = 6;
  8693. var Fragment = 7;
  8694. var Mode = 8;
  8695. var ContextConsumer = 9;
  8696. var ContextProvider = 10;
  8697. var ForwardRef = 11;
  8698. var Profiler = 12;
  8699. var SuspenseComponent = 13;
  8700. var MemoComponent = 14;
  8701. var SimpleMemoComponent = 15;
  8702. var LazyComponent = 16;
  8703. var IncompleteClassComponent = 17;
  8704. var randomKey = Math.random().toString(36).slice(2);
  8705. var internalInstanceKey = '__reactInternalInstance$' + randomKey;
  8706. var internalEventHandlersKey = '__reactEventHandlers$' + randomKey;
  8707. function precacheFiberNode(hostInst, node) {
  8708. node[internalInstanceKey] = hostInst;
  8709. }
  8710. /**
  8711. * Given a DOM node, return the closest ReactDOMComponent or
  8712. * ReactDOMTextComponent instance ancestor.
  8713. */
  8714. function getClosestInstanceFromNode(node) {
  8715. if (node[internalInstanceKey]) {
  8716. return node[internalInstanceKey];
  8717. }
  8718. while (!node[internalInstanceKey]) {
  8719. if (node.parentNode) {
  8720. node = node.parentNode;
  8721. } else {
  8722. // Top of the tree. This node must not be part of a React tree (or is
  8723. // unmounted, potentially).
  8724. return null;
  8725. }
  8726. }
  8727. var inst = node[internalInstanceKey];
  8728. if (inst.tag === HostComponent || inst.tag === HostText) {
  8729. // In Fiber, this will always be the deepest root.
  8730. return inst;
  8731. }
  8732. return null;
  8733. }
  8734. /**
  8735. * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent
  8736. * instance, or null if the node was not rendered by this React.
  8737. */
  8738. function getInstanceFromNode$1(node) {
  8739. var inst = node[internalInstanceKey];
  8740. if (inst) {
  8741. if (inst.tag === HostComponent || inst.tag === HostText) {
  8742. return inst;
  8743. } else {
  8744. return null;
  8745. }
  8746. }
  8747. return null;
  8748. }
  8749. /**
  8750. * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding
  8751. * DOM node.
  8752. */
  8753. function getNodeFromInstance$1(inst) {
  8754. if (inst.tag === HostComponent || inst.tag === HostText) {
  8755. // In Fiber this, is just the state node right now. We assume it will be
  8756. // a host component or host text.
  8757. return inst.stateNode;
  8758. }
  8759. // Without this first invariant, passing a non-DOM-component triggers the next
  8760. // invariant for a missing parent, which is super confusing.
  8761. invariant(false, 'getNodeFromInstance: Invalid argument.');
  8762. }
  8763. function getFiberCurrentPropsFromNode$1(node) {
  8764. return node[internalEventHandlersKey] || null;
  8765. }
  8766. function updateFiberProps(node, props) {
  8767. node[internalEventHandlersKey] = props;
  8768. }
  8769. function getParent(inst) {
  8770. do {
  8771. inst = inst.return;
  8772. // TODO: If this is a HostRoot we might want to bail out.
  8773. // That is depending on if we want nested subtrees (layers) to bubble
  8774. // events to their parent. We could also go through parentNode on the
  8775. // host node but that wouldn't work for React Native and doesn't let us
  8776. // do the portal feature.
  8777. } while (inst && inst.tag !== HostComponent);
  8778. if (inst) {
  8779. return inst;
  8780. }
  8781. return null;
  8782. }
  8783. /**
  8784. * Return the lowest common ancestor of A and B, or null if they are in
  8785. * different trees.
  8786. */
  8787. function getLowestCommonAncestor(instA, instB) {
  8788. var depthA = 0;
  8789. for (var tempA = instA; tempA; tempA = getParent(tempA)) {
  8790. depthA++;
  8791. }
  8792. var depthB = 0;
  8793. for (var tempB = instB; tempB; tempB = getParent(tempB)) {
  8794. depthB++;
  8795. }
  8796. // If A is deeper, crawl up.
  8797. while (depthA - depthB > 0) {
  8798. instA = getParent(instA);
  8799. depthA--;
  8800. }
  8801. // If B is deeper, crawl up.
  8802. while (depthB - depthA > 0) {
  8803. instB = getParent(instB);
  8804. depthB--;
  8805. }
  8806. // Walk in lockstep until we find a match.
  8807. var depth = depthA;
  8808. while (depth--) {
  8809. if (instA === instB || instA === instB.alternate) {
  8810. return instA;
  8811. }
  8812. instA = getParent(instA);
  8813. instB = getParent(instB);
  8814. }
  8815. return null;
  8816. }
  8817. /**
  8818. * Return if A is an ancestor of B.
  8819. */
  8820. /**
  8821. * Return the parent instance of the passed-in instance.
  8822. */
  8823. /**
  8824. * Simulates the traversal of a two-phase, capture/bubble event dispatch.
  8825. */
  8826. function traverseTwoPhase(inst, fn, arg) {
  8827. var path = [];
  8828. while (inst) {
  8829. path.push(inst);
  8830. inst = getParent(inst);
  8831. }
  8832. var i = void 0;
  8833. for (i = path.length; i-- > 0;) {
  8834. fn(path[i], 'captured', arg);
  8835. }
  8836. for (i = 0; i < path.length; i++) {
  8837. fn(path[i], 'bubbled', arg);
  8838. }
  8839. }
  8840. /**
  8841. * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that
  8842. * should would receive a `mouseEnter` or `mouseLeave` event.
  8843. *
  8844. * Does not invoke the callback on the nearest common ancestor because nothing
  8845. * "entered" or "left" that element.
  8846. */
  8847. function traverseEnterLeave(from, to, fn, argFrom, argTo) {
  8848. var common = from && to ? getLowestCommonAncestor(from, to) : null;
  8849. var pathFrom = [];
  8850. while (true) {
  8851. if (!from) {
  8852. break;
  8853. }
  8854. if (from === common) {
  8855. break;
  8856. }
  8857. var alternate = from.alternate;
  8858. if (alternate !== null && alternate === common) {
  8859. break;
  8860. }
  8861. pathFrom.push(from);
  8862. from = getParent(from);
  8863. }
  8864. var pathTo = [];
  8865. while (true) {
  8866. if (!to) {
  8867. break;
  8868. }
  8869. if (to === common) {
  8870. break;
  8871. }
  8872. var _alternate = to.alternate;
  8873. if (_alternate !== null && _alternate === common) {
  8874. break;
  8875. }
  8876. pathTo.push(to);
  8877. to = getParent(to);
  8878. }
  8879. for (var i = 0; i < pathFrom.length; i++) {
  8880. fn(pathFrom[i], 'bubbled', argFrom);
  8881. }
  8882. for (var _i = pathTo.length; _i-- > 0;) {
  8883. fn(pathTo[_i], 'captured', argTo);
  8884. }
  8885. }
  8886. /**
  8887. * Some event types have a notion of different registration names for different
  8888. * "phases" of propagation. This finds listeners by a given phase.
  8889. */
  8890. function listenerAtPhase(inst, event, propagationPhase) {
  8891. var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];
  8892. return getListener(inst, registrationName);
  8893. }
  8894. /**
  8895. * A small set of propagation patterns, each of which will accept a small amount
  8896. * of information, and generate a set of "dispatch ready event objects" - which
  8897. * are sets of events that have already been annotated with a set of dispatched
  8898. * listener functions/ids. The API is designed this way to discourage these
  8899. * propagation strategies from actually executing the dispatches, since we
  8900. * always want to collect the entire set of dispatches before executing even a
  8901. * single one.
  8902. */
  8903. /**
  8904. * Tags a `SyntheticEvent` with dispatched listeners. Creating this function
  8905. * here, allows us to not have to bind or create functions for each event.
  8906. * Mutating the event's members allows us to not have to create a wrapping
  8907. * "dispatch" object that pairs the event with the listener.
  8908. */
  8909. function accumulateDirectionalDispatches(inst, phase, event) {
  8910. {
  8911. !inst ? warningWithoutStack$1(false, 'Dispatching inst must not be null') : void 0;
  8912. }
  8913. var listener = listenerAtPhase(inst, event, phase);
  8914. if (listener) {
  8915. event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);
  8916. event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);
  8917. }
  8918. }
  8919. /**
  8920. * Collect dispatches (must be entirely collected before dispatching - see unit
  8921. * tests). Lazily allocate the array to conserve memory. We must loop through
  8922. * each event and perform the traversal for each one. We cannot perform a
  8923. * single traversal for the entire collection of events because each event may
  8924. * have a different target.
  8925. */
  8926. function accumulateTwoPhaseDispatchesSingle(event) {
  8927. if (event && event.dispatchConfig.phasedRegistrationNames) {
  8928. traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);
  8929. }
  8930. }
  8931. /**
  8932. * Accumulates without regard to direction, does not look for phased
  8933. * registration names. Same as `accumulateDirectDispatchesSingle` but without
  8934. * requiring that the `dispatchMarker` be the same as the dispatched ID.
  8935. */
  8936. function accumulateDispatches(inst, ignoredDirection, event) {
  8937. if (inst && event && event.dispatchConfig.registrationName) {
  8938. var registrationName = event.dispatchConfig.registrationName;
  8939. var listener = getListener(inst, registrationName);
  8940. if (listener) {
  8941. event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);
  8942. event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);
  8943. }
  8944. }
  8945. }
  8946. /**
  8947. * Accumulates dispatches on an `SyntheticEvent`, but only for the
  8948. * `dispatchMarker`.
  8949. * @param {SyntheticEvent} event
  8950. */
  8951. function accumulateDirectDispatchesSingle(event) {
  8952. if (event && event.dispatchConfig.registrationName) {
  8953. accumulateDispatches(event._targetInst, null, event);
  8954. }
  8955. }
  8956. function accumulateTwoPhaseDispatches(events) {
  8957. forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);
  8958. }
  8959. function accumulateEnterLeaveDispatches(leave, enter, from, to) {
  8960. traverseEnterLeave(from, to, accumulateDispatches, leave, enter);
  8961. }
  8962. function accumulateDirectDispatches(events) {
  8963. forEachAccumulated(events, accumulateDirectDispatchesSingle);
  8964. }
  8965. var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
  8966. // Do not uses the below two methods directly!
  8967. // Instead use constants exported from DOMTopLevelEventTypes in ReactDOM.
  8968. // (It is the only module that is allowed to access these methods.)
  8969. function unsafeCastStringToDOMTopLevelType(topLevelType) {
  8970. return topLevelType;
  8971. }
  8972. function unsafeCastDOMTopLevelTypeToString(topLevelType) {
  8973. return topLevelType;
  8974. }
  8975. /**
  8976. * Generate a mapping of standard vendor prefixes using the defined style property and event name.
  8977. *
  8978. * @param {string} styleProp
  8979. * @param {string} eventName
  8980. * @returns {object}
  8981. */
  8982. function makePrefixMap(styleProp, eventName) {
  8983. var prefixes = {};
  8984. prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();
  8985. prefixes['Webkit' + styleProp] = 'webkit' + eventName;
  8986. prefixes['Moz' + styleProp] = 'moz' + eventName;
  8987. return prefixes;
  8988. }
  8989. /**
  8990. * A list of event names to a configurable list of vendor prefixes.
  8991. */
  8992. var vendorPrefixes = {
  8993. animationend: makePrefixMap('Animation', 'AnimationEnd'),
  8994. animationiteration: makePrefixMap('Animation', 'AnimationIteration'),
  8995. animationstart: makePrefixMap('Animation', 'AnimationStart'),
  8996. transitionend: makePrefixMap('Transition', 'TransitionEnd')
  8997. };
  8998. /**
  8999. * Event names that have already been detected and prefixed (if applicable).
  9000. */
  9001. var prefixedEventNames = {};
  9002. /**
  9003. * Element to check for prefixes on.
  9004. */
  9005. var style = {};
  9006. /**
  9007. * Bootstrap if a DOM exists.
  9008. */
  9009. if (canUseDOM) {
  9010. style = document.createElement('div').style;
  9011. // On some platforms, in particular some releases of Android 4.x,
  9012. // the un-prefixed "animation" and "transition" properties are defined on the
  9013. // style object but the events that fire will still be prefixed, so we need
  9014. // to check if the un-prefixed events are usable, and if not remove them from the map.
  9015. if (!('AnimationEvent' in window)) {
  9016. delete vendorPrefixes.animationend.animation;
  9017. delete vendorPrefixes.animationiteration.animation;
  9018. delete vendorPrefixes.animationstart.animation;
  9019. }
  9020. // Same as above
  9021. if (!('TransitionEvent' in window)) {
  9022. delete vendorPrefixes.transitionend.transition;
  9023. }
  9024. }
  9025. /**
  9026. * Attempts to determine the correct vendor prefixed event name.
  9027. *
  9028. * @param {string} eventName
  9029. * @returns {string}
  9030. */
  9031. function getVendorPrefixedEventName(eventName) {
  9032. if (prefixedEventNames[eventName]) {
  9033. return prefixedEventNames[eventName];
  9034. } else if (!vendorPrefixes[eventName]) {
  9035. return eventName;
  9036. }
  9037. var prefixMap = vendorPrefixes[eventName];
  9038. for (var styleProp in prefixMap) {
  9039. if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {
  9040. return prefixedEventNames[eventName] = prefixMap[styleProp];
  9041. }
  9042. }
  9043. return eventName;
  9044. }
  9045. /**
  9046. * To identify top level events in ReactDOM, we use constants defined by this
  9047. * module. This is the only module that uses the unsafe* methods to express
  9048. * that the constants actually correspond to the browser event names. This lets
  9049. * us save some bundle size by avoiding a top level type -> event name map.
  9050. * The rest of ReactDOM code should import top level types from this file.
  9051. */
  9052. var TOP_ABORT = unsafeCastStringToDOMTopLevelType('abort');
  9053. var TOP_ANIMATION_END = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationend'));
  9054. var TOP_ANIMATION_ITERATION = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationiteration'));
  9055. var TOP_ANIMATION_START = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('animationstart'));
  9056. var TOP_BLUR = unsafeCastStringToDOMTopLevelType('blur');
  9057. var TOP_CAN_PLAY = unsafeCastStringToDOMTopLevelType('canplay');
  9058. var TOP_CAN_PLAY_THROUGH = unsafeCastStringToDOMTopLevelType('canplaythrough');
  9059. var TOP_CANCEL = unsafeCastStringToDOMTopLevelType('cancel');
  9060. var TOP_CHANGE = unsafeCastStringToDOMTopLevelType('change');
  9061. var TOP_CLICK = unsafeCastStringToDOMTopLevelType('click');
  9062. var TOP_CLOSE = unsafeCastStringToDOMTopLevelType('close');
  9063. var TOP_COMPOSITION_END = unsafeCastStringToDOMTopLevelType('compositionend');
  9064. var TOP_COMPOSITION_START = unsafeCastStringToDOMTopLevelType('compositionstart');
  9065. var TOP_COMPOSITION_UPDATE = unsafeCastStringToDOMTopLevelType('compositionupdate');
  9066. var TOP_CONTEXT_MENU = unsafeCastStringToDOMTopLevelType('contextmenu');
  9067. var TOP_COPY = unsafeCastStringToDOMTopLevelType('copy');
  9068. var TOP_CUT = unsafeCastStringToDOMTopLevelType('cut');
  9069. var TOP_DOUBLE_CLICK = unsafeCastStringToDOMTopLevelType('dblclick');
  9070. var TOP_AUX_CLICK = unsafeCastStringToDOMTopLevelType('auxclick');
  9071. var TOP_DRAG = unsafeCastStringToDOMTopLevelType('drag');
  9072. var TOP_DRAG_END = unsafeCastStringToDOMTopLevelType('dragend');
  9073. var TOP_DRAG_ENTER = unsafeCastStringToDOMTopLevelType('dragenter');
  9074. var TOP_DRAG_EXIT = unsafeCastStringToDOMTopLevelType('dragexit');
  9075. var TOP_DRAG_LEAVE = unsafeCastStringToDOMTopLevelType('dragleave');
  9076. var TOP_DRAG_OVER = unsafeCastStringToDOMTopLevelType('dragover');
  9077. var TOP_DRAG_START = unsafeCastStringToDOMTopLevelType('dragstart');
  9078. var TOP_DROP = unsafeCastStringToDOMTopLevelType('drop');
  9079. var TOP_DURATION_CHANGE = unsafeCastStringToDOMTopLevelType('durationchange');
  9080. var TOP_EMPTIED = unsafeCastStringToDOMTopLevelType('emptied');
  9081. var TOP_ENCRYPTED = unsafeCastStringToDOMTopLevelType('encrypted');
  9082. var TOP_ENDED = unsafeCastStringToDOMTopLevelType('ended');
  9083. var TOP_ERROR = unsafeCastStringToDOMTopLevelType('error');
  9084. var TOP_FOCUS = unsafeCastStringToDOMTopLevelType('focus');
  9085. var TOP_GOT_POINTER_CAPTURE = unsafeCastStringToDOMTopLevelType('gotpointercapture');
  9086. var TOP_INPUT = unsafeCastStringToDOMTopLevelType('input');
  9087. var TOP_INVALID = unsafeCastStringToDOMTopLevelType('invalid');
  9088. var TOP_KEY_DOWN = unsafeCastStringToDOMTopLevelType('keydown');
  9089. var TOP_KEY_PRESS = unsafeCastStringToDOMTopLevelType('keypress');
  9090. var TOP_KEY_UP = unsafeCastStringToDOMTopLevelType('keyup');
  9091. var TOP_LOAD = unsafeCastStringToDOMTopLevelType('load');
  9092. var TOP_LOAD_START = unsafeCastStringToDOMTopLevelType('loadstart');
  9093. var TOP_LOADED_DATA = unsafeCastStringToDOMTopLevelType('loadeddata');
  9094. var TOP_LOADED_METADATA = unsafeCastStringToDOMTopLevelType('loadedmetadata');
  9095. var TOP_LOST_POINTER_CAPTURE = unsafeCastStringToDOMTopLevelType('lostpointercapture');
  9096. var TOP_MOUSE_DOWN = unsafeCastStringToDOMTopLevelType('mousedown');
  9097. var TOP_MOUSE_MOVE = unsafeCastStringToDOMTopLevelType('mousemove');
  9098. var TOP_MOUSE_OUT = unsafeCastStringToDOMTopLevelType('mouseout');
  9099. var TOP_MOUSE_OVER = unsafeCastStringToDOMTopLevelType('mouseover');
  9100. var TOP_MOUSE_UP = unsafeCastStringToDOMTopLevelType('mouseup');
  9101. var TOP_PASTE = unsafeCastStringToDOMTopLevelType('paste');
  9102. var TOP_PAUSE = unsafeCastStringToDOMTopLevelType('pause');
  9103. var TOP_PLAY = unsafeCastStringToDOMTopLevelType('play');
  9104. var TOP_PLAYING = unsafeCastStringToDOMTopLevelType('playing');
  9105. var TOP_POINTER_CANCEL = unsafeCastStringToDOMTopLevelType('pointercancel');
  9106. var TOP_POINTER_DOWN = unsafeCastStringToDOMTopLevelType('pointerdown');
  9107. var TOP_POINTER_MOVE = unsafeCastStringToDOMTopLevelType('pointermove');
  9108. var TOP_POINTER_OUT = unsafeCastStringToDOMTopLevelType('pointerout');
  9109. var TOP_POINTER_OVER = unsafeCastStringToDOMTopLevelType('pointerover');
  9110. var TOP_POINTER_UP = unsafeCastStringToDOMTopLevelType('pointerup');
  9111. var TOP_PROGRESS = unsafeCastStringToDOMTopLevelType('progress');
  9112. var TOP_RATE_CHANGE = unsafeCastStringToDOMTopLevelType('ratechange');
  9113. var TOP_RESET = unsafeCastStringToDOMTopLevelType('reset');
  9114. var TOP_SCROLL = unsafeCastStringToDOMTopLevelType('scroll');
  9115. var TOP_SEEKED = unsafeCastStringToDOMTopLevelType('seeked');
  9116. var TOP_SEEKING = unsafeCastStringToDOMTopLevelType('seeking');
  9117. var TOP_SELECTION_CHANGE = unsafeCastStringToDOMTopLevelType('selectionchange');
  9118. var TOP_STALLED = unsafeCastStringToDOMTopLevelType('stalled');
  9119. var TOP_SUBMIT = unsafeCastStringToDOMTopLevelType('submit');
  9120. var TOP_SUSPEND = unsafeCastStringToDOMTopLevelType('suspend');
  9121. var TOP_TEXT_INPUT = unsafeCastStringToDOMTopLevelType('textInput');
  9122. var TOP_TIME_UPDATE = unsafeCastStringToDOMTopLevelType('timeupdate');
  9123. var TOP_TOGGLE = unsafeCastStringToDOMTopLevelType('toggle');
  9124. var TOP_TOUCH_CANCEL = unsafeCastStringToDOMTopLevelType('touchcancel');
  9125. var TOP_TOUCH_END = unsafeCastStringToDOMTopLevelType('touchend');
  9126. var TOP_TOUCH_MOVE = unsafeCastStringToDOMTopLevelType('touchmove');
  9127. var TOP_TOUCH_START = unsafeCastStringToDOMTopLevelType('touchstart');
  9128. var TOP_TRANSITION_END = unsafeCastStringToDOMTopLevelType(getVendorPrefixedEventName('transitionend'));
  9129. var TOP_VOLUME_CHANGE = unsafeCastStringToDOMTopLevelType('volumechange');
  9130. var TOP_WAITING = unsafeCastStringToDOMTopLevelType('waiting');
  9131. var TOP_WHEEL = unsafeCastStringToDOMTopLevelType('wheel');
  9132. // List of events that need to be individually attached to media elements.
  9133. // Note that events in this list will *not* be listened to at the top level
  9134. // unless they're explicitly whitelisted in `ReactBrowserEventEmitter.listenTo`.
  9135. var mediaEventTypes = [TOP_ABORT, TOP_CAN_PLAY, TOP_CAN_PLAY_THROUGH, TOP_DURATION_CHANGE, TOP_EMPTIED, TOP_ENCRYPTED, TOP_ENDED, TOP_ERROR, TOP_LOADED_DATA, TOP_LOADED_METADATA, TOP_LOAD_START, TOP_PAUSE, TOP_PLAY, TOP_PLAYING, TOP_PROGRESS, TOP_RATE_CHANGE, TOP_SEEKED, TOP_SEEKING, TOP_STALLED, TOP_SUSPEND, TOP_TIME_UPDATE, TOP_VOLUME_CHANGE, TOP_WAITING];
  9136. function getRawEventName(topLevelType) {
  9137. return unsafeCastDOMTopLevelTypeToString(topLevelType);
  9138. }
  9139. /**
  9140. * These variables store information about text content of a target node,
  9141. * allowing comparison of content before and after a given event.
  9142. *
  9143. * Identify the node where selection currently begins, then observe
  9144. * both its text content and its current position in the DOM. Since the
  9145. * browser may natively replace the target node during composition, we can
  9146. * use its position to find its replacement.
  9147. *
  9148. *
  9149. */
  9150. var root = null;
  9151. var startText = null;
  9152. var fallbackText = null;
  9153. function initialize(nativeEventTarget) {
  9154. root = nativeEventTarget;
  9155. startText = getText();
  9156. return true;
  9157. }
  9158. function reset() {
  9159. root = null;
  9160. startText = null;
  9161. fallbackText = null;
  9162. }
  9163. function getData() {
  9164. if (fallbackText) {
  9165. return fallbackText;
  9166. }
  9167. var start = void 0;
  9168. var startValue = startText;
  9169. var startLength = startValue.length;
  9170. var end = void 0;
  9171. var endValue = getText();
  9172. var endLength = endValue.length;
  9173. for (start = 0; start < startLength; start++) {
  9174. if (startValue[start] !== endValue[start]) {
  9175. break;
  9176. }
  9177. }
  9178. var minEnd = startLength - start;
  9179. for (end = 1; end <= minEnd; end++) {
  9180. if (startValue[startLength - end] !== endValue[endLength - end]) {
  9181. break;
  9182. }
  9183. }
  9184. var sliceTail = end > 1 ? 1 - end : undefined;
  9185. fallbackText = endValue.slice(start, sliceTail);
  9186. return fallbackText;
  9187. }
  9188. function getText() {
  9189. if ('value' in root) {
  9190. return root.value;
  9191. }
  9192. return root.textContent;
  9193. }
  9194. /* eslint valid-typeof: 0 */
  9195. var EVENT_POOL_SIZE = 10;
  9196. /**
  9197. * @interface Event
  9198. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  9199. */
  9200. var EventInterface = {
  9201. type: null,
  9202. target: null,
  9203. // currentTarget is set when dispatching; no use in copying it here
  9204. currentTarget: function () {
  9205. return null;
  9206. },
  9207. eventPhase: null,
  9208. bubbles: null,
  9209. cancelable: null,
  9210. timeStamp: function (event) {
  9211. return event.timeStamp || Date.now();
  9212. },
  9213. defaultPrevented: null,
  9214. isTrusted: null
  9215. };
  9216. function functionThatReturnsTrue() {
  9217. return true;
  9218. }
  9219. function functionThatReturnsFalse() {
  9220. return false;
  9221. }
  9222. /**
  9223. * Synthetic events are dispatched by event plugins, typically in response to a
  9224. * top-level event delegation handler.
  9225. *
  9226. * These systems should generally use pooling to reduce the frequency of garbage
  9227. * collection. The system should check `isPersistent` to determine whether the
  9228. * event should be released into the pool after being dispatched. Users that
  9229. * need a persisted event should invoke `persist`.
  9230. *
  9231. * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
  9232. * normalizing browser quirks. Subclasses do not necessarily have to implement a
  9233. * DOM interface; custom application-specific events can also subclass this.
  9234. *
  9235. * @param {object} dispatchConfig Configuration used to dispatch this event.
  9236. * @param {*} targetInst Marker identifying the event target.
  9237. * @param {object} nativeEvent Native browser event.
  9238. * @param {DOMEventTarget} nativeEventTarget Target node.
  9239. */
  9240. function SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {
  9241. {
  9242. // these have a getter/setter for warnings
  9243. delete this.nativeEvent;
  9244. delete this.preventDefault;
  9245. delete this.stopPropagation;
  9246. delete this.isDefaultPrevented;
  9247. delete this.isPropagationStopped;
  9248. }
  9249. this.dispatchConfig = dispatchConfig;
  9250. this._targetInst = targetInst;
  9251. this.nativeEvent = nativeEvent;
  9252. var Interface = this.constructor.Interface;
  9253. for (var propName in Interface) {
  9254. if (!Interface.hasOwnProperty(propName)) {
  9255. continue;
  9256. }
  9257. {
  9258. delete this[propName]; // this has a getter/setter for warnings
  9259. }
  9260. var normalize = Interface[propName];
  9261. if (normalize) {
  9262. this[propName] = normalize(nativeEvent);
  9263. } else {
  9264. if (propName === 'target') {
  9265. this.target = nativeEventTarget;
  9266. } else {
  9267. this[propName] = nativeEvent[propName];
  9268. }
  9269. }
  9270. }
  9271. var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
  9272. if (defaultPrevented) {
  9273. this.isDefaultPrevented = functionThatReturnsTrue;
  9274. } else {
  9275. this.isDefaultPrevented = functionThatReturnsFalse;
  9276. }
  9277. this.isPropagationStopped = functionThatReturnsFalse;
  9278. return this;
  9279. }
  9280. _assign(SyntheticEvent.prototype, {
  9281. preventDefault: function () {
  9282. this.defaultPrevented = true;
  9283. var event = this.nativeEvent;
  9284. if (!event) {
  9285. return;
  9286. }
  9287. if (event.preventDefault) {
  9288. event.preventDefault();
  9289. } else if (typeof event.returnValue !== 'unknown') {
  9290. event.returnValue = false;
  9291. }
  9292. this.isDefaultPrevented = functionThatReturnsTrue;
  9293. },
  9294. stopPropagation: function () {
  9295. var event = this.nativeEvent;
  9296. if (!event) {
  9297. return;
  9298. }
  9299. if (event.stopPropagation) {
  9300. event.stopPropagation();
  9301. } else if (typeof event.cancelBubble !== 'unknown') {
  9302. // The ChangeEventPlugin registers a "propertychange" event for
  9303. // IE. This event does not support bubbling or cancelling, and
  9304. // any references to cancelBubble throw "Member not found". A
  9305. // typeof check of "unknown" circumvents this issue (and is also
  9306. // IE specific).
  9307. event.cancelBubble = true;
  9308. }
  9309. this.isPropagationStopped = functionThatReturnsTrue;
  9310. },
  9311. /**
  9312. * We release all dispatched `SyntheticEvent`s after each event loop, adding
  9313. * them back into the pool. This allows a way to hold onto a reference that
  9314. * won't be added back into the pool.
  9315. */
  9316. persist: function () {
  9317. this.isPersistent = functionThatReturnsTrue;
  9318. },
  9319. /**
  9320. * Checks if this event should be released back into the pool.
  9321. *
  9322. * @return {boolean} True if this should not be released, false otherwise.
  9323. */
  9324. isPersistent: functionThatReturnsFalse,
  9325. /**
  9326. * `PooledClass` looks for `destructor` on each instance it releases.
  9327. */
  9328. destructor: function () {
  9329. var Interface = this.constructor.Interface;
  9330. for (var propName in Interface) {
  9331. {
  9332. Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));
  9333. }
  9334. }
  9335. this.dispatchConfig = null;
  9336. this._targetInst = null;
  9337. this.nativeEvent = null;
  9338. this.isDefaultPrevented = functionThatReturnsFalse;
  9339. this.isPropagationStopped = functionThatReturnsFalse;
  9340. this._dispatchListeners = null;
  9341. this._dispatchInstances = null;
  9342. {
  9343. Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));
  9344. Object.defineProperty(this, 'isDefaultPrevented', getPooledWarningPropertyDefinition('isDefaultPrevented', functionThatReturnsFalse));
  9345. Object.defineProperty(this, 'isPropagationStopped', getPooledWarningPropertyDefinition('isPropagationStopped', functionThatReturnsFalse));
  9346. Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', function () {}));
  9347. Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', function () {}));
  9348. }
  9349. }
  9350. });
  9351. SyntheticEvent.Interface = EventInterface;
  9352. /**
  9353. * Helper to reduce boilerplate when creating subclasses.
  9354. */
  9355. SyntheticEvent.extend = function (Interface) {
  9356. var Super = this;
  9357. var E = function () {};
  9358. E.prototype = Super.prototype;
  9359. var prototype = new E();
  9360. function Class() {
  9361. return Super.apply(this, arguments);
  9362. }
  9363. _assign(prototype, Class.prototype);
  9364. Class.prototype = prototype;
  9365. Class.prototype.constructor = Class;
  9366. Class.Interface = _assign({}, Super.Interface, Interface);
  9367. Class.extend = Super.extend;
  9368. addEventPoolingTo(Class);
  9369. return Class;
  9370. };
  9371. addEventPoolingTo(SyntheticEvent);
  9372. /**
  9373. * Helper to nullify syntheticEvent instance properties when destructing
  9374. *
  9375. * @param {String} propName
  9376. * @param {?object} getVal
  9377. * @return {object} defineProperty object
  9378. */
  9379. function getPooledWarningPropertyDefinition(propName, getVal) {
  9380. var isFunction = typeof getVal === 'function';
  9381. return {
  9382. configurable: true,
  9383. set: set,
  9384. get: get
  9385. };
  9386. function set(val) {
  9387. var action = isFunction ? 'setting the method' : 'setting the property';
  9388. warn(action, 'This is effectively a no-op');
  9389. return val;
  9390. }
  9391. function get() {
  9392. var action = isFunction ? 'accessing the method' : 'accessing the property';
  9393. var result = isFunction ? 'This is a no-op function' : 'This is set to null';
  9394. warn(action, result);
  9395. return getVal;
  9396. }
  9397. function warn(action, result) {
  9398. var warningCondition = false;
  9399. !warningCondition ? warningWithoutStack$1(false, "This synthetic event is reused for performance reasons. If you're seeing this, " + "you're %s `%s` on a released/nullified synthetic event. %s. " + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;
  9400. }
  9401. }
  9402. function getPooledEvent(dispatchConfig, targetInst, nativeEvent, nativeInst) {
  9403. var EventConstructor = this;
  9404. if (EventConstructor.eventPool.length) {
  9405. var instance = EventConstructor.eventPool.pop();
  9406. EventConstructor.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);
  9407. return instance;
  9408. }
  9409. return new EventConstructor(dispatchConfig, targetInst, nativeEvent, nativeInst);
  9410. }
  9411. function releasePooledEvent(event) {
  9412. var EventConstructor = this;
  9413. !(event instanceof EventConstructor) ? invariant(false, 'Trying to release an event instance into a pool of a different type.') : void 0;
  9414. event.destructor();
  9415. if (EventConstructor.eventPool.length < EVENT_POOL_SIZE) {
  9416. EventConstructor.eventPool.push(event);
  9417. }
  9418. }
  9419. function addEventPoolingTo(EventConstructor) {
  9420. EventConstructor.eventPool = [];
  9421. EventConstructor.getPooled = getPooledEvent;
  9422. EventConstructor.release = releasePooledEvent;
  9423. }
  9424. /**
  9425. * @interface Event
  9426. * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
  9427. */
  9428. var SyntheticCompositionEvent = SyntheticEvent.extend({
  9429. data: null
  9430. });
  9431. /**
  9432. * @interface Event
  9433. * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105
  9434. * /#events-inputevents
  9435. */
  9436. var SyntheticInputEvent = SyntheticEvent.extend({
  9437. data: null
  9438. });
  9439. var END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space
  9440. var START_KEYCODE = 229;
  9441. var canUseCompositionEvent = canUseDOM && 'CompositionEvent' in window;
  9442. var documentMode = null;
  9443. if (canUseDOM && 'documentMode' in document) {
  9444. documentMode = document.documentMode;
  9445. }
  9446. // Webkit offers a very useful `textInput` event that can be used to
  9447. // directly represent `beforeInput`. The IE `textinput` event is not as
  9448. // useful, so we don't use it.
  9449. var canUseTextInputEvent = canUseDOM && 'TextEvent' in window && !documentMode;
  9450. // In IE9+, we have access to composition events, but the data supplied
  9451. // by the native compositionend event may be incorrect. Japanese ideographic
  9452. // spaces, for instance (\u3000) are not recorded correctly.
  9453. var useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);
  9454. var SPACEBAR_CODE = 32;
  9455. var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);
  9456. // Events and their corresponding property names.
  9457. var eventTypes = {
  9458. beforeInput: {
  9459. phasedRegistrationNames: {
  9460. bubbled: 'onBeforeInput',
  9461. captured: 'onBeforeInputCapture'
  9462. },
  9463. dependencies: [TOP_COMPOSITION_END, TOP_KEY_PRESS, TOP_TEXT_INPUT, TOP_PASTE]
  9464. },
  9465. compositionEnd: {
  9466. phasedRegistrationNames: {
  9467. bubbled: 'onCompositionEnd',
  9468. captured: 'onCompositionEndCapture'
  9469. },
  9470. dependencies: [TOP_BLUR, TOP_COMPOSITION_END, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
  9471. },
  9472. compositionStart: {
  9473. phasedRegistrationNames: {
  9474. bubbled: 'onCompositionStart',
  9475. captured: 'onCompositionStartCapture'
  9476. },
  9477. dependencies: [TOP_BLUR, TOP_COMPOSITION_START, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
  9478. },
  9479. compositionUpdate: {
  9480. phasedRegistrationNames: {
  9481. bubbled: 'onCompositionUpdate',
  9482. captured: 'onCompositionUpdateCapture'
  9483. },
  9484. dependencies: [TOP_BLUR, TOP_COMPOSITION_UPDATE, TOP_KEY_DOWN, TOP_KEY_PRESS, TOP_KEY_UP, TOP_MOUSE_DOWN]
  9485. }
  9486. };
  9487. // Track whether we've ever handled a keypress on the space key.
  9488. var hasSpaceKeypress = false;
  9489. /**
  9490. * Return whether a native keypress event is assumed to be a command.
  9491. * This is required because Firefox fires `keypress` events for key commands
  9492. * (cut, copy, select-all, etc.) even though no character is inserted.
  9493. */
  9494. function isKeypressCommand(nativeEvent) {
  9495. return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&
  9496. // ctrlKey && altKey is equivalent to AltGr, and is not a command.
  9497. !(nativeEvent.ctrlKey && nativeEvent.altKey);
  9498. }
  9499. /**
  9500. * Translate native top level events into event types.
  9501. *
  9502. * @param {string} topLevelType
  9503. * @return {object}
  9504. */
  9505. function getCompositionEventType(topLevelType) {
  9506. switch (topLevelType) {
  9507. case TOP_COMPOSITION_START:
  9508. return eventTypes.compositionStart;
  9509. case TOP_COMPOSITION_END:
  9510. return eventTypes.compositionEnd;
  9511. case TOP_COMPOSITION_UPDATE:
  9512. return eventTypes.compositionUpdate;
  9513. }
  9514. }
  9515. /**
  9516. * Does our fallback best-guess model think this event signifies that
  9517. * composition has begun?
  9518. *
  9519. * @param {string} topLevelType
  9520. * @param {object} nativeEvent
  9521. * @return {boolean}
  9522. */
  9523. function isFallbackCompositionStart(topLevelType, nativeEvent) {
  9524. return topLevelType === TOP_KEY_DOWN && nativeEvent.keyCode === START_KEYCODE;
  9525. }
  9526. /**
  9527. * Does our fallback mode think that this event is the end of composition?
  9528. *
  9529. * @param {string} topLevelType
  9530. * @param {object} nativeEvent
  9531. * @return {boolean}
  9532. */
  9533. function isFallbackCompositionEnd(topLevelType, nativeEvent) {
  9534. switch (topLevelType) {
  9535. case TOP_KEY_UP:
  9536. // Command keys insert or clear IME input.
  9537. return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
  9538. case TOP_KEY_DOWN:
  9539. // Expect IME keyCode on each keydown. If we get any other
  9540. // code we must have exited earlier.
  9541. return nativeEvent.keyCode !== START_KEYCODE;
  9542. case TOP_KEY_PRESS:
  9543. case TOP_MOUSE_DOWN:
  9544. case TOP_BLUR:
  9545. // Events are not possible without cancelling IME.
  9546. return true;
  9547. default:
  9548. return false;
  9549. }
  9550. }
  9551. /**
  9552. * Google Input Tools provides composition data via a CustomEvent,
  9553. * with the `data` property populated in the `detail` object. If this
  9554. * is available on the event object, use it. If not, this is a plain
  9555. * composition event and we have nothing special to extract.
  9556. *
  9557. * @param {object} nativeEvent
  9558. * @return {?string}
  9559. */
  9560. function getDataFromCustomEvent(nativeEvent) {
  9561. var detail = nativeEvent.detail;
  9562. if (typeof detail === 'object' && 'data' in detail) {
  9563. return detail.data;
  9564. }
  9565. return null;
  9566. }
  9567. /**
  9568. * Check if a composition event was triggered by Korean IME.
  9569. * Our fallback mode does not work well with IE's Korean IME,
  9570. * so just use native composition events when Korean IME is used.
  9571. * Although CompositionEvent.locale property is deprecated,
  9572. * it is available in IE, where our fallback mode is enabled.
  9573. *
  9574. * @param {object} nativeEvent
  9575. * @return {boolean}
  9576. */
  9577. function isUsingKoreanIME(nativeEvent) {
  9578. return nativeEvent.locale === 'ko';
  9579. }
  9580. // Track the current IME composition status, if any.
  9581. var isComposing = false;
  9582. /**
  9583. * @return {?object} A SyntheticCompositionEvent.
  9584. */
  9585. function extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  9586. var eventType = void 0;
  9587. var fallbackData = void 0;
  9588. if (canUseCompositionEvent) {
  9589. eventType = getCompositionEventType(topLevelType);
  9590. } else if (!isComposing) {
  9591. if (isFallbackCompositionStart(topLevelType, nativeEvent)) {
  9592. eventType = eventTypes.compositionStart;
  9593. }
  9594. } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {
  9595. eventType = eventTypes.compositionEnd;
  9596. }
  9597. if (!eventType) {
  9598. return null;
  9599. }
  9600. if (useFallbackCompositionData && !isUsingKoreanIME(nativeEvent)) {
  9601. // The current composition is stored statically and must not be
  9602. // overwritten while composition continues.
  9603. if (!isComposing && eventType === eventTypes.compositionStart) {
  9604. isComposing = initialize(nativeEventTarget);
  9605. } else if (eventType === eventTypes.compositionEnd) {
  9606. if (isComposing) {
  9607. fallbackData = getData();
  9608. }
  9609. }
  9610. }
  9611. var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);
  9612. if (fallbackData) {
  9613. // Inject data generated from fallback path into the synthetic event.
  9614. // This matches the property of native CompositionEventInterface.
  9615. event.data = fallbackData;
  9616. } else {
  9617. var customData = getDataFromCustomEvent(nativeEvent);
  9618. if (customData !== null) {
  9619. event.data = customData;
  9620. }
  9621. }
  9622. accumulateTwoPhaseDispatches(event);
  9623. return event;
  9624. }
  9625. /**
  9626. * @param {TopLevelType} topLevelType Number from `TopLevelType`.
  9627. * @param {object} nativeEvent Native browser event.
  9628. * @return {?string} The string corresponding to this `beforeInput` event.
  9629. */
  9630. function getNativeBeforeInputChars(topLevelType, nativeEvent) {
  9631. switch (topLevelType) {
  9632. case TOP_COMPOSITION_END:
  9633. return getDataFromCustomEvent(nativeEvent);
  9634. case TOP_KEY_PRESS:
  9635. /**
  9636. * If native `textInput` events are available, our goal is to make
  9637. * use of them. However, there is a special case: the spacebar key.
  9638. * In Webkit, preventing default on a spacebar `textInput` event
  9639. * cancels character insertion, but it *also* causes the browser
  9640. * to fall back to its default spacebar behavior of scrolling the
  9641. * page.
  9642. *
  9643. * Tracking at:
  9644. * https://code.google.com/p/chromium/issues/detail?id=355103
  9645. *
  9646. * To avoid this issue, use the keypress event as if no `textInput`
  9647. * event is available.
  9648. */
  9649. var which = nativeEvent.which;
  9650. if (which !== SPACEBAR_CODE) {
  9651. return null;
  9652. }
  9653. hasSpaceKeypress = true;
  9654. return SPACEBAR_CHAR;
  9655. case TOP_TEXT_INPUT:
  9656. // Record the characters to be added to the DOM.
  9657. var chars = nativeEvent.data;
  9658. // If it's a spacebar character, assume that we have already handled
  9659. // it at the keypress level and bail immediately. Android Chrome
  9660. // doesn't give us keycodes, so we need to ignore it.
  9661. if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {
  9662. return null;
  9663. }
  9664. return chars;
  9665. default:
  9666. // For other native event types, do nothing.
  9667. return null;
  9668. }
  9669. }
  9670. /**
  9671. * For browsers that do not provide the `textInput` event, extract the
  9672. * appropriate string to use for SyntheticInputEvent.
  9673. *
  9674. * @param {number} topLevelType Number from `TopLevelEventTypes`.
  9675. * @param {object} nativeEvent Native browser event.
  9676. * @return {?string} The fallback string for this `beforeInput` event.
  9677. */
  9678. function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
  9679. // If we are currently composing (IME) and using a fallback to do so,
  9680. // try to extract the composed characters from the fallback object.
  9681. // If composition event is available, we extract a string only at
  9682. // compositionevent, otherwise extract it at fallback events.
  9683. if (isComposing) {
  9684. if (topLevelType === TOP_COMPOSITION_END || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {
  9685. var chars = getData();
  9686. reset();
  9687. isComposing = false;
  9688. return chars;
  9689. }
  9690. return null;
  9691. }
  9692. switch (topLevelType) {
  9693. case TOP_PASTE:
  9694. // If a paste event occurs after a keypress, throw out the input
  9695. // chars. Paste events should not lead to BeforeInput events.
  9696. return null;
  9697. case TOP_KEY_PRESS:
  9698. /**
  9699. * As of v27, Firefox may fire keypress events even when no character
  9700. * will be inserted. A few possibilities:
  9701. *
  9702. * - `which` is `0`. Arrow keys, Esc key, etc.
  9703. *
  9704. * - `which` is the pressed key code, but no char is available.
  9705. * Ex: 'AltGr + d` in Polish. There is no modified character for
  9706. * this key combination and no character is inserted into the
  9707. * document, but FF fires the keypress for char code `100` anyway.
  9708. * No `input` event will occur.
  9709. *
  9710. * - `which` is the pressed key code, but a command combination is
  9711. * being used. Ex: `Cmd+C`. No character is inserted, and no
  9712. * `input` event will occur.
  9713. */
  9714. if (!isKeypressCommand(nativeEvent)) {
  9715. // IE fires the `keypress` event when a user types an emoji via
  9716. // Touch keyboard of Windows. In such a case, the `char` property
  9717. // holds an emoji character like `\uD83D\uDE0A`. Because its length
  9718. // is 2, the property `which` does not represent an emoji correctly.
  9719. // In such a case, we directly return the `char` property instead of
  9720. // using `which`.
  9721. if (nativeEvent.char && nativeEvent.char.length > 1) {
  9722. return nativeEvent.char;
  9723. } else if (nativeEvent.which) {
  9724. return String.fromCharCode(nativeEvent.which);
  9725. }
  9726. }
  9727. return null;
  9728. case TOP_COMPOSITION_END:
  9729. return useFallbackCompositionData && !isUsingKoreanIME(nativeEvent) ? null : nativeEvent.data;
  9730. default:
  9731. return null;
  9732. }
  9733. }
  9734. /**
  9735. * Extract a SyntheticInputEvent for `beforeInput`, based on either native
  9736. * `textInput` or fallback behavior.
  9737. *
  9738. * @return {?object} A SyntheticInputEvent.
  9739. */
  9740. function extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  9741. var chars = void 0;
  9742. if (canUseTextInputEvent) {
  9743. chars = getNativeBeforeInputChars(topLevelType, nativeEvent);
  9744. } else {
  9745. chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);
  9746. }
  9747. // If no characters are being inserted, no BeforeInput event should
  9748. // be fired.
  9749. if (!chars) {
  9750. return null;
  9751. }
  9752. var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);
  9753. event.data = chars;
  9754. accumulateTwoPhaseDispatches(event);
  9755. return event;
  9756. }
  9757. /**
  9758. * Create an `onBeforeInput` event to match
  9759. * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.
  9760. *
  9761. * This event plugin is based on the native `textInput` event
  9762. * available in Chrome, Safari, Opera, and IE. This event fires after
  9763. * `onKeyPress` and `onCompositionEnd`, but before `onInput`.
  9764. *
  9765. * `beforeInput` is spec'd but not implemented in any browsers, and
  9766. * the `input` event does not provide any useful information about what has
  9767. * actually been added, contrary to the spec. Thus, `textInput` is the best
  9768. * available event to identify the characters that have actually been inserted
  9769. * into the target node.
  9770. *
  9771. * This plugin is also responsible for emitting `composition` events, thus
  9772. * allowing us to share composition fallback code for both `beforeInput` and
  9773. * `composition` event types.
  9774. */
  9775. var BeforeInputEventPlugin = {
  9776. eventTypes: eventTypes,
  9777. extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  9778. var composition = extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget);
  9779. var beforeInput = extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget);
  9780. if (composition === null) {
  9781. return beforeInput;
  9782. }
  9783. if (beforeInput === null) {
  9784. return composition;
  9785. }
  9786. return [composition, beforeInput];
  9787. }
  9788. };
  9789. // Use to restore controlled state after a change event has fired.
  9790. var restoreImpl = null;
  9791. var restoreTarget = null;
  9792. var restoreQueue = null;
  9793. function restoreStateOfTarget(target) {
  9794. // We perform this translation at the end of the event loop so that we
  9795. // always receive the correct fiber here
  9796. var internalInstance = getInstanceFromNode(target);
  9797. if (!internalInstance) {
  9798. // Unmounted
  9799. return;
  9800. }
  9801. !(typeof restoreImpl === 'function') ? invariant(false, 'setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  9802. var props = getFiberCurrentPropsFromNode(internalInstance.stateNode);
  9803. restoreImpl(internalInstance.stateNode, internalInstance.type, props);
  9804. }
  9805. function setRestoreImplementation(impl) {
  9806. restoreImpl = impl;
  9807. }
  9808. function enqueueStateRestore(target) {
  9809. if (restoreTarget) {
  9810. if (restoreQueue) {
  9811. restoreQueue.push(target);
  9812. } else {
  9813. restoreQueue = [target];
  9814. }
  9815. } else {
  9816. restoreTarget = target;
  9817. }
  9818. }
  9819. function needsStateRestore() {
  9820. return restoreTarget !== null || restoreQueue !== null;
  9821. }
  9822. function restoreStateIfNeeded() {
  9823. if (!restoreTarget) {
  9824. return;
  9825. }
  9826. var target = restoreTarget;
  9827. var queuedTargets = restoreQueue;
  9828. restoreTarget = null;
  9829. restoreQueue = null;
  9830. restoreStateOfTarget(target);
  9831. if (queuedTargets) {
  9832. for (var i = 0; i < queuedTargets.length; i++) {
  9833. restoreStateOfTarget(queuedTargets[i]);
  9834. }
  9835. }
  9836. }
  9837. // Used as a way to call batchedUpdates when we don't have a reference to
  9838. // the renderer. Such as when we're dispatching events or if third party
  9839. // libraries need to call batchedUpdates. Eventually, this API will go away when
  9840. // everything is batched by default. We'll then have a similar API to opt-out of
  9841. // scheduled work and instead do synchronous work.
  9842. // Defaults
  9843. var _batchedUpdatesImpl = function (fn, bookkeeping) {
  9844. return fn(bookkeeping);
  9845. };
  9846. var _interactiveUpdatesImpl = function (fn, a, b) {
  9847. return fn(a, b);
  9848. };
  9849. var _flushInteractiveUpdatesImpl = function () {};
  9850. var isBatching = false;
  9851. function batchedUpdates(fn, bookkeeping) {
  9852. if (isBatching) {
  9853. // If we are currently inside another batch, we need to wait until it
  9854. // fully completes before restoring state.
  9855. return fn(bookkeeping);
  9856. }
  9857. isBatching = true;
  9858. try {
  9859. return _batchedUpdatesImpl(fn, bookkeeping);
  9860. } finally {
  9861. // Here we wait until all updates have propagated, which is important
  9862. // when using controlled components within layers:
  9863. // https://github.com/facebook/react/issues/1698
  9864. // Then we restore state of any controlled component.
  9865. isBatching = false;
  9866. var controlledComponentsHavePendingUpdates = needsStateRestore();
  9867. if (controlledComponentsHavePendingUpdates) {
  9868. // If a controlled event was fired, we may need to restore the state of
  9869. // the DOM node back to the controlled value. This is necessary when React
  9870. // bails out of the update without touching the DOM.
  9871. _flushInteractiveUpdatesImpl();
  9872. restoreStateIfNeeded();
  9873. }
  9874. }
  9875. }
  9876. function interactiveUpdates(fn, a, b) {
  9877. return _interactiveUpdatesImpl(fn, a, b);
  9878. }
  9879. function setBatchingImplementation(batchedUpdatesImpl, interactiveUpdatesImpl, flushInteractiveUpdatesImpl) {
  9880. _batchedUpdatesImpl = batchedUpdatesImpl;
  9881. _interactiveUpdatesImpl = interactiveUpdatesImpl;
  9882. _flushInteractiveUpdatesImpl = flushInteractiveUpdatesImpl;
  9883. }
  9884. /**
  9885. * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
  9886. */
  9887. var supportedInputTypes = {
  9888. color: true,
  9889. date: true,
  9890. datetime: true,
  9891. 'datetime-local': true,
  9892. email: true,
  9893. month: true,
  9894. number: true,
  9895. password: true,
  9896. range: true,
  9897. search: true,
  9898. tel: true,
  9899. text: true,
  9900. time: true,
  9901. url: true,
  9902. week: true
  9903. };
  9904. function isTextInputElement(elem) {
  9905. var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
  9906. if (nodeName === 'input') {
  9907. return !!supportedInputTypes[elem.type];
  9908. }
  9909. if (nodeName === 'textarea') {
  9910. return true;
  9911. }
  9912. return false;
  9913. }
  9914. /**
  9915. * HTML nodeType values that represent the type of the node
  9916. */
  9917. var ELEMENT_NODE = 1;
  9918. var TEXT_NODE = 3;
  9919. var COMMENT_NODE = 8;
  9920. var DOCUMENT_NODE = 9;
  9921. var DOCUMENT_FRAGMENT_NODE = 11;
  9922. /**
  9923. * Gets the target node from a native browser event by accounting for
  9924. * inconsistencies in browser DOM APIs.
  9925. *
  9926. * @param {object} nativeEvent Native browser event.
  9927. * @return {DOMEventTarget} Target node.
  9928. */
  9929. function getEventTarget(nativeEvent) {
  9930. // Fallback to nativeEvent.srcElement for IE9
  9931. // https://github.com/facebook/react/issues/12506
  9932. var target = nativeEvent.target || nativeEvent.srcElement || window;
  9933. // Normalize SVG <use> element events #4963
  9934. if (target.correspondingUseElement) {
  9935. target = target.correspondingUseElement;
  9936. }
  9937. // Safari may fire events on text nodes (Node.TEXT_NODE is 3).
  9938. // @see http://www.quirksmode.org/js/events_properties.html
  9939. return target.nodeType === TEXT_NODE ? target.parentNode : target;
  9940. }
  9941. /**
  9942. * Checks if an event is supported in the current execution environment.
  9943. *
  9944. * NOTE: This will not work correctly for non-generic events such as `change`,
  9945. * `reset`, `load`, `error`, and `select`.
  9946. *
  9947. * Borrows from Modernizr.
  9948. *
  9949. * @param {string} eventNameSuffix Event name, e.g. "click".
  9950. * @return {boolean} True if the event is supported.
  9951. * @internal
  9952. * @license Modernizr 3.0.0pre (Custom Build) | MIT
  9953. */
  9954. function isEventSupported(eventNameSuffix) {
  9955. if (!canUseDOM) {
  9956. return false;
  9957. }
  9958. var eventName = 'on' + eventNameSuffix;
  9959. var isSupported = eventName in document;
  9960. if (!isSupported) {
  9961. var element = document.createElement('div');
  9962. element.setAttribute(eventName, 'return;');
  9963. isSupported = typeof element[eventName] === 'function';
  9964. }
  9965. return isSupported;
  9966. }
  9967. function isCheckable(elem) {
  9968. var type = elem.type;
  9969. var nodeName = elem.nodeName;
  9970. return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');
  9971. }
  9972. function getTracker(node) {
  9973. return node._valueTracker;
  9974. }
  9975. function detachTracker(node) {
  9976. node._valueTracker = null;
  9977. }
  9978. function getValueFromNode(node) {
  9979. var value = '';
  9980. if (!node) {
  9981. return value;
  9982. }
  9983. if (isCheckable(node)) {
  9984. value = node.checked ? 'true' : 'false';
  9985. } else {
  9986. value = node.value;
  9987. }
  9988. return value;
  9989. }
  9990. function trackValueOnNode(node) {
  9991. var valueField = isCheckable(node) ? 'checked' : 'value';
  9992. var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);
  9993. var currentValue = '' + node[valueField];
  9994. // if someone has already defined a value or Safari, then bail
  9995. // and don't track value will cause over reporting of changes,
  9996. // but it's better then a hard failure
  9997. // (needed for certain tests that spyOn input values and Safari)
  9998. if (node.hasOwnProperty(valueField) || typeof descriptor === 'undefined' || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') {
  9999. return;
  10000. }
  10001. var get = descriptor.get,
  10002. set = descriptor.set;
  10003. Object.defineProperty(node, valueField, {
  10004. configurable: true,
  10005. get: function () {
  10006. return get.call(this);
  10007. },
  10008. set: function (value) {
  10009. currentValue = '' + value;
  10010. set.call(this, value);
  10011. }
  10012. });
  10013. // We could've passed this the first time
  10014. // but it triggers a bug in IE11 and Edge 14/15.
  10015. // Calling defineProperty() again should be equivalent.
  10016. // https://github.com/facebook/react/issues/11768
  10017. Object.defineProperty(node, valueField, {
  10018. enumerable: descriptor.enumerable
  10019. });
  10020. var tracker = {
  10021. getValue: function () {
  10022. return currentValue;
  10023. },
  10024. setValue: function (value) {
  10025. currentValue = '' + value;
  10026. },
  10027. stopTracking: function () {
  10028. detachTracker(node);
  10029. delete node[valueField];
  10030. }
  10031. };
  10032. return tracker;
  10033. }
  10034. function track(node) {
  10035. if (getTracker(node)) {
  10036. return;
  10037. }
  10038. // TODO: Once it's just Fiber we can move this to node._wrapperState
  10039. node._valueTracker = trackValueOnNode(node);
  10040. }
  10041. function updateValueIfChanged(node) {
  10042. if (!node) {
  10043. return false;
  10044. }
  10045. var tracker = getTracker(node);
  10046. // if there is no tracker at this point it's unlikely
  10047. // that trying again will succeed
  10048. if (!tracker) {
  10049. return true;
  10050. }
  10051. var lastValue = tracker.getValue();
  10052. var nextValue = getValueFromNode(node);
  10053. if (nextValue !== lastValue) {
  10054. tracker.setValue(nextValue);
  10055. return true;
  10056. }
  10057. return false;
  10058. }
  10059. var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
  10060. var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
  10061. var describeComponentFrame = function (name, source, ownerName) {
  10062. var sourceInfo = '';
  10063. if (source) {
  10064. var path = source.fileName;
  10065. var fileName = path.replace(BEFORE_SLASH_RE, '');
  10066. {
  10067. // In DEV, include code for a common special case:
  10068. // prefer "folder/index.js" instead of just "index.js".
  10069. if (/^index\./.test(fileName)) {
  10070. var match = path.match(BEFORE_SLASH_RE);
  10071. if (match) {
  10072. var pathBeforeSlash = match[1];
  10073. if (pathBeforeSlash) {
  10074. var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
  10075. fileName = folderName + '/' + fileName;
  10076. }
  10077. }
  10078. }
  10079. }
  10080. sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
  10081. } else if (ownerName) {
  10082. sourceInfo = ' (created by ' + ownerName + ')';
  10083. }
  10084. return '\n in ' + (name || 'Unknown') + sourceInfo;
  10085. };
  10086. // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
  10087. // nor polyfill, then a plain number is used for performance.
  10088. var hasSymbol = typeof Symbol === 'function' && Symbol.for;
  10089. var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
  10090. var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
  10091. var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
  10092. var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
  10093. var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
  10094. var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
  10095. var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
  10096. var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
  10097. var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
  10098. var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
  10099. var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
  10100. var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
  10101. var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  10102. var FAUX_ITERATOR_SYMBOL = '@@iterator';
  10103. function getIteratorFn(maybeIterable) {
  10104. if (maybeIterable === null || typeof maybeIterable !== 'object') {
  10105. return null;
  10106. }
  10107. var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
  10108. if (typeof maybeIterator === 'function') {
  10109. return maybeIterator;
  10110. }
  10111. return null;
  10112. }
  10113. var Pending = 0;
  10114. var Resolved = 1;
  10115. var Rejected = 2;
  10116. function refineResolvedLazyComponent(lazyComponent) {
  10117. return lazyComponent._status === Resolved ? lazyComponent._result : null;
  10118. }
  10119. function getWrappedName(outerType, innerType, wrapperName) {
  10120. var functionName = innerType.displayName || innerType.name || '';
  10121. return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
  10122. }
  10123. function getComponentName(type) {
  10124. if (type == null) {
  10125. // Host root, text node or just invalid type.
  10126. return null;
  10127. }
  10128. {
  10129. if (typeof type.tag === 'number') {
  10130. warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
  10131. }
  10132. }
  10133. if (typeof type === 'function') {
  10134. return type.displayName || type.name || null;
  10135. }
  10136. if (typeof type === 'string') {
  10137. return type;
  10138. }
  10139. switch (type) {
  10140. case REACT_CONCURRENT_MODE_TYPE:
  10141. return 'ConcurrentMode';
  10142. case REACT_FRAGMENT_TYPE:
  10143. return 'Fragment';
  10144. case REACT_PORTAL_TYPE:
  10145. return 'Portal';
  10146. case REACT_PROFILER_TYPE:
  10147. return 'Profiler';
  10148. case REACT_STRICT_MODE_TYPE:
  10149. return 'StrictMode';
  10150. case REACT_SUSPENSE_TYPE:
  10151. return 'Suspense';
  10152. }
  10153. if (typeof type === 'object') {
  10154. switch (type.$$typeof) {
  10155. case REACT_CONTEXT_TYPE:
  10156. return 'Context.Consumer';
  10157. case REACT_PROVIDER_TYPE:
  10158. return 'Context.Provider';
  10159. case REACT_FORWARD_REF_TYPE:
  10160. return getWrappedName(type, type.render, 'ForwardRef');
  10161. case REACT_MEMO_TYPE:
  10162. return getComponentName(type.type);
  10163. case REACT_LAZY_TYPE:
  10164. {
  10165. var thenable = type;
  10166. var resolvedThenable = refineResolvedLazyComponent(thenable);
  10167. if (resolvedThenable) {
  10168. return getComponentName(resolvedThenable);
  10169. }
  10170. }
  10171. }
  10172. }
  10173. return null;
  10174. }
  10175. var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
  10176. function describeFiber(fiber) {
  10177. switch (fiber.tag) {
  10178. case IndeterminateComponent:
  10179. case LazyComponent:
  10180. case FunctionComponent:
  10181. case ClassComponent:
  10182. case HostComponent:
  10183. case Mode:
  10184. case SuspenseComponent:
  10185. var owner = fiber._debugOwner;
  10186. var source = fiber._debugSource;
  10187. var name = getComponentName(fiber.type);
  10188. var ownerName = null;
  10189. if (owner) {
  10190. ownerName = getComponentName(owner.type);
  10191. }
  10192. return describeComponentFrame(name, source, ownerName);
  10193. default:
  10194. return '';
  10195. }
  10196. }
  10197. function getStackByFiberInDevAndProd(workInProgress) {
  10198. var info = '';
  10199. var node = workInProgress;
  10200. do {
  10201. info += describeFiber(node);
  10202. node = node.return;
  10203. } while (node);
  10204. return info;
  10205. }
  10206. var current = null;
  10207. var phase = null;
  10208. function getCurrentFiberOwnerNameInDevOrNull() {
  10209. {
  10210. if (current === null) {
  10211. return null;
  10212. }
  10213. var owner = current._debugOwner;
  10214. if (owner !== null && typeof owner !== 'undefined') {
  10215. return getComponentName(owner.type);
  10216. }
  10217. }
  10218. return null;
  10219. }
  10220. function getCurrentFiberStackInDev() {
  10221. {
  10222. if (current === null) {
  10223. return '';
  10224. }
  10225. // Safe because if current fiber exists, we are reconciling,
  10226. // and it is guaranteed to be the work-in-progress version.
  10227. return getStackByFiberInDevAndProd(current);
  10228. }
  10229. return '';
  10230. }
  10231. function resetCurrentFiber() {
  10232. {
  10233. ReactDebugCurrentFrame.getCurrentStack = null;
  10234. current = null;
  10235. phase = null;
  10236. }
  10237. }
  10238. function setCurrentFiber(fiber) {
  10239. {
  10240. ReactDebugCurrentFrame.getCurrentStack = getCurrentFiberStackInDev;
  10241. current = fiber;
  10242. phase = null;
  10243. }
  10244. }
  10245. function setCurrentPhase(lifeCyclePhase) {
  10246. {
  10247. phase = lifeCyclePhase;
  10248. }
  10249. }
  10250. /**
  10251. * Similar to invariant but only logs a warning if the condition is not met.
  10252. * This can be used to log issues in development environments in critical
  10253. * paths. Removing the logging code for production environments will keep the
  10254. * same logic and follow the same code paths.
  10255. */
  10256. var warning = warningWithoutStack$1;
  10257. {
  10258. warning = function (condition, format) {
  10259. if (condition) {
  10260. return;
  10261. }
  10262. var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
  10263. var stack = ReactDebugCurrentFrame.getStackAddendum();
  10264. // eslint-disable-next-line react-internal/warning-and-invariant-args
  10265. for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
  10266. args[_key - 2] = arguments[_key];
  10267. }
  10268. warningWithoutStack$1.apply(undefined, [false, format + '%s'].concat(args, [stack]));
  10269. };
  10270. }
  10271. var warning$1 = warning;
  10272. // A reserved attribute.
  10273. // It is handled by React separately and shouldn't be written to the DOM.
  10274. var RESERVED = 0;
  10275. // A simple string attribute.
  10276. // Attributes that aren't in the whitelist are presumed to have this type.
  10277. var STRING = 1;
  10278. // A string attribute that accepts booleans in React. In HTML, these are called
  10279. // "enumerated" attributes with "true" and "false" as possible values.
  10280. // When true, it should be set to a "true" string.
  10281. // When false, it should be set to a "false" string.
  10282. var BOOLEANISH_STRING = 2;
  10283. // A real boolean attribute.
  10284. // When true, it should be present (set either to an empty string or its name).
  10285. // When false, it should be omitted.
  10286. var BOOLEAN = 3;
  10287. // An attribute that can be used as a flag as well as with a value.
  10288. // When true, it should be present (set either to an empty string or its name).
  10289. // When false, it should be omitted.
  10290. // For any other value, should be present with that value.
  10291. var OVERLOADED_BOOLEAN = 4;
  10292. // An attribute that must be numeric or parse as a numeric.
  10293. // When falsy, it should be removed.
  10294. var NUMERIC = 5;
  10295. // An attribute that must be positive numeric or parse as a positive numeric.
  10296. // When falsy, it should be removed.
  10297. var POSITIVE_NUMERIC = 6;
  10298. /* eslint-disable max-len */
  10299. var ATTRIBUTE_NAME_START_CHAR = ':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';
  10300. /* eslint-enable max-len */
  10301. var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040';
  10302. var ROOT_ATTRIBUTE_NAME = 'data-reactroot';
  10303. var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$');
  10304. var hasOwnProperty = Object.prototype.hasOwnProperty;
  10305. var illegalAttributeNameCache = {};
  10306. var validatedAttributeNameCache = {};
  10307. function isAttributeNameSafe(attributeName) {
  10308. if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) {
  10309. return true;
  10310. }
  10311. if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) {
  10312. return false;
  10313. }
  10314. if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {
  10315. validatedAttributeNameCache[attributeName] = true;
  10316. return true;
  10317. }
  10318. illegalAttributeNameCache[attributeName] = true;
  10319. {
  10320. warning$1(false, 'Invalid attribute name: `%s`', attributeName);
  10321. }
  10322. return false;
  10323. }
  10324. function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) {
  10325. if (propertyInfo !== null) {
  10326. return propertyInfo.type === RESERVED;
  10327. }
  10328. if (isCustomComponentTag) {
  10329. return false;
  10330. }
  10331. if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) {
  10332. return true;
  10333. }
  10334. return false;
  10335. }
  10336. function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) {
  10337. if (propertyInfo !== null && propertyInfo.type === RESERVED) {
  10338. return false;
  10339. }
  10340. switch (typeof value) {
  10341. case 'function':
  10342. // $FlowIssue symbol is perfectly valid here
  10343. case 'symbol':
  10344. // eslint-disable-line
  10345. return true;
  10346. case 'boolean':
  10347. {
  10348. if (isCustomComponentTag) {
  10349. return false;
  10350. }
  10351. if (propertyInfo !== null) {
  10352. return !propertyInfo.acceptsBooleans;
  10353. } else {
  10354. var prefix = name.toLowerCase().slice(0, 5);
  10355. return prefix !== 'data-' && prefix !== 'aria-';
  10356. }
  10357. }
  10358. default:
  10359. return false;
  10360. }
  10361. }
  10362. function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) {
  10363. if (value === null || typeof value === 'undefined') {
  10364. return true;
  10365. }
  10366. if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
  10367. return true;
  10368. }
  10369. if (isCustomComponentTag) {
  10370. return false;
  10371. }
  10372. if (propertyInfo !== null) {
  10373. switch (propertyInfo.type) {
  10374. case BOOLEAN:
  10375. return !value;
  10376. case OVERLOADED_BOOLEAN:
  10377. return value === false;
  10378. case NUMERIC:
  10379. return isNaN(value);
  10380. case POSITIVE_NUMERIC:
  10381. return isNaN(value) || value < 1;
  10382. }
  10383. }
  10384. return false;
  10385. }
  10386. function getPropertyInfo(name) {
  10387. return properties.hasOwnProperty(name) ? properties[name] : null;
  10388. }
  10389. function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace) {
  10390. this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
  10391. this.attributeName = attributeName;
  10392. this.attributeNamespace = attributeNamespace;
  10393. this.mustUseProperty = mustUseProperty;
  10394. this.propertyName = name;
  10395. this.type = type;
  10396. }
  10397. // When adding attributes to this list, be sure to also add them to
  10398. // the `possibleStandardNames` module to ensure casing and incorrect
  10399. // name warnings.
  10400. var properties = {};
  10401. // These props are reserved by React. They shouldn't be written to the DOM.
  10402. ['children', 'dangerouslySetInnerHTML',
  10403. // TODO: This prevents the assignment of defaultValue to regular
  10404. // elements (not just inputs). Now that ReactDOMInput assigns to the
  10405. // defaultValue property -- do we need this?
  10406. 'defaultValue', 'defaultChecked', 'innerHTML', 'suppressContentEditableWarning', 'suppressHydrationWarning', 'style'].forEach(function (name) {
  10407. properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
  10408. name, // attributeName
  10409. null);
  10410. } // attributeNamespace
  10411. );
  10412. // A few React string attributes have a different name.
  10413. // This is a mapping from React prop names to the attribute names.
  10414. [['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
  10415. var name = _ref[0],
  10416. attributeName = _ref[1];
  10417. properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  10418. attributeName, // attributeName
  10419. null);
  10420. } // attributeNamespace
  10421. );
  10422. // These are "enumerated" HTML attributes that accept "true" and "false".
  10423. // In React, we let users pass `true` and `false` even though technically
  10424. // these aren't boolean attributes (they are coerced to strings).
  10425. ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
  10426. properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
  10427. name.toLowerCase(), // attributeName
  10428. null);
  10429. } // attributeNamespace
  10430. );
  10431. // These are "enumerated" SVG attributes that accept "true" and "false".
  10432. // In React, we let users pass `true` and `false` even though technically
  10433. // these aren't boolean attributes (they are coerced to strings).
  10434. // Since these are SVG attributes, their attribute names are case-sensitive.
  10435. ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
  10436. properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
  10437. name, // attributeName
  10438. null);
  10439. } // attributeNamespace
  10440. );
  10441. // These are HTML boolean attributes.
  10442. ['allowFullScreen', 'async',
  10443. // Note: there is a special case that prevents it from being written to the DOM
  10444. // on the client side because the browsers are inconsistent. Instead we call focus().
  10445. 'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless',
  10446. // Microdata
  10447. 'itemScope'].forEach(function (name) {
  10448. properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
  10449. name.toLowerCase(), // attributeName
  10450. null);
  10451. } // attributeNamespace
  10452. );
  10453. // These are the few React props that we set as DOM properties
  10454. // rather than attributes. These are all booleans.
  10455. ['checked',
  10456. // Note: `option.selected` is not updated if `select.multiple` is
  10457. // disabled with `removeAttribute`. We have special logic for handling this.
  10458. 'multiple', 'muted', 'selected'].forEach(function (name) {
  10459. properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
  10460. name, // attributeName
  10461. null);
  10462. } // attributeNamespace
  10463. );
  10464. // These are HTML attributes that are "overloaded booleans": they behave like
  10465. // booleans, but can also accept a string value.
  10466. ['capture', 'download'].forEach(function (name) {
  10467. properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
  10468. name, // attributeName
  10469. null);
  10470. } // attributeNamespace
  10471. );
  10472. // These are HTML attributes that must be positive numbers.
  10473. ['cols', 'rows', 'size', 'span'].forEach(function (name) {
  10474. properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
  10475. name, // attributeName
  10476. null);
  10477. } // attributeNamespace
  10478. );
  10479. // These are HTML attributes that must be numbers.
  10480. ['rowSpan', 'start'].forEach(function (name) {
  10481. properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
  10482. name.toLowerCase(), // attributeName
  10483. null);
  10484. } // attributeNamespace
  10485. );
  10486. var CAMELIZE = /[\-\:]([a-z])/g;
  10487. var capitalize = function (token) {
  10488. return token[1].toUpperCase();
  10489. };
  10490. // This is a list of all SVG attributes that need special casing, namespacing,
  10491. // or boolean value assignment. Regular attributes that just accept strings
  10492. // and have the same names are omitted, just like in the HTML whitelist.
  10493. // Some of these attributes can be hard to find. This list was created by
  10494. // scrapping the MDN documentation.
  10495. ['accent-height', 'alignment-baseline', 'arabic-form', 'baseline-shift', 'cap-height', 'clip-path', 'clip-rule', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'dominant-baseline', 'enable-background', 'fill-opacity', 'fill-rule', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'glyph-name', 'glyph-orientation-horizontal', 'glyph-orientation-vertical', 'horiz-adv-x', 'horiz-origin-x', 'image-rendering', 'letter-spacing', 'lighting-color', 'marker-end', 'marker-mid', 'marker-start', 'overline-position', 'overline-thickness', 'paint-order', 'panose-1', 'pointer-events', 'rendering-intent', 'shape-rendering', 'stop-color', 'stop-opacity', 'strikethrough-position', 'strikethrough-thickness', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'text-anchor', 'text-decoration', 'text-rendering', 'underline-position', 'underline-thickness', 'unicode-bidi', 'unicode-range', 'units-per-em', 'v-alphabetic', 'v-hanging', 'v-ideographic', 'v-mathematical', 'vector-effect', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'word-spacing', 'writing-mode', 'xmlns:xlink', 'x-height'].forEach(function (attributeName) {
  10496. var name = attributeName.replace(CAMELIZE, capitalize);
  10497. properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  10498. attributeName, null);
  10499. } // attributeNamespace
  10500. );
  10501. // String SVG attributes with the xlink namespace.
  10502. ['xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
  10503. var name = attributeName.replace(CAMELIZE, capitalize);
  10504. properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  10505. attributeName, 'http://www.w3.org/1999/xlink');
  10506. });
  10507. // String SVG attributes with the xml namespace.
  10508. ['xml:base', 'xml:lang', 'xml:space'].forEach(function (attributeName) {
  10509. var name = attributeName.replace(CAMELIZE, capitalize);
  10510. properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
  10511. attributeName, 'http://www.w3.org/XML/1998/namespace');
  10512. });
  10513. // Special case: this attribute exists both in HTML and SVG.
  10514. // Its "tabindex" attribute name is case-sensitive in SVG so we can't just use
  10515. // its React `tabIndex` name, like we do for attributes that exist only in HTML.
  10516. properties.tabIndex = new PropertyInfoRecord('tabIndex', STRING, false, // mustUseProperty
  10517. 'tabindex', // attributeName
  10518. null);
  10519. /**
  10520. * Get the value for a property on a node. Only used in DEV for SSR validation.
  10521. * The "expected" argument is used as a hint of what the expected value is.
  10522. * Some properties have multiple equivalent values.
  10523. */
  10524. function getValueForProperty(node, name, expected, propertyInfo) {
  10525. {
  10526. if (propertyInfo.mustUseProperty) {
  10527. var propertyName = propertyInfo.propertyName;
  10528. return node[propertyName];
  10529. } else {
  10530. var attributeName = propertyInfo.attributeName;
  10531. var stringValue = null;
  10532. if (propertyInfo.type === OVERLOADED_BOOLEAN) {
  10533. if (node.hasAttribute(attributeName)) {
  10534. var value = node.getAttribute(attributeName);
  10535. if (value === '') {
  10536. return true;
  10537. }
  10538. if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
  10539. return value;
  10540. }
  10541. if (value === '' + expected) {
  10542. return expected;
  10543. }
  10544. return value;
  10545. }
  10546. } else if (node.hasAttribute(attributeName)) {
  10547. if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
  10548. // We had an attribute but shouldn't have had one, so read it
  10549. // for the error message.
  10550. return node.getAttribute(attributeName);
  10551. }
  10552. if (propertyInfo.type === BOOLEAN) {
  10553. // If this was a boolean, it doesn't matter what the value is
  10554. // the fact that we have it is the same as the expected.
  10555. return expected;
  10556. }
  10557. // Even if this property uses a namespace we use getAttribute
  10558. // because we assume its namespaced name is the same as our config.
  10559. // To use getAttributeNS we need the local name which we don't have
  10560. // in our config atm.
  10561. stringValue = node.getAttribute(attributeName);
  10562. }
  10563. if (shouldRemoveAttribute(name, expected, propertyInfo, false)) {
  10564. return stringValue === null ? expected : stringValue;
  10565. } else if (stringValue === '' + expected) {
  10566. return expected;
  10567. } else {
  10568. return stringValue;
  10569. }
  10570. }
  10571. }
  10572. }
  10573. /**
  10574. * Get the value for a attribute on a node. Only used in DEV for SSR validation.
  10575. * The third argument is used as a hint of what the expected value is. Some
  10576. * attributes have multiple equivalent values.
  10577. */
  10578. function getValueForAttribute(node, name, expected) {
  10579. {
  10580. if (!isAttributeNameSafe(name)) {
  10581. return;
  10582. }
  10583. if (!node.hasAttribute(name)) {
  10584. return expected === undefined ? undefined : null;
  10585. }
  10586. var value = node.getAttribute(name);
  10587. if (value === '' + expected) {
  10588. return expected;
  10589. }
  10590. return value;
  10591. }
  10592. }
  10593. /**
  10594. * Sets the value for a property on a node.
  10595. *
  10596. * @param {DOMElement} node
  10597. * @param {string} name
  10598. * @param {*} value
  10599. */
  10600. function setValueForProperty(node, name, value, isCustomComponentTag) {
  10601. var propertyInfo = getPropertyInfo(name);
  10602. if (shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag)) {
  10603. return;
  10604. }
  10605. if (shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)) {
  10606. value = null;
  10607. }
  10608. // If the prop isn't in the special list, treat it as a simple attribute.
  10609. if (isCustomComponentTag || propertyInfo === null) {
  10610. if (isAttributeNameSafe(name)) {
  10611. var _attributeName = name;
  10612. if (value === null) {
  10613. node.removeAttribute(_attributeName);
  10614. } else {
  10615. node.setAttribute(_attributeName, '' + value);
  10616. }
  10617. }
  10618. return;
  10619. }
  10620. var mustUseProperty = propertyInfo.mustUseProperty;
  10621. if (mustUseProperty) {
  10622. var propertyName = propertyInfo.propertyName;
  10623. if (value === null) {
  10624. var type = propertyInfo.type;
  10625. node[propertyName] = type === BOOLEAN ? false : '';
  10626. } else {
  10627. // Contrary to `setAttribute`, object properties are properly
  10628. // `toString`ed by IE8/9.
  10629. node[propertyName] = value;
  10630. }
  10631. return;
  10632. }
  10633. // The rest are treated as attributes with special cases.
  10634. var attributeName = propertyInfo.attributeName,
  10635. attributeNamespace = propertyInfo.attributeNamespace;
  10636. if (value === null) {
  10637. node.removeAttribute(attributeName);
  10638. } else {
  10639. var _type = propertyInfo.type;
  10640. var attributeValue = void 0;
  10641. if (_type === BOOLEAN || _type === OVERLOADED_BOOLEAN && value === true) {
  10642. attributeValue = '';
  10643. } else {
  10644. // `setAttribute` with objects becomes only `[object]` in IE8/9,
  10645. // ('' + value) makes it output the correct toString()-value.
  10646. attributeValue = '' + value;
  10647. }
  10648. if (attributeNamespace) {
  10649. node.setAttributeNS(attributeNamespace, attributeName, attributeValue);
  10650. } else {
  10651. node.setAttribute(attributeName, attributeValue);
  10652. }
  10653. }
  10654. }
  10655. // Flow does not allow string concatenation of most non-string types. To work
  10656. // around this limitation, we use an opaque type that can only be obtained by
  10657. // passing the value through getToStringValue first.
  10658. function toString(value) {
  10659. return '' + value;
  10660. }
  10661. function getToStringValue(value) {
  10662. switch (typeof value) {
  10663. case 'boolean':
  10664. case 'number':
  10665. case 'object':
  10666. case 'string':
  10667. case 'undefined':
  10668. return value;
  10669. default:
  10670. // function, symbol are assigned as empty strings
  10671. return '';
  10672. }
  10673. }
  10674. var ReactDebugCurrentFrame$1 = null;
  10675. var ReactControlledValuePropTypes = {
  10676. checkPropTypes: null
  10677. };
  10678. {
  10679. ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
  10680. var hasReadOnlyValue = {
  10681. button: true,
  10682. checkbox: true,
  10683. image: true,
  10684. hidden: true,
  10685. radio: true,
  10686. reset: true,
  10687. submit: true
  10688. };
  10689. var propTypes = {
  10690. value: function (props, propName, componentName) {
  10691. if (hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled || props[propName] == null) {
  10692. return null;
  10693. }
  10694. return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
  10695. },
  10696. checked: function (props, propName, componentName) {
  10697. if (props.onChange || props.readOnly || props.disabled || props[propName] == null) {
  10698. return null;
  10699. }
  10700. return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');
  10701. }
  10702. };
  10703. /**
  10704. * Provide a linked `value` attribute for controlled forms. You should not use
  10705. * this outside of the ReactDOM controlled form components.
  10706. */
  10707. ReactControlledValuePropTypes.checkPropTypes = function (tagName, props) {
  10708. checkPropTypes(propTypes, props, 'prop', tagName, ReactDebugCurrentFrame$1.getStackAddendum);
  10709. };
  10710. }
  10711. var enableUserTimingAPI = true;
  10712. var enableHooks = false;
  10713. // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
  10714. var debugRenderPhaseSideEffects = false;
  10715. // In some cases, StrictMode should also double-render lifecycles.
  10716. // This can be confusing for tests though,
  10717. // And it can be bad for performance in production.
  10718. // This feature flag can be used to control the behavior:
  10719. var debugRenderPhaseSideEffectsForStrictMode = true;
  10720. // To preserve the "Pause on caught exceptions" behavior of the debugger, we
  10721. // replay the begin phase of a failed component inside invokeGuardedCallback.
  10722. var replayFailedUnitOfWorkWithInvokeGuardedCallback = true;
  10723. // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
  10724. var warnAboutDeprecatedLifecycles = false;
  10725. // Gather advanced timing metrics for Profiler subtrees.
  10726. var enableProfilerTimer = true;
  10727. // Trace which interactions trigger each commit.
  10728. var enableSchedulerTracing = true;
  10729. // Only used in www builds.
  10730. // Only used in www builds.
  10731. // React Fire: prevent the value and checked attributes from syncing
  10732. // with their related DOM properties
  10733. var disableInputAttributeSyncing = false;
  10734. // These APIs will no longer be "unstable" in the upcoming 16.7 release,
  10735. // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
  10736. var enableStableConcurrentModeAPIs = false;
  10737. // TODO: direct imports like some-package/src/* are bad. Fix me.
  10738. var didWarnValueDefaultValue = false;
  10739. var didWarnCheckedDefaultChecked = false;
  10740. var didWarnControlledToUncontrolled = false;
  10741. var didWarnUncontrolledToControlled = false;
  10742. function isControlled(props) {
  10743. var usesChecked = props.type === 'checkbox' || props.type === 'radio';
  10744. return usesChecked ? props.checked != null : props.value != null;
  10745. }
  10746. /**
  10747. * Implements an <input> host component that allows setting these optional
  10748. * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.
  10749. *
  10750. * If `checked` or `value` are not supplied (or null/undefined), user actions
  10751. * that affect the checked state or value will trigger updates to the element.
  10752. *
  10753. * If they are supplied (and not null/undefined), the rendered element will not
  10754. * trigger updates to the element. Instead, the props must change in order for
  10755. * the rendered element to be updated.
  10756. *
  10757. * The rendered element will be initialized as unchecked (or `defaultChecked`)
  10758. * with an empty value (or `defaultValue`).
  10759. *
  10760. * See http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html
  10761. */
  10762. function getHostProps(element, props) {
  10763. var node = element;
  10764. var checked = props.checked;
  10765. var hostProps = _assign({}, props, {
  10766. defaultChecked: undefined,
  10767. defaultValue: undefined,
  10768. value: undefined,
  10769. checked: checked != null ? checked : node._wrapperState.initialChecked
  10770. });
  10771. return hostProps;
  10772. }
  10773. function initWrapperState(element, props) {
  10774. {
  10775. ReactControlledValuePropTypes.checkPropTypes('input', props);
  10776. if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {
  10777. warning$1(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
  10778. didWarnCheckedDefaultChecked = true;
  10779. }
  10780. if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {
  10781. warning$1(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component', props.type);
  10782. didWarnValueDefaultValue = true;
  10783. }
  10784. }
  10785. var node = element;
  10786. var defaultValue = props.defaultValue == null ? '' : props.defaultValue;
  10787. node._wrapperState = {
  10788. initialChecked: props.checked != null ? props.checked : props.defaultChecked,
  10789. initialValue: getToStringValue(props.value != null ? props.value : defaultValue),
  10790. controlled: isControlled(props)
  10791. };
  10792. }
  10793. function updateChecked(element, props) {
  10794. var node = element;
  10795. var checked = props.checked;
  10796. if (checked != null) {
  10797. setValueForProperty(node, 'checked', checked, false);
  10798. }
  10799. }
  10800. function updateWrapper(element, props) {
  10801. var node = element;
  10802. {
  10803. var _controlled = isControlled(props);
  10804. if (!node._wrapperState.controlled && _controlled && !didWarnUncontrolledToControlled) {
  10805. warning$1(false, 'A component is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
  10806. didWarnUncontrolledToControlled = true;
  10807. }
  10808. if (node._wrapperState.controlled && !_controlled && !didWarnControlledToUncontrolled) {
  10809. warning$1(false, 'A component is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', props.type);
  10810. didWarnControlledToUncontrolled = true;
  10811. }
  10812. }
  10813. updateChecked(element, props);
  10814. var value = getToStringValue(props.value);
  10815. var type = props.type;
  10816. if (value != null) {
  10817. if (type === 'number') {
  10818. if (value === 0 && node.value === '' ||
  10819. // We explicitly want to coerce to number here if possible.
  10820. // eslint-disable-next-line
  10821. node.value != value) {
  10822. node.value = toString(value);
  10823. }
  10824. } else if (node.value !== toString(value)) {
  10825. node.value = toString(value);
  10826. }
  10827. } else if (type === 'submit' || type === 'reset') {
  10828. // Submit/reset inputs need the attribute removed completely to avoid
  10829. // blank-text buttons.
  10830. node.removeAttribute('value');
  10831. return;
  10832. }
  10833. if (disableInputAttributeSyncing) {
  10834. // When not syncing the value attribute, React only assigns a new value
  10835. // whenever the defaultValue React prop has changed. When not present,
  10836. // React does nothing
  10837. if (props.hasOwnProperty('defaultValue')) {
  10838. setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
  10839. }
  10840. } else {
  10841. // When syncing the value attribute, the value comes from a cascade of
  10842. // properties:
  10843. // 1. The value React property
  10844. // 2. The defaultValue React property
  10845. // 3. Otherwise there should be no change
  10846. if (props.hasOwnProperty('value')) {
  10847. setDefaultValue(node, props.type, value);
  10848. } else if (props.hasOwnProperty('defaultValue')) {
  10849. setDefaultValue(node, props.type, getToStringValue(props.defaultValue));
  10850. }
  10851. }
  10852. if (disableInputAttributeSyncing) {
  10853. // When not syncing the checked attribute, the attribute is directly
  10854. // controllable from the defaultValue React property. It needs to be
  10855. // updated as new props come in.
  10856. if (props.defaultChecked == null) {
  10857. node.removeAttribute('checked');
  10858. } else {
  10859. node.defaultChecked = !!props.defaultChecked;
  10860. }
  10861. } else {
  10862. // When syncing the checked attribute, it only changes when it needs
  10863. // to be removed, such as transitioning from a checkbox into a text input
  10864. if (props.checked == null && props.defaultChecked != null) {
  10865. node.defaultChecked = !!props.defaultChecked;
  10866. }
  10867. }
  10868. }
  10869. function postMountWrapper(element, props, isHydrating) {
  10870. var node = element;
  10871. // Do not assign value if it is already set. This prevents user text input
  10872. // from being lost during SSR hydration.
  10873. if (props.hasOwnProperty('value') || props.hasOwnProperty('defaultValue')) {
  10874. var type = props.type;
  10875. var isButton = type === 'submit' || type === 'reset';
  10876. // Avoid setting value attribute on submit/reset inputs as it overrides the
  10877. // default value provided by the browser. See: #12872
  10878. if (isButton && (props.value === undefined || props.value === null)) {
  10879. return;
  10880. }
  10881. var _initialValue = toString(node._wrapperState.initialValue);
  10882. // Do not assign value if it is already set. This prevents user text input
  10883. // from being lost during SSR hydration.
  10884. if (!isHydrating) {
  10885. if (disableInputAttributeSyncing) {
  10886. var value = getToStringValue(props.value);
  10887. // When not syncing the value attribute, the value property points
  10888. // directly to the React prop. Only assign it if it exists.
  10889. if (value != null) {
  10890. // Always assign on buttons so that it is possible to assign an
  10891. // empty string to clear button text.
  10892. //
  10893. // Otherwise, do not re-assign the value property if is empty. This
  10894. // potentially avoids a DOM write and prevents Firefox (~60.0.1) from
  10895. // prematurely marking required inputs as invalid. Equality is compared
  10896. // to the current value in case the browser provided value is not an
  10897. // empty string.
  10898. if (isButton || value !== node.value) {
  10899. node.value = toString(value);
  10900. }
  10901. }
  10902. } else {
  10903. // When syncing the value attribute, the value property should use
  10904. // the wrapperState._initialValue property. This uses:
  10905. //
  10906. // 1. The value React property when present
  10907. // 2. The defaultValue React property when present
  10908. // 3. An empty string
  10909. if (_initialValue !== node.value) {
  10910. node.value = _initialValue;
  10911. }
  10912. }
  10913. }
  10914. if (disableInputAttributeSyncing) {
  10915. // When not syncing the value attribute, assign the value attribute
  10916. // directly from the defaultValue React property (when present)
  10917. var defaultValue = getToStringValue(props.defaultValue);
  10918. if (defaultValue != null) {
  10919. node.defaultValue = toString(defaultValue);
  10920. }
  10921. } else {
  10922. // Otherwise, the value attribute is synchronized to the property,
  10923. // so we assign defaultValue to the same thing as the value property
  10924. // assignment step above.
  10925. node.defaultValue = _initialValue;
  10926. }
  10927. }
  10928. // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug
  10929. // this is needed to work around a chrome bug where setting defaultChecked
  10930. // will sometimes influence the value of checked (even after detachment).
  10931. // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416
  10932. // We need to temporarily unset name to avoid disrupting radio button groups.
  10933. var name = node.name;
  10934. if (name !== '') {
  10935. node.name = '';
  10936. }
  10937. if (disableInputAttributeSyncing) {
  10938. // When not syncing the checked attribute, the checked property
  10939. // never gets assigned. It must be manually set. We don't want
  10940. // to do this when hydrating so that existing user input isn't
  10941. // modified
  10942. if (!isHydrating) {
  10943. updateChecked(element, props);
  10944. }
  10945. // Only assign the checked attribute if it is defined. This saves
  10946. // a DOM write when controlling the checked attribute isn't needed
  10947. // (text inputs, submit/reset)
  10948. if (props.hasOwnProperty('defaultChecked')) {
  10949. node.defaultChecked = !node.defaultChecked;
  10950. node.defaultChecked = !!props.defaultChecked;
  10951. }
  10952. } else {
  10953. // When syncing the checked attribute, both the checked property and
  10954. // attribute are assigned at the same time using defaultChecked. This uses:
  10955. //
  10956. // 1. The checked React property when present
  10957. // 2. The defaultChecked React property when present
  10958. // 3. Otherwise, false
  10959. node.defaultChecked = !node.defaultChecked;
  10960. node.defaultChecked = !!node._wrapperState.initialChecked;
  10961. }
  10962. if (name !== '') {
  10963. node.name = name;
  10964. }
  10965. }
  10966. function restoreControlledState(element, props) {
  10967. var node = element;
  10968. updateWrapper(node, props);
  10969. updateNamedCousins(node, props);
  10970. }
  10971. function updateNamedCousins(rootNode, props) {
  10972. var name = props.name;
  10973. if (props.type === 'radio' && name != null) {
  10974. var queryRoot = rootNode;
  10975. while (queryRoot.parentNode) {
  10976. queryRoot = queryRoot.parentNode;
  10977. }
  10978. // If `rootNode.form` was non-null, then we could try `form.elements`,
  10979. // but that sometimes behaves strangely in IE8. We could also try using
  10980. // `form.getElementsByName`, but that will only return direct children
  10981. // and won't include inputs that use the HTML5 `form=` attribute. Since
  10982. // the input might not even be in a form. It might not even be in the
  10983. // document. Let's just use the local `querySelectorAll` to ensure we don't
  10984. // miss anything.
  10985. var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]');
  10986. for (var i = 0; i < group.length; i++) {
  10987. var otherNode = group[i];
  10988. if (otherNode === rootNode || otherNode.form !== rootNode.form) {
  10989. continue;
  10990. }
  10991. // This will throw if radio buttons rendered by different copies of React
  10992. // and the same name are rendered into the same form (same as #1939).
  10993. // That's probably okay; we don't support it just as we don't support
  10994. // mixing React radio buttons with non-React ones.
  10995. var otherProps = getFiberCurrentPropsFromNode$1(otherNode);
  10996. !otherProps ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : void 0;
  10997. // We need update the tracked value on the named cousin since the value
  10998. // was changed but the input saw no event or value set
  10999. updateValueIfChanged(otherNode);
  11000. // If this is a controlled radio button group, forcing the input that
  11001. // was previously checked to update will cause it to be come re-checked
  11002. // as appropriate.
  11003. updateWrapper(otherNode, otherProps);
  11004. }
  11005. }
  11006. }
  11007. // In Chrome, assigning defaultValue to certain input types triggers input validation.
  11008. // For number inputs, the display value loses trailing decimal points. For email inputs,
  11009. // Chrome raises "The specified value <x> is not a valid email address".
  11010. //
  11011. // Here we check to see if the defaultValue has actually changed, avoiding these problems
  11012. // when the user is inputting text
  11013. //
  11014. // https://github.com/facebook/react/issues/7253
  11015. function setDefaultValue(node, type, value) {
  11016. if (
  11017. // Focused number inputs synchronize on blur. See ChangeEventPlugin.js
  11018. type !== 'number' || node.ownerDocument.activeElement !== node) {
  11019. if (value == null) {
  11020. node.defaultValue = toString(node._wrapperState.initialValue);
  11021. } else if (node.defaultValue !== toString(value)) {
  11022. node.defaultValue = toString(value);
  11023. }
  11024. }
  11025. }
  11026. var eventTypes$1 = {
  11027. change: {
  11028. phasedRegistrationNames: {
  11029. bubbled: 'onChange',
  11030. captured: 'onChangeCapture'
  11031. },
  11032. dependencies: [TOP_BLUR, TOP_CHANGE, TOP_CLICK, TOP_FOCUS, TOP_INPUT, TOP_KEY_DOWN, TOP_KEY_UP, TOP_SELECTION_CHANGE]
  11033. }
  11034. };
  11035. function createAndAccumulateChangeEvent(inst, nativeEvent, target) {
  11036. var event = SyntheticEvent.getPooled(eventTypes$1.change, inst, nativeEvent, target);
  11037. event.type = 'change';
  11038. // Flag this event loop as needing state restore.
  11039. enqueueStateRestore(target);
  11040. accumulateTwoPhaseDispatches(event);
  11041. return event;
  11042. }
  11043. /**
  11044. * For IE shims
  11045. */
  11046. var activeElement = null;
  11047. var activeElementInst = null;
  11048. /**
  11049. * SECTION: handle `change` event
  11050. */
  11051. function shouldUseChangeEvent(elem) {
  11052. var nodeName = elem.nodeName && elem.nodeName.toLowerCase();
  11053. return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';
  11054. }
  11055. function manualDispatchChangeEvent(nativeEvent) {
  11056. var event = createAndAccumulateChangeEvent(activeElementInst, nativeEvent, getEventTarget(nativeEvent));
  11057. // If change and propertychange bubbled, we'd just bind to it like all the
  11058. // other events and have it go through ReactBrowserEventEmitter. Since it
  11059. // doesn't, we manually listen for the events and so we have to enqueue and
  11060. // process the abstract event manually.
  11061. //
  11062. // Batching is necessary here in order to ensure that all event handlers run
  11063. // before the next rerender (including event handlers attached to ancestor
  11064. // elements instead of directly on the input). Without this, controlled
  11065. // components don't work properly in conjunction with event bubbling because
  11066. // the component is rerendered and the value reverted before all the event
  11067. // handlers can run. See https://github.com/facebook/react/issues/708.
  11068. batchedUpdates(runEventInBatch, event);
  11069. }
  11070. function runEventInBatch(event) {
  11071. runEventsInBatch(event);
  11072. }
  11073. function getInstIfValueChanged(targetInst) {
  11074. var targetNode = getNodeFromInstance$1(targetInst);
  11075. if (updateValueIfChanged(targetNode)) {
  11076. return targetInst;
  11077. }
  11078. }
  11079. function getTargetInstForChangeEvent(topLevelType, targetInst) {
  11080. if (topLevelType === TOP_CHANGE) {
  11081. return targetInst;
  11082. }
  11083. }
  11084. /**
  11085. * SECTION: handle `input` event
  11086. */
  11087. var isInputEventSupported = false;
  11088. if (canUseDOM) {
  11089. // IE9 claims to support the input event but fails to trigger it when
  11090. // deleting text, so we ignore its input events.
  11091. isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 9);
  11092. }
  11093. /**
  11094. * (For IE <=9) Starts tracking propertychange events on the passed-in element
  11095. * and override the value property so that we can distinguish user events from
  11096. * value changes in JS.
  11097. */
  11098. function startWatchingForValueChange(target, targetInst) {
  11099. activeElement = target;
  11100. activeElementInst = targetInst;
  11101. activeElement.attachEvent('onpropertychange', handlePropertyChange);
  11102. }
  11103. /**
  11104. * (For IE <=9) Removes the event listeners from the currently-tracked element,
  11105. * if any exists.
  11106. */
  11107. function stopWatchingForValueChange() {
  11108. if (!activeElement) {
  11109. return;
  11110. }
  11111. activeElement.detachEvent('onpropertychange', handlePropertyChange);
  11112. activeElement = null;
  11113. activeElementInst = null;
  11114. }
  11115. /**
  11116. * (For IE <=9) Handles a propertychange event, sending a `change` event if
  11117. * the value of the active element has changed.
  11118. */
  11119. function handlePropertyChange(nativeEvent) {
  11120. if (nativeEvent.propertyName !== 'value') {
  11121. return;
  11122. }
  11123. if (getInstIfValueChanged(activeElementInst)) {
  11124. manualDispatchChangeEvent(nativeEvent);
  11125. }
  11126. }
  11127. function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
  11128. if (topLevelType === TOP_FOCUS) {
  11129. // In IE9, propertychange fires for most input events but is buggy and
  11130. // doesn't fire when text is deleted, but conveniently, selectionchange
  11131. // appears to fire in all of the remaining cases so we catch those and
  11132. // forward the event if the value has changed
  11133. // In either case, we don't want to call the event handler if the value
  11134. // is changed from JS so we redefine a setter for `.value` that updates
  11135. // our activeElementValue variable, allowing us to ignore those changes
  11136. //
  11137. // stopWatching() should be a noop here but we call it just in case we
  11138. // missed a blur event somehow.
  11139. stopWatchingForValueChange();
  11140. startWatchingForValueChange(target, targetInst);
  11141. } else if (topLevelType === TOP_BLUR) {
  11142. stopWatchingForValueChange();
  11143. }
  11144. }
  11145. // For IE8 and IE9.
  11146. function getTargetInstForInputEventPolyfill(topLevelType, targetInst) {
  11147. if (topLevelType === TOP_SELECTION_CHANGE || topLevelType === TOP_KEY_UP || topLevelType === TOP_KEY_DOWN) {
  11148. // On the selectionchange event, the target is just document which isn't
  11149. // helpful for us so just check activeElement instead.
  11150. //
  11151. // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire
  11152. // propertychange on the first input event after setting `value` from a
  11153. // script and fires only keydown, keypress, keyup. Catching keyup usually
  11154. // gets it and catching keydown lets us fire an event for the first
  11155. // keystroke if user does a key repeat (it'll be a little delayed: right
  11156. // before the second keystroke). Other input methods (e.g., paste) seem to
  11157. // fire selectionchange normally.
  11158. return getInstIfValueChanged(activeElementInst);
  11159. }
  11160. }
  11161. /**
  11162. * SECTION: handle `click` event
  11163. */
  11164. function shouldUseClickEvent(elem) {
  11165. // Use the `click` event to detect changes to checkbox and radio inputs.
  11166. // This approach works across all browsers, whereas `change` does not fire
  11167. // until `blur` in IE8.
  11168. var nodeName = elem.nodeName;
  11169. return nodeName && nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');
  11170. }
  11171. function getTargetInstForClickEvent(topLevelType, targetInst) {
  11172. if (topLevelType === TOP_CLICK) {
  11173. return getInstIfValueChanged(targetInst);
  11174. }
  11175. }
  11176. function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
  11177. if (topLevelType === TOP_INPUT || topLevelType === TOP_CHANGE) {
  11178. return getInstIfValueChanged(targetInst);
  11179. }
  11180. }
  11181. function handleControlledInputBlur(node) {
  11182. var state = node._wrapperState;
  11183. if (!state || !state.controlled || node.type !== 'number') {
  11184. return;
  11185. }
  11186. if (!disableInputAttributeSyncing) {
  11187. // If controlled, assign the value attribute to the current value on blur
  11188. setDefaultValue(node, 'number', node.value);
  11189. }
  11190. }
  11191. /**
  11192. * This plugin creates an `onChange` event that normalizes change events
  11193. * across form elements. This event fires at a time when it's possible to
  11194. * change the element's value without seeing a flicker.
  11195. *
  11196. * Supported elements are:
  11197. * - input (see `isTextInputElement`)
  11198. * - textarea
  11199. * - select
  11200. */
  11201. var ChangeEventPlugin = {
  11202. eventTypes: eventTypes$1,
  11203. _isInputEventSupported: isInputEventSupported,
  11204. extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  11205. var targetNode = targetInst ? getNodeFromInstance$1(targetInst) : window;
  11206. var getTargetInstFunc = void 0,
  11207. handleEventFunc = void 0;
  11208. if (shouldUseChangeEvent(targetNode)) {
  11209. getTargetInstFunc = getTargetInstForChangeEvent;
  11210. } else if (isTextInputElement(targetNode)) {
  11211. if (isInputEventSupported) {
  11212. getTargetInstFunc = getTargetInstForInputOrChangeEvent;
  11213. } else {
  11214. getTargetInstFunc = getTargetInstForInputEventPolyfill;
  11215. handleEventFunc = handleEventsForInputEventPolyfill;
  11216. }
  11217. } else if (shouldUseClickEvent(targetNode)) {
  11218. getTargetInstFunc = getTargetInstForClickEvent;
  11219. }
  11220. if (getTargetInstFunc) {
  11221. var inst = getTargetInstFunc(topLevelType, targetInst);
  11222. if (inst) {
  11223. var event = createAndAccumulateChangeEvent(inst, nativeEvent, nativeEventTarget);
  11224. return event;
  11225. }
  11226. }
  11227. if (handleEventFunc) {
  11228. handleEventFunc(topLevelType, targetNode, targetInst);
  11229. }
  11230. // When blurring, set the value attribute for number inputs
  11231. if (topLevelType === TOP_BLUR) {
  11232. handleControlledInputBlur(targetNode);
  11233. }
  11234. }
  11235. };
  11236. /**
  11237. * Module that is injectable into `EventPluginHub`, that specifies a
  11238. * deterministic ordering of `EventPlugin`s. A convenient way to reason about
  11239. * plugins, without having to package every one of them. This is better than
  11240. * having plugins be ordered in the same order that they are injected because
  11241. * that ordering would be influenced by the packaging order.
  11242. * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that
  11243. * preventing default on events is convenient in `SimpleEventPlugin` handlers.
  11244. */
  11245. var DOMEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];
  11246. var SyntheticUIEvent = SyntheticEvent.extend({
  11247. view: null,
  11248. detail: null
  11249. });
  11250. var modifierKeyToProp = {
  11251. Alt: 'altKey',
  11252. Control: 'ctrlKey',
  11253. Meta: 'metaKey',
  11254. Shift: 'shiftKey'
  11255. };
  11256. // Older browsers (Safari <= 10, iOS Safari <= 10.2) do not support
  11257. // getModifierState. If getModifierState is not supported, we map it to a set of
  11258. // modifier keys exposed by the event. In this case, Lock-keys are not supported.
  11259. /**
  11260. * Translation from modifier key to the associated property in the event.
  11261. * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
  11262. */
  11263. function modifierStateGetter(keyArg) {
  11264. var syntheticEvent = this;
  11265. var nativeEvent = syntheticEvent.nativeEvent;
  11266. if (nativeEvent.getModifierState) {
  11267. return nativeEvent.getModifierState(keyArg);
  11268. }
  11269. var keyProp = modifierKeyToProp[keyArg];
  11270. return keyProp ? !!nativeEvent[keyProp] : false;
  11271. }
  11272. function getEventModifierState(nativeEvent) {
  11273. return modifierStateGetter;
  11274. }
  11275. var previousScreenX = 0;
  11276. var previousScreenY = 0;
  11277. // Use flags to signal movementX/Y has already been set
  11278. var isMovementXSet = false;
  11279. var isMovementYSet = false;
  11280. /**
  11281. * @interface MouseEvent
  11282. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  11283. */
  11284. var SyntheticMouseEvent = SyntheticUIEvent.extend({
  11285. screenX: null,
  11286. screenY: null,
  11287. clientX: null,
  11288. clientY: null,
  11289. pageX: null,
  11290. pageY: null,
  11291. ctrlKey: null,
  11292. shiftKey: null,
  11293. altKey: null,
  11294. metaKey: null,
  11295. getModifierState: getEventModifierState,
  11296. button: null,
  11297. buttons: null,
  11298. relatedTarget: function (event) {
  11299. return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);
  11300. },
  11301. movementX: function (event) {
  11302. if ('movementX' in event) {
  11303. return event.movementX;
  11304. }
  11305. var screenX = previousScreenX;
  11306. previousScreenX = event.screenX;
  11307. if (!isMovementXSet) {
  11308. isMovementXSet = true;
  11309. return 0;
  11310. }
  11311. return event.type === 'mousemove' ? event.screenX - screenX : 0;
  11312. },
  11313. movementY: function (event) {
  11314. if ('movementY' in event) {
  11315. return event.movementY;
  11316. }
  11317. var screenY = previousScreenY;
  11318. previousScreenY = event.screenY;
  11319. if (!isMovementYSet) {
  11320. isMovementYSet = true;
  11321. return 0;
  11322. }
  11323. return event.type === 'mousemove' ? event.screenY - screenY : 0;
  11324. }
  11325. });
  11326. /**
  11327. * @interface PointerEvent
  11328. * @see http://www.w3.org/TR/pointerevents/
  11329. */
  11330. var SyntheticPointerEvent = SyntheticMouseEvent.extend({
  11331. pointerId: null,
  11332. width: null,
  11333. height: null,
  11334. pressure: null,
  11335. tangentialPressure: null,
  11336. tiltX: null,
  11337. tiltY: null,
  11338. twist: null,
  11339. pointerType: null,
  11340. isPrimary: null
  11341. });
  11342. var eventTypes$2 = {
  11343. mouseEnter: {
  11344. registrationName: 'onMouseEnter',
  11345. dependencies: [TOP_MOUSE_OUT, TOP_MOUSE_OVER]
  11346. },
  11347. mouseLeave: {
  11348. registrationName: 'onMouseLeave',
  11349. dependencies: [TOP_MOUSE_OUT, TOP_MOUSE_OVER]
  11350. },
  11351. pointerEnter: {
  11352. registrationName: 'onPointerEnter',
  11353. dependencies: [TOP_POINTER_OUT, TOP_POINTER_OVER]
  11354. },
  11355. pointerLeave: {
  11356. registrationName: 'onPointerLeave',
  11357. dependencies: [TOP_POINTER_OUT, TOP_POINTER_OVER]
  11358. }
  11359. };
  11360. var EnterLeaveEventPlugin = {
  11361. eventTypes: eventTypes$2,
  11362. /**
  11363. * For almost every interaction we care about, there will be both a top-level
  11364. * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that
  11365. * we do not extract duplicate events. However, moving the mouse into the
  11366. * browser from outside will not fire a `mouseout` event. In this case, we use
  11367. * the `mouseover` top-level event.
  11368. */
  11369. extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  11370. var isOverEvent = topLevelType === TOP_MOUSE_OVER || topLevelType === TOP_POINTER_OVER;
  11371. var isOutEvent = topLevelType === TOP_MOUSE_OUT || topLevelType === TOP_POINTER_OUT;
  11372. if (isOverEvent && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {
  11373. return null;
  11374. }
  11375. if (!isOutEvent && !isOverEvent) {
  11376. // Must not be a mouse or pointer in or out - ignoring.
  11377. return null;
  11378. }
  11379. var win = void 0;
  11380. if (nativeEventTarget.window === nativeEventTarget) {
  11381. // `nativeEventTarget` is probably a window object.
  11382. win = nativeEventTarget;
  11383. } else {
  11384. // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.
  11385. var doc = nativeEventTarget.ownerDocument;
  11386. if (doc) {
  11387. win = doc.defaultView || doc.parentWindow;
  11388. } else {
  11389. win = window;
  11390. }
  11391. }
  11392. var from = void 0;
  11393. var to = void 0;
  11394. if (isOutEvent) {
  11395. from = targetInst;
  11396. var related = nativeEvent.relatedTarget || nativeEvent.toElement;
  11397. to = related ? getClosestInstanceFromNode(related) : null;
  11398. } else {
  11399. // Moving to a node from outside the window.
  11400. from = null;
  11401. to = targetInst;
  11402. }
  11403. if (from === to) {
  11404. // Nothing pertains to our managed components.
  11405. return null;
  11406. }
  11407. var eventInterface = void 0,
  11408. leaveEventType = void 0,
  11409. enterEventType = void 0,
  11410. eventTypePrefix = void 0;
  11411. if (topLevelType === TOP_MOUSE_OUT || topLevelType === TOP_MOUSE_OVER) {
  11412. eventInterface = SyntheticMouseEvent;
  11413. leaveEventType = eventTypes$2.mouseLeave;
  11414. enterEventType = eventTypes$2.mouseEnter;
  11415. eventTypePrefix = 'mouse';
  11416. } else if (topLevelType === TOP_POINTER_OUT || topLevelType === TOP_POINTER_OVER) {
  11417. eventInterface = SyntheticPointerEvent;
  11418. leaveEventType = eventTypes$2.pointerLeave;
  11419. enterEventType = eventTypes$2.pointerEnter;
  11420. eventTypePrefix = 'pointer';
  11421. }
  11422. var fromNode = from == null ? win : getNodeFromInstance$1(from);
  11423. var toNode = to == null ? win : getNodeFromInstance$1(to);
  11424. var leave = eventInterface.getPooled(leaveEventType, from, nativeEvent, nativeEventTarget);
  11425. leave.type = eventTypePrefix + 'leave';
  11426. leave.target = fromNode;
  11427. leave.relatedTarget = toNode;
  11428. var enter = eventInterface.getPooled(enterEventType, to, nativeEvent, nativeEventTarget);
  11429. enter.type = eventTypePrefix + 'enter';
  11430. enter.target = toNode;
  11431. enter.relatedTarget = fromNode;
  11432. accumulateEnterLeaveDispatches(leave, enter, from, to);
  11433. return [leave, enter];
  11434. }
  11435. };
  11436. /*eslint-disable no-self-compare */
  11437. var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
  11438. /**
  11439. * inlined Object.is polyfill to avoid requiring consumers ship their own
  11440. * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  11441. */
  11442. function is(x, y) {
  11443. // SameValue algorithm
  11444. if (x === y) {
  11445. // Steps 1-5, 7-10
  11446. // Steps 6.b-6.e: +0 != -0
  11447. // Added the nonzero y check to make Flow happy, but it is redundant
  11448. return x !== 0 || y !== 0 || 1 / x === 1 / y;
  11449. } else {
  11450. // Step 6.a: NaN == NaN
  11451. return x !== x && y !== y;
  11452. }
  11453. }
  11454. /**
  11455. * Performs equality by iterating through keys on an object and returning false
  11456. * when any key has values which are not strictly equal between the arguments.
  11457. * Returns true when the values of all keys are strictly equal.
  11458. */
  11459. function shallowEqual(objA, objB) {
  11460. if (is(objA, objB)) {
  11461. return true;
  11462. }
  11463. if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {
  11464. return false;
  11465. }
  11466. var keysA = Object.keys(objA);
  11467. var keysB = Object.keys(objB);
  11468. if (keysA.length !== keysB.length) {
  11469. return false;
  11470. }
  11471. // Test for A's keys different from B.
  11472. for (var i = 0; i < keysA.length; i++) {
  11473. if (!hasOwnProperty$1.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
  11474. return false;
  11475. }
  11476. }
  11477. return true;
  11478. }
  11479. /**
  11480. * `ReactInstanceMap` maintains a mapping from a public facing stateful
  11481. * instance (key) and the internal representation (value). This allows public
  11482. * methods to accept the user facing instance as an argument and map them back
  11483. * to internal methods.
  11484. *
  11485. * Note that this module is currently shared and assumed to be stateless.
  11486. * If this becomes an actual Map, that will break.
  11487. */
  11488. /**
  11489. * This API should be called `delete` but we'd have to make sure to always
  11490. * transform these to strings for IE support. When this transform is fully
  11491. * supported we can rename it.
  11492. */
  11493. function get(key) {
  11494. return key._reactInternalFiber;
  11495. }
  11496. function has(key) {
  11497. return key._reactInternalFiber !== undefined;
  11498. }
  11499. function set(key, value) {
  11500. key._reactInternalFiber = value;
  11501. }
  11502. // Don't change these two values. They're used by React Dev Tools.
  11503. var NoEffect = /* */0;
  11504. var PerformedWork = /* */1;
  11505. // You can change the rest (and add more).
  11506. var Placement = /* */2;
  11507. var Update = /* */4;
  11508. var PlacementAndUpdate = /* */6;
  11509. var Deletion = /* */8;
  11510. var ContentReset = /* */16;
  11511. var Callback = /* */32;
  11512. var DidCapture = /* */64;
  11513. var Ref = /* */128;
  11514. var Snapshot = /* */256;
  11515. var Passive = /* */512;
  11516. // Passive & Update & Callback & Ref & Snapshot
  11517. var LifecycleEffectMask = /* */932;
  11518. // Union of all host effects
  11519. var HostEffectMask = /* */1023;
  11520. var Incomplete = /* */1024;
  11521. var ShouldCapture = /* */2048;
  11522. var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
  11523. var MOUNTING = 1;
  11524. var MOUNTED = 2;
  11525. var UNMOUNTED = 3;
  11526. function isFiberMountedImpl(fiber) {
  11527. var node = fiber;
  11528. if (!fiber.alternate) {
  11529. // If there is no alternate, this might be a new tree that isn't inserted
  11530. // yet. If it is, then it will have a pending insertion effect on it.
  11531. if ((node.effectTag & Placement) !== NoEffect) {
  11532. return MOUNTING;
  11533. }
  11534. while (node.return) {
  11535. node = node.return;
  11536. if ((node.effectTag & Placement) !== NoEffect) {
  11537. return MOUNTING;
  11538. }
  11539. }
  11540. } else {
  11541. while (node.return) {
  11542. node = node.return;
  11543. }
  11544. }
  11545. if (node.tag === HostRoot) {
  11546. // TODO: Check if this was a nested HostRoot when used with
  11547. // renderContainerIntoSubtree.
  11548. return MOUNTED;
  11549. }
  11550. // If we didn't hit the root, that means that we're in an disconnected tree
  11551. // that has been unmounted.
  11552. return UNMOUNTED;
  11553. }
  11554. function isFiberMounted(fiber) {
  11555. return isFiberMountedImpl(fiber) === MOUNTED;
  11556. }
  11557. function isMounted(component) {
  11558. {
  11559. var owner = ReactCurrentOwner$1.current;
  11560. if (owner !== null && owner.tag === ClassComponent) {
  11561. var ownerFiber = owner;
  11562. var instance = ownerFiber.stateNode;
  11563. !instance._warnedAboutRefsInRender ? warningWithoutStack$1(false, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', getComponentName(ownerFiber.type) || 'A component') : void 0;
  11564. instance._warnedAboutRefsInRender = true;
  11565. }
  11566. }
  11567. var fiber = get(component);
  11568. if (!fiber) {
  11569. return false;
  11570. }
  11571. return isFiberMountedImpl(fiber) === MOUNTED;
  11572. }
  11573. function assertIsMounted(fiber) {
  11574. !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
  11575. }
  11576. function findCurrentFiberUsingSlowPath(fiber) {
  11577. var alternate = fiber.alternate;
  11578. if (!alternate) {
  11579. // If there is no alternate, then we only need to check if it is mounted.
  11580. var state = isFiberMountedImpl(fiber);
  11581. !(state !== UNMOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
  11582. if (state === MOUNTING) {
  11583. return null;
  11584. }
  11585. return fiber;
  11586. }
  11587. // If we have two possible branches, we'll walk backwards up to the root
  11588. // to see what path the root points to. On the way we may hit one of the
  11589. // special cases and we'll deal with them.
  11590. var a = fiber;
  11591. var b = alternate;
  11592. while (true) {
  11593. var parentA = a.return;
  11594. var parentB = parentA ? parentA.alternate : null;
  11595. if (!parentA || !parentB) {
  11596. // We're at the root.
  11597. break;
  11598. }
  11599. // If both copies of the parent fiber point to the same child, we can
  11600. // assume that the child is current. This happens when we bailout on low
  11601. // priority: the bailed out fiber's child reuses the current child.
  11602. if (parentA.child === parentB.child) {
  11603. var child = parentA.child;
  11604. while (child) {
  11605. if (child === a) {
  11606. // We've determined that A is the current branch.
  11607. assertIsMounted(parentA);
  11608. return fiber;
  11609. }
  11610. if (child === b) {
  11611. // We've determined that B is the current branch.
  11612. assertIsMounted(parentA);
  11613. return alternate;
  11614. }
  11615. child = child.sibling;
  11616. }
  11617. // We should never have an alternate for any mounting node. So the only
  11618. // way this could possibly happen is if this was unmounted, if at all.
  11619. invariant(false, 'Unable to find node on an unmounted component.');
  11620. }
  11621. if (a.return !== b.return) {
  11622. // The return pointer of A and the return pointer of B point to different
  11623. // fibers. We assume that return pointers never criss-cross, so A must
  11624. // belong to the child set of A.return, and B must belong to the child
  11625. // set of B.return.
  11626. a = parentA;
  11627. b = parentB;
  11628. } else {
  11629. // The return pointers point to the same fiber. We'll have to use the
  11630. // default, slow path: scan the child sets of each parent alternate to see
  11631. // which child belongs to which set.
  11632. //
  11633. // Search parent A's child set
  11634. var didFindChild = false;
  11635. var _child = parentA.child;
  11636. while (_child) {
  11637. if (_child === a) {
  11638. didFindChild = true;
  11639. a = parentA;
  11640. b = parentB;
  11641. break;
  11642. }
  11643. if (_child === b) {
  11644. didFindChild = true;
  11645. b = parentA;
  11646. a = parentB;
  11647. break;
  11648. }
  11649. _child = _child.sibling;
  11650. }
  11651. if (!didFindChild) {
  11652. // Search parent B's child set
  11653. _child = parentB.child;
  11654. while (_child) {
  11655. if (_child === a) {
  11656. didFindChild = true;
  11657. a = parentB;
  11658. b = parentA;
  11659. break;
  11660. }
  11661. if (_child === b) {
  11662. didFindChild = true;
  11663. b = parentB;
  11664. a = parentA;
  11665. break;
  11666. }
  11667. _child = _child.sibling;
  11668. }
  11669. !didFindChild ? invariant(false, 'Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.') : void 0;
  11670. }
  11671. }
  11672. !(a.alternate === b) ? invariant(false, 'Return fibers should always be each others\' alternates. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  11673. }
  11674. // If the root is not a host container, we're in a disconnected tree. I.e.
  11675. // unmounted.
  11676. !(a.tag === HostRoot) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
  11677. if (a.stateNode.current === a) {
  11678. // We've determined that A is the current branch.
  11679. return fiber;
  11680. }
  11681. // Otherwise B has to be current branch.
  11682. return alternate;
  11683. }
  11684. function findCurrentHostFiber(parent) {
  11685. var currentParent = findCurrentFiberUsingSlowPath(parent);
  11686. if (!currentParent) {
  11687. return null;
  11688. }
  11689. // Next we'll drill down this component to find the first HostComponent/Text.
  11690. var node = currentParent;
  11691. while (true) {
  11692. if (node.tag === HostComponent || node.tag === HostText) {
  11693. return node;
  11694. } else if (node.child) {
  11695. node.child.return = node;
  11696. node = node.child;
  11697. continue;
  11698. }
  11699. if (node === currentParent) {
  11700. return null;
  11701. }
  11702. while (!node.sibling) {
  11703. if (!node.return || node.return === currentParent) {
  11704. return null;
  11705. }
  11706. node = node.return;
  11707. }
  11708. node.sibling.return = node.return;
  11709. node = node.sibling;
  11710. }
  11711. // Flow needs the return null here, but ESLint complains about it.
  11712. // eslint-disable-next-line no-unreachable
  11713. return null;
  11714. }
  11715. function findCurrentHostFiberWithNoPortals(parent) {
  11716. var currentParent = findCurrentFiberUsingSlowPath(parent);
  11717. if (!currentParent) {
  11718. return null;
  11719. }
  11720. // Next we'll drill down this component to find the first HostComponent/Text.
  11721. var node = currentParent;
  11722. while (true) {
  11723. if (node.tag === HostComponent || node.tag === HostText) {
  11724. return node;
  11725. } else if (node.child && node.tag !== HostPortal) {
  11726. node.child.return = node;
  11727. node = node.child;
  11728. continue;
  11729. }
  11730. if (node === currentParent) {
  11731. return null;
  11732. }
  11733. while (!node.sibling) {
  11734. if (!node.return || node.return === currentParent) {
  11735. return null;
  11736. }
  11737. node = node.return;
  11738. }
  11739. node.sibling.return = node.return;
  11740. node = node.sibling;
  11741. }
  11742. // Flow needs the return null here, but ESLint complains about it.
  11743. // eslint-disable-next-line no-unreachable
  11744. return null;
  11745. }
  11746. function addEventBubbleListener(element, eventType, listener) {
  11747. element.addEventListener(eventType, listener, false);
  11748. }
  11749. function addEventCaptureListener(element, eventType, listener) {
  11750. element.addEventListener(eventType, listener, true);
  11751. }
  11752. /**
  11753. * @interface Event
  11754. * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
  11755. * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent
  11756. */
  11757. var SyntheticAnimationEvent = SyntheticEvent.extend({
  11758. animationName: null,
  11759. elapsedTime: null,
  11760. pseudoElement: null
  11761. });
  11762. /**
  11763. * @interface Event
  11764. * @see http://www.w3.org/TR/clipboard-apis/
  11765. */
  11766. var SyntheticClipboardEvent = SyntheticEvent.extend({
  11767. clipboardData: function (event) {
  11768. return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
  11769. }
  11770. });
  11771. /**
  11772. * @interface FocusEvent
  11773. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  11774. */
  11775. var SyntheticFocusEvent = SyntheticUIEvent.extend({
  11776. relatedTarget: null
  11777. });
  11778. /**
  11779. * `charCode` represents the actual "character code" and is safe to use with
  11780. * `String.fromCharCode`. As such, only keys that correspond to printable
  11781. * characters produce a valid `charCode`, the only exception to this is Enter.
  11782. * The Tab-key is considered non-printable and does not have a `charCode`,
  11783. * presumably because it does not produce a tab-character in browsers.
  11784. *
  11785. * @param {object} nativeEvent Native browser event.
  11786. * @return {number} Normalized `charCode` property.
  11787. */
  11788. function getEventCharCode(nativeEvent) {
  11789. var charCode = void 0;
  11790. var keyCode = nativeEvent.keyCode;
  11791. if ('charCode' in nativeEvent) {
  11792. charCode = nativeEvent.charCode;
  11793. // FF does not set `charCode` for the Enter-key, check against `keyCode`.
  11794. if (charCode === 0 && keyCode === 13) {
  11795. charCode = 13;
  11796. }
  11797. } else {
  11798. // IE8 does not implement `charCode`, but `keyCode` has the correct value.
  11799. charCode = keyCode;
  11800. }
  11801. // IE and Edge (on Windows) and Chrome / Safari (on Windows and Linux)
  11802. // report Enter as charCode 10 when ctrl is pressed.
  11803. if (charCode === 10) {
  11804. charCode = 13;
  11805. }
  11806. // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
  11807. // Must not discard the (non-)printable Enter-key.
  11808. if (charCode >= 32 || charCode === 13) {
  11809. return charCode;
  11810. }
  11811. return 0;
  11812. }
  11813. /**
  11814. * Normalization of deprecated HTML5 `key` values
  11815. * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
  11816. */
  11817. var normalizeKey = {
  11818. Esc: 'Escape',
  11819. Spacebar: ' ',
  11820. Left: 'ArrowLeft',
  11821. Up: 'ArrowUp',
  11822. Right: 'ArrowRight',
  11823. Down: 'ArrowDown',
  11824. Del: 'Delete',
  11825. Win: 'OS',
  11826. Menu: 'ContextMenu',
  11827. Apps: 'ContextMenu',
  11828. Scroll: 'ScrollLock',
  11829. MozPrintableKey: 'Unidentified'
  11830. };
  11831. /**
  11832. * Translation from legacy `keyCode` to HTML5 `key`
  11833. * Only special keys supported, all others depend on keyboard layout or browser
  11834. * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
  11835. */
  11836. var translateToKey = {
  11837. '8': 'Backspace',
  11838. '9': 'Tab',
  11839. '12': 'Clear',
  11840. '13': 'Enter',
  11841. '16': 'Shift',
  11842. '17': 'Control',
  11843. '18': 'Alt',
  11844. '19': 'Pause',
  11845. '20': 'CapsLock',
  11846. '27': 'Escape',
  11847. '32': ' ',
  11848. '33': 'PageUp',
  11849. '34': 'PageDown',
  11850. '35': 'End',
  11851. '36': 'Home',
  11852. '37': 'ArrowLeft',
  11853. '38': 'ArrowUp',
  11854. '39': 'ArrowRight',
  11855. '40': 'ArrowDown',
  11856. '45': 'Insert',
  11857. '46': 'Delete',
  11858. '112': 'F1',
  11859. '113': 'F2',
  11860. '114': 'F3',
  11861. '115': 'F4',
  11862. '116': 'F5',
  11863. '117': 'F6',
  11864. '118': 'F7',
  11865. '119': 'F8',
  11866. '120': 'F9',
  11867. '121': 'F10',
  11868. '122': 'F11',
  11869. '123': 'F12',
  11870. '144': 'NumLock',
  11871. '145': 'ScrollLock',
  11872. '224': 'Meta'
  11873. };
  11874. /**
  11875. * @param {object} nativeEvent Native browser event.
  11876. * @return {string} Normalized `key` property.
  11877. */
  11878. function getEventKey(nativeEvent) {
  11879. if (nativeEvent.key) {
  11880. // Normalize inconsistent values reported by browsers due to
  11881. // implementations of a working draft specification.
  11882. // FireFox implements `key` but returns `MozPrintableKey` for all
  11883. // printable characters (normalized to `Unidentified`), ignore it.
  11884. var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
  11885. if (key !== 'Unidentified') {
  11886. return key;
  11887. }
  11888. }
  11889. // Browser does not implement `key`, polyfill as much of it as we can.
  11890. if (nativeEvent.type === 'keypress') {
  11891. var charCode = getEventCharCode(nativeEvent);
  11892. // The enter-key is technically both printable and non-printable and can
  11893. // thus be captured by `keypress`, no other non-printable key should.
  11894. return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
  11895. }
  11896. if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
  11897. // While user keyboard layout determines the actual meaning of each
  11898. // `keyCode` value, almost all function keys have a universal value.
  11899. return translateToKey[nativeEvent.keyCode] || 'Unidentified';
  11900. }
  11901. return '';
  11902. }
  11903. /**
  11904. * @interface KeyboardEvent
  11905. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  11906. */
  11907. var SyntheticKeyboardEvent = SyntheticUIEvent.extend({
  11908. key: getEventKey,
  11909. location: null,
  11910. ctrlKey: null,
  11911. shiftKey: null,
  11912. altKey: null,
  11913. metaKey: null,
  11914. repeat: null,
  11915. locale: null,
  11916. getModifierState: getEventModifierState,
  11917. // Legacy Interface
  11918. charCode: function (event) {
  11919. // `charCode` is the result of a KeyPress event and represents the value of
  11920. // the actual printable character.
  11921. // KeyPress is deprecated, but its replacement is not yet final and not
  11922. // implemented in any major browser. Only KeyPress has charCode.
  11923. if (event.type === 'keypress') {
  11924. return getEventCharCode(event);
  11925. }
  11926. return 0;
  11927. },
  11928. keyCode: function (event) {
  11929. // `keyCode` is the result of a KeyDown/Up event and represents the value of
  11930. // physical keyboard key.
  11931. // The actual meaning of the value depends on the users' keyboard layout
  11932. // which cannot be detected. Assuming that it is a US keyboard layout
  11933. // provides a surprisingly accurate mapping for US and European users.
  11934. // Due to this, it is left to the user to implement at this time.
  11935. if (event.type === 'keydown' || event.type === 'keyup') {
  11936. return event.keyCode;
  11937. }
  11938. return 0;
  11939. },
  11940. which: function (event) {
  11941. // `which` is an alias for either `keyCode` or `charCode` depending on the
  11942. // type of the event.
  11943. if (event.type === 'keypress') {
  11944. return getEventCharCode(event);
  11945. }
  11946. if (event.type === 'keydown' || event.type === 'keyup') {
  11947. return event.keyCode;
  11948. }
  11949. return 0;
  11950. }
  11951. });
  11952. /**
  11953. * @interface DragEvent
  11954. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  11955. */
  11956. var SyntheticDragEvent = SyntheticMouseEvent.extend({
  11957. dataTransfer: null
  11958. });
  11959. /**
  11960. * @interface TouchEvent
  11961. * @see http://www.w3.org/TR/touch-events/
  11962. */
  11963. var SyntheticTouchEvent = SyntheticUIEvent.extend({
  11964. touches: null,
  11965. targetTouches: null,
  11966. changedTouches: null,
  11967. altKey: null,
  11968. metaKey: null,
  11969. ctrlKey: null,
  11970. shiftKey: null,
  11971. getModifierState: getEventModifierState
  11972. });
  11973. /**
  11974. * @interface Event
  11975. * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
  11976. * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
  11977. */
  11978. var SyntheticTransitionEvent = SyntheticEvent.extend({
  11979. propertyName: null,
  11980. elapsedTime: null,
  11981. pseudoElement: null
  11982. });
  11983. /**
  11984. * @interface WheelEvent
  11985. * @see http://www.w3.org/TR/DOM-Level-3-Events/
  11986. */
  11987. var SyntheticWheelEvent = SyntheticMouseEvent.extend({
  11988. deltaX: function (event) {
  11989. return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
  11990. 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;
  11991. },
  11992. deltaY: function (event) {
  11993. return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
  11994. 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
  11995. 'wheelDelta' in event ? -event.wheelDelta : 0;
  11996. },
  11997. deltaZ: null,
  11998. // Browsers without "deltaMode" is reporting in raw wheel delta where one
  11999. // notch on the scroll is always +/- 120, roughly equivalent to pixels.
  12000. // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
  12001. // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
  12002. deltaMode: null
  12003. });
  12004. /**
  12005. * Turns
  12006. * ['abort', ...]
  12007. * into
  12008. * eventTypes = {
  12009. * 'abort': {
  12010. * phasedRegistrationNames: {
  12011. * bubbled: 'onAbort',
  12012. * captured: 'onAbortCapture',
  12013. * },
  12014. * dependencies: [TOP_ABORT],
  12015. * },
  12016. * ...
  12017. * };
  12018. * topLevelEventsToDispatchConfig = new Map([
  12019. * [TOP_ABORT, { sameConfig }],
  12020. * ]);
  12021. */
  12022. var interactiveEventTypeNames = [[TOP_BLUR, 'blur'], [TOP_CANCEL, 'cancel'], [TOP_CLICK, 'click'], [TOP_CLOSE, 'close'], [TOP_CONTEXT_MENU, 'contextMenu'], [TOP_COPY, 'copy'], [TOP_CUT, 'cut'], [TOP_AUX_CLICK, 'auxClick'], [TOP_DOUBLE_CLICK, 'doubleClick'], [TOP_DRAG_END, 'dragEnd'], [TOP_DRAG_START, 'dragStart'], [TOP_DROP, 'drop'], [TOP_FOCUS, 'focus'], [TOP_INPUT, 'input'], [TOP_INVALID, 'invalid'], [TOP_KEY_DOWN, 'keyDown'], [TOP_KEY_PRESS, 'keyPress'], [TOP_KEY_UP, 'keyUp'], [TOP_MOUSE_DOWN, 'mouseDown'], [TOP_MOUSE_UP, 'mouseUp'], [TOP_PASTE, 'paste'], [TOP_PAUSE, 'pause'], [TOP_PLAY, 'play'], [TOP_POINTER_CANCEL, 'pointerCancel'], [TOP_POINTER_DOWN, 'pointerDown'], [TOP_POINTER_UP, 'pointerUp'], [TOP_RATE_CHANGE, 'rateChange'], [TOP_RESET, 'reset'], [TOP_SEEKED, 'seeked'], [TOP_SUBMIT, 'submit'], [TOP_TOUCH_CANCEL, 'touchCancel'], [TOP_TOUCH_END, 'touchEnd'], [TOP_TOUCH_START, 'touchStart'], [TOP_VOLUME_CHANGE, 'volumeChange']];
  12023. var nonInteractiveEventTypeNames = [[TOP_ABORT, 'abort'], [TOP_ANIMATION_END, 'animationEnd'], [TOP_ANIMATION_ITERATION, 'animationIteration'], [TOP_ANIMATION_START, 'animationStart'], [TOP_CAN_PLAY, 'canPlay'], [TOP_CAN_PLAY_THROUGH, 'canPlayThrough'], [TOP_DRAG, 'drag'], [TOP_DRAG_ENTER, 'dragEnter'], [TOP_DRAG_EXIT, 'dragExit'], [TOP_DRAG_LEAVE, 'dragLeave'], [TOP_DRAG_OVER, 'dragOver'], [TOP_DURATION_CHANGE, 'durationChange'], [TOP_EMPTIED, 'emptied'], [TOP_ENCRYPTED, 'encrypted'], [TOP_ENDED, 'ended'], [TOP_ERROR, 'error'], [TOP_GOT_POINTER_CAPTURE, 'gotPointerCapture'], [TOP_LOAD, 'load'], [TOP_LOADED_DATA, 'loadedData'], [TOP_LOADED_METADATA, 'loadedMetadata'], [TOP_LOAD_START, 'loadStart'], [TOP_LOST_POINTER_CAPTURE, 'lostPointerCapture'], [TOP_MOUSE_MOVE, 'mouseMove'], [TOP_MOUSE_OUT, 'mouseOut'], [TOP_MOUSE_OVER, 'mouseOver'], [TOP_PLAYING, 'playing'], [TOP_POINTER_MOVE, 'pointerMove'], [TOP_POINTER_OUT, 'pointerOut'], [TOP_POINTER_OVER, 'pointerOver'], [TOP_PROGRESS, 'progress'], [TOP_SCROLL, 'scroll'], [TOP_SEEKING, 'seeking'], [TOP_STALLED, 'stalled'], [TOP_SUSPEND, 'suspend'], [TOP_TIME_UPDATE, 'timeUpdate'], [TOP_TOGGLE, 'toggle'], [TOP_TOUCH_MOVE, 'touchMove'], [TOP_TRANSITION_END, 'transitionEnd'], [TOP_WAITING, 'waiting'], [TOP_WHEEL, 'wheel']];
  12024. var eventTypes$4 = {};
  12025. var topLevelEventsToDispatchConfig = {};
  12026. function addEventTypeNameToConfig(_ref, isInteractive) {
  12027. var topEvent = _ref[0],
  12028. event = _ref[1];
  12029. var capitalizedEvent = event[0].toUpperCase() + event.slice(1);
  12030. var onEvent = 'on' + capitalizedEvent;
  12031. var type = {
  12032. phasedRegistrationNames: {
  12033. bubbled: onEvent,
  12034. captured: onEvent + 'Capture'
  12035. },
  12036. dependencies: [topEvent],
  12037. isInteractive: isInteractive
  12038. };
  12039. eventTypes$4[event] = type;
  12040. topLevelEventsToDispatchConfig[topEvent] = type;
  12041. }
  12042. interactiveEventTypeNames.forEach(function (eventTuple) {
  12043. addEventTypeNameToConfig(eventTuple, true);
  12044. });
  12045. nonInteractiveEventTypeNames.forEach(function (eventTuple) {
  12046. addEventTypeNameToConfig(eventTuple, false);
  12047. });
  12048. // Only used in DEV for exhaustiveness validation.
  12049. var knownHTMLTopLevelTypes = [TOP_ABORT, TOP_CANCEL, TOP_CAN_PLAY, TOP_CAN_PLAY_THROUGH, TOP_CLOSE, TOP_DURATION_CHANGE, TOP_EMPTIED, TOP_ENCRYPTED, TOP_ENDED, TOP_ERROR, TOP_INPUT, TOP_INVALID, TOP_LOAD, TOP_LOADED_DATA, TOP_LOADED_METADATA, TOP_LOAD_START, TOP_PAUSE, TOP_PLAY, TOP_PLAYING, TOP_PROGRESS, TOP_RATE_CHANGE, TOP_RESET, TOP_SEEKED, TOP_SEEKING, TOP_STALLED, TOP_SUBMIT, TOP_SUSPEND, TOP_TIME_UPDATE, TOP_TOGGLE, TOP_VOLUME_CHANGE, TOP_WAITING];
  12050. var SimpleEventPlugin = {
  12051. eventTypes: eventTypes$4,
  12052. isInteractiveTopLevelEventType: function (topLevelType) {
  12053. var config = topLevelEventsToDispatchConfig[topLevelType];
  12054. return config !== undefined && config.isInteractive === true;
  12055. },
  12056. extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  12057. var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];
  12058. if (!dispatchConfig) {
  12059. return null;
  12060. }
  12061. var EventConstructor = void 0;
  12062. switch (topLevelType) {
  12063. case TOP_KEY_PRESS:
  12064. // Firefox creates a keypress event for function keys too. This removes
  12065. // the unwanted keypress events. Enter is however both printable and
  12066. // non-printable. One would expect Tab to be as well (but it isn't).
  12067. if (getEventCharCode(nativeEvent) === 0) {
  12068. return null;
  12069. }
  12070. /* falls through */
  12071. case TOP_KEY_DOWN:
  12072. case TOP_KEY_UP:
  12073. EventConstructor = SyntheticKeyboardEvent;
  12074. break;
  12075. case TOP_BLUR:
  12076. case TOP_FOCUS:
  12077. EventConstructor = SyntheticFocusEvent;
  12078. break;
  12079. case TOP_CLICK:
  12080. // Firefox creates a click event on right mouse clicks. This removes the
  12081. // unwanted click events.
  12082. if (nativeEvent.button === 2) {
  12083. return null;
  12084. }
  12085. /* falls through */
  12086. case TOP_AUX_CLICK:
  12087. case TOP_DOUBLE_CLICK:
  12088. case TOP_MOUSE_DOWN:
  12089. case TOP_MOUSE_MOVE:
  12090. case TOP_MOUSE_UP:
  12091. // TODO: Disabled elements should not respond to mouse events
  12092. /* falls through */
  12093. case TOP_MOUSE_OUT:
  12094. case TOP_MOUSE_OVER:
  12095. case TOP_CONTEXT_MENU:
  12096. EventConstructor = SyntheticMouseEvent;
  12097. break;
  12098. case TOP_DRAG:
  12099. case TOP_DRAG_END:
  12100. case TOP_DRAG_ENTER:
  12101. case TOP_DRAG_EXIT:
  12102. case TOP_DRAG_LEAVE:
  12103. case TOP_DRAG_OVER:
  12104. case TOP_DRAG_START:
  12105. case TOP_DROP:
  12106. EventConstructor = SyntheticDragEvent;
  12107. break;
  12108. case TOP_TOUCH_CANCEL:
  12109. case TOP_TOUCH_END:
  12110. case TOP_TOUCH_MOVE:
  12111. case TOP_TOUCH_START:
  12112. EventConstructor = SyntheticTouchEvent;
  12113. break;
  12114. case TOP_ANIMATION_END:
  12115. case TOP_ANIMATION_ITERATION:
  12116. case TOP_ANIMATION_START:
  12117. EventConstructor = SyntheticAnimationEvent;
  12118. break;
  12119. case TOP_TRANSITION_END:
  12120. EventConstructor = SyntheticTransitionEvent;
  12121. break;
  12122. case TOP_SCROLL:
  12123. EventConstructor = SyntheticUIEvent;
  12124. break;
  12125. case TOP_WHEEL:
  12126. EventConstructor = SyntheticWheelEvent;
  12127. break;
  12128. case TOP_COPY:
  12129. case TOP_CUT:
  12130. case TOP_PASTE:
  12131. EventConstructor = SyntheticClipboardEvent;
  12132. break;
  12133. case TOP_GOT_POINTER_CAPTURE:
  12134. case TOP_LOST_POINTER_CAPTURE:
  12135. case TOP_POINTER_CANCEL:
  12136. case TOP_POINTER_DOWN:
  12137. case TOP_POINTER_MOVE:
  12138. case TOP_POINTER_OUT:
  12139. case TOP_POINTER_OVER:
  12140. case TOP_POINTER_UP:
  12141. EventConstructor = SyntheticPointerEvent;
  12142. break;
  12143. default:
  12144. {
  12145. if (knownHTMLTopLevelTypes.indexOf(topLevelType) === -1) {
  12146. warningWithoutStack$1(false, 'SimpleEventPlugin: Unhandled event type, `%s`. This warning ' + 'is likely caused by a bug in React. Please file an issue.', topLevelType);
  12147. }
  12148. }
  12149. // HTML Events
  12150. // @see http://www.w3.org/TR/html5/index.html#events-0
  12151. EventConstructor = SyntheticEvent;
  12152. break;
  12153. }
  12154. var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget);
  12155. accumulateTwoPhaseDispatches(event);
  12156. return event;
  12157. }
  12158. };
  12159. var isInteractiveTopLevelEventType = SimpleEventPlugin.isInteractiveTopLevelEventType;
  12160. var CALLBACK_BOOKKEEPING_POOL_SIZE = 10;
  12161. var callbackBookkeepingPool = [];
  12162. /**
  12163. * Find the deepest React component completely containing the root of the
  12164. * passed-in instance (for use when entire React trees are nested within each
  12165. * other). If React trees are not nested, returns null.
  12166. */
  12167. function findRootContainerNode(inst) {
  12168. // TODO: It may be a good idea to cache this to prevent unnecessary DOM
  12169. // traversal, but caching is difficult to do correctly without using a
  12170. // mutation observer to listen for all DOM changes.
  12171. while (inst.return) {
  12172. inst = inst.return;
  12173. }
  12174. if (inst.tag !== HostRoot) {
  12175. // This can happen if we're in a detached tree.
  12176. return null;
  12177. }
  12178. return inst.stateNode.containerInfo;
  12179. }
  12180. // Used to store ancestor hierarchy in top level callback
  12181. function getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targetInst) {
  12182. if (callbackBookkeepingPool.length) {
  12183. var instance = callbackBookkeepingPool.pop();
  12184. instance.topLevelType = topLevelType;
  12185. instance.nativeEvent = nativeEvent;
  12186. instance.targetInst = targetInst;
  12187. return instance;
  12188. }
  12189. return {
  12190. topLevelType: topLevelType,
  12191. nativeEvent: nativeEvent,
  12192. targetInst: targetInst,
  12193. ancestors: []
  12194. };
  12195. }
  12196. function releaseTopLevelCallbackBookKeeping(instance) {
  12197. instance.topLevelType = null;
  12198. instance.nativeEvent = null;
  12199. instance.targetInst = null;
  12200. instance.ancestors.length = 0;
  12201. if (callbackBookkeepingPool.length < CALLBACK_BOOKKEEPING_POOL_SIZE) {
  12202. callbackBookkeepingPool.push(instance);
  12203. }
  12204. }
  12205. function handleTopLevel(bookKeeping) {
  12206. var targetInst = bookKeeping.targetInst;
  12207. // Loop through the hierarchy, in case there's any nested components.
  12208. // It's important that we build the array of ancestors before calling any
  12209. // event handlers, because event handlers can modify the DOM, leading to
  12210. // inconsistencies with ReactMount's node cache. See #1105.
  12211. var ancestor = targetInst;
  12212. do {
  12213. if (!ancestor) {
  12214. bookKeeping.ancestors.push(ancestor);
  12215. break;
  12216. }
  12217. var root = findRootContainerNode(ancestor);
  12218. if (!root) {
  12219. break;
  12220. }
  12221. bookKeeping.ancestors.push(ancestor);
  12222. ancestor = getClosestInstanceFromNode(root);
  12223. } while (ancestor);
  12224. for (var i = 0; i < bookKeeping.ancestors.length; i++) {
  12225. targetInst = bookKeeping.ancestors[i];
  12226. runExtractedEventsInBatch(bookKeeping.topLevelType, targetInst, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));
  12227. }
  12228. }
  12229. // TODO: can we stop exporting these?
  12230. var _enabled = true;
  12231. function setEnabled(enabled) {
  12232. _enabled = !!enabled;
  12233. }
  12234. function isEnabled() {
  12235. return _enabled;
  12236. }
  12237. /**
  12238. * Traps top-level events by using event bubbling.
  12239. *
  12240. * @param {number} topLevelType Number from `TopLevelEventTypes`.
  12241. * @param {object} element Element on which to attach listener.
  12242. * @return {?object} An object with a remove function which will forcefully
  12243. * remove the listener.
  12244. * @internal
  12245. */
  12246. function trapBubbledEvent(topLevelType, element) {
  12247. if (!element) {
  12248. return null;
  12249. }
  12250. var dispatch = isInteractiveTopLevelEventType(topLevelType) ? dispatchInteractiveEvent : dispatchEvent;
  12251. addEventBubbleListener(element, getRawEventName(topLevelType),
  12252. // Check if interactive and wrap in interactiveUpdates
  12253. dispatch.bind(null, topLevelType));
  12254. }
  12255. /**
  12256. * Traps a top-level event by using event capturing.
  12257. *
  12258. * @param {number} topLevelType Number from `TopLevelEventTypes`.
  12259. * @param {object} element Element on which to attach listener.
  12260. * @return {?object} An object with a remove function which will forcefully
  12261. * remove the listener.
  12262. * @internal
  12263. */
  12264. function trapCapturedEvent(topLevelType, element) {
  12265. if (!element) {
  12266. return null;
  12267. }
  12268. var dispatch = isInteractiveTopLevelEventType(topLevelType) ? dispatchInteractiveEvent : dispatchEvent;
  12269. addEventCaptureListener(element, getRawEventName(topLevelType),
  12270. // Check if interactive and wrap in interactiveUpdates
  12271. dispatch.bind(null, topLevelType));
  12272. }
  12273. function dispatchInteractiveEvent(topLevelType, nativeEvent) {
  12274. interactiveUpdates(dispatchEvent, topLevelType, nativeEvent);
  12275. }
  12276. function dispatchEvent(topLevelType, nativeEvent) {
  12277. if (!_enabled) {
  12278. return;
  12279. }
  12280. var nativeEventTarget = getEventTarget(nativeEvent);
  12281. var targetInst = getClosestInstanceFromNode(nativeEventTarget);
  12282. if (targetInst !== null && typeof targetInst.tag === 'number' && !isFiberMounted(targetInst)) {
  12283. // If we get an event (ex: img onload) before committing that
  12284. // component's mount, ignore it for now (that is, treat it as if it was an
  12285. // event on a non-React tree). We might also consider queueing events and
  12286. // dispatching them after the mount.
  12287. targetInst = null;
  12288. }
  12289. var bookKeeping = getTopLevelCallbackBookKeeping(topLevelType, nativeEvent, targetInst);
  12290. try {
  12291. // Event queue being processed in the same cycle allows
  12292. // `preventDefault`.
  12293. batchedUpdates(handleTopLevel, bookKeeping);
  12294. } finally {
  12295. releaseTopLevelCallbackBookKeeping(bookKeeping);
  12296. }
  12297. }
  12298. /**
  12299. * Summary of `ReactBrowserEventEmitter` event handling:
  12300. *
  12301. * - Top-level delegation is used to trap most native browser events. This
  12302. * may only occur in the main thread and is the responsibility of
  12303. * ReactDOMEventListener, which is injected and can therefore support
  12304. * pluggable event sources. This is the only work that occurs in the main
  12305. * thread.
  12306. *
  12307. * - We normalize and de-duplicate events to account for browser quirks. This
  12308. * may be done in the worker thread.
  12309. *
  12310. * - Forward these native events (with the associated top-level type used to
  12311. * trap it) to `EventPluginHub`, which in turn will ask plugins if they want
  12312. * to extract any synthetic events.
  12313. *
  12314. * - The `EventPluginHub` will then process each event by annotating them with
  12315. * "dispatches", a sequence of listeners and IDs that care about that event.
  12316. *
  12317. * - The `EventPluginHub` then dispatches the events.
  12318. *
  12319. * Overview of React and the event system:
  12320. *
  12321. * +------------+ .
  12322. * | DOM | .
  12323. * +------------+ .
  12324. * | .
  12325. * v .
  12326. * +------------+ .
  12327. * | ReactEvent | .
  12328. * | Listener | .
  12329. * +------------+ . +-----------+
  12330. * | . +--------+|SimpleEvent|
  12331. * | . | |Plugin |
  12332. * +-----|------+ . v +-----------+
  12333. * | | | . +--------------+ +------------+
  12334. * | +-----------.--->|EventPluginHub| | Event |
  12335. * | | . | | +-----------+ | Propagators|
  12336. * | ReactEvent | . | | |TapEvent | |------------|
  12337. * | Emitter | . | |<---+|Plugin | |other plugin|
  12338. * | | . | | +-----------+ | utilities |
  12339. * | +-----------.--->| | +------------+
  12340. * | | | . +--------------+
  12341. * +-----|------+ . ^ +-----------+
  12342. * | . | |Enter/Leave|
  12343. * + . +-------+|Plugin |
  12344. * +-------------+ . +-----------+
  12345. * | application | .
  12346. * |-------------| .
  12347. * | | .
  12348. * | | .
  12349. * +-------------+ .
  12350. * .
  12351. * React Core . General Purpose Event Plugin System
  12352. */
  12353. var alreadyListeningTo = {};
  12354. var reactTopListenersCounter = 0;
  12355. /**
  12356. * To ensure no conflicts with other potential React instances on the page
  12357. */
  12358. var topListenersIDKey = '_reactListenersID' + ('' + Math.random()).slice(2);
  12359. function getListeningForDocument(mountAt) {
  12360. // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`
  12361. // directly.
  12362. if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {
  12363. mountAt[topListenersIDKey] = reactTopListenersCounter++;
  12364. alreadyListeningTo[mountAt[topListenersIDKey]] = {};
  12365. }
  12366. return alreadyListeningTo[mountAt[topListenersIDKey]];
  12367. }
  12368. /**
  12369. * We listen for bubbled touch events on the document object.
  12370. *
  12371. * Firefox v8.01 (and possibly others) exhibited strange behavior when
  12372. * mounting `onmousemove` events at some node that was not the document
  12373. * element. The symptoms were that if your mouse is not moving over something
  12374. * contained within that mount point (for example on the background) the
  12375. * top-level listeners for `onmousemove` won't be called. However, if you
  12376. * register the `mousemove` on the document object, then it will of course
  12377. * catch all `mousemove`s. This along with iOS quirks, justifies restricting
  12378. * top-level listeners to the document object only, at least for these
  12379. * movement types of events and possibly all events.
  12380. *
  12381. * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
  12382. *
  12383. * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but
  12384. * they bubble to document.
  12385. *
  12386. * @param {string} registrationName Name of listener (e.g. `onClick`).
  12387. * @param {object} mountAt Container where to mount the listener
  12388. */
  12389. function listenTo(registrationName, mountAt) {
  12390. var isListening = getListeningForDocument(mountAt);
  12391. var dependencies = registrationNameDependencies[registrationName];
  12392. for (var i = 0; i < dependencies.length; i++) {
  12393. var dependency = dependencies[i];
  12394. if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {
  12395. switch (dependency) {
  12396. case TOP_SCROLL:
  12397. trapCapturedEvent(TOP_SCROLL, mountAt);
  12398. break;
  12399. case TOP_FOCUS:
  12400. case TOP_BLUR:
  12401. trapCapturedEvent(TOP_FOCUS, mountAt);
  12402. trapCapturedEvent(TOP_BLUR, mountAt);
  12403. // We set the flag for a single dependency later in this function,
  12404. // but this ensures we mark both as attached rather than just one.
  12405. isListening[TOP_BLUR] = true;
  12406. isListening[TOP_FOCUS] = true;
  12407. break;
  12408. case TOP_CANCEL:
  12409. case TOP_CLOSE:
  12410. if (isEventSupported(getRawEventName(dependency))) {
  12411. trapCapturedEvent(dependency, mountAt);
  12412. }
  12413. break;
  12414. case TOP_INVALID:
  12415. case TOP_SUBMIT:
  12416. case TOP_RESET:
  12417. // We listen to them on the target DOM elements.
  12418. // Some of them bubble so we don't want them to fire twice.
  12419. break;
  12420. default:
  12421. // By default, listen on the top level to all non-media events.
  12422. // Media events don't bubble so adding the listener wouldn't do anything.
  12423. var isMediaEvent = mediaEventTypes.indexOf(dependency) !== -1;
  12424. if (!isMediaEvent) {
  12425. trapBubbledEvent(dependency, mountAt);
  12426. }
  12427. break;
  12428. }
  12429. isListening[dependency] = true;
  12430. }
  12431. }
  12432. }
  12433. function isListeningToAllDependencies(registrationName, mountAt) {
  12434. var isListening = getListeningForDocument(mountAt);
  12435. var dependencies = registrationNameDependencies[registrationName];
  12436. for (var i = 0; i < dependencies.length; i++) {
  12437. var dependency = dependencies[i];
  12438. if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {
  12439. return false;
  12440. }
  12441. }
  12442. return true;
  12443. }
  12444. function getActiveElement(doc) {
  12445. doc = doc || (typeof document !== 'undefined' ? document : undefined);
  12446. if (typeof doc === 'undefined') {
  12447. return null;
  12448. }
  12449. try {
  12450. return doc.activeElement || doc.body;
  12451. } catch (e) {
  12452. return doc.body;
  12453. }
  12454. }
  12455. /**
  12456. * Given any node return the first leaf node without children.
  12457. *
  12458. * @param {DOMElement|DOMTextNode} node
  12459. * @return {DOMElement|DOMTextNode}
  12460. */
  12461. function getLeafNode(node) {
  12462. while (node && node.firstChild) {
  12463. node = node.firstChild;
  12464. }
  12465. return node;
  12466. }
  12467. /**
  12468. * Get the next sibling within a container. This will walk up the
  12469. * DOM if a node's siblings have been exhausted.
  12470. *
  12471. * @param {DOMElement|DOMTextNode} node
  12472. * @return {?DOMElement|DOMTextNode}
  12473. */
  12474. function getSiblingNode(node) {
  12475. while (node) {
  12476. if (node.nextSibling) {
  12477. return node.nextSibling;
  12478. }
  12479. node = node.parentNode;
  12480. }
  12481. }
  12482. /**
  12483. * Get object describing the nodes which contain characters at offset.
  12484. *
  12485. * @param {DOMElement|DOMTextNode} root
  12486. * @param {number} offset
  12487. * @return {?object}
  12488. */
  12489. function getNodeForCharacterOffset(root, offset) {
  12490. var node = getLeafNode(root);
  12491. var nodeStart = 0;
  12492. var nodeEnd = 0;
  12493. while (node) {
  12494. if (node.nodeType === TEXT_NODE) {
  12495. nodeEnd = nodeStart + node.textContent.length;
  12496. if (nodeStart <= offset && nodeEnd >= offset) {
  12497. return {
  12498. node: node,
  12499. offset: offset - nodeStart
  12500. };
  12501. }
  12502. nodeStart = nodeEnd;
  12503. }
  12504. node = getLeafNode(getSiblingNode(node));
  12505. }
  12506. }
  12507. /**
  12508. * @param {DOMElement} outerNode
  12509. * @return {?object}
  12510. */
  12511. function getOffsets(outerNode) {
  12512. var ownerDocument = outerNode.ownerDocument;
  12513. var win = ownerDocument && ownerDocument.defaultView || window;
  12514. var selection = win.getSelection && win.getSelection();
  12515. if (!selection || selection.rangeCount === 0) {
  12516. return null;
  12517. }
  12518. var anchorNode = selection.anchorNode,
  12519. anchorOffset = selection.anchorOffset,
  12520. focusNode = selection.focusNode,
  12521. focusOffset = selection.focusOffset;
  12522. // In Firefox, anchorNode and focusNode can be "anonymous divs", e.g. the
  12523. // up/down buttons on an <input type="number">. Anonymous divs do not seem to
  12524. // expose properties, triggering a "Permission denied error" if any of its
  12525. // properties are accessed. The only seemingly possible way to avoid erroring
  12526. // is to access a property that typically works for non-anonymous divs and
  12527. // catch any error that may otherwise arise. See
  12528. // https://bugzilla.mozilla.org/show_bug.cgi?id=208427
  12529. try {
  12530. /* eslint-disable no-unused-expressions */
  12531. anchorNode.nodeType;
  12532. focusNode.nodeType;
  12533. /* eslint-enable no-unused-expressions */
  12534. } catch (e) {
  12535. return null;
  12536. }
  12537. return getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset);
  12538. }
  12539. /**
  12540. * Returns {start, end} where `start` is the character/codepoint index of
  12541. * (anchorNode, anchorOffset) within the textContent of `outerNode`, and
  12542. * `end` is the index of (focusNode, focusOffset).
  12543. *
  12544. * Returns null if you pass in garbage input but we should probably just crash.
  12545. *
  12546. * Exported only for testing.
  12547. */
  12548. function getModernOffsetsFromPoints(outerNode, anchorNode, anchorOffset, focusNode, focusOffset) {
  12549. var length = 0;
  12550. var start = -1;
  12551. var end = -1;
  12552. var indexWithinAnchor = 0;
  12553. var indexWithinFocus = 0;
  12554. var node = outerNode;
  12555. var parentNode = null;
  12556. outer: while (true) {
  12557. var next = null;
  12558. while (true) {
  12559. if (node === anchorNode && (anchorOffset === 0 || node.nodeType === TEXT_NODE)) {
  12560. start = length + anchorOffset;
  12561. }
  12562. if (node === focusNode && (focusOffset === 0 || node.nodeType === TEXT_NODE)) {
  12563. end = length + focusOffset;
  12564. }
  12565. if (node.nodeType === TEXT_NODE) {
  12566. length += node.nodeValue.length;
  12567. }
  12568. if ((next = node.firstChild) === null) {
  12569. break;
  12570. }
  12571. // Moving from `node` to its first child `next`.
  12572. parentNode = node;
  12573. node = next;
  12574. }
  12575. while (true) {
  12576. if (node === outerNode) {
  12577. // If `outerNode` has children, this is always the second time visiting
  12578. // it. If it has no children, this is still the first loop, and the only
  12579. // valid selection is anchorNode and focusNode both equal to this node
  12580. // and both offsets 0, in which case we will have handled above.
  12581. break outer;
  12582. }
  12583. if (parentNode === anchorNode && ++indexWithinAnchor === anchorOffset) {
  12584. start = length;
  12585. }
  12586. if (parentNode === focusNode && ++indexWithinFocus === focusOffset) {
  12587. end = length;
  12588. }
  12589. if ((next = node.nextSibling) !== null) {
  12590. break;
  12591. }
  12592. node = parentNode;
  12593. parentNode = node.parentNode;
  12594. }
  12595. // Moving from `node` to its next sibling `next`.
  12596. node = next;
  12597. }
  12598. if (start === -1 || end === -1) {
  12599. // This should never happen. (Would happen if the anchor/focus nodes aren't
  12600. // actually inside the passed-in node.)
  12601. return null;
  12602. }
  12603. return {
  12604. start: start,
  12605. end: end
  12606. };
  12607. }
  12608. /**
  12609. * In modern non-IE browsers, we can support both forward and backward
  12610. * selections.
  12611. *
  12612. * Note: IE10+ supports the Selection object, but it does not support
  12613. * the `extend` method, which means that even in modern IE, it's not possible
  12614. * to programmatically create a backward selection. Thus, for all IE
  12615. * versions, we use the old IE API to create our selections.
  12616. *
  12617. * @param {DOMElement|DOMTextNode} node
  12618. * @param {object} offsets
  12619. */
  12620. function setOffsets(node, offsets) {
  12621. var doc = node.ownerDocument || document;
  12622. var win = doc && doc.defaultView || window;
  12623. // Edge fails with "Object expected" in some scenarios.
  12624. // (For instance: TinyMCE editor used in a list component that supports pasting to add more,
  12625. // fails when pasting 100+ items)
  12626. if (!win.getSelection) {
  12627. return;
  12628. }
  12629. var selection = win.getSelection();
  12630. var length = node.textContent.length;
  12631. var start = Math.min(offsets.start, length);
  12632. var end = offsets.end === undefined ? start : Math.min(offsets.end, length);
  12633. // IE 11 uses modern selection, but doesn't support the extend method.
  12634. // Flip backward selections, so we can set with a single range.
  12635. if (!selection.extend && start > end) {
  12636. var temp = end;
  12637. end = start;
  12638. start = temp;
  12639. }
  12640. var startMarker = getNodeForCharacterOffset(node, start);
  12641. var endMarker = getNodeForCharacterOffset(node, end);
  12642. if (startMarker && endMarker) {
  12643. if (selection.rangeCount === 1 && selection.anchorNode === startMarker.node && selection.anchorOffset === startMarker.offset && selection.focusNode === endMarker.node && selection.focusOffset === endMarker.offset) {
  12644. return;
  12645. }
  12646. var range = doc.createRange();
  12647. range.setStart(startMarker.node, startMarker.offset);
  12648. selection.removeAllRanges();
  12649. if (start > end) {
  12650. selection.addRange(range);
  12651. selection.extend(endMarker.node, endMarker.offset);
  12652. } else {
  12653. range.setEnd(endMarker.node, endMarker.offset);
  12654. selection.addRange(range);
  12655. }
  12656. }
  12657. }
  12658. function isTextNode(node) {
  12659. return node && node.nodeType === TEXT_NODE;
  12660. }
  12661. function containsNode(outerNode, innerNode) {
  12662. if (!outerNode || !innerNode) {
  12663. return false;
  12664. } else if (outerNode === innerNode) {
  12665. return true;
  12666. } else if (isTextNode(outerNode)) {
  12667. return false;
  12668. } else if (isTextNode(innerNode)) {
  12669. return containsNode(outerNode, innerNode.parentNode);
  12670. } else if ('contains' in outerNode) {
  12671. return outerNode.contains(innerNode);
  12672. } else if (outerNode.compareDocumentPosition) {
  12673. return !!(outerNode.compareDocumentPosition(innerNode) & 16);
  12674. } else {
  12675. return false;
  12676. }
  12677. }
  12678. function isInDocument(node) {
  12679. return node && node.ownerDocument && containsNode(node.ownerDocument.documentElement, node);
  12680. }
  12681. function getActiveElementDeep() {
  12682. var win = window;
  12683. var element = getActiveElement();
  12684. while (element instanceof win.HTMLIFrameElement) {
  12685. // Accessing the contentDocument of a HTMLIframeElement can cause the browser
  12686. // to throw, e.g. if it has a cross-origin src attribute
  12687. try {
  12688. win = element.contentDocument.defaultView;
  12689. } catch (e) {
  12690. return element;
  12691. }
  12692. element = getActiveElement(win.document);
  12693. }
  12694. return element;
  12695. }
  12696. /**
  12697. * @ReactInputSelection: React input selection module. Based on Selection.js,
  12698. * but modified to be suitable for react and has a couple of bug fixes (doesn't
  12699. * assume buttons have range selections allowed).
  12700. * Input selection module for React.
  12701. */
  12702. /**
  12703. * @hasSelectionCapabilities: we get the element types that support selection
  12704. * from https://html.spec.whatwg.org/#do-not-apply, looking at `selectionStart`
  12705. * and `selectionEnd` rows.
  12706. */
  12707. function hasSelectionCapabilities(elem) {
  12708. var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
  12709. return nodeName && (nodeName === 'input' && (elem.type === 'text' || elem.type === 'search' || elem.type === 'tel' || elem.type === 'url' || elem.type === 'password') || nodeName === 'textarea' || elem.contentEditable === 'true');
  12710. }
  12711. function getSelectionInformation() {
  12712. var focusedElem = getActiveElementDeep();
  12713. return {
  12714. focusedElem: focusedElem,
  12715. selectionRange: hasSelectionCapabilities(focusedElem) ? getSelection$1(focusedElem) : null
  12716. };
  12717. }
  12718. /**
  12719. * @restoreSelection: If any selection information was potentially lost,
  12720. * restore it. This is useful when performing operations that could remove dom
  12721. * nodes and place them back in, resulting in focus being lost.
  12722. */
  12723. function restoreSelection(priorSelectionInformation) {
  12724. var curFocusedElem = getActiveElementDeep();
  12725. var priorFocusedElem = priorSelectionInformation.focusedElem;
  12726. var priorSelectionRange = priorSelectionInformation.selectionRange;
  12727. if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {
  12728. if (priorSelectionRange !== null && hasSelectionCapabilities(priorFocusedElem)) {
  12729. setSelection(priorFocusedElem, priorSelectionRange);
  12730. }
  12731. // Focusing a node can change the scroll position, which is undesirable
  12732. var ancestors = [];
  12733. var ancestor = priorFocusedElem;
  12734. while (ancestor = ancestor.parentNode) {
  12735. if (ancestor.nodeType === ELEMENT_NODE) {
  12736. ancestors.push({
  12737. element: ancestor,
  12738. left: ancestor.scrollLeft,
  12739. top: ancestor.scrollTop
  12740. });
  12741. }
  12742. }
  12743. if (typeof priorFocusedElem.focus === 'function') {
  12744. priorFocusedElem.focus();
  12745. }
  12746. for (var i = 0; i < ancestors.length; i++) {
  12747. var info = ancestors[i];
  12748. info.element.scrollLeft = info.left;
  12749. info.element.scrollTop = info.top;
  12750. }
  12751. }
  12752. }
  12753. /**
  12754. * @getSelection: Gets the selection bounds of a focused textarea, input or
  12755. * contentEditable node.
  12756. * -@input: Look up selection bounds of this input
  12757. * -@return {start: selectionStart, end: selectionEnd}
  12758. */
  12759. function getSelection$1(input) {
  12760. var selection = void 0;
  12761. if ('selectionStart' in input) {
  12762. // Modern browser with input or textarea.
  12763. selection = {
  12764. start: input.selectionStart,
  12765. end: input.selectionEnd
  12766. };
  12767. } else {
  12768. // Content editable or old IE textarea.
  12769. selection = getOffsets(input);
  12770. }
  12771. return selection || { start: 0, end: 0 };
  12772. }
  12773. /**
  12774. * @setSelection: Sets the selection bounds of a textarea or input and focuses
  12775. * the input.
  12776. * -@input Set selection bounds of this input or textarea
  12777. * -@offsets Object of same form that is returned from get*
  12778. */
  12779. function setSelection(input, offsets) {
  12780. var start = offsets.start,
  12781. end = offsets.end;
  12782. if (end === undefined) {
  12783. end = start;
  12784. }
  12785. if ('selectionStart' in input) {
  12786. input.selectionStart = start;
  12787. input.selectionEnd = Math.min(end, input.value.length);
  12788. } else {
  12789. setOffsets(input, offsets);
  12790. }
  12791. }
  12792. var skipSelectionChangeEvent = canUseDOM && 'documentMode' in document && document.documentMode <= 11;
  12793. var eventTypes$3 = {
  12794. select: {
  12795. phasedRegistrationNames: {
  12796. bubbled: 'onSelect',
  12797. captured: 'onSelectCapture'
  12798. },
  12799. dependencies: [TOP_BLUR, TOP_CONTEXT_MENU, TOP_DRAG_END, TOP_FOCUS, TOP_KEY_DOWN, TOP_KEY_UP, TOP_MOUSE_DOWN, TOP_MOUSE_UP, TOP_SELECTION_CHANGE]
  12800. }
  12801. };
  12802. var activeElement$1 = null;
  12803. var activeElementInst$1 = null;
  12804. var lastSelection = null;
  12805. var mouseDown = false;
  12806. /**
  12807. * Get an object which is a unique representation of the current selection.
  12808. *
  12809. * The return value will not be consistent across nodes or browsers, but
  12810. * two identical selections on the same node will return identical objects.
  12811. *
  12812. * @param {DOMElement} node
  12813. * @return {object}
  12814. */
  12815. function getSelection(node) {
  12816. if ('selectionStart' in node && hasSelectionCapabilities(node)) {
  12817. return {
  12818. start: node.selectionStart,
  12819. end: node.selectionEnd
  12820. };
  12821. } else {
  12822. var win = node.ownerDocument && node.ownerDocument.defaultView || window;
  12823. var selection = win.getSelection();
  12824. return {
  12825. anchorNode: selection.anchorNode,
  12826. anchorOffset: selection.anchorOffset,
  12827. focusNode: selection.focusNode,
  12828. focusOffset: selection.focusOffset
  12829. };
  12830. }
  12831. }
  12832. /**
  12833. * Get document associated with the event target.
  12834. *
  12835. * @param {object} nativeEventTarget
  12836. * @return {Document}
  12837. */
  12838. function getEventTargetDocument(eventTarget) {
  12839. return eventTarget.window === eventTarget ? eventTarget.document : eventTarget.nodeType === DOCUMENT_NODE ? eventTarget : eventTarget.ownerDocument;
  12840. }
  12841. /**
  12842. * Poll selection to see whether it's changed.
  12843. *
  12844. * @param {object} nativeEvent
  12845. * @param {object} nativeEventTarget
  12846. * @return {?SyntheticEvent}
  12847. */
  12848. function constructSelectEvent(nativeEvent, nativeEventTarget) {
  12849. // Ensure we have the right element, and that the user is not dragging a
  12850. // selection (this matches native `select` event behavior). In HTML5, select
  12851. // fires only on input and textarea thus if there's no focused element we
  12852. // won't dispatch.
  12853. var doc = getEventTargetDocument(nativeEventTarget);
  12854. if (mouseDown || activeElement$1 == null || activeElement$1 !== getActiveElement(doc)) {
  12855. return null;
  12856. }
  12857. // Only fire when selection has actually changed.
  12858. var currentSelection = getSelection(activeElement$1);
  12859. if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {
  12860. lastSelection = currentSelection;
  12861. var syntheticEvent = SyntheticEvent.getPooled(eventTypes$3.select, activeElementInst$1, nativeEvent, nativeEventTarget);
  12862. syntheticEvent.type = 'select';
  12863. syntheticEvent.target = activeElement$1;
  12864. accumulateTwoPhaseDispatches(syntheticEvent);
  12865. return syntheticEvent;
  12866. }
  12867. return null;
  12868. }
  12869. /**
  12870. * This plugin creates an `onSelect` event that normalizes select events
  12871. * across form elements.
  12872. *
  12873. * Supported elements are:
  12874. * - input (see `isTextInputElement`)
  12875. * - textarea
  12876. * - contentEditable
  12877. *
  12878. * This differs from native browser implementations in the following ways:
  12879. * - Fires on contentEditable fields as well as inputs.
  12880. * - Fires for collapsed selection.
  12881. * - Fires after user input.
  12882. */
  12883. var SelectEventPlugin = {
  12884. eventTypes: eventTypes$3,
  12885. extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {
  12886. var doc = getEventTargetDocument(nativeEventTarget);
  12887. // Track whether all listeners exists for this plugin. If none exist, we do
  12888. // not extract events. See #3639.
  12889. if (!doc || !isListeningToAllDependencies('onSelect', doc)) {
  12890. return null;
  12891. }
  12892. var targetNode = targetInst ? getNodeFromInstance$1(targetInst) : window;
  12893. switch (topLevelType) {
  12894. // Track the input node that has focus.
  12895. case TOP_FOCUS:
  12896. if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {
  12897. activeElement$1 = targetNode;
  12898. activeElementInst$1 = targetInst;
  12899. lastSelection = null;
  12900. }
  12901. break;
  12902. case TOP_BLUR:
  12903. activeElement$1 = null;
  12904. activeElementInst$1 = null;
  12905. lastSelection = null;
  12906. break;
  12907. // Don't fire the event while the user is dragging. This matches the
  12908. // semantics of the native select event.
  12909. case TOP_MOUSE_DOWN:
  12910. mouseDown = true;
  12911. break;
  12912. case TOP_CONTEXT_MENU:
  12913. case TOP_MOUSE_UP:
  12914. case TOP_DRAG_END:
  12915. mouseDown = false;
  12916. return constructSelectEvent(nativeEvent, nativeEventTarget);
  12917. // Chrome and IE fire non-standard event when selection is changed (and
  12918. // sometimes when it hasn't). IE's event fires out of order with respect
  12919. // to key and input events on deletion, so we discard it.
  12920. //
  12921. // Firefox doesn't support selectionchange, so check selection status
  12922. // after each key entry. The selection changes after keydown and before
  12923. // keyup, but we check on keydown as well in the case of holding down a
  12924. // key, when multiple keydown events are fired but only one keyup is.
  12925. // This is also our approach for IE handling, for the reason above.
  12926. case TOP_SELECTION_CHANGE:
  12927. if (skipSelectionChangeEvent) {
  12928. break;
  12929. }
  12930. // falls through
  12931. case TOP_KEY_DOWN:
  12932. case TOP_KEY_UP:
  12933. return constructSelectEvent(nativeEvent, nativeEventTarget);
  12934. }
  12935. return null;
  12936. }
  12937. };
  12938. /**
  12939. * Inject modules for resolving DOM hierarchy and plugin ordering.
  12940. */
  12941. injection.injectEventPluginOrder(DOMEventPluginOrder);
  12942. setComponentTree(getFiberCurrentPropsFromNode$1, getInstanceFromNode$1, getNodeFromInstance$1);
  12943. /**
  12944. * Some important event plugins included by default (without having to require
  12945. * them).
  12946. */
  12947. injection.injectEventPluginsByName({
  12948. SimpleEventPlugin: SimpleEventPlugin,
  12949. EnterLeaveEventPlugin: EnterLeaveEventPlugin,
  12950. ChangeEventPlugin: ChangeEventPlugin,
  12951. SelectEventPlugin: SelectEventPlugin,
  12952. BeforeInputEventPlugin: BeforeInputEventPlugin
  12953. });
  12954. var didWarnSelectedSetOnOption = false;
  12955. var didWarnInvalidChild = false;
  12956. function flattenChildren(children) {
  12957. var content = '';
  12958. // Flatten children. We'll warn if they are invalid
  12959. // during validateProps() which runs for hydration too.
  12960. // Note that this would throw on non-element objects.
  12961. // Elements are stringified (which is normally irrelevant
  12962. // but matters for <fbt>).
  12963. React.Children.forEach(children, function (child) {
  12964. if (child == null) {
  12965. return;
  12966. }
  12967. content += child;
  12968. // Note: we don't warn about invalid children here.
  12969. // Instead, this is done separately below so that
  12970. // it happens during the hydration codepath too.
  12971. });
  12972. return content;
  12973. }
  12974. /**
  12975. * Implements an <option> host component that warns when `selected` is set.
  12976. */
  12977. function validateProps(element, props) {
  12978. {
  12979. // This mirrors the codepath above, but runs for hydration too.
  12980. // Warn about invalid children here so that client and hydration are consistent.
  12981. // TODO: this seems like it could cause a DEV-only throw for hydration
  12982. // if children contains a non-element object. We should try to avoid that.
  12983. if (typeof props.children === 'object' && props.children !== null) {
  12984. React.Children.forEach(props.children, function (child) {
  12985. if (child == null) {
  12986. return;
  12987. }
  12988. if (typeof child === 'string' || typeof child === 'number') {
  12989. return;
  12990. }
  12991. if (typeof child.type !== 'string') {
  12992. return;
  12993. }
  12994. if (!didWarnInvalidChild) {
  12995. didWarnInvalidChild = true;
  12996. warning$1(false, 'Only strings and numbers are supported as <option> children.');
  12997. }
  12998. });
  12999. }
  13000. // TODO: Remove support for `selected` in <option>.
  13001. if (props.selected != null && !didWarnSelectedSetOnOption) {
  13002. warning$1(false, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.');
  13003. didWarnSelectedSetOnOption = true;
  13004. }
  13005. }
  13006. }
  13007. function postMountWrapper$1(element, props) {
  13008. // value="" should make a value attribute (#6219)
  13009. if (props.value != null) {
  13010. element.setAttribute('value', toString(getToStringValue(props.value)));
  13011. }
  13012. }
  13013. function getHostProps$1(element, props) {
  13014. var hostProps = _assign({ children: undefined }, props);
  13015. var content = flattenChildren(props.children);
  13016. if (content) {
  13017. hostProps.children = content;
  13018. }
  13019. return hostProps;
  13020. }
  13021. // TODO: direct imports like some-package/src/* are bad. Fix me.
  13022. var didWarnValueDefaultValue$1 = void 0;
  13023. {
  13024. didWarnValueDefaultValue$1 = false;
  13025. }
  13026. function getDeclarationErrorAddendum() {
  13027. var ownerName = getCurrentFiberOwnerNameInDevOrNull();
  13028. if (ownerName) {
  13029. return '\n\nCheck the render method of `' + ownerName + '`.';
  13030. }
  13031. return '';
  13032. }
  13033. var valuePropNames = ['value', 'defaultValue'];
  13034. /**
  13035. * Validation function for `value` and `defaultValue`.
  13036. */
  13037. function checkSelectPropTypes(props) {
  13038. ReactControlledValuePropTypes.checkPropTypes('select', props);
  13039. for (var i = 0; i < valuePropNames.length; i++) {
  13040. var propName = valuePropNames[i];
  13041. if (props[propName] == null) {
  13042. continue;
  13043. }
  13044. var isArray = Array.isArray(props[propName]);
  13045. if (props.multiple && !isArray) {
  13046. warning$1(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum());
  13047. } else if (!props.multiple && isArray) {
  13048. warning$1(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum());
  13049. }
  13050. }
  13051. }
  13052. function updateOptions(node, multiple, propValue, setDefaultSelected) {
  13053. var options = node.options;
  13054. if (multiple) {
  13055. var selectedValues = propValue;
  13056. var selectedValue = {};
  13057. for (var i = 0; i < selectedValues.length; i++) {
  13058. // Prefix to avoid chaos with special keys.
  13059. selectedValue['$' + selectedValues[i]] = true;
  13060. }
  13061. for (var _i = 0; _i < options.length; _i++) {
  13062. var selected = selectedValue.hasOwnProperty('$' + options[_i].value);
  13063. if (options[_i].selected !== selected) {
  13064. options[_i].selected = selected;
  13065. }
  13066. if (selected && setDefaultSelected) {
  13067. options[_i].defaultSelected = true;
  13068. }
  13069. }
  13070. } else {
  13071. // Do not set `select.value` as exact behavior isn't consistent across all
  13072. // browsers for all cases.
  13073. var _selectedValue = toString(getToStringValue(propValue));
  13074. var defaultSelected = null;
  13075. for (var _i2 = 0; _i2 < options.length; _i2++) {
  13076. if (options[_i2].value === _selectedValue) {
  13077. options[_i2].selected = true;
  13078. if (setDefaultSelected) {
  13079. options[_i2].defaultSelected = true;
  13080. }
  13081. return;
  13082. }
  13083. if (defaultSelected === null && !options[_i2].disabled) {
  13084. defaultSelected = options[_i2];
  13085. }
  13086. }
  13087. if (defaultSelected !== null) {
  13088. defaultSelected.selected = true;
  13089. }
  13090. }
  13091. }
  13092. /**
  13093. * Implements a <select> host component that allows optionally setting the
  13094. * props `value` and `defaultValue`. If `multiple` is false, the prop must be a
  13095. * stringable. If `multiple` is true, the prop must be an array of stringables.
  13096. *
  13097. * If `value` is not supplied (or null/undefined), user actions that change the
  13098. * selected option will trigger updates to the rendered options.
  13099. *
  13100. * If it is supplied (and not null/undefined), the rendered options will not
  13101. * update in response to user actions. Instead, the `value` prop must change in
  13102. * order for the rendered options to update.
  13103. *
  13104. * If `defaultValue` is provided, any options with the supplied values will be
  13105. * selected.
  13106. */
  13107. function getHostProps$2(element, props) {
  13108. return _assign({}, props, {
  13109. value: undefined
  13110. });
  13111. }
  13112. function initWrapperState$1(element, props) {
  13113. var node = element;
  13114. {
  13115. checkSelectPropTypes(props);
  13116. }
  13117. node._wrapperState = {
  13118. wasMultiple: !!props.multiple
  13119. };
  13120. {
  13121. if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue$1) {
  13122. warning$1(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components');
  13123. didWarnValueDefaultValue$1 = true;
  13124. }
  13125. }
  13126. }
  13127. function postMountWrapper$2(element, props) {
  13128. var node = element;
  13129. node.multiple = !!props.multiple;
  13130. var value = props.value;
  13131. if (value != null) {
  13132. updateOptions(node, !!props.multiple, value, false);
  13133. } else if (props.defaultValue != null) {
  13134. updateOptions(node, !!props.multiple, props.defaultValue, true);
  13135. }
  13136. }
  13137. function postUpdateWrapper(element, props) {
  13138. var node = element;
  13139. var wasMultiple = node._wrapperState.wasMultiple;
  13140. node._wrapperState.wasMultiple = !!props.multiple;
  13141. var value = props.value;
  13142. if (value != null) {
  13143. updateOptions(node, !!props.multiple, value, false);
  13144. } else if (wasMultiple !== !!props.multiple) {
  13145. // For simplicity, reapply `defaultValue` if `multiple` is toggled.
  13146. if (props.defaultValue != null) {
  13147. updateOptions(node, !!props.multiple, props.defaultValue, true);
  13148. } else {
  13149. // Revert the select back to its default unselected state.
  13150. updateOptions(node, !!props.multiple, props.multiple ? [] : '', false);
  13151. }
  13152. }
  13153. }
  13154. function restoreControlledState$2(element, props) {
  13155. var node = element;
  13156. var value = props.value;
  13157. if (value != null) {
  13158. updateOptions(node, !!props.multiple, value, false);
  13159. }
  13160. }
  13161. var didWarnValDefaultVal = false;
  13162. /**
  13163. * Implements a <textarea> host component that allows setting `value`, and
  13164. * `defaultValue`. This differs from the traditional DOM API because value is
  13165. * usually set as PCDATA children.
  13166. *
  13167. * If `value` is not supplied (or null/undefined), user actions that affect the
  13168. * value will trigger updates to the element.
  13169. *
  13170. * If `value` is supplied (and not null/undefined), the rendered element will
  13171. * not trigger updates to the element. Instead, the `value` prop must change in
  13172. * order for the rendered element to be updated.
  13173. *
  13174. * The rendered element will be initialized with an empty value, the prop
  13175. * `defaultValue` if specified, or the children content (deprecated).
  13176. */
  13177. function getHostProps$3(element, props) {
  13178. var node = element;
  13179. !(props.dangerouslySetInnerHTML == null) ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : void 0;
  13180. // Always set children to the same thing. In IE9, the selection range will
  13181. // get reset if `textContent` is mutated. We could add a check in setTextContent
  13182. // to only set the value if/when the value differs from the node value (which would
  13183. // completely solve this IE9 bug), but Sebastian+Sophie seemed to like this
  13184. // solution. The value can be a boolean or object so that's why it's forced
  13185. // to be a string.
  13186. var hostProps = _assign({}, props, {
  13187. value: undefined,
  13188. defaultValue: undefined,
  13189. children: toString(node._wrapperState.initialValue)
  13190. });
  13191. return hostProps;
  13192. }
  13193. function initWrapperState$2(element, props) {
  13194. var node = element;
  13195. {
  13196. ReactControlledValuePropTypes.checkPropTypes('textarea', props);
  13197. if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {
  13198. warning$1(false, '%s contains a textarea with both value and defaultValue props. ' + 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
  13199. didWarnValDefaultVal = true;
  13200. }
  13201. }
  13202. var initialValue = props.value;
  13203. // Only bother fetching default value if we're going to use it
  13204. if (initialValue == null) {
  13205. var defaultValue = props.defaultValue;
  13206. // TODO (yungsters): Remove support for children content in <textarea>.
  13207. var children = props.children;
  13208. if (children != null) {
  13209. {
  13210. warning$1(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.');
  13211. }
  13212. !(defaultValue == null) ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : void 0;
  13213. if (Array.isArray(children)) {
  13214. !(children.length <= 1) ? invariant(false, '<textarea> can only have at most one child.') : void 0;
  13215. children = children[0];
  13216. }
  13217. defaultValue = children;
  13218. }
  13219. if (defaultValue == null) {
  13220. defaultValue = '';
  13221. }
  13222. initialValue = defaultValue;
  13223. }
  13224. node._wrapperState = {
  13225. initialValue: getToStringValue(initialValue)
  13226. };
  13227. }
  13228. function updateWrapper$1(element, props) {
  13229. var node = element;
  13230. var value = getToStringValue(props.value);
  13231. var defaultValue = getToStringValue(props.defaultValue);
  13232. if (value != null) {
  13233. // Cast `value` to a string to ensure the value is set correctly. While
  13234. // browsers typically do this as necessary, jsdom doesn't.
  13235. var newValue = toString(value);
  13236. // To avoid side effects (such as losing text selection), only set value if changed
  13237. if (newValue !== node.value) {
  13238. node.value = newValue;
  13239. }
  13240. if (props.defaultValue == null && node.defaultValue !== newValue) {
  13241. node.defaultValue = newValue;
  13242. }
  13243. }
  13244. if (defaultValue != null) {
  13245. node.defaultValue = toString(defaultValue);
  13246. }
  13247. }
  13248. function postMountWrapper$3(element, props) {
  13249. var node = element;
  13250. // This is in postMount because we need access to the DOM node, which is not
  13251. // available until after the component has mounted.
  13252. var textContent = node.textContent;
  13253. // Only set node.value if textContent is equal to the expected
  13254. // initial value. In IE10/IE11 there is a bug where the placeholder attribute
  13255. // will populate textContent as well.
  13256. // https://developer.microsoft.com/microsoft-edge/platform/issues/101525/
  13257. if (textContent === node._wrapperState.initialValue) {
  13258. node.value = textContent;
  13259. }
  13260. }
  13261. function restoreControlledState$3(element, props) {
  13262. // DOM component is still mounted; update
  13263. updateWrapper$1(element, props);
  13264. }
  13265. var HTML_NAMESPACE$1 = 'http://www.w3.org/1999/xhtml';
  13266. var MATH_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
  13267. var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
  13268. var Namespaces = {
  13269. html: HTML_NAMESPACE$1,
  13270. mathml: MATH_NAMESPACE,
  13271. svg: SVG_NAMESPACE
  13272. };
  13273. // Assumes there is no parent namespace.
  13274. function getIntrinsicNamespace(type) {
  13275. switch (type) {
  13276. case 'svg':
  13277. return SVG_NAMESPACE;
  13278. case 'math':
  13279. return MATH_NAMESPACE;
  13280. default:
  13281. return HTML_NAMESPACE$1;
  13282. }
  13283. }
  13284. function getChildNamespace(parentNamespace, type) {
  13285. if (parentNamespace == null || parentNamespace === HTML_NAMESPACE$1) {
  13286. // No (or default) parent namespace: potential entry point.
  13287. return getIntrinsicNamespace(type);
  13288. }
  13289. if (parentNamespace === SVG_NAMESPACE && type === 'foreignObject') {
  13290. // We're leaving SVG.
  13291. return HTML_NAMESPACE$1;
  13292. }
  13293. // By default, pass namespace below.
  13294. return parentNamespace;
  13295. }
  13296. /* globals MSApp */
  13297. /**
  13298. * Create a function which has 'unsafe' privileges (required by windows8 apps)
  13299. */
  13300. var createMicrosoftUnsafeLocalFunction = function (func) {
  13301. if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {
  13302. return function (arg0, arg1, arg2, arg3) {
  13303. MSApp.execUnsafeLocalFunction(function () {
  13304. return func(arg0, arg1, arg2, arg3);
  13305. });
  13306. };
  13307. } else {
  13308. return func;
  13309. }
  13310. };
  13311. // SVG temp container for IE lacking innerHTML
  13312. var reusableSVGContainer = void 0;
  13313. /**
  13314. * Set the innerHTML property of a node
  13315. *
  13316. * @param {DOMElement} node
  13317. * @param {string} html
  13318. * @internal
  13319. */
  13320. var setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {
  13321. // IE does not have innerHTML for SVG nodes, so instead we inject the
  13322. // new markup in a temp node and then move the child nodes across into
  13323. // the target node
  13324. if (node.namespaceURI === Namespaces.svg && !('innerHTML' in node)) {
  13325. reusableSVGContainer = reusableSVGContainer || document.createElement('div');
  13326. reusableSVGContainer.innerHTML = '<svg>' + html + '</svg>';
  13327. var svgNode = reusableSVGContainer.firstChild;
  13328. while (node.firstChild) {
  13329. node.removeChild(node.firstChild);
  13330. }
  13331. while (svgNode.firstChild) {
  13332. node.appendChild(svgNode.firstChild);
  13333. }
  13334. } else {
  13335. node.innerHTML = html;
  13336. }
  13337. });
  13338. /**
  13339. * Set the textContent property of a node. For text updates, it's faster
  13340. * to set the `nodeValue` of the Text node directly instead of using
  13341. * `.textContent` which will remove the existing node and create a new one.
  13342. *
  13343. * @param {DOMElement} node
  13344. * @param {string} text
  13345. * @internal
  13346. */
  13347. var setTextContent = function (node, text) {
  13348. if (text) {
  13349. var firstChild = node.firstChild;
  13350. if (firstChild && firstChild === node.lastChild && firstChild.nodeType === TEXT_NODE) {
  13351. firstChild.nodeValue = text;
  13352. return;
  13353. }
  13354. }
  13355. node.textContent = text;
  13356. };
  13357. /**
  13358. * CSS properties which accept numbers but are not in units of "px".
  13359. */
  13360. var isUnitlessNumber = {
  13361. animationIterationCount: true,
  13362. borderImageOutset: true,
  13363. borderImageSlice: true,
  13364. borderImageWidth: true,
  13365. boxFlex: true,
  13366. boxFlexGroup: true,
  13367. boxOrdinalGroup: true,
  13368. columnCount: true,
  13369. columns: true,
  13370. flex: true,
  13371. flexGrow: true,
  13372. flexPositive: true,
  13373. flexShrink: true,
  13374. flexNegative: true,
  13375. flexOrder: true,
  13376. gridArea: true,
  13377. gridRow: true,
  13378. gridRowEnd: true,
  13379. gridRowSpan: true,
  13380. gridRowStart: true,
  13381. gridColumn: true,
  13382. gridColumnEnd: true,
  13383. gridColumnSpan: true,
  13384. gridColumnStart: true,
  13385. fontWeight: true,
  13386. lineClamp: true,
  13387. lineHeight: true,
  13388. opacity: true,
  13389. order: true,
  13390. orphans: true,
  13391. tabSize: true,
  13392. widows: true,
  13393. zIndex: true,
  13394. zoom: true,
  13395. // SVG-related properties
  13396. fillOpacity: true,
  13397. floodOpacity: true,
  13398. stopOpacity: true,
  13399. strokeDasharray: true,
  13400. strokeDashoffset: true,
  13401. strokeMiterlimit: true,
  13402. strokeOpacity: true,
  13403. strokeWidth: true
  13404. };
  13405. /**
  13406. * @param {string} prefix vendor-specific prefix, eg: Webkit
  13407. * @param {string} key style name, eg: transitionDuration
  13408. * @return {string} style name prefixed with `prefix`, properly camelCased, eg:
  13409. * WebkitTransitionDuration
  13410. */
  13411. function prefixKey(prefix, key) {
  13412. return prefix + key.charAt(0).toUpperCase() + key.substring(1);
  13413. }
  13414. /**
  13415. * Support style names that may come passed in prefixed by adding permutations
  13416. * of vendor prefixes.
  13417. */
  13418. var prefixes = ['Webkit', 'ms', 'Moz', 'O'];
  13419. // Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an
  13420. // infinite loop, because it iterates over the newly added props too.
  13421. Object.keys(isUnitlessNumber).forEach(function (prop) {
  13422. prefixes.forEach(function (prefix) {
  13423. isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];
  13424. });
  13425. });
  13426. /**
  13427. * Convert a value into the proper css writable value. The style name `name`
  13428. * should be logical (no hyphens), as specified
  13429. * in `CSSProperty.isUnitlessNumber`.
  13430. *
  13431. * @param {string} name CSS property name such as `topMargin`.
  13432. * @param {*} value CSS property value such as `10px`.
  13433. * @return {string} Normalized style value with dimensions applied.
  13434. */
  13435. function dangerousStyleValue(name, value, isCustomProperty) {
  13436. // Note that we've removed escapeTextForBrowser() calls here since the
  13437. // whole string will be escaped when the attribute is injected into
  13438. // the markup. If you provide unsafe user data here they can inject
  13439. // arbitrary CSS which may be problematic (I couldn't repro this):
  13440. // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
  13441. // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/
  13442. // This is not an XSS hole but instead a potential CSS injection issue
  13443. // which has lead to a greater discussion about how we're going to
  13444. // trust URLs moving forward. See #2115901
  13445. var isEmpty = value == null || typeof value === 'boolean' || value === '';
  13446. if (isEmpty) {
  13447. return '';
  13448. }
  13449. if (!isCustomProperty && typeof value === 'number' && value !== 0 && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name])) {
  13450. return value + 'px'; // Presumes implicit 'px' suffix for unitless numbers
  13451. }
  13452. return ('' + value).trim();
  13453. }
  13454. var uppercasePattern = /([A-Z])/g;
  13455. var msPattern = /^ms-/;
  13456. /**
  13457. * Hyphenates a camelcased CSS property name, for example:
  13458. *
  13459. * > hyphenateStyleName('backgroundColor')
  13460. * < "background-color"
  13461. * > hyphenateStyleName('MozTransition')
  13462. * < "-moz-transition"
  13463. * > hyphenateStyleName('msTransition')
  13464. * < "-ms-transition"
  13465. *
  13466. * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix
  13467. * is converted to `-ms-`.
  13468. */
  13469. function hyphenateStyleName(name) {
  13470. return name.replace(uppercasePattern, '-$1').toLowerCase().replace(msPattern, '-ms-');
  13471. }
  13472. var warnValidStyle = function () {};
  13473. {
  13474. // 'msTransform' is correct, but the other prefixes should be capitalized
  13475. var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;
  13476. var msPattern$1 = /^-ms-/;
  13477. var hyphenPattern = /-(.)/g;
  13478. // style values shouldn't contain a semicolon
  13479. var badStyleValueWithSemicolonPattern = /;\s*$/;
  13480. var warnedStyleNames = {};
  13481. var warnedStyleValues = {};
  13482. var warnedForNaNValue = false;
  13483. var warnedForInfinityValue = false;
  13484. var camelize = function (string) {
  13485. return string.replace(hyphenPattern, function (_, character) {
  13486. return character.toUpperCase();
  13487. });
  13488. };
  13489. var warnHyphenatedStyleName = function (name) {
  13490. if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
  13491. return;
  13492. }
  13493. warnedStyleNames[name] = true;
  13494. warning$1(false, 'Unsupported style property %s. Did you mean %s?', name,
  13495. // As Andi Smith suggests
  13496. // (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix
  13497. // is converted to lowercase `ms`.
  13498. camelize(name.replace(msPattern$1, 'ms-')));
  13499. };
  13500. var warnBadVendoredStyleName = function (name) {
  13501. if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
  13502. return;
  13503. }
  13504. warnedStyleNames[name] = true;
  13505. warning$1(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1));
  13506. };
  13507. var warnStyleValueWithSemicolon = function (name, value) {
  13508. if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {
  13509. return;
  13510. }
  13511. warnedStyleValues[value] = true;
  13512. warning$1(false, "Style property values shouldn't contain a semicolon. " + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, ''));
  13513. };
  13514. var warnStyleValueIsNaN = function (name, value) {
  13515. if (warnedForNaNValue) {
  13516. return;
  13517. }
  13518. warnedForNaNValue = true;
  13519. warning$1(false, '`NaN` is an invalid value for the `%s` css style property.', name);
  13520. };
  13521. var warnStyleValueIsInfinity = function (name, value) {
  13522. if (warnedForInfinityValue) {
  13523. return;
  13524. }
  13525. warnedForInfinityValue = true;
  13526. warning$1(false, '`Infinity` is an invalid value for the `%s` css style property.', name);
  13527. };
  13528. warnValidStyle = function (name, value) {
  13529. if (name.indexOf('-') > -1) {
  13530. warnHyphenatedStyleName(name);
  13531. } else if (badVendoredStyleNamePattern.test(name)) {
  13532. warnBadVendoredStyleName(name);
  13533. } else if (badStyleValueWithSemicolonPattern.test(value)) {
  13534. warnStyleValueWithSemicolon(name, value);
  13535. }
  13536. if (typeof value === 'number') {
  13537. if (isNaN(value)) {
  13538. warnStyleValueIsNaN(name, value);
  13539. } else if (!isFinite(value)) {
  13540. warnStyleValueIsInfinity(name, value);
  13541. }
  13542. }
  13543. };
  13544. }
  13545. var warnValidStyle$1 = warnValidStyle;
  13546. /**
  13547. * Operations for dealing with CSS properties.
  13548. */
  13549. /**
  13550. * This creates a string that is expected to be equivalent to the style
  13551. * attribute generated by server-side rendering. It by-passes warnings and
  13552. * security checks so it's not safe to use this value for anything other than
  13553. * comparison. It is only used in DEV for SSR validation.
  13554. */
  13555. function createDangerousStringForStyles(styles) {
  13556. {
  13557. var serialized = '';
  13558. var delimiter = '';
  13559. for (var styleName in styles) {
  13560. if (!styles.hasOwnProperty(styleName)) {
  13561. continue;
  13562. }
  13563. var styleValue = styles[styleName];
  13564. if (styleValue != null) {
  13565. var isCustomProperty = styleName.indexOf('--') === 0;
  13566. serialized += delimiter + hyphenateStyleName(styleName) + ':';
  13567. serialized += dangerousStyleValue(styleName, styleValue, isCustomProperty);
  13568. delimiter = ';';
  13569. }
  13570. }
  13571. return serialized || null;
  13572. }
  13573. }
  13574. /**
  13575. * Sets the value for multiple styles on a node. If a value is specified as
  13576. * '' (empty string), the corresponding style property will be unset.
  13577. *
  13578. * @param {DOMElement} node
  13579. * @param {object} styles
  13580. */
  13581. function setValueForStyles(node, styles) {
  13582. var style = node.style;
  13583. for (var styleName in styles) {
  13584. if (!styles.hasOwnProperty(styleName)) {
  13585. continue;
  13586. }
  13587. var isCustomProperty = styleName.indexOf('--') === 0;
  13588. {
  13589. if (!isCustomProperty) {
  13590. warnValidStyle$1(styleName, styles[styleName]);
  13591. }
  13592. }
  13593. var styleValue = dangerousStyleValue(styleName, styles[styleName], isCustomProperty);
  13594. if (styleName === 'float') {
  13595. styleName = 'cssFloat';
  13596. }
  13597. if (isCustomProperty) {
  13598. style.setProperty(styleName, styleValue);
  13599. } else {
  13600. style[styleName] = styleValue;
  13601. }
  13602. }
  13603. }
  13604. // For HTML, certain tags should omit their close tag. We keep a whitelist for
  13605. // those special-case tags.
  13606. var omittedCloseTags = {
  13607. area: true,
  13608. base: true,
  13609. br: true,
  13610. col: true,
  13611. embed: true,
  13612. hr: true,
  13613. img: true,
  13614. input: true,
  13615. keygen: true,
  13616. link: true,
  13617. meta: true,
  13618. param: true,
  13619. source: true,
  13620. track: true,
  13621. wbr: true
  13622. // NOTE: menuitem's close tag should be omitted, but that causes problems.
  13623. };
  13624. // For HTML, certain tags cannot have children. This has the same purpose as
  13625. // `omittedCloseTags` except that `menuitem` should still have its closing tag.
  13626. var voidElementTags = _assign({
  13627. menuitem: true
  13628. }, omittedCloseTags);
  13629. // TODO: We can remove this if we add invariantWithStack()
  13630. // or add stack by default to invariants where possible.
  13631. var HTML$1 = '__html';
  13632. var ReactDebugCurrentFrame$2 = null;
  13633. {
  13634. ReactDebugCurrentFrame$2 = ReactSharedInternals.ReactDebugCurrentFrame;
  13635. }
  13636. function assertValidProps(tag, props) {
  13637. if (!props) {
  13638. return;
  13639. }
  13640. // Note the use of `==` which checks for null or undefined.
  13641. if (voidElementTags[tag]) {
  13642. !(props.children == null && props.dangerouslySetInnerHTML == null) ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', tag, ReactDebugCurrentFrame$2.getStackAddendum()) : void 0;
  13643. }
  13644. if (props.dangerouslySetInnerHTML != null) {
  13645. !(props.children == null) ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : void 0;
  13646. !(typeof props.dangerouslySetInnerHTML === 'object' && HTML$1 in props.dangerouslySetInnerHTML) ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.') : void 0;
  13647. }
  13648. {
  13649. !(props.suppressContentEditableWarning || !props.contentEditable || props.children == null) ? warning$1(false, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0;
  13650. }
  13651. !(props.style == null || typeof props.style === 'object') ? invariant(false, 'The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \'em\'}} when using JSX.%s', ReactDebugCurrentFrame$2.getStackAddendum()) : void 0;
  13652. }
  13653. function isCustomComponent(tagName, props) {
  13654. if (tagName.indexOf('-') === -1) {
  13655. return typeof props.is === 'string';
  13656. }
  13657. switch (tagName) {
  13658. // These are reserved SVG and MathML elements.
  13659. // We don't mind this whitelist too much because we expect it to never grow.
  13660. // The alternative is to track the namespace in a few places which is convoluted.
  13661. // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
  13662. case 'annotation-xml':
  13663. case 'color-profile':
  13664. case 'font-face':
  13665. case 'font-face-src':
  13666. case 'font-face-uri':
  13667. case 'font-face-format':
  13668. case 'font-face-name':
  13669. case 'missing-glyph':
  13670. return false;
  13671. default:
  13672. return true;
  13673. }
  13674. }
  13675. // When adding attributes to the HTML or SVG whitelist, be sure to
  13676. // also add them to this module to ensure casing and incorrect name
  13677. // warnings.
  13678. var possibleStandardNames = {
  13679. // HTML
  13680. accept: 'accept',
  13681. acceptcharset: 'acceptCharset',
  13682. 'accept-charset': 'acceptCharset',
  13683. accesskey: 'accessKey',
  13684. action: 'action',
  13685. allowfullscreen: 'allowFullScreen',
  13686. alt: 'alt',
  13687. as: 'as',
  13688. async: 'async',
  13689. autocapitalize: 'autoCapitalize',
  13690. autocomplete: 'autoComplete',
  13691. autocorrect: 'autoCorrect',
  13692. autofocus: 'autoFocus',
  13693. autoplay: 'autoPlay',
  13694. autosave: 'autoSave',
  13695. capture: 'capture',
  13696. cellpadding: 'cellPadding',
  13697. cellspacing: 'cellSpacing',
  13698. challenge: 'challenge',
  13699. charset: 'charSet',
  13700. checked: 'checked',
  13701. children: 'children',
  13702. cite: 'cite',
  13703. class: 'className',
  13704. classid: 'classID',
  13705. classname: 'className',
  13706. cols: 'cols',
  13707. colspan: 'colSpan',
  13708. content: 'content',
  13709. contenteditable: 'contentEditable',
  13710. contextmenu: 'contextMenu',
  13711. controls: 'controls',
  13712. controlslist: 'controlsList',
  13713. coords: 'coords',
  13714. crossorigin: 'crossOrigin',
  13715. dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
  13716. data: 'data',
  13717. datetime: 'dateTime',
  13718. default: 'default',
  13719. defaultchecked: 'defaultChecked',
  13720. defaultvalue: 'defaultValue',
  13721. defer: 'defer',
  13722. dir: 'dir',
  13723. disabled: 'disabled',
  13724. download: 'download',
  13725. draggable: 'draggable',
  13726. enctype: 'encType',
  13727. for: 'htmlFor',
  13728. form: 'form',
  13729. formmethod: 'formMethod',
  13730. formaction: 'formAction',
  13731. formenctype: 'formEncType',
  13732. formnovalidate: 'formNoValidate',
  13733. formtarget: 'formTarget',
  13734. frameborder: 'frameBorder',
  13735. headers: 'headers',
  13736. height: 'height',
  13737. hidden: 'hidden',
  13738. high: 'high',
  13739. href: 'href',
  13740. hreflang: 'hrefLang',
  13741. htmlfor: 'htmlFor',
  13742. httpequiv: 'httpEquiv',
  13743. 'http-equiv': 'httpEquiv',
  13744. icon: 'icon',
  13745. id: 'id',
  13746. innerhtml: 'innerHTML',
  13747. inputmode: 'inputMode',
  13748. integrity: 'integrity',
  13749. is: 'is',
  13750. itemid: 'itemID',
  13751. itemprop: 'itemProp',
  13752. itemref: 'itemRef',
  13753. itemscope: 'itemScope',
  13754. itemtype: 'itemType',
  13755. keyparams: 'keyParams',
  13756. keytype: 'keyType',
  13757. kind: 'kind',
  13758. label: 'label',
  13759. lang: 'lang',
  13760. list: 'list',
  13761. loop: 'loop',
  13762. low: 'low',
  13763. manifest: 'manifest',
  13764. marginwidth: 'marginWidth',
  13765. marginheight: 'marginHeight',
  13766. max: 'max',
  13767. maxlength: 'maxLength',
  13768. media: 'media',
  13769. mediagroup: 'mediaGroup',
  13770. method: 'method',
  13771. min: 'min',
  13772. minlength: 'minLength',
  13773. multiple: 'multiple',
  13774. muted: 'muted',
  13775. name: 'name',
  13776. nomodule: 'noModule',
  13777. nonce: 'nonce',
  13778. novalidate: 'noValidate',
  13779. open: 'open',
  13780. optimum: 'optimum',
  13781. pattern: 'pattern',
  13782. placeholder: 'placeholder',
  13783. playsinline: 'playsInline',
  13784. poster: 'poster',
  13785. preload: 'preload',
  13786. profile: 'profile',
  13787. radiogroup: 'radioGroup',
  13788. readonly: 'readOnly',
  13789. referrerpolicy: 'referrerPolicy',
  13790. rel: 'rel',
  13791. required: 'required',
  13792. reversed: 'reversed',
  13793. role: 'role',
  13794. rows: 'rows',
  13795. rowspan: 'rowSpan',
  13796. sandbox: 'sandbox',
  13797. scope: 'scope',
  13798. scoped: 'scoped',
  13799. scrolling: 'scrolling',
  13800. seamless: 'seamless',
  13801. selected: 'selected',
  13802. shape: 'shape',
  13803. size: 'size',
  13804. sizes: 'sizes',
  13805. span: 'span',
  13806. spellcheck: 'spellCheck',
  13807. src: 'src',
  13808. srcdoc: 'srcDoc',
  13809. srclang: 'srcLang',
  13810. srcset: 'srcSet',
  13811. start: 'start',
  13812. step: 'step',
  13813. style: 'style',
  13814. summary: 'summary',
  13815. tabindex: 'tabIndex',
  13816. target: 'target',
  13817. title: 'title',
  13818. type: 'type',
  13819. usemap: 'useMap',
  13820. value: 'value',
  13821. width: 'width',
  13822. wmode: 'wmode',
  13823. wrap: 'wrap',
  13824. // SVG
  13825. about: 'about',
  13826. accentheight: 'accentHeight',
  13827. 'accent-height': 'accentHeight',
  13828. accumulate: 'accumulate',
  13829. additive: 'additive',
  13830. alignmentbaseline: 'alignmentBaseline',
  13831. 'alignment-baseline': 'alignmentBaseline',
  13832. allowreorder: 'allowReorder',
  13833. alphabetic: 'alphabetic',
  13834. amplitude: 'amplitude',
  13835. arabicform: 'arabicForm',
  13836. 'arabic-form': 'arabicForm',
  13837. ascent: 'ascent',
  13838. attributename: 'attributeName',
  13839. attributetype: 'attributeType',
  13840. autoreverse: 'autoReverse',
  13841. azimuth: 'azimuth',
  13842. basefrequency: 'baseFrequency',
  13843. baselineshift: 'baselineShift',
  13844. 'baseline-shift': 'baselineShift',
  13845. baseprofile: 'baseProfile',
  13846. bbox: 'bbox',
  13847. begin: 'begin',
  13848. bias: 'bias',
  13849. by: 'by',
  13850. calcmode: 'calcMode',
  13851. capheight: 'capHeight',
  13852. 'cap-height': 'capHeight',
  13853. clip: 'clip',
  13854. clippath: 'clipPath',
  13855. 'clip-path': 'clipPath',
  13856. clippathunits: 'clipPathUnits',
  13857. cliprule: 'clipRule',
  13858. 'clip-rule': 'clipRule',
  13859. color: 'color',
  13860. colorinterpolation: 'colorInterpolation',
  13861. 'color-interpolation': 'colorInterpolation',
  13862. colorinterpolationfilters: 'colorInterpolationFilters',
  13863. 'color-interpolation-filters': 'colorInterpolationFilters',
  13864. colorprofile: 'colorProfile',
  13865. 'color-profile': 'colorProfile',
  13866. colorrendering: 'colorRendering',
  13867. 'color-rendering': 'colorRendering',
  13868. contentscripttype: 'contentScriptType',
  13869. contentstyletype: 'contentStyleType',
  13870. cursor: 'cursor',
  13871. cx: 'cx',
  13872. cy: 'cy',
  13873. d: 'd',
  13874. datatype: 'datatype',
  13875. decelerate: 'decelerate',
  13876. descent: 'descent',
  13877. diffuseconstant: 'diffuseConstant',
  13878. direction: 'direction',
  13879. display: 'display',
  13880. divisor: 'divisor',
  13881. dominantbaseline: 'dominantBaseline',
  13882. 'dominant-baseline': 'dominantBaseline',
  13883. dur: 'dur',
  13884. dx: 'dx',
  13885. dy: 'dy',
  13886. edgemode: 'edgeMode',
  13887. elevation: 'elevation',
  13888. enablebackground: 'enableBackground',
  13889. 'enable-background': 'enableBackground',
  13890. end: 'end',
  13891. exponent: 'exponent',
  13892. externalresourcesrequired: 'externalResourcesRequired',
  13893. fill: 'fill',
  13894. fillopacity: 'fillOpacity',
  13895. 'fill-opacity': 'fillOpacity',
  13896. fillrule: 'fillRule',
  13897. 'fill-rule': 'fillRule',
  13898. filter: 'filter',
  13899. filterres: 'filterRes',
  13900. filterunits: 'filterUnits',
  13901. floodopacity: 'floodOpacity',
  13902. 'flood-opacity': 'floodOpacity',
  13903. floodcolor: 'floodColor',
  13904. 'flood-color': 'floodColor',
  13905. focusable: 'focusable',
  13906. fontfamily: 'fontFamily',
  13907. 'font-family': 'fontFamily',
  13908. fontsize: 'fontSize',
  13909. 'font-size': 'fontSize',
  13910. fontsizeadjust: 'fontSizeAdjust',
  13911. 'font-size-adjust': 'fontSizeAdjust',
  13912. fontstretch: 'fontStretch',
  13913. 'font-stretch': 'fontStretch',
  13914. fontstyle: 'fontStyle',
  13915. 'font-style': 'fontStyle',
  13916. fontvariant: 'fontVariant',
  13917. 'font-variant': 'fontVariant',
  13918. fontweight: 'fontWeight',
  13919. 'font-weight': 'fontWeight',
  13920. format: 'format',
  13921. from: 'from',
  13922. fx: 'fx',
  13923. fy: 'fy',
  13924. g1: 'g1',
  13925. g2: 'g2',
  13926. glyphname: 'glyphName',
  13927. 'glyph-name': 'glyphName',
  13928. glyphorientationhorizontal: 'glyphOrientationHorizontal',
  13929. 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',
  13930. glyphorientationvertical: 'glyphOrientationVertical',
  13931. 'glyph-orientation-vertical': 'glyphOrientationVertical',
  13932. glyphref: 'glyphRef',
  13933. gradienttransform: 'gradientTransform',
  13934. gradientunits: 'gradientUnits',
  13935. hanging: 'hanging',
  13936. horizadvx: 'horizAdvX',
  13937. 'horiz-adv-x': 'horizAdvX',
  13938. horizoriginx: 'horizOriginX',
  13939. 'horiz-origin-x': 'horizOriginX',
  13940. ideographic: 'ideographic',
  13941. imagerendering: 'imageRendering',
  13942. 'image-rendering': 'imageRendering',
  13943. in2: 'in2',
  13944. in: 'in',
  13945. inlist: 'inlist',
  13946. intercept: 'intercept',
  13947. k1: 'k1',
  13948. k2: 'k2',
  13949. k3: 'k3',
  13950. k4: 'k4',
  13951. k: 'k',
  13952. kernelmatrix: 'kernelMatrix',
  13953. kernelunitlength: 'kernelUnitLength',
  13954. kerning: 'kerning',
  13955. keypoints: 'keyPoints',
  13956. keysplines: 'keySplines',
  13957. keytimes: 'keyTimes',
  13958. lengthadjust: 'lengthAdjust',
  13959. letterspacing: 'letterSpacing',
  13960. 'letter-spacing': 'letterSpacing',
  13961. lightingcolor: 'lightingColor',
  13962. 'lighting-color': 'lightingColor',
  13963. limitingconeangle: 'limitingConeAngle',
  13964. local: 'local',
  13965. markerend: 'markerEnd',
  13966. 'marker-end': 'markerEnd',
  13967. markerheight: 'markerHeight',
  13968. markermid: 'markerMid',
  13969. 'marker-mid': 'markerMid',
  13970. markerstart: 'markerStart',
  13971. 'marker-start': 'markerStart',
  13972. markerunits: 'markerUnits',
  13973. markerwidth: 'markerWidth',
  13974. mask: 'mask',
  13975. maskcontentunits: 'maskContentUnits',
  13976. maskunits: 'maskUnits',
  13977. mathematical: 'mathematical',
  13978. mode: 'mode',
  13979. numoctaves: 'numOctaves',
  13980. offset: 'offset',
  13981. opacity: 'opacity',
  13982. operator: 'operator',
  13983. order: 'order',
  13984. orient: 'orient',
  13985. orientation: 'orientation',
  13986. origin: 'origin',
  13987. overflow: 'overflow',
  13988. overlineposition: 'overlinePosition',
  13989. 'overline-position': 'overlinePosition',
  13990. overlinethickness: 'overlineThickness',
  13991. 'overline-thickness': 'overlineThickness',
  13992. paintorder: 'paintOrder',
  13993. 'paint-order': 'paintOrder',
  13994. panose1: 'panose1',
  13995. 'panose-1': 'panose1',
  13996. pathlength: 'pathLength',
  13997. patterncontentunits: 'patternContentUnits',
  13998. patterntransform: 'patternTransform',
  13999. patternunits: 'patternUnits',
  14000. pointerevents: 'pointerEvents',
  14001. 'pointer-events': 'pointerEvents',
  14002. points: 'points',
  14003. pointsatx: 'pointsAtX',
  14004. pointsaty: 'pointsAtY',
  14005. pointsatz: 'pointsAtZ',
  14006. prefix: 'prefix',
  14007. preservealpha: 'preserveAlpha',
  14008. preserveaspectratio: 'preserveAspectRatio',
  14009. primitiveunits: 'primitiveUnits',
  14010. property: 'property',
  14011. r: 'r',
  14012. radius: 'radius',
  14013. refx: 'refX',
  14014. refy: 'refY',
  14015. renderingintent: 'renderingIntent',
  14016. 'rendering-intent': 'renderingIntent',
  14017. repeatcount: 'repeatCount',
  14018. repeatdur: 'repeatDur',
  14019. requiredextensions: 'requiredExtensions',
  14020. requiredfeatures: 'requiredFeatures',
  14021. resource: 'resource',
  14022. restart: 'restart',
  14023. result: 'result',
  14024. results: 'results',
  14025. rotate: 'rotate',
  14026. rx: 'rx',
  14027. ry: 'ry',
  14028. scale: 'scale',
  14029. security: 'security',
  14030. seed: 'seed',
  14031. shaperendering: 'shapeRendering',
  14032. 'shape-rendering': 'shapeRendering',
  14033. slope: 'slope',
  14034. spacing: 'spacing',
  14035. specularconstant: 'specularConstant',
  14036. specularexponent: 'specularExponent',
  14037. speed: 'speed',
  14038. spreadmethod: 'spreadMethod',
  14039. startoffset: 'startOffset',
  14040. stddeviation: 'stdDeviation',
  14041. stemh: 'stemh',
  14042. stemv: 'stemv',
  14043. stitchtiles: 'stitchTiles',
  14044. stopcolor: 'stopColor',
  14045. 'stop-color': 'stopColor',
  14046. stopopacity: 'stopOpacity',
  14047. 'stop-opacity': 'stopOpacity',
  14048. strikethroughposition: 'strikethroughPosition',
  14049. 'strikethrough-position': 'strikethroughPosition',
  14050. strikethroughthickness: 'strikethroughThickness',
  14051. 'strikethrough-thickness': 'strikethroughThickness',
  14052. string: 'string',
  14053. stroke: 'stroke',
  14054. strokedasharray: 'strokeDasharray',
  14055. 'stroke-dasharray': 'strokeDasharray',
  14056. strokedashoffset: 'strokeDashoffset',
  14057. 'stroke-dashoffset': 'strokeDashoffset',
  14058. strokelinecap: 'strokeLinecap',
  14059. 'stroke-linecap': 'strokeLinecap',
  14060. strokelinejoin: 'strokeLinejoin',
  14061. 'stroke-linejoin': 'strokeLinejoin',
  14062. strokemiterlimit: 'strokeMiterlimit',
  14063. 'stroke-miterlimit': 'strokeMiterlimit',
  14064. strokewidth: 'strokeWidth',
  14065. 'stroke-width': 'strokeWidth',
  14066. strokeopacity: 'strokeOpacity',
  14067. 'stroke-opacity': 'strokeOpacity',
  14068. suppresscontenteditablewarning: 'suppressContentEditableWarning',
  14069. suppresshydrationwarning: 'suppressHydrationWarning',
  14070. surfacescale: 'surfaceScale',
  14071. systemlanguage: 'systemLanguage',
  14072. tablevalues: 'tableValues',
  14073. targetx: 'targetX',
  14074. targety: 'targetY',
  14075. textanchor: 'textAnchor',
  14076. 'text-anchor': 'textAnchor',
  14077. textdecoration: 'textDecoration',
  14078. 'text-decoration': 'textDecoration',
  14079. textlength: 'textLength',
  14080. textrendering: 'textRendering',
  14081. 'text-rendering': 'textRendering',
  14082. to: 'to',
  14083. transform: 'transform',
  14084. typeof: 'typeof',
  14085. u1: 'u1',
  14086. u2: 'u2',
  14087. underlineposition: 'underlinePosition',
  14088. 'underline-position': 'underlinePosition',
  14089. underlinethickness: 'underlineThickness',
  14090. 'underline-thickness': 'underlineThickness',
  14091. unicode: 'unicode',
  14092. unicodebidi: 'unicodeBidi',
  14093. 'unicode-bidi': 'unicodeBidi',
  14094. unicoderange: 'unicodeRange',
  14095. 'unicode-range': 'unicodeRange',
  14096. unitsperem: 'unitsPerEm',
  14097. 'units-per-em': 'unitsPerEm',
  14098. unselectable: 'unselectable',
  14099. valphabetic: 'vAlphabetic',
  14100. 'v-alphabetic': 'vAlphabetic',
  14101. values: 'values',
  14102. vectoreffect: 'vectorEffect',
  14103. 'vector-effect': 'vectorEffect',
  14104. version: 'version',
  14105. vertadvy: 'vertAdvY',
  14106. 'vert-adv-y': 'vertAdvY',
  14107. vertoriginx: 'vertOriginX',
  14108. 'vert-origin-x': 'vertOriginX',
  14109. vertoriginy: 'vertOriginY',
  14110. 'vert-origin-y': 'vertOriginY',
  14111. vhanging: 'vHanging',
  14112. 'v-hanging': 'vHanging',
  14113. videographic: 'vIdeographic',
  14114. 'v-ideographic': 'vIdeographic',
  14115. viewbox: 'viewBox',
  14116. viewtarget: 'viewTarget',
  14117. visibility: 'visibility',
  14118. vmathematical: 'vMathematical',
  14119. 'v-mathematical': 'vMathematical',
  14120. vocab: 'vocab',
  14121. widths: 'widths',
  14122. wordspacing: 'wordSpacing',
  14123. 'word-spacing': 'wordSpacing',
  14124. writingmode: 'writingMode',
  14125. 'writing-mode': 'writingMode',
  14126. x1: 'x1',
  14127. x2: 'x2',
  14128. x: 'x',
  14129. xchannelselector: 'xChannelSelector',
  14130. xheight: 'xHeight',
  14131. 'x-height': 'xHeight',
  14132. xlinkactuate: 'xlinkActuate',
  14133. 'xlink:actuate': 'xlinkActuate',
  14134. xlinkarcrole: 'xlinkArcrole',
  14135. 'xlink:arcrole': 'xlinkArcrole',
  14136. xlinkhref: 'xlinkHref',
  14137. 'xlink:href': 'xlinkHref',
  14138. xlinkrole: 'xlinkRole',
  14139. 'xlink:role': 'xlinkRole',
  14140. xlinkshow: 'xlinkShow',
  14141. 'xlink:show': 'xlinkShow',
  14142. xlinktitle: 'xlinkTitle',
  14143. 'xlink:title': 'xlinkTitle',
  14144. xlinktype: 'xlinkType',
  14145. 'xlink:type': 'xlinkType',
  14146. xmlbase: 'xmlBase',
  14147. 'xml:base': 'xmlBase',
  14148. xmllang: 'xmlLang',
  14149. 'xml:lang': 'xmlLang',
  14150. xmlns: 'xmlns',
  14151. 'xml:space': 'xmlSpace',
  14152. xmlnsxlink: 'xmlnsXlink',
  14153. 'xmlns:xlink': 'xmlnsXlink',
  14154. xmlspace: 'xmlSpace',
  14155. y1: 'y1',
  14156. y2: 'y2',
  14157. y: 'y',
  14158. ychannelselector: 'yChannelSelector',
  14159. z: 'z',
  14160. zoomandpan: 'zoomAndPan'
  14161. };
  14162. var ariaProperties = {
  14163. 'aria-current': 0, // state
  14164. 'aria-details': 0,
  14165. 'aria-disabled': 0, // state
  14166. 'aria-hidden': 0, // state
  14167. 'aria-invalid': 0, // state
  14168. 'aria-keyshortcuts': 0,
  14169. 'aria-label': 0,
  14170. 'aria-roledescription': 0,
  14171. // Widget Attributes
  14172. 'aria-autocomplete': 0,
  14173. 'aria-checked': 0,
  14174. 'aria-expanded': 0,
  14175. 'aria-haspopup': 0,
  14176. 'aria-level': 0,
  14177. 'aria-modal': 0,
  14178. 'aria-multiline': 0,
  14179. 'aria-multiselectable': 0,
  14180. 'aria-orientation': 0,
  14181. 'aria-placeholder': 0,
  14182. 'aria-pressed': 0,
  14183. 'aria-readonly': 0,
  14184. 'aria-required': 0,
  14185. 'aria-selected': 0,
  14186. 'aria-sort': 0,
  14187. 'aria-valuemax': 0,
  14188. 'aria-valuemin': 0,
  14189. 'aria-valuenow': 0,
  14190. 'aria-valuetext': 0,
  14191. // Live Region Attributes
  14192. 'aria-atomic': 0,
  14193. 'aria-busy': 0,
  14194. 'aria-live': 0,
  14195. 'aria-relevant': 0,
  14196. // Drag-and-Drop Attributes
  14197. 'aria-dropeffect': 0,
  14198. 'aria-grabbed': 0,
  14199. // Relationship Attributes
  14200. 'aria-activedescendant': 0,
  14201. 'aria-colcount': 0,
  14202. 'aria-colindex': 0,
  14203. 'aria-colspan': 0,
  14204. 'aria-controls': 0,
  14205. 'aria-describedby': 0,
  14206. 'aria-errormessage': 0,
  14207. 'aria-flowto': 0,
  14208. 'aria-labelledby': 0,
  14209. 'aria-owns': 0,
  14210. 'aria-posinset': 0,
  14211. 'aria-rowcount': 0,
  14212. 'aria-rowindex': 0,
  14213. 'aria-rowspan': 0,
  14214. 'aria-setsize': 0
  14215. };
  14216. var warnedProperties = {};
  14217. var rARIA = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
  14218. var rARIACamel = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
  14219. var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
  14220. function validateProperty(tagName, name) {
  14221. if (hasOwnProperty$2.call(warnedProperties, name) && warnedProperties[name]) {
  14222. return true;
  14223. }
  14224. if (rARIACamel.test(name)) {
  14225. var ariaName = 'aria-' + name.slice(4).toLowerCase();
  14226. var correctName = ariaProperties.hasOwnProperty(ariaName) ? ariaName : null;
  14227. // If this is an aria-* attribute, but is not listed in the known DOM
  14228. // DOM properties, then it is an invalid aria-* attribute.
  14229. if (correctName == null) {
  14230. warning$1(false, 'Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.', name);
  14231. warnedProperties[name] = true;
  14232. return true;
  14233. }
  14234. // aria-* attributes should be lowercase; suggest the lowercase version.
  14235. if (name !== correctName) {
  14236. warning$1(false, 'Invalid ARIA attribute `%s`. Did you mean `%s`?', name, correctName);
  14237. warnedProperties[name] = true;
  14238. return true;
  14239. }
  14240. }
  14241. if (rARIA.test(name)) {
  14242. var lowerCasedName = name.toLowerCase();
  14243. var standardName = ariaProperties.hasOwnProperty(lowerCasedName) ? lowerCasedName : null;
  14244. // If this is an aria-* attribute, but is not listed in the known DOM
  14245. // DOM properties, then it is an invalid aria-* attribute.
  14246. if (standardName == null) {
  14247. warnedProperties[name] = true;
  14248. return false;
  14249. }
  14250. // aria-* attributes should be lowercase; suggest the lowercase version.
  14251. if (name !== standardName) {
  14252. warning$1(false, 'Unknown ARIA attribute `%s`. Did you mean `%s`?', name, standardName);
  14253. warnedProperties[name] = true;
  14254. return true;
  14255. }
  14256. }
  14257. return true;
  14258. }
  14259. function warnInvalidARIAProps(type, props) {
  14260. var invalidProps = [];
  14261. for (var key in props) {
  14262. var isValid = validateProperty(type, key);
  14263. if (!isValid) {
  14264. invalidProps.push(key);
  14265. }
  14266. }
  14267. var unknownPropString = invalidProps.map(function (prop) {
  14268. return '`' + prop + '`';
  14269. }).join(', ');
  14270. if (invalidProps.length === 1) {
  14271. warning$1(false, 'Invalid aria prop %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop', unknownPropString, type);
  14272. } else if (invalidProps.length > 1) {
  14273. warning$1(false, 'Invalid aria props %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop', unknownPropString, type);
  14274. }
  14275. }
  14276. function validateProperties(type, props) {
  14277. if (isCustomComponent(type, props)) {
  14278. return;
  14279. }
  14280. warnInvalidARIAProps(type, props);
  14281. }
  14282. var didWarnValueNull = false;
  14283. function validateProperties$1(type, props) {
  14284. if (type !== 'input' && type !== 'textarea' && type !== 'select') {
  14285. return;
  14286. }
  14287. if (props != null && props.value === null && !didWarnValueNull) {
  14288. didWarnValueNull = true;
  14289. if (type === 'select' && props.multiple) {
  14290. warning$1(false, '`value` prop on `%s` should not be null. ' + 'Consider using an empty array when `multiple` is set to `true` ' + 'to clear the component or `undefined` for uncontrolled components.', type);
  14291. } else {
  14292. warning$1(false, '`value` prop on `%s` should not be null. ' + 'Consider using an empty string to clear the component or `undefined` ' + 'for uncontrolled components.', type);
  14293. }
  14294. }
  14295. }
  14296. var validateProperty$1 = function () {};
  14297. {
  14298. var warnedProperties$1 = {};
  14299. var _hasOwnProperty = Object.prototype.hasOwnProperty;
  14300. var EVENT_NAME_REGEX = /^on./;
  14301. var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/;
  14302. var rARIA$1 = new RegExp('^(aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
  14303. var rARIACamel$1 = new RegExp('^(aria)[A-Z][' + ATTRIBUTE_NAME_CHAR + ']*$');
  14304. validateProperty$1 = function (tagName, name, value, canUseEventSystem) {
  14305. if (_hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) {
  14306. return true;
  14307. }
  14308. var lowerCasedName = name.toLowerCase();
  14309. if (lowerCasedName === 'onfocusin' || lowerCasedName === 'onfocusout') {
  14310. warning$1(false, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.');
  14311. warnedProperties$1[name] = true;
  14312. return true;
  14313. }
  14314. // We can't rely on the event system being injected on the server.
  14315. if (canUseEventSystem) {
  14316. if (registrationNameModules.hasOwnProperty(name)) {
  14317. return true;
  14318. }
  14319. var registrationName = possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? possibleRegistrationNames[lowerCasedName] : null;
  14320. if (registrationName != null) {
  14321. warning$1(false, 'Invalid event handler property `%s`. Did you mean `%s`?', name, registrationName);
  14322. warnedProperties$1[name] = true;
  14323. return true;
  14324. }
  14325. if (EVENT_NAME_REGEX.test(name)) {
  14326. warning$1(false, 'Unknown event handler property `%s`. It will be ignored.', name);
  14327. warnedProperties$1[name] = true;
  14328. return true;
  14329. }
  14330. } else if (EVENT_NAME_REGEX.test(name)) {
  14331. // If no event plugins have been injected, we are in a server environment.
  14332. // So we can't tell if the event name is correct for sure, but we can filter
  14333. // out known bad ones like `onclick`. We can't suggest a specific replacement though.
  14334. if (INVALID_EVENT_NAME_REGEX.test(name)) {
  14335. warning$1(false, 'Invalid event handler property `%s`. ' + 'React events use the camelCase naming convention, for example `onClick`.', name);
  14336. }
  14337. warnedProperties$1[name] = true;
  14338. return true;
  14339. }
  14340. // Let the ARIA attribute hook validate ARIA attributes
  14341. if (rARIA$1.test(name) || rARIACamel$1.test(name)) {
  14342. return true;
  14343. }
  14344. if (lowerCasedName === 'innerhtml') {
  14345. warning$1(false, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.');
  14346. warnedProperties$1[name] = true;
  14347. return true;
  14348. }
  14349. if (lowerCasedName === 'aria') {
  14350. warning$1(false, 'The `aria` attribute is reserved for future use in React. ' + 'Pass individual `aria-` attributes instead.');
  14351. warnedProperties$1[name] = true;
  14352. return true;
  14353. }
  14354. if (lowerCasedName === 'is' && value !== null && value !== undefined && typeof value !== 'string') {
  14355. warning$1(false, 'Received a `%s` for a string attribute `is`. If this is expected, cast ' + 'the value to a string.', typeof value);
  14356. warnedProperties$1[name] = true;
  14357. return true;
  14358. }
  14359. if (typeof value === 'number' && isNaN(value)) {
  14360. warning$1(false, 'Received NaN for the `%s` attribute. If this is expected, cast ' + 'the value to a string.', name);
  14361. warnedProperties$1[name] = true;
  14362. return true;
  14363. }
  14364. var propertyInfo = getPropertyInfo(name);
  14365. var isReserved = propertyInfo !== null && propertyInfo.type === RESERVED;
  14366. // Known attributes should match the casing specified in the property config.
  14367. if (possibleStandardNames.hasOwnProperty(lowerCasedName)) {
  14368. var standardName = possibleStandardNames[lowerCasedName];
  14369. if (standardName !== name) {
  14370. warning$1(false, 'Invalid DOM property `%s`. Did you mean `%s`?', name, standardName);
  14371. warnedProperties$1[name] = true;
  14372. return true;
  14373. }
  14374. } else if (!isReserved && name !== lowerCasedName) {
  14375. // Unknown attributes should have lowercase casing since that's how they
  14376. // will be cased anyway with server rendering.
  14377. warning$1(false, 'React does not recognize the `%s` prop on a DOM element. If you ' + 'intentionally want it to appear in the DOM as a custom ' + 'attribute, spell it as lowercase `%s` instead. ' + 'If you accidentally passed it from a parent component, remove ' + 'it from the DOM element.', name, lowerCasedName);
  14378. warnedProperties$1[name] = true;
  14379. return true;
  14380. }
  14381. if (typeof value === 'boolean' && shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
  14382. if (value) {
  14383. warning$1(false, 'Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.', value, name, name, value, name);
  14384. } else {
  14385. warning$1(false, 'Received `%s` for a non-boolean attribute `%s`.\n\n' + 'If you want to write it to the DOM, pass a string instead: ' + '%s="%s" or %s={value.toString()}.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', value, name, name, value, name, name, name);
  14386. }
  14387. warnedProperties$1[name] = true;
  14388. return true;
  14389. }
  14390. // Now that we've validated casing, do not validate
  14391. // data types for reserved props
  14392. if (isReserved) {
  14393. return true;
  14394. }
  14395. // Warn when a known attribute is a bad type
  14396. if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, false)) {
  14397. warnedProperties$1[name] = true;
  14398. return false;
  14399. }
  14400. // Warn when passing the strings 'false' or 'true' into a boolean prop
  14401. if ((value === 'false' || value === 'true') && propertyInfo !== null && propertyInfo.type === BOOLEAN) {
  14402. warning$1(false, 'Received the string `%s` for the boolean attribute `%s`. ' + '%s ' + 'Did you mean %s={%s}?', value, name, value === 'false' ? 'The browser will interpret it as a truthy value.' : 'Although this works, it will not work as expected if you pass the string "false".', name, value);
  14403. warnedProperties$1[name] = true;
  14404. return true;
  14405. }
  14406. return true;
  14407. };
  14408. }
  14409. var warnUnknownProperties = function (type, props, canUseEventSystem) {
  14410. var unknownProps = [];
  14411. for (var key in props) {
  14412. var isValid = validateProperty$1(type, key, props[key], canUseEventSystem);
  14413. if (!isValid) {
  14414. unknownProps.push(key);
  14415. }
  14416. }
  14417. var unknownPropString = unknownProps.map(function (prop) {
  14418. return '`' + prop + '`';
  14419. }).join(', ');
  14420. if (unknownProps.length === 1) {
  14421. warning$1(false, 'Invalid value for prop %s on <%s> tag. Either remove it from the element, ' + 'or pass a string or number value to keep it in the DOM. ' + 'For details, see https://fb.me/react-attribute-behavior', unknownPropString, type);
  14422. } else if (unknownProps.length > 1) {
  14423. warning$1(false, 'Invalid values for props %s on <%s> tag. Either remove them from the element, ' + 'or pass a string or number value to keep them in the DOM. ' + 'For details, see https://fb.me/react-attribute-behavior', unknownPropString, type);
  14424. }
  14425. };
  14426. function validateProperties$2(type, props, canUseEventSystem) {
  14427. if (isCustomComponent(type, props)) {
  14428. return;
  14429. }
  14430. warnUnknownProperties(type, props, canUseEventSystem);
  14431. }
  14432. // TODO: direct imports like some-package/src/* are bad. Fix me.
  14433. var didWarnInvalidHydration = false;
  14434. var didWarnShadyDOM = false;
  14435. var DANGEROUSLY_SET_INNER_HTML = 'dangerouslySetInnerHTML';
  14436. var SUPPRESS_CONTENT_EDITABLE_WARNING = 'suppressContentEditableWarning';
  14437. var SUPPRESS_HYDRATION_WARNING$1 = 'suppressHydrationWarning';
  14438. var AUTOFOCUS = 'autoFocus';
  14439. var CHILDREN = 'children';
  14440. var STYLE$1 = 'style';
  14441. var HTML = '__html';
  14442. var HTML_NAMESPACE = Namespaces.html;
  14443. var warnedUnknownTags = void 0;
  14444. var suppressHydrationWarning = void 0;
  14445. var validatePropertiesInDevelopment = void 0;
  14446. var warnForTextDifference = void 0;
  14447. var warnForPropDifference = void 0;
  14448. var warnForExtraAttributes = void 0;
  14449. var warnForInvalidEventListener = void 0;
  14450. var canDiffStyleForHydrationWarning = void 0;
  14451. var normalizeMarkupForTextOrAttribute = void 0;
  14452. var normalizeHTML = void 0;
  14453. {
  14454. warnedUnknownTags = {
  14455. // Chrome is the only major browser not shipping <time>. But as of July
  14456. // 2017 it intends to ship it due to widespread usage. We intentionally
  14457. // *don't* warn for <time> even if it's unrecognized by Chrome because
  14458. // it soon will be, and many apps have been using it anyway.
  14459. time: true,
  14460. // There are working polyfills for <dialog>. Let people use it.
  14461. dialog: true,
  14462. // Electron ships a custom <webview> tag to display external web content in
  14463. // an isolated frame and process.
  14464. // This tag is not present in non Electron environments such as JSDom which
  14465. // is often used for testing purposes.
  14466. // @see https://electronjs.org/docs/api/webview-tag
  14467. webview: true
  14468. };
  14469. validatePropertiesInDevelopment = function (type, props) {
  14470. validateProperties(type, props);
  14471. validateProperties$1(type, props);
  14472. validateProperties$2(type, props, /* canUseEventSystem */true);
  14473. };
  14474. // IE 11 parses & normalizes the style attribute as opposed to other
  14475. // browsers. It adds spaces and sorts the properties in some
  14476. // non-alphabetical order. Handling that would require sorting CSS
  14477. // properties in the client & server versions or applying
  14478. // `expectedStyle` to a temporary DOM node to read its `style` attribute
  14479. // normalized. Since it only affects IE, we're skipping style warnings
  14480. // in that browser completely in favor of doing all that work.
  14481. // See https://github.com/facebook/react/issues/11807
  14482. canDiffStyleForHydrationWarning = canUseDOM && !document.documentMode;
  14483. // HTML parsing normalizes CR and CRLF to LF.
  14484. // It also can turn \u0000 into \uFFFD inside attributes.
  14485. // https://www.w3.org/TR/html5/single-page.html#preprocessing-the-input-stream
  14486. // If we have a mismatch, it might be caused by that.
  14487. // We will still patch up in this case but not fire the warning.
  14488. var NORMALIZE_NEWLINES_REGEX = /\r\n?/g;
  14489. var NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g;
  14490. normalizeMarkupForTextOrAttribute = function (markup) {
  14491. var markupString = typeof markup === 'string' ? markup : '' + markup;
  14492. return markupString.replace(NORMALIZE_NEWLINES_REGEX, '\n').replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, '');
  14493. };
  14494. warnForTextDifference = function (serverText, clientText) {
  14495. if (didWarnInvalidHydration) {
  14496. return;
  14497. }
  14498. var normalizedClientText = normalizeMarkupForTextOrAttribute(clientText);
  14499. var normalizedServerText = normalizeMarkupForTextOrAttribute(serverText);
  14500. if (normalizedServerText === normalizedClientText) {
  14501. return;
  14502. }
  14503. didWarnInvalidHydration = true;
  14504. warningWithoutStack$1(false, 'Text content did not match. Server: "%s" Client: "%s"', normalizedServerText, normalizedClientText);
  14505. };
  14506. warnForPropDifference = function (propName, serverValue, clientValue) {
  14507. if (didWarnInvalidHydration) {
  14508. return;
  14509. }
  14510. var normalizedClientValue = normalizeMarkupForTextOrAttribute(clientValue);
  14511. var normalizedServerValue = normalizeMarkupForTextOrAttribute(serverValue);
  14512. if (normalizedServerValue === normalizedClientValue) {
  14513. return;
  14514. }
  14515. didWarnInvalidHydration = true;
  14516. warningWithoutStack$1(false, 'Prop `%s` did not match. Server: %s Client: %s', propName, JSON.stringify(normalizedServerValue), JSON.stringify(normalizedClientValue));
  14517. };
  14518. warnForExtraAttributes = function (attributeNames) {
  14519. if (didWarnInvalidHydration) {
  14520. return;
  14521. }
  14522. didWarnInvalidHydration = true;
  14523. var names = [];
  14524. attributeNames.forEach(function (name) {
  14525. names.push(name);
  14526. });
  14527. warningWithoutStack$1(false, 'Extra attributes from the server: %s', names);
  14528. };
  14529. warnForInvalidEventListener = function (registrationName, listener) {
  14530. if (listener === false) {
  14531. warning$1(false, 'Expected `%s` listener to be a function, instead got `false`.\n\n' + 'If you used to conditionally omit it with %s={condition && value}, ' + 'pass %s={condition ? value : undefined} instead.', registrationName, registrationName, registrationName);
  14532. } else {
  14533. warning$1(false, 'Expected `%s` listener to be a function, instead got a value of `%s` type.', registrationName, typeof listener);
  14534. }
  14535. };
  14536. // Parse the HTML and read it back to normalize the HTML string so that it
  14537. // can be used for comparison.
  14538. normalizeHTML = function (parent, html) {
  14539. // We could have created a separate document here to avoid
  14540. // re-initializing custom elements if they exist. But this breaks
  14541. // how <noscript> is being handled. So we use the same document.
  14542. // See the discussion in https://github.com/facebook/react/pull/11157.
  14543. var testElement = parent.namespaceURI === HTML_NAMESPACE ? parent.ownerDocument.createElement(parent.tagName) : parent.ownerDocument.createElementNS(parent.namespaceURI, parent.tagName);
  14544. testElement.innerHTML = html;
  14545. return testElement.innerHTML;
  14546. };
  14547. }
  14548. function ensureListeningTo(rootContainerElement, registrationName) {
  14549. var isDocumentOrFragment = rootContainerElement.nodeType === DOCUMENT_NODE || rootContainerElement.nodeType === DOCUMENT_FRAGMENT_NODE;
  14550. var doc = isDocumentOrFragment ? rootContainerElement : rootContainerElement.ownerDocument;
  14551. listenTo(registrationName, doc);
  14552. }
  14553. function getOwnerDocumentFromRootContainer(rootContainerElement) {
  14554. return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
  14555. }
  14556. function noop() {}
  14557. function trapClickOnNonInteractiveElement(node) {
  14558. // Mobile Safari does not fire properly bubble click events on
  14559. // non-interactive elements, which means delegated click listeners do not
  14560. // fire. The workaround for this bug involves attaching an empty click
  14561. // listener on the target node.
  14562. // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html
  14563. // Just set it using the onclick property so that we don't have to manage any
  14564. // bookkeeping for it. Not sure if we need to clear it when the listener is
  14565. // removed.
  14566. // TODO: Only do this for the relevant Safaris maybe?
  14567. node.onclick = noop;
  14568. }
  14569. function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
  14570. for (var propKey in nextProps) {
  14571. if (!nextProps.hasOwnProperty(propKey)) {
  14572. continue;
  14573. }
  14574. var nextProp = nextProps[propKey];
  14575. if (propKey === STYLE$1) {
  14576. {
  14577. if (nextProp) {
  14578. // Freeze the next style object so that we can assume it won't be
  14579. // mutated. We have already warned for this in the past.
  14580. Object.freeze(nextProp);
  14581. }
  14582. }
  14583. // Relies on `updateStylesByID` not mutating `styleUpdates`.
  14584. setValueForStyles(domElement, nextProp);
  14585. } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
  14586. var nextHtml = nextProp ? nextProp[HTML] : undefined;
  14587. if (nextHtml != null) {
  14588. setInnerHTML(domElement, nextHtml);
  14589. }
  14590. } else if (propKey === CHILDREN) {
  14591. if (typeof nextProp === 'string') {
  14592. // Avoid setting initial textContent when the text is empty. In IE11 setting
  14593. // textContent on a <textarea> will cause the placeholder to not
  14594. // show within the <textarea> until it has been focused and blurred again.
  14595. // https://github.com/facebook/react/issues/6731#issuecomment-254874553
  14596. var canSetTextContent = tag !== 'textarea' || nextProp !== '';
  14597. if (canSetTextContent) {
  14598. setTextContent(domElement, nextProp);
  14599. }
  14600. } else if (typeof nextProp === 'number') {
  14601. setTextContent(domElement, '' + nextProp);
  14602. }
  14603. } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {
  14604. // Noop
  14605. } else if (propKey === AUTOFOCUS) {
  14606. // We polyfill it separately on the client during commit.
  14607. // We could have excluded it in the property list instead of
  14608. // adding a special case here, but then it wouldn't be emitted
  14609. // on server rendering (but we *do* want to emit it in SSR).
  14610. } else if (registrationNameModules.hasOwnProperty(propKey)) {
  14611. if (nextProp != null) {
  14612. if ( true && typeof nextProp !== 'function') {
  14613. warnForInvalidEventListener(propKey, nextProp);
  14614. }
  14615. ensureListeningTo(rootContainerElement, propKey);
  14616. }
  14617. } else if (nextProp != null) {
  14618. setValueForProperty(domElement, propKey, nextProp, isCustomComponentTag);
  14619. }
  14620. }
  14621. }
  14622. function updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag) {
  14623. // TODO: Handle wasCustomComponentTag
  14624. for (var i = 0; i < updatePayload.length; i += 2) {
  14625. var propKey = updatePayload[i];
  14626. var propValue = updatePayload[i + 1];
  14627. if (propKey === STYLE$1) {
  14628. setValueForStyles(domElement, propValue);
  14629. } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
  14630. setInnerHTML(domElement, propValue);
  14631. } else if (propKey === CHILDREN) {
  14632. setTextContent(domElement, propValue);
  14633. } else {
  14634. setValueForProperty(domElement, propKey, propValue, isCustomComponentTag);
  14635. }
  14636. }
  14637. }
  14638. function createElement(type, props, rootContainerElement, parentNamespace) {
  14639. var isCustomComponentTag = void 0;
  14640. // We create tags in the namespace of their parent container, except HTML
  14641. // tags get no namespace.
  14642. var ownerDocument = getOwnerDocumentFromRootContainer(rootContainerElement);
  14643. var domElement = void 0;
  14644. var namespaceURI = parentNamespace;
  14645. if (namespaceURI === HTML_NAMESPACE) {
  14646. namespaceURI = getIntrinsicNamespace(type);
  14647. }
  14648. if (namespaceURI === HTML_NAMESPACE) {
  14649. {
  14650. isCustomComponentTag = isCustomComponent(type, props);
  14651. // Should this check be gated by parent namespace? Not sure we want to
  14652. // allow <SVG> or <mATH>.
  14653. !(isCustomComponentTag || type === type.toLowerCase()) ? warning$1(false, '<%s /> is using incorrect casing. ' + 'Use PascalCase for React components, ' + 'or lowercase for HTML elements.', type) : void 0;
  14654. }
  14655. if (type === 'script') {
  14656. // Create the script via .innerHTML so its "parser-inserted" flag is
  14657. // set to true and it does not execute
  14658. var div = ownerDocument.createElement('div');
  14659. div.innerHTML = '<script><' + '/script>'; // eslint-disable-line
  14660. // This is guaranteed to yield a script element.
  14661. var firstChild = div.firstChild;
  14662. domElement = div.removeChild(firstChild);
  14663. } else if (typeof props.is === 'string') {
  14664. // $FlowIssue `createElement` should be updated for Web Components
  14665. domElement = ownerDocument.createElement(type, { is: props.is });
  14666. } else {
  14667. // Separate else branch instead of using `props.is || undefined` above because of a Firefox bug.
  14668. // See discussion in https://github.com/facebook/react/pull/6896
  14669. // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240
  14670. domElement = ownerDocument.createElement(type);
  14671. // Normally attributes are assigned in `setInitialDOMProperties`, however the `multiple`
  14672. // attribute on `select`s needs to be added before `option`s are inserted. This prevents
  14673. // a bug where the `select` does not scroll to the correct option because singular
  14674. // `select` elements automatically pick the first item.
  14675. // See https://github.com/facebook/react/issues/13222
  14676. if (type === 'select' && props.multiple) {
  14677. var node = domElement;
  14678. node.multiple = true;
  14679. }
  14680. }
  14681. } else {
  14682. domElement = ownerDocument.createElementNS(namespaceURI, type);
  14683. }
  14684. {
  14685. if (namespaceURI === HTML_NAMESPACE) {
  14686. if (!isCustomComponentTag && Object.prototype.toString.call(domElement) === '[object HTMLUnknownElement]' && !Object.prototype.hasOwnProperty.call(warnedUnknownTags, type)) {
  14687. warnedUnknownTags[type] = true;
  14688. warning$1(false, 'The tag <%s> is unrecognized in this browser. ' + 'If you meant to render a React component, start its name with ' + 'an uppercase letter.', type);
  14689. }
  14690. }
  14691. }
  14692. return domElement;
  14693. }
  14694. function createTextNode(text, rootContainerElement) {
  14695. return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text);
  14696. }
  14697. function setInitialProperties(domElement, tag, rawProps, rootContainerElement) {
  14698. var isCustomComponentTag = isCustomComponent(tag, rawProps);
  14699. {
  14700. validatePropertiesInDevelopment(tag, rawProps);
  14701. if (isCustomComponentTag && !didWarnShadyDOM && domElement.shadyRoot) {
  14702. warning$1(false, '%s is using shady DOM. Using shady DOM with React can ' + 'cause things to break subtly.', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
  14703. didWarnShadyDOM = true;
  14704. }
  14705. }
  14706. // TODO: Make sure that we check isMounted before firing any of these events.
  14707. var props = void 0;
  14708. switch (tag) {
  14709. case 'iframe':
  14710. case 'object':
  14711. trapBubbledEvent(TOP_LOAD, domElement);
  14712. props = rawProps;
  14713. break;
  14714. case 'video':
  14715. case 'audio':
  14716. // Create listener for each media event
  14717. for (var i = 0; i < mediaEventTypes.length; i++) {
  14718. trapBubbledEvent(mediaEventTypes[i], domElement);
  14719. }
  14720. props = rawProps;
  14721. break;
  14722. case 'source':
  14723. trapBubbledEvent(TOP_ERROR, domElement);
  14724. props = rawProps;
  14725. break;
  14726. case 'img':
  14727. case 'image':
  14728. case 'link':
  14729. trapBubbledEvent(TOP_ERROR, domElement);
  14730. trapBubbledEvent(TOP_LOAD, domElement);
  14731. props = rawProps;
  14732. break;
  14733. case 'form':
  14734. trapBubbledEvent(TOP_RESET, domElement);
  14735. trapBubbledEvent(TOP_SUBMIT, domElement);
  14736. props = rawProps;
  14737. break;
  14738. case 'details':
  14739. trapBubbledEvent(TOP_TOGGLE, domElement);
  14740. props = rawProps;
  14741. break;
  14742. case 'input':
  14743. initWrapperState(domElement, rawProps);
  14744. props = getHostProps(domElement, rawProps);
  14745. trapBubbledEvent(TOP_INVALID, domElement);
  14746. // For controlled components we always need to ensure we're listening
  14747. // to onChange. Even if there is no listener.
  14748. ensureListeningTo(rootContainerElement, 'onChange');
  14749. break;
  14750. case 'option':
  14751. validateProps(domElement, rawProps);
  14752. props = getHostProps$1(domElement, rawProps);
  14753. break;
  14754. case 'select':
  14755. initWrapperState$1(domElement, rawProps);
  14756. props = getHostProps$2(domElement, rawProps);
  14757. trapBubbledEvent(TOP_INVALID, domElement);
  14758. // For controlled components we always need to ensure we're listening
  14759. // to onChange. Even if there is no listener.
  14760. ensureListeningTo(rootContainerElement, 'onChange');
  14761. break;
  14762. case 'textarea':
  14763. initWrapperState$2(domElement, rawProps);
  14764. props = getHostProps$3(domElement, rawProps);
  14765. trapBubbledEvent(TOP_INVALID, domElement);
  14766. // For controlled components we always need to ensure we're listening
  14767. // to onChange. Even if there is no listener.
  14768. ensureListeningTo(rootContainerElement, 'onChange');
  14769. break;
  14770. default:
  14771. props = rawProps;
  14772. }
  14773. assertValidProps(tag, props);
  14774. setInitialDOMProperties(tag, domElement, rootContainerElement, props, isCustomComponentTag);
  14775. switch (tag) {
  14776. case 'input':
  14777. // TODO: Make sure we check if this is still unmounted or do any clean
  14778. // up necessary since we never stop tracking anymore.
  14779. track(domElement);
  14780. postMountWrapper(domElement, rawProps, false);
  14781. break;
  14782. case 'textarea':
  14783. // TODO: Make sure we check if this is still unmounted or do any clean
  14784. // up necessary since we never stop tracking anymore.
  14785. track(domElement);
  14786. postMountWrapper$3(domElement, rawProps);
  14787. break;
  14788. case 'option':
  14789. postMountWrapper$1(domElement, rawProps);
  14790. break;
  14791. case 'select':
  14792. postMountWrapper$2(domElement, rawProps);
  14793. break;
  14794. default:
  14795. if (typeof props.onClick === 'function') {
  14796. // TODO: This cast may not be sound for SVG, MathML or custom elements.
  14797. trapClickOnNonInteractiveElement(domElement);
  14798. }
  14799. break;
  14800. }
  14801. }
  14802. // Calculate the diff between the two objects.
  14803. function diffProperties(domElement, tag, lastRawProps, nextRawProps, rootContainerElement) {
  14804. {
  14805. validatePropertiesInDevelopment(tag, nextRawProps);
  14806. }
  14807. var updatePayload = null;
  14808. var lastProps = void 0;
  14809. var nextProps = void 0;
  14810. switch (tag) {
  14811. case 'input':
  14812. lastProps = getHostProps(domElement, lastRawProps);
  14813. nextProps = getHostProps(domElement, nextRawProps);
  14814. updatePayload = [];
  14815. break;
  14816. case 'option':
  14817. lastProps = getHostProps$1(domElement, lastRawProps);
  14818. nextProps = getHostProps$1(domElement, nextRawProps);
  14819. updatePayload = [];
  14820. break;
  14821. case 'select':
  14822. lastProps = getHostProps$2(domElement, lastRawProps);
  14823. nextProps = getHostProps$2(domElement, nextRawProps);
  14824. updatePayload = [];
  14825. break;
  14826. case 'textarea':
  14827. lastProps = getHostProps$3(domElement, lastRawProps);
  14828. nextProps = getHostProps$3(domElement, nextRawProps);
  14829. updatePayload = [];
  14830. break;
  14831. default:
  14832. lastProps = lastRawProps;
  14833. nextProps = nextRawProps;
  14834. if (typeof lastProps.onClick !== 'function' && typeof nextProps.onClick === 'function') {
  14835. // TODO: This cast may not be sound for SVG, MathML or custom elements.
  14836. trapClickOnNonInteractiveElement(domElement);
  14837. }
  14838. break;
  14839. }
  14840. assertValidProps(tag, nextProps);
  14841. var propKey = void 0;
  14842. var styleName = void 0;
  14843. var styleUpdates = null;
  14844. for (propKey in lastProps) {
  14845. if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {
  14846. continue;
  14847. }
  14848. if (propKey === STYLE$1) {
  14849. var lastStyle = lastProps[propKey];
  14850. for (styleName in lastStyle) {
  14851. if (lastStyle.hasOwnProperty(styleName)) {
  14852. if (!styleUpdates) {
  14853. styleUpdates = {};
  14854. }
  14855. styleUpdates[styleName] = '';
  14856. }
  14857. }
  14858. } else if (propKey === DANGEROUSLY_SET_INNER_HTML || propKey === CHILDREN) {
  14859. // Noop. This is handled by the clear text mechanism.
  14860. } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {
  14861. // Noop
  14862. } else if (propKey === AUTOFOCUS) {
  14863. // Noop. It doesn't work on updates anyway.
  14864. } else if (registrationNameModules.hasOwnProperty(propKey)) {
  14865. // This is a special case. If any listener updates we need to ensure
  14866. // that the "current" fiber pointer gets updated so we need a commit
  14867. // to update this element.
  14868. if (!updatePayload) {
  14869. updatePayload = [];
  14870. }
  14871. } else {
  14872. // For all other deleted properties we add it to the queue. We use
  14873. // the whitelist in the commit phase instead.
  14874. (updatePayload = updatePayload || []).push(propKey, null);
  14875. }
  14876. }
  14877. for (propKey in nextProps) {
  14878. var nextProp = nextProps[propKey];
  14879. var lastProp = lastProps != null ? lastProps[propKey] : undefined;
  14880. if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {
  14881. continue;
  14882. }
  14883. if (propKey === STYLE$1) {
  14884. {
  14885. if (nextProp) {
  14886. // Freeze the next style object so that we can assume it won't be
  14887. // mutated. We have already warned for this in the past.
  14888. Object.freeze(nextProp);
  14889. }
  14890. }
  14891. if (lastProp) {
  14892. // Unset styles on `lastProp` but not on `nextProp`.
  14893. for (styleName in lastProp) {
  14894. if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {
  14895. if (!styleUpdates) {
  14896. styleUpdates = {};
  14897. }
  14898. styleUpdates[styleName] = '';
  14899. }
  14900. }
  14901. // Update styles that changed since `lastProp`.
  14902. for (styleName in nextProp) {
  14903. if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {
  14904. if (!styleUpdates) {
  14905. styleUpdates = {};
  14906. }
  14907. styleUpdates[styleName] = nextProp[styleName];
  14908. }
  14909. }
  14910. } else {
  14911. // Relies on `updateStylesByID` not mutating `styleUpdates`.
  14912. if (!styleUpdates) {
  14913. if (!updatePayload) {
  14914. updatePayload = [];
  14915. }
  14916. updatePayload.push(propKey, styleUpdates);
  14917. }
  14918. styleUpdates = nextProp;
  14919. }
  14920. } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
  14921. var nextHtml = nextProp ? nextProp[HTML] : undefined;
  14922. var lastHtml = lastProp ? lastProp[HTML] : undefined;
  14923. if (nextHtml != null) {
  14924. if (lastHtml !== nextHtml) {
  14925. (updatePayload = updatePayload || []).push(propKey, '' + nextHtml);
  14926. }
  14927. } else {
  14928. // TODO: It might be too late to clear this if we have children
  14929. // inserted already.
  14930. }
  14931. } else if (propKey === CHILDREN) {
  14932. if (lastProp !== nextProp && (typeof nextProp === 'string' || typeof nextProp === 'number')) {
  14933. (updatePayload = updatePayload || []).push(propKey, '' + nextProp);
  14934. }
  14935. } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1) {
  14936. // Noop
  14937. } else if (registrationNameModules.hasOwnProperty(propKey)) {
  14938. if (nextProp != null) {
  14939. // We eagerly listen to this even though we haven't committed yet.
  14940. if ( true && typeof nextProp !== 'function') {
  14941. warnForInvalidEventListener(propKey, nextProp);
  14942. }
  14943. ensureListeningTo(rootContainerElement, propKey);
  14944. }
  14945. if (!updatePayload && lastProp !== nextProp) {
  14946. // This is a special case. If any listener updates we need to ensure
  14947. // that the "current" props pointer gets updated so we need a commit
  14948. // to update this element.
  14949. updatePayload = [];
  14950. }
  14951. } else {
  14952. // For any other property we always add it to the queue and then we
  14953. // filter it out using the whitelist during the commit.
  14954. (updatePayload = updatePayload || []).push(propKey, nextProp);
  14955. }
  14956. }
  14957. if (styleUpdates) {
  14958. (updatePayload = updatePayload || []).push(STYLE$1, styleUpdates);
  14959. }
  14960. return updatePayload;
  14961. }
  14962. // Apply the diff.
  14963. function updateProperties(domElement, updatePayload, tag, lastRawProps, nextRawProps) {
  14964. // Update checked *before* name.
  14965. // In the middle of an update, it is possible to have multiple checked.
  14966. // When a checked radio tries to change name, browser makes another radio's checked false.
  14967. if (tag === 'input' && nextRawProps.type === 'radio' && nextRawProps.name != null) {
  14968. updateChecked(domElement, nextRawProps);
  14969. }
  14970. var wasCustomComponentTag = isCustomComponent(tag, lastRawProps);
  14971. var isCustomComponentTag = isCustomComponent(tag, nextRawProps);
  14972. // Apply the diff.
  14973. updateDOMProperties(domElement, updatePayload, wasCustomComponentTag, isCustomComponentTag);
  14974. // TODO: Ensure that an update gets scheduled if any of the special props
  14975. // changed.
  14976. switch (tag) {
  14977. case 'input':
  14978. // Update the wrapper around inputs *after* updating props. This has to
  14979. // happen after `updateDOMProperties`. Otherwise HTML5 input validations
  14980. // raise warnings and prevent the new value from being assigned.
  14981. updateWrapper(domElement, nextRawProps);
  14982. break;
  14983. case 'textarea':
  14984. updateWrapper$1(domElement, nextRawProps);
  14985. break;
  14986. case 'select':
  14987. // <select> value update needs to occur after <option> children
  14988. // reconciliation
  14989. postUpdateWrapper(domElement, nextRawProps);
  14990. break;
  14991. }
  14992. }
  14993. function getPossibleStandardName(propName) {
  14994. {
  14995. var lowerCasedName = propName.toLowerCase();
  14996. if (!possibleStandardNames.hasOwnProperty(lowerCasedName)) {
  14997. return null;
  14998. }
  14999. return possibleStandardNames[lowerCasedName] || null;
  15000. }
  15001. return null;
  15002. }
  15003. function diffHydratedProperties(domElement, tag, rawProps, parentNamespace, rootContainerElement) {
  15004. var isCustomComponentTag = void 0;
  15005. var extraAttributeNames = void 0;
  15006. {
  15007. suppressHydrationWarning = rawProps[SUPPRESS_HYDRATION_WARNING$1] === true;
  15008. isCustomComponentTag = isCustomComponent(tag, rawProps);
  15009. validatePropertiesInDevelopment(tag, rawProps);
  15010. if (isCustomComponentTag && !didWarnShadyDOM && domElement.shadyRoot) {
  15011. warning$1(false, '%s is using shady DOM. Using shady DOM with React can ' + 'cause things to break subtly.', getCurrentFiberOwnerNameInDevOrNull() || 'A component');
  15012. didWarnShadyDOM = true;
  15013. }
  15014. }
  15015. // TODO: Make sure that we check isMounted before firing any of these events.
  15016. switch (tag) {
  15017. case 'iframe':
  15018. case 'object':
  15019. trapBubbledEvent(TOP_LOAD, domElement);
  15020. break;
  15021. case 'video':
  15022. case 'audio':
  15023. // Create listener for each media event
  15024. for (var i = 0; i < mediaEventTypes.length; i++) {
  15025. trapBubbledEvent(mediaEventTypes[i], domElement);
  15026. }
  15027. break;
  15028. case 'source':
  15029. trapBubbledEvent(TOP_ERROR, domElement);
  15030. break;
  15031. case 'img':
  15032. case 'image':
  15033. case 'link':
  15034. trapBubbledEvent(TOP_ERROR, domElement);
  15035. trapBubbledEvent(TOP_LOAD, domElement);
  15036. break;
  15037. case 'form':
  15038. trapBubbledEvent(TOP_RESET, domElement);
  15039. trapBubbledEvent(TOP_SUBMIT, domElement);
  15040. break;
  15041. case 'details':
  15042. trapBubbledEvent(TOP_TOGGLE, domElement);
  15043. break;
  15044. case 'input':
  15045. initWrapperState(domElement, rawProps);
  15046. trapBubbledEvent(TOP_INVALID, domElement);
  15047. // For controlled components we always need to ensure we're listening
  15048. // to onChange. Even if there is no listener.
  15049. ensureListeningTo(rootContainerElement, 'onChange');
  15050. break;
  15051. case 'option':
  15052. validateProps(domElement, rawProps);
  15053. break;
  15054. case 'select':
  15055. initWrapperState$1(domElement, rawProps);
  15056. trapBubbledEvent(TOP_INVALID, domElement);
  15057. // For controlled components we always need to ensure we're listening
  15058. // to onChange. Even if there is no listener.
  15059. ensureListeningTo(rootContainerElement, 'onChange');
  15060. break;
  15061. case 'textarea':
  15062. initWrapperState$2(domElement, rawProps);
  15063. trapBubbledEvent(TOP_INVALID, domElement);
  15064. // For controlled components we always need to ensure we're listening
  15065. // to onChange. Even if there is no listener.
  15066. ensureListeningTo(rootContainerElement, 'onChange');
  15067. break;
  15068. }
  15069. assertValidProps(tag, rawProps);
  15070. {
  15071. extraAttributeNames = new Set();
  15072. var attributes = domElement.attributes;
  15073. for (var _i = 0; _i < attributes.length; _i++) {
  15074. var name = attributes[_i].name.toLowerCase();
  15075. switch (name) {
  15076. // Built-in SSR attribute is whitelisted
  15077. case 'data-reactroot':
  15078. break;
  15079. // Controlled attributes are not validated
  15080. // TODO: Only ignore them on controlled tags.
  15081. case 'value':
  15082. break;
  15083. case 'checked':
  15084. break;
  15085. case 'selected':
  15086. break;
  15087. default:
  15088. // Intentionally use the original name.
  15089. // See discussion in https://github.com/facebook/react/pull/10676.
  15090. extraAttributeNames.add(attributes[_i].name);
  15091. }
  15092. }
  15093. }
  15094. var updatePayload = null;
  15095. for (var propKey in rawProps) {
  15096. if (!rawProps.hasOwnProperty(propKey)) {
  15097. continue;
  15098. }
  15099. var nextProp = rawProps[propKey];
  15100. if (propKey === CHILDREN) {
  15101. // For text content children we compare against textContent. This
  15102. // might match additional HTML that is hidden when we read it using
  15103. // textContent. E.g. "foo" will match "f<span>oo</span>" but that still
  15104. // satisfies our requirement. Our requirement is not to produce perfect
  15105. // HTML and attributes. Ideally we should preserve structure but it's
  15106. // ok not to if the visible content is still enough to indicate what
  15107. // even listeners these nodes might be wired up to.
  15108. // TODO: Warn if there is more than a single textNode as a child.
  15109. // TODO: Should we use domElement.firstChild.nodeValue to compare?
  15110. if (typeof nextProp === 'string') {
  15111. if (domElement.textContent !== nextProp) {
  15112. if ( true && !suppressHydrationWarning) {
  15113. warnForTextDifference(domElement.textContent, nextProp);
  15114. }
  15115. updatePayload = [CHILDREN, nextProp];
  15116. }
  15117. } else if (typeof nextProp === 'number') {
  15118. if (domElement.textContent !== '' + nextProp) {
  15119. if ( true && !suppressHydrationWarning) {
  15120. warnForTextDifference(domElement.textContent, nextProp);
  15121. }
  15122. updatePayload = [CHILDREN, '' + nextProp];
  15123. }
  15124. }
  15125. } else if (registrationNameModules.hasOwnProperty(propKey)) {
  15126. if (nextProp != null) {
  15127. if ( true && typeof nextProp !== 'function') {
  15128. warnForInvalidEventListener(propKey, nextProp);
  15129. }
  15130. ensureListeningTo(rootContainerElement, propKey);
  15131. }
  15132. } else if ( true &&
  15133. // Convince Flow we've calculated it (it's DEV-only in this method.)
  15134. typeof isCustomComponentTag === 'boolean') {
  15135. // Validate that the properties correspond to their expected values.
  15136. var serverValue = void 0;
  15137. var propertyInfo = getPropertyInfo(propKey);
  15138. if (suppressHydrationWarning) {
  15139. // Don't bother comparing. We're ignoring all these warnings.
  15140. } else if (propKey === SUPPRESS_CONTENT_EDITABLE_WARNING || propKey === SUPPRESS_HYDRATION_WARNING$1 ||
  15141. // Controlled attributes are not validated
  15142. // TODO: Only ignore them on controlled tags.
  15143. propKey === 'value' || propKey === 'checked' || propKey === 'selected') {
  15144. // Noop
  15145. } else if (propKey === DANGEROUSLY_SET_INNER_HTML) {
  15146. var serverHTML = domElement.innerHTML;
  15147. var nextHtml = nextProp ? nextProp[HTML] : undefined;
  15148. var expectedHTML = normalizeHTML(domElement, nextHtml != null ? nextHtml : '');
  15149. if (expectedHTML !== serverHTML) {
  15150. warnForPropDifference(propKey, serverHTML, expectedHTML);
  15151. }
  15152. } else if (propKey === STYLE$1) {
  15153. // $FlowFixMe - Should be inferred as not undefined.
  15154. extraAttributeNames.delete(propKey);
  15155. if (canDiffStyleForHydrationWarning) {
  15156. var expectedStyle = createDangerousStringForStyles(nextProp);
  15157. serverValue = domElement.getAttribute('style');
  15158. if (expectedStyle !== serverValue) {
  15159. warnForPropDifference(propKey, serverValue, expectedStyle);
  15160. }
  15161. }
  15162. } else if (isCustomComponentTag) {
  15163. // $FlowFixMe - Should be inferred as not undefined.
  15164. extraAttributeNames.delete(propKey.toLowerCase());
  15165. serverValue = getValueForAttribute(domElement, propKey, nextProp);
  15166. if (nextProp !== serverValue) {
  15167. warnForPropDifference(propKey, serverValue, nextProp);
  15168. }
  15169. } else if (!shouldIgnoreAttribute(propKey, propertyInfo, isCustomComponentTag) && !shouldRemoveAttribute(propKey, nextProp, propertyInfo, isCustomComponentTag)) {
  15170. var isMismatchDueToBadCasing = false;
  15171. if (propertyInfo !== null) {
  15172. // $FlowFixMe - Should be inferred as not undefined.
  15173. extraAttributeNames.delete(propertyInfo.attributeName);
  15174. serverValue = getValueForProperty(domElement, propKey, nextProp, propertyInfo);
  15175. } else {
  15176. var ownNamespace = parentNamespace;
  15177. if (ownNamespace === HTML_NAMESPACE) {
  15178. ownNamespace = getIntrinsicNamespace(tag);
  15179. }
  15180. if (ownNamespace === HTML_NAMESPACE) {
  15181. // $FlowFixMe - Should be inferred as not undefined.
  15182. extraAttributeNames.delete(propKey.toLowerCase());
  15183. } else {
  15184. var standardName = getPossibleStandardName(propKey);
  15185. if (standardName !== null && standardName !== propKey) {
  15186. // If an SVG prop is supplied with bad casing, it will
  15187. // be successfully parsed from HTML, but will produce a mismatch
  15188. // (and would be incorrectly rendered on the client).
  15189. // However, we already warn about bad casing elsewhere.
  15190. // So we'll skip the misleading extra mismatch warning in this case.
  15191. isMismatchDueToBadCasing = true;
  15192. // $FlowFixMe - Should be inferred as not undefined.
  15193. extraAttributeNames.delete(standardName);
  15194. }
  15195. // $FlowFixMe - Should be inferred as not undefined.
  15196. extraAttributeNames.delete(propKey);
  15197. }
  15198. serverValue = getValueForAttribute(domElement, propKey, nextProp);
  15199. }
  15200. if (nextProp !== serverValue && !isMismatchDueToBadCasing) {
  15201. warnForPropDifference(propKey, serverValue, nextProp);
  15202. }
  15203. }
  15204. }
  15205. }
  15206. {
  15207. // $FlowFixMe - Should be inferred as not undefined.
  15208. if (extraAttributeNames.size > 0 && !suppressHydrationWarning) {
  15209. // $FlowFixMe - Should be inferred as not undefined.
  15210. warnForExtraAttributes(extraAttributeNames);
  15211. }
  15212. }
  15213. switch (tag) {
  15214. case 'input':
  15215. // TODO: Make sure we check if this is still unmounted or do any clean
  15216. // up necessary since we never stop tracking anymore.
  15217. track(domElement);
  15218. postMountWrapper(domElement, rawProps, true);
  15219. break;
  15220. case 'textarea':
  15221. // TODO: Make sure we check if this is still unmounted or do any clean
  15222. // up necessary since we never stop tracking anymore.
  15223. track(domElement);
  15224. postMountWrapper$3(domElement, rawProps);
  15225. break;
  15226. case 'select':
  15227. case 'option':
  15228. // For input and textarea we current always set the value property at
  15229. // post mount to force it to diverge from attributes. However, for
  15230. // option and select we don't quite do the same thing and select
  15231. // is not resilient to the DOM state changing so we don't do that here.
  15232. // TODO: Consider not doing this for input and textarea.
  15233. break;
  15234. default:
  15235. if (typeof rawProps.onClick === 'function') {
  15236. // TODO: This cast may not be sound for SVG, MathML or custom elements.
  15237. trapClickOnNonInteractiveElement(domElement);
  15238. }
  15239. break;
  15240. }
  15241. return updatePayload;
  15242. }
  15243. function diffHydratedText(textNode, text) {
  15244. var isDifferent = textNode.nodeValue !== text;
  15245. return isDifferent;
  15246. }
  15247. function warnForUnmatchedText(textNode, text) {
  15248. {
  15249. warnForTextDifference(textNode.nodeValue, text);
  15250. }
  15251. }
  15252. function warnForDeletedHydratableElement(parentNode, child) {
  15253. {
  15254. if (didWarnInvalidHydration) {
  15255. return;
  15256. }
  15257. didWarnInvalidHydration = true;
  15258. warningWithoutStack$1(false, 'Did not expect server HTML to contain a <%s> in <%s>.', child.nodeName.toLowerCase(), parentNode.nodeName.toLowerCase());
  15259. }
  15260. }
  15261. function warnForDeletedHydratableText(parentNode, child) {
  15262. {
  15263. if (didWarnInvalidHydration) {
  15264. return;
  15265. }
  15266. didWarnInvalidHydration = true;
  15267. warningWithoutStack$1(false, 'Did not expect server HTML to contain the text node "%s" in <%s>.', child.nodeValue, parentNode.nodeName.toLowerCase());
  15268. }
  15269. }
  15270. function warnForInsertedHydratedElement(parentNode, tag, props) {
  15271. {
  15272. if (didWarnInvalidHydration) {
  15273. return;
  15274. }
  15275. didWarnInvalidHydration = true;
  15276. warningWithoutStack$1(false, 'Expected server HTML to contain a matching <%s> in <%s>.', tag, parentNode.nodeName.toLowerCase());
  15277. }
  15278. }
  15279. function warnForInsertedHydratedText(parentNode, text) {
  15280. {
  15281. if (text === '') {
  15282. // We expect to insert empty text nodes since they're not represented in
  15283. // the HTML.
  15284. // TODO: Remove this special case if we can just avoid inserting empty
  15285. // text nodes.
  15286. return;
  15287. }
  15288. if (didWarnInvalidHydration) {
  15289. return;
  15290. }
  15291. didWarnInvalidHydration = true;
  15292. warningWithoutStack$1(false, 'Expected server HTML to contain a matching text node for "%s" in <%s>.', text, parentNode.nodeName.toLowerCase());
  15293. }
  15294. }
  15295. function restoreControlledState$1(domElement, tag, props) {
  15296. switch (tag) {
  15297. case 'input':
  15298. restoreControlledState(domElement, props);
  15299. return;
  15300. case 'textarea':
  15301. restoreControlledState$3(domElement, props);
  15302. return;
  15303. case 'select':
  15304. restoreControlledState$2(domElement, props);
  15305. return;
  15306. }
  15307. }
  15308. // TODO: direct imports like some-package/src/* are bad. Fix me.
  15309. var validateDOMNesting = function () {};
  15310. var updatedAncestorInfo = function () {};
  15311. {
  15312. // This validation code was written based on the HTML5 parsing spec:
  15313. // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
  15314. //
  15315. // Note: this does not catch all invalid nesting, nor does it try to (as it's
  15316. // not clear what practical benefit doing so provides); instead, we warn only
  15317. // for cases where the parser will give a parse tree differing from what React
  15318. // intended. For example, <b><div></div></b> is invalid but we don't warn
  15319. // because it still parses correctly; we do warn for other cases like nested
  15320. // <p> tags where the beginning of the second element implicitly closes the
  15321. // first, causing a confusing mess.
  15322. // https://html.spec.whatwg.org/multipage/syntax.html#special
  15323. var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];
  15324. // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope
  15325. var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',
  15326. // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point
  15327. // TODO: Distinguish by namespace here -- for <title>, including it here
  15328. // errs on the side of fewer warnings
  15329. 'foreignObject', 'desc', 'title'];
  15330. // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope
  15331. var buttonScopeTags = inScopeTags.concat(['button']);
  15332. // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags
  15333. var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];
  15334. var emptyAncestorInfo = {
  15335. current: null,
  15336. formTag: null,
  15337. aTagInScope: null,
  15338. buttonTagInScope: null,
  15339. nobrTagInScope: null,
  15340. pTagInButtonScope: null,
  15341. listItemTagAutoclosing: null,
  15342. dlItemTagAutoclosing: null
  15343. };
  15344. updatedAncestorInfo = function (oldInfo, tag) {
  15345. var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);
  15346. var info = { tag: tag };
  15347. if (inScopeTags.indexOf(tag) !== -1) {
  15348. ancestorInfo.aTagInScope = null;
  15349. ancestorInfo.buttonTagInScope = null;
  15350. ancestorInfo.nobrTagInScope = null;
  15351. }
  15352. if (buttonScopeTags.indexOf(tag) !== -1) {
  15353. ancestorInfo.pTagInButtonScope = null;
  15354. }
  15355. // See rules for 'li', 'dd', 'dt' start tags in
  15356. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
  15357. if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {
  15358. ancestorInfo.listItemTagAutoclosing = null;
  15359. ancestorInfo.dlItemTagAutoclosing = null;
  15360. }
  15361. ancestorInfo.current = info;
  15362. if (tag === 'form') {
  15363. ancestorInfo.formTag = info;
  15364. }
  15365. if (tag === 'a') {
  15366. ancestorInfo.aTagInScope = info;
  15367. }
  15368. if (tag === 'button') {
  15369. ancestorInfo.buttonTagInScope = info;
  15370. }
  15371. if (tag === 'nobr') {
  15372. ancestorInfo.nobrTagInScope = info;
  15373. }
  15374. if (tag === 'p') {
  15375. ancestorInfo.pTagInButtonScope = info;
  15376. }
  15377. if (tag === 'li') {
  15378. ancestorInfo.listItemTagAutoclosing = info;
  15379. }
  15380. if (tag === 'dd' || tag === 'dt') {
  15381. ancestorInfo.dlItemTagAutoclosing = info;
  15382. }
  15383. return ancestorInfo;
  15384. };
  15385. /**
  15386. * Returns whether
  15387. */
  15388. var isTagValidWithParent = function (tag, parentTag) {
  15389. // First, let's check if we're in an unusual parsing mode...
  15390. switch (parentTag) {
  15391. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect
  15392. case 'select':
  15393. return tag === 'option' || tag === 'optgroup' || tag === '#text';
  15394. case 'optgroup':
  15395. return tag === 'option' || tag === '#text';
  15396. // Strictly speaking, seeing an <option> doesn't mean we're in a <select>
  15397. // but
  15398. case 'option':
  15399. return tag === '#text';
  15400. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd
  15401. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption
  15402. // No special behavior since these rules fall back to "in body" mode for
  15403. // all except special table nodes which cause bad parsing behavior anyway.
  15404. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr
  15405. case 'tr':
  15406. return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';
  15407. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody
  15408. case 'tbody':
  15409. case 'thead':
  15410. case 'tfoot':
  15411. return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';
  15412. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup
  15413. case 'colgroup':
  15414. return tag === 'col' || tag === 'template';
  15415. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable
  15416. case 'table':
  15417. return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';
  15418. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead
  15419. case 'head':
  15420. return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';
  15421. // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element
  15422. case 'html':
  15423. return tag === 'head' || tag === 'body';
  15424. case '#document':
  15425. return tag === 'html';
  15426. }
  15427. // Probably in the "in body" parsing mode, so we outlaw only tag combos
  15428. // where the parsing rules cause implicit opens or closes to be added.
  15429. // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody
  15430. switch (tag) {
  15431. case 'h1':
  15432. case 'h2':
  15433. case 'h3':
  15434. case 'h4':
  15435. case 'h5':
  15436. case 'h6':
  15437. return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';
  15438. case 'rp':
  15439. case 'rt':
  15440. return impliedEndTags.indexOf(parentTag) === -1;
  15441. case 'body':
  15442. case 'caption':
  15443. case 'col':
  15444. case 'colgroup':
  15445. case 'frame':
  15446. case 'head':
  15447. case 'html':
  15448. case 'tbody':
  15449. case 'td':
  15450. case 'tfoot':
  15451. case 'th':
  15452. case 'thead':
  15453. case 'tr':
  15454. // These tags are only valid with a few parents that have special child
  15455. // parsing rules -- if we're down here, then none of those matched and
  15456. // so we allow it only if we don't know what the parent is, as all other
  15457. // cases are invalid.
  15458. return parentTag == null;
  15459. }
  15460. return true;
  15461. };
  15462. /**
  15463. * Returns whether
  15464. */
  15465. var findInvalidAncestorForTag = function (tag, ancestorInfo) {
  15466. switch (tag) {
  15467. case 'address':
  15468. case 'article':
  15469. case 'aside':
  15470. case 'blockquote':
  15471. case 'center':
  15472. case 'details':
  15473. case 'dialog':
  15474. case 'dir':
  15475. case 'div':
  15476. case 'dl':
  15477. case 'fieldset':
  15478. case 'figcaption':
  15479. case 'figure':
  15480. case 'footer':
  15481. case 'header':
  15482. case 'hgroup':
  15483. case 'main':
  15484. case 'menu':
  15485. case 'nav':
  15486. case 'ol':
  15487. case 'p':
  15488. case 'section':
  15489. case 'summary':
  15490. case 'ul':
  15491. case 'pre':
  15492. case 'listing':
  15493. case 'table':
  15494. case 'hr':
  15495. case 'xmp':
  15496. case 'h1':
  15497. case 'h2':
  15498. case 'h3':
  15499. case 'h4':
  15500. case 'h5':
  15501. case 'h6':
  15502. return ancestorInfo.pTagInButtonScope;
  15503. case 'form':
  15504. return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;
  15505. case 'li':
  15506. return ancestorInfo.listItemTagAutoclosing;
  15507. case 'dd':
  15508. case 'dt':
  15509. return ancestorInfo.dlItemTagAutoclosing;
  15510. case 'button':
  15511. return ancestorInfo.buttonTagInScope;
  15512. case 'a':
  15513. // Spec says something about storing a list of markers, but it sounds
  15514. // equivalent to this check.
  15515. return ancestorInfo.aTagInScope;
  15516. case 'nobr':
  15517. return ancestorInfo.nobrTagInScope;
  15518. }
  15519. return null;
  15520. };
  15521. var didWarn = {};
  15522. validateDOMNesting = function (childTag, childText, ancestorInfo) {
  15523. ancestorInfo = ancestorInfo || emptyAncestorInfo;
  15524. var parentInfo = ancestorInfo.current;
  15525. var parentTag = parentInfo && parentInfo.tag;
  15526. if (childText != null) {
  15527. !(childTag == null) ? warningWithoutStack$1(false, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0;
  15528. childTag = '#text';
  15529. }
  15530. var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;
  15531. var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);
  15532. var invalidParentOrAncestor = invalidParent || invalidAncestor;
  15533. if (!invalidParentOrAncestor) {
  15534. return;
  15535. }
  15536. var ancestorTag = invalidParentOrAncestor.tag;
  15537. var addendum = getCurrentFiberStackInDev();
  15538. var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + addendum;
  15539. if (didWarn[warnKey]) {
  15540. return;
  15541. }
  15542. didWarn[warnKey] = true;
  15543. var tagDisplayName = childTag;
  15544. var whitespaceInfo = '';
  15545. if (childTag === '#text') {
  15546. if (/\S/.test(childText)) {
  15547. tagDisplayName = 'Text nodes';
  15548. } else {
  15549. tagDisplayName = 'Whitespace text nodes';
  15550. whitespaceInfo = " Make sure you don't have any extra whitespace between tags on " + 'each line of your source code.';
  15551. }
  15552. } else {
  15553. tagDisplayName = '<' + childTag + '>';
  15554. }
  15555. if (invalidParent) {
  15556. var info = '';
  15557. if (ancestorTag === 'table' && childTag === 'tr') {
  15558. info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';
  15559. }
  15560. warningWithoutStack$1(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s', tagDisplayName, ancestorTag, whitespaceInfo, info, addendum);
  15561. } else {
  15562. warningWithoutStack$1(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>.%s', tagDisplayName, ancestorTag, addendum);
  15563. }
  15564. };
  15565. }
  15566. // Renderers that don't support persistence
  15567. // can re-export everything from this module.
  15568. function shim() {
  15569. invariant(false, 'The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue.');
  15570. }
  15571. // Persistence (when unsupported)
  15572. var supportsPersistence = false;
  15573. var cloneInstance = shim;
  15574. var createContainerChildSet = shim;
  15575. var appendChildToContainerChildSet = shim;
  15576. var finalizeContainerChildren = shim;
  15577. var replaceContainerChildren = shim;
  15578. var cloneHiddenInstance = shim;
  15579. var cloneUnhiddenInstance = shim;
  15580. var createHiddenTextInstance = shim;
  15581. var SUPPRESS_HYDRATION_WARNING = void 0;
  15582. {
  15583. SUPPRESS_HYDRATION_WARNING = 'suppressHydrationWarning';
  15584. }
  15585. var STYLE = 'style';
  15586. var eventsEnabled = null;
  15587. var selectionInformation = null;
  15588. function shouldAutoFocusHostComponent(type, props) {
  15589. switch (type) {
  15590. case 'button':
  15591. case 'input':
  15592. case 'select':
  15593. case 'textarea':
  15594. return !!props.autoFocus;
  15595. }
  15596. return false;
  15597. }
  15598. function getRootHostContext(rootContainerInstance) {
  15599. var type = void 0;
  15600. var namespace = void 0;
  15601. var nodeType = rootContainerInstance.nodeType;
  15602. switch (nodeType) {
  15603. case DOCUMENT_NODE:
  15604. case DOCUMENT_FRAGMENT_NODE:
  15605. {
  15606. type = nodeType === DOCUMENT_NODE ? '#document' : '#fragment';
  15607. var root = rootContainerInstance.documentElement;
  15608. namespace = root ? root.namespaceURI : getChildNamespace(null, '');
  15609. break;
  15610. }
  15611. default:
  15612. {
  15613. var container = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
  15614. var ownNamespace = container.namespaceURI || null;
  15615. type = container.tagName;
  15616. namespace = getChildNamespace(ownNamespace, type);
  15617. break;
  15618. }
  15619. }
  15620. {
  15621. var validatedTag = type.toLowerCase();
  15622. var _ancestorInfo = updatedAncestorInfo(null, validatedTag);
  15623. return { namespace: namespace, ancestorInfo: _ancestorInfo };
  15624. }
  15625. return namespace;
  15626. }
  15627. function getChildHostContext(parentHostContext, type, rootContainerInstance) {
  15628. {
  15629. var parentHostContextDev = parentHostContext;
  15630. var _namespace = getChildNamespace(parentHostContextDev.namespace, type);
  15631. var _ancestorInfo2 = updatedAncestorInfo(parentHostContextDev.ancestorInfo, type);
  15632. return { namespace: _namespace, ancestorInfo: _ancestorInfo2 };
  15633. }
  15634. var parentNamespace = parentHostContext;
  15635. return getChildNamespace(parentNamespace, type);
  15636. }
  15637. function getPublicInstance(instance) {
  15638. return instance;
  15639. }
  15640. function prepareForCommit(containerInfo) {
  15641. eventsEnabled = isEnabled();
  15642. selectionInformation = getSelectionInformation();
  15643. setEnabled(false);
  15644. }
  15645. function resetAfterCommit(containerInfo) {
  15646. restoreSelection(selectionInformation);
  15647. selectionInformation = null;
  15648. setEnabled(eventsEnabled);
  15649. eventsEnabled = null;
  15650. }
  15651. function createInstance(type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
  15652. var parentNamespace = void 0;
  15653. {
  15654. // TODO: take namespace into account when validating.
  15655. var hostContextDev = hostContext;
  15656. validateDOMNesting(type, null, hostContextDev.ancestorInfo);
  15657. if (typeof props.children === 'string' || typeof props.children === 'number') {
  15658. var string = '' + props.children;
  15659. var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
  15660. validateDOMNesting(null, string, ownAncestorInfo);
  15661. }
  15662. parentNamespace = hostContextDev.namespace;
  15663. }
  15664. var domElement = createElement(type, props, rootContainerInstance, parentNamespace);
  15665. precacheFiberNode(internalInstanceHandle, domElement);
  15666. updateFiberProps(domElement, props);
  15667. return domElement;
  15668. }
  15669. function appendInitialChild(parentInstance, child) {
  15670. parentInstance.appendChild(child);
  15671. }
  15672. function finalizeInitialChildren(domElement, type, props, rootContainerInstance, hostContext) {
  15673. setInitialProperties(domElement, type, props, rootContainerInstance);
  15674. return shouldAutoFocusHostComponent(type, props);
  15675. }
  15676. function prepareUpdate(domElement, type, oldProps, newProps, rootContainerInstance, hostContext) {
  15677. {
  15678. var hostContextDev = hostContext;
  15679. if (typeof newProps.children !== typeof oldProps.children && (typeof newProps.children === 'string' || typeof newProps.children === 'number')) {
  15680. var string = '' + newProps.children;
  15681. var ownAncestorInfo = updatedAncestorInfo(hostContextDev.ancestorInfo, type);
  15682. validateDOMNesting(null, string, ownAncestorInfo);
  15683. }
  15684. }
  15685. return diffProperties(domElement, type, oldProps, newProps, rootContainerInstance);
  15686. }
  15687. function shouldSetTextContent(type, props) {
  15688. return type === 'textarea' || type === 'option' || type === 'noscript' || typeof props.children === 'string' || typeof props.children === 'number' || typeof props.dangerouslySetInnerHTML === 'object' && props.dangerouslySetInnerHTML !== null && props.dangerouslySetInnerHTML.__html != null;
  15689. }
  15690. function shouldDeprioritizeSubtree(type, props) {
  15691. return !!props.hidden;
  15692. }
  15693. function createTextInstance(text, rootContainerInstance, hostContext, internalInstanceHandle) {
  15694. {
  15695. var hostContextDev = hostContext;
  15696. validateDOMNesting(null, text, hostContextDev.ancestorInfo);
  15697. }
  15698. var textNode = createTextNode(text, rootContainerInstance);
  15699. precacheFiberNode(internalInstanceHandle, textNode);
  15700. return textNode;
  15701. }
  15702. var isPrimaryRenderer = true;
  15703. // This initialization code may run even on server environments
  15704. // if a component just imports ReactDOM (e.g. for findDOMNode).
  15705. // Some environments might not have setTimeout or clearTimeout.
  15706. var scheduleTimeout = typeof setTimeout === 'function' ? setTimeout : undefined;
  15707. var cancelTimeout = typeof clearTimeout === 'function' ? clearTimeout : undefined;
  15708. var noTimeout = -1;
  15709. // -------------------
  15710. // Mutation
  15711. // -------------------
  15712. var supportsMutation = true;
  15713. function commitMount(domElement, type, newProps, internalInstanceHandle) {
  15714. // Despite the naming that might imply otherwise, this method only
  15715. // fires if there is an `Update` effect scheduled during mounting.
  15716. // This happens if `finalizeInitialChildren` returns `true` (which it
  15717. // does to implement the `autoFocus` attribute on the client). But
  15718. // there are also other cases when this might happen (such as patching
  15719. // up text content during hydration mismatch). So we'll check this again.
  15720. if (shouldAutoFocusHostComponent(type, newProps)) {
  15721. domElement.focus();
  15722. }
  15723. }
  15724. function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
  15725. // Update the props handle so that we know which props are the ones with
  15726. // with current event handlers.
  15727. updateFiberProps(domElement, newProps);
  15728. // Apply the diff to the DOM node.
  15729. updateProperties(domElement, updatePayload, type, oldProps, newProps);
  15730. }
  15731. function resetTextContent(domElement) {
  15732. setTextContent(domElement, '');
  15733. }
  15734. function commitTextUpdate(textInstance, oldText, newText) {
  15735. textInstance.nodeValue = newText;
  15736. }
  15737. function appendChild(parentInstance, child) {
  15738. parentInstance.appendChild(child);
  15739. }
  15740. function appendChildToContainer(container, child) {
  15741. var parentNode = void 0;
  15742. if (container.nodeType === COMMENT_NODE) {
  15743. parentNode = container.parentNode;
  15744. parentNode.insertBefore(child, container);
  15745. } else {
  15746. parentNode = container;
  15747. parentNode.appendChild(child);
  15748. }
  15749. // This container might be used for a portal.
  15750. // If something inside a portal is clicked, that click should bubble
  15751. // through the React tree. However, on Mobile Safari the click would
  15752. // never bubble through the *DOM* tree unless an ancestor with onclick
  15753. // event exists. So we wouldn't see it and dispatch it.
  15754. // This is why we ensure that non React root containers have inline onclick
  15755. // defined.
  15756. // https://github.com/facebook/react/issues/11918
  15757. var reactRootContainer = container._reactRootContainer;
  15758. if ((reactRootContainer === null || reactRootContainer === undefined) && parentNode.onclick === null) {
  15759. // TODO: This cast may not be sound for SVG, MathML or custom elements.
  15760. trapClickOnNonInteractiveElement(parentNode);
  15761. }
  15762. }
  15763. function insertBefore(parentInstance, child, beforeChild) {
  15764. parentInstance.insertBefore(child, beforeChild);
  15765. }
  15766. function insertInContainerBefore(container, child, beforeChild) {
  15767. if (container.nodeType === COMMENT_NODE) {
  15768. container.parentNode.insertBefore(child, beforeChild);
  15769. } else {
  15770. container.insertBefore(child, beforeChild);
  15771. }
  15772. }
  15773. function removeChild(parentInstance, child) {
  15774. parentInstance.removeChild(child);
  15775. }
  15776. function removeChildFromContainer(container, child) {
  15777. if (container.nodeType === COMMENT_NODE) {
  15778. container.parentNode.removeChild(child);
  15779. } else {
  15780. container.removeChild(child);
  15781. }
  15782. }
  15783. function hideInstance(instance) {
  15784. // TODO: Does this work for all element types? What about MathML? Should we
  15785. // pass host context to this method?
  15786. instance = instance;
  15787. instance.style.display = 'none';
  15788. }
  15789. function hideTextInstance(textInstance) {
  15790. textInstance.nodeValue = '';
  15791. }
  15792. function unhideInstance(instance, props) {
  15793. instance = instance;
  15794. var styleProp = props[STYLE];
  15795. var display = styleProp !== undefined && styleProp !== null && styleProp.hasOwnProperty('display') ? styleProp.display : null;
  15796. instance.style.display = dangerousStyleValue('display', display);
  15797. }
  15798. function unhideTextInstance(textInstance, text) {
  15799. textInstance.nodeValue = text;
  15800. }
  15801. // -------------------
  15802. // Hydration
  15803. // -------------------
  15804. var supportsHydration = true;
  15805. function canHydrateInstance(instance, type, props) {
  15806. if (instance.nodeType !== ELEMENT_NODE || type.toLowerCase() !== instance.nodeName.toLowerCase()) {
  15807. return null;
  15808. }
  15809. // This has now been refined to an element node.
  15810. return instance;
  15811. }
  15812. function canHydrateTextInstance(instance, text) {
  15813. if (text === '' || instance.nodeType !== TEXT_NODE) {
  15814. // Empty strings are not parsed by HTML so there won't be a correct match here.
  15815. return null;
  15816. }
  15817. // This has now been refined to a text node.
  15818. return instance;
  15819. }
  15820. function getNextHydratableSibling(instance) {
  15821. var node = instance.nextSibling;
  15822. // Skip non-hydratable nodes.
  15823. while (node && node.nodeType !== ELEMENT_NODE && node.nodeType !== TEXT_NODE) {
  15824. node = node.nextSibling;
  15825. }
  15826. return node;
  15827. }
  15828. function getFirstHydratableChild(parentInstance) {
  15829. var next = parentInstance.firstChild;
  15830. // Skip non-hydratable nodes.
  15831. while (next && next.nodeType !== ELEMENT_NODE && next.nodeType !== TEXT_NODE) {
  15832. next = next.nextSibling;
  15833. }
  15834. return next;
  15835. }
  15836. function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
  15837. precacheFiberNode(internalInstanceHandle, instance);
  15838. // TODO: Possibly defer this until the commit phase where all the events
  15839. // get attached.
  15840. updateFiberProps(instance, props);
  15841. var parentNamespace = void 0;
  15842. {
  15843. var hostContextDev = hostContext;
  15844. parentNamespace = hostContextDev.namespace;
  15845. }
  15846. return diffHydratedProperties(instance, type, props, parentNamespace, rootContainerInstance);
  15847. }
  15848. function hydrateTextInstance(textInstance, text, internalInstanceHandle) {
  15849. precacheFiberNode(internalInstanceHandle, textInstance);
  15850. return diffHydratedText(textInstance, text);
  15851. }
  15852. function didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, text) {
  15853. {
  15854. warnForUnmatchedText(textInstance, text);
  15855. }
  15856. }
  15857. function didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, text) {
  15858. if ( true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
  15859. warnForUnmatchedText(textInstance, text);
  15860. }
  15861. }
  15862. function didNotHydrateContainerInstance(parentContainer, instance) {
  15863. {
  15864. if (instance.nodeType === ELEMENT_NODE) {
  15865. warnForDeletedHydratableElement(parentContainer, instance);
  15866. } else {
  15867. warnForDeletedHydratableText(parentContainer, instance);
  15868. }
  15869. }
  15870. }
  15871. function didNotHydrateInstance(parentType, parentProps, parentInstance, instance) {
  15872. if ( true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
  15873. if (instance.nodeType === ELEMENT_NODE) {
  15874. warnForDeletedHydratableElement(parentInstance, instance);
  15875. } else {
  15876. warnForDeletedHydratableText(parentInstance, instance);
  15877. }
  15878. }
  15879. }
  15880. function didNotFindHydratableContainerInstance(parentContainer, type, props) {
  15881. {
  15882. warnForInsertedHydratedElement(parentContainer, type, props);
  15883. }
  15884. }
  15885. function didNotFindHydratableContainerTextInstance(parentContainer, text) {
  15886. {
  15887. warnForInsertedHydratedText(parentContainer, text);
  15888. }
  15889. }
  15890. function didNotFindHydratableInstance(parentType, parentProps, parentInstance, type, props) {
  15891. if ( true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
  15892. warnForInsertedHydratedElement(parentInstance, type, props);
  15893. }
  15894. }
  15895. function didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, text) {
  15896. if ( true && parentProps[SUPPRESS_HYDRATION_WARNING] !== true) {
  15897. warnForInsertedHydratedText(parentInstance, text);
  15898. }
  15899. }
  15900. // Prefix measurements so that it's possible to filter them.
  15901. // Longer prefixes are hard to read in DevTools.
  15902. var reactEmoji = '\u269B';
  15903. var warningEmoji = '\u26D4';
  15904. var supportsUserTiming = typeof performance !== 'undefined' && typeof performance.mark === 'function' && typeof performance.clearMarks === 'function' && typeof performance.measure === 'function' && typeof performance.clearMeasures === 'function';
  15905. // Keep track of current fiber so that we know the path to unwind on pause.
  15906. // TODO: this looks the same as nextUnitOfWork in scheduler. Can we unify them?
  15907. var currentFiber = null;
  15908. // If we're in the middle of user code, which fiber and method is it?
  15909. // Reusing `currentFiber` would be confusing for this because user code fiber
  15910. // can change during commit phase too, but we don't need to unwind it (since
  15911. // lifecycles in the commit phase don't resemble a tree).
  15912. var currentPhase = null;
  15913. var currentPhaseFiber = null;
  15914. // Did lifecycle hook schedule an update? This is often a performance problem,
  15915. // so we will keep track of it, and include it in the report.
  15916. // Track commits caused by cascading updates.
  15917. var isCommitting = false;
  15918. var hasScheduledUpdateInCurrentCommit = false;
  15919. var hasScheduledUpdateInCurrentPhase = false;
  15920. var commitCountInCurrentWorkLoop = 0;
  15921. var effectCountInCurrentCommit = 0;
  15922. var isWaitingForCallback = false;
  15923. // During commits, we only show a measurement once per method name
  15924. // to avoid stretch the commit phase with measurement overhead.
  15925. var labelsInCurrentCommit = new Set();
  15926. var formatMarkName = function (markName) {
  15927. return reactEmoji + ' ' + markName;
  15928. };
  15929. var formatLabel = function (label, warning) {
  15930. var prefix = warning ? warningEmoji + ' ' : reactEmoji + ' ';
  15931. var suffix = warning ? ' Warning: ' + warning : '';
  15932. return '' + prefix + label + suffix;
  15933. };
  15934. var beginMark = function (markName) {
  15935. performance.mark(formatMarkName(markName));
  15936. };
  15937. var clearMark = function (markName) {
  15938. performance.clearMarks(formatMarkName(markName));
  15939. };
  15940. var endMark = function (label, markName, warning) {
  15941. var formattedMarkName = formatMarkName(markName);
  15942. var formattedLabel = formatLabel(label, warning);
  15943. try {
  15944. performance.measure(formattedLabel, formattedMarkName);
  15945. } catch (err) {}
  15946. // If previous mark was missing for some reason, this will throw.
  15947. // This could only happen if React crashed in an unexpected place earlier.
  15948. // Don't pile on with more errors.
  15949. // Clear marks immediately to avoid growing buffer.
  15950. performance.clearMarks(formattedMarkName);
  15951. performance.clearMeasures(formattedLabel);
  15952. };
  15953. var getFiberMarkName = function (label, debugID) {
  15954. return label + ' (#' + debugID + ')';
  15955. };
  15956. var getFiberLabel = function (componentName, isMounted, phase) {
  15957. if (phase === null) {
  15958. // These are composite component total time measurements.
  15959. return componentName + ' [' + (isMounted ? 'update' : 'mount') + ']';
  15960. } else {
  15961. // Composite component methods.
  15962. return componentName + '.' + phase;
  15963. }
  15964. };
  15965. var beginFiberMark = function (fiber, phase) {
  15966. var componentName = getComponentName(fiber.type) || 'Unknown';
  15967. var debugID = fiber._debugID;
  15968. var isMounted = fiber.alternate !== null;
  15969. var label = getFiberLabel(componentName, isMounted, phase);
  15970. if (isCommitting && labelsInCurrentCommit.has(label)) {
  15971. // During the commit phase, we don't show duplicate labels because
  15972. // there is a fixed overhead for every measurement, and we don't
  15973. // want to stretch the commit phase beyond necessary.
  15974. return false;
  15975. }
  15976. labelsInCurrentCommit.add(label);
  15977. var markName = getFiberMarkName(label, debugID);
  15978. beginMark(markName);
  15979. return true;
  15980. };
  15981. var clearFiberMark = function (fiber, phase) {
  15982. var componentName = getComponentName(fiber.type) || 'Unknown';
  15983. var debugID = fiber._debugID;
  15984. var isMounted = fiber.alternate !== null;
  15985. var label = getFiberLabel(componentName, isMounted, phase);
  15986. var markName = getFiberMarkName(label, debugID);
  15987. clearMark(markName);
  15988. };
  15989. var endFiberMark = function (fiber, phase, warning) {
  15990. var componentName = getComponentName(fiber.type) || 'Unknown';
  15991. var debugID = fiber._debugID;
  15992. var isMounted = fiber.alternate !== null;
  15993. var label = getFiberLabel(componentName, isMounted, phase);
  15994. var markName = getFiberMarkName(label, debugID);
  15995. endMark(label, markName, warning);
  15996. };
  15997. var shouldIgnoreFiber = function (fiber) {
  15998. // Host components should be skipped in the timeline.
  15999. // We could check typeof fiber.type, but does this work with RN?
  16000. switch (fiber.tag) {
  16001. case HostRoot:
  16002. case HostComponent:
  16003. case HostText:
  16004. case HostPortal:
  16005. case Fragment:
  16006. case ContextProvider:
  16007. case ContextConsumer:
  16008. case Mode:
  16009. return true;
  16010. default:
  16011. return false;
  16012. }
  16013. };
  16014. var clearPendingPhaseMeasurement = function () {
  16015. if (currentPhase !== null && currentPhaseFiber !== null) {
  16016. clearFiberMark(currentPhaseFiber, currentPhase);
  16017. }
  16018. currentPhaseFiber = null;
  16019. currentPhase = null;
  16020. hasScheduledUpdateInCurrentPhase = false;
  16021. };
  16022. var pauseTimers = function () {
  16023. // Stops all currently active measurements so that they can be resumed
  16024. // if we continue in a later deferred loop from the same unit of work.
  16025. var fiber = currentFiber;
  16026. while (fiber) {
  16027. if (fiber._debugIsCurrentlyTiming) {
  16028. endFiberMark(fiber, null, null);
  16029. }
  16030. fiber = fiber.return;
  16031. }
  16032. };
  16033. var resumeTimersRecursively = function (fiber) {
  16034. if (fiber.return !== null) {
  16035. resumeTimersRecursively(fiber.return);
  16036. }
  16037. if (fiber._debugIsCurrentlyTiming) {
  16038. beginFiberMark(fiber, null);
  16039. }
  16040. };
  16041. var resumeTimers = function () {
  16042. // Resumes all measurements that were active during the last deferred loop.
  16043. if (currentFiber !== null) {
  16044. resumeTimersRecursively(currentFiber);
  16045. }
  16046. };
  16047. function recordEffect() {
  16048. if (enableUserTimingAPI) {
  16049. effectCountInCurrentCommit++;
  16050. }
  16051. }
  16052. function recordScheduleUpdate() {
  16053. if (enableUserTimingAPI) {
  16054. if (isCommitting) {
  16055. hasScheduledUpdateInCurrentCommit = true;
  16056. }
  16057. if (currentPhase !== null && currentPhase !== 'componentWillMount' && currentPhase !== 'componentWillReceiveProps') {
  16058. hasScheduledUpdateInCurrentPhase = true;
  16059. }
  16060. }
  16061. }
  16062. function startRequestCallbackTimer() {
  16063. if (enableUserTimingAPI) {
  16064. if (supportsUserTiming && !isWaitingForCallback) {
  16065. isWaitingForCallback = true;
  16066. beginMark('(Waiting for async callback...)');
  16067. }
  16068. }
  16069. }
  16070. function stopRequestCallbackTimer(didExpire, expirationTime) {
  16071. if (enableUserTimingAPI) {
  16072. if (supportsUserTiming) {
  16073. isWaitingForCallback = false;
  16074. var warning = didExpire ? 'React was blocked by main thread' : null;
  16075. endMark('(Waiting for async callback... will force flush in ' + expirationTime + ' ms)', '(Waiting for async callback...)', warning);
  16076. }
  16077. }
  16078. }
  16079. function startWorkTimer(fiber) {
  16080. if (enableUserTimingAPI) {
  16081. if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
  16082. return;
  16083. }
  16084. // If we pause, this is the fiber to unwind from.
  16085. currentFiber = fiber;
  16086. if (!beginFiberMark(fiber, null)) {
  16087. return;
  16088. }
  16089. fiber._debugIsCurrentlyTiming = true;
  16090. }
  16091. }
  16092. function cancelWorkTimer(fiber) {
  16093. if (enableUserTimingAPI) {
  16094. if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
  16095. return;
  16096. }
  16097. // Remember we shouldn't complete measurement for this fiber.
  16098. // Otherwise flamechart will be deep even for small updates.
  16099. fiber._debugIsCurrentlyTiming = false;
  16100. clearFiberMark(fiber, null);
  16101. }
  16102. }
  16103. function stopWorkTimer(fiber) {
  16104. if (enableUserTimingAPI) {
  16105. if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
  16106. return;
  16107. }
  16108. // If we pause, its parent is the fiber to unwind from.
  16109. currentFiber = fiber.return;
  16110. if (!fiber._debugIsCurrentlyTiming) {
  16111. return;
  16112. }
  16113. fiber._debugIsCurrentlyTiming = false;
  16114. endFiberMark(fiber, null, null);
  16115. }
  16116. }
  16117. function stopFailedWorkTimer(fiber) {
  16118. if (enableUserTimingAPI) {
  16119. if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
  16120. return;
  16121. }
  16122. // If we pause, its parent is the fiber to unwind from.
  16123. currentFiber = fiber.return;
  16124. if (!fiber._debugIsCurrentlyTiming) {
  16125. return;
  16126. }
  16127. fiber._debugIsCurrentlyTiming = false;
  16128. var warning = fiber.tag === SuspenseComponent ? 'Rendering was suspended' : 'An error was thrown inside this error boundary';
  16129. endFiberMark(fiber, null, warning);
  16130. }
  16131. }
  16132. function startPhaseTimer(fiber, phase) {
  16133. if (enableUserTimingAPI) {
  16134. if (!supportsUserTiming) {
  16135. return;
  16136. }
  16137. clearPendingPhaseMeasurement();
  16138. if (!beginFiberMark(fiber, phase)) {
  16139. return;
  16140. }
  16141. currentPhaseFiber = fiber;
  16142. currentPhase = phase;
  16143. }
  16144. }
  16145. function stopPhaseTimer() {
  16146. if (enableUserTimingAPI) {
  16147. if (!supportsUserTiming) {
  16148. return;
  16149. }
  16150. if (currentPhase !== null && currentPhaseFiber !== null) {
  16151. var warning = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
  16152. endFiberMark(currentPhaseFiber, currentPhase, warning);
  16153. }
  16154. currentPhase = null;
  16155. currentPhaseFiber = null;
  16156. }
  16157. }
  16158. function startWorkLoopTimer(nextUnitOfWork) {
  16159. if (enableUserTimingAPI) {
  16160. currentFiber = nextUnitOfWork;
  16161. if (!supportsUserTiming) {
  16162. return;
  16163. }
  16164. commitCountInCurrentWorkLoop = 0;
  16165. // This is top level call.
  16166. // Any other measurements are performed within.
  16167. beginMark('(React Tree Reconciliation)');
  16168. // Resume any measurements that were in progress during the last loop.
  16169. resumeTimers();
  16170. }
  16171. }
  16172. function stopWorkLoopTimer(interruptedBy, didCompleteRoot) {
  16173. if (enableUserTimingAPI) {
  16174. if (!supportsUserTiming) {
  16175. return;
  16176. }
  16177. var warning = null;
  16178. if (interruptedBy !== null) {
  16179. if (interruptedBy.tag === HostRoot) {
  16180. warning = 'A top-level update interrupted the previous render';
  16181. } else {
  16182. var componentName = getComponentName(interruptedBy.type) || 'Unknown';
  16183. warning = 'An update to ' + componentName + ' interrupted the previous render';
  16184. }
  16185. } else if (commitCountInCurrentWorkLoop > 1) {
  16186. warning = 'There were cascading updates';
  16187. }
  16188. commitCountInCurrentWorkLoop = 0;
  16189. var label = didCompleteRoot ? '(React Tree Reconciliation: Completed Root)' : '(React Tree Reconciliation: Yielded)';
  16190. // Pause any measurements until the next loop.
  16191. pauseTimers();
  16192. endMark(label, '(React Tree Reconciliation)', warning);
  16193. }
  16194. }
  16195. function startCommitTimer() {
  16196. if (enableUserTimingAPI) {
  16197. if (!supportsUserTiming) {
  16198. return;
  16199. }
  16200. isCommitting = true;
  16201. hasScheduledUpdateInCurrentCommit = false;
  16202. labelsInCurrentCommit.clear();
  16203. beginMark('(Committing Changes)');
  16204. }
  16205. }
  16206. function stopCommitTimer() {
  16207. if (enableUserTimingAPI) {
  16208. if (!supportsUserTiming) {
  16209. return;
  16210. }
  16211. var warning = null;
  16212. if (hasScheduledUpdateInCurrentCommit) {
  16213. warning = 'Lifecycle hook scheduled a cascading update';
  16214. } else if (commitCountInCurrentWorkLoop > 0) {
  16215. warning = 'Caused by a cascading update in earlier commit';
  16216. }
  16217. hasScheduledUpdateInCurrentCommit = false;
  16218. commitCountInCurrentWorkLoop++;
  16219. isCommitting = false;
  16220. labelsInCurrentCommit.clear();
  16221. endMark('(Committing Changes)', '(Committing Changes)', warning);
  16222. }
  16223. }
  16224. function startCommitSnapshotEffectsTimer() {
  16225. if (enableUserTimingAPI) {
  16226. if (!supportsUserTiming) {
  16227. return;
  16228. }
  16229. effectCountInCurrentCommit = 0;
  16230. beginMark('(Committing Snapshot Effects)');
  16231. }
  16232. }
  16233. function stopCommitSnapshotEffectsTimer() {
  16234. if (enableUserTimingAPI) {
  16235. if (!supportsUserTiming) {
  16236. return;
  16237. }
  16238. var count = effectCountInCurrentCommit;
  16239. effectCountInCurrentCommit = 0;
  16240. endMark('(Committing Snapshot Effects: ' + count + ' Total)', '(Committing Snapshot Effects)', null);
  16241. }
  16242. }
  16243. function startCommitHostEffectsTimer() {
  16244. if (enableUserTimingAPI) {
  16245. if (!supportsUserTiming) {
  16246. return;
  16247. }
  16248. effectCountInCurrentCommit = 0;
  16249. beginMark('(Committing Host Effects)');
  16250. }
  16251. }
  16252. function stopCommitHostEffectsTimer() {
  16253. if (enableUserTimingAPI) {
  16254. if (!supportsUserTiming) {
  16255. return;
  16256. }
  16257. var count = effectCountInCurrentCommit;
  16258. effectCountInCurrentCommit = 0;
  16259. endMark('(Committing Host Effects: ' + count + ' Total)', '(Committing Host Effects)', null);
  16260. }
  16261. }
  16262. function startCommitLifeCyclesTimer() {
  16263. if (enableUserTimingAPI) {
  16264. if (!supportsUserTiming) {
  16265. return;
  16266. }
  16267. effectCountInCurrentCommit = 0;
  16268. beginMark('(Calling Lifecycle Methods)');
  16269. }
  16270. }
  16271. function stopCommitLifeCyclesTimer() {
  16272. if (enableUserTimingAPI) {
  16273. if (!supportsUserTiming) {
  16274. return;
  16275. }
  16276. var count = effectCountInCurrentCommit;
  16277. effectCountInCurrentCommit = 0;
  16278. endMark('(Calling Lifecycle Methods: ' + count + ' Total)', '(Calling Lifecycle Methods)', null);
  16279. }
  16280. }
  16281. var valueStack = [];
  16282. var fiberStack = void 0;
  16283. {
  16284. fiberStack = [];
  16285. }
  16286. var index = -1;
  16287. function createCursor(defaultValue) {
  16288. return {
  16289. current: defaultValue
  16290. };
  16291. }
  16292. function pop(cursor, fiber) {
  16293. if (index < 0) {
  16294. {
  16295. warningWithoutStack$1(false, 'Unexpected pop.');
  16296. }
  16297. return;
  16298. }
  16299. {
  16300. if (fiber !== fiberStack[index]) {
  16301. warningWithoutStack$1(false, 'Unexpected Fiber popped.');
  16302. }
  16303. }
  16304. cursor.current = valueStack[index];
  16305. valueStack[index] = null;
  16306. {
  16307. fiberStack[index] = null;
  16308. }
  16309. index--;
  16310. }
  16311. function push(cursor, value, fiber) {
  16312. index++;
  16313. valueStack[index] = cursor.current;
  16314. {
  16315. fiberStack[index] = fiber;
  16316. }
  16317. cursor.current = value;
  16318. }
  16319. function checkThatStackIsEmpty() {
  16320. {
  16321. if (index !== -1) {
  16322. warningWithoutStack$1(false, 'Expected an empty stack. Something was not reset properly.');
  16323. }
  16324. }
  16325. }
  16326. function resetStackAfterFatalErrorInDev() {
  16327. {
  16328. index = -1;
  16329. valueStack.length = 0;
  16330. fiberStack.length = 0;
  16331. }
  16332. }
  16333. var warnedAboutMissingGetChildContext = void 0;
  16334. {
  16335. warnedAboutMissingGetChildContext = {};
  16336. }
  16337. var emptyContextObject = {};
  16338. {
  16339. Object.freeze(emptyContextObject);
  16340. }
  16341. // A cursor to the current merged context object on the stack.
  16342. var contextStackCursor = createCursor(emptyContextObject);
  16343. // A cursor to a boolean indicating whether the context has changed.
  16344. var didPerformWorkStackCursor = createCursor(false);
  16345. // Keep track of the previous context object that was on the stack.
  16346. // We use this to get access to the parent context after we have already
  16347. // pushed the next context provider, and now need to merge their contexts.
  16348. var previousContext = emptyContextObject;
  16349. function getUnmaskedContext(workInProgress, Component, didPushOwnContextIfProvider) {
  16350. if (didPushOwnContextIfProvider && isContextProvider(Component)) {
  16351. // If the fiber is a context provider itself, when we read its context
  16352. // we may have already pushed its own child context on the stack. A context
  16353. // provider should not "see" its own child context. Therefore we read the
  16354. // previous (parent) context instead for a context provider.
  16355. return previousContext;
  16356. }
  16357. return contextStackCursor.current;
  16358. }
  16359. function cacheContext(workInProgress, unmaskedContext, maskedContext) {
  16360. var instance = workInProgress.stateNode;
  16361. instance.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext;
  16362. instance.__reactInternalMemoizedMaskedChildContext = maskedContext;
  16363. }
  16364. function getMaskedContext(workInProgress, unmaskedContext) {
  16365. var type = workInProgress.type;
  16366. var contextTypes = type.contextTypes;
  16367. if (!contextTypes) {
  16368. return emptyContextObject;
  16369. }
  16370. // Avoid recreating masked context unless unmasked context has changed.
  16371. // Failing to do this will result in unnecessary calls to componentWillReceiveProps.
  16372. // This may trigger infinite loops if componentWillReceiveProps calls setState.
  16373. var instance = workInProgress.stateNode;
  16374. if (instance && instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext) {
  16375. return instance.__reactInternalMemoizedMaskedChildContext;
  16376. }
  16377. var context = {};
  16378. for (var key in contextTypes) {
  16379. context[key] = unmaskedContext[key];
  16380. }
  16381. {
  16382. var name = getComponentName(type) || 'Unknown';
  16383. checkPropTypes(contextTypes, context, 'context', name, getCurrentFiberStackInDev);
  16384. }
  16385. // Cache unmasked context so we can avoid recreating masked context unless necessary.
  16386. // Context is created before the class component is instantiated so check for instance.
  16387. if (instance) {
  16388. cacheContext(workInProgress, unmaskedContext, context);
  16389. }
  16390. return context;
  16391. }
  16392. function hasContextChanged() {
  16393. return didPerformWorkStackCursor.current;
  16394. }
  16395. function isContextProvider(type) {
  16396. var childContextTypes = type.childContextTypes;
  16397. return childContextTypes !== null && childContextTypes !== undefined;
  16398. }
  16399. function popContext(fiber) {
  16400. pop(didPerformWorkStackCursor, fiber);
  16401. pop(contextStackCursor, fiber);
  16402. }
  16403. function popTopLevelContextObject(fiber) {
  16404. pop(didPerformWorkStackCursor, fiber);
  16405. pop(contextStackCursor, fiber);
  16406. }
  16407. function pushTopLevelContextObject(fiber, context, didChange) {
  16408. !(contextStackCursor.current === emptyContextObject) ? invariant(false, 'Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  16409. push(contextStackCursor, context, fiber);
  16410. push(didPerformWorkStackCursor, didChange, fiber);
  16411. }
  16412. function processChildContext(fiber, type, parentContext) {
  16413. var instance = fiber.stateNode;
  16414. var childContextTypes = type.childContextTypes;
  16415. // TODO (bvaughn) Replace this behavior with an invariant() in the future.
  16416. // It has only been added in Fiber to match the (unintentional) behavior in Stack.
  16417. if (typeof instance.getChildContext !== 'function') {
  16418. {
  16419. var componentName = getComponentName(type) || 'Unknown';
  16420. if (!warnedAboutMissingGetChildContext[componentName]) {
  16421. warnedAboutMissingGetChildContext[componentName] = true;
  16422. warningWithoutStack$1(false, '%s.childContextTypes is specified but there is no getChildContext() method ' + 'on the instance. You can either define getChildContext() on %s or remove ' + 'childContextTypes from it.', componentName, componentName);
  16423. }
  16424. }
  16425. return parentContext;
  16426. }
  16427. var childContext = void 0;
  16428. {
  16429. setCurrentPhase('getChildContext');
  16430. }
  16431. startPhaseTimer(fiber, 'getChildContext');
  16432. childContext = instance.getChildContext();
  16433. stopPhaseTimer();
  16434. {
  16435. setCurrentPhase(null);
  16436. }
  16437. for (var contextKey in childContext) {
  16438. !(contextKey in childContextTypes) ? invariant(false, '%s.getChildContext(): key "%s" is not defined in childContextTypes.', getComponentName(type) || 'Unknown', contextKey) : void 0;
  16439. }
  16440. {
  16441. var name = getComponentName(type) || 'Unknown';
  16442. checkPropTypes(childContextTypes, childContext, 'child context', name,
  16443. // In practice, there is one case in which we won't get a stack. It's when
  16444. // somebody calls unstable_renderSubtreeIntoContainer() and we process
  16445. // context from the parent component instance. The stack will be missing
  16446. // because it's outside of the reconciliation, and so the pointer has not
  16447. // been set. This is rare and doesn't matter. We'll also remove that API.
  16448. getCurrentFiberStackInDev);
  16449. }
  16450. return _assign({}, parentContext, childContext);
  16451. }
  16452. function pushContextProvider(workInProgress) {
  16453. var instance = workInProgress.stateNode;
  16454. // We push the context as early as possible to ensure stack integrity.
  16455. // If the instance does not exist yet, we will push null at first,
  16456. // and replace it on the stack later when invalidating the context.
  16457. var memoizedMergedChildContext = instance && instance.__reactInternalMemoizedMergedChildContext || emptyContextObject;
  16458. // Remember the parent context so we can merge with it later.
  16459. // Inherit the parent's did-perform-work value to avoid inadvertently blocking updates.
  16460. previousContext = contextStackCursor.current;
  16461. push(contextStackCursor, memoizedMergedChildContext, workInProgress);
  16462. push(didPerformWorkStackCursor, didPerformWorkStackCursor.current, workInProgress);
  16463. return true;
  16464. }
  16465. function invalidateContextProvider(workInProgress, type, didChange) {
  16466. var instance = workInProgress.stateNode;
  16467. !instance ? invariant(false, 'Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  16468. if (didChange) {
  16469. // Merge parent and own context.
  16470. // Skip this if we're not updating due to sCU.
  16471. // This avoids unnecessarily recomputing memoized values.
  16472. var mergedContext = processChildContext(workInProgress, type, previousContext);
  16473. instance.__reactInternalMemoizedMergedChildContext = mergedContext;
  16474. // Replace the old (or empty) context with the new one.
  16475. // It is important to unwind the context in the reverse order.
  16476. pop(didPerformWorkStackCursor, workInProgress);
  16477. pop(contextStackCursor, workInProgress);
  16478. // Now push the new context and mark that it has changed.
  16479. push(contextStackCursor, mergedContext, workInProgress);
  16480. push(didPerformWorkStackCursor, didChange, workInProgress);
  16481. } else {
  16482. pop(didPerformWorkStackCursor, workInProgress);
  16483. push(didPerformWorkStackCursor, didChange, workInProgress);
  16484. }
  16485. }
  16486. function findCurrentUnmaskedContext(fiber) {
  16487. // Currently this is only used with renderSubtreeIntoContainer; not sure if it
  16488. // makes sense elsewhere
  16489. !(isFiberMounted(fiber) && fiber.tag === ClassComponent) ? invariant(false, 'Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  16490. var node = fiber;
  16491. do {
  16492. switch (node.tag) {
  16493. case HostRoot:
  16494. return node.stateNode.context;
  16495. case ClassComponent:
  16496. {
  16497. var Component = node.type;
  16498. if (isContextProvider(Component)) {
  16499. return node.stateNode.__reactInternalMemoizedMergedChildContext;
  16500. }
  16501. break;
  16502. }
  16503. }
  16504. node = node.return;
  16505. } while (node !== null);
  16506. invariant(false, 'Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.');
  16507. }
  16508. var onCommitFiberRoot = null;
  16509. var onCommitFiberUnmount = null;
  16510. var hasLoggedError = false;
  16511. function catchErrors(fn) {
  16512. return function (arg) {
  16513. try {
  16514. return fn(arg);
  16515. } catch (err) {
  16516. if ( true && !hasLoggedError) {
  16517. hasLoggedError = true;
  16518. warningWithoutStack$1(false, 'React DevTools encountered an error: %s', err);
  16519. }
  16520. }
  16521. };
  16522. }
  16523. var isDevToolsPresent = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined';
  16524. function injectInternals(internals) {
  16525. if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {
  16526. // No DevTools
  16527. return false;
  16528. }
  16529. var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;
  16530. if (hook.isDisabled) {
  16531. // This isn't a real property on the hook, but it can be set to opt out
  16532. // of DevTools integration and associated warnings and logs.
  16533. // https://github.com/facebook/react/issues/3877
  16534. return true;
  16535. }
  16536. if (!hook.supportsFiber) {
  16537. {
  16538. warningWithoutStack$1(false, 'The installed version of React DevTools is too old and will not work ' + 'with the current version of React. Please update React DevTools. ' + 'https://fb.me/react-devtools');
  16539. }
  16540. // DevTools exists, even though it doesn't support Fiber.
  16541. return true;
  16542. }
  16543. try {
  16544. var rendererID = hook.inject(internals);
  16545. // We have successfully injected, so now it is safe to set up hooks.
  16546. onCommitFiberRoot = catchErrors(function (root) {
  16547. return hook.onCommitFiberRoot(rendererID, root);
  16548. });
  16549. onCommitFiberUnmount = catchErrors(function (fiber) {
  16550. return hook.onCommitFiberUnmount(rendererID, fiber);
  16551. });
  16552. } catch (err) {
  16553. // Catch all errors because it is unsafe to throw during initialization.
  16554. {
  16555. warningWithoutStack$1(false, 'React DevTools encountered an error: %s.', err);
  16556. }
  16557. }
  16558. // DevTools exists
  16559. return true;
  16560. }
  16561. function onCommitRoot(root) {
  16562. if (typeof onCommitFiberRoot === 'function') {
  16563. onCommitFiberRoot(root);
  16564. }
  16565. }
  16566. function onCommitUnmount(fiber) {
  16567. if (typeof onCommitFiberUnmount === 'function') {
  16568. onCommitFiberUnmount(fiber);
  16569. }
  16570. }
  16571. // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
  16572. // Math.pow(2, 30) - 1
  16573. // 0b111111111111111111111111111111
  16574. var maxSigned31BitInt = 1073741823;
  16575. var NoWork = 0;
  16576. var Never = 1;
  16577. var Sync = maxSigned31BitInt;
  16578. var UNIT_SIZE = 10;
  16579. var MAGIC_NUMBER_OFFSET = maxSigned31BitInt - 1;
  16580. // 1 unit of expiration time represents 10ms.
  16581. function msToExpirationTime(ms) {
  16582. // Always add an offset so that we don't clash with the magic number for NoWork.
  16583. return MAGIC_NUMBER_OFFSET - (ms / UNIT_SIZE | 0);
  16584. }
  16585. function expirationTimeToMs(expirationTime) {
  16586. return (MAGIC_NUMBER_OFFSET - expirationTime) * UNIT_SIZE;
  16587. }
  16588. function ceiling(num, precision) {
  16589. return ((num / precision | 0) + 1) * precision;
  16590. }
  16591. function computeExpirationBucket(currentTime, expirationInMs, bucketSizeMs) {
  16592. return MAGIC_NUMBER_OFFSET - ceiling(MAGIC_NUMBER_OFFSET - currentTime + expirationInMs / UNIT_SIZE, bucketSizeMs / UNIT_SIZE);
  16593. }
  16594. var LOW_PRIORITY_EXPIRATION = 5000;
  16595. var LOW_PRIORITY_BATCH_SIZE = 250;
  16596. function computeAsyncExpiration(currentTime) {
  16597. return computeExpirationBucket(currentTime, LOW_PRIORITY_EXPIRATION, LOW_PRIORITY_BATCH_SIZE);
  16598. }
  16599. // We intentionally set a higher expiration time for interactive updates in
  16600. // dev than in production.
  16601. //
  16602. // If the main thread is being blocked so long that you hit the expiration,
  16603. // it's a problem that could be solved with better scheduling.
  16604. //
  16605. // People will be more likely to notice this and fix it with the long
  16606. // expiration time in development.
  16607. //
  16608. // In production we opt for better UX at the risk of masking scheduling
  16609. // problems, by expiring fast.
  16610. var HIGH_PRIORITY_EXPIRATION = 500;
  16611. var HIGH_PRIORITY_BATCH_SIZE = 100;
  16612. function computeInteractiveExpiration(currentTime) {
  16613. return computeExpirationBucket(currentTime, HIGH_PRIORITY_EXPIRATION, HIGH_PRIORITY_BATCH_SIZE);
  16614. }
  16615. var NoContext = 0;
  16616. var ConcurrentMode = 1;
  16617. var StrictMode = 2;
  16618. var ProfileMode = 4;
  16619. var hasBadMapPolyfill = void 0;
  16620. {
  16621. hasBadMapPolyfill = false;
  16622. try {
  16623. var nonExtensibleObject = Object.preventExtensions({});
  16624. var testMap = new Map([[nonExtensibleObject, null]]);
  16625. var testSet = new Set([nonExtensibleObject]);
  16626. // This is necessary for Rollup to not consider these unused.
  16627. // https://github.com/rollup/rollup/issues/1771
  16628. // TODO: we can remove these if Rollup fixes the bug.
  16629. testMap.set(0, 0);
  16630. testSet.add(0);
  16631. } catch (e) {
  16632. // TODO: Consider warning about bad polyfills
  16633. hasBadMapPolyfill = true;
  16634. }
  16635. }
  16636. // A Fiber is work on a Component that needs to be done or was done. There can
  16637. // be more than one per component.
  16638. var debugCounter = void 0;
  16639. {
  16640. debugCounter = 1;
  16641. }
  16642. function FiberNode(tag, pendingProps, key, mode) {
  16643. // Instance
  16644. this.tag = tag;
  16645. this.key = key;
  16646. this.elementType = null;
  16647. this.type = null;
  16648. this.stateNode = null;
  16649. // Fiber
  16650. this.return = null;
  16651. this.child = null;
  16652. this.sibling = null;
  16653. this.index = 0;
  16654. this.ref = null;
  16655. this.pendingProps = pendingProps;
  16656. this.memoizedProps = null;
  16657. this.updateQueue = null;
  16658. this.memoizedState = null;
  16659. this.firstContextDependency = null;
  16660. this.mode = mode;
  16661. // Effects
  16662. this.effectTag = NoEffect;
  16663. this.nextEffect = null;
  16664. this.firstEffect = null;
  16665. this.lastEffect = null;
  16666. this.expirationTime = NoWork;
  16667. this.childExpirationTime = NoWork;
  16668. this.alternate = null;
  16669. if (enableProfilerTimer) {
  16670. this.actualDuration = 0;
  16671. this.actualStartTime = -1;
  16672. this.selfBaseDuration = 0;
  16673. this.treeBaseDuration = 0;
  16674. }
  16675. {
  16676. this._debugID = debugCounter++;
  16677. this._debugSource = null;
  16678. this._debugOwner = null;
  16679. this._debugIsCurrentlyTiming = false;
  16680. if (!hasBadMapPolyfill && typeof Object.preventExtensions === 'function') {
  16681. Object.preventExtensions(this);
  16682. }
  16683. }
  16684. }
  16685. // This is a constructor function, rather than a POJO constructor, still
  16686. // please ensure we do the following:
  16687. // 1) Nobody should add any instance methods on this. Instance methods can be
  16688. // more difficult to predict when they get optimized and they are almost
  16689. // never inlined properly in static compilers.
  16690. // 2) Nobody should rely on `instanceof Fiber` for type testing. We should
  16691. // always know when it is a fiber.
  16692. // 3) We might want to experiment with using numeric keys since they are easier
  16693. // to optimize in a non-JIT environment.
  16694. // 4) We can easily go from a constructor to a createFiber object literal if that
  16695. // is faster.
  16696. // 5) It should be easy to port this to a C struct and keep a C implementation
  16697. // compatible.
  16698. var createFiber = function (tag, pendingProps, key, mode) {
  16699. // $FlowFixMe: the shapes are exact here but Flow doesn't like constructors
  16700. return new FiberNode(tag, pendingProps, key, mode);
  16701. };
  16702. function shouldConstruct(Component) {
  16703. var prototype = Component.prototype;
  16704. return !!(prototype && prototype.isReactComponent);
  16705. }
  16706. function isSimpleFunctionComponent(type) {
  16707. return typeof type === 'function' && !shouldConstruct(type) && type.defaultProps === undefined;
  16708. }
  16709. function resolveLazyComponentTag(Component) {
  16710. if (typeof Component === 'function') {
  16711. return shouldConstruct(Component) ? ClassComponent : FunctionComponent;
  16712. } else if (Component !== undefined && Component !== null) {
  16713. var $$typeof = Component.$$typeof;
  16714. if ($$typeof === REACT_FORWARD_REF_TYPE) {
  16715. return ForwardRef;
  16716. }
  16717. if ($$typeof === REACT_MEMO_TYPE) {
  16718. return MemoComponent;
  16719. }
  16720. }
  16721. return IndeterminateComponent;
  16722. }
  16723. // This is used to create an alternate fiber to do work on.
  16724. function createWorkInProgress(current, pendingProps, expirationTime) {
  16725. var workInProgress = current.alternate;
  16726. if (workInProgress === null) {
  16727. // We use a double buffering pooling technique because we know that we'll
  16728. // only ever need at most two versions of a tree. We pool the "other" unused
  16729. // node that we're free to reuse. This is lazily created to avoid allocating
  16730. // extra objects for things that are never updated. It also allow us to
  16731. // reclaim the extra memory if needed.
  16732. workInProgress = createFiber(current.tag, pendingProps, current.key, current.mode);
  16733. workInProgress.elementType = current.elementType;
  16734. workInProgress.type = current.type;
  16735. workInProgress.stateNode = current.stateNode;
  16736. {
  16737. // DEV-only fields
  16738. workInProgress._debugID = current._debugID;
  16739. workInProgress._debugSource = current._debugSource;
  16740. workInProgress._debugOwner = current._debugOwner;
  16741. }
  16742. workInProgress.alternate = current;
  16743. current.alternate = workInProgress;
  16744. } else {
  16745. workInProgress.pendingProps = pendingProps;
  16746. // We already have an alternate.
  16747. // Reset the effect tag.
  16748. workInProgress.effectTag = NoEffect;
  16749. // The effect list is no longer valid.
  16750. workInProgress.nextEffect = null;
  16751. workInProgress.firstEffect = null;
  16752. workInProgress.lastEffect = null;
  16753. if (enableProfilerTimer) {
  16754. // We intentionally reset, rather than copy, actualDuration & actualStartTime.
  16755. // This prevents time from endlessly accumulating in new commits.
  16756. // This has the downside of resetting values for different priority renders,
  16757. // But works for yielding (the common case) and should support resuming.
  16758. workInProgress.actualDuration = 0;
  16759. workInProgress.actualStartTime = -1;
  16760. }
  16761. }
  16762. workInProgress.childExpirationTime = current.childExpirationTime;
  16763. workInProgress.expirationTime = current.expirationTime;
  16764. workInProgress.child = current.child;
  16765. workInProgress.memoizedProps = current.memoizedProps;
  16766. workInProgress.memoizedState = current.memoizedState;
  16767. workInProgress.updateQueue = current.updateQueue;
  16768. workInProgress.firstContextDependency = current.firstContextDependency;
  16769. // These will be overridden during the parent's reconciliation
  16770. workInProgress.sibling = current.sibling;
  16771. workInProgress.index = current.index;
  16772. workInProgress.ref = current.ref;
  16773. if (enableProfilerTimer) {
  16774. workInProgress.selfBaseDuration = current.selfBaseDuration;
  16775. workInProgress.treeBaseDuration = current.treeBaseDuration;
  16776. }
  16777. return workInProgress;
  16778. }
  16779. function createHostRootFiber(isConcurrent) {
  16780. var mode = isConcurrent ? ConcurrentMode | StrictMode : NoContext;
  16781. if (enableProfilerTimer && isDevToolsPresent) {
  16782. // Always collect profile timings when DevTools are present.
  16783. // This enables DevTools to start capturing timing at any point–
  16784. // Without some nodes in the tree having empty base times.
  16785. mode |= ProfileMode;
  16786. }
  16787. return createFiber(HostRoot, null, null, mode);
  16788. }
  16789. function createFiberFromTypeAndProps(type, // React$ElementType
  16790. key, pendingProps, owner, mode, expirationTime) {
  16791. var fiber = void 0;
  16792. var fiberTag = IndeterminateComponent;
  16793. // The resolved type is set if we know what the final type will be. I.e. it's not lazy.
  16794. var resolvedType = type;
  16795. if (typeof type === 'function') {
  16796. if (shouldConstruct(type)) {
  16797. fiberTag = ClassComponent;
  16798. }
  16799. } else if (typeof type === 'string') {
  16800. fiberTag = HostComponent;
  16801. } else {
  16802. getTag: switch (type) {
  16803. case REACT_FRAGMENT_TYPE:
  16804. return createFiberFromFragment(pendingProps.children, mode, expirationTime, key);
  16805. case REACT_CONCURRENT_MODE_TYPE:
  16806. return createFiberFromMode(pendingProps, mode | ConcurrentMode | StrictMode, expirationTime, key);
  16807. case REACT_STRICT_MODE_TYPE:
  16808. return createFiberFromMode(pendingProps, mode | StrictMode, expirationTime, key);
  16809. case REACT_PROFILER_TYPE:
  16810. return createFiberFromProfiler(pendingProps, mode, expirationTime, key);
  16811. case REACT_SUSPENSE_TYPE:
  16812. return createFiberFromSuspense(pendingProps, mode, expirationTime, key);
  16813. default:
  16814. {
  16815. if (typeof type === 'object' && type !== null) {
  16816. switch (type.$$typeof) {
  16817. case REACT_PROVIDER_TYPE:
  16818. fiberTag = ContextProvider;
  16819. break getTag;
  16820. case REACT_CONTEXT_TYPE:
  16821. // This is a consumer
  16822. fiberTag = ContextConsumer;
  16823. break getTag;
  16824. case REACT_FORWARD_REF_TYPE:
  16825. fiberTag = ForwardRef;
  16826. break getTag;
  16827. case REACT_MEMO_TYPE:
  16828. fiberTag = MemoComponent;
  16829. break getTag;
  16830. case REACT_LAZY_TYPE:
  16831. fiberTag = LazyComponent;
  16832. resolvedType = null;
  16833. break getTag;
  16834. }
  16835. }
  16836. var info = '';
  16837. {
  16838. if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
  16839. info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and " + 'named imports.';
  16840. }
  16841. var ownerName = owner ? getComponentName(owner.type) : null;
  16842. if (ownerName) {
  16843. info += '\n\nCheck the render method of `' + ownerName + '`.';
  16844. }
  16845. }
  16846. invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', type == null ? type : typeof type, info);
  16847. }
  16848. }
  16849. }
  16850. fiber = createFiber(fiberTag, pendingProps, key, mode);
  16851. fiber.elementType = type;
  16852. fiber.type = resolvedType;
  16853. fiber.expirationTime = expirationTime;
  16854. return fiber;
  16855. }
  16856. function createFiberFromElement(element, mode, expirationTime) {
  16857. var owner = null;
  16858. {
  16859. owner = element._owner;
  16860. }
  16861. var type = element.type;
  16862. var key = element.key;
  16863. var pendingProps = element.props;
  16864. var fiber = createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, expirationTime);
  16865. {
  16866. fiber._debugSource = element._source;
  16867. fiber._debugOwner = element._owner;
  16868. }
  16869. return fiber;
  16870. }
  16871. function createFiberFromFragment(elements, mode, expirationTime, key) {
  16872. var fiber = createFiber(Fragment, elements, key, mode);
  16873. fiber.expirationTime = expirationTime;
  16874. return fiber;
  16875. }
  16876. function createFiberFromProfiler(pendingProps, mode, expirationTime, key) {
  16877. {
  16878. if (typeof pendingProps.id !== 'string' || typeof pendingProps.onRender !== 'function') {
  16879. warningWithoutStack$1(false, 'Profiler must specify an "id" string and "onRender" function as props');
  16880. }
  16881. }
  16882. var fiber = createFiber(Profiler, pendingProps, key, mode | ProfileMode);
  16883. // TODO: The Profiler fiber shouldn't have a type. It has a tag.
  16884. fiber.elementType = REACT_PROFILER_TYPE;
  16885. fiber.type = REACT_PROFILER_TYPE;
  16886. fiber.expirationTime = expirationTime;
  16887. return fiber;
  16888. }
  16889. function createFiberFromMode(pendingProps, mode, expirationTime, key) {
  16890. var fiber = createFiber(Mode, pendingProps, key, mode);
  16891. // TODO: The Mode fiber shouldn't have a type. It has a tag.
  16892. var type = (mode & ConcurrentMode) === NoContext ? REACT_STRICT_MODE_TYPE : REACT_CONCURRENT_MODE_TYPE;
  16893. fiber.elementType = type;
  16894. fiber.type = type;
  16895. fiber.expirationTime = expirationTime;
  16896. return fiber;
  16897. }
  16898. function createFiberFromSuspense(pendingProps, mode, expirationTime, key) {
  16899. var fiber = createFiber(SuspenseComponent, pendingProps, key, mode);
  16900. // TODO: The SuspenseComponent fiber shouldn't have a type. It has a tag.
  16901. var type = REACT_SUSPENSE_TYPE;
  16902. fiber.elementType = type;
  16903. fiber.type = type;
  16904. fiber.expirationTime = expirationTime;
  16905. return fiber;
  16906. }
  16907. function createFiberFromText(content, mode, expirationTime) {
  16908. var fiber = createFiber(HostText, content, null, mode);
  16909. fiber.expirationTime = expirationTime;
  16910. return fiber;
  16911. }
  16912. function createFiberFromHostInstanceForDeletion() {
  16913. var fiber = createFiber(HostComponent, null, null, NoContext);
  16914. // TODO: These should not need a type.
  16915. fiber.elementType = 'DELETED';
  16916. fiber.type = 'DELETED';
  16917. return fiber;
  16918. }
  16919. function createFiberFromPortal(portal, mode, expirationTime) {
  16920. var pendingProps = portal.children !== null ? portal.children : [];
  16921. var fiber = createFiber(HostPortal, pendingProps, portal.key, mode);
  16922. fiber.expirationTime = expirationTime;
  16923. fiber.stateNode = {
  16924. containerInfo: portal.containerInfo,
  16925. pendingChildren: null, // Used by persistent updates
  16926. implementation: portal.implementation
  16927. };
  16928. return fiber;
  16929. }
  16930. // Used for stashing WIP properties to replay failed work in DEV.
  16931. function assignFiberPropertiesInDEV(target, source) {
  16932. if (target === null) {
  16933. // This Fiber's initial properties will always be overwritten.
  16934. // We only use a Fiber to ensure the same hidden class so DEV isn't slow.
  16935. target = createFiber(IndeterminateComponent, null, null, NoContext);
  16936. }
  16937. // This is intentionally written as a list of all properties.
  16938. // We tried to use Object.assign() instead but this is called in
  16939. // the hottest path, and Object.assign() was too slow:
  16940. // https://github.com/facebook/react/issues/12502
  16941. // This code is DEV-only so size is not a concern.
  16942. target.tag = source.tag;
  16943. target.key = source.key;
  16944. target.elementType = source.elementType;
  16945. target.type = source.type;
  16946. target.stateNode = source.stateNode;
  16947. target.return = source.return;
  16948. target.child = source.child;
  16949. target.sibling = source.sibling;
  16950. target.index = source.index;
  16951. target.ref = source.ref;
  16952. target.pendingProps = source.pendingProps;
  16953. target.memoizedProps = source.memoizedProps;
  16954. target.updateQueue = source.updateQueue;
  16955. target.memoizedState = source.memoizedState;
  16956. target.firstContextDependency = source.firstContextDependency;
  16957. target.mode = source.mode;
  16958. target.effectTag = source.effectTag;
  16959. target.nextEffect = source.nextEffect;
  16960. target.firstEffect = source.firstEffect;
  16961. target.lastEffect = source.lastEffect;
  16962. target.expirationTime = source.expirationTime;
  16963. target.childExpirationTime = source.childExpirationTime;
  16964. target.alternate = source.alternate;
  16965. if (enableProfilerTimer) {
  16966. target.actualDuration = source.actualDuration;
  16967. target.actualStartTime = source.actualStartTime;
  16968. target.selfBaseDuration = source.selfBaseDuration;
  16969. target.treeBaseDuration = source.treeBaseDuration;
  16970. }
  16971. target._debugID = source._debugID;
  16972. target._debugSource = source._debugSource;
  16973. target._debugOwner = source._debugOwner;
  16974. target._debugIsCurrentlyTiming = source._debugIsCurrentlyTiming;
  16975. return target;
  16976. }
  16977. // TODO: This should be lifted into the renderer.
  16978. // The following attributes are only used by interaction tracing builds.
  16979. // They enable interactions to be associated with their async work,
  16980. // And expose interaction metadata to the React DevTools Profiler plugin.
  16981. // Note that these attributes are only defined when the enableSchedulerTracing flag is enabled.
  16982. // Exported FiberRoot type includes all properties,
  16983. // To avoid requiring potentially error-prone :any casts throughout the project.
  16984. // Profiling properties are only safe to access in profiling builds (when enableSchedulerTracing is true).
  16985. // The types are defined separately within this file to ensure they stay in sync.
  16986. // (We don't have to use an inline :any cast when enableSchedulerTracing is disabled.)
  16987. function createFiberRoot(containerInfo, isConcurrent, hydrate) {
  16988. // Cyclic construction. This cheats the type system right now because
  16989. // stateNode is any.
  16990. var uninitializedFiber = createHostRootFiber(isConcurrent);
  16991. var root = void 0;
  16992. if (enableSchedulerTracing) {
  16993. root = {
  16994. current: uninitializedFiber,
  16995. containerInfo: containerInfo,
  16996. pendingChildren: null,
  16997. earliestPendingTime: NoWork,
  16998. latestPendingTime: NoWork,
  16999. earliestSuspendedTime: NoWork,
  17000. latestSuspendedTime: NoWork,
  17001. latestPingedTime: NoWork,
  17002. didError: false,
  17003. pendingCommitExpirationTime: NoWork,
  17004. finishedWork: null,
  17005. timeoutHandle: noTimeout,
  17006. context: null,
  17007. pendingContext: null,
  17008. hydrate: hydrate,
  17009. nextExpirationTimeToWorkOn: NoWork,
  17010. expirationTime: NoWork,
  17011. firstBatch: null,
  17012. nextScheduledRoot: null,
  17013. interactionThreadID: tracing.unstable_getThreadID(),
  17014. memoizedInteractions: new Set(),
  17015. pendingInteractionMap: new Map()
  17016. };
  17017. } else {
  17018. root = {
  17019. current: uninitializedFiber,
  17020. containerInfo: containerInfo,
  17021. pendingChildren: null,
  17022. earliestPendingTime: NoWork,
  17023. latestPendingTime: NoWork,
  17024. earliestSuspendedTime: NoWork,
  17025. latestSuspendedTime: NoWork,
  17026. latestPingedTime: NoWork,
  17027. didError: false,
  17028. pendingCommitExpirationTime: NoWork,
  17029. finishedWork: null,
  17030. timeoutHandle: noTimeout,
  17031. context: null,
  17032. pendingContext: null,
  17033. hydrate: hydrate,
  17034. nextExpirationTimeToWorkOn: NoWork,
  17035. expirationTime: NoWork,
  17036. firstBatch: null,
  17037. nextScheduledRoot: null
  17038. };
  17039. }
  17040. uninitializedFiber.stateNode = root;
  17041. // The reason for the way the Flow types are structured in this file,
  17042. // Is to avoid needing :any casts everywhere interaction tracing fields are used.
  17043. // Unfortunately that requires an :any cast for non-interaction tracing capable builds.
  17044. // $FlowFixMe Remove this :any cast and replace it with something better.
  17045. return root;
  17046. }
  17047. /**
  17048. * Forked from fbjs/warning:
  17049. * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
  17050. *
  17051. * Only change is we use console.warn instead of console.error,
  17052. * and do nothing when 'console' is not supported.
  17053. * This really simplifies the code.
  17054. * ---
  17055. * Similar to invariant but only logs a warning if the condition is not met.
  17056. * This can be used to log issues in development environments in critical
  17057. * paths. Removing the logging code for production environments will keep the
  17058. * same logic and follow the same code paths.
  17059. */
  17060. var lowPriorityWarning = function () {};
  17061. {
  17062. var printWarning = function (format) {
  17063. for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  17064. args[_key - 1] = arguments[_key];
  17065. }
  17066. var argIndex = 0;
  17067. var message = 'Warning: ' + format.replace(/%s/g, function () {
  17068. return args[argIndex++];
  17069. });
  17070. if (typeof console !== 'undefined') {
  17071. console.warn(message);
  17072. }
  17073. try {
  17074. // --- Welcome to debugging React ---
  17075. // This error was thrown as a convenience so that you can use this stack
  17076. // to find the callsite that caused this warning to fire.
  17077. throw new Error(message);
  17078. } catch (x) {}
  17079. };
  17080. lowPriorityWarning = function (condition, format) {
  17081. if (format === undefined) {
  17082. throw new Error('`lowPriorityWarning(condition, format, ...args)` requires a warning ' + 'message argument');
  17083. }
  17084. if (!condition) {
  17085. for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
  17086. args[_key2 - 2] = arguments[_key2];
  17087. }
  17088. printWarning.apply(undefined, [format].concat(args));
  17089. }
  17090. };
  17091. }
  17092. var lowPriorityWarning$1 = lowPriorityWarning;
  17093. var ReactStrictModeWarnings = {
  17094. discardPendingWarnings: function () {},
  17095. flushPendingDeprecationWarnings: function () {},
  17096. flushPendingUnsafeLifecycleWarnings: function () {},
  17097. recordDeprecationWarnings: function (fiber, instance) {},
  17098. recordUnsafeLifecycleWarnings: function (fiber, instance) {},
  17099. recordLegacyContextWarning: function (fiber, instance) {},
  17100. flushLegacyContextWarning: function () {}
  17101. };
  17102. {
  17103. var LIFECYCLE_SUGGESTIONS = {
  17104. UNSAFE_componentWillMount: 'componentDidMount',
  17105. UNSAFE_componentWillReceiveProps: 'static getDerivedStateFromProps',
  17106. UNSAFE_componentWillUpdate: 'componentDidUpdate'
  17107. };
  17108. var pendingComponentWillMountWarnings = [];
  17109. var pendingComponentWillReceivePropsWarnings = [];
  17110. var pendingComponentWillUpdateWarnings = [];
  17111. var pendingUnsafeLifecycleWarnings = new Map();
  17112. var pendingLegacyContextWarning = new Map();
  17113. // Tracks components we have already warned about.
  17114. var didWarnAboutDeprecatedLifecycles = new Set();
  17115. var didWarnAboutUnsafeLifecycles = new Set();
  17116. var didWarnAboutLegacyContext = new Set();
  17117. var setToSortedString = function (set) {
  17118. var array = [];
  17119. set.forEach(function (value) {
  17120. array.push(value);
  17121. });
  17122. return array.sort().join(', ');
  17123. };
  17124. ReactStrictModeWarnings.discardPendingWarnings = function () {
  17125. pendingComponentWillMountWarnings = [];
  17126. pendingComponentWillReceivePropsWarnings = [];
  17127. pendingComponentWillUpdateWarnings = [];
  17128. pendingUnsafeLifecycleWarnings = new Map();
  17129. pendingLegacyContextWarning = new Map();
  17130. };
  17131. ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings = function () {
  17132. pendingUnsafeLifecycleWarnings.forEach(function (lifecycleWarningsMap, strictRoot) {
  17133. var lifecyclesWarningMesages = [];
  17134. Object.keys(lifecycleWarningsMap).forEach(function (lifecycle) {
  17135. var lifecycleWarnings = lifecycleWarningsMap[lifecycle];
  17136. if (lifecycleWarnings.length > 0) {
  17137. var componentNames = new Set();
  17138. lifecycleWarnings.forEach(function (fiber) {
  17139. componentNames.add(getComponentName(fiber.type) || 'Component');
  17140. didWarnAboutUnsafeLifecycles.add(fiber.type);
  17141. });
  17142. var formatted = lifecycle.replace('UNSAFE_', '');
  17143. var suggestion = LIFECYCLE_SUGGESTIONS[lifecycle];
  17144. var sortedComponentNames = setToSortedString(componentNames);
  17145. lifecyclesWarningMesages.push(formatted + ': Please update the following components to use ' + (suggestion + ' instead: ' + sortedComponentNames));
  17146. }
  17147. });
  17148. if (lifecyclesWarningMesages.length > 0) {
  17149. var strictRootComponentStack = getStackByFiberInDevAndProd(strictRoot);
  17150. warningWithoutStack$1(false, 'Unsafe lifecycle methods were found within a strict-mode tree:%s' + '\n\n%s' + '\n\nLearn more about this warning here:' + '\nhttps://fb.me/react-strict-mode-warnings', strictRootComponentStack, lifecyclesWarningMesages.join('\n\n'));
  17151. }
  17152. });
  17153. pendingUnsafeLifecycleWarnings = new Map();
  17154. };
  17155. var findStrictRoot = function (fiber) {
  17156. var maybeStrictRoot = null;
  17157. var node = fiber;
  17158. while (node !== null) {
  17159. if (node.mode & StrictMode) {
  17160. maybeStrictRoot = node;
  17161. }
  17162. node = node.return;
  17163. }
  17164. return maybeStrictRoot;
  17165. };
  17166. ReactStrictModeWarnings.flushPendingDeprecationWarnings = function () {
  17167. if (pendingComponentWillMountWarnings.length > 0) {
  17168. var uniqueNames = new Set();
  17169. pendingComponentWillMountWarnings.forEach(function (fiber) {
  17170. uniqueNames.add(getComponentName(fiber.type) || 'Component');
  17171. didWarnAboutDeprecatedLifecycles.add(fiber.type);
  17172. });
  17173. var sortedNames = setToSortedString(uniqueNames);
  17174. lowPriorityWarning$1(false, 'componentWillMount is deprecated and will be removed in the next major version. ' + 'Use componentDidMount instead. As a temporary workaround, ' + 'you can rename to UNSAFE_componentWillMount.' + '\n\nPlease update the following components: %s' + '\n\nLearn more about this warning here:' + '\nhttps://fb.me/react-async-component-lifecycle-hooks', sortedNames);
  17175. pendingComponentWillMountWarnings = [];
  17176. }
  17177. if (pendingComponentWillReceivePropsWarnings.length > 0) {
  17178. var _uniqueNames = new Set();
  17179. pendingComponentWillReceivePropsWarnings.forEach(function (fiber) {
  17180. _uniqueNames.add(getComponentName(fiber.type) || 'Component');
  17181. didWarnAboutDeprecatedLifecycles.add(fiber.type);
  17182. });
  17183. var _sortedNames = setToSortedString(_uniqueNames);
  17184. lowPriorityWarning$1(false, 'componentWillReceiveProps is deprecated and will be removed in the next major version. ' + 'Use static getDerivedStateFromProps instead.' + '\n\nPlease update the following components: %s' + '\n\nLearn more about this warning here:' + '\nhttps://fb.me/react-async-component-lifecycle-hooks', _sortedNames);
  17185. pendingComponentWillReceivePropsWarnings = [];
  17186. }
  17187. if (pendingComponentWillUpdateWarnings.length > 0) {
  17188. var _uniqueNames2 = new Set();
  17189. pendingComponentWillUpdateWarnings.forEach(function (fiber) {
  17190. _uniqueNames2.add(getComponentName(fiber.type) || 'Component');
  17191. didWarnAboutDeprecatedLifecycles.add(fiber.type);
  17192. });
  17193. var _sortedNames2 = setToSortedString(_uniqueNames2);
  17194. lowPriorityWarning$1(false, 'componentWillUpdate is deprecated and will be removed in the next major version. ' + 'Use componentDidUpdate instead. As a temporary workaround, ' + 'you can rename to UNSAFE_componentWillUpdate.' + '\n\nPlease update the following components: %s' + '\n\nLearn more about this warning here:' + '\nhttps://fb.me/react-async-component-lifecycle-hooks', _sortedNames2);
  17195. pendingComponentWillUpdateWarnings = [];
  17196. }
  17197. };
  17198. ReactStrictModeWarnings.recordDeprecationWarnings = function (fiber, instance) {
  17199. // Dedup strategy: Warn once per component.
  17200. if (didWarnAboutDeprecatedLifecycles.has(fiber.type)) {
  17201. return;
  17202. }
  17203. // Don't warn about react-lifecycles-compat polyfilled components.
  17204. if (typeof instance.componentWillMount === 'function' && instance.componentWillMount.__suppressDeprecationWarning !== true) {
  17205. pendingComponentWillMountWarnings.push(fiber);
  17206. }
  17207. if (typeof instance.componentWillReceiveProps === 'function' && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
  17208. pendingComponentWillReceivePropsWarnings.push(fiber);
  17209. }
  17210. if (typeof instance.componentWillUpdate === 'function' && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
  17211. pendingComponentWillUpdateWarnings.push(fiber);
  17212. }
  17213. };
  17214. ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function (fiber, instance) {
  17215. var strictRoot = findStrictRoot(fiber);
  17216. if (strictRoot === null) {
  17217. warningWithoutStack$1(false, 'Expected to find a StrictMode component in a strict mode tree. ' + 'This error is likely caused by a bug in React. Please file an issue.');
  17218. return;
  17219. }
  17220. // Dedup strategy: Warn once per component.
  17221. // This is difficult to track any other way since component names
  17222. // are often vague and are likely to collide between 3rd party libraries.
  17223. // An expand property is probably okay to use here since it's DEV-only,
  17224. // and will only be set in the event of serious warnings.
  17225. if (didWarnAboutUnsafeLifecycles.has(fiber.type)) {
  17226. return;
  17227. }
  17228. var warningsForRoot = void 0;
  17229. if (!pendingUnsafeLifecycleWarnings.has(strictRoot)) {
  17230. warningsForRoot = {
  17231. UNSAFE_componentWillMount: [],
  17232. UNSAFE_componentWillReceiveProps: [],
  17233. UNSAFE_componentWillUpdate: []
  17234. };
  17235. pendingUnsafeLifecycleWarnings.set(strictRoot, warningsForRoot);
  17236. } else {
  17237. warningsForRoot = pendingUnsafeLifecycleWarnings.get(strictRoot);
  17238. }
  17239. var unsafeLifecycles = [];
  17240. if (typeof instance.componentWillMount === 'function' && instance.componentWillMount.__suppressDeprecationWarning !== true || typeof instance.UNSAFE_componentWillMount === 'function') {
  17241. unsafeLifecycles.push('UNSAFE_componentWillMount');
  17242. }
  17243. if (typeof instance.componentWillReceiveProps === 'function' && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true || typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
  17244. unsafeLifecycles.push('UNSAFE_componentWillReceiveProps');
  17245. }
  17246. if (typeof instance.componentWillUpdate === 'function' && instance.componentWillUpdate.__suppressDeprecationWarning !== true || typeof instance.UNSAFE_componentWillUpdate === 'function') {
  17247. unsafeLifecycles.push('UNSAFE_componentWillUpdate');
  17248. }
  17249. if (unsafeLifecycles.length > 0) {
  17250. unsafeLifecycles.forEach(function (lifecycle) {
  17251. warningsForRoot[lifecycle].push(fiber);
  17252. });
  17253. }
  17254. };
  17255. ReactStrictModeWarnings.recordLegacyContextWarning = function (fiber, instance) {
  17256. var strictRoot = findStrictRoot(fiber);
  17257. if (strictRoot === null) {
  17258. warningWithoutStack$1(false, 'Expected to find a StrictMode component in a strict mode tree. ' + 'This error is likely caused by a bug in React. Please file an issue.');
  17259. return;
  17260. }
  17261. // Dedup strategy: Warn once per component.
  17262. if (didWarnAboutLegacyContext.has(fiber.type)) {
  17263. return;
  17264. }
  17265. var warningsForRoot = pendingLegacyContextWarning.get(strictRoot);
  17266. if (fiber.type.contextTypes != null || fiber.type.childContextTypes != null || instance !== null && typeof instance.getChildContext === 'function') {
  17267. if (warningsForRoot === undefined) {
  17268. warningsForRoot = [];
  17269. pendingLegacyContextWarning.set(strictRoot, warningsForRoot);
  17270. }
  17271. warningsForRoot.push(fiber);
  17272. }
  17273. };
  17274. ReactStrictModeWarnings.flushLegacyContextWarning = function () {
  17275. pendingLegacyContextWarning.forEach(function (fiberArray, strictRoot) {
  17276. var uniqueNames = new Set();
  17277. fiberArray.forEach(function (fiber) {
  17278. uniqueNames.add(getComponentName(fiber.type) || 'Component');
  17279. didWarnAboutLegacyContext.add(fiber.type);
  17280. });
  17281. var sortedNames = setToSortedString(uniqueNames);
  17282. var strictRootComponentStack = getStackByFiberInDevAndProd(strictRoot);
  17283. warningWithoutStack$1(false, 'Legacy context API has been detected within a strict-mode tree: %s' + '\n\nPlease update the following components: %s' + '\n\nLearn more about this warning here:' + '\nhttps://fb.me/react-strict-mode-warnings', strictRootComponentStack, sortedNames);
  17284. });
  17285. };
  17286. }
  17287. // This lets us hook into Fiber to debug what it's doing.
  17288. // See https://github.com/facebook/react/pull/8033.
  17289. // This is not part of the public API, not even for React DevTools.
  17290. // You may only inject a debugTool if you work on React Fiber itself.
  17291. var ReactFiberInstrumentation = {
  17292. debugTool: null
  17293. };
  17294. var ReactFiberInstrumentation_1 = ReactFiberInstrumentation;
  17295. // TODO: Offscreen updates should never suspend. However, a promise that
  17296. // suspended inside an offscreen subtree should be able to ping at the priority
  17297. // of the outer render.
  17298. function markPendingPriorityLevel(root, expirationTime) {
  17299. // If there's a gap between completing a failed root and retrying it,
  17300. // additional updates may be scheduled. Clear `didError`, in case the update
  17301. // is sufficient to fix the error.
  17302. root.didError = false;
  17303. // Update the latest and earliest pending times
  17304. var earliestPendingTime = root.earliestPendingTime;
  17305. if (earliestPendingTime === NoWork) {
  17306. // No other pending updates.
  17307. root.earliestPendingTime = root.latestPendingTime = expirationTime;
  17308. } else {
  17309. if (earliestPendingTime < expirationTime) {
  17310. // This is the earliest pending update.
  17311. root.earliestPendingTime = expirationTime;
  17312. } else {
  17313. var latestPendingTime = root.latestPendingTime;
  17314. if (latestPendingTime > expirationTime) {
  17315. // This is the latest pending update
  17316. root.latestPendingTime = expirationTime;
  17317. }
  17318. }
  17319. }
  17320. findNextExpirationTimeToWorkOn(expirationTime, root);
  17321. }
  17322. function markCommittedPriorityLevels(root, earliestRemainingTime) {
  17323. root.didError = false;
  17324. if (earliestRemainingTime === NoWork) {
  17325. // Fast path. There's no remaining work. Clear everything.
  17326. root.earliestPendingTime = NoWork;
  17327. root.latestPendingTime = NoWork;
  17328. root.earliestSuspendedTime = NoWork;
  17329. root.latestSuspendedTime = NoWork;
  17330. root.latestPingedTime = NoWork;
  17331. findNextExpirationTimeToWorkOn(NoWork, root);
  17332. return;
  17333. }
  17334. // Let's see if the previous latest known pending level was just flushed.
  17335. var latestPendingTime = root.latestPendingTime;
  17336. if (latestPendingTime !== NoWork) {
  17337. if (latestPendingTime > earliestRemainingTime) {
  17338. // We've flushed all the known pending levels.
  17339. root.earliestPendingTime = root.latestPendingTime = NoWork;
  17340. } else {
  17341. var earliestPendingTime = root.earliestPendingTime;
  17342. if (earliestPendingTime > earliestRemainingTime) {
  17343. // We've flushed the earliest known pending level. Set this to the
  17344. // latest pending time.
  17345. root.earliestPendingTime = root.latestPendingTime;
  17346. }
  17347. }
  17348. }
  17349. // Now let's handle the earliest remaining level in the whole tree. We need to
  17350. // decide whether to treat it as a pending level or as suspended. Check
  17351. // it falls within the range of known suspended levels.
  17352. var earliestSuspendedTime = root.earliestSuspendedTime;
  17353. if (earliestSuspendedTime === NoWork) {
  17354. // There's no suspended work. Treat the earliest remaining level as a
  17355. // pending level.
  17356. markPendingPriorityLevel(root, earliestRemainingTime);
  17357. findNextExpirationTimeToWorkOn(NoWork, root);
  17358. return;
  17359. }
  17360. var latestSuspendedTime = root.latestSuspendedTime;
  17361. if (earliestRemainingTime < latestSuspendedTime) {
  17362. // The earliest remaining level is later than all the suspended work. That
  17363. // means we've flushed all the suspended work.
  17364. root.earliestSuspendedTime = NoWork;
  17365. root.latestSuspendedTime = NoWork;
  17366. root.latestPingedTime = NoWork;
  17367. // There's no suspended work. Treat the earliest remaining level as a
  17368. // pending level.
  17369. markPendingPriorityLevel(root, earliestRemainingTime);
  17370. findNextExpirationTimeToWorkOn(NoWork, root);
  17371. return;
  17372. }
  17373. if (earliestRemainingTime > earliestSuspendedTime) {
  17374. // The earliest remaining time is earlier than all the suspended work.
  17375. // Treat it as a pending update.
  17376. markPendingPriorityLevel(root, earliestRemainingTime);
  17377. findNextExpirationTimeToWorkOn(NoWork, root);
  17378. return;
  17379. }
  17380. // The earliest remaining time falls within the range of known suspended
  17381. // levels. We should treat this as suspended work.
  17382. findNextExpirationTimeToWorkOn(NoWork, root);
  17383. }
  17384. function hasLowerPriorityWork(root, erroredExpirationTime) {
  17385. var latestPendingTime = root.latestPendingTime;
  17386. var latestSuspendedTime = root.latestSuspendedTime;
  17387. var latestPingedTime = root.latestPingedTime;
  17388. return latestPendingTime !== NoWork && latestPendingTime < erroredExpirationTime || latestSuspendedTime !== NoWork && latestSuspendedTime < erroredExpirationTime || latestPingedTime !== NoWork && latestPingedTime < erroredExpirationTime;
  17389. }
  17390. function isPriorityLevelSuspended(root, expirationTime) {
  17391. var earliestSuspendedTime = root.earliestSuspendedTime;
  17392. var latestSuspendedTime = root.latestSuspendedTime;
  17393. return earliestSuspendedTime !== NoWork && expirationTime <= earliestSuspendedTime && expirationTime >= latestSuspendedTime;
  17394. }
  17395. function markSuspendedPriorityLevel(root, suspendedTime) {
  17396. root.didError = false;
  17397. clearPing(root, suspendedTime);
  17398. // First, check the known pending levels and update them if needed.
  17399. var earliestPendingTime = root.earliestPendingTime;
  17400. var latestPendingTime = root.latestPendingTime;
  17401. if (earliestPendingTime === suspendedTime) {
  17402. if (latestPendingTime === suspendedTime) {
  17403. // Both known pending levels were suspended. Clear them.
  17404. root.earliestPendingTime = root.latestPendingTime = NoWork;
  17405. } else {
  17406. // The earliest pending level was suspended. Clear by setting it to the
  17407. // latest pending level.
  17408. root.earliestPendingTime = latestPendingTime;
  17409. }
  17410. } else if (latestPendingTime === suspendedTime) {
  17411. // The latest pending level was suspended. Clear by setting it to the
  17412. // latest pending level.
  17413. root.latestPendingTime = earliestPendingTime;
  17414. }
  17415. // Finally, update the known suspended levels.
  17416. var earliestSuspendedTime = root.earliestSuspendedTime;
  17417. var latestSuspendedTime = root.latestSuspendedTime;
  17418. if (earliestSuspendedTime === NoWork) {
  17419. // No other suspended levels.
  17420. root.earliestSuspendedTime = root.latestSuspendedTime = suspendedTime;
  17421. } else {
  17422. if (earliestSuspendedTime < suspendedTime) {
  17423. // This is the earliest suspended level.
  17424. root.earliestSuspendedTime = suspendedTime;
  17425. } else if (latestSuspendedTime > suspendedTime) {
  17426. // This is the latest suspended level
  17427. root.latestSuspendedTime = suspendedTime;
  17428. }
  17429. }
  17430. findNextExpirationTimeToWorkOn(suspendedTime, root);
  17431. }
  17432. function markPingedPriorityLevel(root, pingedTime) {
  17433. root.didError = false;
  17434. // TODO: When we add back resuming, we need to ensure the progressed work
  17435. // is thrown out and not reused during the restarted render. One way to
  17436. // invalidate the progressed work is to restart at expirationTime + 1.
  17437. var latestPingedTime = root.latestPingedTime;
  17438. if (latestPingedTime === NoWork || latestPingedTime > pingedTime) {
  17439. root.latestPingedTime = pingedTime;
  17440. }
  17441. findNextExpirationTimeToWorkOn(pingedTime, root);
  17442. }
  17443. function clearPing(root, completedTime) {
  17444. // TODO: Track whether the root was pinged during the render phase. If so,
  17445. // we need to make sure we don't lose track of it.
  17446. var latestPingedTime = root.latestPingedTime;
  17447. if (latestPingedTime !== NoWork && latestPingedTime >= completedTime) {
  17448. root.latestPingedTime = NoWork;
  17449. }
  17450. }
  17451. function findEarliestOutstandingPriorityLevel(root, renderExpirationTime) {
  17452. var earliestExpirationTime = renderExpirationTime;
  17453. var earliestPendingTime = root.earliestPendingTime;
  17454. var earliestSuspendedTime = root.earliestSuspendedTime;
  17455. if (earliestPendingTime > earliestExpirationTime) {
  17456. earliestExpirationTime = earliestPendingTime;
  17457. }
  17458. if (earliestSuspendedTime > earliestExpirationTime) {
  17459. earliestExpirationTime = earliestSuspendedTime;
  17460. }
  17461. return earliestExpirationTime;
  17462. }
  17463. function didExpireAtExpirationTime(root, currentTime) {
  17464. var expirationTime = root.expirationTime;
  17465. if (expirationTime !== NoWork && currentTime <= expirationTime) {
  17466. // The root has expired. Flush all work up to the current time.
  17467. root.nextExpirationTimeToWorkOn = currentTime;
  17468. }
  17469. }
  17470. function findNextExpirationTimeToWorkOn(completedExpirationTime, root) {
  17471. var earliestSuspendedTime = root.earliestSuspendedTime;
  17472. var latestSuspendedTime = root.latestSuspendedTime;
  17473. var earliestPendingTime = root.earliestPendingTime;
  17474. var latestPingedTime = root.latestPingedTime;
  17475. // Work on the earliest pending time. Failing that, work on the latest
  17476. // pinged time.
  17477. var nextExpirationTimeToWorkOn = earliestPendingTime !== NoWork ? earliestPendingTime : latestPingedTime;
  17478. // If there is no pending or pinged work, check if there's suspended work
  17479. // that's lower priority than what we just completed.
  17480. if (nextExpirationTimeToWorkOn === NoWork && (completedExpirationTime === NoWork || latestSuspendedTime < completedExpirationTime)) {
  17481. // The lowest priority suspended work is the work most likely to be
  17482. // committed next. Let's start rendering it again, so that if it times out,
  17483. // it's ready to commit.
  17484. nextExpirationTimeToWorkOn = latestSuspendedTime;
  17485. }
  17486. var expirationTime = nextExpirationTimeToWorkOn;
  17487. if (expirationTime !== NoWork && earliestSuspendedTime > expirationTime) {
  17488. // Expire using the earliest known expiration time.
  17489. expirationTime = earliestSuspendedTime;
  17490. }
  17491. root.nextExpirationTimeToWorkOn = nextExpirationTimeToWorkOn;
  17492. root.expirationTime = expirationTime;
  17493. }
  17494. // UpdateQueue is a linked list of prioritized updates.
  17495. //
  17496. // Like fibers, update queues come in pairs: a current queue, which represents
  17497. // the visible state of the screen, and a work-in-progress queue, which is
  17498. // can be mutated and processed asynchronously before it is committed — a form
  17499. // of double buffering. If a work-in-progress render is discarded before
  17500. // finishing, we create a new work-in-progress by cloning the current queue.
  17501. //
  17502. // Both queues share a persistent, singly-linked list structure. To schedule an
  17503. // update, we append it to the end of both queues. Each queue maintains a
  17504. // pointer to first update in the persistent list that hasn't been processed.
  17505. // The work-in-progress pointer always has a position equal to or greater than
  17506. // the current queue, since we always work on that one. The current queue's
  17507. // pointer is only updated during the commit phase, when we swap in the
  17508. // work-in-progress.
  17509. //
  17510. // For example:
  17511. //
  17512. // Current pointer: A - B - C - D - E - F
  17513. // Work-in-progress pointer: D - E - F
  17514. // ^
  17515. // The work-in-progress queue has
  17516. // processed more updates than current.
  17517. //
  17518. // The reason we append to both queues is because otherwise we might drop
  17519. // updates without ever processing them. For example, if we only add updates to
  17520. // the work-in-progress queue, some updates could be lost whenever a work-in
  17521. // -progress render restarts by cloning from current. Similarly, if we only add
  17522. // updates to the current queue, the updates will be lost whenever an already
  17523. // in-progress queue commits and swaps with the current queue. However, by
  17524. // adding to both queues, we guarantee that the update will be part of the next
  17525. // work-in-progress. (And because the work-in-progress queue becomes the
  17526. // current queue once it commits, there's no danger of applying the same
  17527. // update twice.)
  17528. //
  17529. // Prioritization
  17530. // --------------
  17531. //
  17532. // Updates are not sorted by priority, but by insertion; new updates are always
  17533. // appended to the end of the list.
  17534. //
  17535. // The priority is still important, though. When processing the update queue
  17536. // during the render phase, only the updates with sufficient priority are
  17537. // included in the result. If we skip an update because it has insufficient
  17538. // priority, it remains in the queue to be processed later, during a lower
  17539. // priority render. Crucially, all updates subsequent to a skipped update also
  17540. // remain in the queue *regardless of their priority*. That means high priority
  17541. // updates are sometimes processed twice, at two separate priorities. We also
  17542. // keep track of a base state, that represents the state before the first
  17543. // update in the queue is applied.
  17544. //
  17545. // For example:
  17546. //
  17547. // Given a base state of '', and the following queue of updates
  17548. //
  17549. // A1 - B2 - C1 - D2
  17550. //
  17551. // where the number indicates the priority, and the update is applied to the
  17552. // previous state by appending a letter, React will process these updates as
  17553. // two separate renders, one per distinct priority level:
  17554. //
  17555. // First render, at priority 1:
  17556. // Base state: ''
  17557. // Updates: [A1, C1]
  17558. // Result state: 'AC'
  17559. //
  17560. // Second render, at priority 2:
  17561. // Base state: 'A' <- The base state does not include C1,
  17562. // because B2 was skipped.
  17563. // Updates: [B2, C1, D2] <- C1 was rebased on top of B2
  17564. // Result state: 'ABCD'
  17565. //
  17566. // Because we process updates in insertion order, and rebase high priority
  17567. // updates when preceding updates are skipped, the final result is deterministic
  17568. // regardless of priority. Intermediate state may vary according to system
  17569. // resources, but the final state is always the same.
  17570. var UpdateState = 0;
  17571. var ReplaceState = 1;
  17572. var ForceUpdate = 2;
  17573. var CaptureUpdate = 3;
  17574. // Global state that is reset at the beginning of calling `processUpdateQueue`.
  17575. // It should only be read right after calling `processUpdateQueue`, via
  17576. // `checkHasForceUpdateAfterProcessing`.
  17577. var hasForceUpdate = false;
  17578. var didWarnUpdateInsideUpdate = void 0;
  17579. var currentlyProcessingQueue = void 0;
  17580. var resetCurrentlyProcessingQueue = void 0;
  17581. {
  17582. didWarnUpdateInsideUpdate = false;
  17583. currentlyProcessingQueue = null;
  17584. resetCurrentlyProcessingQueue = function () {
  17585. currentlyProcessingQueue = null;
  17586. };
  17587. }
  17588. function createUpdateQueue(baseState) {
  17589. var queue = {
  17590. baseState: baseState,
  17591. firstUpdate: null,
  17592. lastUpdate: null,
  17593. firstCapturedUpdate: null,
  17594. lastCapturedUpdate: null,
  17595. firstEffect: null,
  17596. lastEffect: null,
  17597. firstCapturedEffect: null,
  17598. lastCapturedEffect: null
  17599. };
  17600. return queue;
  17601. }
  17602. function cloneUpdateQueue(currentQueue) {
  17603. var queue = {
  17604. baseState: currentQueue.baseState,
  17605. firstUpdate: currentQueue.firstUpdate,
  17606. lastUpdate: currentQueue.lastUpdate,
  17607. // TODO: With resuming, if we bail out and resuse the child tree, we should
  17608. // keep these effects.
  17609. firstCapturedUpdate: null,
  17610. lastCapturedUpdate: null,
  17611. firstEffect: null,
  17612. lastEffect: null,
  17613. firstCapturedEffect: null,
  17614. lastCapturedEffect: null
  17615. };
  17616. return queue;
  17617. }
  17618. function createUpdate(expirationTime) {
  17619. return {
  17620. expirationTime: expirationTime,
  17621. tag: UpdateState,
  17622. payload: null,
  17623. callback: null,
  17624. next: null,
  17625. nextEffect: null
  17626. };
  17627. }
  17628. function appendUpdateToQueue(queue, update) {
  17629. // Append the update to the end of the list.
  17630. if (queue.lastUpdate === null) {
  17631. // Queue is empty
  17632. queue.firstUpdate = queue.lastUpdate = update;
  17633. } else {
  17634. queue.lastUpdate.next = update;
  17635. queue.lastUpdate = update;
  17636. }
  17637. }
  17638. function enqueueUpdate(fiber, update) {
  17639. // Update queues are created lazily.
  17640. var alternate = fiber.alternate;
  17641. var queue1 = void 0;
  17642. var queue2 = void 0;
  17643. if (alternate === null) {
  17644. // There's only one fiber.
  17645. queue1 = fiber.updateQueue;
  17646. queue2 = null;
  17647. if (queue1 === null) {
  17648. queue1 = fiber.updateQueue = createUpdateQueue(fiber.memoizedState);
  17649. }
  17650. } else {
  17651. // There are two owners.
  17652. queue1 = fiber.updateQueue;
  17653. queue2 = alternate.updateQueue;
  17654. if (queue1 === null) {
  17655. if (queue2 === null) {
  17656. // Neither fiber has an update queue. Create new ones.
  17657. queue1 = fiber.updateQueue = createUpdateQueue(fiber.memoizedState);
  17658. queue2 = alternate.updateQueue = createUpdateQueue(alternate.memoizedState);
  17659. } else {
  17660. // Only one fiber has an update queue. Clone to create a new one.
  17661. queue1 = fiber.updateQueue = cloneUpdateQueue(queue2);
  17662. }
  17663. } else {
  17664. if (queue2 === null) {
  17665. // Only one fiber has an update queue. Clone to create a new one.
  17666. queue2 = alternate.updateQueue = cloneUpdateQueue(queue1);
  17667. } else {
  17668. // Both owners have an update queue.
  17669. }
  17670. }
  17671. }
  17672. if (queue2 === null || queue1 === queue2) {
  17673. // There's only a single queue.
  17674. appendUpdateToQueue(queue1, update);
  17675. } else {
  17676. // There are two queues. We need to append the update to both queues,
  17677. // while accounting for the persistent structure of the list — we don't
  17678. // want the same update to be added multiple times.
  17679. if (queue1.lastUpdate === null || queue2.lastUpdate === null) {
  17680. // One of the queues is not empty. We must add the update to both queues.
  17681. appendUpdateToQueue(queue1, update);
  17682. appendUpdateToQueue(queue2, update);
  17683. } else {
  17684. // Both queues are non-empty. The last update is the same in both lists,
  17685. // because of structural sharing. So, only append to one of the lists.
  17686. appendUpdateToQueue(queue1, update);
  17687. // But we still need to update the `lastUpdate` pointer of queue2.
  17688. queue2.lastUpdate = update;
  17689. }
  17690. }
  17691. {
  17692. if (fiber.tag === ClassComponent && (currentlyProcessingQueue === queue1 || queue2 !== null && currentlyProcessingQueue === queue2) && !didWarnUpdateInsideUpdate) {
  17693. warningWithoutStack$1(false, 'An update (setState, replaceState, or forceUpdate) was scheduled ' + 'from inside an update function. Update functions should be pure, ' + 'with zero side-effects. Consider using componentDidUpdate or a ' + 'callback.');
  17694. didWarnUpdateInsideUpdate = true;
  17695. }
  17696. }
  17697. }
  17698. function enqueueCapturedUpdate(workInProgress, update) {
  17699. // Captured updates go into a separate list, and only on the work-in-
  17700. // progress queue.
  17701. var workInProgressQueue = workInProgress.updateQueue;
  17702. if (workInProgressQueue === null) {
  17703. workInProgressQueue = workInProgress.updateQueue = createUpdateQueue(workInProgress.memoizedState);
  17704. } else {
  17705. // TODO: I put this here rather than createWorkInProgress so that we don't
  17706. // clone the queue unnecessarily. There's probably a better way to
  17707. // structure this.
  17708. workInProgressQueue = ensureWorkInProgressQueueIsAClone(workInProgress, workInProgressQueue);
  17709. }
  17710. // Append the update to the end of the list.
  17711. if (workInProgressQueue.lastCapturedUpdate === null) {
  17712. // This is the first render phase update
  17713. workInProgressQueue.firstCapturedUpdate = workInProgressQueue.lastCapturedUpdate = update;
  17714. } else {
  17715. workInProgressQueue.lastCapturedUpdate.next = update;
  17716. workInProgressQueue.lastCapturedUpdate = update;
  17717. }
  17718. }
  17719. function ensureWorkInProgressQueueIsAClone(workInProgress, queue) {
  17720. var current = workInProgress.alternate;
  17721. if (current !== null) {
  17722. // If the work-in-progress queue is equal to the current queue,
  17723. // we need to clone it first.
  17724. if (queue === current.updateQueue) {
  17725. queue = workInProgress.updateQueue = cloneUpdateQueue(queue);
  17726. }
  17727. }
  17728. return queue;
  17729. }
  17730. function getStateFromUpdate(workInProgress, queue, update, prevState, nextProps, instance) {
  17731. switch (update.tag) {
  17732. case ReplaceState:
  17733. {
  17734. var _payload = update.payload;
  17735. if (typeof _payload === 'function') {
  17736. // Updater function
  17737. {
  17738. if (debugRenderPhaseSideEffects || debugRenderPhaseSideEffectsForStrictMode && workInProgress.mode & StrictMode) {
  17739. _payload.call(instance, prevState, nextProps);
  17740. }
  17741. }
  17742. return _payload.call(instance, prevState, nextProps);
  17743. }
  17744. // State object
  17745. return _payload;
  17746. }
  17747. case CaptureUpdate:
  17748. {
  17749. workInProgress.effectTag = workInProgress.effectTag & ~ShouldCapture | DidCapture;
  17750. }
  17751. // Intentional fallthrough
  17752. case UpdateState:
  17753. {
  17754. var _payload2 = update.payload;
  17755. var partialState = void 0;
  17756. if (typeof _payload2 === 'function') {
  17757. // Updater function
  17758. {
  17759. if (debugRenderPhaseSideEffects || debugRenderPhaseSideEffectsForStrictMode && workInProgress.mode & StrictMode) {
  17760. _payload2.call(instance, prevState, nextProps);
  17761. }
  17762. }
  17763. partialState = _payload2.call(instance, prevState, nextProps);
  17764. } else {
  17765. // Partial state object
  17766. partialState = _payload2;
  17767. }
  17768. if (partialState === null || partialState === undefined) {
  17769. // Null and undefined are treated as no-ops.
  17770. return prevState;
  17771. }
  17772. // Merge the partial state and the previous state.
  17773. return _assign({}, prevState, partialState);
  17774. }
  17775. case ForceUpdate:
  17776. {
  17777. hasForceUpdate = true;
  17778. return prevState;
  17779. }
  17780. }
  17781. return prevState;
  17782. }
  17783. function processUpdateQueue(workInProgress, queue, props, instance, renderExpirationTime) {
  17784. hasForceUpdate = false;
  17785. queue = ensureWorkInProgressQueueIsAClone(workInProgress, queue);
  17786. {
  17787. currentlyProcessingQueue = queue;
  17788. }
  17789. // These values may change as we process the queue.
  17790. var newBaseState = queue.baseState;
  17791. var newFirstUpdate = null;
  17792. var newExpirationTime = NoWork;
  17793. // Iterate through the list of updates to compute the result.
  17794. var update = queue.firstUpdate;
  17795. var resultState = newBaseState;
  17796. while (update !== null) {
  17797. var updateExpirationTime = update.expirationTime;
  17798. if (updateExpirationTime < renderExpirationTime) {
  17799. // This update does not have sufficient priority. Skip it.
  17800. if (newFirstUpdate === null) {
  17801. // This is the first skipped update. It will be the first update in
  17802. // the new list.
  17803. newFirstUpdate = update;
  17804. // Since this is the first update that was skipped, the current result
  17805. // is the new base state.
  17806. newBaseState = resultState;
  17807. }
  17808. // Since this update will remain in the list, update the remaining
  17809. // expiration time.
  17810. if (newExpirationTime < updateExpirationTime) {
  17811. newExpirationTime = updateExpirationTime;
  17812. }
  17813. } else {
  17814. // This update does have sufficient priority. Process it and compute
  17815. // a new result.
  17816. resultState = getStateFromUpdate(workInProgress, queue, update, resultState, props, instance);
  17817. var _callback = update.callback;
  17818. if (_callback !== null) {
  17819. workInProgress.effectTag |= Callback;
  17820. // Set this to null, in case it was mutated during an aborted render.
  17821. update.nextEffect = null;
  17822. if (queue.lastEffect === null) {
  17823. queue.firstEffect = queue.lastEffect = update;
  17824. } else {
  17825. queue.lastEffect.nextEffect = update;
  17826. queue.lastEffect = update;
  17827. }
  17828. }
  17829. }
  17830. // Continue to the next update.
  17831. update = update.next;
  17832. }
  17833. // Separately, iterate though the list of captured updates.
  17834. var newFirstCapturedUpdate = null;
  17835. update = queue.firstCapturedUpdate;
  17836. while (update !== null) {
  17837. var _updateExpirationTime = update.expirationTime;
  17838. if (_updateExpirationTime < renderExpirationTime) {
  17839. // This update does not have sufficient priority. Skip it.
  17840. if (newFirstCapturedUpdate === null) {
  17841. // This is the first skipped captured update. It will be the first
  17842. // update in the new list.
  17843. newFirstCapturedUpdate = update;
  17844. // If this is the first update that was skipped, the current result is
  17845. // the new base state.
  17846. if (newFirstUpdate === null) {
  17847. newBaseState = resultState;
  17848. }
  17849. }
  17850. // Since this update will remain in the list, update the remaining
  17851. // expiration time.
  17852. if (newExpirationTime < _updateExpirationTime) {
  17853. newExpirationTime = _updateExpirationTime;
  17854. }
  17855. } else {
  17856. // This update does have sufficient priority. Process it and compute
  17857. // a new result.
  17858. resultState = getStateFromUpdate(workInProgress, queue, update, resultState, props, instance);
  17859. var _callback2 = update.callback;
  17860. if (_callback2 !== null) {
  17861. workInProgress.effectTag |= Callback;
  17862. // Set this to null, in case it was mutated during an aborted render.
  17863. update.nextEffect = null;
  17864. if (queue.lastCapturedEffect === null) {
  17865. queue.firstCapturedEffect = queue.lastCapturedEffect = update;
  17866. } else {
  17867. queue.lastCapturedEffect.nextEffect = update;
  17868. queue.lastCapturedEffect = update;
  17869. }
  17870. }
  17871. }
  17872. update = update.next;
  17873. }
  17874. if (newFirstUpdate === null) {
  17875. queue.lastUpdate = null;
  17876. }
  17877. if (newFirstCapturedUpdate === null) {
  17878. queue.lastCapturedUpdate = null;
  17879. } else {
  17880. workInProgress.effectTag |= Callback;
  17881. }
  17882. if (newFirstUpdate === null && newFirstCapturedUpdate === null) {
  17883. // We processed every update, without skipping. That means the new base
  17884. // state is the same as the result state.
  17885. newBaseState = resultState;
  17886. }
  17887. queue.baseState = newBaseState;
  17888. queue.firstUpdate = newFirstUpdate;
  17889. queue.firstCapturedUpdate = newFirstCapturedUpdate;
  17890. // Set the remaining expiration time to be whatever is remaining in the queue.
  17891. // This should be fine because the only two other things that contribute to
  17892. // expiration time are props and context. We're already in the middle of the
  17893. // begin phase by the time we start processing the queue, so we've already
  17894. // dealt with the props. Context in components that specify
  17895. // shouldComponentUpdate is tricky; but we'll have to account for
  17896. // that regardless.
  17897. workInProgress.expirationTime = newExpirationTime;
  17898. workInProgress.memoizedState = resultState;
  17899. {
  17900. currentlyProcessingQueue = null;
  17901. }
  17902. }
  17903. function callCallback(callback, context) {
  17904. !(typeof callback === 'function') ? invariant(false, 'Invalid argument passed as callback. Expected a function. Instead received: %s', callback) : void 0;
  17905. callback.call(context);
  17906. }
  17907. function resetHasForceUpdateBeforeProcessing() {
  17908. hasForceUpdate = false;
  17909. }
  17910. function checkHasForceUpdateAfterProcessing() {
  17911. return hasForceUpdate;
  17912. }
  17913. function commitUpdateQueue(finishedWork, finishedQueue, instance, renderExpirationTime) {
  17914. // If the finished render included captured updates, and there are still
  17915. // lower priority updates left over, we need to keep the captured updates
  17916. // in the queue so that they are rebased and not dropped once we process the
  17917. // queue again at the lower priority.
  17918. if (finishedQueue.firstCapturedUpdate !== null) {
  17919. // Join the captured update list to the end of the normal list.
  17920. if (finishedQueue.lastUpdate !== null) {
  17921. finishedQueue.lastUpdate.next = finishedQueue.firstCapturedUpdate;
  17922. finishedQueue.lastUpdate = finishedQueue.lastCapturedUpdate;
  17923. }
  17924. // Clear the list of captured updates.
  17925. finishedQueue.firstCapturedUpdate = finishedQueue.lastCapturedUpdate = null;
  17926. }
  17927. // Commit the effects
  17928. commitUpdateEffects(finishedQueue.firstEffect, instance);
  17929. finishedQueue.firstEffect = finishedQueue.lastEffect = null;
  17930. commitUpdateEffects(finishedQueue.firstCapturedEffect, instance);
  17931. finishedQueue.firstCapturedEffect = finishedQueue.lastCapturedEffect = null;
  17932. }
  17933. function commitUpdateEffects(effect, instance) {
  17934. while (effect !== null) {
  17935. var _callback3 = effect.callback;
  17936. if (_callback3 !== null) {
  17937. effect.callback = null;
  17938. callCallback(_callback3, instance);
  17939. }
  17940. effect = effect.nextEffect;
  17941. }
  17942. }
  17943. function createCapturedValue(value, source) {
  17944. // If the value is an error, call this function immediately after it is thrown
  17945. // so the stack is accurate.
  17946. return {
  17947. value: value,
  17948. source: source,
  17949. stack: getStackByFiberInDevAndProd(source)
  17950. };
  17951. }
  17952. var valueCursor = createCursor(null);
  17953. var rendererSigil = void 0;
  17954. {
  17955. // Use this to detect multiple renderers using the same context
  17956. rendererSigil = {};
  17957. }
  17958. var currentlyRenderingFiber = null;
  17959. var lastContextDependency = null;
  17960. var lastContextWithAllBitsObserved = null;
  17961. function resetContextDependences() {
  17962. // This is called right before React yields execution, to ensure `readContext`
  17963. // cannot be called outside the render phase.
  17964. currentlyRenderingFiber = null;
  17965. lastContextDependency = null;
  17966. lastContextWithAllBitsObserved = null;
  17967. }
  17968. function pushProvider(providerFiber, nextValue) {
  17969. var context = providerFiber.type._context;
  17970. if (isPrimaryRenderer) {
  17971. push(valueCursor, context._currentValue, providerFiber);
  17972. context._currentValue = nextValue;
  17973. {
  17974. !(context._currentRenderer === undefined || context._currentRenderer === null || context._currentRenderer === rendererSigil) ? warningWithoutStack$1(false, 'Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.') : void 0;
  17975. context._currentRenderer = rendererSigil;
  17976. }
  17977. } else {
  17978. push(valueCursor, context._currentValue2, providerFiber);
  17979. context._currentValue2 = nextValue;
  17980. {
  17981. !(context._currentRenderer2 === undefined || context._currentRenderer2 === null || context._currentRenderer2 === rendererSigil) ? warningWithoutStack$1(false, 'Detected multiple renderers concurrently rendering the ' + 'same context provider. This is currently unsupported.') : void 0;
  17982. context._currentRenderer2 = rendererSigil;
  17983. }
  17984. }
  17985. }
  17986. function popProvider(providerFiber) {
  17987. var currentValue = valueCursor.current;
  17988. pop(valueCursor, providerFiber);
  17989. var context = providerFiber.type._context;
  17990. if (isPrimaryRenderer) {
  17991. context._currentValue = currentValue;
  17992. } else {
  17993. context._currentValue2 = currentValue;
  17994. }
  17995. }
  17996. function calculateChangedBits(context, newValue, oldValue) {
  17997. // Use Object.is to compare the new context value to the old value. Inlined
  17998. // Object.is polyfill.
  17999. // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  18000. if (oldValue === newValue && (oldValue !== 0 || 1 / oldValue === 1 / newValue) || oldValue !== oldValue && newValue !== newValue // eslint-disable-line no-self-compare
  18001. ) {
  18002. // No change
  18003. return 0;
  18004. } else {
  18005. var changedBits = typeof context._calculateChangedBits === 'function' ? context._calculateChangedBits(oldValue, newValue) : maxSigned31BitInt;
  18006. {
  18007. !((changedBits & maxSigned31BitInt) === changedBits) ? warning$1(false, 'calculateChangedBits: Expected the return value to be a ' + '31-bit integer. Instead received: %s', changedBits) : void 0;
  18008. }
  18009. return changedBits | 0;
  18010. }
  18011. }
  18012. function propagateContextChange(workInProgress, context, changedBits, renderExpirationTime) {
  18013. var fiber = workInProgress.child;
  18014. if (fiber !== null) {
  18015. // Set the return pointer of the child to the work-in-progress fiber.
  18016. fiber.return = workInProgress;
  18017. }
  18018. while (fiber !== null) {
  18019. var nextFiber = void 0;
  18020. // Visit this fiber.
  18021. var dependency = fiber.firstContextDependency;
  18022. if (dependency !== null) {
  18023. do {
  18024. // Check if the context matches.
  18025. if (dependency.context === context && (dependency.observedBits & changedBits) !== 0) {
  18026. // Match! Schedule an update on this fiber.
  18027. if (fiber.tag === ClassComponent) {
  18028. // Schedule a force update on the work-in-progress.
  18029. var update = createUpdate(renderExpirationTime);
  18030. update.tag = ForceUpdate;
  18031. // TODO: Because we don't have a work-in-progress, this will add the
  18032. // update to the current fiber, too, which means it will persist even if
  18033. // this render is thrown away. Since it's a race condition, not sure it's
  18034. // worth fixing.
  18035. enqueueUpdate(fiber, update);
  18036. }
  18037. if (fiber.expirationTime < renderExpirationTime) {
  18038. fiber.expirationTime = renderExpirationTime;
  18039. }
  18040. var alternate = fiber.alternate;
  18041. if (alternate !== null && alternate.expirationTime < renderExpirationTime) {
  18042. alternate.expirationTime = renderExpirationTime;
  18043. }
  18044. // Update the child expiration time of all the ancestors, including
  18045. // the alternates.
  18046. var node = fiber.return;
  18047. while (node !== null) {
  18048. alternate = node.alternate;
  18049. if (node.childExpirationTime < renderExpirationTime) {
  18050. node.childExpirationTime = renderExpirationTime;
  18051. if (alternate !== null && alternate.childExpirationTime < renderExpirationTime) {
  18052. alternate.childExpirationTime = renderExpirationTime;
  18053. }
  18054. } else if (alternate !== null && alternate.childExpirationTime < renderExpirationTime) {
  18055. alternate.childExpirationTime = renderExpirationTime;
  18056. } else {
  18057. // Neither alternate was updated, which means the rest of the
  18058. // ancestor path already has sufficient priority.
  18059. break;
  18060. }
  18061. node = node.return;
  18062. }
  18063. }
  18064. nextFiber = fiber.child;
  18065. dependency = dependency.next;
  18066. } while (dependency !== null);
  18067. } else if (fiber.tag === ContextProvider) {
  18068. // Don't scan deeper if this is a matching provider
  18069. nextFiber = fiber.type === workInProgress.type ? null : fiber.child;
  18070. } else {
  18071. // Traverse down.
  18072. nextFiber = fiber.child;
  18073. }
  18074. if (nextFiber !== null) {
  18075. // Set the return pointer of the child to the work-in-progress fiber.
  18076. nextFiber.return = fiber;
  18077. } else {
  18078. // No child. Traverse to next sibling.
  18079. nextFiber = fiber;
  18080. while (nextFiber !== null) {
  18081. if (nextFiber === workInProgress) {
  18082. // We're back to the root of this subtree. Exit.
  18083. nextFiber = null;
  18084. break;
  18085. }
  18086. var sibling = nextFiber.sibling;
  18087. if (sibling !== null) {
  18088. // Set the return pointer of the sibling to the work-in-progress fiber.
  18089. sibling.return = nextFiber.return;
  18090. nextFiber = sibling;
  18091. break;
  18092. }
  18093. // No more siblings. Traverse up.
  18094. nextFiber = nextFiber.return;
  18095. }
  18096. }
  18097. fiber = nextFiber;
  18098. }
  18099. }
  18100. function prepareToReadContext(workInProgress, renderExpirationTime) {
  18101. currentlyRenderingFiber = workInProgress;
  18102. lastContextDependency = null;
  18103. lastContextWithAllBitsObserved = null;
  18104. // Reset the work-in-progress list
  18105. workInProgress.firstContextDependency = null;
  18106. }
  18107. function readContext(context, observedBits) {
  18108. if (lastContextWithAllBitsObserved === context) {
  18109. // Nothing to do. We already observe everything in this context.
  18110. } else if (observedBits === false || observedBits === 0) {
  18111. // Do not observe any updates.
  18112. } else {
  18113. var resolvedObservedBits = void 0; // Avoid deopting on observable arguments or heterogeneous types.
  18114. if (typeof observedBits !== 'number' || observedBits === maxSigned31BitInt) {
  18115. // Observe all updates.
  18116. lastContextWithAllBitsObserved = context;
  18117. resolvedObservedBits = maxSigned31BitInt;
  18118. } else {
  18119. resolvedObservedBits = observedBits;
  18120. }
  18121. var contextItem = {
  18122. context: context,
  18123. observedBits: resolvedObservedBits,
  18124. next: null
  18125. };
  18126. if (lastContextDependency === null) {
  18127. !(currentlyRenderingFiber !== null) ? invariant(false, 'Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.') : void 0;
  18128. // This is the first dependency in the list
  18129. currentlyRenderingFiber.firstContextDependency = lastContextDependency = contextItem;
  18130. } else {
  18131. // Append a new context item.
  18132. lastContextDependency = lastContextDependency.next = contextItem;
  18133. }
  18134. }
  18135. return isPrimaryRenderer ? context._currentValue : context._currentValue2;
  18136. }
  18137. var NoEffect$1 = /* */0;
  18138. var UnmountSnapshot = /* */2;
  18139. var UnmountMutation = /* */4;
  18140. var MountMutation = /* */8;
  18141. var UnmountLayout = /* */16;
  18142. var MountLayout = /* */32;
  18143. var MountPassive = /* */64;
  18144. var UnmountPassive = /* */128;
  18145. function areHookInputsEqual(arr1, arr2) {
  18146. // Don't bother comparing lengths in prod because these arrays should be
  18147. // passed inline.
  18148. {
  18149. !(arr1.length === arr2.length) ? warning$1(false, 'Detected a variable number of hook dependencies. The length of the ' + 'dependencies array should be constant between renders.\n\n' + 'Previous: %s\n' + 'Incoming: %s', arr1.join(', '), arr2.join(', ')) : void 0;
  18150. }
  18151. for (var i = 0; i < arr1.length; i++) {
  18152. // Inlined Object.is polyfill.
  18153. // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
  18154. var val1 = arr1[i];
  18155. var val2 = arr2[i];
  18156. if (val1 === val2 && (val1 !== 0 || 1 / val1 === 1 / val2) || val1 !== val1 && val2 !== val2 // eslint-disable-line no-self-compare
  18157. ) {
  18158. continue;
  18159. }
  18160. return false;
  18161. }
  18162. return true;
  18163. }
  18164. // These are set right before calling the component.
  18165. var renderExpirationTime = NoWork;
  18166. // The work-in-progress fiber. I've named it differently to distinguish it from
  18167. // the work-in-progress hook.
  18168. var currentlyRenderingFiber$1 = null;
  18169. // Hooks are stored as a linked list on the fiber's memoizedState field. The
  18170. // current hook list is the list that belongs to the current fiber. The
  18171. // work-in-progress hook list is a new list that will be added to the
  18172. // work-in-progress fiber.
  18173. var firstCurrentHook = null;
  18174. var currentHook = null;
  18175. var firstWorkInProgressHook = null;
  18176. var workInProgressHook = null;
  18177. var remainingExpirationTime = NoWork;
  18178. var componentUpdateQueue = null;
  18179. // Updates scheduled during render will trigger an immediate re-render at the
  18180. // end of the current pass. We can't store these updates on the normal queue,
  18181. // because if the work is aborted, they should be discarded. Because this is
  18182. // a relatively rare case, we also don't want to add an additional field to
  18183. // either the hook or queue object types. So we store them in a lazily create
  18184. // map of queue -> render-phase updates, which are discarded once the component
  18185. // completes without re-rendering.
  18186. // Whether the work-in-progress hook is a re-rendered hook
  18187. var isReRender = false;
  18188. // Whether an update was scheduled during the currently executing render pass.
  18189. var didScheduleRenderPhaseUpdate = false;
  18190. // Lazily created map of render-phase updates
  18191. var renderPhaseUpdates = null;
  18192. // Counter to prevent infinite loops.
  18193. var numberOfReRenders = 0;
  18194. var RE_RENDER_LIMIT = 25;
  18195. function resolveCurrentlyRenderingFiber() {
  18196. !(currentlyRenderingFiber$1 !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
  18197. return currentlyRenderingFiber$1;
  18198. }
  18199. function prepareToUseHooks(current, workInProgress, nextRenderExpirationTime) {
  18200. if (!enableHooks) {
  18201. return;
  18202. }
  18203. renderExpirationTime = nextRenderExpirationTime;
  18204. currentlyRenderingFiber$1 = workInProgress;
  18205. firstCurrentHook = current !== null ? current.memoizedState : null;
  18206. // The following should have already been reset
  18207. // currentHook = null;
  18208. // workInProgressHook = null;
  18209. // remainingExpirationTime = NoWork;
  18210. // componentUpdateQueue = null;
  18211. // isReRender = false;
  18212. // didScheduleRenderPhaseUpdate = false;
  18213. // renderPhaseUpdates = null;
  18214. // numberOfReRenders = 0;
  18215. }
  18216. function finishHooks(Component, props, children, refOrContext) {
  18217. if (!enableHooks) {
  18218. return children;
  18219. }
  18220. // This must be called after every function component to prevent hooks from
  18221. // being used in classes.
  18222. while (didScheduleRenderPhaseUpdate) {
  18223. // Updates were scheduled during the render phase. They are stored in
  18224. // the `renderPhaseUpdates` map. Call the component again, reusing the
  18225. // work-in-progress hooks and applying the additional updates on top. Keep
  18226. // restarting until no more updates are scheduled.
  18227. didScheduleRenderPhaseUpdate = false;
  18228. numberOfReRenders += 1;
  18229. // Start over from the beginning of the list
  18230. currentHook = null;
  18231. workInProgressHook = null;
  18232. componentUpdateQueue = null;
  18233. children = Component(props, refOrContext);
  18234. }
  18235. renderPhaseUpdates = null;
  18236. numberOfReRenders = 0;
  18237. var renderedWork = currentlyRenderingFiber$1;
  18238. renderedWork.memoizedState = firstWorkInProgressHook;
  18239. renderedWork.expirationTime = remainingExpirationTime;
  18240. renderedWork.updateQueue = componentUpdateQueue;
  18241. var didRenderTooFewHooks = currentHook !== null && currentHook.next !== null;
  18242. renderExpirationTime = NoWork;
  18243. currentlyRenderingFiber$1 = null;
  18244. firstCurrentHook = null;
  18245. currentHook = null;
  18246. firstWorkInProgressHook = null;
  18247. workInProgressHook = null;
  18248. remainingExpirationTime = NoWork;
  18249. componentUpdateQueue = null;
  18250. // Always set during createWorkInProgress
  18251. // isReRender = false;
  18252. // These were reset above
  18253. // didScheduleRenderPhaseUpdate = false;
  18254. // renderPhaseUpdates = null;
  18255. // numberOfReRenders = 0;
  18256. !!didRenderTooFewHooks ? invariant(false, 'Rendered fewer hooks than expected. This may be caused by an accidental early return statement.') : void 0;
  18257. return children;
  18258. }
  18259. function resetHooks() {
  18260. if (!enableHooks) {
  18261. return;
  18262. }
  18263. // This is called instead of `finishHooks` if the component throws. It's also
  18264. // called inside mountIndeterminateComponent if we determine the component
  18265. // is a module-style component.
  18266. renderExpirationTime = NoWork;
  18267. currentlyRenderingFiber$1 = null;
  18268. firstCurrentHook = null;
  18269. currentHook = null;
  18270. firstWorkInProgressHook = null;
  18271. workInProgressHook = null;
  18272. remainingExpirationTime = NoWork;
  18273. componentUpdateQueue = null;
  18274. // Always set during createWorkInProgress
  18275. // isReRender = false;
  18276. didScheduleRenderPhaseUpdate = false;
  18277. renderPhaseUpdates = null;
  18278. numberOfReRenders = 0;
  18279. }
  18280. function createHook() {
  18281. return {
  18282. memoizedState: null,
  18283. baseState: null,
  18284. queue: null,
  18285. baseUpdate: null,
  18286. next: null
  18287. };
  18288. }
  18289. function cloneHook(hook) {
  18290. return {
  18291. memoizedState: hook.memoizedState,
  18292. baseState: hook.memoizedState,
  18293. queue: hook.queue,
  18294. baseUpdate: hook.baseUpdate,
  18295. next: null
  18296. };
  18297. }
  18298. function createWorkInProgressHook() {
  18299. if (workInProgressHook === null) {
  18300. // This is the first hook in the list
  18301. if (firstWorkInProgressHook === null) {
  18302. isReRender = false;
  18303. currentHook = firstCurrentHook;
  18304. if (currentHook === null) {
  18305. // This is a newly mounted hook
  18306. workInProgressHook = createHook();
  18307. } else {
  18308. // Clone the current hook.
  18309. workInProgressHook = cloneHook(currentHook);
  18310. }
  18311. firstWorkInProgressHook = workInProgressHook;
  18312. } else {
  18313. // There's already a work-in-progress. Reuse it.
  18314. isReRender = true;
  18315. currentHook = firstCurrentHook;
  18316. workInProgressHook = firstWorkInProgressHook;
  18317. }
  18318. } else {
  18319. if (workInProgressHook.next === null) {
  18320. isReRender = false;
  18321. var hook = void 0;
  18322. if (currentHook === null) {
  18323. // This is a newly mounted hook
  18324. hook = createHook();
  18325. } else {
  18326. currentHook = currentHook.next;
  18327. if (currentHook === null) {
  18328. // This is a newly mounted hook
  18329. hook = createHook();
  18330. } else {
  18331. // Clone the current hook.
  18332. hook = cloneHook(currentHook);
  18333. }
  18334. }
  18335. // Append to the end of the list
  18336. workInProgressHook = workInProgressHook.next = hook;
  18337. } else {
  18338. // There's already a work-in-progress. Reuse it.
  18339. isReRender = true;
  18340. workInProgressHook = workInProgressHook.next;
  18341. currentHook = currentHook !== null ? currentHook.next : null;
  18342. }
  18343. }
  18344. return workInProgressHook;
  18345. }
  18346. function createFunctionComponentUpdateQueue() {
  18347. return {
  18348. lastEffect: null
  18349. };
  18350. }
  18351. function basicStateReducer(state, action) {
  18352. return typeof action === 'function' ? action(state) : action;
  18353. }
  18354. function useContext(context, observedBits) {
  18355. // Ensure we're in a function component (class components support only the
  18356. // .unstable_read() form)
  18357. resolveCurrentlyRenderingFiber();
  18358. return readContext(context, observedBits);
  18359. }
  18360. function useState(initialState) {
  18361. return useReducer(basicStateReducer,
  18362. // useReducer has a special case to support lazy useState initializers
  18363. initialState);
  18364. }
  18365. function useReducer(reducer, initialState, initialAction) {
  18366. currentlyRenderingFiber$1 = resolveCurrentlyRenderingFiber();
  18367. workInProgressHook = createWorkInProgressHook();
  18368. var queue = workInProgressHook.queue;
  18369. if (queue !== null) {
  18370. // Already have a queue, so this is an update.
  18371. if (isReRender) {
  18372. // This is a re-render. Apply the new render phase updates to the previous
  18373. var _dispatch2 = queue.dispatch;
  18374. if (renderPhaseUpdates !== null) {
  18375. // Render phase updates are stored in a map of queue -> linked list
  18376. var firstRenderPhaseUpdate = renderPhaseUpdates.get(queue);
  18377. if (firstRenderPhaseUpdate !== undefined) {
  18378. renderPhaseUpdates.delete(queue);
  18379. var newState = workInProgressHook.memoizedState;
  18380. var update = firstRenderPhaseUpdate;
  18381. do {
  18382. // Process this render phase update. We don't have to check the
  18383. // priority because it will always be the same as the current
  18384. // render's.
  18385. var _action = update.action;
  18386. newState = reducer(newState, _action);
  18387. update = update.next;
  18388. } while (update !== null);
  18389. workInProgressHook.memoizedState = newState;
  18390. // Don't persist the state accumlated from the render phase updates to
  18391. // the base state unless the queue is empty.
  18392. // TODO: Not sure if this is the desired semantics, but it's what we
  18393. // do for gDSFP. I can't remember why.
  18394. if (workInProgressHook.baseUpdate === queue.last) {
  18395. workInProgressHook.baseState = newState;
  18396. }
  18397. return [newState, _dispatch2];
  18398. }
  18399. }
  18400. return [workInProgressHook.memoizedState, _dispatch2];
  18401. }
  18402. // The last update in the entire queue
  18403. var _last = queue.last;
  18404. // The last update that is part of the base state.
  18405. var _baseUpdate = workInProgressHook.baseUpdate;
  18406. // Find the first unprocessed update.
  18407. var first = void 0;
  18408. if (_baseUpdate !== null) {
  18409. if (_last !== null) {
  18410. // For the first update, the queue is a circular linked list where
  18411. // `queue.last.next = queue.first`. Once the first update commits, and
  18412. // the `baseUpdate` is no longer empty, we can unravel the list.
  18413. _last.next = null;
  18414. }
  18415. first = _baseUpdate.next;
  18416. } else {
  18417. first = _last !== null ? _last.next : null;
  18418. }
  18419. if (first !== null) {
  18420. var _newState = workInProgressHook.baseState;
  18421. var newBaseState = null;
  18422. var newBaseUpdate = null;
  18423. var prevUpdate = _baseUpdate;
  18424. var _update = first;
  18425. var didSkip = false;
  18426. do {
  18427. var updateExpirationTime = _update.expirationTime;
  18428. if (updateExpirationTime < renderExpirationTime) {
  18429. // Priority is insufficient. Skip this update. If this is the first
  18430. // skipped update, the previous update/state is the new base
  18431. // update/state.
  18432. if (!didSkip) {
  18433. didSkip = true;
  18434. newBaseUpdate = prevUpdate;
  18435. newBaseState = _newState;
  18436. }
  18437. // Update the remaining priority in the queue.
  18438. if (updateExpirationTime > remainingExpirationTime) {
  18439. remainingExpirationTime = updateExpirationTime;
  18440. }
  18441. } else {
  18442. // Process this update.
  18443. var _action2 = _update.action;
  18444. _newState = reducer(_newState, _action2);
  18445. }
  18446. prevUpdate = _update;
  18447. _update = _update.next;
  18448. } while (_update !== null && _update !== first);
  18449. if (!didSkip) {
  18450. newBaseUpdate = prevUpdate;
  18451. newBaseState = _newState;
  18452. }
  18453. workInProgressHook.memoizedState = _newState;
  18454. workInProgressHook.baseUpdate = newBaseUpdate;
  18455. workInProgressHook.baseState = newBaseState;
  18456. }
  18457. var _dispatch = queue.dispatch;
  18458. return [workInProgressHook.memoizedState, _dispatch];
  18459. }
  18460. // There's no existing queue, so this is the initial render.
  18461. if (reducer === basicStateReducer) {
  18462. // Special case for `useState`.
  18463. if (typeof initialState === 'function') {
  18464. initialState = initialState();
  18465. }
  18466. } else if (initialAction !== undefined && initialAction !== null) {
  18467. initialState = reducer(initialState, initialAction);
  18468. }
  18469. workInProgressHook.memoizedState = workInProgressHook.baseState = initialState;
  18470. queue = workInProgressHook.queue = {
  18471. last: null,
  18472. dispatch: null
  18473. };
  18474. var dispatch = queue.dispatch = dispatchAction.bind(null, currentlyRenderingFiber$1, queue);
  18475. return [workInProgressHook.memoizedState, dispatch];
  18476. }
  18477. function pushEffect(tag, create, destroy, inputs) {
  18478. var effect = {
  18479. tag: tag,
  18480. create: create,
  18481. destroy: destroy,
  18482. inputs: inputs,
  18483. // Circular
  18484. next: null
  18485. };
  18486. if (componentUpdateQueue === null) {
  18487. componentUpdateQueue = createFunctionComponentUpdateQueue();
  18488. componentUpdateQueue.lastEffect = effect.next = effect;
  18489. } else {
  18490. var _lastEffect = componentUpdateQueue.lastEffect;
  18491. if (_lastEffect === null) {
  18492. componentUpdateQueue.lastEffect = effect.next = effect;
  18493. } else {
  18494. var firstEffect = _lastEffect.next;
  18495. _lastEffect.next = effect;
  18496. effect.next = firstEffect;
  18497. componentUpdateQueue.lastEffect = effect;
  18498. }
  18499. }
  18500. return effect;
  18501. }
  18502. function useRef(initialValue) {
  18503. currentlyRenderingFiber$1 = resolveCurrentlyRenderingFiber();
  18504. workInProgressHook = createWorkInProgressHook();
  18505. var ref = void 0;
  18506. if (workInProgressHook.memoizedState === null) {
  18507. ref = { current: initialValue };
  18508. {
  18509. Object.seal(ref);
  18510. }
  18511. workInProgressHook.memoizedState = ref;
  18512. } else {
  18513. ref = workInProgressHook.memoizedState;
  18514. }
  18515. return ref;
  18516. }
  18517. function useMutationEffect(create, inputs) {
  18518. useEffectImpl(Snapshot | Update, UnmountSnapshot | MountMutation, create, inputs);
  18519. }
  18520. function useLayoutEffect(create, inputs) {
  18521. useEffectImpl(Update, UnmountMutation | MountLayout, create, inputs);
  18522. }
  18523. function useEffect(create, inputs) {
  18524. useEffectImpl(Update | Passive, UnmountPassive | MountPassive, create, inputs);
  18525. }
  18526. function useEffectImpl(fiberEffectTag, hookEffectTag, create, inputs) {
  18527. currentlyRenderingFiber$1 = resolveCurrentlyRenderingFiber();
  18528. workInProgressHook = createWorkInProgressHook();
  18529. var nextInputs = inputs !== undefined && inputs !== null ? inputs : [create];
  18530. var destroy = null;
  18531. if (currentHook !== null) {
  18532. var prevEffect = currentHook.memoizedState;
  18533. destroy = prevEffect.destroy;
  18534. if (areHookInputsEqual(nextInputs, prevEffect.inputs)) {
  18535. pushEffect(NoEffect$1, create, destroy, nextInputs);
  18536. return;
  18537. }
  18538. }
  18539. currentlyRenderingFiber$1.effectTag |= fiberEffectTag;
  18540. workInProgressHook.memoizedState = pushEffect(hookEffectTag, create, destroy, nextInputs);
  18541. }
  18542. function useImperativeMethods(ref, create, inputs) {
  18543. // TODO: If inputs are provided, should we skip comparing the ref itself?
  18544. var nextInputs = inputs !== null && inputs !== undefined ? inputs.concat([ref]) : [ref, create];
  18545. // TODO: I've implemented this on top of useEffect because it's almost the
  18546. // same thing, and it would require an equal amount of code. It doesn't seem
  18547. // like a common enough use case to justify the additional size.
  18548. useEffectImpl(Update, UnmountMutation | MountLayout, function () {
  18549. if (typeof ref === 'function') {
  18550. var refCallback = ref;
  18551. var _inst = create();
  18552. refCallback(_inst);
  18553. return function () {
  18554. return refCallback(null);
  18555. };
  18556. } else if (ref !== null && ref !== undefined) {
  18557. var refObject = ref;
  18558. var _inst2 = create();
  18559. refObject.current = _inst2;
  18560. return function () {
  18561. refObject.current = null;
  18562. };
  18563. }
  18564. }, nextInputs);
  18565. }
  18566. function useCallback(callback, inputs) {
  18567. currentlyRenderingFiber$1 = resolveCurrentlyRenderingFiber();
  18568. workInProgressHook = createWorkInProgressHook();
  18569. var nextInputs = inputs !== undefined && inputs !== null ? inputs : [callback];
  18570. var prevState = workInProgressHook.memoizedState;
  18571. if (prevState !== null) {
  18572. var prevInputs = prevState[1];
  18573. if (areHookInputsEqual(nextInputs, prevInputs)) {
  18574. return prevState[0];
  18575. }
  18576. }
  18577. workInProgressHook.memoizedState = [callback, nextInputs];
  18578. return callback;
  18579. }
  18580. function useMemo(nextCreate, inputs) {
  18581. currentlyRenderingFiber$1 = resolveCurrentlyRenderingFiber();
  18582. workInProgressHook = createWorkInProgressHook();
  18583. var nextInputs = inputs !== undefined && inputs !== null ? inputs : [nextCreate];
  18584. var prevState = workInProgressHook.memoizedState;
  18585. if (prevState !== null) {
  18586. var prevInputs = prevState[1];
  18587. if (areHookInputsEqual(nextInputs, prevInputs)) {
  18588. return prevState[0];
  18589. }
  18590. }
  18591. var nextValue = nextCreate();
  18592. workInProgressHook.memoizedState = [nextValue, nextInputs];
  18593. return nextValue;
  18594. }
  18595. function dispatchAction(fiber, queue, action) {
  18596. !(numberOfReRenders < RE_RENDER_LIMIT) ? invariant(false, 'Too many re-renders. React limits the number of renders to prevent an infinite loop.') : void 0;
  18597. var alternate = fiber.alternate;
  18598. if (fiber === currentlyRenderingFiber$1 || alternate !== null && alternate === currentlyRenderingFiber$1) {
  18599. // This is a render phase update. Stash it in a lazily-created map of
  18600. // queue -> linked list of updates. After this render pass, we'll restart
  18601. // and apply the stashed updates on top of the work-in-progress hook.
  18602. didScheduleRenderPhaseUpdate = true;
  18603. var update = {
  18604. expirationTime: renderExpirationTime,
  18605. action: action,
  18606. next: null
  18607. };
  18608. if (renderPhaseUpdates === null) {
  18609. renderPhaseUpdates = new Map();
  18610. }
  18611. var firstRenderPhaseUpdate = renderPhaseUpdates.get(queue);
  18612. if (firstRenderPhaseUpdate === undefined) {
  18613. renderPhaseUpdates.set(queue, update);
  18614. } else {
  18615. // Append the update to the end of the list.
  18616. var lastRenderPhaseUpdate = firstRenderPhaseUpdate;
  18617. while (lastRenderPhaseUpdate.next !== null) {
  18618. lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
  18619. }
  18620. lastRenderPhaseUpdate.next = update;
  18621. }
  18622. } else {
  18623. var currentTime = requestCurrentTime();
  18624. var _expirationTime = computeExpirationForFiber(currentTime, fiber);
  18625. var _update2 = {
  18626. expirationTime: _expirationTime,
  18627. action: action,
  18628. next: null
  18629. };
  18630. flushPassiveEffects();
  18631. // Append the update to the end of the list.
  18632. var _last2 = queue.last;
  18633. if (_last2 === null) {
  18634. // This is the first update. Create a circular list.
  18635. _update2.next = _update2;
  18636. } else {
  18637. var first = _last2.next;
  18638. if (first !== null) {
  18639. // Still circular.
  18640. _update2.next = first;
  18641. }
  18642. _last2.next = _update2;
  18643. }
  18644. queue.last = _update2;
  18645. scheduleWork(fiber, _expirationTime);
  18646. }
  18647. }
  18648. var NO_CONTEXT = {};
  18649. var contextStackCursor$1 = createCursor(NO_CONTEXT);
  18650. var contextFiberStackCursor = createCursor(NO_CONTEXT);
  18651. var rootInstanceStackCursor = createCursor(NO_CONTEXT);
  18652. function requiredContext(c) {
  18653. !(c !== NO_CONTEXT) ? invariant(false, 'Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  18654. return c;
  18655. }
  18656. function getRootHostContainer() {
  18657. var rootInstance = requiredContext(rootInstanceStackCursor.current);
  18658. return rootInstance;
  18659. }
  18660. function pushHostContainer(fiber, nextRootInstance) {
  18661. // Push current root instance onto the stack;
  18662. // This allows us to reset root when portals are popped.
  18663. push(rootInstanceStackCursor, nextRootInstance, fiber);
  18664. // Track the context and the Fiber that provided it.
  18665. // This enables us to pop only Fibers that provide unique contexts.
  18666. push(contextFiberStackCursor, fiber, fiber);
  18667. // Finally, we need to push the host context to the stack.
  18668. // However, we can't just call getRootHostContext() and push it because
  18669. // we'd have a different number of entries on the stack depending on
  18670. // whether getRootHostContext() throws somewhere in renderer code or not.
  18671. // So we push an empty value first. This lets us safely unwind on errors.
  18672. push(contextStackCursor$1, NO_CONTEXT, fiber);
  18673. var nextRootContext = getRootHostContext(nextRootInstance);
  18674. // Now that we know this function doesn't throw, replace it.
  18675. pop(contextStackCursor$1, fiber);
  18676. push(contextStackCursor$1, nextRootContext, fiber);
  18677. }
  18678. function popHostContainer(fiber) {
  18679. pop(contextStackCursor$1, fiber);
  18680. pop(contextFiberStackCursor, fiber);
  18681. pop(rootInstanceStackCursor, fiber);
  18682. }
  18683. function getHostContext() {
  18684. var context = requiredContext(contextStackCursor$1.current);
  18685. return context;
  18686. }
  18687. function pushHostContext(fiber) {
  18688. var rootInstance = requiredContext(rootInstanceStackCursor.current);
  18689. var context = requiredContext(contextStackCursor$1.current);
  18690. var nextContext = getChildHostContext(context, fiber.type, rootInstance);
  18691. // Don't push this Fiber's context unless it's unique.
  18692. if (context === nextContext) {
  18693. return;
  18694. }
  18695. // Track the context and the Fiber that provided it.
  18696. // This enables us to pop only Fibers that provide unique contexts.
  18697. push(contextFiberStackCursor, fiber, fiber);
  18698. push(contextStackCursor$1, nextContext, fiber);
  18699. }
  18700. function popHostContext(fiber) {
  18701. // Do not pop unless this Fiber provided the current context.
  18702. // pushHostContext() only pushes Fibers that provide unique contexts.
  18703. if (contextFiberStackCursor.current !== fiber) {
  18704. return;
  18705. }
  18706. pop(contextStackCursor$1, fiber);
  18707. pop(contextFiberStackCursor, fiber);
  18708. }
  18709. var commitTime = 0;
  18710. var profilerStartTime = -1;
  18711. function getCommitTime() {
  18712. return commitTime;
  18713. }
  18714. function recordCommitTime() {
  18715. if (!enableProfilerTimer) {
  18716. return;
  18717. }
  18718. commitTime = scheduler.unstable_now();
  18719. }
  18720. function startProfilerTimer(fiber) {
  18721. if (!enableProfilerTimer) {
  18722. return;
  18723. }
  18724. profilerStartTime = scheduler.unstable_now();
  18725. if (fiber.actualStartTime < 0) {
  18726. fiber.actualStartTime = scheduler.unstable_now();
  18727. }
  18728. }
  18729. function stopProfilerTimerIfRunning(fiber) {
  18730. if (!enableProfilerTimer) {
  18731. return;
  18732. }
  18733. profilerStartTime = -1;
  18734. }
  18735. function stopProfilerTimerIfRunningAndRecordDelta(fiber, overrideBaseTime) {
  18736. if (!enableProfilerTimer) {
  18737. return;
  18738. }
  18739. if (profilerStartTime >= 0) {
  18740. var elapsedTime = scheduler.unstable_now() - profilerStartTime;
  18741. fiber.actualDuration += elapsedTime;
  18742. if (overrideBaseTime) {
  18743. fiber.selfBaseDuration = elapsedTime;
  18744. }
  18745. profilerStartTime = -1;
  18746. }
  18747. }
  18748. function resolveDefaultProps(Component, baseProps) {
  18749. if (Component && Component.defaultProps) {
  18750. // Resolve default props. Taken from ReactElement
  18751. var props = _assign({}, baseProps);
  18752. var defaultProps = Component.defaultProps;
  18753. for (var propName in defaultProps) {
  18754. if (props[propName] === undefined) {
  18755. props[propName] = defaultProps[propName];
  18756. }
  18757. }
  18758. return props;
  18759. }
  18760. return baseProps;
  18761. }
  18762. function readLazyComponentType(lazyComponent) {
  18763. var status = lazyComponent._status;
  18764. var result = lazyComponent._result;
  18765. switch (status) {
  18766. case Resolved:
  18767. {
  18768. var Component = result;
  18769. return Component;
  18770. }
  18771. case Rejected:
  18772. {
  18773. var error = result;
  18774. throw error;
  18775. }
  18776. case Pending:
  18777. {
  18778. var thenable = result;
  18779. throw thenable;
  18780. }
  18781. default:
  18782. {
  18783. lazyComponent._status = Pending;
  18784. var ctor = lazyComponent._ctor;
  18785. var _thenable = ctor();
  18786. _thenable.then(function (moduleObject) {
  18787. if (lazyComponent._status === Pending) {
  18788. var defaultExport = moduleObject.default;
  18789. {
  18790. if (defaultExport === undefined) {
  18791. warning$1(false, 'lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + "const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
  18792. }
  18793. }
  18794. lazyComponent._status = Resolved;
  18795. lazyComponent._result = defaultExport;
  18796. }
  18797. }, function (error) {
  18798. if (lazyComponent._status === Pending) {
  18799. lazyComponent._status = Rejected;
  18800. lazyComponent._result = error;
  18801. }
  18802. });
  18803. lazyComponent._result = _thenable;
  18804. throw _thenable;
  18805. }
  18806. }
  18807. }
  18808. var ReactCurrentOwner$4 = ReactSharedInternals.ReactCurrentOwner;
  18809. function readContext$1(contextType) {
  18810. var dispatcher = ReactCurrentOwner$4.currentDispatcher;
  18811. return dispatcher.readContext(contextType);
  18812. }
  18813. var fakeInternalInstance = {};
  18814. var isArray$1 = Array.isArray;
  18815. // React.Component uses a shared frozen object by default.
  18816. // We'll use it to determine whether we need to initialize legacy refs.
  18817. var emptyRefsObject = new React.Component().refs;
  18818. var didWarnAboutStateAssignmentForComponent = void 0;
  18819. var didWarnAboutUninitializedState = void 0;
  18820. var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = void 0;
  18821. var didWarnAboutLegacyLifecyclesAndDerivedState = void 0;
  18822. var didWarnAboutUndefinedDerivedState = void 0;
  18823. var warnOnUndefinedDerivedState = void 0;
  18824. var warnOnInvalidCallback$1 = void 0;
  18825. var didWarnAboutDirectlyAssigningPropsToState = void 0;
  18826. var didWarnAboutContextTypeAndContextTypes = void 0;
  18827. var didWarnAboutInvalidateContextType = void 0;
  18828. {
  18829. didWarnAboutStateAssignmentForComponent = new Set();
  18830. didWarnAboutUninitializedState = new Set();
  18831. didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate = new Set();
  18832. didWarnAboutLegacyLifecyclesAndDerivedState = new Set();
  18833. didWarnAboutDirectlyAssigningPropsToState = new Set();
  18834. didWarnAboutUndefinedDerivedState = new Set();
  18835. didWarnAboutContextTypeAndContextTypes = new Set();
  18836. didWarnAboutInvalidateContextType = new Set();
  18837. var didWarnOnInvalidCallback = new Set();
  18838. warnOnInvalidCallback$1 = function (callback, callerName) {
  18839. if (callback === null || typeof callback === 'function') {
  18840. return;
  18841. }
  18842. var key = callerName + '_' + callback;
  18843. if (!didWarnOnInvalidCallback.has(key)) {
  18844. didWarnOnInvalidCallback.add(key);
  18845. warningWithoutStack$1(false, '%s(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callerName, callback);
  18846. }
  18847. };
  18848. warnOnUndefinedDerivedState = function (type, partialState) {
  18849. if (partialState === undefined) {
  18850. var componentName = getComponentName(type) || 'Component';
  18851. if (!didWarnAboutUndefinedDerivedState.has(componentName)) {
  18852. didWarnAboutUndefinedDerivedState.add(componentName);
  18853. warningWithoutStack$1(false, '%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. ' + 'You have returned undefined.', componentName);
  18854. }
  18855. }
  18856. };
  18857. // This is so gross but it's at least non-critical and can be removed if
  18858. // it causes problems. This is meant to give a nicer error message for
  18859. // ReactDOM15.unstable_renderSubtreeIntoContainer(reactDOM16Component,
  18860. // ...)) which otherwise throws a "_processChildContext is not a function"
  18861. // exception.
  18862. Object.defineProperty(fakeInternalInstance, '_processChildContext', {
  18863. enumerable: false,
  18864. value: function () {
  18865. invariant(false, '_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn\'t supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).');
  18866. }
  18867. });
  18868. Object.freeze(fakeInternalInstance);
  18869. }
  18870. function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
  18871. var prevState = workInProgress.memoizedState;
  18872. {
  18873. if (debugRenderPhaseSideEffects || debugRenderPhaseSideEffectsForStrictMode && workInProgress.mode & StrictMode) {
  18874. // Invoke the function an extra time to help detect side-effects.
  18875. getDerivedStateFromProps(nextProps, prevState);
  18876. }
  18877. }
  18878. var partialState = getDerivedStateFromProps(nextProps, prevState);
  18879. {
  18880. warnOnUndefinedDerivedState(ctor, partialState);
  18881. }
  18882. // Merge the partial state and the previous state.
  18883. var memoizedState = partialState === null || partialState === undefined ? prevState : _assign({}, prevState, partialState);
  18884. workInProgress.memoizedState = memoizedState;
  18885. // Once the update queue is empty, persist the derived state onto the
  18886. // base state.
  18887. var updateQueue = workInProgress.updateQueue;
  18888. if (updateQueue !== null && workInProgress.expirationTime === NoWork) {
  18889. updateQueue.baseState = memoizedState;
  18890. }
  18891. }
  18892. var classComponentUpdater = {
  18893. isMounted: isMounted,
  18894. enqueueSetState: function (inst, payload, callback) {
  18895. var fiber = get(inst);
  18896. var currentTime = requestCurrentTime();
  18897. var expirationTime = computeExpirationForFiber(currentTime, fiber);
  18898. var update = createUpdate(expirationTime);
  18899. update.payload = payload;
  18900. if (callback !== undefined && callback !== null) {
  18901. {
  18902. warnOnInvalidCallback$1(callback, 'setState');
  18903. }
  18904. update.callback = callback;
  18905. }
  18906. flushPassiveEffects();
  18907. enqueueUpdate(fiber, update);
  18908. scheduleWork(fiber, expirationTime);
  18909. },
  18910. enqueueReplaceState: function (inst, payload, callback) {
  18911. var fiber = get(inst);
  18912. var currentTime = requestCurrentTime();
  18913. var expirationTime = computeExpirationForFiber(currentTime, fiber);
  18914. var update = createUpdate(expirationTime);
  18915. update.tag = ReplaceState;
  18916. update.payload = payload;
  18917. if (callback !== undefined && callback !== null) {
  18918. {
  18919. warnOnInvalidCallback$1(callback, 'replaceState');
  18920. }
  18921. update.callback = callback;
  18922. }
  18923. flushPassiveEffects();
  18924. enqueueUpdate(fiber, update);
  18925. scheduleWork(fiber, expirationTime);
  18926. },
  18927. enqueueForceUpdate: function (inst, callback) {
  18928. var fiber = get(inst);
  18929. var currentTime = requestCurrentTime();
  18930. var expirationTime = computeExpirationForFiber(currentTime, fiber);
  18931. var update = createUpdate(expirationTime);
  18932. update.tag = ForceUpdate;
  18933. if (callback !== undefined && callback !== null) {
  18934. {
  18935. warnOnInvalidCallback$1(callback, 'forceUpdate');
  18936. }
  18937. update.callback = callback;
  18938. }
  18939. flushPassiveEffects();
  18940. enqueueUpdate(fiber, update);
  18941. scheduleWork(fiber, expirationTime);
  18942. }
  18943. };
  18944. function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) {
  18945. var instance = workInProgress.stateNode;
  18946. if (typeof instance.shouldComponentUpdate === 'function') {
  18947. startPhaseTimer(workInProgress, 'shouldComponentUpdate');
  18948. var shouldUpdate = instance.shouldComponentUpdate(newProps, newState, nextContext);
  18949. stopPhaseTimer();
  18950. {
  18951. !(shouldUpdate !== undefined) ? warningWithoutStack$1(false, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', getComponentName(ctor) || 'Component') : void 0;
  18952. }
  18953. return shouldUpdate;
  18954. }
  18955. if (ctor.prototype && ctor.prototype.isPureReactComponent) {
  18956. return !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState);
  18957. }
  18958. return true;
  18959. }
  18960. function checkClassInstance(workInProgress, ctor, newProps) {
  18961. var instance = workInProgress.stateNode;
  18962. {
  18963. var name = getComponentName(ctor) || 'Component';
  18964. var renderPresent = instance.render;
  18965. if (!renderPresent) {
  18966. if (ctor.prototype && typeof ctor.prototype.render === 'function') {
  18967. warningWithoutStack$1(false, '%s(...): No `render` method found on the returned component ' + 'instance: did you accidentally return an object from the constructor?', name);
  18968. } else {
  18969. warningWithoutStack$1(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', name);
  18970. }
  18971. }
  18972. var noGetInitialStateOnES6 = !instance.getInitialState || instance.getInitialState.isReactClassApproved || instance.state;
  18973. !noGetInitialStateOnES6 ? warningWithoutStack$1(false, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', name) : void 0;
  18974. var noGetDefaultPropsOnES6 = !instance.getDefaultProps || instance.getDefaultProps.isReactClassApproved;
  18975. !noGetDefaultPropsOnES6 ? warningWithoutStack$1(false, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', name) : void 0;
  18976. var noInstancePropTypes = !instance.propTypes;
  18977. !noInstancePropTypes ? warningWithoutStack$1(false, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', name) : void 0;
  18978. var noInstanceContextType = !instance.contextType;
  18979. !noInstanceContextType ? warningWithoutStack$1(false, 'contextType was defined as an instance property on %s. Use a static ' + 'property to define contextType instead.', name) : void 0;
  18980. var noInstanceContextTypes = !instance.contextTypes;
  18981. !noInstanceContextTypes ? warningWithoutStack$1(false, 'contextTypes was defined as an instance property on %s. Use a static ' + 'property to define contextTypes instead.', name) : void 0;
  18982. if (ctor.contextType && ctor.contextTypes && !didWarnAboutContextTypeAndContextTypes.has(ctor)) {
  18983. didWarnAboutContextTypeAndContextTypes.add(ctor);
  18984. warningWithoutStack$1(false, '%s declares both contextTypes and contextType static properties. ' + 'The legacy contextTypes property will be ignored.', name);
  18985. }
  18986. var noComponentShouldUpdate = typeof instance.componentShouldUpdate !== 'function';
  18987. !noComponentShouldUpdate ? warningWithoutStack$1(false, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', name) : void 0;
  18988. if (ctor.prototype && ctor.prototype.isPureReactComponent && typeof instance.shouldComponentUpdate !== 'undefined') {
  18989. warningWithoutStack$1(false, '%s has a method called shouldComponentUpdate(). ' + 'shouldComponentUpdate should not be used when extending React.PureComponent. ' + 'Please extend React.Component if shouldComponentUpdate is used.', getComponentName(ctor) || 'A pure component');
  18990. }
  18991. var noComponentDidUnmount = typeof instance.componentDidUnmount !== 'function';
  18992. !noComponentDidUnmount ? warningWithoutStack$1(false, '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', name) : void 0;
  18993. var noComponentDidReceiveProps = typeof instance.componentDidReceiveProps !== 'function';
  18994. !noComponentDidReceiveProps ? warningWithoutStack$1(false, '%s has a method called ' + 'componentDidReceiveProps(). But there is no such lifecycle method. ' + 'If you meant to update the state in response to changing props, ' + 'use componentWillReceiveProps(). If you meant to fetch data or ' + 'run side-effects or mutations after React has updated the UI, use componentDidUpdate().', name) : void 0;
  18995. var noComponentWillRecieveProps = typeof instance.componentWillRecieveProps !== 'function';
  18996. !noComponentWillRecieveProps ? warningWithoutStack$1(false, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', name) : void 0;
  18997. var noUnsafeComponentWillRecieveProps = typeof instance.UNSAFE_componentWillRecieveProps !== 'function';
  18998. !noUnsafeComponentWillRecieveProps ? warningWithoutStack$1(false, '%s has a method called ' + 'UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?', name) : void 0;
  18999. var hasMutatedProps = instance.props !== newProps;
  19000. !(instance.props === undefined || !hasMutatedProps) ? warningWithoutStack$1(false, '%s(...): When calling super() in `%s`, make sure to pass ' + "up the same props that your component's constructor was passed.", name, name) : void 0;
  19001. var noInstanceDefaultProps = !instance.defaultProps;
  19002. !noInstanceDefaultProps ? warningWithoutStack$1(false, 'Setting defaultProps as an instance property on %s is not supported and will be ignored.' + ' Instead, define defaultProps as a static property on %s.', name, name) : void 0;
  19003. if (typeof instance.getSnapshotBeforeUpdate === 'function' && typeof instance.componentDidUpdate !== 'function' && !didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.has(ctor)) {
  19004. didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate.add(ctor);
  19005. warningWithoutStack$1(false, '%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). ' + 'This component defines getSnapshotBeforeUpdate() only.', getComponentName(ctor));
  19006. }
  19007. var noInstanceGetDerivedStateFromProps = typeof instance.getDerivedStateFromProps !== 'function';
  19008. !noInstanceGetDerivedStateFromProps ? warningWithoutStack$1(false, '%s: getDerivedStateFromProps() is defined as an instance method ' + 'and will be ignored. Instead, declare it as a static method.', name) : void 0;
  19009. var noInstanceGetDerivedStateFromCatch = typeof instance.getDerivedStateFromError !== 'function';
  19010. !noInstanceGetDerivedStateFromCatch ? warningWithoutStack$1(false, '%s: getDerivedStateFromError() is defined as an instance method ' + 'and will be ignored. Instead, declare it as a static method.', name) : void 0;
  19011. var noStaticGetSnapshotBeforeUpdate = typeof ctor.getSnapshotBeforeUpdate !== 'function';
  19012. !noStaticGetSnapshotBeforeUpdate ? warningWithoutStack$1(false, '%s: getSnapshotBeforeUpdate() is defined as a static method ' + 'and will be ignored. Instead, declare it as an instance method.', name) : void 0;
  19013. var _state = instance.state;
  19014. if (_state && (typeof _state !== 'object' || isArray$1(_state))) {
  19015. warningWithoutStack$1(false, '%s.state: must be set to an object or null', name);
  19016. }
  19017. if (typeof instance.getChildContext === 'function') {
  19018. !(typeof ctor.childContextTypes === 'object') ? warningWithoutStack$1(false, '%s.getChildContext(): childContextTypes must be defined in order to ' + 'use getChildContext().', name) : void 0;
  19019. }
  19020. }
  19021. }
  19022. function adoptClassInstance(workInProgress, instance) {
  19023. instance.updater = classComponentUpdater;
  19024. workInProgress.stateNode = instance;
  19025. // The instance needs access to the fiber so that it can schedule updates
  19026. set(instance, workInProgress);
  19027. {
  19028. instance._reactInternalInstance = fakeInternalInstance;
  19029. }
  19030. }
  19031. function constructClassInstance(workInProgress, ctor, props, renderExpirationTime) {
  19032. var isLegacyContextConsumer = false;
  19033. var unmaskedContext = emptyContextObject;
  19034. var context = null;
  19035. var contextType = ctor.contextType;
  19036. if (typeof contextType === 'object' && contextType !== null) {
  19037. {
  19038. if (contextType.$$typeof !== REACT_CONTEXT_TYPE && !didWarnAboutInvalidateContextType.has(ctor)) {
  19039. didWarnAboutInvalidateContextType.add(ctor);
  19040. warningWithoutStack$1(false, '%s defines an invalid contextType. ' + 'contextType should point to the Context object returned by React.createContext(). ' + 'Did you accidentally pass the Context.Provider instead?', getComponentName(ctor) || 'Component');
  19041. }
  19042. }
  19043. context = readContext$1(contextType);
  19044. } else {
  19045. unmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
  19046. var contextTypes = ctor.contextTypes;
  19047. isLegacyContextConsumer = contextTypes !== null && contextTypes !== undefined;
  19048. context = isLegacyContextConsumer ? getMaskedContext(workInProgress, unmaskedContext) : emptyContextObject;
  19049. }
  19050. // Instantiate twice to help detect side-effects.
  19051. {
  19052. if (debugRenderPhaseSideEffects || debugRenderPhaseSideEffectsForStrictMode && workInProgress.mode & StrictMode) {
  19053. new ctor(props, context); // eslint-disable-line no-new
  19054. }
  19055. }
  19056. var instance = new ctor(props, context);
  19057. var state = workInProgress.memoizedState = instance.state !== null && instance.state !== undefined ? instance.state : null;
  19058. adoptClassInstance(workInProgress, instance);
  19059. {
  19060. if (typeof ctor.getDerivedStateFromProps === 'function' && state === null) {
  19061. var componentName = getComponentName(ctor) || 'Component';
  19062. if (!didWarnAboutUninitializedState.has(componentName)) {
  19063. didWarnAboutUninitializedState.add(componentName);
  19064. warningWithoutStack$1(false, '`%s` uses `getDerivedStateFromProps` but its initial state is ' + '%s. This is not recommended. Instead, define the initial state by ' + 'assigning an object to `this.state` in the constructor of `%s`. ' + 'This ensures that `getDerivedStateFromProps` arguments have a consistent shape.', componentName, instance.state === null ? 'null' : 'undefined', componentName);
  19065. }
  19066. }
  19067. // If new component APIs are defined, "unsafe" lifecycles won't be called.
  19068. // Warn about these lifecycles if they are present.
  19069. // Don't warn about react-lifecycles-compat polyfilled methods though.
  19070. if (typeof ctor.getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function') {
  19071. var foundWillMountName = null;
  19072. var foundWillReceivePropsName = null;
  19073. var foundWillUpdateName = null;
  19074. if (typeof instance.componentWillMount === 'function' && instance.componentWillMount.__suppressDeprecationWarning !== true) {
  19075. foundWillMountName = 'componentWillMount';
  19076. } else if (typeof instance.UNSAFE_componentWillMount === 'function') {
  19077. foundWillMountName = 'UNSAFE_componentWillMount';
  19078. }
  19079. if (typeof instance.componentWillReceiveProps === 'function' && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true) {
  19080. foundWillReceivePropsName = 'componentWillReceiveProps';
  19081. } else if (typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
  19082. foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';
  19083. }
  19084. if (typeof instance.componentWillUpdate === 'function' && instance.componentWillUpdate.__suppressDeprecationWarning !== true) {
  19085. foundWillUpdateName = 'componentWillUpdate';
  19086. } else if (typeof instance.UNSAFE_componentWillUpdate === 'function') {
  19087. foundWillUpdateName = 'UNSAFE_componentWillUpdate';
  19088. }
  19089. if (foundWillMountName !== null || foundWillReceivePropsName !== null || foundWillUpdateName !== null) {
  19090. var _componentName = getComponentName(ctor) || 'Component';
  19091. var newApiName = typeof ctor.getDerivedStateFromProps === 'function' ? 'getDerivedStateFromProps()' : 'getSnapshotBeforeUpdate()';
  19092. if (!didWarnAboutLegacyLifecyclesAndDerivedState.has(_componentName)) {
  19093. didWarnAboutLegacyLifecyclesAndDerivedState.add(_componentName);
  19094. warningWithoutStack$1(false, 'Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n' + '%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\n' + 'The above lifecycles should be removed. Learn more about this warning here:\n' + 'https://fb.me/react-async-component-lifecycle-hooks', _componentName, newApiName, foundWillMountName !== null ? '\n ' + foundWillMountName : '', foundWillReceivePropsName !== null ? '\n ' + foundWillReceivePropsName : '', foundWillUpdateName !== null ? '\n ' + foundWillUpdateName : '');
  19095. }
  19096. }
  19097. }
  19098. }
  19099. // Cache unmasked context so we can avoid recreating masked context unless necessary.
  19100. // ReactFiberContext usually updates this cache but can't for newly-created instances.
  19101. if (isLegacyContextConsumer) {
  19102. cacheContext(workInProgress, unmaskedContext, context);
  19103. }
  19104. return instance;
  19105. }
  19106. function callComponentWillMount(workInProgress, instance) {
  19107. startPhaseTimer(workInProgress, 'componentWillMount');
  19108. var oldState = instance.state;
  19109. if (typeof instance.componentWillMount === 'function') {
  19110. instance.componentWillMount();
  19111. }
  19112. if (typeof instance.UNSAFE_componentWillMount === 'function') {
  19113. instance.UNSAFE_componentWillMount();
  19114. }
  19115. stopPhaseTimer();
  19116. if (oldState !== instance.state) {
  19117. {
  19118. warningWithoutStack$1(false, '%s.componentWillMount(): Assigning directly to this.state is ' + "deprecated (except inside a component's " + 'constructor). Use setState instead.', getComponentName(workInProgress.type) || 'Component');
  19119. }
  19120. classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
  19121. }
  19122. }
  19123. function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) {
  19124. var oldState = instance.state;
  19125. startPhaseTimer(workInProgress, 'componentWillReceiveProps');
  19126. if (typeof instance.componentWillReceiveProps === 'function') {
  19127. instance.componentWillReceiveProps(newProps, nextContext);
  19128. }
  19129. if (typeof instance.UNSAFE_componentWillReceiveProps === 'function') {
  19130. instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);
  19131. }
  19132. stopPhaseTimer();
  19133. if (instance.state !== oldState) {
  19134. {
  19135. var componentName = getComponentName(workInProgress.type) || 'Component';
  19136. if (!didWarnAboutStateAssignmentForComponent.has(componentName)) {
  19137. didWarnAboutStateAssignmentForComponent.add(componentName);
  19138. warningWithoutStack$1(false, '%s.componentWillReceiveProps(): Assigning directly to ' + "this.state is deprecated (except inside a component's " + 'constructor). Use setState instead.', componentName);
  19139. }
  19140. }
  19141. classComponentUpdater.enqueueReplaceState(instance, instance.state, null);
  19142. }
  19143. }
  19144. // Invokes the mount life-cycles on a previously never rendered instance.
  19145. function mountClassInstance(workInProgress, ctor, newProps, renderExpirationTime) {
  19146. {
  19147. checkClassInstance(workInProgress, ctor, newProps);
  19148. }
  19149. var instance = workInProgress.stateNode;
  19150. instance.props = newProps;
  19151. instance.state = workInProgress.memoizedState;
  19152. instance.refs = emptyRefsObject;
  19153. var contextType = ctor.contextType;
  19154. if (typeof contextType === 'object' && contextType !== null) {
  19155. instance.context = readContext$1(contextType);
  19156. } else {
  19157. var unmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
  19158. instance.context = getMaskedContext(workInProgress, unmaskedContext);
  19159. }
  19160. {
  19161. if (instance.state === newProps) {
  19162. var componentName = getComponentName(ctor) || 'Component';
  19163. if (!didWarnAboutDirectlyAssigningPropsToState.has(componentName)) {
  19164. didWarnAboutDirectlyAssigningPropsToState.add(componentName);
  19165. warningWithoutStack$1(false, '%s: It is not recommended to assign props directly to state ' + "because updates to props won't be reflected in state. " + 'In most cases, it is better to use props directly.', componentName);
  19166. }
  19167. }
  19168. if (workInProgress.mode & StrictMode) {
  19169. ReactStrictModeWarnings.recordUnsafeLifecycleWarnings(workInProgress, instance);
  19170. ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, instance);
  19171. }
  19172. if (warnAboutDeprecatedLifecycles) {
  19173. ReactStrictModeWarnings.recordDeprecationWarnings(workInProgress, instance);
  19174. }
  19175. }
  19176. var updateQueue = workInProgress.updateQueue;
  19177. if (updateQueue !== null) {
  19178. processUpdateQueue(workInProgress, updateQueue, newProps, instance, renderExpirationTime);
  19179. instance.state = workInProgress.memoizedState;
  19180. }
  19181. var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
  19182. if (typeof getDerivedStateFromProps === 'function') {
  19183. applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
  19184. instance.state = workInProgress.memoizedState;
  19185. }
  19186. // In order to support react-lifecycles-compat polyfilled components,
  19187. // Unsafe lifecycles should not be invoked for components using the new APIs.
  19188. if (typeof ctor.getDerivedStateFromProps !== 'function' && typeof instance.getSnapshotBeforeUpdate !== 'function' && (typeof instance.UNSAFE_componentWillMount === 'function' || typeof instance.componentWillMount === 'function')) {
  19189. callComponentWillMount(workInProgress, instance);
  19190. // If we had additional state updates during this life-cycle, let's
  19191. // process them now.
  19192. updateQueue = workInProgress.updateQueue;
  19193. if (updateQueue !== null) {
  19194. processUpdateQueue(workInProgress, updateQueue, newProps, instance, renderExpirationTime);
  19195. instance.state = workInProgress.memoizedState;
  19196. }
  19197. }
  19198. if (typeof instance.componentDidMount === 'function') {
  19199. workInProgress.effectTag |= Update;
  19200. }
  19201. }
  19202. function resumeMountClassInstance(workInProgress, ctor, newProps, renderExpirationTime) {
  19203. var instance = workInProgress.stateNode;
  19204. var oldProps = workInProgress.memoizedProps;
  19205. instance.props = oldProps;
  19206. var oldContext = instance.context;
  19207. var contextType = ctor.contextType;
  19208. var nextContext = void 0;
  19209. if (typeof contextType === 'object' && contextType !== null) {
  19210. nextContext = readContext$1(contextType);
  19211. } else {
  19212. var nextLegacyUnmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
  19213. nextContext = getMaskedContext(workInProgress, nextLegacyUnmaskedContext);
  19214. }
  19215. var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
  19216. var hasNewLifecycles = typeof getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function';
  19217. // Note: During these life-cycles, instance.props/instance.state are what
  19218. // ever the previously attempted to render - not the "current". However,
  19219. // during componentDidUpdate we pass the "current" props.
  19220. // In order to support react-lifecycles-compat polyfilled components,
  19221. // Unsafe lifecycles should not be invoked for components using the new APIs.
  19222. if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === 'function' || typeof instance.componentWillReceiveProps === 'function')) {
  19223. if (oldProps !== newProps || oldContext !== nextContext) {
  19224. callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext);
  19225. }
  19226. }
  19227. resetHasForceUpdateBeforeProcessing();
  19228. var oldState = workInProgress.memoizedState;
  19229. var newState = instance.state = oldState;
  19230. var updateQueue = workInProgress.updateQueue;
  19231. if (updateQueue !== null) {
  19232. processUpdateQueue(workInProgress, updateQueue, newProps, instance, renderExpirationTime);
  19233. newState = workInProgress.memoizedState;
  19234. }
  19235. if (oldProps === newProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing()) {
  19236. // If an update was already in progress, we should schedule an Update
  19237. // effect even though we're bailing out, so that cWU/cDU are called.
  19238. if (typeof instance.componentDidMount === 'function') {
  19239. workInProgress.effectTag |= Update;
  19240. }
  19241. return false;
  19242. }
  19243. if (typeof getDerivedStateFromProps === 'function') {
  19244. applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
  19245. newState = workInProgress.memoizedState;
  19246. }
  19247. var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext);
  19248. if (shouldUpdate) {
  19249. // In order to support react-lifecycles-compat polyfilled components,
  19250. // Unsafe lifecycles should not be invoked for components using the new APIs.
  19251. if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillMount === 'function' || typeof instance.componentWillMount === 'function')) {
  19252. startPhaseTimer(workInProgress, 'componentWillMount');
  19253. if (typeof instance.componentWillMount === 'function') {
  19254. instance.componentWillMount();
  19255. }
  19256. if (typeof instance.UNSAFE_componentWillMount === 'function') {
  19257. instance.UNSAFE_componentWillMount();
  19258. }
  19259. stopPhaseTimer();
  19260. }
  19261. if (typeof instance.componentDidMount === 'function') {
  19262. workInProgress.effectTag |= Update;
  19263. }
  19264. } else {
  19265. // If an update was already in progress, we should schedule an Update
  19266. // effect even though we're bailing out, so that cWU/cDU are called.
  19267. if (typeof instance.componentDidMount === 'function') {
  19268. workInProgress.effectTag |= Update;
  19269. }
  19270. // If shouldComponentUpdate returned false, we should still update the
  19271. // memoized state to indicate that this work can be reused.
  19272. workInProgress.memoizedProps = newProps;
  19273. workInProgress.memoizedState = newState;
  19274. }
  19275. // Update the existing instance's state, props, and context pointers even
  19276. // if shouldComponentUpdate returns false.
  19277. instance.props = newProps;
  19278. instance.state = newState;
  19279. instance.context = nextContext;
  19280. return shouldUpdate;
  19281. }
  19282. // Invokes the update life-cycles and returns false if it shouldn't rerender.
  19283. function updateClassInstance(current, workInProgress, ctor, newProps, renderExpirationTime) {
  19284. var instance = workInProgress.stateNode;
  19285. var oldProps = workInProgress.memoizedProps;
  19286. instance.props = workInProgress.type === workInProgress.elementType ? oldProps : resolveDefaultProps(workInProgress.type, oldProps);
  19287. var oldContext = instance.context;
  19288. var contextType = ctor.contextType;
  19289. var nextContext = void 0;
  19290. if (typeof contextType === 'object' && contextType !== null) {
  19291. nextContext = readContext$1(contextType);
  19292. } else {
  19293. var nextUnmaskedContext = getUnmaskedContext(workInProgress, ctor, true);
  19294. nextContext = getMaskedContext(workInProgress, nextUnmaskedContext);
  19295. }
  19296. var getDerivedStateFromProps = ctor.getDerivedStateFromProps;
  19297. var hasNewLifecycles = typeof getDerivedStateFromProps === 'function' || typeof instance.getSnapshotBeforeUpdate === 'function';
  19298. // Note: During these life-cycles, instance.props/instance.state are what
  19299. // ever the previously attempted to render - not the "current". However,
  19300. // during componentDidUpdate we pass the "current" props.
  19301. // In order to support react-lifecycles-compat polyfilled components,
  19302. // Unsafe lifecycles should not be invoked for components using the new APIs.
  19303. if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillReceiveProps === 'function' || typeof instance.componentWillReceiveProps === 'function')) {
  19304. if (oldProps !== newProps || oldContext !== nextContext) {
  19305. callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext);
  19306. }
  19307. }
  19308. resetHasForceUpdateBeforeProcessing();
  19309. var oldState = workInProgress.memoizedState;
  19310. var newState = instance.state = oldState;
  19311. var updateQueue = workInProgress.updateQueue;
  19312. if (updateQueue !== null) {
  19313. processUpdateQueue(workInProgress, updateQueue, newProps, instance, renderExpirationTime);
  19314. newState = workInProgress.memoizedState;
  19315. }
  19316. if (oldProps === newProps && oldState === newState && !hasContextChanged() && !checkHasForceUpdateAfterProcessing()) {
  19317. // If an update was already in progress, we should schedule an Update
  19318. // effect even though we're bailing out, so that cWU/cDU are called.
  19319. if (typeof instance.componentDidUpdate === 'function') {
  19320. if (oldProps !== current.memoizedProps || oldState !== current.memoizedState) {
  19321. workInProgress.effectTag |= Update;
  19322. }
  19323. }
  19324. if (typeof instance.getSnapshotBeforeUpdate === 'function') {
  19325. if (oldProps !== current.memoizedProps || oldState !== current.memoizedState) {
  19326. workInProgress.effectTag |= Snapshot;
  19327. }
  19328. }
  19329. return false;
  19330. }
  19331. if (typeof getDerivedStateFromProps === 'function') {
  19332. applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, newProps);
  19333. newState = workInProgress.memoizedState;
  19334. }
  19335. var shouldUpdate = checkHasForceUpdateAfterProcessing() || checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext);
  19336. if (shouldUpdate) {
  19337. // In order to support react-lifecycles-compat polyfilled components,
  19338. // Unsafe lifecycles should not be invoked for components using the new APIs.
  19339. if (!hasNewLifecycles && (typeof instance.UNSAFE_componentWillUpdate === 'function' || typeof instance.componentWillUpdate === 'function')) {
  19340. startPhaseTimer(workInProgress, 'componentWillUpdate');
  19341. if (typeof instance.componentWillUpdate === 'function') {
  19342. instance.componentWillUpdate(newProps, newState, nextContext);
  19343. }
  19344. if (typeof instance.UNSAFE_componentWillUpdate === 'function') {
  19345. instance.UNSAFE_componentWillUpdate(newProps, newState, nextContext);
  19346. }
  19347. stopPhaseTimer();
  19348. }
  19349. if (typeof instance.componentDidUpdate === 'function') {
  19350. workInProgress.effectTag |= Update;
  19351. }
  19352. if (typeof instance.getSnapshotBeforeUpdate === 'function') {
  19353. workInProgress.effectTag |= Snapshot;
  19354. }
  19355. } else {
  19356. // If an update was already in progress, we should schedule an Update
  19357. // effect even though we're bailing out, so that cWU/cDU are called.
  19358. if (typeof instance.componentDidUpdate === 'function') {
  19359. if (oldProps !== current.memoizedProps || oldState !== current.memoizedState) {
  19360. workInProgress.effectTag |= Update;
  19361. }
  19362. }
  19363. if (typeof instance.getSnapshotBeforeUpdate === 'function') {
  19364. if (oldProps !== current.memoizedProps || oldState !== current.memoizedState) {
  19365. workInProgress.effectTag |= Snapshot;
  19366. }
  19367. }
  19368. // If shouldComponentUpdate returned false, we should still update the
  19369. // memoized props/state to indicate that this work can be reused.
  19370. workInProgress.memoizedProps = newProps;
  19371. workInProgress.memoizedState = newState;
  19372. }
  19373. // Update the existing instance's state, props, and context pointers even
  19374. // if shouldComponentUpdate returns false.
  19375. instance.props = newProps;
  19376. instance.state = newState;
  19377. instance.context = nextContext;
  19378. return shouldUpdate;
  19379. }
  19380. var didWarnAboutMaps = void 0;
  19381. var didWarnAboutGenerators = void 0;
  19382. var didWarnAboutStringRefInStrictMode = void 0;
  19383. var ownerHasKeyUseWarning = void 0;
  19384. var ownerHasFunctionTypeWarning = void 0;
  19385. var warnForMissingKey = function (child) {};
  19386. {
  19387. didWarnAboutMaps = false;
  19388. didWarnAboutGenerators = false;
  19389. didWarnAboutStringRefInStrictMode = {};
  19390. /**
  19391. * Warn if there's no key explicitly set on dynamic arrays of children or
  19392. * object keys are not valid. This allows us to keep track of children between
  19393. * updates.
  19394. */
  19395. ownerHasKeyUseWarning = {};
  19396. ownerHasFunctionTypeWarning = {};
  19397. warnForMissingKey = function (child) {
  19398. if (child === null || typeof child !== 'object') {
  19399. return;
  19400. }
  19401. if (!child._store || child._store.validated || child.key != null) {
  19402. return;
  19403. }
  19404. !(typeof child._store === 'object') ? invariant(false, 'React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  19405. child._store.validated = true;
  19406. var currentComponentErrorInfo = 'Each child in an array or iterator should have a unique ' + '"key" prop. See https://fb.me/react-warning-keys for ' + 'more information.' + getCurrentFiberStackInDev();
  19407. if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
  19408. return;
  19409. }
  19410. ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
  19411. warning$1(false, 'Each child in an array or iterator should have a unique ' + '"key" prop. See https://fb.me/react-warning-keys for ' + 'more information.');
  19412. };
  19413. }
  19414. var isArray = Array.isArray;
  19415. function coerceRef(returnFiber, current$$1, element) {
  19416. var mixedRef = element.ref;
  19417. if (mixedRef !== null && typeof mixedRef !== 'function' && typeof mixedRef !== 'object') {
  19418. {
  19419. if (returnFiber.mode & StrictMode) {
  19420. var componentName = getComponentName(returnFiber.type) || 'Component';
  19421. if (!didWarnAboutStringRefInStrictMode[componentName]) {
  19422. warningWithoutStack$1(false, 'A string ref, "%s", has been found within a strict mode tree. ' + 'String refs are a source of potential bugs and should be avoided. ' + 'We recommend using createRef() instead.' + '\n%s' + '\n\nLearn more about using refs safely here:' + '\nhttps://fb.me/react-strict-mode-string-ref', mixedRef, getStackByFiberInDevAndProd(returnFiber));
  19423. didWarnAboutStringRefInStrictMode[componentName] = true;
  19424. }
  19425. }
  19426. }
  19427. if (element._owner) {
  19428. var owner = element._owner;
  19429. var inst = void 0;
  19430. if (owner) {
  19431. var ownerFiber = owner;
  19432. !(ownerFiber.tag === ClassComponent) ? invariant(false, 'Function components cannot have refs.') : void 0;
  19433. inst = ownerFiber.stateNode;
  19434. }
  19435. !inst ? invariant(false, 'Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.', mixedRef) : void 0;
  19436. var stringRef = '' + mixedRef;
  19437. // Check if previous string ref matches new string ref
  19438. if (current$$1 !== null && current$$1.ref !== null && typeof current$$1.ref === 'function' && current$$1.ref._stringRef === stringRef) {
  19439. return current$$1.ref;
  19440. }
  19441. var ref = function (value) {
  19442. var refs = inst.refs;
  19443. if (refs === emptyRefsObject) {
  19444. // This is a lazy pooled frozen object, so we need to initialize.
  19445. refs = inst.refs = {};
  19446. }
  19447. if (value === null) {
  19448. delete refs[stringRef];
  19449. } else {
  19450. refs[stringRef] = value;
  19451. }
  19452. };
  19453. ref._stringRef = stringRef;
  19454. return ref;
  19455. } else {
  19456. !(typeof mixedRef === 'string') ? invariant(false, 'Expected ref to be a function, a string, an object returned by React.createRef(), or null.') : void 0;
  19457. !element._owner ? invariant(false, 'Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component\'s render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.', mixedRef) : void 0;
  19458. }
  19459. }
  19460. return mixedRef;
  19461. }
  19462. function throwOnInvalidObjectType(returnFiber, newChild) {
  19463. if (returnFiber.type !== 'textarea') {
  19464. var addendum = '';
  19465. {
  19466. addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + getCurrentFiberStackInDev();
  19467. }
  19468. invariant(false, 'Objects are not valid as a React child (found: %s).%s', Object.prototype.toString.call(newChild) === '[object Object]' ? 'object with keys {' + Object.keys(newChild).join(', ') + '}' : newChild, addendum);
  19469. }
  19470. }
  19471. function warnOnFunctionType() {
  19472. var currentComponentErrorInfo = 'Functions are not valid as a React child. This may happen if ' + 'you return a Component instead of <Component /> from render. ' + 'Or maybe you meant to call this function rather than return it.' + getCurrentFiberStackInDev();
  19473. if (ownerHasFunctionTypeWarning[currentComponentErrorInfo]) {
  19474. return;
  19475. }
  19476. ownerHasFunctionTypeWarning[currentComponentErrorInfo] = true;
  19477. warning$1(false, 'Functions are not valid as a React child. This may happen if ' + 'you return a Component instead of <Component /> from render. ' + 'Or maybe you meant to call this function rather than return it.');
  19478. }
  19479. // This wrapper function exists because I expect to clone the code in each path
  19480. // to be able to optimize each path individually by branching early. This needs
  19481. // a compiler or we can do it manually. Helpers that don't need this branching
  19482. // live outside of this function.
  19483. function ChildReconciler(shouldTrackSideEffects) {
  19484. function deleteChild(returnFiber, childToDelete) {
  19485. if (!shouldTrackSideEffects) {
  19486. // Noop.
  19487. return;
  19488. }
  19489. // Deletions are added in reversed order so we add it to the front.
  19490. // At this point, the return fiber's effect list is empty except for
  19491. // deletions, so we can just append the deletion to the list. The remaining
  19492. // effects aren't added until the complete phase. Once we implement
  19493. // resuming, this may not be true.
  19494. var last = returnFiber.lastEffect;
  19495. if (last !== null) {
  19496. last.nextEffect = childToDelete;
  19497. returnFiber.lastEffect = childToDelete;
  19498. } else {
  19499. returnFiber.firstEffect = returnFiber.lastEffect = childToDelete;
  19500. }
  19501. childToDelete.nextEffect = null;
  19502. childToDelete.effectTag = Deletion;
  19503. }
  19504. function deleteRemainingChildren(returnFiber, currentFirstChild) {
  19505. if (!shouldTrackSideEffects) {
  19506. // Noop.
  19507. return null;
  19508. }
  19509. // TODO: For the shouldClone case, this could be micro-optimized a bit by
  19510. // assuming that after the first child we've already added everything.
  19511. var childToDelete = currentFirstChild;
  19512. while (childToDelete !== null) {
  19513. deleteChild(returnFiber, childToDelete);
  19514. childToDelete = childToDelete.sibling;
  19515. }
  19516. return null;
  19517. }
  19518. function mapRemainingChildren(returnFiber, currentFirstChild) {
  19519. // Add the remaining children to a temporary map so that we can find them by
  19520. // keys quickly. Implicit (null) keys get added to this set with their index
  19521. var existingChildren = new Map();
  19522. var existingChild = currentFirstChild;
  19523. while (existingChild !== null) {
  19524. if (existingChild.key !== null) {
  19525. existingChildren.set(existingChild.key, existingChild);
  19526. } else {
  19527. existingChildren.set(existingChild.index, existingChild);
  19528. }
  19529. existingChild = existingChild.sibling;
  19530. }
  19531. return existingChildren;
  19532. }
  19533. function useFiber(fiber, pendingProps, expirationTime) {
  19534. // We currently set sibling to null and index to 0 here because it is easy
  19535. // to forget to do before returning it. E.g. for the single child case.
  19536. var clone = createWorkInProgress(fiber, pendingProps, expirationTime);
  19537. clone.index = 0;
  19538. clone.sibling = null;
  19539. return clone;
  19540. }
  19541. function placeChild(newFiber, lastPlacedIndex, newIndex) {
  19542. newFiber.index = newIndex;
  19543. if (!shouldTrackSideEffects) {
  19544. // Noop.
  19545. return lastPlacedIndex;
  19546. }
  19547. var current$$1 = newFiber.alternate;
  19548. if (current$$1 !== null) {
  19549. var oldIndex = current$$1.index;
  19550. if (oldIndex < lastPlacedIndex) {
  19551. // This is a move.
  19552. newFiber.effectTag = Placement;
  19553. return lastPlacedIndex;
  19554. } else {
  19555. // This item can stay in place.
  19556. return oldIndex;
  19557. }
  19558. } else {
  19559. // This is an insertion.
  19560. newFiber.effectTag = Placement;
  19561. return lastPlacedIndex;
  19562. }
  19563. }
  19564. function placeSingleChild(newFiber) {
  19565. // This is simpler for the single child case. We only need to do a
  19566. // placement for inserting new children.
  19567. if (shouldTrackSideEffects && newFiber.alternate === null) {
  19568. newFiber.effectTag = Placement;
  19569. }
  19570. return newFiber;
  19571. }
  19572. function updateTextNode(returnFiber, current$$1, textContent, expirationTime) {
  19573. if (current$$1 === null || current$$1.tag !== HostText) {
  19574. // Insert
  19575. var created = createFiberFromText(textContent, returnFiber.mode, expirationTime);
  19576. created.return = returnFiber;
  19577. return created;
  19578. } else {
  19579. // Update
  19580. var existing = useFiber(current$$1, textContent, expirationTime);
  19581. existing.return = returnFiber;
  19582. return existing;
  19583. }
  19584. }
  19585. function updateElement(returnFiber, current$$1, element, expirationTime) {
  19586. if (current$$1 !== null && current$$1.elementType === element.type) {
  19587. // Move based on index
  19588. var existing = useFiber(current$$1, element.props, expirationTime);
  19589. existing.ref = coerceRef(returnFiber, current$$1, element);
  19590. existing.return = returnFiber;
  19591. {
  19592. existing._debugSource = element._source;
  19593. existing._debugOwner = element._owner;
  19594. }
  19595. return existing;
  19596. } else {
  19597. // Insert
  19598. var created = createFiberFromElement(element, returnFiber.mode, expirationTime);
  19599. created.ref = coerceRef(returnFiber, current$$1, element);
  19600. created.return = returnFiber;
  19601. return created;
  19602. }
  19603. }
  19604. function updatePortal(returnFiber, current$$1, portal, expirationTime) {
  19605. if (current$$1 === null || current$$1.tag !== HostPortal || current$$1.stateNode.containerInfo !== portal.containerInfo || current$$1.stateNode.implementation !== portal.implementation) {
  19606. // Insert
  19607. var created = createFiberFromPortal(portal, returnFiber.mode, expirationTime);
  19608. created.return = returnFiber;
  19609. return created;
  19610. } else {
  19611. // Update
  19612. var existing = useFiber(current$$1, portal.children || [], expirationTime);
  19613. existing.return = returnFiber;
  19614. return existing;
  19615. }
  19616. }
  19617. function updateFragment(returnFiber, current$$1, fragment, expirationTime, key) {
  19618. if (current$$1 === null || current$$1.tag !== Fragment) {
  19619. // Insert
  19620. var created = createFiberFromFragment(fragment, returnFiber.mode, expirationTime, key);
  19621. created.return = returnFiber;
  19622. return created;
  19623. } else {
  19624. // Update
  19625. var existing = useFiber(current$$1, fragment, expirationTime);
  19626. existing.return = returnFiber;
  19627. return existing;
  19628. }
  19629. }
  19630. function createChild(returnFiber, newChild, expirationTime) {
  19631. if (typeof newChild === 'string' || typeof newChild === 'number') {
  19632. // Text nodes don't have keys. If the previous node is implicitly keyed
  19633. // we can continue to replace it without aborting even if it is not a text
  19634. // node.
  19635. var created = createFiberFromText('' + newChild, returnFiber.mode, expirationTime);
  19636. created.return = returnFiber;
  19637. return created;
  19638. }
  19639. if (typeof newChild === 'object' && newChild !== null) {
  19640. switch (newChild.$$typeof) {
  19641. case REACT_ELEMENT_TYPE:
  19642. {
  19643. var _created = createFiberFromElement(newChild, returnFiber.mode, expirationTime);
  19644. _created.ref = coerceRef(returnFiber, null, newChild);
  19645. _created.return = returnFiber;
  19646. return _created;
  19647. }
  19648. case REACT_PORTAL_TYPE:
  19649. {
  19650. var _created2 = createFiberFromPortal(newChild, returnFiber.mode, expirationTime);
  19651. _created2.return = returnFiber;
  19652. return _created2;
  19653. }
  19654. }
  19655. if (isArray(newChild) || getIteratorFn(newChild)) {
  19656. var _created3 = createFiberFromFragment(newChild, returnFiber.mode, expirationTime, null);
  19657. _created3.return = returnFiber;
  19658. return _created3;
  19659. }
  19660. throwOnInvalidObjectType(returnFiber, newChild);
  19661. }
  19662. {
  19663. if (typeof newChild === 'function') {
  19664. warnOnFunctionType();
  19665. }
  19666. }
  19667. return null;
  19668. }
  19669. function updateSlot(returnFiber, oldFiber, newChild, expirationTime) {
  19670. // Update the fiber if the keys match, otherwise return null.
  19671. var key = oldFiber !== null ? oldFiber.key : null;
  19672. if (typeof newChild === 'string' || typeof newChild === 'number') {
  19673. // Text nodes don't have keys. If the previous node is implicitly keyed
  19674. // we can continue to replace it without aborting even if it is not a text
  19675. // node.
  19676. if (key !== null) {
  19677. return null;
  19678. }
  19679. return updateTextNode(returnFiber, oldFiber, '' + newChild, expirationTime);
  19680. }
  19681. if (typeof newChild === 'object' && newChild !== null) {
  19682. switch (newChild.$$typeof) {
  19683. case REACT_ELEMENT_TYPE:
  19684. {
  19685. if (newChild.key === key) {
  19686. if (newChild.type === REACT_FRAGMENT_TYPE) {
  19687. return updateFragment(returnFiber, oldFiber, newChild.props.children, expirationTime, key);
  19688. }
  19689. return updateElement(returnFiber, oldFiber, newChild, expirationTime);
  19690. } else {
  19691. return null;
  19692. }
  19693. }
  19694. case REACT_PORTAL_TYPE:
  19695. {
  19696. if (newChild.key === key) {
  19697. return updatePortal(returnFiber, oldFiber, newChild, expirationTime);
  19698. } else {
  19699. return null;
  19700. }
  19701. }
  19702. }
  19703. if (isArray(newChild) || getIteratorFn(newChild)) {
  19704. if (key !== null) {
  19705. return null;
  19706. }
  19707. return updateFragment(returnFiber, oldFiber, newChild, expirationTime, null);
  19708. }
  19709. throwOnInvalidObjectType(returnFiber, newChild);
  19710. }
  19711. {
  19712. if (typeof newChild === 'function') {
  19713. warnOnFunctionType();
  19714. }
  19715. }
  19716. return null;
  19717. }
  19718. function updateFromMap(existingChildren, returnFiber, newIdx, newChild, expirationTime) {
  19719. if (typeof newChild === 'string' || typeof newChild === 'number') {
  19720. // Text nodes don't have keys, so we neither have to check the old nor
  19721. // new node for the key. If both are text nodes, they match.
  19722. var matchedFiber = existingChildren.get(newIdx) || null;
  19723. return updateTextNode(returnFiber, matchedFiber, '' + newChild, expirationTime);
  19724. }
  19725. if (typeof newChild === 'object' && newChild !== null) {
  19726. switch (newChild.$$typeof) {
  19727. case REACT_ELEMENT_TYPE:
  19728. {
  19729. var _matchedFiber = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;
  19730. if (newChild.type === REACT_FRAGMENT_TYPE) {
  19731. return updateFragment(returnFiber, _matchedFiber, newChild.props.children, expirationTime, newChild.key);
  19732. }
  19733. return updateElement(returnFiber, _matchedFiber, newChild, expirationTime);
  19734. }
  19735. case REACT_PORTAL_TYPE:
  19736. {
  19737. var _matchedFiber2 = existingChildren.get(newChild.key === null ? newIdx : newChild.key) || null;
  19738. return updatePortal(returnFiber, _matchedFiber2, newChild, expirationTime);
  19739. }
  19740. }
  19741. if (isArray(newChild) || getIteratorFn(newChild)) {
  19742. var _matchedFiber3 = existingChildren.get(newIdx) || null;
  19743. return updateFragment(returnFiber, _matchedFiber3, newChild, expirationTime, null);
  19744. }
  19745. throwOnInvalidObjectType(returnFiber, newChild);
  19746. }
  19747. {
  19748. if (typeof newChild === 'function') {
  19749. warnOnFunctionType();
  19750. }
  19751. }
  19752. return null;
  19753. }
  19754. /**
  19755. * Warns if there is a duplicate or missing key
  19756. */
  19757. function warnOnInvalidKey(child, knownKeys) {
  19758. {
  19759. if (typeof child !== 'object' || child === null) {
  19760. return knownKeys;
  19761. }
  19762. switch (child.$$typeof) {
  19763. case REACT_ELEMENT_TYPE:
  19764. case REACT_PORTAL_TYPE:
  19765. warnForMissingKey(child);
  19766. var key = child.key;
  19767. if (typeof key !== 'string') {
  19768. break;
  19769. }
  19770. if (knownKeys === null) {
  19771. knownKeys = new Set();
  19772. knownKeys.add(key);
  19773. break;
  19774. }
  19775. if (!knownKeys.has(key)) {
  19776. knownKeys.add(key);
  19777. break;
  19778. }
  19779. warning$1(false, 'Encountered two children with the same key, `%s`. ' + 'Keys should be unique so that components maintain their identity ' + 'across updates. Non-unique keys may cause children to be ' + 'duplicated and/or omitted — the behavior is unsupported and ' + 'could change in a future version.', key);
  19780. break;
  19781. default:
  19782. break;
  19783. }
  19784. }
  19785. return knownKeys;
  19786. }
  19787. function reconcileChildrenArray(returnFiber, currentFirstChild, newChildren, expirationTime) {
  19788. // This algorithm can't optimize by searching from boths ends since we
  19789. // don't have backpointers on fibers. I'm trying to see how far we can get
  19790. // with that model. If it ends up not being worth the tradeoffs, we can
  19791. // add it later.
  19792. // Even with a two ended optimization, we'd want to optimize for the case
  19793. // where there are few changes and brute force the comparison instead of
  19794. // going for the Map. It'd like to explore hitting that path first in
  19795. // forward-only mode and only go for the Map once we notice that we need
  19796. // lots of look ahead. This doesn't handle reversal as well as two ended
  19797. // search but that's unusual. Besides, for the two ended optimization to
  19798. // work on Iterables, we'd need to copy the whole set.
  19799. // In this first iteration, we'll just live with hitting the bad case
  19800. // (adding everything to a Map) in for every insert/move.
  19801. // If you change this code, also update reconcileChildrenIterator() which
  19802. // uses the same algorithm.
  19803. {
  19804. // First, validate keys.
  19805. var knownKeys = null;
  19806. for (var i = 0; i < newChildren.length; i++) {
  19807. var child = newChildren[i];
  19808. knownKeys = warnOnInvalidKey(child, knownKeys);
  19809. }
  19810. }
  19811. var resultingFirstChild = null;
  19812. var previousNewFiber = null;
  19813. var oldFiber = currentFirstChild;
  19814. var lastPlacedIndex = 0;
  19815. var newIdx = 0;
  19816. var nextOldFiber = null;
  19817. for (; oldFiber !== null && newIdx < newChildren.length; newIdx++) {
  19818. if (oldFiber.index > newIdx) {
  19819. nextOldFiber = oldFiber;
  19820. oldFiber = null;
  19821. } else {
  19822. nextOldFiber = oldFiber.sibling;
  19823. }
  19824. var newFiber = updateSlot(returnFiber, oldFiber, newChildren[newIdx], expirationTime);
  19825. if (newFiber === null) {
  19826. // TODO: This breaks on empty slots like null children. That's
  19827. // unfortunate because it triggers the slow path all the time. We need
  19828. // a better way to communicate whether this was a miss or null,
  19829. // boolean, undefined, etc.
  19830. if (oldFiber === null) {
  19831. oldFiber = nextOldFiber;
  19832. }
  19833. break;
  19834. }
  19835. if (shouldTrackSideEffects) {
  19836. if (oldFiber && newFiber.alternate === null) {
  19837. // We matched the slot, but we didn't reuse the existing fiber, so we
  19838. // need to delete the existing child.
  19839. deleteChild(returnFiber, oldFiber);
  19840. }
  19841. }
  19842. lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);
  19843. if (previousNewFiber === null) {
  19844. // TODO: Move out of the loop. This only happens for the first run.
  19845. resultingFirstChild = newFiber;
  19846. } else {
  19847. // TODO: Defer siblings if we're not at the right index for this slot.
  19848. // I.e. if we had null values before, then we want to defer this
  19849. // for each null value. However, we also don't want to call updateSlot
  19850. // with the previous one.
  19851. previousNewFiber.sibling = newFiber;
  19852. }
  19853. previousNewFiber = newFiber;
  19854. oldFiber = nextOldFiber;
  19855. }
  19856. if (newIdx === newChildren.length) {
  19857. // We've reached the end of the new children. We can delete the rest.
  19858. deleteRemainingChildren(returnFiber, oldFiber);
  19859. return resultingFirstChild;
  19860. }
  19861. if (oldFiber === null) {
  19862. // If we don't have any more existing children we can choose a fast path
  19863. // since the rest will all be insertions.
  19864. for (; newIdx < newChildren.length; newIdx++) {
  19865. var _newFiber = createChild(returnFiber, newChildren[newIdx], expirationTime);
  19866. if (!_newFiber) {
  19867. continue;
  19868. }
  19869. lastPlacedIndex = placeChild(_newFiber, lastPlacedIndex, newIdx);
  19870. if (previousNewFiber === null) {
  19871. // TODO: Move out of the loop. This only happens for the first run.
  19872. resultingFirstChild = _newFiber;
  19873. } else {
  19874. previousNewFiber.sibling = _newFiber;
  19875. }
  19876. previousNewFiber = _newFiber;
  19877. }
  19878. return resultingFirstChild;
  19879. }
  19880. // Add all children to a key map for quick lookups.
  19881. var existingChildren = mapRemainingChildren(returnFiber, oldFiber);
  19882. // Keep scanning and use the map to restore deleted items as moves.
  19883. for (; newIdx < newChildren.length; newIdx++) {
  19884. var _newFiber2 = updateFromMap(existingChildren, returnFiber, newIdx, newChildren[newIdx], expirationTime);
  19885. if (_newFiber2) {
  19886. if (shouldTrackSideEffects) {
  19887. if (_newFiber2.alternate !== null) {
  19888. // The new fiber is a work in progress, but if there exists a
  19889. // current, that means that we reused the fiber. We need to delete
  19890. // it from the child list so that we don't add it to the deletion
  19891. // list.
  19892. existingChildren.delete(_newFiber2.key === null ? newIdx : _newFiber2.key);
  19893. }
  19894. }
  19895. lastPlacedIndex = placeChild(_newFiber2, lastPlacedIndex, newIdx);
  19896. if (previousNewFiber === null) {
  19897. resultingFirstChild = _newFiber2;
  19898. } else {
  19899. previousNewFiber.sibling = _newFiber2;
  19900. }
  19901. previousNewFiber = _newFiber2;
  19902. }
  19903. }
  19904. if (shouldTrackSideEffects) {
  19905. // Any existing children that weren't consumed above were deleted. We need
  19906. // to add them to the deletion list.
  19907. existingChildren.forEach(function (child) {
  19908. return deleteChild(returnFiber, child);
  19909. });
  19910. }
  19911. return resultingFirstChild;
  19912. }
  19913. function reconcileChildrenIterator(returnFiber, currentFirstChild, newChildrenIterable, expirationTime) {
  19914. // This is the same implementation as reconcileChildrenArray(),
  19915. // but using the iterator instead.
  19916. var iteratorFn = getIteratorFn(newChildrenIterable);
  19917. !(typeof iteratorFn === 'function') ? invariant(false, 'An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  19918. {
  19919. // We don't support rendering Generators because it's a mutation.
  19920. // See https://github.com/facebook/react/issues/12995
  19921. if (typeof Symbol === 'function' &&
  19922. // $FlowFixMe Flow doesn't know about toStringTag
  19923. newChildrenIterable[Symbol.toStringTag] === 'Generator') {
  19924. !didWarnAboutGenerators ? warning$1(false, 'Using Generators as children is unsupported and will likely yield ' + 'unexpected results because enumerating a generator mutates it. ' + 'You may convert it to an array with `Array.from()` or the ' + '`[...spread]` operator before rendering. Keep in mind ' + 'you might need to polyfill these features for older browsers.') : void 0;
  19925. didWarnAboutGenerators = true;
  19926. }
  19927. // Warn about using Maps as children
  19928. if (newChildrenIterable.entries === iteratorFn) {
  19929. !didWarnAboutMaps ? warning$1(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.') : void 0;
  19930. didWarnAboutMaps = true;
  19931. }
  19932. // First, validate keys.
  19933. // We'll get a different iterator later for the main pass.
  19934. var _newChildren = iteratorFn.call(newChildrenIterable);
  19935. if (_newChildren) {
  19936. var knownKeys = null;
  19937. var _step = _newChildren.next();
  19938. for (; !_step.done; _step = _newChildren.next()) {
  19939. var child = _step.value;
  19940. knownKeys = warnOnInvalidKey(child, knownKeys);
  19941. }
  19942. }
  19943. }
  19944. var newChildren = iteratorFn.call(newChildrenIterable);
  19945. !(newChildren != null) ? invariant(false, 'An iterable object provided no iterator.') : void 0;
  19946. var resultingFirstChild = null;
  19947. var previousNewFiber = null;
  19948. var oldFiber = currentFirstChild;
  19949. var lastPlacedIndex = 0;
  19950. var newIdx = 0;
  19951. var nextOldFiber = null;
  19952. var step = newChildren.next();
  19953. for (; oldFiber !== null && !step.done; newIdx++, step = newChildren.next()) {
  19954. if (oldFiber.index > newIdx) {
  19955. nextOldFiber = oldFiber;
  19956. oldFiber = null;
  19957. } else {
  19958. nextOldFiber = oldFiber.sibling;
  19959. }
  19960. var newFiber = updateSlot(returnFiber, oldFiber, step.value, expirationTime);
  19961. if (newFiber === null) {
  19962. // TODO: This breaks on empty slots like null children. That's
  19963. // unfortunate because it triggers the slow path all the time. We need
  19964. // a better way to communicate whether this was a miss or null,
  19965. // boolean, undefined, etc.
  19966. if (!oldFiber) {
  19967. oldFiber = nextOldFiber;
  19968. }
  19969. break;
  19970. }
  19971. if (shouldTrackSideEffects) {
  19972. if (oldFiber && newFiber.alternate === null) {
  19973. // We matched the slot, but we didn't reuse the existing fiber, so we
  19974. // need to delete the existing child.
  19975. deleteChild(returnFiber, oldFiber);
  19976. }
  19977. }
  19978. lastPlacedIndex = placeChild(newFiber, lastPlacedIndex, newIdx);
  19979. if (previousNewFiber === null) {
  19980. // TODO: Move out of the loop. This only happens for the first run.
  19981. resultingFirstChild = newFiber;
  19982. } else {
  19983. // TODO: Defer siblings if we're not at the right index for this slot.
  19984. // I.e. if we had null values before, then we want to defer this
  19985. // for each null value. However, we also don't want to call updateSlot
  19986. // with the previous one.
  19987. previousNewFiber.sibling = newFiber;
  19988. }
  19989. previousNewFiber = newFiber;
  19990. oldFiber = nextOldFiber;
  19991. }
  19992. if (step.done) {
  19993. // We've reached the end of the new children. We can delete the rest.
  19994. deleteRemainingChildren(returnFiber, oldFiber);
  19995. return resultingFirstChild;
  19996. }
  19997. if (oldFiber === null) {
  19998. // If we don't have any more existing children we can choose a fast path
  19999. // since the rest will all be insertions.
  20000. for (; !step.done; newIdx++, step = newChildren.next()) {
  20001. var _newFiber3 = createChild(returnFiber, step.value, expirationTime);
  20002. if (_newFiber3 === null) {
  20003. continue;
  20004. }
  20005. lastPlacedIndex = placeChild(_newFiber3, lastPlacedIndex, newIdx);
  20006. if (previousNewFiber === null) {
  20007. // TODO: Move out of the loop. This only happens for the first run.
  20008. resultingFirstChild = _newFiber3;
  20009. } else {
  20010. previousNewFiber.sibling = _newFiber3;
  20011. }
  20012. previousNewFiber = _newFiber3;
  20013. }
  20014. return resultingFirstChild;
  20015. }
  20016. // Add all children to a key map for quick lookups.
  20017. var existingChildren = mapRemainingChildren(returnFiber, oldFiber);
  20018. // Keep scanning and use the map to restore deleted items as moves.
  20019. for (; !step.done; newIdx++, step = newChildren.next()) {
  20020. var _newFiber4 = updateFromMap(existingChildren, returnFiber, newIdx, step.value, expirationTime);
  20021. if (_newFiber4 !== null) {
  20022. if (shouldTrackSideEffects) {
  20023. if (_newFiber4.alternate !== null) {
  20024. // The new fiber is a work in progress, but if there exists a
  20025. // current, that means that we reused the fiber. We need to delete
  20026. // it from the child list so that we don't add it to the deletion
  20027. // list.
  20028. existingChildren.delete(_newFiber4.key === null ? newIdx : _newFiber4.key);
  20029. }
  20030. }
  20031. lastPlacedIndex = placeChild(_newFiber4, lastPlacedIndex, newIdx);
  20032. if (previousNewFiber === null) {
  20033. resultingFirstChild = _newFiber4;
  20034. } else {
  20035. previousNewFiber.sibling = _newFiber4;
  20036. }
  20037. previousNewFiber = _newFiber4;
  20038. }
  20039. }
  20040. if (shouldTrackSideEffects) {
  20041. // Any existing children that weren't consumed above were deleted. We need
  20042. // to add them to the deletion list.
  20043. existingChildren.forEach(function (child) {
  20044. return deleteChild(returnFiber, child);
  20045. });
  20046. }
  20047. return resultingFirstChild;
  20048. }
  20049. function reconcileSingleTextNode(returnFiber, currentFirstChild, textContent, expirationTime) {
  20050. // There's no need to check for keys on text nodes since we don't have a
  20051. // way to define them.
  20052. if (currentFirstChild !== null && currentFirstChild.tag === HostText) {
  20053. // We already have an existing node so let's just update it and delete
  20054. // the rest.
  20055. deleteRemainingChildren(returnFiber, currentFirstChild.sibling);
  20056. var existing = useFiber(currentFirstChild, textContent, expirationTime);
  20057. existing.return = returnFiber;
  20058. return existing;
  20059. }
  20060. // The existing first child is not a text node so we need to create one
  20061. // and delete the existing ones.
  20062. deleteRemainingChildren(returnFiber, currentFirstChild);
  20063. var created = createFiberFromText(textContent, returnFiber.mode, expirationTime);
  20064. created.return = returnFiber;
  20065. return created;
  20066. }
  20067. function reconcileSingleElement(returnFiber, currentFirstChild, element, expirationTime) {
  20068. var key = element.key;
  20069. var child = currentFirstChild;
  20070. while (child !== null) {
  20071. // TODO: If key === null and child.key === null, then this only applies to
  20072. // the first item in the list.
  20073. if (child.key === key) {
  20074. if (child.tag === Fragment ? element.type === REACT_FRAGMENT_TYPE : child.elementType === element.type) {
  20075. deleteRemainingChildren(returnFiber, child.sibling);
  20076. var existing = useFiber(child, element.type === REACT_FRAGMENT_TYPE ? element.props.children : element.props, expirationTime);
  20077. existing.ref = coerceRef(returnFiber, child, element);
  20078. existing.return = returnFiber;
  20079. {
  20080. existing._debugSource = element._source;
  20081. existing._debugOwner = element._owner;
  20082. }
  20083. return existing;
  20084. } else {
  20085. deleteRemainingChildren(returnFiber, child);
  20086. break;
  20087. }
  20088. } else {
  20089. deleteChild(returnFiber, child);
  20090. }
  20091. child = child.sibling;
  20092. }
  20093. if (element.type === REACT_FRAGMENT_TYPE) {
  20094. var created = createFiberFromFragment(element.props.children, returnFiber.mode, expirationTime, element.key);
  20095. created.return = returnFiber;
  20096. return created;
  20097. } else {
  20098. var _created4 = createFiberFromElement(element, returnFiber.mode, expirationTime);
  20099. _created4.ref = coerceRef(returnFiber, currentFirstChild, element);
  20100. _created4.return = returnFiber;
  20101. return _created4;
  20102. }
  20103. }
  20104. function reconcileSinglePortal(returnFiber, currentFirstChild, portal, expirationTime) {
  20105. var key = portal.key;
  20106. var child = currentFirstChild;
  20107. while (child !== null) {
  20108. // TODO: If key === null and child.key === null, then this only applies to
  20109. // the first item in the list.
  20110. if (child.key === key) {
  20111. if (child.tag === HostPortal && child.stateNode.containerInfo === portal.containerInfo && child.stateNode.implementation === portal.implementation) {
  20112. deleteRemainingChildren(returnFiber, child.sibling);
  20113. var existing = useFiber(child, portal.children || [], expirationTime);
  20114. existing.return = returnFiber;
  20115. return existing;
  20116. } else {
  20117. deleteRemainingChildren(returnFiber, child);
  20118. break;
  20119. }
  20120. } else {
  20121. deleteChild(returnFiber, child);
  20122. }
  20123. child = child.sibling;
  20124. }
  20125. var created = createFiberFromPortal(portal, returnFiber.mode, expirationTime);
  20126. created.return = returnFiber;
  20127. return created;
  20128. }
  20129. // This API will tag the children with the side-effect of the reconciliation
  20130. // itself. They will be added to the side-effect list as we pass through the
  20131. // children and the parent.
  20132. function reconcileChildFibers(returnFiber, currentFirstChild, newChild, expirationTime) {
  20133. // This function is not recursive.
  20134. // If the top level item is an array, we treat it as a set of children,
  20135. // not as a fragment. Nested arrays on the other hand will be treated as
  20136. // fragment nodes. Recursion happens at the normal flow.
  20137. // Handle top level unkeyed fragments as if they were arrays.
  20138. // This leads to an ambiguity between <>{[...]}</> and <>...</>.
  20139. // We treat the ambiguous cases above the same.
  20140. var isUnkeyedTopLevelFragment = typeof newChild === 'object' && newChild !== null && newChild.type === REACT_FRAGMENT_TYPE && newChild.key === null;
  20141. if (isUnkeyedTopLevelFragment) {
  20142. newChild = newChild.props.children;
  20143. }
  20144. // Handle object types
  20145. var isObject = typeof newChild === 'object' && newChild !== null;
  20146. if (isObject) {
  20147. switch (newChild.$$typeof) {
  20148. case REACT_ELEMENT_TYPE:
  20149. return placeSingleChild(reconcileSingleElement(returnFiber, currentFirstChild, newChild, expirationTime));
  20150. case REACT_PORTAL_TYPE:
  20151. return placeSingleChild(reconcileSinglePortal(returnFiber, currentFirstChild, newChild, expirationTime));
  20152. }
  20153. }
  20154. if (typeof newChild === 'string' || typeof newChild === 'number') {
  20155. return placeSingleChild(reconcileSingleTextNode(returnFiber, currentFirstChild, '' + newChild, expirationTime));
  20156. }
  20157. if (isArray(newChild)) {
  20158. return reconcileChildrenArray(returnFiber, currentFirstChild, newChild, expirationTime);
  20159. }
  20160. if (getIteratorFn(newChild)) {
  20161. return reconcileChildrenIterator(returnFiber, currentFirstChild, newChild, expirationTime);
  20162. }
  20163. if (isObject) {
  20164. throwOnInvalidObjectType(returnFiber, newChild);
  20165. }
  20166. {
  20167. if (typeof newChild === 'function') {
  20168. warnOnFunctionType();
  20169. }
  20170. }
  20171. if (typeof newChild === 'undefined' && !isUnkeyedTopLevelFragment) {
  20172. // If the new child is undefined, and the return fiber is a composite
  20173. // component, throw an error. If Fiber return types are disabled,
  20174. // we already threw above.
  20175. switch (returnFiber.tag) {
  20176. case ClassComponent:
  20177. {
  20178. {
  20179. var instance = returnFiber.stateNode;
  20180. if (instance.render._isMockFunction) {
  20181. // We allow auto-mocks to proceed as if they're returning null.
  20182. break;
  20183. }
  20184. }
  20185. }
  20186. // Intentionally fall through to the next case, which handles both
  20187. // functions and classes
  20188. // eslint-disable-next-lined no-fallthrough
  20189. case FunctionComponent:
  20190. {
  20191. var Component = returnFiber.type;
  20192. invariant(false, '%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.', Component.displayName || Component.name || 'Component');
  20193. }
  20194. }
  20195. }
  20196. // Remaining cases are all treated as empty.
  20197. return deleteRemainingChildren(returnFiber, currentFirstChild);
  20198. }
  20199. return reconcileChildFibers;
  20200. }
  20201. var reconcileChildFibers = ChildReconciler(true);
  20202. var mountChildFibers = ChildReconciler(false);
  20203. function cloneChildFibers(current$$1, workInProgress) {
  20204. !(current$$1 === null || workInProgress.child === current$$1.child) ? invariant(false, 'Resuming work not yet implemented.') : void 0;
  20205. if (workInProgress.child === null) {
  20206. return;
  20207. }
  20208. var currentChild = workInProgress.child;
  20209. var newChild = createWorkInProgress(currentChild, currentChild.pendingProps, currentChild.expirationTime);
  20210. workInProgress.child = newChild;
  20211. newChild.return = workInProgress;
  20212. while (currentChild.sibling !== null) {
  20213. currentChild = currentChild.sibling;
  20214. newChild = newChild.sibling = createWorkInProgress(currentChild, currentChild.pendingProps, currentChild.expirationTime);
  20215. newChild.return = workInProgress;
  20216. }
  20217. newChild.sibling = null;
  20218. }
  20219. // The deepest Fiber on the stack involved in a hydration context.
  20220. // This may have been an insertion or a hydration.
  20221. var hydrationParentFiber = null;
  20222. var nextHydratableInstance = null;
  20223. var isHydrating = false;
  20224. function enterHydrationState(fiber) {
  20225. if (!supportsHydration) {
  20226. return false;
  20227. }
  20228. var parentInstance = fiber.stateNode.containerInfo;
  20229. nextHydratableInstance = getFirstHydratableChild(parentInstance);
  20230. hydrationParentFiber = fiber;
  20231. isHydrating = true;
  20232. return true;
  20233. }
  20234. function deleteHydratableInstance(returnFiber, instance) {
  20235. {
  20236. switch (returnFiber.tag) {
  20237. case HostRoot:
  20238. didNotHydrateContainerInstance(returnFiber.stateNode.containerInfo, instance);
  20239. break;
  20240. case HostComponent:
  20241. didNotHydrateInstance(returnFiber.type, returnFiber.memoizedProps, returnFiber.stateNode, instance);
  20242. break;
  20243. }
  20244. }
  20245. var childToDelete = createFiberFromHostInstanceForDeletion();
  20246. childToDelete.stateNode = instance;
  20247. childToDelete.return = returnFiber;
  20248. childToDelete.effectTag = Deletion;
  20249. // This might seem like it belongs on progressedFirstDeletion. However,
  20250. // these children are not part of the reconciliation list of children.
  20251. // Even if we abort and rereconcile the children, that will try to hydrate
  20252. // again and the nodes are still in the host tree so these will be
  20253. // recreated.
  20254. if (returnFiber.lastEffect !== null) {
  20255. returnFiber.lastEffect.nextEffect = childToDelete;
  20256. returnFiber.lastEffect = childToDelete;
  20257. } else {
  20258. returnFiber.firstEffect = returnFiber.lastEffect = childToDelete;
  20259. }
  20260. }
  20261. function insertNonHydratedInstance(returnFiber, fiber) {
  20262. fiber.effectTag |= Placement;
  20263. {
  20264. switch (returnFiber.tag) {
  20265. case HostRoot:
  20266. {
  20267. var parentContainer = returnFiber.stateNode.containerInfo;
  20268. switch (fiber.tag) {
  20269. case HostComponent:
  20270. var type = fiber.type;
  20271. var props = fiber.pendingProps;
  20272. didNotFindHydratableContainerInstance(parentContainer, type, props);
  20273. break;
  20274. case HostText:
  20275. var text = fiber.pendingProps;
  20276. didNotFindHydratableContainerTextInstance(parentContainer, text);
  20277. break;
  20278. }
  20279. break;
  20280. }
  20281. case HostComponent:
  20282. {
  20283. var parentType = returnFiber.type;
  20284. var parentProps = returnFiber.memoizedProps;
  20285. var parentInstance = returnFiber.stateNode;
  20286. switch (fiber.tag) {
  20287. case HostComponent:
  20288. var _type = fiber.type;
  20289. var _props = fiber.pendingProps;
  20290. didNotFindHydratableInstance(parentType, parentProps, parentInstance, _type, _props);
  20291. break;
  20292. case HostText:
  20293. var _text = fiber.pendingProps;
  20294. didNotFindHydratableTextInstance(parentType, parentProps, parentInstance, _text);
  20295. break;
  20296. }
  20297. break;
  20298. }
  20299. default:
  20300. return;
  20301. }
  20302. }
  20303. }
  20304. function tryHydrate(fiber, nextInstance) {
  20305. switch (fiber.tag) {
  20306. case HostComponent:
  20307. {
  20308. var type = fiber.type;
  20309. var props = fiber.pendingProps;
  20310. var instance = canHydrateInstance(nextInstance, type, props);
  20311. if (instance !== null) {
  20312. fiber.stateNode = instance;
  20313. return true;
  20314. }
  20315. return false;
  20316. }
  20317. case HostText:
  20318. {
  20319. var text = fiber.pendingProps;
  20320. var textInstance = canHydrateTextInstance(nextInstance, text);
  20321. if (textInstance !== null) {
  20322. fiber.stateNode = textInstance;
  20323. return true;
  20324. }
  20325. return false;
  20326. }
  20327. default:
  20328. return false;
  20329. }
  20330. }
  20331. function tryToClaimNextHydratableInstance(fiber) {
  20332. if (!isHydrating) {
  20333. return;
  20334. }
  20335. var nextInstance = nextHydratableInstance;
  20336. if (!nextInstance) {
  20337. // Nothing to hydrate. Make it an insertion.
  20338. insertNonHydratedInstance(hydrationParentFiber, fiber);
  20339. isHydrating = false;
  20340. hydrationParentFiber = fiber;
  20341. return;
  20342. }
  20343. var firstAttemptedInstance = nextInstance;
  20344. if (!tryHydrate(fiber, nextInstance)) {
  20345. // If we can't hydrate this instance let's try the next one.
  20346. // We use this as a heuristic. It's based on intuition and not data so it
  20347. // might be flawed or unnecessary.
  20348. nextInstance = getNextHydratableSibling(firstAttemptedInstance);
  20349. if (!nextInstance || !tryHydrate(fiber, nextInstance)) {
  20350. // Nothing to hydrate. Make it an insertion.
  20351. insertNonHydratedInstance(hydrationParentFiber, fiber);
  20352. isHydrating = false;
  20353. hydrationParentFiber = fiber;
  20354. return;
  20355. }
  20356. // We matched the next one, we'll now assume that the first one was
  20357. // superfluous and we'll delete it. Since we can't eagerly delete it
  20358. // we'll have to schedule a deletion. To do that, this node needs a dummy
  20359. // fiber associated with it.
  20360. deleteHydratableInstance(hydrationParentFiber, firstAttemptedInstance);
  20361. }
  20362. hydrationParentFiber = fiber;
  20363. nextHydratableInstance = getFirstHydratableChild(nextInstance);
  20364. }
  20365. function prepareToHydrateHostInstance(fiber, rootContainerInstance, hostContext) {
  20366. if (!supportsHydration) {
  20367. invariant(false, 'Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.');
  20368. }
  20369. var instance = fiber.stateNode;
  20370. var updatePayload = hydrateInstance(instance, fiber.type, fiber.memoizedProps, rootContainerInstance, hostContext, fiber);
  20371. // TODO: Type this specific to this type of component.
  20372. fiber.updateQueue = updatePayload;
  20373. // If the update payload indicates that there is a change or if there
  20374. // is a new ref we mark this as an update.
  20375. if (updatePayload !== null) {
  20376. return true;
  20377. }
  20378. return false;
  20379. }
  20380. function prepareToHydrateHostTextInstance(fiber) {
  20381. if (!supportsHydration) {
  20382. invariant(false, 'Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.');
  20383. }
  20384. var textInstance = fiber.stateNode;
  20385. var textContent = fiber.memoizedProps;
  20386. var shouldUpdate = hydrateTextInstance(textInstance, textContent, fiber);
  20387. {
  20388. if (shouldUpdate) {
  20389. // We assume that prepareToHydrateHostTextInstance is called in a context where the
  20390. // hydration parent is the parent host component of this host text.
  20391. var returnFiber = hydrationParentFiber;
  20392. if (returnFiber !== null) {
  20393. switch (returnFiber.tag) {
  20394. case HostRoot:
  20395. {
  20396. var parentContainer = returnFiber.stateNode.containerInfo;
  20397. didNotMatchHydratedContainerTextInstance(parentContainer, textInstance, textContent);
  20398. break;
  20399. }
  20400. case HostComponent:
  20401. {
  20402. var parentType = returnFiber.type;
  20403. var parentProps = returnFiber.memoizedProps;
  20404. var parentInstance = returnFiber.stateNode;
  20405. didNotMatchHydratedTextInstance(parentType, parentProps, parentInstance, textInstance, textContent);
  20406. break;
  20407. }
  20408. }
  20409. }
  20410. }
  20411. }
  20412. return shouldUpdate;
  20413. }
  20414. function popToNextHostParent(fiber) {
  20415. var parent = fiber.return;
  20416. while (parent !== null && parent.tag !== HostComponent && parent.tag !== HostRoot) {
  20417. parent = parent.return;
  20418. }
  20419. hydrationParentFiber = parent;
  20420. }
  20421. function popHydrationState(fiber) {
  20422. if (!supportsHydration) {
  20423. return false;
  20424. }
  20425. if (fiber !== hydrationParentFiber) {
  20426. // We're deeper than the current hydration context, inside an inserted
  20427. // tree.
  20428. return false;
  20429. }
  20430. if (!isHydrating) {
  20431. // If we're not currently hydrating but we're in a hydration context, then
  20432. // we were an insertion and now need to pop up reenter hydration of our
  20433. // siblings.
  20434. popToNextHostParent(fiber);
  20435. isHydrating = true;
  20436. return false;
  20437. }
  20438. var type = fiber.type;
  20439. // If we have any remaining hydratable nodes, we need to delete them now.
  20440. // We only do this deeper than head and body since they tend to have random
  20441. // other nodes in them. We also ignore components with pure text content in
  20442. // side of them.
  20443. // TODO: Better heuristic.
  20444. if (fiber.tag !== HostComponent || type !== 'head' && type !== 'body' && !shouldSetTextContent(type, fiber.memoizedProps)) {
  20445. var nextInstance = nextHydratableInstance;
  20446. while (nextInstance) {
  20447. deleteHydratableInstance(fiber, nextInstance);
  20448. nextInstance = getNextHydratableSibling(nextInstance);
  20449. }
  20450. }
  20451. popToNextHostParent(fiber);
  20452. nextHydratableInstance = hydrationParentFiber ? getNextHydratableSibling(fiber.stateNode) : null;
  20453. return true;
  20454. }
  20455. function resetHydrationState() {
  20456. if (!supportsHydration) {
  20457. return;
  20458. }
  20459. hydrationParentFiber = null;
  20460. nextHydratableInstance = null;
  20461. isHydrating = false;
  20462. }
  20463. var ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner;
  20464. var didWarnAboutBadClass = void 0;
  20465. var didWarnAboutContextTypeOnFunctionComponent = void 0;
  20466. var didWarnAboutGetDerivedStateOnFunctionComponent = void 0;
  20467. var didWarnAboutFunctionRefs = void 0;
  20468. {
  20469. didWarnAboutBadClass = {};
  20470. didWarnAboutContextTypeOnFunctionComponent = {};
  20471. didWarnAboutGetDerivedStateOnFunctionComponent = {};
  20472. didWarnAboutFunctionRefs = {};
  20473. }
  20474. function reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime) {
  20475. if (current$$1 === null) {
  20476. // If this is a fresh new component that hasn't been rendered yet, we
  20477. // won't update its child set by applying minimal side-effects. Instead,
  20478. // we will add them all to the child before it gets rendered. That means
  20479. // we can optimize this reconciliation pass by not tracking side-effects.
  20480. workInProgress.child = mountChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
  20481. } else {
  20482. // If the current child is the same as the work in progress, it means that
  20483. // we haven't yet started any work on these children. Therefore, we use
  20484. // the clone algorithm to create a copy of all the current children.
  20485. // If we had any progressed work already, that is invalid at this point so
  20486. // let's throw it out.
  20487. workInProgress.child = reconcileChildFibers(workInProgress, current$$1.child, nextChildren, renderExpirationTime);
  20488. }
  20489. }
  20490. function forceUnmountCurrentAndReconcile(current$$1, workInProgress, nextChildren, renderExpirationTime) {
  20491. // This function is fork of reconcileChildren. It's used in cases where we
  20492. // want to reconcile without matching against the existing set. This has the
  20493. // effect of all current children being unmounted; even if the type and key
  20494. // are the same, the old child is unmounted and a new child is created.
  20495. //
  20496. // To do this, we're going to go through the reconcile algorithm twice. In
  20497. // the first pass, we schedule a deletion for all the current children by
  20498. // passing null.
  20499. workInProgress.child = reconcileChildFibers(workInProgress, current$$1.child, null, renderExpirationTime);
  20500. // In the second pass, we mount the new children. The trick here is that we
  20501. // pass null in place of where we usually pass the current child set. This has
  20502. // the effect of remounting all children regardless of whether their their
  20503. // identity matches.
  20504. workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
  20505. }
  20506. function updateForwardRef(current$$1, workInProgress, Component, nextProps, renderExpirationTime) {
  20507. var render = Component.render;
  20508. var ref = workInProgress.ref;
  20509. // The rest is a fork of updateFunctionComponent
  20510. var nextChildren = void 0;
  20511. prepareToReadContext(workInProgress, renderExpirationTime);
  20512. prepareToUseHooks(current$$1, workInProgress, renderExpirationTime);
  20513. {
  20514. ReactCurrentOwner$3.current = workInProgress;
  20515. setCurrentPhase('render');
  20516. nextChildren = render(nextProps, ref);
  20517. setCurrentPhase(null);
  20518. }
  20519. nextChildren = finishHooks(render, nextProps, nextChildren, ref);
  20520. // React DevTools reads this flag.
  20521. workInProgress.effectTag |= PerformedWork;
  20522. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20523. return workInProgress.child;
  20524. }
  20525. function updateMemoComponent(current$$1, workInProgress, Component, nextProps, updateExpirationTime, renderExpirationTime) {
  20526. if (current$$1 === null) {
  20527. var type = Component.type;
  20528. if (isSimpleFunctionComponent(type) && Component.compare === null) {
  20529. // If this is a plain function component without default props,
  20530. // and with only the default shallow comparison, we upgrade it
  20531. // to a SimpleMemoComponent to allow fast path updates.
  20532. workInProgress.tag = SimpleMemoComponent;
  20533. workInProgress.type = type;
  20534. return updateSimpleMemoComponent(current$$1, workInProgress, type, nextProps, updateExpirationTime, renderExpirationTime);
  20535. }
  20536. var child = createFiberFromTypeAndProps(Component.type, null, nextProps, null, workInProgress.mode, renderExpirationTime);
  20537. child.ref = workInProgress.ref;
  20538. child.return = workInProgress;
  20539. workInProgress.child = child;
  20540. return child;
  20541. }
  20542. var currentChild = current$$1.child; // This is always exactly one child
  20543. if (updateExpirationTime < renderExpirationTime) {
  20544. // This will be the props with resolved defaultProps,
  20545. // unlike current.memoizedProps which will be the unresolved ones.
  20546. var prevProps = currentChild.memoizedProps;
  20547. // Default to shallow comparison
  20548. var compare = Component.compare;
  20549. compare = compare !== null ? compare : shallowEqual;
  20550. if (compare(prevProps, nextProps) && current$$1.ref === workInProgress.ref) {
  20551. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  20552. }
  20553. }
  20554. // React DevTools reads this flag.
  20555. workInProgress.effectTag |= PerformedWork;
  20556. var newChild = createWorkInProgress(currentChild, nextProps, renderExpirationTime);
  20557. newChild.ref = workInProgress.ref;
  20558. newChild.return = workInProgress;
  20559. workInProgress.child = newChild;
  20560. return newChild;
  20561. }
  20562. function updateSimpleMemoComponent(current$$1, workInProgress, Component, nextProps, updateExpirationTime, renderExpirationTime) {
  20563. if (current$$1 !== null && updateExpirationTime < renderExpirationTime) {
  20564. var prevProps = current$$1.memoizedProps;
  20565. if (shallowEqual(prevProps, nextProps) && current$$1.ref === workInProgress.ref) {
  20566. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  20567. }
  20568. }
  20569. return updateFunctionComponent(current$$1, workInProgress, Component, nextProps, renderExpirationTime);
  20570. }
  20571. function updateFragment(current$$1, workInProgress, renderExpirationTime) {
  20572. var nextChildren = workInProgress.pendingProps;
  20573. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20574. return workInProgress.child;
  20575. }
  20576. function updateMode(current$$1, workInProgress, renderExpirationTime) {
  20577. var nextChildren = workInProgress.pendingProps.children;
  20578. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20579. return workInProgress.child;
  20580. }
  20581. function updateProfiler(current$$1, workInProgress, renderExpirationTime) {
  20582. if (enableProfilerTimer) {
  20583. workInProgress.effectTag |= Update;
  20584. }
  20585. var nextProps = workInProgress.pendingProps;
  20586. var nextChildren = nextProps.children;
  20587. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20588. return workInProgress.child;
  20589. }
  20590. function markRef(current$$1, workInProgress) {
  20591. var ref = workInProgress.ref;
  20592. if (current$$1 === null && ref !== null || current$$1 !== null && current$$1.ref !== ref) {
  20593. // Schedule a Ref effect
  20594. workInProgress.effectTag |= Ref;
  20595. }
  20596. }
  20597. function updateFunctionComponent(current$$1, workInProgress, Component, nextProps, renderExpirationTime) {
  20598. var unmaskedContext = getUnmaskedContext(workInProgress, Component, true);
  20599. var context = getMaskedContext(workInProgress, unmaskedContext);
  20600. var nextChildren = void 0;
  20601. prepareToReadContext(workInProgress, renderExpirationTime);
  20602. prepareToUseHooks(current$$1, workInProgress, renderExpirationTime);
  20603. {
  20604. ReactCurrentOwner$3.current = workInProgress;
  20605. setCurrentPhase('render');
  20606. nextChildren = Component(nextProps, context);
  20607. setCurrentPhase(null);
  20608. }
  20609. nextChildren = finishHooks(Component, nextProps, nextChildren, context);
  20610. // React DevTools reads this flag.
  20611. workInProgress.effectTag |= PerformedWork;
  20612. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20613. return workInProgress.child;
  20614. }
  20615. function updateClassComponent(current$$1, workInProgress, Component, nextProps, renderExpirationTime) {
  20616. // Push context providers early to prevent context stack mismatches.
  20617. // During mounting we don't know the child context yet as the instance doesn't exist.
  20618. // We will invalidate the child context in finishClassComponent() right after rendering.
  20619. var hasContext = void 0;
  20620. if (isContextProvider(Component)) {
  20621. hasContext = true;
  20622. pushContextProvider(workInProgress);
  20623. } else {
  20624. hasContext = false;
  20625. }
  20626. prepareToReadContext(workInProgress, renderExpirationTime);
  20627. var instance = workInProgress.stateNode;
  20628. var shouldUpdate = void 0;
  20629. if (instance === null) {
  20630. if (current$$1 !== null) {
  20631. // An class component without an instance only mounts if it suspended
  20632. // inside a non- concurrent tree, in an inconsistent state. We want to
  20633. // tree it like a new mount, even though an empty version of it already
  20634. // committed. Disconnect the alternate pointers.
  20635. current$$1.alternate = null;
  20636. workInProgress.alternate = null;
  20637. // Since this is conceptually a new fiber, schedule a Placement effect
  20638. workInProgress.effectTag |= Placement;
  20639. }
  20640. // In the initial pass we might need to construct the instance.
  20641. constructClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
  20642. mountClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
  20643. shouldUpdate = true;
  20644. } else if (current$$1 === null) {
  20645. // In a resume, we'll already have an instance we can reuse.
  20646. shouldUpdate = resumeMountClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
  20647. } else {
  20648. shouldUpdate = updateClassInstance(current$$1, workInProgress, Component, nextProps, renderExpirationTime);
  20649. }
  20650. return finishClassComponent(current$$1, workInProgress, Component, shouldUpdate, hasContext, renderExpirationTime);
  20651. }
  20652. function finishClassComponent(current$$1, workInProgress, Component, shouldUpdate, hasContext, renderExpirationTime) {
  20653. // Refs should update even if shouldComponentUpdate returns false
  20654. markRef(current$$1, workInProgress);
  20655. var didCaptureError = (workInProgress.effectTag & DidCapture) !== NoEffect;
  20656. if (!shouldUpdate && !didCaptureError) {
  20657. // Context providers should defer to sCU for rendering
  20658. if (hasContext) {
  20659. invalidateContextProvider(workInProgress, Component, false);
  20660. }
  20661. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  20662. }
  20663. var instance = workInProgress.stateNode;
  20664. // Rerender
  20665. ReactCurrentOwner$3.current = workInProgress;
  20666. var nextChildren = void 0;
  20667. if (didCaptureError && typeof Component.getDerivedStateFromError !== 'function') {
  20668. // If we captured an error, but getDerivedStateFrom catch is not defined,
  20669. // unmount all the children. componentDidCatch will schedule an update to
  20670. // re-render a fallback. This is temporary until we migrate everyone to
  20671. // the new API.
  20672. // TODO: Warn in a future release.
  20673. nextChildren = null;
  20674. if (enableProfilerTimer) {
  20675. stopProfilerTimerIfRunning(workInProgress);
  20676. }
  20677. } else {
  20678. {
  20679. setCurrentPhase('render');
  20680. nextChildren = instance.render();
  20681. if (debugRenderPhaseSideEffects || debugRenderPhaseSideEffectsForStrictMode && workInProgress.mode & StrictMode) {
  20682. instance.render();
  20683. }
  20684. setCurrentPhase(null);
  20685. }
  20686. }
  20687. // React DevTools reads this flag.
  20688. workInProgress.effectTag |= PerformedWork;
  20689. if (current$$1 !== null && didCaptureError) {
  20690. // If we're recovering from an error, reconcile without reusing any of
  20691. // the existing children. Conceptually, the normal children and the children
  20692. // that are shown on error are two different sets, so we shouldn't reuse
  20693. // normal children even if their identities match.
  20694. forceUnmountCurrentAndReconcile(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20695. } else {
  20696. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20697. }
  20698. // Memoize state using the values we just used to render.
  20699. // TODO: Restructure so we never read values from the instance.
  20700. workInProgress.memoizedState = instance.state;
  20701. // The context might have changed so we need to recalculate it.
  20702. if (hasContext) {
  20703. invalidateContextProvider(workInProgress, Component, true);
  20704. }
  20705. return workInProgress.child;
  20706. }
  20707. function pushHostRootContext(workInProgress) {
  20708. var root = workInProgress.stateNode;
  20709. if (root.pendingContext) {
  20710. pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
  20711. } else if (root.context) {
  20712. // Should always be set
  20713. pushTopLevelContextObject(workInProgress, root.context, false);
  20714. }
  20715. pushHostContainer(workInProgress, root.containerInfo);
  20716. }
  20717. function updateHostRoot(current$$1, workInProgress, renderExpirationTime) {
  20718. pushHostRootContext(workInProgress);
  20719. var updateQueue = workInProgress.updateQueue;
  20720. !(updateQueue !== null) ? invariant(false, 'If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  20721. var nextProps = workInProgress.pendingProps;
  20722. var prevState = workInProgress.memoizedState;
  20723. var prevChildren = prevState !== null ? prevState.element : null;
  20724. processUpdateQueue(workInProgress, updateQueue, nextProps, null, renderExpirationTime);
  20725. var nextState = workInProgress.memoizedState;
  20726. // Caution: React DevTools currently depends on this property
  20727. // being called "element".
  20728. var nextChildren = nextState.element;
  20729. if (nextChildren === prevChildren) {
  20730. // If the state is the same as before, that's a bailout because we had
  20731. // no work that expires at this time.
  20732. resetHydrationState();
  20733. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  20734. }
  20735. var root = workInProgress.stateNode;
  20736. if ((current$$1 === null || current$$1.child === null) && root.hydrate && enterHydrationState(workInProgress)) {
  20737. // If we don't have any current children this might be the first pass.
  20738. // We always try to hydrate. If this isn't a hydration pass there won't
  20739. // be any children to hydrate which is effectively the same thing as
  20740. // not hydrating.
  20741. // This is a bit of a hack. We track the host root as a placement to
  20742. // know that we're currently in a mounting state. That way isMounted
  20743. // works as expected. We must reset this before committing.
  20744. // TODO: Delete this when we delete isMounted and findDOMNode.
  20745. workInProgress.effectTag |= Placement;
  20746. // Ensure that children mount into this root without tracking
  20747. // side-effects. This ensures that we don't store Placement effects on
  20748. // nodes that will be hydrated.
  20749. workInProgress.child = mountChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
  20750. } else {
  20751. // Otherwise reset hydration state in case we aborted and resumed another
  20752. // root.
  20753. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20754. resetHydrationState();
  20755. }
  20756. return workInProgress.child;
  20757. }
  20758. function updateHostComponent(current$$1, workInProgress, renderExpirationTime) {
  20759. pushHostContext(workInProgress);
  20760. if (current$$1 === null) {
  20761. tryToClaimNextHydratableInstance(workInProgress);
  20762. }
  20763. var type = workInProgress.type;
  20764. var nextProps = workInProgress.pendingProps;
  20765. var prevProps = current$$1 !== null ? current$$1.memoizedProps : null;
  20766. var nextChildren = nextProps.children;
  20767. var isDirectTextChild = shouldSetTextContent(type, nextProps);
  20768. if (isDirectTextChild) {
  20769. // We special case a direct text child of a host node. This is a common
  20770. // case. We won't handle it as a reified child. We will instead handle
  20771. // this in the host environment that also have access to this prop. That
  20772. // avoids allocating another HostText fiber and traversing it.
  20773. nextChildren = null;
  20774. } else if (prevProps !== null && shouldSetTextContent(type, prevProps)) {
  20775. // If we're switching from a direct text child to a normal child, or to
  20776. // empty, we need to schedule the text content to be reset.
  20777. workInProgress.effectTag |= ContentReset;
  20778. }
  20779. markRef(current$$1, workInProgress);
  20780. // Check the host config to see if the children are offscreen/hidden.
  20781. if (renderExpirationTime !== Never && workInProgress.mode & ConcurrentMode && shouldDeprioritizeSubtree(type, nextProps)) {
  20782. // Schedule this fiber to re-render at offscreen priority. Then bailout.
  20783. workInProgress.expirationTime = Never;
  20784. return null;
  20785. }
  20786. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  20787. return workInProgress.child;
  20788. }
  20789. function updateHostText(current$$1, workInProgress) {
  20790. if (current$$1 === null) {
  20791. tryToClaimNextHydratableInstance(workInProgress);
  20792. }
  20793. // Nothing to do here. This is terminal. We'll do the completion step
  20794. // immediately after.
  20795. return null;
  20796. }
  20797. function mountLazyComponent(_current, workInProgress, elementType, updateExpirationTime, renderExpirationTime) {
  20798. if (_current !== null) {
  20799. // An lazy component only mounts if it suspended inside a non-
  20800. // concurrent tree, in an inconsistent state. We want to treat it like
  20801. // a new mount, even though an empty version of it already committed.
  20802. // Disconnect the alternate pointers.
  20803. _current.alternate = null;
  20804. workInProgress.alternate = null;
  20805. // Since this is conceptually a new fiber, schedule a Placement effect
  20806. workInProgress.effectTag |= Placement;
  20807. }
  20808. var props = workInProgress.pendingProps;
  20809. // We can't start a User Timing measurement with correct label yet.
  20810. // Cancel and resume right after we know the tag.
  20811. cancelWorkTimer(workInProgress);
  20812. var Component = readLazyComponentType(elementType);
  20813. // Store the unwrapped component in the type.
  20814. workInProgress.type = Component;
  20815. var resolvedTag = workInProgress.tag = resolveLazyComponentTag(Component);
  20816. startWorkTimer(workInProgress);
  20817. var resolvedProps = resolveDefaultProps(Component, props);
  20818. var child = void 0;
  20819. switch (resolvedTag) {
  20820. case FunctionComponent:
  20821. {
  20822. child = updateFunctionComponent(null, workInProgress, Component, resolvedProps, renderExpirationTime);
  20823. break;
  20824. }
  20825. case ClassComponent:
  20826. {
  20827. child = updateClassComponent(null, workInProgress, Component, resolvedProps, renderExpirationTime);
  20828. break;
  20829. }
  20830. case ForwardRef:
  20831. {
  20832. child = updateForwardRef(null, workInProgress, Component, resolvedProps, renderExpirationTime);
  20833. break;
  20834. }
  20835. case MemoComponent:
  20836. {
  20837. child = updateMemoComponent(null, workInProgress, Component, resolveDefaultProps(Component.type, resolvedProps), // The inner type can have defaults too
  20838. updateExpirationTime, renderExpirationTime);
  20839. break;
  20840. }
  20841. default:
  20842. {
  20843. // This message intentionally doesn't mention ForwardRef or MemoComponent
  20844. // because the fact that it's a separate type of work is an
  20845. // implementation detail.
  20846. invariant(false, 'Element type is invalid. Received a promise that resolves to: %s. Promise elements must resolve to a class or function.', Component);
  20847. }
  20848. }
  20849. return child;
  20850. }
  20851. function mountIncompleteClassComponent(_current, workInProgress, Component, nextProps, renderExpirationTime) {
  20852. if (_current !== null) {
  20853. // An incomplete component only mounts if it suspended inside a non-
  20854. // concurrent tree, in an inconsistent state. We want to treat it like
  20855. // a new mount, even though an empty version of it already committed.
  20856. // Disconnect the alternate pointers.
  20857. _current.alternate = null;
  20858. workInProgress.alternate = null;
  20859. // Since this is conceptually a new fiber, schedule a Placement effect
  20860. workInProgress.effectTag |= Placement;
  20861. }
  20862. // Promote the fiber to a class and try rendering again.
  20863. workInProgress.tag = ClassComponent;
  20864. // The rest of this function is a fork of `updateClassComponent`
  20865. // Push context providers early to prevent context stack mismatches.
  20866. // During mounting we don't know the child context yet as the instance doesn't exist.
  20867. // We will invalidate the child context in finishClassComponent() right after rendering.
  20868. var hasContext = void 0;
  20869. if (isContextProvider(Component)) {
  20870. hasContext = true;
  20871. pushContextProvider(workInProgress);
  20872. } else {
  20873. hasContext = false;
  20874. }
  20875. prepareToReadContext(workInProgress, renderExpirationTime);
  20876. constructClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
  20877. mountClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
  20878. return finishClassComponent(null, workInProgress, Component, true, hasContext, renderExpirationTime);
  20879. }
  20880. function mountIndeterminateComponent(_current, workInProgress, Component, renderExpirationTime) {
  20881. if (_current !== null) {
  20882. // An indeterminate component only mounts if it suspended inside a non-
  20883. // concurrent tree, in an inconsistent state. We want to treat it like
  20884. // a new mount, even though an empty version of it already committed.
  20885. // Disconnect the alternate pointers.
  20886. _current.alternate = null;
  20887. workInProgress.alternate = null;
  20888. // Since this is conceptually a new fiber, schedule a Placement effect
  20889. workInProgress.effectTag |= Placement;
  20890. }
  20891. var props = workInProgress.pendingProps;
  20892. var unmaskedContext = getUnmaskedContext(workInProgress, Component, false);
  20893. var context = getMaskedContext(workInProgress, unmaskedContext);
  20894. prepareToReadContext(workInProgress, renderExpirationTime);
  20895. prepareToUseHooks(null, workInProgress, renderExpirationTime);
  20896. var value = void 0;
  20897. {
  20898. if (Component.prototype && typeof Component.prototype.render === 'function') {
  20899. var componentName = getComponentName(Component) || 'Unknown';
  20900. if (!didWarnAboutBadClass[componentName]) {
  20901. warningWithoutStack$1(false, "The <%s /> component appears to have a render method, but doesn't extend React.Component. " + 'This is likely to cause errors. Change %s to extend React.Component instead.', componentName, componentName);
  20902. didWarnAboutBadClass[componentName] = true;
  20903. }
  20904. }
  20905. if (workInProgress.mode & StrictMode) {
  20906. ReactStrictModeWarnings.recordLegacyContextWarning(workInProgress, null);
  20907. }
  20908. ReactCurrentOwner$3.current = workInProgress;
  20909. value = Component(props, context);
  20910. }
  20911. // React DevTools reads this flag.
  20912. workInProgress.effectTag |= PerformedWork;
  20913. if (typeof value === 'object' && value !== null && typeof value.render === 'function' && value.$$typeof === undefined) {
  20914. // Proceed under the assumption that this is a class instance
  20915. workInProgress.tag = ClassComponent;
  20916. // Throw out any hooks that were used.
  20917. resetHooks();
  20918. // Push context providers early to prevent context stack mismatches.
  20919. // During mounting we don't know the child context yet as the instance doesn't exist.
  20920. // We will invalidate the child context in finishClassComponent() right after rendering.
  20921. var hasContext = false;
  20922. if (isContextProvider(Component)) {
  20923. hasContext = true;
  20924. pushContextProvider(workInProgress);
  20925. } else {
  20926. hasContext = false;
  20927. }
  20928. workInProgress.memoizedState = value.state !== null && value.state !== undefined ? value.state : null;
  20929. var getDerivedStateFromProps = Component.getDerivedStateFromProps;
  20930. if (typeof getDerivedStateFromProps === 'function') {
  20931. applyDerivedStateFromProps(workInProgress, Component, getDerivedStateFromProps, props);
  20932. }
  20933. adoptClassInstance(workInProgress, value);
  20934. mountClassInstance(workInProgress, Component, props, renderExpirationTime);
  20935. return finishClassComponent(null, workInProgress, Component, true, hasContext, renderExpirationTime);
  20936. } else {
  20937. // Proceed under the assumption that this is a function component
  20938. workInProgress.tag = FunctionComponent;
  20939. value = finishHooks(Component, props, value, context);
  20940. {
  20941. if (Component) {
  20942. !!Component.childContextTypes ? warningWithoutStack$1(false, '%s(...): childContextTypes cannot be defined on a function component.', Component.displayName || Component.name || 'Component') : void 0;
  20943. }
  20944. if (workInProgress.ref !== null) {
  20945. var info = '';
  20946. var ownerName = getCurrentFiberOwnerNameInDevOrNull();
  20947. if (ownerName) {
  20948. info += '\n\nCheck the render method of `' + ownerName + '`.';
  20949. }
  20950. var warningKey = ownerName || workInProgress._debugID || '';
  20951. var debugSource = workInProgress._debugSource;
  20952. if (debugSource) {
  20953. warningKey = debugSource.fileName + ':' + debugSource.lineNumber;
  20954. }
  20955. if (!didWarnAboutFunctionRefs[warningKey]) {
  20956. didWarnAboutFunctionRefs[warningKey] = true;
  20957. warning$1(false, 'Function components cannot be given refs. ' + 'Attempts to access this ref will fail.%s', info);
  20958. }
  20959. }
  20960. if (typeof Component.getDerivedStateFromProps === 'function') {
  20961. var _componentName = getComponentName(Component) || 'Unknown';
  20962. if (!didWarnAboutGetDerivedStateOnFunctionComponent[_componentName]) {
  20963. warningWithoutStack$1(false, '%s: Function components do not support getDerivedStateFromProps.', _componentName);
  20964. didWarnAboutGetDerivedStateOnFunctionComponent[_componentName] = true;
  20965. }
  20966. }
  20967. if (typeof Component.contextType === 'object' && Component.contextType !== null) {
  20968. var _componentName2 = getComponentName(Component) || 'Unknown';
  20969. if (!didWarnAboutContextTypeOnFunctionComponent[_componentName2]) {
  20970. warningWithoutStack$1(false, '%s: Function components do not support contextType.', _componentName2);
  20971. didWarnAboutContextTypeOnFunctionComponent[_componentName2] = true;
  20972. }
  20973. }
  20974. }
  20975. reconcileChildren(null, workInProgress, value, renderExpirationTime);
  20976. return workInProgress.child;
  20977. }
  20978. }
  20979. function updateSuspenseComponent(current$$1, workInProgress, renderExpirationTime) {
  20980. var mode = workInProgress.mode;
  20981. var nextProps = workInProgress.pendingProps;
  20982. // We should attempt to render the primary children unless this boundary
  20983. // already suspended during this render (`alreadyCaptured` is true).
  20984. var nextState = workInProgress.memoizedState;
  20985. var nextDidTimeout = void 0;
  20986. if ((workInProgress.effectTag & DidCapture) === NoEffect) {
  20987. // This is the first attempt.
  20988. nextState = null;
  20989. nextDidTimeout = false;
  20990. } else {
  20991. // Something in this boundary's subtree already suspended. Switch to
  20992. // rendering the fallback children.
  20993. nextState = {
  20994. timedOutAt: nextState !== null ? nextState.timedOutAt : NoWork
  20995. };
  20996. nextDidTimeout = true;
  20997. workInProgress.effectTag &= ~DidCapture;
  20998. }
  20999. // This next part is a bit confusing. If the children timeout, we switch to
  21000. // showing the fallback children in place of the "primary" children.
  21001. // However, we don't want to delete the primary children because then their
  21002. // state will be lost (both the React state and the host state, e.g.
  21003. // uncontrolled form inputs). Instead we keep them mounted and hide them.
  21004. // Both the fallback children AND the primary children are rendered at the
  21005. // same time. Once the primary children are un-suspended, we can delete
  21006. // the fallback children — don't need to preserve their state.
  21007. //
  21008. // The two sets of children are siblings in the host environment, but
  21009. // semantically, for purposes of reconciliation, they are two separate sets.
  21010. // So we store them using two fragment fibers.
  21011. //
  21012. // However, we want to avoid allocating extra fibers for every placeholder.
  21013. // They're only necessary when the children time out, because that's the
  21014. // only time when both sets are mounted.
  21015. //
  21016. // So, the extra fragment fibers are only used if the children time out.
  21017. // Otherwise, we render the primary children directly. This requires some
  21018. // custom reconciliation logic to preserve the state of the primary
  21019. // children. It's essentially a very basic form of re-parenting.
  21020. // `child` points to the child fiber. In the normal case, this is the first
  21021. // fiber of the primary children set. In the timed-out case, it's a
  21022. // a fragment fiber containing the primary children.
  21023. var child = void 0;
  21024. // `next` points to the next fiber React should render. In the normal case,
  21025. // it's the same as `child`: the first fiber of the primary children set.
  21026. // In the timed-out case, it's a fragment fiber containing the *fallback*
  21027. // children -- we skip over the primary children entirely.
  21028. var next = void 0;
  21029. if (current$$1 === null) {
  21030. // This is the initial mount. This branch is pretty simple because there's
  21031. // no previous state that needs to be preserved.
  21032. if (nextDidTimeout) {
  21033. // Mount separate fragments for primary and fallback children.
  21034. var nextFallbackChildren = nextProps.fallback;
  21035. var primaryChildFragment = createFiberFromFragment(null, mode, NoWork, null);
  21036. if ((workInProgress.mode & ConcurrentMode) === NoContext) {
  21037. // Outside of concurrent mode, we commit the effects from the
  21038. var progressedState = workInProgress.memoizedState;
  21039. var progressedPrimaryChild = progressedState !== null ? workInProgress.child.child : workInProgress.child;
  21040. primaryChildFragment.child = progressedPrimaryChild;
  21041. }
  21042. var fallbackChildFragment = createFiberFromFragment(nextFallbackChildren, mode, renderExpirationTime, null);
  21043. primaryChildFragment.sibling = fallbackChildFragment;
  21044. child = primaryChildFragment;
  21045. // Skip the primary children, and continue working on the
  21046. // fallback children.
  21047. next = fallbackChildFragment;
  21048. child.return = next.return = workInProgress;
  21049. } else {
  21050. // Mount the primary children without an intermediate fragment fiber.
  21051. var nextPrimaryChildren = nextProps.children;
  21052. child = next = mountChildFibers(workInProgress, null, nextPrimaryChildren, renderExpirationTime);
  21053. }
  21054. } else {
  21055. // This is an update. This branch is more complicated because we need to
  21056. // ensure the state of the primary children is preserved.
  21057. var prevState = current$$1.memoizedState;
  21058. var prevDidTimeout = prevState !== null;
  21059. if (prevDidTimeout) {
  21060. // The current tree already timed out. That means each child set is
  21061. var currentPrimaryChildFragment = current$$1.child;
  21062. var currentFallbackChildFragment = currentPrimaryChildFragment.sibling;
  21063. if (nextDidTimeout) {
  21064. // Still timed out. Reuse the current primary children by cloning
  21065. // its fragment. We're going to skip over these entirely.
  21066. var _nextFallbackChildren = nextProps.fallback;
  21067. var _primaryChildFragment = createWorkInProgress(currentPrimaryChildFragment, currentPrimaryChildFragment.pendingProps, NoWork);
  21068. if ((workInProgress.mode & ConcurrentMode) === NoContext) {
  21069. // Outside of concurrent mode, we commit the effects from the
  21070. var _progressedState = workInProgress.memoizedState;
  21071. var _progressedPrimaryChild = _progressedState !== null ? workInProgress.child.child : workInProgress.child;
  21072. if (_progressedPrimaryChild !== currentPrimaryChildFragment.child) {
  21073. _primaryChildFragment.child = _progressedPrimaryChild;
  21074. }
  21075. }
  21076. // Because primaryChildFragment is a new fiber that we're inserting as the
  21077. // parent of a new tree, we need to set its treeBaseDuration.
  21078. if (enableProfilerTimer && workInProgress.mode & ProfileMode) {
  21079. // treeBaseDuration is the sum of all the child tree base durations.
  21080. var treeBaseDuration = 0;
  21081. var hiddenChild = _primaryChildFragment.child;
  21082. while (hiddenChild !== null) {
  21083. treeBaseDuration += hiddenChild.treeBaseDuration;
  21084. hiddenChild = hiddenChild.sibling;
  21085. }
  21086. _primaryChildFragment.treeBaseDuration = treeBaseDuration;
  21087. }
  21088. // Clone the fallback child fragment, too. These we'll continue
  21089. // working on.
  21090. var _fallbackChildFragment = _primaryChildFragment.sibling = createWorkInProgress(currentFallbackChildFragment, _nextFallbackChildren, currentFallbackChildFragment.expirationTime);
  21091. child = _primaryChildFragment;
  21092. _primaryChildFragment.childExpirationTime = NoWork;
  21093. // Skip the primary children, and continue working on the
  21094. // fallback children.
  21095. next = _fallbackChildFragment;
  21096. child.return = next.return = workInProgress;
  21097. } else {
  21098. // No longer suspended. Switch back to showing the primary children,
  21099. // and remove the intermediate fragment fiber.
  21100. var _nextPrimaryChildren = nextProps.children;
  21101. var currentPrimaryChild = currentPrimaryChildFragment.child;
  21102. var primaryChild = reconcileChildFibers(workInProgress, currentPrimaryChild, _nextPrimaryChildren, renderExpirationTime);
  21103. // If this render doesn't suspend, we need to delete the fallback
  21104. // children. Wait until the complete phase, after we've confirmed the
  21105. // fallback is no longer needed.
  21106. // TODO: Would it be better to store the fallback fragment on
  21107. // the stateNode?
  21108. // Continue rendering the children, like we normally do.
  21109. child = next = primaryChild;
  21110. }
  21111. } else {
  21112. // The current tree has not already timed out. That means the primary
  21113. // children are not wrapped in a fragment fiber.
  21114. var _currentPrimaryChild = current$$1.child;
  21115. if (nextDidTimeout) {
  21116. // Timed out. Wrap the children in a fragment fiber to keep them
  21117. // separate from the fallback children.
  21118. var _nextFallbackChildren2 = nextProps.fallback;
  21119. var _primaryChildFragment2 = createFiberFromFragment(
  21120. // It shouldn't matter what the pending props are because we aren't
  21121. // going to render this fragment.
  21122. null, mode, NoWork, null);
  21123. _primaryChildFragment2.child = _currentPrimaryChild;
  21124. // Even though we're creating a new fiber, there are no new children,
  21125. // because we're reusing an already mounted tree. So we don't need to
  21126. // schedule a placement.
  21127. // primaryChildFragment.effectTag |= Placement;
  21128. if ((workInProgress.mode & ConcurrentMode) === NoContext) {
  21129. // Outside of concurrent mode, we commit the effects from the
  21130. var _progressedState2 = workInProgress.memoizedState;
  21131. var _progressedPrimaryChild2 = _progressedState2 !== null ? workInProgress.child.child : workInProgress.child;
  21132. _primaryChildFragment2.child = _progressedPrimaryChild2;
  21133. }
  21134. // Because primaryChildFragment is a new fiber that we're inserting as the
  21135. // parent of a new tree, we need to set its treeBaseDuration.
  21136. if (enableProfilerTimer && workInProgress.mode & ProfileMode) {
  21137. // treeBaseDuration is the sum of all the child tree base durations.
  21138. var _treeBaseDuration = 0;
  21139. var _hiddenChild = _primaryChildFragment2.child;
  21140. while (_hiddenChild !== null) {
  21141. _treeBaseDuration += _hiddenChild.treeBaseDuration;
  21142. _hiddenChild = _hiddenChild.sibling;
  21143. }
  21144. _primaryChildFragment2.treeBaseDuration = _treeBaseDuration;
  21145. }
  21146. // Create a fragment from the fallback children, too.
  21147. var _fallbackChildFragment2 = _primaryChildFragment2.sibling = createFiberFromFragment(_nextFallbackChildren2, mode, renderExpirationTime, null);
  21148. _fallbackChildFragment2.effectTag |= Placement;
  21149. child = _primaryChildFragment2;
  21150. _primaryChildFragment2.childExpirationTime = NoWork;
  21151. // Skip the primary children, and continue working on the
  21152. // fallback children.
  21153. next = _fallbackChildFragment2;
  21154. child.return = next.return = workInProgress;
  21155. } else {
  21156. // Still haven't timed out. Continue rendering the children, like we
  21157. // normally do.
  21158. var _nextPrimaryChildren2 = nextProps.children;
  21159. next = child = reconcileChildFibers(workInProgress, _currentPrimaryChild, _nextPrimaryChildren2, renderExpirationTime);
  21160. }
  21161. }
  21162. }
  21163. workInProgress.memoizedState = nextState;
  21164. workInProgress.child = child;
  21165. return next;
  21166. }
  21167. function updatePortalComponent(current$$1, workInProgress, renderExpirationTime) {
  21168. pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);
  21169. var nextChildren = workInProgress.pendingProps;
  21170. if (current$$1 === null) {
  21171. // Portals are special because we don't append the children during mount
  21172. // but at commit. Therefore we need to track insertions which the normal
  21173. // flow doesn't do during mount. This doesn't happen at the root because
  21174. // the root always starts with a "current" with a null child.
  21175. // TODO: Consider unifying this with how the root works.
  21176. workInProgress.child = reconcileChildFibers(workInProgress, null, nextChildren, renderExpirationTime);
  21177. } else {
  21178. reconcileChildren(current$$1, workInProgress, nextChildren, renderExpirationTime);
  21179. }
  21180. return workInProgress.child;
  21181. }
  21182. function updateContextProvider(current$$1, workInProgress, renderExpirationTime) {
  21183. var providerType = workInProgress.type;
  21184. var context = providerType._context;
  21185. var newProps = workInProgress.pendingProps;
  21186. var oldProps = workInProgress.memoizedProps;
  21187. var newValue = newProps.value;
  21188. {
  21189. var providerPropTypes = workInProgress.type.propTypes;
  21190. if (providerPropTypes) {
  21191. checkPropTypes(providerPropTypes, newProps, 'prop', 'Context.Provider', getCurrentFiberStackInDev);
  21192. }
  21193. }
  21194. pushProvider(workInProgress, newValue);
  21195. if (oldProps !== null) {
  21196. var oldValue = oldProps.value;
  21197. var changedBits = calculateChangedBits(context, newValue, oldValue);
  21198. if (changedBits === 0) {
  21199. // No change. Bailout early if children are the same.
  21200. if (oldProps.children === newProps.children && !hasContextChanged()) {
  21201. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  21202. }
  21203. } else {
  21204. // The context value changed. Search for matching consumers and schedule
  21205. // them to update.
  21206. propagateContextChange(workInProgress, context, changedBits, renderExpirationTime);
  21207. }
  21208. }
  21209. var newChildren = newProps.children;
  21210. reconcileChildren(current$$1, workInProgress, newChildren, renderExpirationTime);
  21211. return workInProgress.child;
  21212. }
  21213. var hasWarnedAboutUsingContextAsConsumer = false;
  21214. function updateContextConsumer(current$$1, workInProgress, renderExpirationTime) {
  21215. var context = workInProgress.type;
  21216. // The logic below for Context differs depending on PROD or DEV mode. In
  21217. // DEV mode, we create a separate object for Context.Consumer that acts
  21218. // like a proxy to Context. This proxy object adds unnecessary code in PROD
  21219. // so we use the old behaviour (Context.Consumer references Context) to
  21220. // reduce size and overhead. The separate object references context via
  21221. // a property called "_context", which also gives us the ability to check
  21222. // in DEV mode if this property exists or not and warn if it does not.
  21223. {
  21224. if (context._context === undefined) {
  21225. // This may be because it's a Context (rather than a Consumer).
  21226. // Or it may be because it's older React where they're the same thing.
  21227. // We only want to warn if we're sure it's a new React.
  21228. if (context !== context.Consumer) {
  21229. if (!hasWarnedAboutUsingContextAsConsumer) {
  21230. hasWarnedAboutUsingContextAsConsumer = true;
  21231. warning$1(false, 'Rendering <Context> directly is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
  21232. }
  21233. }
  21234. } else {
  21235. context = context._context;
  21236. }
  21237. }
  21238. var newProps = workInProgress.pendingProps;
  21239. var render = newProps.children;
  21240. {
  21241. !(typeof render === 'function') ? warningWithoutStack$1(false, 'A context consumer was rendered with multiple children, or a child ' + "that isn't a function. A context consumer expects a single child " + 'that is a function. If you did pass a function, make sure there ' + 'is no trailing or leading whitespace around it.') : void 0;
  21242. }
  21243. prepareToReadContext(workInProgress, renderExpirationTime);
  21244. var newValue = readContext(context, newProps.unstable_observedBits);
  21245. var newChildren = void 0;
  21246. {
  21247. ReactCurrentOwner$3.current = workInProgress;
  21248. setCurrentPhase('render');
  21249. newChildren = render(newValue);
  21250. setCurrentPhase(null);
  21251. }
  21252. // React DevTools reads this flag.
  21253. workInProgress.effectTag |= PerformedWork;
  21254. reconcileChildren(current$$1, workInProgress, newChildren, renderExpirationTime);
  21255. return workInProgress.child;
  21256. }
  21257. function bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime) {
  21258. cancelWorkTimer(workInProgress);
  21259. if (current$$1 !== null) {
  21260. // Reuse previous context list
  21261. workInProgress.firstContextDependency = current$$1.firstContextDependency;
  21262. }
  21263. if (enableProfilerTimer) {
  21264. // Don't update "base" render times for bailouts.
  21265. stopProfilerTimerIfRunning(workInProgress);
  21266. }
  21267. // Check if the children have any pending work.
  21268. var childExpirationTime = workInProgress.childExpirationTime;
  21269. if (childExpirationTime < renderExpirationTime) {
  21270. // The children don't have any work either. We can skip them.
  21271. // TODO: Once we add back resuming, we should check if the children are
  21272. // a work-in-progress set. If so, we need to transfer their effects.
  21273. return null;
  21274. } else {
  21275. // This fiber doesn't have work, but its subtree does. Clone the child
  21276. // fibers and continue.
  21277. cloneChildFibers(current$$1, workInProgress);
  21278. return workInProgress.child;
  21279. }
  21280. }
  21281. function beginWork(current$$1, workInProgress, renderExpirationTime) {
  21282. var updateExpirationTime = workInProgress.expirationTime;
  21283. if (current$$1 !== null) {
  21284. var oldProps = current$$1.memoizedProps;
  21285. var newProps = workInProgress.pendingProps;
  21286. if (oldProps === newProps && !hasContextChanged() && updateExpirationTime < renderExpirationTime) {
  21287. // This fiber does not have any pending work. Bailout without entering
  21288. // the begin phase. There's still some bookkeeping we that needs to be done
  21289. // in this optimized path, mostly pushing stuff onto the stack.
  21290. switch (workInProgress.tag) {
  21291. case HostRoot:
  21292. pushHostRootContext(workInProgress);
  21293. resetHydrationState();
  21294. break;
  21295. case HostComponent:
  21296. pushHostContext(workInProgress);
  21297. break;
  21298. case ClassComponent:
  21299. {
  21300. var Component = workInProgress.type;
  21301. if (isContextProvider(Component)) {
  21302. pushContextProvider(workInProgress);
  21303. }
  21304. break;
  21305. }
  21306. case HostPortal:
  21307. pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);
  21308. break;
  21309. case ContextProvider:
  21310. {
  21311. var newValue = workInProgress.memoizedProps.value;
  21312. pushProvider(workInProgress, newValue);
  21313. break;
  21314. }
  21315. case Profiler:
  21316. if (enableProfilerTimer) {
  21317. workInProgress.effectTag |= Update;
  21318. }
  21319. break;
  21320. case SuspenseComponent:
  21321. {
  21322. var state = workInProgress.memoizedState;
  21323. var didTimeout = state !== null;
  21324. if (didTimeout) {
  21325. // If this boundary is currently timed out, we need to decide
  21326. // whether to retry the primary children, or to skip over it and
  21327. // go straight to the fallback. Check the priority of the primary
  21328. var primaryChildFragment = workInProgress.child;
  21329. var primaryChildExpirationTime = primaryChildFragment.childExpirationTime;
  21330. if (primaryChildExpirationTime !== NoWork && primaryChildExpirationTime >= renderExpirationTime) {
  21331. // The primary children have pending work. Use the normal path
  21332. // to attempt to render the primary children again.
  21333. return updateSuspenseComponent(current$$1, workInProgress, renderExpirationTime);
  21334. } else {
  21335. // The primary children do not have pending work with sufficient
  21336. // priority. Bailout.
  21337. var child = bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  21338. if (child !== null) {
  21339. // The fallback children have pending work. Skip over the
  21340. // primary children and work on the fallback.
  21341. return child.sibling;
  21342. } else {
  21343. return null;
  21344. }
  21345. }
  21346. }
  21347. break;
  21348. }
  21349. }
  21350. return bailoutOnAlreadyFinishedWork(current$$1, workInProgress, renderExpirationTime);
  21351. }
  21352. }
  21353. // Before entering the begin phase, clear the expiration time.
  21354. workInProgress.expirationTime = NoWork;
  21355. switch (workInProgress.tag) {
  21356. case IndeterminateComponent:
  21357. {
  21358. var elementType = workInProgress.elementType;
  21359. return mountIndeterminateComponent(current$$1, workInProgress, elementType, renderExpirationTime);
  21360. }
  21361. case LazyComponent:
  21362. {
  21363. var _elementType = workInProgress.elementType;
  21364. return mountLazyComponent(current$$1, workInProgress, _elementType, updateExpirationTime, renderExpirationTime);
  21365. }
  21366. case FunctionComponent:
  21367. {
  21368. var _Component = workInProgress.type;
  21369. var unresolvedProps = workInProgress.pendingProps;
  21370. var resolvedProps = workInProgress.elementType === _Component ? unresolvedProps : resolveDefaultProps(_Component, unresolvedProps);
  21371. return updateFunctionComponent(current$$1, workInProgress, _Component, resolvedProps, renderExpirationTime);
  21372. }
  21373. case ClassComponent:
  21374. {
  21375. var _Component2 = workInProgress.type;
  21376. var _unresolvedProps = workInProgress.pendingProps;
  21377. var _resolvedProps = workInProgress.elementType === _Component2 ? _unresolvedProps : resolveDefaultProps(_Component2, _unresolvedProps);
  21378. return updateClassComponent(current$$1, workInProgress, _Component2, _resolvedProps, renderExpirationTime);
  21379. }
  21380. case HostRoot:
  21381. return updateHostRoot(current$$1, workInProgress, renderExpirationTime);
  21382. case HostComponent:
  21383. return updateHostComponent(current$$1, workInProgress, renderExpirationTime);
  21384. case HostText:
  21385. return updateHostText(current$$1, workInProgress);
  21386. case SuspenseComponent:
  21387. return updateSuspenseComponent(current$$1, workInProgress, renderExpirationTime);
  21388. case HostPortal:
  21389. return updatePortalComponent(current$$1, workInProgress, renderExpirationTime);
  21390. case ForwardRef:
  21391. {
  21392. var type = workInProgress.type;
  21393. var _unresolvedProps2 = workInProgress.pendingProps;
  21394. var _resolvedProps2 = workInProgress.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);
  21395. return updateForwardRef(current$$1, workInProgress, type, _resolvedProps2, renderExpirationTime);
  21396. }
  21397. case Fragment:
  21398. return updateFragment(current$$1, workInProgress, renderExpirationTime);
  21399. case Mode:
  21400. return updateMode(current$$1, workInProgress, renderExpirationTime);
  21401. case Profiler:
  21402. return updateProfiler(current$$1, workInProgress, renderExpirationTime);
  21403. case ContextProvider:
  21404. return updateContextProvider(current$$1, workInProgress, renderExpirationTime);
  21405. case ContextConsumer:
  21406. return updateContextConsumer(current$$1, workInProgress, renderExpirationTime);
  21407. case MemoComponent:
  21408. {
  21409. var _type = workInProgress.type;
  21410. var _unresolvedProps3 = workInProgress.pendingProps;
  21411. var _resolvedProps3 = resolveDefaultProps(_type.type, _unresolvedProps3);
  21412. return updateMemoComponent(current$$1, workInProgress, _type, _resolvedProps3, updateExpirationTime, renderExpirationTime);
  21413. }
  21414. case SimpleMemoComponent:
  21415. {
  21416. return updateSimpleMemoComponent(current$$1, workInProgress, workInProgress.type, workInProgress.pendingProps, updateExpirationTime, renderExpirationTime);
  21417. }
  21418. case IncompleteClassComponent:
  21419. {
  21420. var _Component3 = workInProgress.type;
  21421. var _unresolvedProps4 = workInProgress.pendingProps;
  21422. var _resolvedProps4 = workInProgress.elementType === _Component3 ? _unresolvedProps4 : resolveDefaultProps(_Component3, _unresolvedProps4);
  21423. return mountIncompleteClassComponent(current$$1, workInProgress, _Component3, _resolvedProps4, renderExpirationTime);
  21424. }
  21425. default:
  21426. invariant(false, 'Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.');
  21427. }
  21428. }
  21429. function markUpdate(workInProgress) {
  21430. // Tag the fiber with an update effect. This turns a Placement into
  21431. // a PlacementAndUpdate.
  21432. workInProgress.effectTag |= Update;
  21433. }
  21434. function markRef$1(workInProgress) {
  21435. workInProgress.effectTag |= Ref;
  21436. }
  21437. var appendAllChildren = void 0;
  21438. var updateHostContainer = void 0;
  21439. var updateHostComponent$1 = void 0;
  21440. var updateHostText$1 = void 0;
  21441. if (supportsMutation) {
  21442. // Mutation mode
  21443. appendAllChildren = function (parent, workInProgress, needsVisibilityToggle, isHidden) {
  21444. // We only have the top Fiber that was created but we need recurse down its
  21445. // children to find all the terminal nodes.
  21446. var node = workInProgress.child;
  21447. while (node !== null) {
  21448. if (node.tag === HostComponent || node.tag === HostText) {
  21449. appendInitialChild(parent, node.stateNode);
  21450. } else if (node.tag === HostPortal) {
  21451. // If we have a portal child, then we don't want to traverse
  21452. // down its children. Instead, we'll get insertions from each child in
  21453. // the portal directly.
  21454. } else if (node.child !== null) {
  21455. node.child.return = node;
  21456. node = node.child;
  21457. continue;
  21458. }
  21459. if (node === workInProgress) {
  21460. return;
  21461. }
  21462. while (node.sibling === null) {
  21463. if (node.return === null || node.return === workInProgress) {
  21464. return;
  21465. }
  21466. node = node.return;
  21467. }
  21468. node.sibling.return = node.return;
  21469. node = node.sibling;
  21470. }
  21471. };
  21472. updateHostContainer = function (workInProgress) {
  21473. // Noop
  21474. };
  21475. updateHostComponent$1 = function (current, workInProgress, type, newProps, rootContainerInstance) {
  21476. // If we have an alternate, that means this is an update and we need to
  21477. // schedule a side-effect to do the updates.
  21478. var oldProps = current.memoizedProps;
  21479. if (oldProps === newProps) {
  21480. // In mutation mode, this is sufficient for a bailout because
  21481. // we won't touch this node even if children changed.
  21482. return;
  21483. }
  21484. // If we get updated because one of our children updated, we don't
  21485. // have newProps so we'll have to reuse them.
  21486. // TODO: Split the update API as separate for the props vs. children.
  21487. // Even better would be if children weren't special cased at all tho.
  21488. var instance = workInProgress.stateNode;
  21489. var currentHostContext = getHostContext();
  21490. // TODO: Experiencing an error where oldProps is null. Suggests a host
  21491. // component is hitting the resume path. Figure out why. Possibly
  21492. // related to `hidden`.
  21493. var updatePayload = prepareUpdate(instance, type, oldProps, newProps, rootContainerInstance, currentHostContext);
  21494. // TODO: Type this specific to this type of component.
  21495. workInProgress.updateQueue = updatePayload;
  21496. // If the update payload indicates that there is a change or if there
  21497. // is a new ref we mark this as an update. All the work is done in commitWork.
  21498. if (updatePayload) {
  21499. markUpdate(workInProgress);
  21500. }
  21501. };
  21502. updateHostText$1 = function (current, workInProgress, oldText, newText) {
  21503. // If the text differs, mark it as an update. All the work in done in commitWork.
  21504. if (oldText !== newText) {
  21505. markUpdate(workInProgress);
  21506. }
  21507. };
  21508. } else if (supportsPersistence) {
  21509. // Persistent host tree mode
  21510. appendAllChildren = function (parent, workInProgress, needsVisibilityToggle, isHidden) {
  21511. // We only have the top Fiber that was created but we need recurse down its
  21512. // children to find all the terminal nodes.
  21513. var node = workInProgress.child;
  21514. while (node !== null) {
  21515. // eslint-disable-next-line no-labels
  21516. branches: if (node.tag === HostComponent) {
  21517. var instance = node.stateNode;
  21518. if (needsVisibilityToggle) {
  21519. var props = node.memoizedProps;
  21520. var type = node.type;
  21521. if (isHidden) {
  21522. // This child is inside a timed out tree. Hide it.
  21523. instance = cloneHiddenInstance(instance, type, props, node);
  21524. } else {
  21525. // This child was previously inside a timed out tree. If it was not
  21526. // updated during this render, it may need to be unhidden. Clone
  21527. // again to be sure.
  21528. instance = cloneUnhiddenInstance(instance, type, props, node);
  21529. }
  21530. node.stateNode = instance;
  21531. }
  21532. appendInitialChild(parent, instance);
  21533. } else if (node.tag === HostText) {
  21534. var _instance = node.stateNode;
  21535. if (needsVisibilityToggle) {
  21536. var text = node.memoizedProps;
  21537. var rootContainerInstance = getRootHostContainer();
  21538. var currentHostContext = getHostContext();
  21539. if (isHidden) {
  21540. _instance = createHiddenTextInstance(text, rootContainerInstance, currentHostContext, workInProgress);
  21541. } else {
  21542. _instance = createTextInstance(text, rootContainerInstance, currentHostContext, workInProgress);
  21543. }
  21544. node.stateNode = _instance;
  21545. }
  21546. appendInitialChild(parent, _instance);
  21547. } else if (node.tag === HostPortal) {
  21548. // If we have a portal child, then we don't want to traverse
  21549. // down its children. Instead, we'll get insertions from each child in
  21550. // the portal directly.
  21551. } else if (node.tag === SuspenseComponent) {
  21552. var current = node.alternate;
  21553. if (current !== null) {
  21554. var oldState = current.memoizedState;
  21555. var newState = node.memoizedState;
  21556. var oldIsHidden = oldState !== null;
  21557. var newIsHidden = newState !== null;
  21558. if (oldIsHidden !== newIsHidden) {
  21559. // The placeholder either just timed out or switched back to the normal
  21560. // children after having previously timed out. Toggle the visibility of
  21561. // the direct host children.
  21562. var primaryChildParent = newIsHidden ? node.child : node;
  21563. if (primaryChildParent !== null) {
  21564. appendAllChildren(parent, primaryChildParent, true, newIsHidden);
  21565. }
  21566. // eslint-disable-next-line no-labels
  21567. break branches;
  21568. }
  21569. }
  21570. if (node.child !== null) {
  21571. // Continue traversing like normal
  21572. node.child.return = node;
  21573. node = node.child;
  21574. continue;
  21575. }
  21576. } else if (node.child !== null) {
  21577. node.child.return = node;
  21578. node = node.child;
  21579. continue;
  21580. }
  21581. // $FlowFixMe This is correct but Flow is confused by the labeled break.
  21582. node = node;
  21583. if (node === workInProgress) {
  21584. return;
  21585. }
  21586. while (node.sibling === null) {
  21587. if (node.return === null || node.return === workInProgress) {
  21588. return;
  21589. }
  21590. node = node.return;
  21591. }
  21592. node.sibling.return = node.return;
  21593. node = node.sibling;
  21594. }
  21595. };
  21596. // An unfortunate fork of appendAllChildren because we have two different parent types.
  21597. var appendAllChildrenToContainer = function (containerChildSet, workInProgress, needsVisibilityToggle, isHidden) {
  21598. // We only have the top Fiber that was created but we need recurse down its
  21599. // children to find all the terminal nodes.
  21600. var node = workInProgress.child;
  21601. while (node !== null) {
  21602. // eslint-disable-next-line no-labels
  21603. branches: if (node.tag === HostComponent) {
  21604. var instance = node.stateNode;
  21605. if (needsVisibilityToggle) {
  21606. var props = node.memoizedProps;
  21607. var type = node.type;
  21608. if (isHidden) {
  21609. // This child is inside a timed out tree. Hide it.
  21610. instance = cloneHiddenInstance(instance, type, props, node);
  21611. } else {
  21612. // This child was previously inside a timed out tree. If it was not
  21613. // updated during this render, it may need to be unhidden. Clone
  21614. // again to be sure.
  21615. instance = cloneUnhiddenInstance(instance, type, props, node);
  21616. }
  21617. node.stateNode = instance;
  21618. }
  21619. appendChildToContainerChildSet(containerChildSet, instance);
  21620. } else if (node.tag === HostText) {
  21621. var _instance2 = node.stateNode;
  21622. if (needsVisibilityToggle) {
  21623. var text = node.memoizedProps;
  21624. var rootContainerInstance = getRootHostContainer();
  21625. var currentHostContext = getHostContext();
  21626. if (isHidden) {
  21627. _instance2 = createHiddenTextInstance(text, rootContainerInstance, currentHostContext, workInProgress);
  21628. } else {
  21629. _instance2 = createTextInstance(text, rootContainerInstance, currentHostContext, workInProgress);
  21630. }
  21631. node.stateNode = _instance2;
  21632. }
  21633. appendChildToContainerChildSet(containerChildSet, _instance2);
  21634. } else if (node.tag === HostPortal) {
  21635. // If we have a portal child, then we don't want to traverse
  21636. // down its children. Instead, we'll get insertions from each child in
  21637. // the portal directly.
  21638. } else if (node.tag === SuspenseComponent) {
  21639. var current = node.alternate;
  21640. if (current !== null) {
  21641. var oldState = current.memoizedState;
  21642. var newState = node.memoizedState;
  21643. var oldIsHidden = oldState !== null;
  21644. var newIsHidden = newState !== null;
  21645. if (oldIsHidden !== newIsHidden) {
  21646. // The placeholder either just timed out or switched back to the normal
  21647. // children after having previously timed out. Toggle the visibility of
  21648. // the direct host children.
  21649. var primaryChildParent = newIsHidden ? node.child : node;
  21650. if (primaryChildParent !== null) {
  21651. appendAllChildrenToContainer(containerChildSet, primaryChildParent, true, newIsHidden);
  21652. }
  21653. // eslint-disable-next-line no-labels
  21654. break branches;
  21655. }
  21656. }
  21657. if (node.child !== null) {
  21658. // Continue traversing like normal
  21659. node.child.return = node;
  21660. node = node.child;
  21661. continue;
  21662. }
  21663. } else if (node.child !== null) {
  21664. node.child.return = node;
  21665. node = node.child;
  21666. continue;
  21667. }
  21668. // $FlowFixMe This is correct but Flow is confused by the labeled break.
  21669. node = node;
  21670. if (node === workInProgress) {
  21671. return;
  21672. }
  21673. while (node.sibling === null) {
  21674. if (node.return === null || node.return === workInProgress) {
  21675. return;
  21676. }
  21677. node = node.return;
  21678. }
  21679. node.sibling.return = node.return;
  21680. node = node.sibling;
  21681. }
  21682. };
  21683. updateHostContainer = function (workInProgress) {
  21684. var portalOrRoot = workInProgress.stateNode;
  21685. var childrenUnchanged = workInProgress.firstEffect === null;
  21686. if (childrenUnchanged) {
  21687. // No changes, just reuse the existing instance.
  21688. } else {
  21689. var container = portalOrRoot.containerInfo;
  21690. var newChildSet = createContainerChildSet(container);
  21691. // If children might have changed, we have to add them all to the set.
  21692. appendAllChildrenToContainer(newChildSet, workInProgress, false, false);
  21693. portalOrRoot.pendingChildren = newChildSet;
  21694. // Schedule an update on the container to swap out the container.
  21695. markUpdate(workInProgress);
  21696. finalizeContainerChildren(container, newChildSet);
  21697. }
  21698. };
  21699. updateHostComponent$1 = function (current, workInProgress, type, newProps, rootContainerInstance) {
  21700. var currentInstance = current.stateNode;
  21701. var oldProps = current.memoizedProps;
  21702. // If there are no effects associated with this node, then none of our children had any updates.
  21703. // This guarantees that we can reuse all of them.
  21704. var childrenUnchanged = workInProgress.firstEffect === null;
  21705. if (childrenUnchanged && oldProps === newProps) {
  21706. // No changes, just reuse the existing instance.
  21707. // Note that this might release a previous clone.
  21708. workInProgress.stateNode = currentInstance;
  21709. return;
  21710. }
  21711. var recyclableInstance = workInProgress.stateNode;
  21712. var currentHostContext = getHostContext();
  21713. var updatePayload = null;
  21714. if (oldProps !== newProps) {
  21715. updatePayload = prepareUpdate(recyclableInstance, type, oldProps, newProps, rootContainerInstance, currentHostContext);
  21716. }
  21717. if (childrenUnchanged && updatePayload === null) {
  21718. // No changes, just reuse the existing instance.
  21719. // Note that this might release a previous clone.
  21720. workInProgress.stateNode = currentInstance;
  21721. return;
  21722. }
  21723. var newInstance = cloneInstance(currentInstance, updatePayload, type, oldProps, newProps, workInProgress, childrenUnchanged, recyclableInstance);
  21724. if (finalizeInitialChildren(newInstance, type, newProps, rootContainerInstance, currentHostContext)) {
  21725. markUpdate(workInProgress);
  21726. }
  21727. workInProgress.stateNode = newInstance;
  21728. if (childrenUnchanged) {
  21729. // If there are no other effects in this tree, we need to flag this node as having one.
  21730. // Even though we're not going to use it for anything.
  21731. // Otherwise parents won't know that there are new children to propagate upwards.
  21732. markUpdate(workInProgress);
  21733. } else {
  21734. // If children might have changed, we have to add them all to the set.
  21735. appendAllChildren(newInstance, workInProgress, false, false);
  21736. }
  21737. };
  21738. updateHostText$1 = function (current, workInProgress, oldText, newText) {
  21739. if (oldText !== newText) {
  21740. // If the text content differs, we'll create a new text instance for it.
  21741. var rootContainerInstance = getRootHostContainer();
  21742. var currentHostContext = getHostContext();
  21743. workInProgress.stateNode = createTextInstance(newText, rootContainerInstance, currentHostContext, workInProgress);
  21744. // We'll have to mark it as having an effect, even though we won't use the effect for anything.
  21745. // This lets the parents know that at least one of their children has changed.
  21746. markUpdate(workInProgress);
  21747. }
  21748. };
  21749. } else {
  21750. // No host operations
  21751. updateHostContainer = function (workInProgress) {
  21752. // Noop
  21753. };
  21754. updateHostComponent$1 = function (current, workInProgress, type, newProps, rootContainerInstance) {
  21755. // Noop
  21756. };
  21757. updateHostText$1 = function (current, workInProgress, oldText, newText) {
  21758. // Noop
  21759. };
  21760. }
  21761. function completeWork(current, workInProgress, renderExpirationTime) {
  21762. var newProps = workInProgress.pendingProps;
  21763. switch (workInProgress.tag) {
  21764. case IndeterminateComponent:
  21765. break;
  21766. case LazyComponent:
  21767. break;
  21768. case SimpleMemoComponent:
  21769. case FunctionComponent:
  21770. break;
  21771. case ClassComponent:
  21772. {
  21773. var Component = workInProgress.type;
  21774. if (isContextProvider(Component)) {
  21775. popContext(workInProgress);
  21776. }
  21777. break;
  21778. }
  21779. case HostRoot:
  21780. {
  21781. popHostContainer(workInProgress);
  21782. popTopLevelContextObject(workInProgress);
  21783. var fiberRoot = workInProgress.stateNode;
  21784. if (fiberRoot.pendingContext) {
  21785. fiberRoot.context = fiberRoot.pendingContext;
  21786. fiberRoot.pendingContext = null;
  21787. }
  21788. if (current === null || current.child === null) {
  21789. // If we hydrated, pop so that we can delete any remaining children
  21790. // that weren't hydrated.
  21791. popHydrationState(workInProgress);
  21792. // This resets the hacky state to fix isMounted before committing.
  21793. // TODO: Delete this when we delete isMounted and findDOMNode.
  21794. workInProgress.effectTag &= ~Placement;
  21795. }
  21796. updateHostContainer(workInProgress);
  21797. break;
  21798. }
  21799. case HostComponent:
  21800. {
  21801. popHostContext(workInProgress);
  21802. var rootContainerInstance = getRootHostContainer();
  21803. var type = workInProgress.type;
  21804. if (current !== null && workInProgress.stateNode != null) {
  21805. updateHostComponent$1(current, workInProgress, type, newProps, rootContainerInstance);
  21806. if (current.ref !== workInProgress.ref) {
  21807. markRef$1(workInProgress);
  21808. }
  21809. } else {
  21810. if (!newProps) {
  21811. !(workInProgress.stateNode !== null) ? invariant(false, 'We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  21812. // This can happen when we abort work.
  21813. break;
  21814. }
  21815. var currentHostContext = getHostContext();
  21816. // TODO: Move createInstance to beginWork and keep it on a context
  21817. // "stack" as the parent. Then append children as we go in beginWork
  21818. // or completeWork depending on we want to add then top->down or
  21819. // bottom->up. Top->down is faster in IE11.
  21820. var wasHydrated = popHydrationState(workInProgress);
  21821. if (wasHydrated) {
  21822. // TODO: Move this and createInstance step into the beginPhase
  21823. // to consolidate.
  21824. if (prepareToHydrateHostInstance(workInProgress, rootContainerInstance, currentHostContext)) {
  21825. // If changes to the hydrated node needs to be applied at the
  21826. // commit-phase we mark this as such.
  21827. markUpdate(workInProgress);
  21828. }
  21829. } else {
  21830. var instance = createInstance(type, newProps, rootContainerInstance, currentHostContext, workInProgress);
  21831. appendAllChildren(instance, workInProgress, false, false);
  21832. // Certain renderers require commit-time effects for initial mount.
  21833. // (eg DOM renderer supports auto-focus for certain elements).
  21834. // Make sure such renderers get scheduled for later work.
  21835. if (finalizeInitialChildren(instance, type, newProps, rootContainerInstance, currentHostContext)) {
  21836. markUpdate(workInProgress);
  21837. }
  21838. workInProgress.stateNode = instance;
  21839. }
  21840. if (workInProgress.ref !== null) {
  21841. // If there is a ref on a host node we need to schedule a callback
  21842. markRef$1(workInProgress);
  21843. }
  21844. }
  21845. break;
  21846. }
  21847. case HostText:
  21848. {
  21849. var newText = newProps;
  21850. if (current && workInProgress.stateNode != null) {
  21851. var oldText = current.memoizedProps;
  21852. // If we have an alternate, that means this is an update and we need
  21853. // to schedule a side-effect to do the updates.
  21854. updateHostText$1(current, workInProgress, oldText, newText);
  21855. } else {
  21856. if (typeof newText !== 'string') {
  21857. !(workInProgress.stateNode !== null) ? invariant(false, 'We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  21858. // This can happen when we abort work.
  21859. }
  21860. var _rootContainerInstance = getRootHostContainer();
  21861. var _currentHostContext = getHostContext();
  21862. var _wasHydrated = popHydrationState(workInProgress);
  21863. if (_wasHydrated) {
  21864. if (prepareToHydrateHostTextInstance(workInProgress)) {
  21865. markUpdate(workInProgress);
  21866. }
  21867. } else {
  21868. workInProgress.stateNode = createTextInstance(newText, _rootContainerInstance, _currentHostContext, workInProgress);
  21869. }
  21870. }
  21871. break;
  21872. }
  21873. case ForwardRef:
  21874. break;
  21875. case SuspenseComponent:
  21876. {
  21877. var nextState = workInProgress.memoizedState;
  21878. if ((workInProgress.effectTag & DidCapture) !== NoEffect) {
  21879. // Something suspended. Re-render with the fallback children.
  21880. workInProgress.expirationTime = renderExpirationTime;
  21881. // Do not reset the effect list.
  21882. return workInProgress;
  21883. }
  21884. var nextDidTimeout = nextState !== null;
  21885. var prevDidTimeout = current !== null && current.memoizedState !== null;
  21886. if (current !== null && !nextDidTimeout && prevDidTimeout) {
  21887. // We just switched from the fallback to the normal children. Delete
  21888. // the fallback.
  21889. // TODO: Would it be better to store the fallback fragment on
  21890. var currentFallbackChild = current.child.sibling;
  21891. if (currentFallbackChild !== null) {
  21892. // Deletions go at the beginning of the return fiber's effect list
  21893. var first = workInProgress.firstEffect;
  21894. if (first !== null) {
  21895. workInProgress.firstEffect = currentFallbackChild;
  21896. currentFallbackChild.nextEffect = first;
  21897. } else {
  21898. workInProgress.firstEffect = workInProgress.lastEffect = currentFallbackChild;
  21899. currentFallbackChild.nextEffect = null;
  21900. }
  21901. currentFallbackChild.effectTag = Deletion;
  21902. }
  21903. }
  21904. // The children either timed out after previously being visible, or
  21905. // were restored after previously being hidden. Schedule an effect
  21906. // to update their visiblity.
  21907. if (
  21908. //
  21909. nextDidTimeout !== prevDidTimeout ||
  21910. // Outside concurrent mode, the primary children commit in an
  21911. // inconsistent state, even if they are hidden. So if they are hidden,
  21912. // we need to schedule an effect to re-hide them, just in case.
  21913. (workInProgress.effectTag & ConcurrentMode) === NoContext && nextDidTimeout) {
  21914. workInProgress.effectTag |= Update;
  21915. }
  21916. break;
  21917. }
  21918. case Fragment:
  21919. break;
  21920. case Mode:
  21921. break;
  21922. case Profiler:
  21923. break;
  21924. case HostPortal:
  21925. popHostContainer(workInProgress);
  21926. updateHostContainer(workInProgress);
  21927. break;
  21928. case ContextProvider:
  21929. // Pop provider fiber
  21930. popProvider(workInProgress);
  21931. break;
  21932. case ContextConsumer:
  21933. break;
  21934. case MemoComponent:
  21935. break;
  21936. case IncompleteClassComponent:
  21937. {
  21938. // Same as class component case. I put it down here so that the tags are
  21939. // sequential to ensure this switch is compiled to a jump table.
  21940. var _Component = workInProgress.type;
  21941. if (isContextProvider(_Component)) {
  21942. popContext(workInProgress);
  21943. }
  21944. break;
  21945. }
  21946. default:
  21947. invariant(false, 'Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.');
  21948. }
  21949. return null;
  21950. }
  21951. function shouldCaptureSuspense(current, workInProgress) {
  21952. // In order to capture, the Suspense component must have a fallback prop.
  21953. if (workInProgress.memoizedProps.fallback === undefined) {
  21954. return false;
  21955. }
  21956. // If it was the primary children that just suspended, capture and render the
  21957. // fallback. Otherwise, don't capture and bubble to the next boundary.
  21958. var nextState = workInProgress.memoizedState;
  21959. return nextState === null;
  21960. }
  21961. // This module is forked in different environments.
  21962. // By default, return `true` to log errors to the console.
  21963. // Forks can return `false` if this isn't desirable.
  21964. function showErrorDialog(capturedError) {
  21965. return true;
  21966. }
  21967. function logCapturedError(capturedError) {
  21968. var logError = showErrorDialog(capturedError);
  21969. // Allow injected showErrorDialog() to prevent default console.error logging.
  21970. // This enables renderers like ReactNative to better manage redbox behavior.
  21971. if (logError === false) {
  21972. return;
  21973. }
  21974. var error = capturedError.error;
  21975. {
  21976. var componentName = capturedError.componentName,
  21977. componentStack = capturedError.componentStack,
  21978. errorBoundaryName = capturedError.errorBoundaryName,
  21979. errorBoundaryFound = capturedError.errorBoundaryFound,
  21980. willRetry = capturedError.willRetry;
  21981. // Browsers support silencing uncaught errors by calling
  21982. // `preventDefault()` in window `error` handler.
  21983. // We record this information as an expando on the error.
  21984. if (error != null && error._suppressLogging) {
  21985. if (errorBoundaryFound && willRetry) {
  21986. // The error is recoverable and was silenced.
  21987. // Ignore it and don't print the stack addendum.
  21988. // This is handy for testing error boundaries without noise.
  21989. return;
  21990. }
  21991. // The error is fatal. Since the silencing might have
  21992. // been accidental, we'll surface it anyway.
  21993. // However, the browser would have silenced the original error
  21994. // so we'll print it first, and then print the stack addendum.
  21995. console.error(error);
  21996. // For a more detailed description of this block, see:
  21997. // https://github.com/facebook/react/pull/13384
  21998. }
  21999. var componentNameMessage = componentName ? 'The above error occurred in the <' + componentName + '> component:' : 'The above error occurred in one of your React components:';
  22000. var errorBoundaryMessage = void 0;
  22001. // errorBoundaryFound check is sufficient; errorBoundaryName check is to satisfy Flow.
  22002. if (errorBoundaryFound && errorBoundaryName) {
  22003. if (willRetry) {
  22004. errorBoundaryMessage = 'React will try to recreate this component tree from scratch ' + ('using the error boundary you provided, ' + errorBoundaryName + '.');
  22005. } else {
  22006. errorBoundaryMessage = 'This error was initially handled by the error boundary ' + errorBoundaryName + '.\n' + 'Recreating the tree from scratch failed so React will unmount the tree.';
  22007. }
  22008. } else {
  22009. errorBoundaryMessage = 'Consider adding an error boundary to your tree to customize error handling behavior.\n' + 'Visit https://fb.me/react-error-boundaries to learn more about error boundaries.';
  22010. }
  22011. var combinedMessage = '' + componentNameMessage + componentStack + '\n\n' + ('' + errorBoundaryMessage);
  22012. // In development, we provide our own message with just the component stack.
  22013. // We don't include the original error message and JS stack because the browser
  22014. // has already printed it. Even if the application swallows the error, it is still
  22015. // displayed by the browser thanks to the DEV-only fake event trick in ReactErrorUtils.
  22016. console.error(combinedMessage);
  22017. }
  22018. }
  22019. var didWarnAboutUndefinedSnapshotBeforeUpdate = null;
  22020. {
  22021. didWarnAboutUndefinedSnapshotBeforeUpdate = new Set();
  22022. }
  22023. function logError(boundary, errorInfo) {
  22024. var source = errorInfo.source;
  22025. var stack = errorInfo.stack;
  22026. if (stack === null && source !== null) {
  22027. stack = getStackByFiberInDevAndProd(source);
  22028. }
  22029. var capturedError = {
  22030. componentName: source !== null ? getComponentName(source.type) : null,
  22031. componentStack: stack !== null ? stack : '',
  22032. error: errorInfo.value,
  22033. errorBoundary: null,
  22034. errorBoundaryName: null,
  22035. errorBoundaryFound: false,
  22036. willRetry: false
  22037. };
  22038. if (boundary !== null && boundary.tag === ClassComponent) {
  22039. capturedError.errorBoundary = boundary.stateNode;
  22040. capturedError.errorBoundaryName = getComponentName(boundary.type);
  22041. capturedError.errorBoundaryFound = true;
  22042. capturedError.willRetry = true;
  22043. }
  22044. try {
  22045. logCapturedError(capturedError);
  22046. } catch (e) {
  22047. // This method must not throw, or React internal state will get messed up.
  22048. // If console.error is overridden, or logCapturedError() shows a dialog that throws,
  22049. // we want to report this error outside of the normal stack as a last resort.
  22050. // https://github.com/facebook/react/issues/13188
  22051. setTimeout(function () {
  22052. throw e;
  22053. });
  22054. }
  22055. }
  22056. var callComponentWillUnmountWithTimer = function (current$$1, instance) {
  22057. startPhaseTimer(current$$1, 'componentWillUnmount');
  22058. instance.props = current$$1.memoizedProps;
  22059. instance.state = current$$1.memoizedState;
  22060. instance.componentWillUnmount();
  22061. stopPhaseTimer();
  22062. };
  22063. // Capture errors so they don't interrupt unmounting.
  22064. function safelyCallComponentWillUnmount(current$$1, instance) {
  22065. {
  22066. invokeGuardedCallback(null, callComponentWillUnmountWithTimer, null, current$$1, instance);
  22067. if (hasCaughtError()) {
  22068. var unmountError = clearCaughtError();
  22069. captureCommitPhaseError(current$$1, unmountError);
  22070. }
  22071. }
  22072. }
  22073. function safelyDetachRef(current$$1) {
  22074. var ref = current$$1.ref;
  22075. if (ref !== null) {
  22076. if (typeof ref === 'function') {
  22077. {
  22078. invokeGuardedCallback(null, ref, null, null);
  22079. if (hasCaughtError()) {
  22080. var refError = clearCaughtError();
  22081. captureCommitPhaseError(current$$1, refError);
  22082. }
  22083. }
  22084. } else {
  22085. ref.current = null;
  22086. }
  22087. }
  22088. }
  22089. function safelyCallDestroy(current$$1, destroy) {
  22090. {
  22091. invokeGuardedCallback(null, destroy, null);
  22092. if (hasCaughtError()) {
  22093. var error = clearCaughtError();
  22094. captureCommitPhaseError(current$$1, error);
  22095. }
  22096. }
  22097. }
  22098. function commitBeforeMutationLifeCycles(current$$1, finishedWork) {
  22099. switch (finishedWork.tag) {
  22100. case FunctionComponent:
  22101. case ForwardRef:
  22102. case SimpleMemoComponent:
  22103. {
  22104. commitHookEffectList(UnmountSnapshot, NoEffect$1, finishedWork);
  22105. return;
  22106. }
  22107. case ClassComponent:
  22108. {
  22109. if (finishedWork.effectTag & Snapshot) {
  22110. if (current$$1 !== null) {
  22111. var prevProps = current$$1.memoizedProps;
  22112. var prevState = current$$1.memoizedState;
  22113. startPhaseTimer(finishedWork, 'getSnapshotBeforeUpdate');
  22114. var instance = finishedWork.stateNode;
  22115. // We could update instance props and state here,
  22116. // but instead we rely on them being set during last render.
  22117. // TODO: revisit this when we implement resuming.
  22118. {
  22119. if (finishedWork.type === finishedWork.elementType) {
  22120. !(instance.props === finishedWork.memoizedProps) ? warning$1(false, 'Expected instance props to match memoized props before ' + 'getSnapshotBeforeUpdate. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22121. !(instance.state === finishedWork.memoizedState) ? warning$1(false, 'Expected instance state to match memoized state before ' + 'getSnapshotBeforeUpdate. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22122. }
  22123. }
  22124. var snapshot = instance.getSnapshotBeforeUpdate(finishedWork.elementType === finishedWork.type ? prevProps : resolveDefaultProps(finishedWork.type, prevProps), prevState);
  22125. {
  22126. var didWarnSet = didWarnAboutUndefinedSnapshotBeforeUpdate;
  22127. if (snapshot === undefined && !didWarnSet.has(finishedWork.type)) {
  22128. didWarnSet.add(finishedWork.type);
  22129. warningWithoutStack$1(false, '%s.getSnapshotBeforeUpdate(): A snapshot value (or null) ' + 'must be returned. You have returned undefined.', getComponentName(finishedWork.type));
  22130. }
  22131. }
  22132. instance.__reactInternalSnapshotBeforeUpdate = snapshot;
  22133. stopPhaseTimer();
  22134. }
  22135. }
  22136. return;
  22137. }
  22138. case HostRoot:
  22139. case HostComponent:
  22140. case HostText:
  22141. case HostPortal:
  22142. case IncompleteClassComponent:
  22143. // Nothing to do for these component types
  22144. return;
  22145. default:
  22146. {
  22147. invariant(false, 'This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.');
  22148. }
  22149. }
  22150. }
  22151. function commitHookEffectList(unmountTag, mountTag, finishedWork) {
  22152. if (!enableHooks) {
  22153. return;
  22154. }
  22155. var updateQueue = finishedWork.updateQueue;
  22156. var lastEffect = updateQueue !== null ? updateQueue.lastEffect : null;
  22157. if (lastEffect !== null) {
  22158. var firstEffect = lastEffect.next;
  22159. var effect = firstEffect;
  22160. do {
  22161. if ((effect.tag & unmountTag) !== NoEffect$1) {
  22162. // Unmount
  22163. var destroy = effect.destroy;
  22164. effect.destroy = null;
  22165. if (destroy !== null) {
  22166. destroy();
  22167. }
  22168. }
  22169. if ((effect.tag & mountTag) !== NoEffect$1) {
  22170. // Mount
  22171. var create = effect.create;
  22172. var _destroy = create();
  22173. if (typeof _destroy !== 'function') {
  22174. {
  22175. if (_destroy !== null && _destroy !== undefined) {
  22176. warningWithoutStack$1(false, 'useEffect function must return a cleanup function or ' + 'nothing.%s%s', typeof _destroy.then === 'function' ? ' Promises and useEffect(async () => ...) are not ' + 'supported, but you can call an async function inside an ' + 'effect.' : '', getStackByFiberInDevAndProd(finishedWork));
  22177. }
  22178. }
  22179. _destroy = null;
  22180. }
  22181. effect.destroy = _destroy;
  22182. }
  22183. effect = effect.next;
  22184. } while (effect !== firstEffect);
  22185. }
  22186. }
  22187. function commitPassiveHookEffects(finishedWork) {
  22188. commitHookEffectList(UnmountPassive, NoEffect$1, finishedWork);
  22189. commitHookEffectList(NoEffect$1, MountPassive, finishedWork);
  22190. }
  22191. function commitLifeCycles(finishedRoot, current$$1, finishedWork, committedExpirationTime) {
  22192. switch (finishedWork.tag) {
  22193. case FunctionComponent:
  22194. case ForwardRef:
  22195. case SimpleMemoComponent:
  22196. {
  22197. commitHookEffectList(UnmountLayout, MountLayout, finishedWork);
  22198. break;
  22199. }
  22200. case ClassComponent:
  22201. {
  22202. var instance = finishedWork.stateNode;
  22203. if (finishedWork.effectTag & Update) {
  22204. if (current$$1 === null) {
  22205. startPhaseTimer(finishedWork, 'componentDidMount');
  22206. // We could update instance props and state here,
  22207. // but instead we rely on them being set during last render.
  22208. // TODO: revisit this when we implement resuming.
  22209. {
  22210. if (finishedWork.type === finishedWork.elementType) {
  22211. !(instance.props === finishedWork.memoizedProps) ? warning$1(false, 'Expected instance props to match memoized props before ' + 'componentDidMount. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22212. !(instance.state === finishedWork.memoizedState) ? warning$1(false, 'Expected instance state to match memoized state before ' + 'componentDidMount. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22213. }
  22214. }
  22215. instance.componentDidMount();
  22216. stopPhaseTimer();
  22217. } else {
  22218. var prevProps = finishedWork.elementType === finishedWork.type ? current$$1.memoizedProps : resolveDefaultProps(finishedWork.type, current$$1.memoizedProps);
  22219. var prevState = current$$1.memoizedState;
  22220. startPhaseTimer(finishedWork, 'componentDidUpdate');
  22221. // We could update instance props and state here,
  22222. // but instead we rely on them being set during last render.
  22223. // TODO: revisit this when we implement resuming.
  22224. {
  22225. if (finishedWork.type === finishedWork.elementType) {
  22226. !(instance.props === finishedWork.memoizedProps) ? warning$1(false, 'Expected instance props to match memoized props before ' + 'componentDidUpdate. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22227. !(instance.state === finishedWork.memoizedState) ? warning$1(false, 'Expected instance state to match memoized state before ' + 'componentDidUpdate. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22228. }
  22229. }
  22230. instance.componentDidUpdate(prevProps, prevState, instance.__reactInternalSnapshotBeforeUpdate);
  22231. stopPhaseTimer();
  22232. }
  22233. }
  22234. var updateQueue = finishedWork.updateQueue;
  22235. if (updateQueue !== null) {
  22236. {
  22237. if (finishedWork.type === finishedWork.elementType) {
  22238. !(instance.props === finishedWork.memoizedProps) ? warning$1(false, 'Expected instance props to match memoized props before ' + 'processing the update queue. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22239. !(instance.state === finishedWork.memoizedState) ? warning$1(false, 'Expected instance state to match memoized state before ' + 'processing the update queue. This is likely due to a bug in React. ' + 'Please file an issue.') : void 0;
  22240. }
  22241. }
  22242. // We could update instance props and state here,
  22243. // but instead we rely on them being set during last render.
  22244. // TODO: revisit this when we implement resuming.
  22245. commitUpdateQueue(finishedWork, updateQueue, instance, committedExpirationTime);
  22246. }
  22247. return;
  22248. }
  22249. case HostRoot:
  22250. {
  22251. var _updateQueue = finishedWork.updateQueue;
  22252. if (_updateQueue !== null) {
  22253. var _instance = null;
  22254. if (finishedWork.child !== null) {
  22255. switch (finishedWork.child.tag) {
  22256. case HostComponent:
  22257. _instance = getPublicInstance(finishedWork.child.stateNode);
  22258. break;
  22259. case ClassComponent:
  22260. _instance = finishedWork.child.stateNode;
  22261. break;
  22262. }
  22263. }
  22264. commitUpdateQueue(finishedWork, _updateQueue, _instance, committedExpirationTime);
  22265. }
  22266. return;
  22267. }
  22268. case HostComponent:
  22269. {
  22270. var _instance2 = finishedWork.stateNode;
  22271. // Renderers may schedule work to be done after host components are mounted
  22272. // (eg DOM renderer may schedule auto-focus for inputs and form controls).
  22273. // These effects should only be committed when components are first mounted,
  22274. // aka when there is no current/alternate.
  22275. if (current$$1 === null && finishedWork.effectTag & Update) {
  22276. var type = finishedWork.type;
  22277. var props = finishedWork.memoizedProps;
  22278. commitMount(_instance2, type, props, finishedWork);
  22279. }
  22280. return;
  22281. }
  22282. case HostText:
  22283. {
  22284. // We have no life-cycles associated with text.
  22285. return;
  22286. }
  22287. case HostPortal:
  22288. {
  22289. // We have no life-cycles associated with portals.
  22290. return;
  22291. }
  22292. case Profiler:
  22293. {
  22294. if (enableProfilerTimer) {
  22295. var onRender = finishedWork.memoizedProps.onRender;
  22296. if (enableSchedulerTracing) {
  22297. onRender(finishedWork.memoizedProps.id, current$$1 === null ? 'mount' : 'update', finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, getCommitTime(), finishedRoot.memoizedInteractions);
  22298. } else {
  22299. onRender(finishedWork.memoizedProps.id, current$$1 === null ? 'mount' : 'update', finishedWork.actualDuration, finishedWork.treeBaseDuration, finishedWork.actualStartTime, getCommitTime());
  22300. }
  22301. }
  22302. return;
  22303. }
  22304. case SuspenseComponent:
  22305. break;
  22306. case IncompleteClassComponent:
  22307. break;
  22308. default:
  22309. {
  22310. invariant(false, 'This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.');
  22311. }
  22312. }
  22313. }
  22314. function hideOrUnhideAllChildren(finishedWork, isHidden) {
  22315. if (supportsMutation) {
  22316. // We only have the top Fiber that was inserted but we need recurse down its
  22317. var node = finishedWork;
  22318. while (true) {
  22319. if (node.tag === HostComponent) {
  22320. var instance = node.stateNode;
  22321. if (isHidden) {
  22322. hideInstance(instance);
  22323. } else {
  22324. unhideInstance(node.stateNode, node.memoizedProps);
  22325. }
  22326. } else if (node.tag === HostText) {
  22327. var _instance3 = node.stateNode;
  22328. if (isHidden) {
  22329. hideTextInstance(_instance3);
  22330. } else {
  22331. unhideTextInstance(_instance3, node.memoizedProps);
  22332. }
  22333. } else if (node.tag === SuspenseComponent && node.memoizedState !== null) {
  22334. // Found a nested Suspense component that timed out. Skip over the
  22335. var fallbackChildFragment = node.child.sibling;
  22336. fallbackChildFragment.return = node;
  22337. node = fallbackChildFragment;
  22338. continue;
  22339. } else if (node.child !== null) {
  22340. node.child.return = node;
  22341. node = node.child;
  22342. continue;
  22343. }
  22344. if (node === finishedWork) {
  22345. return;
  22346. }
  22347. while (node.sibling === null) {
  22348. if (node.return === null || node.return === finishedWork) {
  22349. return;
  22350. }
  22351. node = node.return;
  22352. }
  22353. node.sibling.return = node.return;
  22354. node = node.sibling;
  22355. }
  22356. }
  22357. }
  22358. function commitAttachRef(finishedWork) {
  22359. var ref = finishedWork.ref;
  22360. if (ref !== null) {
  22361. var instance = finishedWork.stateNode;
  22362. var instanceToUse = void 0;
  22363. switch (finishedWork.tag) {
  22364. case HostComponent:
  22365. instanceToUse = getPublicInstance(instance);
  22366. break;
  22367. default:
  22368. instanceToUse = instance;
  22369. }
  22370. if (typeof ref === 'function') {
  22371. ref(instanceToUse);
  22372. } else {
  22373. {
  22374. if (!ref.hasOwnProperty('current')) {
  22375. warningWithoutStack$1(false, 'Unexpected ref object provided for %s. ' + 'Use either a ref-setter function or React.createRef().%s', getComponentName(finishedWork.type), getStackByFiberInDevAndProd(finishedWork));
  22376. }
  22377. }
  22378. ref.current = instanceToUse;
  22379. }
  22380. }
  22381. }
  22382. function commitDetachRef(current$$1) {
  22383. var currentRef = current$$1.ref;
  22384. if (currentRef !== null) {
  22385. if (typeof currentRef === 'function') {
  22386. currentRef(null);
  22387. } else {
  22388. currentRef.current = null;
  22389. }
  22390. }
  22391. }
  22392. // User-originating errors (lifecycles and refs) should not interrupt
  22393. // deletion, so don't let them throw. Host-originating errors should
  22394. // interrupt deletion, so it's okay
  22395. function commitUnmount(current$$1) {
  22396. onCommitUnmount(current$$1);
  22397. switch (current$$1.tag) {
  22398. case FunctionComponent:
  22399. case ForwardRef:
  22400. case MemoComponent:
  22401. case SimpleMemoComponent:
  22402. {
  22403. var updateQueue = current$$1.updateQueue;
  22404. if (updateQueue !== null) {
  22405. var lastEffect = updateQueue.lastEffect;
  22406. if (lastEffect !== null) {
  22407. var firstEffect = lastEffect.next;
  22408. var effect = firstEffect;
  22409. do {
  22410. var destroy = effect.destroy;
  22411. if (destroy !== null) {
  22412. safelyCallDestroy(current$$1, destroy);
  22413. }
  22414. effect = effect.next;
  22415. } while (effect !== firstEffect);
  22416. }
  22417. }
  22418. break;
  22419. }
  22420. case ClassComponent:
  22421. {
  22422. safelyDetachRef(current$$1);
  22423. var instance = current$$1.stateNode;
  22424. if (typeof instance.componentWillUnmount === 'function') {
  22425. safelyCallComponentWillUnmount(current$$1, instance);
  22426. }
  22427. return;
  22428. }
  22429. case HostComponent:
  22430. {
  22431. safelyDetachRef(current$$1);
  22432. return;
  22433. }
  22434. case HostPortal:
  22435. {
  22436. // TODO: this is recursive.
  22437. // We are also not using this parent because
  22438. // the portal will get pushed immediately.
  22439. if (supportsMutation) {
  22440. unmountHostComponents(current$$1);
  22441. } else if (supportsPersistence) {
  22442. emptyPortalContainer(current$$1);
  22443. }
  22444. return;
  22445. }
  22446. }
  22447. }
  22448. function commitNestedUnmounts(root) {
  22449. // While we're inside a removed host node we don't want to call
  22450. // removeChild on the inner nodes because they're removed by the top
  22451. // call anyway. We also want to call componentWillUnmount on all
  22452. // composites before this host node is removed from the tree. Therefore
  22453. var node = root;
  22454. while (true) {
  22455. commitUnmount(node);
  22456. // Visit children because they may contain more composite or host nodes.
  22457. // Skip portals because commitUnmount() currently visits them recursively.
  22458. if (node.child !== null && (
  22459. // If we use mutation we drill down into portals using commitUnmount above.
  22460. // If we don't use mutation we drill down into portals here instead.
  22461. !supportsMutation || node.tag !== HostPortal)) {
  22462. node.child.return = node;
  22463. node = node.child;
  22464. continue;
  22465. }
  22466. if (node === root) {
  22467. return;
  22468. }
  22469. while (node.sibling === null) {
  22470. if (node.return === null || node.return === root) {
  22471. return;
  22472. }
  22473. node = node.return;
  22474. }
  22475. node.sibling.return = node.return;
  22476. node = node.sibling;
  22477. }
  22478. }
  22479. function detachFiber(current$$1) {
  22480. // Cut off the return pointers to disconnect it from the tree. Ideally, we
  22481. // should clear the child pointer of the parent alternate to let this
  22482. // get GC:ed but we don't know which for sure which parent is the current
  22483. // one so we'll settle for GC:ing the subtree of this child. This child
  22484. // itself will be GC:ed when the parent updates the next time.
  22485. current$$1.return = null;
  22486. current$$1.child = null;
  22487. if (current$$1.alternate) {
  22488. current$$1.alternate.child = null;
  22489. current$$1.alternate.return = null;
  22490. }
  22491. }
  22492. function emptyPortalContainer(current$$1) {
  22493. if (!supportsPersistence) {
  22494. return;
  22495. }
  22496. var portal = current$$1.stateNode;
  22497. var containerInfo = portal.containerInfo;
  22498. var emptyChildSet = createContainerChildSet(containerInfo);
  22499. replaceContainerChildren(containerInfo, emptyChildSet);
  22500. }
  22501. function commitContainer(finishedWork) {
  22502. if (!supportsPersistence) {
  22503. return;
  22504. }
  22505. switch (finishedWork.tag) {
  22506. case ClassComponent:
  22507. {
  22508. return;
  22509. }
  22510. case HostComponent:
  22511. {
  22512. return;
  22513. }
  22514. case HostText:
  22515. {
  22516. return;
  22517. }
  22518. case HostRoot:
  22519. case HostPortal:
  22520. {
  22521. var portalOrRoot = finishedWork.stateNode;
  22522. var containerInfo = portalOrRoot.containerInfo,
  22523. _pendingChildren = portalOrRoot.pendingChildren;
  22524. replaceContainerChildren(containerInfo, _pendingChildren);
  22525. return;
  22526. }
  22527. default:
  22528. {
  22529. invariant(false, 'This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.');
  22530. }
  22531. }
  22532. }
  22533. function getHostParentFiber(fiber) {
  22534. var parent = fiber.return;
  22535. while (parent !== null) {
  22536. if (isHostParent(parent)) {
  22537. return parent;
  22538. }
  22539. parent = parent.return;
  22540. }
  22541. invariant(false, 'Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.');
  22542. }
  22543. function isHostParent(fiber) {
  22544. return fiber.tag === HostComponent || fiber.tag === HostRoot || fiber.tag === HostPortal;
  22545. }
  22546. function getHostSibling(fiber) {
  22547. // We're going to search forward into the tree until we find a sibling host
  22548. // node. Unfortunately, if multiple insertions are done in a row we have to
  22549. // search past them. This leads to exponential search for the next sibling.
  22550. var node = fiber;
  22551. siblings: while (true) {
  22552. // If we didn't find anything, let's try the next sibling.
  22553. while (node.sibling === null) {
  22554. if (node.return === null || isHostParent(node.return)) {
  22555. // If we pop out of the root or hit the parent the fiber we are the
  22556. // last sibling.
  22557. return null;
  22558. }
  22559. node = node.return;
  22560. }
  22561. node.sibling.return = node.return;
  22562. node = node.sibling;
  22563. while (node.tag !== HostComponent && node.tag !== HostText) {
  22564. // If it is not host node and, we might have a host node inside it.
  22565. // Try to search down until we find one.
  22566. if (node.effectTag & Placement) {
  22567. // If we don't have a child, try the siblings instead.
  22568. continue siblings;
  22569. }
  22570. // If we don't have a child, try the siblings instead.
  22571. // We also skip portals because they are not part of this host tree.
  22572. if (node.child === null || node.tag === HostPortal) {
  22573. continue siblings;
  22574. } else {
  22575. node.child.return = node;
  22576. node = node.child;
  22577. }
  22578. }
  22579. // Check if this host node is stable or about to be placed.
  22580. if (!(node.effectTag & Placement)) {
  22581. // Found it!
  22582. return node.stateNode;
  22583. }
  22584. }
  22585. }
  22586. function commitPlacement(finishedWork) {
  22587. if (!supportsMutation) {
  22588. return;
  22589. }
  22590. // Recursively insert all host nodes into the parent.
  22591. var parentFiber = getHostParentFiber(finishedWork);
  22592. // Note: these two variables *must* always be updated together.
  22593. var parent = void 0;
  22594. var isContainer = void 0;
  22595. switch (parentFiber.tag) {
  22596. case HostComponent:
  22597. parent = parentFiber.stateNode;
  22598. isContainer = false;
  22599. break;
  22600. case HostRoot:
  22601. parent = parentFiber.stateNode.containerInfo;
  22602. isContainer = true;
  22603. break;
  22604. case HostPortal:
  22605. parent = parentFiber.stateNode.containerInfo;
  22606. isContainer = true;
  22607. break;
  22608. default:
  22609. invariant(false, 'Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.');
  22610. }
  22611. if (parentFiber.effectTag & ContentReset) {
  22612. // Reset the text content of the parent before doing any insertions
  22613. resetTextContent(parent);
  22614. // Clear ContentReset from the effect tag
  22615. parentFiber.effectTag &= ~ContentReset;
  22616. }
  22617. var before = getHostSibling(finishedWork);
  22618. // We only have the top Fiber that was inserted but we need recurse down its
  22619. // children to find all the terminal nodes.
  22620. var node = finishedWork;
  22621. while (true) {
  22622. if (node.tag === HostComponent || node.tag === HostText) {
  22623. if (before) {
  22624. if (isContainer) {
  22625. insertInContainerBefore(parent, node.stateNode, before);
  22626. } else {
  22627. insertBefore(parent, node.stateNode, before);
  22628. }
  22629. } else {
  22630. if (isContainer) {
  22631. appendChildToContainer(parent, node.stateNode);
  22632. } else {
  22633. appendChild(parent, node.stateNode);
  22634. }
  22635. }
  22636. } else if (node.tag === HostPortal) {
  22637. // If the insertion itself is a portal, then we don't want to traverse
  22638. // down its children. Instead, we'll get insertions from each child in
  22639. // the portal directly.
  22640. } else if (node.child !== null) {
  22641. node.child.return = node;
  22642. node = node.child;
  22643. continue;
  22644. }
  22645. if (node === finishedWork) {
  22646. return;
  22647. }
  22648. while (node.sibling === null) {
  22649. if (node.return === null || node.return === finishedWork) {
  22650. return;
  22651. }
  22652. node = node.return;
  22653. }
  22654. node.sibling.return = node.return;
  22655. node = node.sibling;
  22656. }
  22657. }
  22658. function unmountHostComponents(current$$1) {
  22659. // We only have the top Fiber that was deleted but we need recurse down its
  22660. var node = current$$1;
  22661. // Each iteration, currentParent is populated with node's host parent if not
  22662. // currentParentIsValid.
  22663. var currentParentIsValid = false;
  22664. // Note: these two variables *must* always be updated together.
  22665. var currentParent = void 0;
  22666. var currentParentIsContainer = void 0;
  22667. while (true) {
  22668. if (!currentParentIsValid) {
  22669. var parent = node.return;
  22670. findParent: while (true) {
  22671. !(parent !== null) ? invariant(false, 'Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  22672. switch (parent.tag) {
  22673. case HostComponent:
  22674. currentParent = parent.stateNode;
  22675. currentParentIsContainer = false;
  22676. break findParent;
  22677. case HostRoot:
  22678. currentParent = parent.stateNode.containerInfo;
  22679. currentParentIsContainer = true;
  22680. break findParent;
  22681. case HostPortal:
  22682. currentParent = parent.stateNode.containerInfo;
  22683. currentParentIsContainer = true;
  22684. break findParent;
  22685. }
  22686. parent = parent.return;
  22687. }
  22688. currentParentIsValid = true;
  22689. }
  22690. if (node.tag === HostComponent || node.tag === HostText) {
  22691. commitNestedUnmounts(node);
  22692. // After all the children have unmounted, it is now safe to remove the
  22693. // node from the tree.
  22694. if (currentParentIsContainer) {
  22695. removeChildFromContainer(currentParent, node.stateNode);
  22696. } else {
  22697. removeChild(currentParent, node.stateNode);
  22698. }
  22699. // Don't visit children because we already visited them.
  22700. } else if (node.tag === HostPortal) {
  22701. // When we go into a portal, it becomes the parent to remove from.
  22702. // We will reassign it back when we pop the portal on the way up.
  22703. currentParent = node.stateNode.containerInfo;
  22704. currentParentIsContainer = true;
  22705. // Visit children because portals might contain host components.
  22706. if (node.child !== null) {
  22707. node.child.return = node;
  22708. node = node.child;
  22709. continue;
  22710. }
  22711. } else {
  22712. commitUnmount(node);
  22713. // Visit children because we may find more host components below.
  22714. if (node.child !== null) {
  22715. node.child.return = node;
  22716. node = node.child;
  22717. continue;
  22718. }
  22719. }
  22720. if (node === current$$1) {
  22721. return;
  22722. }
  22723. while (node.sibling === null) {
  22724. if (node.return === null || node.return === current$$1) {
  22725. return;
  22726. }
  22727. node = node.return;
  22728. if (node.tag === HostPortal) {
  22729. // When we go out of the portal, we need to restore the parent.
  22730. // Since we don't keep a stack of them, we will search for it.
  22731. currentParentIsValid = false;
  22732. }
  22733. }
  22734. node.sibling.return = node.return;
  22735. node = node.sibling;
  22736. }
  22737. }
  22738. function commitDeletion(current$$1) {
  22739. if (supportsMutation) {
  22740. // Recursively delete all host nodes from the parent.
  22741. // Detach refs and call componentWillUnmount() on the whole subtree.
  22742. unmountHostComponents(current$$1);
  22743. } else {
  22744. // Detach refs and call componentWillUnmount() on the whole subtree.
  22745. commitNestedUnmounts(current$$1);
  22746. }
  22747. detachFiber(current$$1);
  22748. }
  22749. function commitWork(current$$1, finishedWork) {
  22750. if (!supportsMutation) {
  22751. switch (finishedWork.tag) {
  22752. case FunctionComponent:
  22753. case ForwardRef:
  22754. case MemoComponent:
  22755. case SimpleMemoComponent:
  22756. {
  22757. commitHookEffectList(UnmountMutation, MountMutation, finishedWork);
  22758. return;
  22759. }
  22760. }
  22761. commitContainer(finishedWork);
  22762. return;
  22763. }
  22764. switch (finishedWork.tag) {
  22765. case FunctionComponent:
  22766. case ForwardRef:
  22767. case MemoComponent:
  22768. case SimpleMemoComponent:
  22769. {
  22770. commitHookEffectList(UnmountMutation, MountMutation, finishedWork);
  22771. return;
  22772. }
  22773. case ClassComponent:
  22774. {
  22775. return;
  22776. }
  22777. case HostComponent:
  22778. {
  22779. var instance = finishedWork.stateNode;
  22780. if (instance != null) {
  22781. // Commit the work prepared earlier.
  22782. var newProps = finishedWork.memoizedProps;
  22783. // For hydration we reuse the update path but we treat the oldProps
  22784. // as the newProps. The updatePayload will contain the real change in
  22785. // this case.
  22786. var oldProps = current$$1 !== null ? current$$1.memoizedProps : newProps;
  22787. var type = finishedWork.type;
  22788. // TODO: Type the updateQueue to be specific to host components.
  22789. var updatePayload = finishedWork.updateQueue;
  22790. finishedWork.updateQueue = null;
  22791. if (updatePayload !== null) {
  22792. commitUpdate(instance, updatePayload, type, oldProps, newProps, finishedWork);
  22793. }
  22794. }
  22795. return;
  22796. }
  22797. case HostText:
  22798. {
  22799. !(finishedWork.stateNode !== null) ? invariant(false, 'This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  22800. var textInstance = finishedWork.stateNode;
  22801. var newText = finishedWork.memoizedProps;
  22802. // For hydration we reuse the update path but we treat the oldProps
  22803. // as the newProps. The updatePayload will contain the real change in
  22804. // this case.
  22805. var oldText = current$$1 !== null ? current$$1.memoizedProps : newText;
  22806. commitTextUpdate(textInstance, oldText, newText);
  22807. return;
  22808. }
  22809. case HostRoot:
  22810. {
  22811. return;
  22812. }
  22813. case Profiler:
  22814. {
  22815. return;
  22816. }
  22817. case SuspenseComponent:
  22818. {
  22819. var newState = finishedWork.memoizedState;
  22820. var newDidTimeout = void 0;
  22821. var primaryChildParent = finishedWork;
  22822. if (newState === null) {
  22823. newDidTimeout = false;
  22824. } else {
  22825. newDidTimeout = true;
  22826. primaryChildParent = finishedWork.child;
  22827. if (newState.timedOutAt === NoWork) {
  22828. // If the children had not already timed out, record the time.
  22829. // This is used to compute the elapsed time during subsequent
  22830. // attempts to render the children.
  22831. newState.timedOutAt = requestCurrentTime();
  22832. }
  22833. }
  22834. if (primaryChildParent !== null) {
  22835. hideOrUnhideAllChildren(primaryChildParent, newDidTimeout);
  22836. }
  22837. return;
  22838. }
  22839. case IncompleteClassComponent:
  22840. {
  22841. return;
  22842. }
  22843. default:
  22844. {
  22845. invariant(false, 'This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.');
  22846. }
  22847. }
  22848. }
  22849. function commitResetTextContent(current$$1) {
  22850. if (!supportsMutation) {
  22851. return;
  22852. }
  22853. resetTextContent(current$$1.stateNode);
  22854. }
  22855. function createRootErrorUpdate(fiber, errorInfo, expirationTime) {
  22856. var update = createUpdate(expirationTime);
  22857. // Unmount the root by rendering null.
  22858. update.tag = CaptureUpdate;
  22859. // Caution: React DevTools currently depends on this property
  22860. // being called "element".
  22861. update.payload = { element: null };
  22862. var error = errorInfo.value;
  22863. update.callback = function () {
  22864. onUncaughtError(error);
  22865. logError(fiber, errorInfo);
  22866. };
  22867. return update;
  22868. }
  22869. function createClassErrorUpdate(fiber, errorInfo, expirationTime) {
  22870. var update = createUpdate(expirationTime);
  22871. update.tag = CaptureUpdate;
  22872. var getDerivedStateFromError = fiber.type.getDerivedStateFromError;
  22873. if (typeof getDerivedStateFromError === 'function') {
  22874. var error = errorInfo.value;
  22875. update.payload = function () {
  22876. return getDerivedStateFromError(error);
  22877. };
  22878. }
  22879. var inst = fiber.stateNode;
  22880. if (inst !== null && typeof inst.componentDidCatch === 'function') {
  22881. update.callback = function callback() {
  22882. if (typeof getDerivedStateFromError !== 'function') {
  22883. // To preserve the preexisting retry behavior of error boundaries,
  22884. // we keep track of which ones already failed during this batch.
  22885. // This gets reset before we yield back to the browser.
  22886. // TODO: Warn in strict mode if getDerivedStateFromError is
  22887. // not defined.
  22888. markLegacyErrorBoundaryAsFailed(this);
  22889. }
  22890. var error = errorInfo.value;
  22891. var stack = errorInfo.stack;
  22892. logError(fiber, errorInfo);
  22893. this.componentDidCatch(error, {
  22894. componentStack: stack !== null ? stack : ''
  22895. });
  22896. {
  22897. if (typeof getDerivedStateFromError !== 'function') {
  22898. // If componentDidCatch is the only error boundary method defined,
  22899. // then it needs to call setState to recover from errors.
  22900. // If no state update is scheduled then the boundary will swallow the error.
  22901. !(fiber.expirationTime === Sync) ? warningWithoutStack$1(false, '%s: Error boundaries should implement getDerivedStateFromError(). ' + 'In that method, return a state update to display an error message or fallback UI.', getComponentName(fiber.type) || 'Unknown') : void 0;
  22902. }
  22903. }
  22904. };
  22905. }
  22906. return update;
  22907. }
  22908. function throwException(root, returnFiber, sourceFiber, value, renderExpirationTime) {
  22909. // The source fiber did not complete.
  22910. sourceFiber.effectTag |= Incomplete;
  22911. // Its effect list is no longer valid.
  22912. sourceFiber.firstEffect = sourceFiber.lastEffect = null;
  22913. if (value !== null && typeof value === 'object' && typeof value.then === 'function') {
  22914. // This is a thenable.
  22915. var thenable = value;
  22916. // Find the earliest timeout threshold of all the placeholders in the
  22917. // ancestor path. We could avoid this traversal by storing the thresholds on
  22918. // the stack, but we choose not to because we only hit this path if we're
  22919. // IO-bound (i.e. if something suspends). Whereas the stack is used even in
  22920. // the non-IO- bound case.
  22921. var _workInProgress = returnFiber;
  22922. var earliestTimeoutMs = -1;
  22923. var startTimeMs = -1;
  22924. do {
  22925. if (_workInProgress.tag === SuspenseComponent) {
  22926. var current$$1 = _workInProgress.alternate;
  22927. if (current$$1 !== null) {
  22928. var currentState = current$$1.memoizedState;
  22929. if (currentState !== null) {
  22930. // Reached a boundary that already timed out. Do not search
  22931. // any further.
  22932. var timedOutAt = currentState.timedOutAt;
  22933. startTimeMs = expirationTimeToMs(timedOutAt);
  22934. // Do not search any further.
  22935. break;
  22936. }
  22937. }
  22938. var timeoutPropMs = _workInProgress.pendingProps.maxDuration;
  22939. if (typeof timeoutPropMs === 'number') {
  22940. if (timeoutPropMs <= 0) {
  22941. earliestTimeoutMs = 0;
  22942. } else if (earliestTimeoutMs === -1 || timeoutPropMs < earliestTimeoutMs) {
  22943. earliestTimeoutMs = timeoutPropMs;
  22944. }
  22945. }
  22946. }
  22947. _workInProgress = _workInProgress.return;
  22948. } while (_workInProgress !== null);
  22949. // Schedule the nearest Suspense to re-render the timed out view.
  22950. _workInProgress = returnFiber;
  22951. do {
  22952. if (_workInProgress.tag === SuspenseComponent && shouldCaptureSuspense(_workInProgress.alternate, _workInProgress)) {
  22953. // Found the nearest boundary.
  22954. // If the boundary is not in concurrent mode, we should not suspend, and
  22955. // likewise, when the promise resolves, we should ping synchronously.
  22956. var pingTime = (_workInProgress.mode & ConcurrentMode) === NoEffect ? Sync : renderExpirationTime;
  22957. // Attach a listener to the promise to "ping" the root and retry.
  22958. var onResolveOrReject = retrySuspendedRoot.bind(null, root, _workInProgress, sourceFiber, pingTime);
  22959. if (enableSchedulerTracing) {
  22960. onResolveOrReject = tracing.unstable_wrap(onResolveOrReject);
  22961. }
  22962. thenable.then(onResolveOrReject, onResolveOrReject);
  22963. // If the boundary is outside of concurrent mode, we should *not*
  22964. // suspend the commit. Pretend as if the suspended component rendered
  22965. // null and keep rendering. In the commit phase, we'll schedule a
  22966. // subsequent synchronous update to re-render the Suspense.
  22967. //
  22968. // Note: It doesn't matter whether the component that suspended was
  22969. // inside a concurrent mode tree. If the Suspense is outside of it, we
  22970. // should *not* suspend the commit.
  22971. if ((_workInProgress.mode & ConcurrentMode) === NoEffect) {
  22972. _workInProgress.effectTag |= DidCapture;
  22973. // We're going to commit this fiber even though it didn't complete.
  22974. // But we shouldn't call any lifecycle methods or callbacks. Remove
  22975. // all lifecycle effect tags.
  22976. sourceFiber.effectTag &= ~(LifecycleEffectMask | Incomplete);
  22977. if (sourceFiber.tag === ClassComponent) {
  22978. var _current = sourceFiber.alternate;
  22979. if (_current === null) {
  22980. // This is a new mount. Change the tag so it's not mistaken for a
  22981. // completed class component. For example, we should not call
  22982. // componentWillUnmount if it is deleted.
  22983. sourceFiber.tag = IncompleteClassComponent;
  22984. }
  22985. }
  22986. // The source fiber did not complete. Mark it with the current
  22987. // render priority to indicate that it still has pending work.
  22988. sourceFiber.expirationTime = renderExpirationTime;
  22989. // Exit without suspending.
  22990. return;
  22991. }
  22992. // Confirmed that the boundary is in a concurrent mode tree. Continue
  22993. // with the normal suspend path.
  22994. var absoluteTimeoutMs = void 0;
  22995. if (earliestTimeoutMs === -1) {
  22996. // If no explicit threshold is given, default to an abitrarily large
  22997. // value. The actual size doesn't matter because the threshold for the
  22998. // whole tree will be clamped to the expiration time.
  22999. absoluteTimeoutMs = maxSigned31BitInt;
  23000. } else {
  23001. if (startTimeMs === -1) {
  23002. // This suspend happened outside of any already timed-out
  23003. // placeholders. We don't know exactly when the update was
  23004. // scheduled, but we can infer an approximate start time from the
  23005. // expiration time. First, find the earliest uncommitted expiration
  23006. // time in the tree, including work that is suspended. Then subtract
  23007. // the offset used to compute an async update's expiration time.
  23008. // This will cause high priority (interactive) work to expire
  23009. // earlier than necessary, but we can account for this by adjusting
  23010. // for the Just Noticeable Difference.
  23011. var earliestExpirationTime = findEarliestOutstandingPriorityLevel(root, renderExpirationTime);
  23012. var earliestExpirationTimeMs = expirationTimeToMs(earliestExpirationTime);
  23013. startTimeMs = earliestExpirationTimeMs - LOW_PRIORITY_EXPIRATION;
  23014. }
  23015. absoluteTimeoutMs = startTimeMs + earliestTimeoutMs;
  23016. }
  23017. // Mark the earliest timeout in the suspended fiber's ancestor path.
  23018. // After completing the root, we'll take the largest of all the
  23019. // suspended fiber's timeouts and use it to compute a timeout for the
  23020. // whole tree.
  23021. renderDidSuspend(root, absoluteTimeoutMs, renderExpirationTime);
  23022. _workInProgress.effectTag |= ShouldCapture;
  23023. _workInProgress.expirationTime = renderExpirationTime;
  23024. return;
  23025. }
  23026. // This boundary already captured during this render. Continue to the next
  23027. // boundary.
  23028. _workInProgress = _workInProgress.return;
  23029. } while (_workInProgress !== null);
  23030. // No boundary was found. Fallthrough to error mode.
  23031. // TODO: Use invariant so the message is stripped in prod?
  23032. value = new Error((getComponentName(sourceFiber.type) || 'A React component') + ' suspended while rendering, but no fallback UI was specified.\n' + '\n' + 'Add a <Suspense fallback=...> component higher in the tree to ' + 'provide a loading indicator or placeholder to display.' + getStackByFiberInDevAndProd(sourceFiber));
  23033. }
  23034. // We didn't find a boundary that could handle this type of exception. Start
  23035. // over and traverse parent path again, this time treating the exception
  23036. // as an error.
  23037. renderDidError();
  23038. value = createCapturedValue(value, sourceFiber);
  23039. var workInProgress = returnFiber;
  23040. do {
  23041. switch (workInProgress.tag) {
  23042. case HostRoot:
  23043. {
  23044. var _errorInfo = value;
  23045. workInProgress.effectTag |= ShouldCapture;
  23046. workInProgress.expirationTime = renderExpirationTime;
  23047. var update = createRootErrorUpdate(workInProgress, _errorInfo, renderExpirationTime);
  23048. enqueueCapturedUpdate(workInProgress, update);
  23049. return;
  23050. }
  23051. case ClassComponent:
  23052. // Capture and retry
  23053. var errorInfo = value;
  23054. var ctor = workInProgress.type;
  23055. var instance = workInProgress.stateNode;
  23056. if ((workInProgress.effectTag & DidCapture) === NoEffect && (typeof ctor.getDerivedStateFromError === 'function' || instance !== null && typeof instance.componentDidCatch === 'function' && !isAlreadyFailedLegacyErrorBoundary(instance))) {
  23057. workInProgress.effectTag |= ShouldCapture;
  23058. workInProgress.expirationTime = renderExpirationTime;
  23059. // Schedule the error boundary to re-render using updated state
  23060. var _update = createClassErrorUpdate(workInProgress, errorInfo, renderExpirationTime);
  23061. enqueueCapturedUpdate(workInProgress, _update);
  23062. return;
  23063. }
  23064. break;
  23065. default:
  23066. break;
  23067. }
  23068. workInProgress = workInProgress.return;
  23069. } while (workInProgress !== null);
  23070. }
  23071. function unwindWork(workInProgress, renderExpirationTime) {
  23072. switch (workInProgress.tag) {
  23073. case ClassComponent:
  23074. {
  23075. var Component = workInProgress.type;
  23076. if (isContextProvider(Component)) {
  23077. popContext(workInProgress);
  23078. }
  23079. var effectTag = workInProgress.effectTag;
  23080. if (effectTag & ShouldCapture) {
  23081. workInProgress.effectTag = effectTag & ~ShouldCapture | DidCapture;
  23082. return workInProgress;
  23083. }
  23084. return null;
  23085. }
  23086. case HostRoot:
  23087. {
  23088. popHostContainer(workInProgress);
  23089. popTopLevelContextObject(workInProgress);
  23090. var _effectTag = workInProgress.effectTag;
  23091. !((_effectTag & DidCapture) === NoEffect) ? invariant(false, 'The root failed to unmount after an error. This is likely a bug in React. Please file an issue.') : void 0;
  23092. workInProgress.effectTag = _effectTag & ~ShouldCapture | DidCapture;
  23093. return workInProgress;
  23094. }
  23095. case HostComponent:
  23096. {
  23097. popHostContext(workInProgress);
  23098. return null;
  23099. }
  23100. case SuspenseComponent:
  23101. {
  23102. var _effectTag2 = workInProgress.effectTag;
  23103. if (_effectTag2 & ShouldCapture) {
  23104. workInProgress.effectTag = _effectTag2 & ~ShouldCapture | DidCapture;
  23105. // Captured a suspense effect. Re-render the boundary.
  23106. return workInProgress;
  23107. }
  23108. return null;
  23109. }
  23110. case HostPortal:
  23111. popHostContainer(workInProgress);
  23112. return null;
  23113. case ContextProvider:
  23114. popProvider(workInProgress);
  23115. return null;
  23116. default:
  23117. return null;
  23118. }
  23119. }
  23120. function unwindInterruptedWork(interruptedWork) {
  23121. switch (interruptedWork.tag) {
  23122. case ClassComponent:
  23123. {
  23124. var childContextTypes = interruptedWork.type.childContextTypes;
  23125. if (childContextTypes !== null && childContextTypes !== undefined) {
  23126. popContext(interruptedWork);
  23127. }
  23128. break;
  23129. }
  23130. case HostRoot:
  23131. {
  23132. popHostContainer(interruptedWork);
  23133. popTopLevelContextObject(interruptedWork);
  23134. break;
  23135. }
  23136. case HostComponent:
  23137. {
  23138. popHostContext(interruptedWork);
  23139. break;
  23140. }
  23141. case HostPortal:
  23142. popHostContainer(interruptedWork);
  23143. break;
  23144. case ContextProvider:
  23145. popProvider(interruptedWork);
  23146. break;
  23147. default:
  23148. break;
  23149. }
  23150. }
  23151. var Dispatcher = {
  23152. readContext: readContext,
  23153. useCallback: useCallback,
  23154. useContext: useContext,
  23155. useEffect: useEffect,
  23156. useImperativeMethods: useImperativeMethods,
  23157. useLayoutEffect: useLayoutEffect,
  23158. useMemo: useMemo,
  23159. useMutationEffect: useMutationEffect,
  23160. useReducer: useReducer,
  23161. useRef: useRef,
  23162. useState: useState
  23163. };
  23164. var DispatcherWithoutHooks = {
  23165. readContext: readContext
  23166. };
  23167. var ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner;
  23168. var didWarnAboutStateTransition = void 0;
  23169. var didWarnSetStateChildContext = void 0;
  23170. var warnAboutUpdateOnUnmounted = void 0;
  23171. var warnAboutInvalidUpdates = void 0;
  23172. if (enableSchedulerTracing) {
  23173. // Provide explicit error message when production+profiling bundle of e.g. react-dom
  23174. // is used with production (non-profiling) bundle of scheduler/tracing
  23175. !(tracing.__interactionsRef != null && tracing.__interactionsRef.current != null) ? invariant(false, 'It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling') : void 0;
  23176. }
  23177. {
  23178. didWarnAboutStateTransition = false;
  23179. didWarnSetStateChildContext = false;
  23180. var didWarnStateUpdateForUnmountedComponent = {};
  23181. warnAboutUpdateOnUnmounted = function (fiber, isClass) {
  23182. // We show the whole stack but dedupe on the top component's name because
  23183. // the problematic code almost always lies inside that component.
  23184. var componentName = getComponentName(fiber.type) || 'ReactComponent';
  23185. if (didWarnStateUpdateForUnmountedComponent[componentName]) {
  23186. return;
  23187. }
  23188. warningWithoutStack$1(false, "Can't perform a React state update on an unmounted component. This " + 'is a no-op, but it indicates a memory leak in your application. To ' + 'fix, cancel all subscriptions and asynchronous tasks in %s.%s', isClass ? 'the componentWillUnmount method' : 'a useEffect cleanup function', getStackByFiberInDevAndProd(fiber));
  23189. didWarnStateUpdateForUnmountedComponent[componentName] = true;
  23190. };
  23191. warnAboutInvalidUpdates = function (instance) {
  23192. switch (phase) {
  23193. case 'getChildContext':
  23194. if (didWarnSetStateChildContext) {
  23195. return;
  23196. }
  23197. warningWithoutStack$1(false, 'setState(...): Cannot call setState() inside getChildContext()');
  23198. didWarnSetStateChildContext = true;
  23199. break;
  23200. case 'render':
  23201. if (didWarnAboutStateTransition) {
  23202. return;
  23203. }
  23204. warningWithoutStack$1(false, 'Cannot update during an existing state transition (such as within ' + '`render`). Render methods should be a pure function of props and state.');
  23205. didWarnAboutStateTransition = true;
  23206. break;
  23207. }
  23208. };
  23209. }
  23210. // Used to ensure computeUniqueAsyncExpiration is monotonically decreasing.
  23211. var lastUniqueAsyncExpiration = Sync - 1;
  23212. // Represents the expiration time that incoming updates should use. (If this
  23213. // is NoWork, use the default strategy: async updates in async mode, sync
  23214. // updates in sync mode.)
  23215. var expirationContext = NoWork;
  23216. var isWorking = false;
  23217. // The next work in progress fiber that we're currently working on.
  23218. var nextUnitOfWork = null;
  23219. var nextRoot = null;
  23220. // The time at which we're currently rendering work.
  23221. var nextRenderExpirationTime = NoWork;
  23222. var nextLatestAbsoluteTimeoutMs = -1;
  23223. var nextRenderDidError = false;
  23224. // The next fiber with an effect that we're currently committing.
  23225. var nextEffect = null;
  23226. var isCommitting$1 = false;
  23227. var rootWithPendingPassiveEffects = null;
  23228. var passiveEffectCallbackHandle = null;
  23229. var passiveEffectCallback = null;
  23230. var legacyErrorBoundariesThatAlreadyFailed = null;
  23231. // Used for performance tracking.
  23232. var interruptedBy = null;
  23233. var stashedWorkInProgressProperties = void 0;
  23234. var replayUnitOfWork = void 0;
  23235. var mayReplayFailedUnitOfWork = void 0;
  23236. var isReplayingFailedUnitOfWork = void 0;
  23237. var originalReplayError = void 0;
  23238. var rethrowOriginalError = void 0;
  23239. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  23240. stashedWorkInProgressProperties = null;
  23241. mayReplayFailedUnitOfWork = true;
  23242. isReplayingFailedUnitOfWork = false;
  23243. originalReplayError = null;
  23244. replayUnitOfWork = function (failedUnitOfWork, thrownValue, isYieldy) {
  23245. if (thrownValue !== null && typeof thrownValue === 'object' && typeof thrownValue.then === 'function') {
  23246. // Don't replay promises. Treat everything else like an error.
  23247. // TODO: Need to figure out a different strategy if/when we add
  23248. // support for catching other types.
  23249. return;
  23250. }
  23251. // Restore the original state of the work-in-progress
  23252. if (stashedWorkInProgressProperties === null) {
  23253. // This should never happen. Don't throw because this code is DEV-only.
  23254. warningWithoutStack$1(false, 'Could not replay rendering after an error. This is likely a bug in React. ' + 'Please file an issue.');
  23255. return;
  23256. }
  23257. assignFiberPropertiesInDEV(failedUnitOfWork, stashedWorkInProgressProperties);
  23258. switch (failedUnitOfWork.tag) {
  23259. case HostRoot:
  23260. popHostContainer(failedUnitOfWork);
  23261. popTopLevelContextObject(failedUnitOfWork);
  23262. break;
  23263. case HostComponent:
  23264. popHostContext(failedUnitOfWork);
  23265. break;
  23266. case ClassComponent:
  23267. {
  23268. var Component = failedUnitOfWork.type;
  23269. if (isContextProvider(Component)) {
  23270. popContext(failedUnitOfWork);
  23271. }
  23272. break;
  23273. }
  23274. case HostPortal:
  23275. popHostContainer(failedUnitOfWork);
  23276. break;
  23277. case ContextProvider:
  23278. popProvider(failedUnitOfWork);
  23279. break;
  23280. }
  23281. // Replay the begin phase.
  23282. isReplayingFailedUnitOfWork = true;
  23283. originalReplayError = thrownValue;
  23284. invokeGuardedCallback(null, workLoop, null, isYieldy);
  23285. isReplayingFailedUnitOfWork = false;
  23286. originalReplayError = null;
  23287. if (hasCaughtError()) {
  23288. var replayError = clearCaughtError();
  23289. if (replayError != null && thrownValue != null) {
  23290. try {
  23291. // Reading the expando property is intentionally
  23292. // inside `try` because it might be a getter or Proxy.
  23293. if (replayError._suppressLogging) {
  23294. // Also suppress logging for the original error.
  23295. thrownValue._suppressLogging = true;
  23296. }
  23297. } catch (inner) {
  23298. // Ignore.
  23299. }
  23300. }
  23301. } else {
  23302. // If the begin phase did not fail the second time, set this pointer
  23303. // back to the original value.
  23304. nextUnitOfWork = failedUnitOfWork;
  23305. }
  23306. };
  23307. rethrowOriginalError = function () {
  23308. throw originalReplayError;
  23309. };
  23310. }
  23311. function resetStack() {
  23312. if (nextUnitOfWork !== null) {
  23313. var interruptedWork = nextUnitOfWork.return;
  23314. while (interruptedWork !== null) {
  23315. unwindInterruptedWork(interruptedWork);
  23316. interruptedWork = interruptedWork.return;
  23317. }
  23318. }
  23319. {
  23320. ReactStrictModeWarnings.discardPendingWarnings();
  23321. checkThatStackIsEmpty();
  23322. }
  23323. nextRoot = null;
  23324. nextRenderExpirationTime = NoWork;
  23325. nextLatestAbsoluteTimeoutMs = -1;
  23326. nextRenderDidError = false;
  23327. nextUnitOfWork = null;
  23328. }
  23329. function commitAllHostEffects() {
  23330. while (nextEffect !== null) {
  23331. {
  23332. setCurrentFiber(nextEffect);
  23333. }
  23334. recordEffect();
  23335. var effectTag = nextEffect.effectTag;
  23336. if (effectTag & ContentReset) {
  23337. commitResetTextContent(nextEffect);
  23338. }
  23339. if (effectTag & Ref) {
  23340. var current$$1 = nextEffect.alternate;
  23341. if (current$$1 !== null) {
  23342. commitDetachRef(current$$1);
  23343. }
  23344. }
  23345. // The following switch statement is only concerned about placement,
  23346. // updates, and deletions. To avoid needing to add a case for every
  23347. // possible bitmap value, we remove the secondary effects from the
  23348. // effect tag and switch on that value.
  23349. var primaryEffectTag = effectTag & (Placement | Update | Deletion);
  23350. switch (primaryEffectTag) {
  23351. case Placement:
  23352. {
  23353. commitPlacement(nextEffect);
  23354. // Clear the "placement" from effect tag so that we know that this is inserted, before
  23355. // any life-cycles like componentDidMount gets called.
  23356. // TODO: findDOMNode doesn't rely on this any more but isMounted
  23357. // does and isMounted is deprecated anyway so we should be able
  23358. // to kill this.
  23359. nextEffect.effectTag &= ~Placement;
  23360. break;
  23361. }
  23362. case PlacementAndUpdate:
  23363. {
  23364. // Placement
  23365. commitPlacement(nextEffect);
  23366. // Clear the "placement" from effect tag so that we know that this is inserted, before
  23367. // any life-cycles like componentDidMount gets called.
  23368. nextEffect.effectTag &= ~Placement;
  23369. // Update
  23370. var _current = nextEffect.alternate;
  23371. commitWork(_current, nextEffect);
  23372. break;
  23373. }
  23374. case Update:
  23375. {
  23376. var _current2 = nextEffect.alternate;
  23377. commitWork(_current2, nextEffect);
  23378. break;
  23379. }
  23380. case Deletion:
  23381. {
  23382. commitDeletion(nextEffect);
  23383. break;
  23384. }
  23385. }
  23386. nextEffect = nextEffect.nextEffect;
  23387. }
  23388. {
  23389. resetCurrentFiber();
  23390. }
  23391. }
  23392. function commitBeforeMutationLifecycles() {
  23393. while (nextEffect !== null) {
  23394. {
  23395. setCurrentFiber(nextEffect);
  23396. }
  23397. var effectTag = nextEffect.effectTag;
  23398. if (effectTag & Snapshot) {
  23399. recordEffect();
  23400. var current$$1 = nextEffect.alternate;
  23401. commitBeforeMutationLifeCycles(current$$1, nextEffect);
  23402. }
  23403. nextEffect = nextEffect.nextEffect;
  23404. }
  23405. {
  23406. resetCurrentFiber();
  23407. }
  23408. }
  23409. function commitAllLifeCycles(finishedRoot, committedExpirationTime) {
  23410. {
  23411. ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
  23412. ReactStrictModeWarnings.flushLegacyContextWarning();
  23413. if (warnAboutDeprecatedLifecycles) {
  23414. ReactStrictModeWarnings.flushPendingDeprecationWarnings();
  23415. }
  23416. }
  23417. while (nextEffect !== null) {
  23418. var effectTag = nextEffect.effectTag;
  23419. if (effectTag & (Update | Callback)) {
  23420. recordEffect();
  23421. var current$$1 = nextEffect.alternate;
  23422. commitLifeCycles(finishedRoot, current$$1, nextEffect, committedExpirationTime);
  23423. }
  23424. if (effectTag & Ref) {
  23425. recordEffect();
  23426. commitAttachRef(nextEffect);
  23427. }
  23428. if (enableHooks && effectTag & Passive) {
  23429. rootWithPendingPassiveEffects = finishedRoot;
  23430. }
  23431. nextEffect = nextEffect.nextEffect;
  23432. }
  23433. }
  23434. function commitPassiveEffects(root, firstEffect) {
  23435. rootWithPendingPassiveEffects = null;
  23436. passiveEffectCallbackHandle = null;
  23437. passiveEffectCallback = null;
  23438. // Set this to true to prevent re-entrancy
  23439. var previousIsRendering = isRendering;
  23440. isRendering = true;
  23441. var effect = firstEffect;
  23442. do {
  23443. if (effect.effectTag & Passive) {
  23444. var didError = false;
  23445. var error = void 0;
  23446. {
  23447. invokeGuardedCallback(null, commitPassiveHookEffects, null, effect);
  23448. if (hasCaughtError()) {
  23449. didError = true;
  23450. error = clearCaughtError();
  23451. }
  23452. }
  23453. if (didError) {
  23454. captureCommitPhaseError(effect, error);
  23455. }
  23456. }
  23457. effect = effect.nextEffect;
  23458. } while (effect !== null);
  23459. isRendering = previousIsRendering;
  23460. // Check if work was scheduled by one of the effects
  23461. var rootExpirationTime = root.expirationTime;
  23462. if (rootExpirationTime !== NoWork) {
  23463. requestWork(root, rootExpirationTime);
  23464. }
  23465. }
  23466. function isAlreadyFailedLegacyErrorBoundary(instance) {
  23467. return legacyErrorBoundariesThatAlreadyFailed !== null && legacyErrorBoundariesThatAlreadyFailed.has(instance);
  23468. }
  23469. function markLegacyErrorBoundaryAsFailed(instance) {
  23470. if (legacyErrorBoundariesThatAlreadyFailed === null) {
  23471. legacyErrorBoundariesThatAlreadyFailed = new Set([instance]);
  23472. } else {
  23473. legacyErrorBoundariesThatAlreadyFailed.add(instance);
  23474. }
  23475. }
  23476. function flushPassiveEffects() {
  23477. if (passiveEffectCallback !== null) {
  23478. scheduler.unstable_cancelCallback(passiveEffectCallbackHandle);
  23479. // We call the scheduled callback instead of commitPassiveEffects directly
  23480. // to ensure tracing works correctly.
  23481. passiveEffectCallback();
  23482. }
  23483. }
  23484. function commitRoot(root, finishedWork) {
  23485. isWorking = true;
  23486. isCommitting$1 = true;
  23487. startCommitTimer();
  23488. !(root.current !== finishedWork) ? invariant(false, 'Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23489. var committedExpirationTime = root.pendingCommitExpirationTime;
  23490. !(committedExpirationTime !== NoWork) ? invariant(false, 'Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23491. root.pendingCommitExpirationTime = NoWork;
  23492. // Update the pending priority levels to account for the work that we are
  23493. // about to commit. This needs to happen before calling the lifecycles, since
  23494. // they may schedule additional updates.
  23495. var updateExpirationTimeBeforeCommit = finishedWork.expirationTime;
  23496. var childExpirationTimeBeforeCommit = finishedWork.childExpirationTime;
  23497. var earliestRemainingTimeBeforeCommit = childExpirationTimeBeforeCommit > updateExpirationTimeBeforeCommit ? childExpirationTimeBeforeCommit : updateExpirationTimeBeforeCommit;
  23498. markCommittedPriorityLevels(root, earliestRemainingTimeBeforeCommit);
  23499. var prevInteractions = null;
  23500. if (enableSchedulerTracing) {
  23501. // Restore any pending interactions at this point,
  23502. // So that cascading work triggered during the render phase will be accounted for.
  23503. prevInteractions = tracing.__interactionsRef.current;
  23504. tracing.__interactionsRef.current = root.memoizedInteractions;
  23505. }
  23506. // Reset this to null before calling lifecycles
  23507. ReactCurrentOwner$2.current = null;
  23508. var firstEffect = void 0;
  23509. if (finishedWork.effectTag > PerformedWork) {
  23510. // A fiber's effect list consists only of its children, not itself. So if
  23511. // the root has an effect, we need to add it to the end of the list. The
  23512. // resulting list is the set that would belong to the root's parent, if
  23513. // it had one; that is, all the effects in the tree including the root.
  23514. if (finishedWork.lastEffect !== null) {
  23515. finishedWork.lastEffect.nextEffect = finishedWork;
  23516. firstEffect = finishedWork.firstEffect;
  23517. } else {
  23518. firstEffect = finishedWork;
  23519. }
  23520. } else {
  23521. // There is no effect on the root.
  23522. firstEffect = finishedWork.firstEffect;
  23523. }
  23524. prepareForCommit(root.containerInfo);
  23525. // Invoke instances of getSnapshotBeforeUpdate before mutation.
  23526. nextEffect = firstEffect;
  23527. startCommitSnapshotEffectsTimer();
  23528. while (nextEffect !== null) {
  23529. var didError = false;
  23530. var error = void 0;
  23531. {
  23532. invokeGuardedCallback(null, commitBeforeMutationLifecycles, null);
  23533. if (hasCaughtError()) {
  23534. didError = true;
  23535. error = clearCaughtError();
  23536. }
  23537. }
  23538. if (didError) {
  23539. !(nextEffect !== null) ? invariant(false, 'Should have next effect. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23540. captureCommitPhaseError(nextEffect, error);
  23541. // Clean-up
  23542. if (nextEffect !== null) {
  23543. nextEffect = nextEffect.nextEffect;
  23544. }
  23545. }
  23546. }
  23547. stopCommitSnapshotEffectsTimer();
  23548. if (enableProfilerTimer) {
  23549. // Mark the current commit time to be shared by all Profilers in this batch.
  23550. // This enables them to be grouped later.
  23551. recordCommitTime();
  23552. }
  23553. // Commit all the side-effects within a tree. We'll do this in two passes.
  23554. // The first pass performs all the host insertions, updates, deletions and
  23555. // ref unmounts.
  23556. nextEffect = firstEffect;
  23557. startCommitHostEffectsTimer();
  23558. while (nextEffect !== null) {
  23559. var _didError = false;
  23560. var _error = void 0;
  23561. {
  23562. invokeGuardedCallback(null, commitAllHostEffects, null);
  23563. if (hasCaughtError()) {
  23564. _didError = true;
  23565. _error = clearCaughtError();
  23566. }
  23567. }
  23568. if (_didError) {
  23569. !(nextEffect !== null) ? invariant(false, 'Should have next effect. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23570. captureCommitPhaseError(nextEffect, _error);
  23571. // Clean-up
  23572. if (nextEffect !== null) {
  23573. nextEffect = nextEffect.nextEffect;
  23574. }
  23575. }
  23576. }
  23577. stopCommitHostEffectsTimer();
  23578. resetAfterCommit(root.containerInfo);
  23579. // The work-in-progress tree is now the current tree. This must come after
  23580. // the first pass of the commit phase, so that the previous tree is still
  23581. // current during componentWillUnmount, but before the second pass, so that
  23582. // the finished work is current during componentDidMount/Update.
  23583. root.current = finishedWork;
  23584. // In the second pass we'll perform all life-cycles and ref callbacks.
  23585. // Life-cycles happen as a separate pass so that all placements, updates,
  23586. // and deletions in the entire tree have already been invoked.
  23587. // This pass also triggers any renderer-specific initial effects.
  23588. nextEffect = firstEffect;
  23589. startCommitLifeCyclesTimer();
  23590. while (nextEffect !== null) {
  23591. var _didError2 = false;
  23592. var _error2 = void 0;
  23593. {
  23594. invokeGuardedCallback(null, commitAllLifeCycles, null, root, committedExpirationTime);
  23595. if (hasCaughtError()) {
  23596. _didError2 = true;
  23597. _error2 = clearCaughtError();
  23598. }
  23599. }
  23600. if (_didError2) {
  23601. !(nextEffect !== null) ? invariant(false, 'Should have next effect. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23602. captureCommitPhaseError(nextEffect, _error2);
  23603. if (nextEffect !== null) {
  23604. nextEffect = nextEffect.nextEffect;
  23605. }
  23606. }
  23607. }
  23608. if (enableHooks && firstEffect !== null && rootWithPendingPassiveEffects !== null) {
  23609. // This commit included a passive effect. These do not need to fire until
  23610. // after the next paint. Schedule an callback to fire them in an async
  23611. // event. To ensure serial execution, the callback will be flushed early if
  23612. // we enter rootWithPendingPassiveEffects commit phase before then.
  23613. var callback = commitPassiveEffects.bind(null, root, firstEffect);
  23614. if (enableSchedulerTracing) {
  23615. // TODO: Avoid this extra callback by mutating the tracing ref directly,
  23616. // like we do at the beginning of commitRoot. I've opted not to do that
  23617. // here because that code is still in flux.
  23618. callback = tracing.unstable_wrap(callback);
  23619. }
  23620. passiveEffectCallbackHandle = scheduler.unstable_scheduleCallback(callback);
  23621. passiveEffectCallback = callback;
  23622. }
  23623. isCommitting$1 = false;
  23624. isWorking = false;
  23625. stopCommitLifeCyclesTimer();
  23626. stopCommitTimer();
  23627. onCommitRoot(finishedWork.stateNode);
  23628. if ( true && ReactFiberInstrumentation_1.debugTool) {
  23629. ReactFiberInstrumentation_1.debugTool.onCommitWork(finishedWork);
  23630. }
  23631. var updateExpirationTimeAfterCommit = finishedWork.expirationTime;
  23632. var childExpirationTimeAfterCommit = finishedWork.childExpirationTime;
  23633. var earliestRemainingTimeAfterCommit = childExpirationTimeAfterCommit > updateExpirationTimeAfterCommit ? childExpirationTimeAfterCommit : updateExpirationTimeAfterCommit;
  23634. if (earliestRemainingTimeAfterCommit === NoWork) {
  23635. // If there's no remaining work, we can clear the set of already failed
  23636. // error boundaries.
  23637. legacyErrorBoundariesThatAlreadyFailed = null;
  23638. }
  23639. onCommit(root, earliestRemainingTimeAfterCommit);
  23640. if (enableSchedulerTracing) {
  23641. tracing.__interactionsRef.current = prevInteractions;
  23642. var subscriber = void 0;
  23643. try {
  23644. subscriber = tracing.__subscriberRef.current;
  23645. if (subscriber !== null && root.memoizedInteractions.size > 0) {
  23646. var threadID = computeThreadID(committedExpirationTime, root.interactionThreadID);
  23647. subscriber.onWorkStopped(root.memoizedInteractions, threadID);
  23648. }
  23649. } catch (error) {
  23650. // It's not safe for commitRoot() to throw.
  23651. // Store the error for now and we'll re-throw in finishRendering().
  23652. if (!hasUnhandledError) {
  23653. hasUnhandledError = true;
  23654. unhandledError = error;
  23655. }
  23656. } finally {
  23657. // Clear completed interactions from the pending Map.
  23658. // Unless the render was suspended or cascading work was scheduled,
  23659. // In which case– leave pending interactions until the subsequent render.
  23660. var pendingInteractionMap = root.pendingInteractionMap;
  23661. pendingInteractionMap.forEach(function (scheduledInteractions, scheduledExpirationTime) {
  23662. // Only decrement the pending interaction count if we're done.
  23663. // If there's still work at the current priority,
  23664. // That indicates that we are waiting for suspense data.
  23665. if (scheduledExpirationTime > earliestRemainingTimeAfterCommit) {
  23666. pendingInteractionMap.delete(scheduledExpirationTime);
  23667. scheduledInteractions.forEach(function (interaction) {
  23668. interaction.__count--;
  23669. if (subscriber !== null && interaction.__count === 0) {
  23670. try {
  23671. subscriber.onInteractionScheduledWorkCompleted(interaction);
  23672. } catch (error) {
  23673. // It's not safe for commitRoot() to throw.
  23674. // Store the error for now and we'll re-throw in finishRendering().
  23675. if (!hasUnhandledError) {
  23676. hasUnhandledError = true;
  23677. unhandledError = error;
  23678. }
  23679. }
  23680. }
  23681. });
  23682. }
  23683. });
  23684. }
  23685. }
  23686. }
  23687. function resetChildExpirationTime(workInProgress, renderTime) {
  23688. if (renderTime !== Never && workInProgress.childExpirationTime === Never) {
  23689. // The children of this component are hidden. Don't bubble their
  23690. // expiration times.
  23691. return;
  23692. }
  23693. var newChildExpirationTime = NoWork;
  23694. // Bubble up the earliest expiration time.
  23695. if (enableProfilerTimer && workInProgress.mode & ProfileMode) {
  23696. // We're in profiling mode.
  23697. // Let's use this same traversal to update the render durations.
  23698. var actualDuration = workInProgress.actualDuration;
  23699. var treeBaseDuration = workInProgress.selfBaseDuration;
  23700. // When a fiber is cloned, its actualDuration is reset to 0.
  23701. // This value will only be updated if work is done on the fiber (i.e. it doesn't bailout).
  23702. // When work is done, it should bubble to the parent's actualDuration.
  23703. // If the fiber has not been cloned though, (meaning no work was done),
  23704. // Then this value will reflect the amount of time spent working on a previous render.
  23705. // In that case it should not bubble.
  23706. // We determine whether it was cloned by comparing the child pointer.
  23707. var shouldBubbleActualDurations = workInProgress.alternate === null || workInProgress.child !== workInProgress.alternate.child;
  23708. var child = workInProgress.child;
  23709. while (child !== null) {
  23710. var childUpdateExpirationTime = child.expirationTime;
  23711. var childChildExpirationTime = child.childExpirationTime;
  23712. if (childUpdateExpirationTime > newChildExpirationTime) {
  23713. newChildExpirationTime = childUpdateExpirationTime;
  23714. }
  23715. if (childChildExpirationTime > newChildExpirationTime) {
  23716. newChildExpirationTime = childChildExpirationTime;
  23717. }
  23718. if (shouldBubbleActualDurations) {
  23719. actualDuration += child.actualDuration;
  23720. }
  23721. treeBaseDuration += child.treeBaseDuration;
  23722. child = child.sibling;
  23723. }
  23724. workInProgress.actualDuration = actualDuration;
  23725. workInProgress.treeBaseDuration = treeBaseDuration;
  23726. } else {
  23727. var _child = workInProgress.child;
  23728. while (_child !== null) {
  23729. var _childUpdateExpirationTime = _child.expirationTime;
  23730. var _childChildExpirationTime = _child.childExpirationTime;
  23731. if (_childUpdateExpirationTime > newChildExpirationTime) {
  23732. newChildExpirationTime = _childUpdateExpirationTime;
  23733. }
  23734. if (_childChildExpirationTime > newChildExpirationTime) {
  23735. newChildExpirationTime = _childChildExpirationTime;
  23736. }
  23737. _child = _child.sibling;
  23738. }
  23739. }
  23740. workInProgress.childExpirationTime = newChildExpirationTime;
  23741. }
  23742. function completeUnitOfWork(workInProgress) {
  23743. // Attempt to complete the current unit of work, then move to the
  23744. // next sibling. If there are no more siblings, return to the
  23745. // parent fiber.
  23746. while (true) {
  23747. // The current, flushed, state of this fiber is the alternate.
  23748. // Ideally nothing should rely on this, but relying on it here
  23749. // means that we don't need an additional field on the work in
  23750. // progress.
  23751. var current$$1 = workInProgress.alternate;
  23752. {
  23753. setCurrentFiber(workInProgress);
  23754. }
  23755. var returnFiber = workInProgress.return;
  23756. var siblingFiber = workInProgress.sibling;
  23757. if ((workInProgress.effectTag & Incomplete) === NoEffect) {
  23758. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  23759. // Don't replay if it fails during completion phase.
  23760. mayReplayFailedUnitOfWork = false;
  23761. }
  23762. // This fiber completed.
  23763. // Remember we're completing this unit so we can find a boundary if it fails.
  23764. nextUnitOfWork = workInProgress;
  23765. if (enableProfilerTimer) {
  23766. if (workInProgress.mode & ProfileMode) {
  23767. startProfilerTimer(workInProgress);
  23768. }
  23769. nextUnitOfWork = completeWork(current$$1, workInProgress, nextRenderExpirationTime);
  23770. if (workInProgress.mode & ProfileMode) {
  23771. // Update render duration assuming we didn't error.
  23772. stopProfilerTimerIfRunningAndRecordDelta(workInProgress, false);
  23773. }
  23774. } else {
  23775. nextUnitOfWork = completeWork(current$$1, workInProgress, nextRenderExpirationTime);
  23776. }
  23777. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  23778. // We're out of completion phase so replaying is fine now.
  23779. mayReplayFailedUnitOfWork = true;
  23780. }
  23781. stopWorkTimer(workInProgress);
  23782. resetChildExpirationTime(workInProgress, nextRenderExpirationTime);
  23783. {
  23784. resetCurrentFiber();
  23785. }
  23786. if (nextUnitOfWork !== null) {
  23787. // Completing this fiber spawned new work. Work on that next.
  23788. return nextUnitOfWork;
  23789. }
  23790. if (returnFiber !== null &&
  23791. // Do not append effects to parents if a sibling failed to complete
  23792. (returnFiber.effectTag & Incomplete) === NoEffect) {
  23793. // Append all the effects of the subtree and this fiber onto the effect
  23794. // list of the parent. The completion order of the children affects the
  23795. // side-effect order.
  23796. if (returnFiber.firstEffect === null) {
  23797. returnFiber.firstEffect = workInProgress.firstEffect;
  23798. }
  23799. if (workInProgress.lastEffect !== null) {
  23800. if (returnFiber.lastEffect !== null) {
  23801. returnFiber.lastEffect.nextEffect = workInProgress.firstEffect;
  23802. }
  23803. returnFiber.lastEffect = workInProgress.lastEffect;
  23804. }
  23805. // If this fiber had side-effects, we append it AFTER the children's
  23806. // side-effects. We can perform certain side-effects earlier if
  23807. // needed, by doing multiple passes over the effect list. We don't want
  23808. // to schedule our own side-effect on our own list because if end up
  23809. // reusing children we'll schedule this effect onto itself since we're
  23810. // at the end.
  23811. var effectTag = workInProgress.effectTag;
  23812. // Skip both NoWork and PerformedWork tags when creating the effect list.
  23813. // PerformedWork effect is read by React DevTools but shouldn't be committed.
  23814. if (effectTag > PerformedWork) {
  23815. if (returnFiber.lastEffect !== null) {
  23816. returnFiber.lastEffect.nextEffect = workInProgress;
  23817. } else {
  23818. returnFiber.firstEffect = workInProgress;
  23819. }
  23820. returnFiber.lastEffect = workInProgress;
  23821. }
  23822. }
  23823. if ( true && ReactFiberInstrumentation_1.debugTool) {
  23824. ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress);
  23825. }
  23826. if (siblingFiber !== null) {
  23827. // If there is more work to do in this returnFiber, do that next.
  23828. return siblingFiber;
  23829. } else if (returnFiber !== null) {
  23830. // If there's no more work in this returnFiber. Complete the returnFiber.
  23831. workInProgress = returnFiber;
  23832. continue;
  23833. } else {
  23834. // We've reached the root.
  23835. return null;
  23836. }
  23837. } else {
  23838. if (enableProfilerTimer && workInProgress.mode & ProfileMode) {
  23839. // Record the render duration for the fiber that errored.
  23840. stopProfilerTimerIfRunningAndRecordDelta(workInProgress, false);
  23841. // Include the time spent working on failed children before continuing.
  23842. var actualDuration = workInProgress.actualDuration;
  23843. var child = workInProgress.child;
  23844. while (child !== null) {
  23845. actualDuration += child.actualDuration;
  23846. child = child.sibling;
  23847. }
  23848. workInProgress.actualDuration = actualDuration;
  23849. }
  23850. // This fiber did not complete because something threw. Pop values off
  23851. // the stack without entering the complete phase. If this is a boundary,
  23852. // capture values if possible.
  23853. var next = unwindWork(workInProgress, nextRenderExpirationTime);
  23854. // Because this fiber did not complete, don't reset its expiration time.
  23855. if (workInProgress.effectTag & DidCapture) {
  23856. // Restarting an error boundary
  23857. stopFailedWorkTimer(workInProgress);
  23858. } else {
  23859. stopWorkTimer(workInProgress);
  23860. }
  23861. {
  23862. resetCurrentFiber();
  23863. }
  23864. if (next !== null) {
  23865. stopWorkTimer(workInProgress);
  23866. if ( true && ReactFiberInstrumentation_1.debugTool) {
  23867. ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress);
  23868. }
  23869. // If completing this work spawned new work, do that next. We'll come
  23870. // back here again.
  23871. // Since we're restarting, remove anything that is not a host effect
  23872. // from the effect tag.
  23873. next.effectTag &= HostEffectMask;
  23874. return next;
  23875. }
  23876. if (returnFiber !== null) {
  23877. // Mark the parent fiber as incomplete and clear its effect list.
  23878. returnFiber.firstEffect = returnFiber.lastEffect = null;
  23879. returnFiber.effectTag |= Incomplete;
  23880. }
  23881. if ( true && ReactFiberInstrumentation_1.debugTool) {
  23882. ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress);
  23883. }
  23884. if (siblingFiber !== null) {
  23885. // If there is more work to do in this returnFiber, do that next.
  23886. return siblingFiber;
  23887. } else if (returnFiber !== null) {
  23888. // If there's no more work in this returnFiber. Complete the returnFiber.
  23889. workInProgress = returnFiber;
  23890. continue;
  23891. } else {
  23892. return null;
  23893. }
  23894. }
  23895. }
  23896. // Without this explicit null return Flow complains of invalid return type
  23897. // TODO Remove the above while(true) loop
  23898. // eslint-disable-next-line no-unreachable
  23899. return null;
  23900. }
  23901. function performUnitOfWork(workInProgress) {
  23902. // The current, flushed, state of this fiber is the alternate.
  23903. // Ideally nothing should rely on this, but relying on it here
  23904. // means that we don't need an additional field on the work in
  23905. // progress.
  23906. var current$$1 = workInProgress.alternate;
  23907. // See if beginning this work spawns more work.
  23908. startWorkTimer(workInProgress);
  23909. {
  23910. setCurrentFiber(workInProgress);
  23911. }
  23912. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  23913. stashedWorkInProgressProperties = assignFiberPropertiesInDEV(stashedWorkInProgressProperties, workInProgress);
  23914. }
  23915. var next = void 0;
  23916. if (enableProfilerTimer) {
  23917. if (workInProgress.mode & ProfileMode) {
  23918. startProfilerTimer(workInProgress);
  23919. }
  23920. next = beginWork(current$$1, workInProgress, nextRenderExpirationTime);
  23921. workInProgress.memoizedProps = workInProgress.pendingProps;
  23922. if (workInProgress.mode & ProfileMode) {
  23923. // Record the render duration assuming we didn't bailout (or error).
  23924. stopProfilerTimerIfRunningAndRecordDelta(workInProgress, true);
  23925. }
  23926. } else {
  23927. next = beginWork(current$$1, workInProgress, nextRenderExpirationTime);
  23928. workInProgress.memoizedProps = workInProgress.pendingProps;
  23929. }
  23930. {
  23931. resetCurrentFiber();
  23932. if (isReplayingFailedUnitOfWork) {
  23933. // Currently replaying a failed unit of work. This should be unreachable,
  23934. // because the render phase is meant to be idempotent, and it should
  23935. // have thrown again. Since it didn't, rethrow the original error, so
  23936. // React's internal stack is not misaligned.
  23937. rethrowOriginalError();
  23938. }
  23939. }
  23940. if ( true && ReactFiberInstrumentation_1.debugTool) {
  23941. ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress);
  23942. }
  23943. if (next === null) {
  23944. // If this doesn't spawn new work, complete the current work.
  23945. next = completeUnitOfWork(workInProgress);
  23946. }
  23947. ReactCurrentOwner$2.current = null;
  23948. return next;
  23949. }
  23950. function workLoop(isYieldy) {
  23951. if (!isYieldy) {
  23952. // Flush work without yielding
  23953. while (nextUnitOfWork !== null) {
  23954. nextUnitOfWork = performUnitOfWork(nextUnitOfWork);
  23955. }
  23956. } else {
  23957. // Flush asynchronous work until there's a higher priority event
  23958. while (nextUnitOfWork !== null && !shouldYieldToRenderer()) {
  23959. nextUnitOfWork = performUnitOfWork(nextUnitOfWork);
  23960. }
  23961. }
  23962. }
  23963. function renderRoot(root, isYieldy) {
  23964. !!isWorking ? invariant(false, 'renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  23965. flushPassiveEffects();
  23966. isWorking = true;
  23967. if (enableHooks) {
  23968. ReactCurrentOwner$2.currentDispatcher = Dispatcher;
  23969. } else {
  23970. ReactCurrentOwner$2.currentDispatcher = DispatcherWithoutHooks;
  23971. }
  23972. var expirationTime = root.nextExpirationTimeToWorkOn;
  23973. // Check if we're starting from a fresh stack, or if we're resuming from
  23974. // previously yielded work.
  23975. if (expirationTime !== nextRenderExpirationTime || root !== nextRoot || nextUnitOfWork === null) {
  23976. // Reset the stack and start working from the root.
  23977. resetStack();
  23978. nextRoot = root;
  23979. nextRenderExpirationTime = expirationTime;
  23980. nextUnitOfWork = createWorkInProgress(nextRoot.current, null, nextRenderExpirationTime);
  23981. root.pendingCommitExpirationTime = NoWork;
  23982. if (enableSchedulerTracing) {
  23983. // Determine which interactions this batch of work currently includes,
  23984. // So that we can accurately attribute time spent working on it,
  23985. var interactions = new Set();
  23986. root.pendingInteractionMap.forEach(function (scheduledInteractions, scheduledExpirationTime) {
  23987. if (scheduledExpirationTime >= expirationTime) {
  23988. scheduledInteractions.forEach(function (interaction) {
  23989. return interactions.add(interaction);
  23990. });
  23991. }
  23992. });
  23993. // Store the current set of interactions on the FiberRoot for a few reasons:
  23994. // We can re-use it in hot functions like renderRoot() without having to recalculate it.
  23995. // We will also use it in commitWork() to pass to any Profiler onRender() hooks.
  23996. // This also provides DevTools with a way to access it when the onCommitRoot() hook is called.
  23997. root.memoizedInteractions = interactions;
  23998. if (interactions.size > 0) {
  23999. var subscriber = tracing.__subscriberRef.current;
  24000. if (subscriber !== null) {
  24001. var threadID = computeThreadID(expirationTime, root.interactionThreadID);
  24002. try {
  24003. subscriber.onWorkStarted(interactions, threadID);
  24004. } catch (error) {
  24005. // Work thrown by an interaction tracing subscriber should be rethrown,
  24006. // But only once it's safe (to avoid leaveing the scheduler in an invalid state).
  24007. // Store the error for now and we'll re-throw in finishRendering().
  24008. if (!hasUnhandledError) {
  24009. hasUnhandledError = true;
  24010. unhandledError = error;
  24011. }
  24012. }
  24013. }
  24014. }
  24015. }
  24016. }
  24017. var prevInteractions = null;
  24018. if (enableSchedulerTracing) {
  24019. // We're about to start new traced work.
  24020. // Restore pending interactions so cascading work triggered during the render phase will be accounted for.
  24021. prevInteractions = tracing.__interactionsRef.current;
  24022. tracing.__interactionsRef.current = root.memoizedInteractions;
  24023. }
  24024. var didFatal = false;
  24025. startWorkLoopTimer(nextUnitOfWork);
  24026. do {
  24027. try {
  24028. workLoop(isYieldy);
  24029. } catch (thrownValue) {
  24030. resetContextDependences();
  24031. resetHooks();
  24032. // Reset in case completion throws.
  24033. // This is only used in DEV and when replaying is on.
  24034. var mayReplay = void 0;
  24035. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  24036. mayReplay = mayReplayFailedUnitOfWork;
  24037. mayReplayFailedUnitOfWork = true;
  24038. }
  24039. if (nextUnitOfWork === null) {
  24040. // This is a fatal error.
  24041. didFatal = true;
  24042. onUncaughtError(thrownValue);
  24043. } else {
  24044. if (enableProfilerTimer && nextUnitOfWork.mode & ProfileMode) {
  24045. // Record the time spent rendering before an error was thrown.
  24046. // This avoids inaccurate Profiler durations in the case of a suspended render.
  24047. stopProfilerTimerIfRunningAndRecordDelta(nextUnitOfWork, true);
  24048. }
  24049. {
  24050. // Reset global debug state
  24051. // We assume this is defined in DEV
  24052. resetCurrentlyProcessingQueue();
  24053. }
  24054. if ( true && replayFailedUnitOfWorkWithInvokeGuardedCallback) {
  24055. if (mayReplay) {
  24056. var failedUnitOfWork = nextUnitOfWork;
  24057. replayUnitOfWork(failedUnitOfWork, thrownValue, isYieldy);
  24058. }
  24059. }
  24060. // TODO: we already know this isn't true in some cases.
  24061. // At least this shows a nicer error message until we figure out the cause.
  24062. // https://github.com/facebook/react/issues/12449#issuecomment-386727431
  24063. !(nextUnitOfWork !== null) ? invariant(false, 'Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help us find it.') : void 0;
  24064. var sourceFiber = nextUnitOfWork;
  24065. var returnFiber = sourceFiber.return;
  24066. if (returnFiber === null) {
  24067. // This is the root. The root could capture its own errors. However,
  24068. // we don't know if it errors before or after we pushed the host
  24069. // context. This information is needed to avoid a stack mismatch.
  24070. // Because we're not sure, treat this as a fatal error. We could track
  24071. // which phase it fails in, but doesn't seem worth it. At least
  24072. // for now.
  24073. didFatal = true;
  24074. onUncaughtError(thrownValue);
  24075. } else {
  24076. throwException(root, returnFiber, sourceFiber, thrownValue, nextRenderExpirationTime);
  24077. nextUnitOfWork = completeUnitOfWork(sourceFiber);
  24078. continue;
  24079. }
  24080. }
  24081. }
  24082. break;
  24083. } while (true);
  24084. if (enableSchedulerTracing) {
  24085. // Traced work is done for now; restore the previous interactions.
  24086. tracing.__interactionsRef.current = prevInteractions;
  24087. }
  24088. // We're done performing work. Time to clean up.
  24089. isWorking = false;
  24090. ReactCurrentOwner$2.currentDispatcher = null;
  24091. resetContextDependences();
  24092. resetHooks();
  24093. // Yield back to main thread.
  24094. if (didFatal) {
  24095. var _didCompleteRoot = false;
  24096. stopWorkLoopTimer(interruptedBy, _didCompleteRoot);
  24097. interruptedBy = null;
  24098. // There was a fatal error.
  24099. {
  24100. resetStackAfterFatalErrorInDev();
  24101. }
  24102. // `nextRoot` points to the in-progress root. A non-null value indicates
  24103. // that we're in the middle of an async render. Set it to null to indicate
  24104. // there's no more work to be done in the current batch.
  24105. nextRoot = null;
  24106. onFatal(root);
  24107. return;
  24108. }
  24109. if (nextUnitOfWork !== null) {
  24110. // There's still remaining async work in this tree, but we ran out of time
  24111. // in the current frame. Yield back to the renderer. Unless we're
  24112. // interrupted by a higher priority update, we'll continue later from where
  24113. // we left off.
  24114. var _didCompleteRoot2 = false;
  24115. stopWorkLoopTimer(interruptedBy, _didCompleteRoot2);
  24116. interruptedBy = null;
  24117. onYield(root);
  24118. return;
  24119. }
  24120. // We completed the whole tree.
  24121. var didCompleteRoot = true;
  24122. stopWorkLoopTimer(interruptedBy, didCompleteRoot);
  24123. var rootWorkInProgress = root.current.alternate;
  24124. !(rootWorkInProgress !== null) ? invariant(false, 'Finished root should have a work-in-progress. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  24125. // `nextRoot` points to the in-progress root. A non-null value indicates
  24126. // that we're in the middle of an async render. Set it to null to indicate
  24127. // there's no more work to be done in the current batch.
  24128. nextRoot = null;
  24129. interruptedBy = null;
  24130. if (nextRenderDidError) {
  24131. // There was an error
  24132. if (hasLowerPriorityWork(root, expirationTime)) {
  24133. // There's lower priority work. If so, it may have the effect of fixing
  24134. // the exception that was just thrown. Exit without committing. This is
  24135. // similar to a suspend, but without a timeout because we're not waiting
  24136. // for a promise to resolve. React will restart at the lower
  24137. // priority level.
  24138. markSuspendedPriorityLevel(root, expirationTime);
  24139. var suspendedExpirationTime = expirationTime;
  24140. var rootExpirationTime = root.expirationTime;
  24141. onSuspend(root, rootWorkInProgress, suspendedExpirationTime, rootExpirationTime, -1 // Indicates no timeout
  24142. );
  24143. return;
  24144. } else if (
  24145. // There's no lower priority work, but we're rendering asynchronously.
  24146. // Synchronsouly attempt to render the same level one more time. This is
  24147. // similar to a suspend, but without a timeout because we're not waiting
  24148. // for a promise to resolve.
  24149. !root.didError && isYieldy) {
  24150. root.didError = true;
  24151. var _suspendedExpirationTime = root.nextExpirationTimeToWorkOn = expirationTime;
  24152. var _rootExpirationTime = root.expirationTime = Sync;
  24153. onSuspend(root, rootWorkInProgress, _suspendedExpirationTime, _rootExpirationTime, -1 // Indicates no timeout
  24154. );
  24155. return;
  24156. }
  24157. }
  24158. if (isYieldy && nextLatestAbsoluteTimeoutMs !== -1) {
  24159. // The tree was suspended.
  24160. var _suspendedExpirationTime2 = expirationTime;
  24161. markSuspendedPriorityLevel(root, _suspendedExpirationTime2);
  24162. // Find the earliest uncommitted expiration time in the tree, including
  24163. // work that is suspended. The timeout threshold cannot be longer than
  24164. // the overall expiration.
  24165. var earliestExpirationTime = findEarliestOutstandingPriorityLevel(root, expirationTime);
  24166. var earliestExpirationTimeMs = expirationTimeToMs(earliestExpirationTime);
  24167. if (earliestExpirationTimeMs < nextLatestAbsoluteTimeoutMs) {
  24168. nextLatestAbsoluteTimeoutMs = earliestExpirationTimeMs;
  24169. }
  24170. // Subtract the current time from the absolute timeout to get the number
  24171. // of milliseconds until the timeout. In other words, convert an absolute
  24172. // timestamp to a relative time. This is the value that is passed
  24173. // to `setTimeout`.
  24174. var currentTimeMs = expirationTimeToMs(requestCurrentTime());
  24175. var msUntilTimeout = nextLatestAbsoluteTimeoutMs - currentTimeMs;
  24176. msUntilTimeout = msUntilTimeout < 0 ? 0 : msUntilTimeout;
  24177. // TODO: Account for the Just Noticeable Difference
  24178. var _rootExpirationTime2 = root.expirationTime;
  24179. onSuspend(root, rootWorkInProgress, _suspendedExpirationTime2, _rootExpirationTime2, msUntilTimeout);
  24180. return;
  24181. }
  24182. // Ready to commit.
  24183. onComplete(root, rootWorkInProgress, expirationTime);
  24184. }
  24185. function captureCommitPhaseError(sourceFiber, value) {
  24186. var expirationTime = Sync;
  24187. var fiber = sourceFiber.return;
  24188. while (fiber !== null) {
  24189. switch (fiber.tag) {
  24190. case ClassComponent:
  24191. var ctor = fiber.type;
  24192. var instance = fiber.stateNode;
  24193. if (typeof ctor.getDerivedStateFromError === 'function' || typeof instance.componentDidCatch === 'function' && !isAlreadyFailedLegacyErrorBoundary(instance)) {
  24194. var errorInfo = createCapturedValue(value, sourceFiber);
  24195. var update = createClassErrorUpdate(fiber, errorInfo, expirationTime);
  24196. enqueueUpdate(fiber, update);
  24197. scheduleWork(fiber, expirationTime);
  24198. return;
  24199. }
  24200. break;
  24201. case HostRoot:
  24202. {
  24203. var _errorInfo = createCapturedValue(value, sourceFiber);
  24204. var _update = createRootErrorUpdate(fiber, _errorInfo, expirationTime);
  24205. enqueueUpdate(fiber, _update);
  24206. scheduleWork(fiber, expirationTime);
  24207. return;
  24208. }
  24209. }
  24210. fiber = fiber.return;
  24211. }
  24212. if (sourceFiber.tag === HostRoot) {
  24213. // Error was thrown at the root. There is no parent, so the root
  24214. // itself should capture it.
  24215. var rootFiber = sourceFiber;
  24216. var _errorInfo2 = createCapturedValue(value, rootFiber);
  24217. var _update2 = createRootErrorUpdate(rootFiber, _errorInfo2, expirationTime);
  24218. enqueueUpdate(rootFiber, _update2);
  24219. scheduleWork(rootFiber, expirationTime);
  24220. }
  24221. }
  24222. function computeThreadID(expirationTime, interactionThreadID) {
  24223. // Interaction threads are unique per root and expiration time.
  24224. return expirationTime * 1000 + interactionThreadID;
  24225. }
  24226. // Creates a unique async expiration time.
  24227. function computeUniqueAsyncExpiration() {
  24228. var currentTime = requestCurrentTime();
  24229. var result = computeAsyncExpiration(currentTime);
  24230. if (result >= lastUniqueAsyncExpiration) {
  24231. // Since we assume the current time monotonically increases, we only hit
  24232. // this branch when computeUniqueAsyncExpiration is fired multiple times
  24233. // within a 200ms window (or whatever the async bucket size is).
  24234. result = lastUniqueAsyncExpiration - 1;
  24235. }
  24236. lastUniqueAsyncExpiration = result;
  24237. return lastUniqueAsyncExpiration;
  24238. }
  24239. function computeExpirationForFiber(currentTime, fiber) {
  24240. var expirationTime = void 0;
  24241. if (expirationContext !== NoWork) {
  24242. // An explicit expiration context was set;
  24243. expirationTime = expirationContext;
  24244. } else if (isWorking) {
  24245. if (isCommitting$1) {
  24246. // Updates that occur during the commit phase should have sync priority
  24247. // by default.
  24248. expirationTime = Sync;
  24249. } else {
  24250. // Updates during the render phase should expire at the same time as
  24251. // the work that is being rendered.
  24252. expirationTime = nextRenderExpirationTime;
  24253. }
  24254. } else {
  24255. // No explicit expiration context was set, and we're not currently
  24256. // performing work. Calculate a new expiration time.
  24257. if (fiber.mode & ConcurrentMode) {
  24258. if (isBatchingInteractiveUpdates) {
  24259. // This is an interactive update
  24260. expirationTime = computeInteractiveExpiration(currentTime);
  24261. } else {
  24262. // This is an async update
  24263. expirationTime = computeAsyncExpiration(currentTime);
  24264. }
  24265. // If we're in the middle of rendering a tree, do not update at the same
  24266. // expiration time that is already rendering.
  24267. if (nextRoot !== null && expirationTime === nextRenderExpirationTime) {
  24268. expirationTime -= 1;
  24269. }
  24270. } else {
  24271. // This is a sync update
  24272. expirationTime = Sync;
  24273. }
  24274. }
  24275. if (isBatchingInteractiveUpdates) {
  24276. // This is an interactive update. Keep track of the lowest pending
  24277. // interactive expiration time. This allows us to synchronously flush
  24278. // all interactive updates when needed.
  24279. if (lowestPriorityPendingInteractiveExpirationTime === NoWork || expirationTime < lowestPriorityPendingInteractiveExpirationTime) {
  24280. lowestPriorityPendingInteractiveExpirationTime = expirationTime;
  24281. }
  24282. }
  24283. return expirationTime;
  24284. }
  24285. function renderDidSuspend(root, absoluteTimeoutMs, suspendedTime) {
  24286. // Schedule the timeout.
  24287. if (absoluteTimeoutMs >= 0 && nextLatestAbsoluteTimeoutMs < absoluteTimeoutMs) {
  24288. nextLatestAbsoluteTimeoutMs = absoluteTimeoutMs;
  24289. }
  24290. }
  24291. function renderDidError() {
  24292. nextRenderDidError = true;
  24293. }
  24294. function retrySuspendedRoot(root, boundaryFiber, sourceFiber, suspendedTime) {
  24295. var retryTime = void 0;
  24296. if (isPriorityLevelSuspended(root, suspendedTime)) {
  24297. // Ping at the original level
  24298. retryTime = suspendedTime;
  24299. markPingedPriorityLevel(root, retryTime);
  24300. } else {
  24301. // Suspense already timed out. Compute a new expiration time
  24302. var currentTime = requestCurrentTime();
  24303. retryTime = computeExpirationForFiber(currentTime, boundaryFiber);
  24304. markPendingPriorityLevel(root, retryTime);
  24305. }
  24306. // TODO: If the suspense fiber has already rendered the primary children
  24307. // without suspending (that is, all of the promises have already resolved),
  24308. // we should not trigger another update here. One case this happens is when
  24309. // we are in sync mode and a single promise is thrown both on initial render
  24310. // and on update; we attach two .then(retrySuspendedRoot) callbacks and each
  24311. // one performs Sync work, rerendering the Suspense.
  24312. if ((boundaryFiber.mode & ConcurrentMode) !== NoContext) {
  24313. if (root === nextRoot && nextRenderExpirationTime === suspendedTime) {
  24314. // Received a ping at the same priority level at which we're currently
  24315. // rendering. Restart from the root.
  24316. nextRoot = null;
  24317. }
  24318. }
  24319. scheduleWorkToRoot(boundaryFiber, retryTime);
  24320. if ((boundaryFiber.mode & ConcurrentMode) === NoContext) {
  24321. // Outside of concurrent mode, we must schedule an update on the source
  24322. // fiber, too, since it already committed in an inconsistent state and
  24323. // therefore does not have any pending work.
  24324. scheduleWorkToRoot(sourceFiber, retryTime);
  24325. var sourceTag = sourceFiber.tag;
  24326. if (sourceTag === ClassComponent && sourceFiber.stateNode !== null) {
  24327. // When we try rendering again, we should not reuse the current fiber,
  24328. // since it's known to be in an inconsistent state. Use a force updte to
  24329. // prevent a bail out.
  24330. var update = createUpdate(retryTime);
  24331. update.tag = ForceUpdate;
  24332. enqueueUpdate(sourceFiber, update);
  24333. }
  24334. }
  24335. var rootExpirationTime = root.expirationTime;
  24336. if (rootExpirationTime !== NoWork) {
  24337. requestWork(root, rootExpirationTime);
  24338. }
  24339. }
  24340. function scheduleWorkToRoot(fiber, expirationTime) {
  24341. recordScheduleUpdate();
  24342. {
  24343. if (fiber.tag === ClassComponent) {
  24344. var instance = fiber.stateNode;
  24345. warnAboutInvalidUpdates(instance);
  24346. }
  24347. }
  24348. // Update the source fiber's expiration time
  24349. if (fiber.expirationTime < expirationTime) {
  24350. fiber.expirationTime = expirationTime;
  24351. }
  24352. var alternate = fiber.alternate;
  24353. if (alternate !== null && alternate.expirationTime < expirationTime) {
  24354. alternate.expirationTime = expirationTime;
  24355. }
  24356. // Walk the parent path to the root and update the child expiration time.
  24357. var node = fiber.return;
  24358. var root = null;
  24359. if (node === null && fiber.tag === HostRoot) {
  24360. root = fiber.stateNode;
  24361. } else {
  24362. while (node !== null) {
  24363. alternate = node.alternate;
  24364. if (node.childExpirationTime < expirationTime) {
  24365. node.childExpirationTime = expirationTime;
  24366. if (alternate !== null && alternate.childExpirationTime < expirationTime) {
  24367. alternate.childExpirationTime = expirationTime;
  24368. }
  24369. } else if (alternate !== null && alternate.childExpirationTime < expirationTime) {
  24370. alternate.childExpirationTime = expirationTime;
  24371. }
  24372. if (node.return === null && node.tag === HostRoot) {
  24373. root = node.stateNode;
  24374. break;
  24375. }
  24376. node = node.return;
  24377. }
  24378. }
  24379. if (enableSchedulerTracing) {
  24380. if (root !== null) {
  24381. var interactions = tracing.__interactionsRef.current;
  24382. if (interactions.size > 0) {
  24383. var pendingInteractionMap = root.pendingInteractionMap;
  24384. var pendingInteractions = pendingInteractionMap.get(expirationTime);
  24385. if (pendingInteractions != null) {
  24386. interactions.forEach(function (interaction) {
  24387. if (!pendingInteractions.has(interaction)) {
  24388. // Update the pending async work count for previously unscheduled interaction.
  24389. interaction.__count++;
  24390. }
  24391. pendingInteractions.add(interaction);
  24392. });
  24393. } else {
  24394. pendingInteractionMap.set(expirationTime, new Set(interactions));
  24395. // Update the pending async work count for the current interactions.
  24396. interactions.forEach(function (interaction) {
  24397. interaction.__count++;
  24398. });
  24399. }
  24400. var subscriber = tracing.__subscriberRef.current;
  24401. if (subscriber !== null) {
  24402. var threadID = computeThreadID(expirationTime, root.interactionThreadID);
  24403. subscriber.onWorkScheduled(interactions, threadID);
  24404. }
  24405. }
  24406. }
  24407. }
  24408. return root;
  24409. }
  24410. function scheduleWork(fiber, expirationTime) {
  24411. var root = scheduleWorkToRoot(fiber, expirationTime);
  24412. if (root === null) {
  24413. {
  24414. switch (fiber.tag) {
  24415. case ClassComponent:
  24416. warnAboutUpdateOnUnmounted(fiber, true);
  24417. break;
  24418. case FunctionComponent:
  24419. case ForwardRef:
  24420. case MemoComponent:
  24421. case SimpleMemoComponent:
  24422. warnAboutUpdateOnUnmounted(fiber, false);
  24423. break;
  24424. }
  24425. }
  24426. return;
  24427. }
  24428. if (!isWorking && nextRenderExpirationTime !== NoWork && expirationTime > nextRenderExpirationTime) {
  24429. // This is an interruption. (Used for performance tracking.)
  24430. interruptedBy = fiber;
  24431. resetStack();
  24432. }
  24433. markPendingPriorityLevel(root, expirationTime);
  24434. if (
  24435. // If we're in the render phase, we don't need to schedule this root
  24436. // for an update, because we'll do it before we exit...
  24437. !isWorking || isCommitting$1 ||
  24438. // ...unless this is a different root than the one we're rendering.
  24439. nextRoot !== root) {
  24440. var rootExpirationTime = root.expirationTime;
  24441. requestWork(root, rootExpirationTime);
  24442. }
  24443. if (nestedUpdateCount > NESTED_UPDATE_LIMIT) {
  24444. // Reset this back to zero so subsequent updates don't throw.
  24445. nestedUpdateCount = 0;
  24446. invariant(false, 'Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.');
  24447. }
  24448. }
  24449. function syncUpdates(fn, a, b, c, d) {
  24450. var previousExpirationContext = expirationContext;
  24451. expirationContext = Sync;
  24452. try {
  24453. return fn(a, b, c, d);
  24454. } finally {
  24455. expirationContext = previousExpirationContext;
  24456. }
  24457. }
  24458. // TODO: Everything below this is written as if it has been lifted to the
  24459. // renderers. I'll do this in a follow-up.
  24460. // Linked-list of roots
  24461. var firstScheduledRoot = null;
  24462. var lastScheduledRoot = null;
  24463. var callbackExpirationTime = NoWork;
  24464. var callbackID = void 0;
  24465. var isRendering = false;
  24466. var nextFlushedRoot = null;
  24467. var nextFlushedExpirationTime = NoWork;
  24468. var lowestPriorityPendingInteractiveExpirationTime = NoWork;
  24469. var hasUnhandledError = false;
  24470. var unhandledError = null;
  24471. var isBatchingUpdates = false;
  24472. var isUnbatchingUpdates = false;
  24473. var isBatchingInteractiveUpdates = false;
  24474. var completedBatches = null;
  24475. var originalStartTimeMs = scheduler.unstable_now();
  24476. var currentRendererTime = msToExpirationTime(originalStartTimeMs);
  24477. var currentSchedulerTime = currentRendererTime;
  24478. // Use these to prevent an infinite loop of nested updates
  24479. var NESTED_UPDATE_LIMIT = 50;
  24480. var nestedUpdateCount = 0;
  24481. var lastCommittedRootDuringThisBatch = null;
  24482. function recomputeCurrentRendererTime() {
  24483. var currentTimeMs = scheduler.unstable_now() - originalStartTimeMs;
  24484. currentRendererTime = msToExpirationTime(currentTimeMs);
  24485. }
  24486. function scheduleCallbackWithExpirationTime(root, expirationTime) {
  24487. if (callbackExpirationTime !== NoWork) {
  24488. // A callback is already scheduled. Check its expiration time (timeout).
  24489. if (expirationTime < callbackExpirationTime) {
  24490. // Existing callback has sufficient timeout. Exit.
  24491. return;
  24492. } else {
  24493. if (callbackID !== null) {
  24494. // Existing callback has insufficient timeout. Cancel and schedule a
  24495. // new one.
  24496. scheduler.unstable_cancelCallback(callbackID);
  24497. }
  24498. }
  24499. // The request callback timer is already running. Don't start a new one.
  24500. } else {
  24501. startRequestCallbackTimer();
  24502. }
  24503. callbackExpirationTime = expirationTime;
  24504. var currentMs = scheduler.unstable_now() - originalStartTimeMs;
  24505. var expirationTimeMs = expirationTimeToMs(expirationTime);
  24506. var timeout = expirationTimeMs - currentMs;
  24507. callbackID = scheduler.unstable_scheduleCallback(performAsyncWork, { timeout: timeout });
  24508. }
  24509. // For every call to renderRoot, one of onFatal, onComplete, onSuspend, and
  24510. // onYield is called upon exiting. We use these in lieu of returning a tuple.
  24511. // I've also chosen not to inline them into renderRoot because these will
  24512. // eventually be lifted into the renderer.
  24513. function onFatal(root) {
  24514. root.finishedWork = null;
  24515. }
  24516. function onComplete(root, finishedWork, expirationTime) {
  24517. root.pendingCommitExpirationTime = expirationTime;
  24518. root.finishedWork = finishedWork;
  24519. }
  24520. function onSuspend(root, finishedWork, suspendedExpirationTime, rootExpirationTime, msUntilTimeout) {
  24521. root.expirationTime = rootExpirationTime;
  24522. if (msUntilTimeout === 0 && !shouldYieldToRenderer()) {
  24523. // Don't wait an additional tick. Commit the tree immediately.
  24524. root.pendingCommitExpirationTime = suspendedExpirationTime;
  24525. root.finishedWork = finishedWork;
  24526. } else if (msUntilTimeout > 0) {
  24527. // Wait `msUntilTimeout` milliseconds before committing.
  24528. root.timeoutHandle = scheduleTimeout(onTimeout.bind(null, root, finishedWork, suspendedExpirationTime), msUntilTimeout);
  24529. }
  24530. }
  24531. function onYield(root) {
  24532. root.finishedWork = null;
  24533. }
  24534. function onTimeout(root, finishedWork, suspendedExpirationTime) {
  24535. // The root timed out. Commit it.
  24536. root.pendingCommitExpirationTime = suspendedExpirationTime;
  24537. root.finishedWork = finishedWork;
  24538. // Read the current time before entering the commit phase. We can be
  24539. // certain this won't cause tearing related to batching of event updates
  24540. // because we're at the top of a timer event.
  24541. recomputeCurrentRendererTime();
  24542. currentSchedulerTime = currentRendererTime;
  24543. flushRoot(root, suspendedExpirationTime);
  24544. }
  24545. function onCommit(root, expirationTime) {
  24546. root.expirationTime = expirationTime;
  24547. root.finishedWork = null;
  24548. }
  24549. function requestCurrentTime() {
  24550. // requestCurrentTime is called by the scheduler to compute an expiration
  24551. // time.
  24552. //
  24553. // Expiration times are computed by adding to the current time (the start
  24554. // time). However, if two updates are scheduled within the same event, we
  24555. // should treat their start times as simultaneous, even if the actual clock
  24556. // time has advanced between the first and second call.
  24557. // In other words, because expiration times determine how updates are batched,
  24558. // we want all updates of like priority that occur within the same event to
  24559. // receive the same expiration time. Otherwise we get tearing.
  24560. //
  24561. // We keep track of two separate times: the current "renderer" time and the
  24562. // current "scheduler" time. The renderer time can be updated whenever; it
  24563. // only exists to minimize the calls performance.now.
  24564. //
  24565. // But the scheduler time can only be updated if there's no pending work, or
  24566. // if we know for certain that we're not in the middle of an event.
  24567. if (isRendering) {
  24568. // We're already rendering. Return the most recently read time.
  24569. return currentSchedulerTime;
  24570. }
  24571. // Check if there's pending work.
  24572. findHighestPriorityRoot();
  24573. if (nextFlushedExpirationTime === NoWork || nextFlushedExpirationTime === Never) {
  24574. // If there's no pending work, or if the pending work is offscreen, we can
  24575. // read the current time without risk of tearing.
  24576. recomputeCurrentRendererTime();
  24577. currentSchedulerTime = currentRendererTime;
  24578. return currentSchedulerTime;
  24579. }
  24580. // There's already pending work. We might be in the middle of a browser
  24581. // event. If we were to read the current time, it could cause multiple updates
  24582. // within the same event to receive different expiration times, leading to
  24583. // tearing. Return the last read time. During the next idle callback, the
  24584. // time will be updated.
  24585. return currentSchedulerTime;
  24586. }
  24587. // requestWork is called by the scheduler whenever a root receives an update.
  24588. // It's up to the renderer to call renderRoot at some point in the future.
  24589. function requestWork(root, expirationTime) {
  24590. addRootToSchedule(root, expirationTime);
  24591. if (isRendering) {
  24592. // Prevent reentrancy. Remaining work will be scheduled at the end of
  24593. // the currently rendering batch.
  24594. return;
  24595. }
  24596. if (isBatchingUpdates) {
  24597. // Flush work at the end of the batch.
  24598. if (isUnbatchingUpdates) {
  24599. // ...unless we're inside unbatchedUpdates, in which case we should
  24600. // flush it now.
  24601. nextFlushedRoot = root;
  24602. nextFlushedExpirationTime = Sync;
  24603. performWorkOnRoot(root, Sync, false);
  24604. }
  24605. return;
  24606. }
  24607. // TODO: Get rid of Sync and use current time?
  24608. if (expirationTime === Sync) {
  24609. performSyncWork();
  24610. } else {
  24611. scheduleCallbackWithExpirationTime(root, expirationTime);
  24612. }
  24613. }
  24614. function addRootToSchedule(root, expirationTime) {
  24615. // Add the root to the schedule.
  24616. // Check if this root is already part of the schedule.
  24617. if (root.nextScheduledRoot === null) {
  24618. // This root is not already scheduled. Add it.
  24619. root.expirationTime = expirationTime;
  24620. if (lastScheduledRoot === null) {
  24621. firstScheduledRoot = lastScheduledRoot = root;
  24622. root.nextScheduledRoot = root;
  24623. } else {
  24624. lastScheduledRoot.nextScheduledRoot = root;
  24625. lastScheduledRoot = root;
  24626. lastScheduledRoot.nextScheduledRoot = firstScheduledRoot;
  24627. }
  24628. } else {
  24629. // This root is already scheduled, but its priority may have increased.
  24630. var remainingExpirationTime = root.expirationTime;
  24631. if (expirationTime > remainingExpirationTime) {
  24632. // Update the priority.
  24633. root.expirationTime = expirationTime;
  24634. }
  24635. }
  24636. }
  24637. function findHighestPriorityRoot() {
  24638. var highestPriorityWork = NoWork;
  24639. var highestPriorityRoot = null;
  24640. if (lastScheduledRoot !== null) {
  24641. var previousScheduledRoot = lastScheduledRoot;
  24642. var root = firstScheduledRoot;
  24643. while (root !== null) {
  24644. var remainingExpirationTime = root.expirationTime;
  24645. if (remainingExpirationTime === NoWork) {
  24646. // This root no longer has work. Remove it from the scheduler.
  24647. // TODO: This check is redudant, but Flow is confused by the branch
  24648. // below where we set lastScheduledRoot to null, even though we break
  24649. // from the loop right after.
  24650. !(previousScheduledRoot !== null && lastScheduledRoot !== null) ? invariant(false, 'Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  24651. if (root === root.nextScheduledRoot) {
  24652. // This is the only root in the list.
  24653. root.nextScheduledRoot = null;
  24654. firstScheduledRoot = lastScheduledRoot = null;
  24655. break;
  24656. } else if (root === firstScheduledRoot) {
  24657. // This is the first root in the list.
  24658. var next = root.nextScheduledRoot;
  24659. firstScheduledRoot = next;
  24660. lastScheduledRoot.nextScheduledRoot = next;
  24661. root.nextScheduledRoot = null;
  24662. } else if (root === lastScheduledRoot) {
  24663. // This is the last root in the list.
  24664. lastScheduledRoot = previousScheduledRoot;
  24665. lastScheduledRoot.nextScheduledRoot = firstScheduledRoot;
  24666. root.nextScheduledRoot = null;
  24667. break;
  24668. } else {
  24669. previousScheduledRoot.nextScheduledRoot = root.nextScheduledRoot;
  24670. root.nextScheduledRoot = null;
  24671. }
  24672. root = previousScheduledRoot.nextScheduledRoot;
  24673. } else {
  24674. if (remainingExpirationTime > highestPriorityWork) {
  24675. // Update the priority, if it's higher
  24676. highestPriorityWork = remainingExpirationTime;
  24677. highestPriorityRoot = root;
  24678. }
  24679. if (root === lastScheduledRoot) {
  24680. break;
  24681. }
  24682. if (highestPriorityWork === Sync) {
  24683. // Sync is highest priority by definition so
  24684. // we can stop searching.
  24685. break;
  24686. }
  24687. previousScheduledRoot = root;
  24688. root = root.nextScheduledRoot;
  24689. }
  24690. }
  24691. }
  24692. nextFlushedRoot = highestPriorityRoot;
  24693. nextFlushedExpirationTime = highestPriorityWork;
  24694. }
  24695. // TODO: This wrapper exists because many of the older tests (the ones that use
  24696. // flushDeferredPri) rely on the number of times `shouldYield` is called. We
  24697. // should get rid of it.
  24698. var didYield = false;
  24699. function shouldYieldToRenderer() {
  24700. if (didYield) {
  24701. return true;
  24702. }
  24703. if (scheduler.unstable_shouldYield()) {
  24704. didYield = true;
  24705. return true;
  24706. }
  24707. return false;
  24708. }
  24709. function performAsyncWork() {
  24710. try {
  24711. if (!shouldYieldToRenderer()) {
  24712. // The callback timed out. That means at least one update has expired.
  24713. // Iterate through the root schedule. If they contain expired work, set
  24714. // the next render expiration time to the current time. This has the effect
  24715. // of flushing all expired work in a single batch, instead of flushing each
  24716. // level one at a time.
  24717. if (firstScheduledRoot !== null) {
  24718. recomputeCurrentRendererTime();
  24719. var root = firstScheduledRoot;
  24720. do {
  24721. didExpireAtExpirationTime(root, currentRendererTime);
  24722. // The root schedule is circular, so this is never null.
  24723. root = root.nextScheduledRoot;
  24724. } while (root !== firstScheduledRoot);
  24725. }
  24726. }
  24727. performWork(NoWork, true);
  24728. } finally {
  24729. didYield = false;
  24730. }
  24731. }
  24732. function performSyncWork() {
  24733. performWork(Sync, false);
  24734. }
  24735. function performWork(minExpirationTime, isYieldy) {
  24736. // Keep working on roots until there's no more work, or until there's a higher
  24737. // priority event.
  24738. findHighestPriorityRoot();
  24739. if (isYieldy) {
  24740. recomputeCurrentRendererTime();
  24741. currentSchedulerTime = currentRendererTime;
  24742. if (enableUserTimingAPI) {
  24743. var didExpire = nextFlushedExpirationTime > currentRendererTime;
  24744. var timeout = expirationTimeToMs(nextFlushedExpirationTime);
  24745. stopRequestCallbackTimer(didExpire, timeout);
  24746. }
  24747. while (nextFlushedRoot !== null && nextFlushedExpirationTime !== NoWork && minExpirationTime <= nextFlushedExpirationTime && !(didYield && currentRendererTime > nextFlushedExpirationTime)) {
  24748. performWorkOnRoot(nextFlushedRoot, nextFlushedExpirationTime, currentRendererTime > nextFlushedExpirationTime);
  24749. findHighestPriorityRoot();
  24750. recomputeCurrentRendererTime();
  24751. currentSchedulerTime = currentRendererTime;
  24752. }
  24753. } else {
  24754. while (nextFlushedRoot !== null && nextFlushedExpirationTime !== NoWork && minExpirationTime <= nextFlushedExpirationTime) {
  24755. performWorkOnRoot(nextFlushedRoot, nextFlushedExpirationTime, false);
  24756. findHighestPriorityRoot();
  24757. }
  24758. }
  24759. // We're done flushing work. Either we ran out of time in this callback,
  24760. // or there's no more work left with sufficient priority.
  24761. // If we're inside a callback, set this to false since we just completed it.
  24762. if (isYieldy) {
  24763. callbackExpirationTime = NoWork;
  24764. callbackID = null;
  24765. }
  24766. // If there's work left over, schedule a new callback.
  24767. if (nextFlushedExpirationTime !== NoWork) {
  24768. scheduleCallbackWithExpirationTime(nextFlushedRoot, nextFlushedExpirationTime);
  24769. }
  24770. // Clean-up.
  24771. finishRendering();
  24772. }
  24773. function flushRoot(root, expirationTime) {
  24774. !!isRendering ? invariant(false, 'work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method.') : void 0;
  24775. // Perform work on root as if the given expiration time is the current time.
  24776. // This has the effect of synchronously flushing all work up to and
  24777. // including the given time.
  24778. nextFlushedRoot = root;
  24779. nextFlushedExpirationTime = expirationTime;
  24780. performWorkOnRoot(root, expirationTime, false);
  24781. // Flush any sync work that was scheduled by lifecycles
  24782. performSyncWork();
  24783. }
  24784. function finishRendering() {
  24785. nestedUpdateCount = 0;
  24786. lastCommittedRootDuringThisBatch = null;
  24787. if (completedBatches !== null) {
  24788. var batches = completedBatches;
  24789. completedBatches = null;
  24790. for (var i = 0; i < batches.length; i++) {
  24791. var batch = batches[i];
  24792. try {
  24793. batch._onComplete();
  24794. } catch (error) {
  24795. if (!hasUnhandledError) {
  24796. hasUnhandledError = true;
  24797. unhandledError = error;
  24798. }
  24799. }
  24800. }
  24801. }
  24802. if (hasUnhandledError) {
  24803. var error = unhandledError;
  24804. unhandledError = null;
  24805. hasUnhandledError = false;
  24806. throw error;
  24807. }
  24808. }
  24809. function performWorkOnRoot(root, expirationTime, isYieldy) {
  24810. !!isRendering ? invariant(false, 'performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  24811. isRendering = true;
  24812. // Check if this is async work or sync/expired work.
  24813. if (!isYieldy) {
  24814. // Flush work without yielding.
  24815. // TODO: Non-yieldy work does not necessarily imply expired work. A renderer
  24816. // may want to perform some work without yielding, but also without
  24817. // requiring the root to complete (by triggering placeholders).
  24818. var finishedWork = root.finishedWork;
  24819. if (finishedWork !== null) {
  24820. // This root is already complete. We can commit it.
  24821. completeRoot(root, finishedWork, expirationTime);
  24822. } else {
  24823. root.finishedWork = null;
  24824. // If this root previously suspended, clear its existing timeout, since
  24825. // we're about to try rendering again.
  24826. var timeoutHandle = root.timeoutHandle;
  24827. if (timeoutHandle !== noTimeout) {
  24828. root.timeoutHandle = noTimeout;
  24829. // $FlowFixMe Complains noTimeout is not a TimeoutID, despite the check above
  24830. cancelTimeout(timeoutHandle);
  24831. }
  24832. renderRoot(root, isYieldy);
  24833. finishedWork = root.finishedWork;
  24834. if (finishedWork !== null) {
  24835. // We've completed the root. Commit it.
  24836. completeRoot(root, finishedWork, expirationTime);
  24837. }
  24838. }
  24839. } else {
  24840. // Flush async work.
  24841. var _finishedWork = root.finishedWork;
  24842. if (_finishedWork !== null) {
  24843. // This root is already complete. We can commit it.
  24844. completeRoot(root, _finishedWork, expirationTime);
  24845. } else {
  24846. root.finishedWork = null;
  24847. // If this root previously suspended, clear its existing timeout, since
  24848. // we're about to try rendering again.
  24849. var _timeoutHandle = root.timeoutHandle;
  24850. if (_timeoutHandle !== noTimeout) {
  24851. root.timeoutHandle = noTimeout;
  24852. // $FlowFixMe Complains noTimeout is not a TimeoutID, despite the check above
  24853. cancelTimeout(_timeoutHandle);
  24854. }
  24855. renderRoot(root, isYieldy);
  24856. _finishedWork = root.finishedWork;
  24857. if (_finishedWork !== null) {
  24858. // We've completed the root. Check the if we should yield one more time
  24859. // before committing.
  24860. if (!shouldYieldToRenderer()) {
  24861. // Still time left. Commit the root.
  24862. completeRoot(root, _finishedWork, expirationTime);
  24863. } else {
  24864. // There's no time left. Mark this root as complete. We'll come
  24865. // back and commit it later.
  24866. root.finishedWork = _finishedWork;
  24867. }
  24868. }
  24869. }
  24870. }
  24871. isRendering = false;
  24872. }
  24873. function completeRoot(root, finishedWork, expirationTime) {
  24874. // Check if there's a batch that matches this expiration time.
  24875. var firstBatch = root.firstBatch;
  24876. if (firstBatch !== null && firstBatch._expirationTime >= expirationTime) {
  24877. if (completedBatches === null) {
  24878. completedBatches = [firstBatch];
  24879. } else {
  24880. completedBatches.push(firstBatch);
  24881. }
  24882. if (firstBatch._defer) {
  24883. // This root is blocked from committing by a batch. Unschedule it until
  24884. // we receive another update.
  24885. root.finishedWork = finishedWork;
  24886. root.expirationTime = NoWork;
  24887. return;
  24888. }
  24889. }
  24890. // Commit the root.
  24891. root.finishedWork = null;
  24892. // Check if this is a nested update (a sync update scheduled during the
  24893. // commit phase).
  24894. if (root === lastCommittedRootDuringThisBatch) {
  24895. // If the next root is the same as the previous root, this is a nested
  24896. // update. To prevent an infinite loop, increment the nested update count.
  24897. nestedUpdateCount++;
  24898. } else {
  24899. // Reset whenever we switch roots.
  24900. lastCommittedRootDuringThisBatch = root;
  24901. nestedUpdateCount = 0;
  24902. }
  24903. commitRoot(root, finishedWork);
  24904. }
  24905. function onUncaughtError(error) {
  24906. !(nextFlushedRoot !== null) ? invariant(false, 'Should be working on a root. This error is likely caused by a bug in React. Please file an issue.') : void 0;
  24907. // Unschedule this root so we don't work on it again until there's
  24908. // another update.
  24909. nextFlushedRoot.expirationTime = NoWork;
  24910. if (!hasUnhandledError) {
  24911. hasUnhandledError = true;
  24912. unhandledError = error;
  24913. }
  24914. }
  24915. // TODO: Batching should be implemented at the renderer level, not inside
  24916. // the reconciler.
  24917. function batchedUpdates$1(fn, a) {
  24918. var previousIsBatchingUpdates = isBatchingUpdates;
  24919. isBatchingUpdates = true;
  24920. try {
  24921. return fn(a);
  24922. } finally {
  24923. isBatchingUpdates = previousIsBatchingUpdates;
  24924. if (!isBatchingUpdates && !isRendering) {
  24925. performSyncWork();
  24926. }
  24927. }
  24928. }
  24929. // TODO: Batching should be implemented at the renderer level, not inside
  24930. // the reconciler.
  24931. function unbatchedUpdates(fn, a) {
  24932. if (isBatchingUpdates && !isUnbatchingUpdates) {
  24933. isUnbatchingUpdates = true;
  24934. try {
  24935. return fn(a);
  24936. } finally {
  24937. isUnbatchingUpdates = false;
  24938. }
  24939. }
  24940. return fn(a);
  24941. }
  24942. // TODO: Batching should be implemented at the renderer level, not within
  24943. // the reconciler.
  24944. function flushSync(fn, a) {
  24945. !!isRendering ? invariant(false, 'flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.') : void 0;
  24946. var previousIsBatchingUpdates = isBatchingUpdates;
  24947. isBatchingUpdates = true;
  24948. try {
  24949. return syncUpdates(fn, a);
  24950. } finally {
  24951. isBatchingUpdates = previousIsBatchingUpdates;
  24952. performSyncWork();
  24953. }
  24954. }
  24955. function interactiveUpdates$1(fn, a, b) {
  24956. if (isBatchingInteractiveUpdates) {
  24957. return fn(a, b);
  24958. }
  24959. // If there are any pending interactive updates, synchronously flush them.
  24960. // This needs to happen before we read any handlers, because the effect of
  24961. // the previous event may influence which handlers are called during
  24962. // this event.
  24963. if (!isBatchingUpdates && !isRendering && lowestPriorityPendingInteractiveExpirationTime !== NoWork) {
  24964. // Synchronously flush pending interactive updates.
  24965. performWork(lowestPriorityPendingInteractiveExpirationTime, false);
  24966. lowestPriorityPendingInteractiveExpirationTime = NoWork;
  24967. }
  24968. var previousIsBatchingInteractiveUpdates = isBatchingInteractiveUpdates;
  24969. var previousIsBatchingUpdates = isBatchingUpdates;
  24970. isBatchingInteractiveUpdates = true;
  24971. isBatchingUpdates = true;
  24972. try {
  24973. return fn(a, b);
  24974. } finally {
  24975. isBatchingInteractiveUpdates = previousIsBatchingInteractiveUpdates;
  24976. isBatchingUpdates = previousIsBatchingUpdates;
  24977. if (!isBatchingUpdates && !isRendering) {
  24978. performSyncWork();
  24979. }
  24980. }
  24981. }
  24982. function flushInteractiveUpdates$1() {
  24983. if (!isRendering && lowestPriorityPendingInteractiveExpirationTime !== NoWork) {
  24984. // Synchronously flush pending interactive updates.
  24985. performWork(lowestPriorityPendingInteractiveExpirationTime, false);
  24986. lowestPriorityPendingInteractiveExpirationTime = NoWork;
  24987. }
  24988. }
  24989. function flushControlled(fn) {
  24990. var previousIsBatchingUpdates = isBatchingUpdates;
  24991. isBatchingUpdates = true;
  24992. try {
  24993. syncUpdates(fn);
  24994. } finally {
  24995. isBatchingUpdates = previousIsBatchingUpdates;
  24996. if (!isBatchingUpdates && !isRendering) {
  24997. performSyncWork();
  24998. }
  24999. }
  25000. }
  25001. // 0 is PROD, 1 is DEV.
  25002. // Might add PROFILE later.
  25003. var didWarnAboutNestedUpdates = void 0;
  25004. var didWarnAboutFindNodeInStrictMode = void 0;
  25005. {
  25006. didWarnAboutNestedUpdates = false;
  25007. didWarnAboutFindNodeInStrictMode = {};
  25008. }
  25009. function getContextForSubtree(parentComponent) {
  25010. if (!parentComponent) {
  25011. return emptyContextObject;
  25012. }
  25013. var fiber = get(parentComponent);
  25014. var parentContext = findCurrentUnmaskedContext(fiber);
  25015. if (fiber.tag === ClassComponent) {
  25016. var Component = fiber.type;
  25017. if (isContextProvider(Component)) {
  25018. return processChildContext(fiber, Component, parentContext);
  25019. }
  25020. }
  25021. return parentContext;
  25022. }
  25023. function scheduleRootUpdate(current$$1, element, expirationTime, callback) {
  25024. {
  25025. if (phase === 'render' && current !== null && !didWarnAboutNestedUpdates) {
  25026. didWarnAboutNestedUpdates = true;
  25027. warningWithoutStack$1(false, 'Render methods should be a pure function of props and state; ' + 'triggering nested component updates from render is not allowed. ' + 'If necessary, trigger nested updates in componentDidUpdate.\n\n' + 'Check the render method of %s.', getComponentName(current.type) || 'Unknown');
  25028. }
  25029. }
  25030. var update = createUpdate(expirationTime);
  25031. // Caution: React DevTools currently depends on this property
  25032. // being called "element".
  25033. update.payload = { element: element };
  25034. callback = callback === undefined ? null : callback;
  25035. if (callback !== null) {
  25036. !(typeof callback === 'function') ? warningWithoutStack$1(false, 'render(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callback) : void 0;
  25037. update.callback = callback;
  25038. }
  25039. flushPassiveEffects();
  25040. enqueueUpdate(current$$1, update);
  25041. scheduleWork(current$$1, expirationTime);
  25042. return expirationTime;
  25043. }
  25044. function updateContainerAtExpirationTime(element, container, parentComponent, expirationTime, callback) {
  25045. // TODO: If this is a nested container, this won't be the root.
  25046. var current$$1 = container.current;
  25047. {
  25048. if (ReactFiberInstrumentation_1.debugTool) {
  25049. if (current$$1.alternate === null) {
  25050. ReactFiberInstrumentation_1.debugTool.onMountContainer(container);
  25051. } else if (element === null) {
  25052. ReactFiberInstrumentation_1.debugTool.onUnmountContainer(container);
  25053. } else {
  25054. ReactFiberInstrumentation_1.debugTool.onUpdateContainer(container);
  25055. }
  25056. }
  25057. }
  25058. var context = getContextForSubtree(parentComponent);
  25059. if (container.context === null) {
  25060. container.context = context;
  25061. } else {
  25062. container.pendingContext = context;
  25063. }
  25064. return scheduleRootUpdate(current$$1, element, expirationTime, callback);
  25065. }
  25066. function findHostInstance(component) {
  25067. var fiber = get(component);
  25068. if (fiber === undefined) {
  25069. if (typeof component.render === 'function') {
  25070. invariant(false, 'Unable to find node on an unmounted component.');
  25071. } else {
  25072. invariant(false, 'Argument appears to not be a ReactComponent. Keys: %s', Object.keys(component));
  25073. }
  25074. }
  25075. var hostFiber = findCurrentHostFiber(fiber);
  25076. if (hostFiber === null) {
  25077. return null;
  25078. }
  25079. return hostFiber.stateNode;
  25080. }
  25081. function findHostInstanceWithWarning(component, methodName) {
  25082. {
  25083. var fiber = get(component);
  25084. if (fiber === undefined) {
  25085. if (typeof component.render === 'function') {
  25086. invariant(false, 'Unable to find node on an unmounted component.');
  25087. } else {
  25088. invariant(false, 'Argument appears to not be a ReactComponent. Keys: %s', Object.keys(component));
  25089. }
  25090. }
  25091. var hostFiber = findCurrentHostFiber(fiber);
  25092. if (hostFiber === null) {
  25093. return null;
  25094. }
  25095. if (hostFiber.mode & StrictMode) {
  25096. var componentName = getComponentName(fiber.type) || 'Component';
  25097. if (!didWarnAboutFindNodeInStrictMode[componentName]) {
  25098. didWarnAboutFindNodeInStrictMode[componentName] = true;
  25099. if (fiber.mode & StrictMode) {
  25100. warningWithoutStack$1(false, '%s is deprecated in StrictMode. ' + '%s was passed an instance of %s which is inside StrictMode. ' + 'Instead, add a ref directly to the element you want to reference.' + '\n%s' + '\n\nLearn more about using refs safely here:' + '\nhttps://fb.me/react-strict-mode-find-node', methodName, methodName, componentName, getStackByFiberInDevAndProd(hostFiber));
  25101. } else {
  25102. warningWithoutStack$1(false, '%s is deprecated in StrictMode. ' + '%s was passed an instance of %s which renders StrictMode children. ' + 'Instead, add a ref directly to the element you want to reference.' + '\n%s' + '\n\nLearn more about using refs safely here:' + '\nhttps://fb.me/react-strict-mode-find-node', methodName, methodName, componentName, getStackByFiberInDevAndProd(hostFiber));
  25103. }
  25104. }
  25105. }
  25106. return hostFiber.stateNode;
  25107. }
  25108. return findHostInstance(component);
  25109. }
  25110. function createContainer(containerInfo, isConcurrent, hydrate) {
  25111. return createFiberRoot(containerInfo, isConcurrent, hydrate);
  25112. }
  25113. function updateContainer(element, container, parentComponent, callback) {
  25114. var current$$1 = container.current;
  25115. var currentTime = requestCurrentTime();
  25116. var expirationTime = computeExpirationForFiber(currentTime, current$$1);
  25117. return updateContainerAtExpirationTime(element, container, parentComponent, expirationTime, callback);
  25118. }
  25119. function getPublicRootInstance(container) {
  25120. var containerFiber = container.current;
  25121. if (!containerFiber.child) {
  25122. return null;
  25123. }
  25124. switch (containerFiber.child.tag) {
  25125. case HostComponent:
  25126. return getPublicInstance(containerFiber.child.stateNode);
  25127. default:
  25128. return containerFiber.child.stateNode;
  25129. }
  25130. }
  25131. function findHostInstanceWithNoPortals(fiber) {
  25132. var hostFiber = findCurrentHostFiberWithNoPortals(fiber);
  25133. if (hostFiber === null) {
  25134. return null;
  25135. }
  25136. return hostFiber.stateNode;
  25137. }
  25138. function injectIntoDevTools(devToolsConfig) {
  25139. var findFiberByHostInstance = devToolsConfig.findFiberByHostInstance;
  25140. return injectInternals(_assign({}, devToolsConfig, {
  25141. findHostInstanceByFiber: function (fiber) {
  25142. var hostFiber = findCurrentHostFiber(fiber);
  25143. if (hostFiber === null) {
  25144. return null;
  25145. }
  25146. return hostFiber.stateNode;
  25147. },
  25148. findFiberByHostInstance: function (instance) {
  25149. if (!findFiberByHostInstance) {
  25150. // Might not be implemented by the renderer.
  25151. return null;
  25152. }
  25153. return findFiberByHostInstance(instance);
  25154. }
  25155. }));
  25156. }
  25157. // This file intentionally does *not* have the Flow annotation.
  25158. // Don't add it. See `./inline-typed.js` for an explanation.
  25159. function createPortal$1(children, containerInfo,
  25160. // TODO: figure out the API for cross-renderer implementation.
  25161. implementation) {
  25162. var key = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
  25163. return {
  25164. // This tag allow us to uniquely identify this as a React Portal
  25165. $$typeof: REACT_PORTAL_TYPE,
  25166. key: key == null ? null : '' + key,
  25167. children: children,
  25168. containerInfo: containerInfo,
  25169. implementation: implementation
  25170. };
  25171. }
  25172. // TODO: this is special because it gets imported during build.
  25173. var ReactVersion = '16.6.3';
  25174. // TODO: This type is shared between the reconciler and ReactDOM, but will
  25175. // eventually be lifted out to the renderer.
  25176. var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
  25177. var topLevelUpdateWarnings = void 0;
  25178. var warnOnInvalidCallback = void 0;
  25179. var didWarnAboutUnstableCreatePortal = false;
  25180. {
  25181. if (typeof Map !== 'function' ||
  25182. // $FlowIssue Flow incorrectly thinks Map has no prototype
  25183. Map.prototype == null || typeof Map.prototype.forEach !== 'function' || typeof Set !== 'function' ||
  25184. // $FlowIssue Flow incorrectly thinks Set has no prototype
  25185. Set.prototype == null || typeof Set.prototype.clear !== 'function' || typeof Set.prototype.forEach !== 'function') {
  25186. warningWithoutStack$1(false, 'React depends on Map and Set built-in types. Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
  25187. }
  25188. topLevelUpdateWarnings = function (container) {
  25189. if (container._reactRootContainer && container.nodeType !== COMMENT_NODE) {
  25190. var hostInstance = findHostInstanceWithNoPortals(container._reactRootContainer._internalRoot.current);
  25191. if (hostInstance) {
  25192. !(hostInstance.parentNode === container) ? warningWithoutStack$1(false, 'render(...): It looks like the React-rendered content of this ' + 'container was removed without using React. This is not ' + 'supported and will cause errors. Instead, call ' + 'ReactDOM.unmountComponentAtNode to empty a container.') : void 0;
  25193. }
  25194. }
  25195. var isRootRenderedBySomeReact = !!container._reactRootContainer;
  25196. var rootEl = getReactRootElementInContainer(container);
  25197. var hasNonRootReactChild = !!(rootEl && getInstanceFromNode$1(rootEl));
  25198. !(!hasNonRootReactChild || isRootRenderedBySomeReact) ? warningWithoutStack$1(false, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0;
  25199. !(container.nodeType !== ELEMENT_NODE || !container.tagName || container.tagName.toUpperCase() !== 'BODY') ? warningWithoutStack$1(false, 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0;
  25200. };
  25201. warnOnInvalidCallback = function (callback, callerName) {
  25202. !(callback === null || typeof callback === 'function') ? warningWithoutStack$1(false, '%s(...): Expected the last optional `callback` argument to be a ' + 'function. Instead received: %s.', callerName, callback) : void 0;
  25203. };
  25204. }
  25205. setRestoreImplementation(restoreControlledState$1);
  25206. function ReactBatch(root) {
  25207. var expirationTime = computeUniqueAsyncExpiration();
  25208. this._expirationTime = expirationTime;
  25209. this._root = root;
  25210. this._next = null;
  25211. this._callbacks = null;
  25212. this._didComplete = false;
  25213. this._hasChildren = false;
  25214. this._children = null;
  25215. this._defer = true;
  25216. }
  25217. ReactBatch.prototype.render = function (children) {
  25218. !this._defer ? invariant(false, 'batch.render: Cannot render a batch that already committed.') : void 0;
  25219. this._hasChildren = true;
  25220. this._children = children;
  25221. var internalRoot = this._root._internalRoot;
  25222. var expirationTime = this._expirationTime;
  25223. var work = new ReactWork();
  25224. updateContainerAtExpirationTime(children, internalRoot, null, expirationTime, work._onCommit);
  25225. return work;
  25226. };
  25227. ReactBatch.prototype.then = function (onComplete) {
  25228. if (this._didComplete) {
  25229. onComplete();
  25230. return;
  25231. }
  25232. var callbacks = this._callbacks;
  25233. if (callbacks === null) {
  25234. callbacks = this._callbacks = [];
  25235. }
  25236. callbacks.push(onComplete);
  25237. };
  25238. ReactBatch.prototype.commit = function () {
  25239. var internalRoot = this._root._internalRoot;
  25240. var firstBatch = internalRoot.firstBatch;
  25241. !(this._defer && firstBatch !== null) ? invariant(false, 'batch.commit: Cannot commit a batch multiple times.') : void 0;
  25242. if (!this._hasChildren) {
  25243. // This batch is empty. Return.
  25244. this._next = null;
  25245. this._defer = false;
  25246. return;
  25247. }
  25248. var expirationTime = this._expirationTime;
  25249. // Ensure this is the first batch in the list.
  25250. if (firstBatch !== this) {
  25251. // This batch is not the earliest batch. We need to move it to the front.
  25252. // Update its expiration time to be the expiration time of the earliest
  25253. // batch, so that we can flush it without flushing the other batches.
  25254. if (this._hasChildren) {
  25255. expirationTime = this._expirationTime = firstBatch._expirationTime;
  25256. // Rendering this batch again ensures its children will be the final state
  25257. // when we flush (updates are processed in insertion order: last
  25258. // update wins).
  25259. // TODO: This forces a restart. Should we print a warning?
  25260. this.render(this._children);
  25261. }
  25262. // Remove the batch from the list.
  25263. var previous = null;
  25264. var batch = firstBatch;
  25265. while (batch !== this) {
  25266. previous = batch;
  25267. batch = batch._next;
  25268. }
  25269. !(previous !== null) ? invariant(false, 'batch.commit: Cannot commit a batch multiple times.') : void 0;
  25270. previous._next = batch._next;
  25271. // Add it to the front.
  25272. this._next = firstBatch;
  25273. firstBatch = internalRoot.firstBatch = this;
  25274. }
  25275. // Synchronously flush all the work up to this batch's expiration time.
  25276. this._defer = false;
  25277. flushRoot(internalRoot, expirationTime);
  25278. // Pop the batch from the list.
  25279. var next = this._next;
  25280. this._next = null;
  25281. firstBatch = internalRoot.firstBatch = next;
  25282. // Append the next earliest batch's children to the update queue.
  25283. if (firstBatch !== null && firstBatch._hasChildren) {
  25284. firstBatch.render(firstBatch._children);
  25285. }
  25286. };
  25287. ReactBatch.prototype._onComplete = function () {
  25288. if (this._didComplete) {
  25289. return;
  25290. }
  25291. this._didComplete = true;
  25292. var callbacks = this._callbacks;
  25293. if (callbacks === null) {
  25294. return;
  25295. }
  25296. // TODO: Error handling.
  25297. for (var i = 0; i < callbacks.length; i++) {
  25298. var _callback = callbacks[i];
  25299. _callback();
  25300. }
  25301. };
  25302. function ReactWork() {
  25303. this._callbacks = null;
  25304. this._didCommit = false;
  25305. // TODO: Avoid need to bind by replacing callbacks in the update queue with
  25306. // list of Work objects.
  25307. this._onCommit = this._onCommit.bind(this);
  25308. }
  25309. ReactWork.prototype.then = function (onCommit) {
  25310. if (this._didCommit) {
  25311. onCommit();
  25312. return;
  25313. }
  25314. var callbacks = this._callbacks;
  25315. if (callbacks === null) {
  25316. callbacks = this._callbacks = [];
  25317. }
  25318. callbacks.push(onCommit);
  25319. };
  25320. ReactWork.prototype._onCommit = function () {
  25321. if (this._didCommit) {
  25322. return;
  25323. }
  25324. this._didCommit = true;
  25325. var callbacks = this._callbacks;
  25326. if (callbacks === null) {
  25327. return;
  25328. }
  25329. // TODO: Error handling.
  25330. for (var i = 0; i < callbacks.length; i++) {
  25331. var _callback2 = callbacks[i];
  25332. !(typeof _callback2 === 'function') ? invariant(false, 'Invalid argument passed as callback. Expected a function. Instead received: %s', _callback2) : void 0;
  25333. _callback2();
  25334. }
  25335. };
  25336. function ReactRoot(container, isConcurrent, hydrate) {
  25337. var root = createContainer(container, isConcurrent, hydrate);
  25338. this._internalRoot = root;
  25339. }
  25340. ReactRoot.prototype.render = function (children, callback) {
  25341. var root = this._internalRoot;
  25342. var work = new ReactWork();
  25343. callback = callback === undefined ? null : callback;
  25344. {
  25345. warnOnInvalidCallback(callback, 'render');
  25346. }
  25347. if (callback !== null) {
  25348. work.then(callback);
  25349. }
  25350. updateContainer(children, root, null, work._onCommit);
  25351. return work;
  25352. };
  25353. ReactRoot.prototype.unmount = function (callback) {
  25354. var root = this._internalRoot;
  25355. var work = new ReactWork();
  25356. callback = callback === undefined ? null : callback;
  25357. {
  25358. warnOnInvalidCallback(callback, 'render');
  25359. }
  25360. if (callback !== null) {
  25361. work.then(callback);
  25362. }
  25363. updateContainer(null, root, null, work._onCommit);
  25364. return work;
  25365. };
  25366. ReactRoot.prototype.legacy_renderSubtreeIntoContainer = function (parentComponent, children, callback) {
  25367. var root = this._internalRoot;
  25368. var work = new ReactWork();
  25369. callback = callback === undefined ? null : callback;
  25370. {
  25371. warnOnInvalidCallback(callback, 'render');
  25372. }
  25373. if (callback !== null) {
  25374. work.then(callback);
  25375. }
  25376. updateContainer(children, root, parentComponent, work._onCommit);
  25377. return work;
  25378. };
  25379. ReactRoot.prototype.createBatch = function () {
  25380. var batch = new ReactBatch(this);
  25381. var expirationTime = batch._expirationTime;
  25382. var internalRoot = this._internalRoot;
  25383. var firstBatch = internalRoot.firstBatch;
  25384. if (firstBatch === null) {
  25385. internalRoot.firstBatch = batch;
  25386. batch._next = null;
  25387. } else {
  25388. // Insert sorted by expiration time then insertion order
  25389. var insertAfter = null;
  25390. var insertBefore = firstBatch;
  25391. while (insertBefore !== null && insertBefore._expirationTime >= expirationTime) {
  25392. insertAfter = insertBefore;
  25393. insertBefore = insertBefore._next;
  25394. }
  25395. batch._next = insertBefore;
  25396. if (insertAfter !== null) {
  25397. insertAfter._next = batch;
  25398. }
  25399. }
  25400. return batch;
  25401. };
  25402. /**
  25403. * True if the supplied DOM node is a valid node element.
  25404. *
  25405. * @param {?DOMElement} node The candidate DOM node.
  25406. * @return {boolean} True if the DOM is a valid DOM node.
  25407. * @internal
  25408. */
  25409. function isValidContainer(node) {
  25410. return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || node.nodeType === COMMENT_NODE && node.nodeValue === ' react-mount-point-unstable '));
  25411. }
  25412. function getReactRootElementInContainer(container) {
  25413. if (!container) {
  25414. return null;
  25415. }
  25416. if (container.nodeType === DOCUMENT_NODE) {
  25417. return container.documentElement;
  25418. } else {
  25419. return container.firstChild;
  25420. }
  25421. }
  25422. function shouldHydrateDueToLegacyHeuristic(container) {
  25423. var rootElement = getReactRootElementInContainer(container);
  25424. return !!(rootElement && rootElement.nodeType === ELEMENT_NODE && rootElement.hasAttribute(ROOT_ATTRIBUTE_NAME));
  25425. }
  25426. setBatchingImplementation(batchedUpdates$1, interactiveUpdates$1, flushInteractiveUpdates$1);
  25427. var warnedAboutHydrateAPI = false;
  25428. function legacyCreateRootFromDOMContainer(container, forceHydrate) {
  25429. var shouldHydrate = forceHydrate || shouldHydrateDueToLegacyHeuristic(container);
  25430. // First clear any existing content.
  25431. if (!shouldHydrate) {
  25432. var warned = false;
  25433. var rootSibling = void 0;
  25434. while (rootSibling = container.lastChild) {
  25435. {
  25436. if (!warned && rootSibling.nodeType === ELEMENT_NODE && rootSibling.hasAttribute(ROOT_ATTRIBUTE_NAME)) {
  25437. warned = true;
  25438. warningWithoutStack$1(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.');
  25439. }
  25440. }
  25441. container.removeChild(rootSibling);
  25442. }
  25443. }
  25444. {
  25445. if (shouldHydrate && !forceHydrate && !warnedAboutHydrateAPI) {
  25446. warnedAboutHydrateAPI = true;
  25447. lowPriorityWarning$1(false, 'render(): Calling ReactDOM.render() to hydrate server-rendered markup ' + 'will stop working in React v17. Replace the ReactDOM.render() call ' + 'with ReactDOM.hydrate() if you want React to attach to the server HTML.');
  25448. }
  25449. }
  25450. // Legacy roots are not async by default.
  25451. var isConcurrent = false;
  25452. return new ReactRoot(container, isConcurrent, shouldHydrate);
  25453. }
  25454. function legacyRenderSubtreeIntoContainer(parentComponent, children, container, forceHydrate, callback) {
  25455. // TODO: Ensure all entry points contain this check
  25456. !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0;
  25457. {
  25458. topLevelUpdateWarnings(container);
  25459. }
  25460. // TODO: Without `any` type, Flow says "Property cannot be accessed on any
  25461. // member of intersection type." Whyyyyyy.
  25462. var root = container._reactRootContainer;
  25463. if (!root) {
  25464. // Initial mount
  25465. root = container._reactRootContainer = legacyCreateRootFromDOMContainer(container, forceHydrate);
  25466. if (typeof callback === 'function') {
  25467. var originalCallback = callback;
  25468. callback = function () {
  25469. var instance = getPublicRootInstance(root._internalRoot);
  25470. originalCallback.call(instance);
  25471. };
  25472. }
  25473. // Initial mount should not be batched.
  25474. unbatchedUpdates(function () {
  25475. if (parentComponent != null) {
  25476. root.legacy_renderSubtreeIntoContainer(parentComponent, children, callback);
  25477. } else {
  25478. root.render(children, callback);
  25479. }
  25480. });
  25481. } else {
  25482. if (typeof callback === 'function') {
  25483. var _originalCallback = callback;
  25484. callback = function () {
  25485. var instance = getPublicRootInstance(root._internalRoot);
  25486. _originalCallback.call(instance);
  25487. };
  25488. }
  25489. // Update
  25490. if (parentComponent != null) {
  25491. root.legacy_renderSubtreeIntoContainer(parentComponent, children, callback);
  25492. } else {
  25493. root.render(children, callback);
  25494. }
  25495. }
  25496. return getPublicRootInstance(root._internalRoot);
  25497. }
  25498. function createPortal(children, container) {
  25499. var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  25500. !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0;
  25501. // TODO: pass ReactDOM portal implementation as third argument
  25502. return createPortal$1(children, container, null, key);
  25503. }
  25504. var ReactDOM = {
  25505. createPortal: createPortal,
  25506. findDOMNode: function (componentOrElement) {
  25507. {
  25508. var owner = ReactCurrentOwner.current;
  25509. if (owner !== null && owner.stateNode !== null) {
  25510. var warnedAboutRefsInRender = owner.stateNode._warnedAboutRefsInRender;
  25511. !warnedAboutRefsInRender ? warningWithoutStack$1(false, '%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', getComponentName(owner.type) || 'A component') : void 0;
  25512. owner.stateNode._warnedAboutRefsInRender = true;
  25513. }
  25514. }
  25515. if (componentOrElement == null) {
  25516. return null;
  25517. }
  25518. if (componentOrElement.nodeType === ELEMENT_NODE) {
  25519. return componentOrElement;
  25520. }
  25521. {
  25522. return findHostInstanceWithWarning(componentOrElement, 'findDOMNode');
  25523. }
  25524. return findHostInstance(componentOrElement);
  25525. },
  25526. hydrate: function (element, container, callback) {
  25527. // TODO: throw or warn if we couldn't hydrate?
  25528. return legacyRenderSubtreeIntoContainer(null, element, container, true, callback);
  25529. },
  25530. render: function (element, container, callback) {
  25531. return legacyRenderSubtreeIntoContainer(null, element, container, false, callback);
  25532. },
  25533. unstable_renderSubtreeIntoContainer: function (parentComponent, element, containerNode, callback) {
  25534. !(parentComponent != null && has(parentComponent)) ? invariant(false, 'parentComponent must be a valid React Component') : void 0;
  25535. return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, false, callback);
  25536. },
  25537. unmountComponentAtNode: function (container) {
  25538. !isValidContainer(container) ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : void 0;
  25539. if (container._reactRootContainer) {
  25540. {
  25541. var rootEl = getReactRootElementInContainer(container);
  25542. var renderedByDifferentReact = rootEl && !getInstanceFromNode$1(rootEl);
  25543. !!renderedByDifferentReact ? warningWithoutStack$1(false, "unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by another copy of React.') : void 0;
  25544. }
  25545. // Unmount should not be batched.
  25546. unbatchedUpdates(function () {
  25547. legacyRenderSubtreeIntoContainer(null, null, container, false, function () {
  25548. container._reactRootContainer = null;
  25549. });
  25550. });
  25551. // If you call unmountComponentAtNode twice in quick succession, you'll
  25552. // get `true` twice. That's probably fine?
  25553. return true;
  25554. } else {
  25555. {
  25556. var _rootEl = getReactRootElementInContainer(container);
  25557. var hasNonRootReactChild = !!(_rootEl && getInstanceFromNode$1(_rootEl));
  25558. // Check if the container itself is a React root node.
  25559. var isContainerReactRoot = container.nodeType === ELEMENT_NODE && isValidContainer(container.parentNode) && !!container.parentNode._reactRootContainer;
  25560. !!hasNonRootReactChild ? warningWithoutStack$1(false, "unmountComponentAtNode(): The node you're attempting to unmount " + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0;
  25561. }
  25562. return false;
  25563. }
  25564. },
  25565. // Temporary alias since we already shipped React 16 RC with it.
  25566. // TODO: remove in React 17.
  25567. unstable_createPortal: function () {
  25568. if (!didWarnAboutUnstableCreatePortal) {
  25569. didWarnAboutUnstableCreatePortal = true;
  25570. lowPriorityWarning$1(false, 'The ReactDOM.unstable_createPortal() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactDOM.createPortal() instead. It has the exact same API, ' + 'but without the "unstable_" prefix.');
  25571. }
  25572. return createPortal.apply(undefined, arguments);
  25573. },
  25574. unstable_batchedUpdates: batchedUpdates$1,
  25575. unstable_interactiveUpdates: interactiveUpdates$1,
  25576. flushSync: flushSync,
  25577. unstable_flushControlled: flushControlled,
  25578. __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
  25579. // Keep in sync with ReactDOMUnstableNativeDependencies.js
  25580. // and ReactTestUtils.js. This is an array for better minification.
  25581. Events: [getInstanceFromNode$1, getNodeFromInstance$1, getFiberCurrentPropsFromNode$1, injection.injectEventPluginsByName, eventNameDispatchConfigs, accumulateTwoPhaseDispatches, accumulateDirectDispatches, enqueueStateRestore, restoreStateIfNeeded, dispatchEvent, runEventsInBatch]
  25582. }
  25583. };
  25584. function createRoot(container, options) {
  25585. var functionName = enableStableConcurrentModeAPIs ? 'createRoot' : 'unstable_createRoot';
  25586. !isValidContainer(container) ? invariant(false, '%s(...): Target container is not a DOM element.', functionName) : void 0;
  25587. var hydrate = options != null && options.hydrate === true;
  25588. return new ReactRoot(container, true, hydrate);
  25589. }
  25590. if (enableStableConcurrentModeAPIs) {
  25591. ReactDOM.createRoot = createRoot;
  25592. } else {
  25593. ReactDOM.unstable_createRoot = createRoot;
  25594. }
  25595. var foundDevTools = injectIntoDevTools({
  25596. findFiberByHostInstance: getClosestInstanceFromNode,
  25597. bundleType: 1,
  25598. version: ReactVersion,
  25599. rendererPackageName: 'react-dom'
  25600. });
  25601. {
  25602. if (!foundDevTools && canUseDOM && window.top === window.self) {
  25603. // If we're in Chrome or Firefox, provide a download link if not installed.
  25604. if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {
  25605. var protocol = window.location.protocol;
  25606. // Don't warn in exotic cases like chrome-extension://.
  25607. if (/^(https?|file):$/.test(protocol)) {
  25608. console.info('%cDownload the React DevTools ' + 'for a better development experience: ' + 'https://fb.me/react-devtools' + (protocol === 'file:' ? '\nYou might need to use a local HTTP server (instead of file://): ' + 'https://fb.me/react-devtools-faq' : ''), 'font-weight:bold');
  25609. }
  25610. }
  25611. }
  25612. }
  25613. var ReactDOM$2 = Object.freeze({
  25614. default: ReactDOM
  25615. });
  25616. var ReactDOM$3 = ( ReactDOM$2 && ReactDOM ) || ReactDOM$2;
  25617. // TODO: decide on the top-level export form.
  25618. // This is hacky but makes it work with both Rollup and Jest.
  25619. var reactDom = ReactDOM$3.default || ReactDOM$3;
  25620. module.exports = reactDom;
  25621. })();
  25622. }
  25623. /***/ }),
  25624. /***/ "../../node_modules/react-dom/index.js":
  25625. /*!***********************************************************!*\
  25626. !*** D:/Repos/Babylon.js/node_modules/react-dom/index.js ***!
  25627. \***********************************************************/
  25628. /*! no static exports found */
  25629. /***/ (function(module, exports, __webpack_require__) {
  25630. "use strict";
  25631. function checkDCE() {
  25632. /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
  25633. if (
  25634. typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
  25635. typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
  25636. ) {
  25637. return;
  25638. }
  25639. if (true) {
  25640. // This branch is unreachable because this function is only called
  25641. // in production, but the condition is true only in development.
  25642. // Therefore if the branch is still here, dead code elimination wasn't
  25643. // properly applied.
  25644. // Don't change the message. React DevTools relies on it. Also make sure
  25645. // this message doesn't occur elsewhere in this function, or it will cause
  25646. // a false positive.
  25647. throw new Error('^_^');
  25648. }
  25649. try {
  25650. // Verify that the code above has been dead code eliminated (DCE'd).
  25651. __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
  25652. } catch (err) {
  25653. // DevTools shouldn't crash React, no matter what.
  25654. // We should still report in case we break this code.
  25655. console.error(err);
  25656. }
  25657. }
  25658. if (false) {} else {
  25659. module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ "../../node_modules/react-dom/cjs/react-dom.development.js");
  25660. }
  25661. /***/ }),
  25662. /***/ "../../node_modules/react/cjs/react.development.js":
  25663. /*!***********************************************************************!*\
  25664. !*** D:/Repos/Babylon.js/node_modules/react/cjs/react.development.js ***!
  25665. \***********************************************************************/
  25666. /*! no static exports found */
  25667. /***/ (function(module, exports, __webpack_require__) {
  25668. "use strict";
  25669. /** @license React v16.6.1
  25670. * react.development.js
  25671. *
  25672. * Copyright (c) Facebook, Inc. and its affiliates.
  25673. *
  25674. * This source code is licensed under the MIT license found in the
  25675. * LICENSE file in the root directory of this source tree.
  25676. */
  25677. if (true) {
  25678. (function() {
  25679. 'use strict';
  25680. var _assign = __webpack_require__(/*! object-assign */ "../../node_modules/object-assign/index.js");
  25681. var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ "../../node_modules/prop-types/checkPropTypes.js");
  25682. // TODO: this is special because it gets imported during build.
  25683. var ReactVersion = '16.6.3';
  25684. // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
  25685. // nor polyfill, then a plain number is used for performance.
  25686. var hasSymbol = typeof Symbol === 'function' && Symbol.for;
  25687. var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
  25688. var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
  25689. var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
  25690. var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
  25691. var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
  25692. var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
  25693. var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
  25694. var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
  25695. var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
  25696. var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
  25697. var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
  25698. var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
  25699. var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
  25700. var FAUX_ITERATOR_SYMBOL = '@@iterator';
  25701. function getIteratorFn(maybeIterable) {
  25702. if (maybeIterable === null || typeof maybeIterable !== 'object') {
  25703. return null;
  25704. }
  25705. var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
  25706. if (typeof maybeIterator === 'function') {
  25707. return maybeIterator;
  25708. }
  25709. return null;
  25710. }
  25711. var enableHooks = false;
  25712. // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
  25713. // In some cases, StrictMode should also double-render lifecycles.
  25714. // This can be confusing for tests though,
  25715. // And it can be bad for performance in production.
  25716. // This feature flag can be used to control the behavior:
  25717. // To preserve the "Pause on caught exceptions" behavior of the debugger, we
  25718. // replay the begin phase of a failed component inside invokeGuardedCallback.
  25719. // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
  25720. // Gather advanced timing metrics for Profiler subtrees.
  25721. // Trace which interactions trigger each commit.
  25722. // Only used in www builds.
  25723. // Only used in www builds.
  25724. // React Fire: prevent the value and checked attributes from syncing
  25725. // with their related DOM properties
  25726. // These APIs will no longer be "unstable" in the upcoming 16.7 release,
  25727. // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
  25728. var enableStableConcurrentModeAPIs = false;
  25729. /**
  25730. * Use invariant() to assert state which your program assumes to be true.
  25731. *
  25732. * Provide sprintf-style format (only %s is supported) and arguments
  25733. * to provide information about what broke and what you were
  25734. * expecting.
  25735. *
  25736. * The invariant message will be stripped in production, but the invariant
  25737. * will remain to ensure logic does not differ in production.
  25738. */
  25739. var validateFormat = function () {};
  25740. {
  25741. validateFormat = function (format) {
  25742. if (format === undefined) {
  25743. throw new Error('invariant requires an error message argument');
  25744. }
  25745. };
  25746. }
  25747. function invariant(condition, format, a, b, c, d, e, f) {
  25748. validateFormat(format);
  25749. if (!condition) {
  25750. var error = void 0;
  25751. if (format === undefined) {
  25752. error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');
  25753. } else {
  25754. var args = [a, b, c, d, e, f];
  25755. var argIndex = 0;
  25756. error = new Error(format.replace(/%s/g, function () {
  25757. return args[argIndex++];
  25758. }));
  25759. error.name = 'Invariant Violation';
  25760. }
  25761. error.framesToPop = 1; // we don't care about invariant's own frame
  25762. throw error;
  25763. }
  25764. }
  25765. // Relying on the `invariant()` implementation lets us
  25766. // preserve the format and params in the www builds.
  25767. /**
  25768. * Forked from fbjs/warning:
  25769. * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js
  25770. *
  25771. * Only change is we use console.warn instead of console.error,
  25772. * and do nothing when 'console' is not supported.
  25773. * This really simplifies the code.
  25774. * ---
  25775. * Similar to invariant but only logs a warning if the condition is not met.
  25776. * This can be used to log issues in development environments in critical
  25777. * paths. Removing the logging code for production environments will keep the
  25778. * same logic and follow the same code paths.
  25779. */
  25780. var lowPriorityWarning = function () {};
  25781. {
  25782. var printWarning = function (format) {
  25783. for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
  25784. args[_key - 1] = arguments[_key];
  25785. }
  25786. var argIndex = 0;
  25787. var message = 'Warning: ' + format.replace(/%s/g, function () {
  25788. return args[argIndex++];
  25789. });
  25790. if (typeof console !== 'undefined') {
  25791. console.warn(message);
  25792. }
  25793. try {
  25794. // --- Welcome to debugging React ---
  25795. // This error was thrown as a convenience so that you can use this stack
  25796. // to find the callsite that caused this warning to fire.
  25797. throw new Error(message);
  25798. } catch (x) {}
  25799. };
  25800. lowPriorityWarning = function (condition, format) {
  25801. if (format === undefined) {
  25802. throw new Error('`lowPriorityWarning(condition, format, ...args)` requires a warning ' + 'message argument');
  25803. }
  25804. if (!condition) {
  25805. for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
  25806. args[_key2 - 2] = arguments[_key2];
  25807. }
  25808. printWarning.apply(undefined, [format].concat(args));
  25809. }
  25810. };
  25811. }
  25812. var lowPriorityWarning$1 = lowPriorityWarning;
  25813. /**
  25814. * Similar to invariant but only logs a warning if the condition is not met.
  25815. * This can be used to log issues in development environments in critical
  25816. * paths. Removing the logging code for production environments will keep the
  25817. * same logic and follow the same code paths.
  25818. */
  25819. var warningWithoutStack = function () {};
  25820. {
  25821. warningWithoutStack = function (condition, format) {
  25822. for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
  25823. args[_key - 2] = arguments[_key];
  25824. }
  25825. if (format === undefined) {
  25826. throw new Error('`warningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');
  25827. }
  25828. if (args.length > 8) {
  25829. // Check before the condition to catch violations early.
  25830. throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
  25831. }
  25832. if (condition) {
  25833. return;
  25834. }
  25835. if (typeof console !== 'undefined') {
  25836. var argsWithFormat = args.map(function (item) {
  25837. return '' + item;
  25838. });
  25839. argsWithFormat.unshift('Warning: ' + format);
  25840. // We intentionally don't use spread (or .apply) directly because it
  25841. // breaks IE9: https://github.com/facebook/react/issues/13610
  25842. Function.prototype.apply.call(console.error, console, argsWithFormat);
  25843. }
  25844. try {
  25845. // --- Welcome to debugging React ---
  25846. // This error was thrown as a convenience so that you can use this stack
  25847. // to find the callsite that caused this warning to fire.
  25848. var argIndex = 0;
  25849. var message = 'Warning: ' + format.replace(/%s/g, function () {
  25850. return args[argIndex++];
  25851. });
  25852. throw new Error(message);
  25853. } catch (x) {}
  25854. };
  25855. }
  25856. var warningWithoutStack$1 = warningWithoutStack;
  25857. var didWarnStateUpdateForUnmountedComponent = {};
  25858. function warnNoop(publicInstance, callerName) {
  25859. {
  25860. var _constructor = publicInstance.constructor;
  25861. var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass';
  25862. var warningKey = componentName + '.' + callerName;
  25863. if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
  25864. return;
  25865. }
  25866. warningWithoutStack$1(false, "Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName);
  25867. didWarnStateUpdateForUnmountedComponent[warningKey] = true;
  25868. }
  25869. }
  25870. /**
  25871. * This is the abstract API for an update queue.
  25872. */
  25873. var ReactNoopUpdateQueue = {
  25874. /**
  25875. * Checks whether or not this composite component is mounted.
  25876. * @param {ReactClass} publicInstance The instance we want to test.
  25877. * @return {boolean} True if mounted, false otherwise.
  25878. * @protected
  25879. * @final
  25880. */
  25881. isMounted: function (publicInstance) {
  25882. return false;
  25883. },
  25884. /**
  25885. * Forces an update. This should only be invoked when it is known with
  25886. * certainty that we are **not** in a DOM transaction.
  25887. *
  25888. * You may want to call this when you know that some deeper aspect of the
  25889. * component's state has changed but `setState` was not called.
  25890. *
  25891. * This will not invoke `shouldComponentUpdate`, but it will invoke
  25892. * `componentWillUpdate` and `componentDidUpdate`.
  25893. *
  25894. * @param {ReactClass} publicInstance The instance that should rerender.
  25895. * @param {?function} callback Called after component is updated.
  25896. * @param {?string} callerName name of the calling function in the public API.
  25897. * @internal
  25898. */
  25899. enqueueForceUpdate: function (publicInstance, callback, callerName) {
  25900. warnNoop(publicInstance, 'forceUpdate');
  25901. },
  25902. /**
  25903. * Replaces all of the state. Always use this or `setState` to mutate state.
  25904. * You should treat `this.state` as immutable.
  25905. *
  25906. * There is no guarantee that `this.state` will be immediately updated, so
  25907. * accessing `this.state` after calling this method may return the old value.
  25908. *
  25909. * @param {ReactClass} publicInstance The instance that should rerender.
  25910. * @param {object} completeState Next state.
  25911. * @param {?function} callback Called after component is updated.
  25912. * @param {?string} callerName name of the calling function in the public API.
  25913. * @internal
  25914. */
  25915. enqueueReplaceState: function (publicInstance, completeState, callback, callerName) {
  25916. warnNoop(publicInstance, 'replaceState');
  25917. },
  25918. /**
  25919. * Sets a subset of the state. This only exists because _pendingState is
  25920. * internal. This provides a merging strategy that is not available to deep
  25921. * properties which is confusing. TODO: Expose pendingState or don't use it
  25922. * during the merge.
  25923. *
  25924. * @param {ReactClass} publicInstance The instance that should rerender.
  25925. * @param {object} partialState Next partial state to be merged with state.
  25926. * @param {?function} callback Called after component is updated.
  25927. * @param {?string} Name of the calling function in the public API.
  25928. * @internal
  25929. */
  25930. enqueueSetState: function (publicInstance, partialState, callback, callerName) {
  25931. warnNoop(publicInstance, 'setState');
  25932. }
  25933. };
  25934. var emptyObject = {};
  25935. {
  25936. Object.freeze(emptyObject);
  25937. }
  25938. /**
  25939. * Base class helpers for the updating state of a component.
  25940. */
  25941. function Component(props, context, updater) {
  25942. this.props = props;
  25943. this.context = context;
  25944. // If a component has string refs, we will assign a different object later.
  25945. this.refs = emptyObject;
  25946. // We initialize the default updater but the real one gets injected by the
  25947. // renderer.
  25948. this.updater = updater || ReactNoopUpdateQueue;
  25949. }
  25950. Component.prototype.isReactComponent = {};
  25951. /**
  25952. * Sets a subset of the state. Always use this to mutate
  25953. * state. You should treat `this.state` as immutable.
  25954. *
  25955. * There is no guarantee that `this.state` will be immediately updated, so
  25956. * accessing `this.state` after calling this method may return the old value.
  25957. *
  25958. * There is no guarantee that calls to `setState` will run synchronously,
  25959. * as they may eventually be batched together. You can provide an optional
  25960. * callback that will be executed when the call to setState is actually
  25961. * completed.
  25962. *
  25963. * When a function is provided to setState, it will be called at some point in
  25964. * the future (not synchronously). It will be called with the up to date
  25965. * component arguments (state, props, context). These values can be different
  25966. * from this.* because your function may be called after receiveProps but before
  25967. * shouldComponentUpdate, and this new state, props, and context will not yet be
  25968. * assigned to this.
  25969. *
  25970. * @param {object|function} partialState Next partial state or function to
  25971. * produce next partial state to be merged with current state.
  25972. * @param {?function} callback Called after state is updated.
  25973. * @final
  25974. * @protected
  25975. */
  25976. Component.prototype.setState = function (partialState, callback) {
  25977. !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : void 0;
  25978. this.updater.enqueueSetState(this, partialState, callback, 'setState');
  25979. };
  25980. /**
  25981. * Forces an update. This should only be invoked when it is known with
  25982. * certainty that we are **not** in a DOM transaction.
  25983. *
  25984. * You may want to call this when you know that some deeper aspect of the
  25985. * component's state has changed but `setState` was not called.
  25986. *
  25987. * This will not invoke `shouldComponentUpdate`, but it will invoke
  25988. * `componentWillUpdate` and `componentDidUpdate`.
  25989. *
  25990. * @param {?function} callback Called after update is complete.
  25991. * @final
  25992. * @protected
  25993. */
  25994. Component.prototype.forceUpdate = function (callback) {
  25995. this.updater.enqueueForceUpdate(this, callback, 'forceUpdate');
  25996. };
  25997. /**
  25998. * Deprecated APIs. These APIs used to exist on classic React classes but since
  25999. * we would like to deprecate them, we're not going to move them over to this
  26000. * modern base class. Instead, we define a getter that warns if it's accessed.
  26001. */
  26002. {
  26003. var deprecatedAPIs = {
  26004. isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],
  26005. replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']
  26006. };
  26007. var defineDeprecationWarning = function (methodName, info) {
  26008. Object.defineProperty(Component.prototype, methodName, {
  26009. get: function () {
  26010. lowPriorityWarning$1(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);
  26011. return undefined;
  26012. }
  26013. });
  26014. };
  26015. for (var fnName in deprecatedAPIs) {
  26016. if (deprecatedAPIs.hasOwnProperty(fnName)) {
  26017. defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
  26018. }
  26019. }
  26020. }
  26021. function ComponentDummy() {}
  26022. ComponentDummy.prototype = Component.prototype;
  26023. /**
  26024. * Convenience component with default shallow equality check for sCU.
  26025. */
  26026. function PureComponent(props, context, updater) {
  26027. this.props = props;
  26028. this.context = context;
  26029. // If a component has string refs, we will assign a different object later.
  26030. this.refs = emptyObject;
  26031. this.updater = updater || ReactNoopUpdateQueue;
  26032. }
  26033. var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
  26034. pureComponentPrototype.constructor = PureComponent;
  26035. // Avoid an extra prototype jump for these methods.
  26036. _assign(pureComponentPrototype, Component.prototype);
  26037. pureComponentPrototype.isPureReactComponent = true;
  26038. // an immutable object with a single mutable value
  26039. function createRef() {
  26040. var refObject = {
  26041. current: null
  26042. };
  26043. {
  26044. Object.seal(refObject);
  26045. }
  26046. return refObject;
  26047. }
  26048. /**
  26049. * Keeps track of the current owner.
  26050. *
  26051. * The current owner is the component who should own any components that are
  26052. * currently being constructed.
  26053. */
  26054. var ReactCurrentOwner = {
  26055. /**
  26056. * @internal
  26057. * @type {ReactComponent}
  26058. */
  26059. current: null,
  26060. currentDispatcher: null
  26061. };
  26062. var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
  26063. var describeComponentFrame = function (name, source, ownerName) {
  26064. var sourceInfo = '';
  26065. if (source) {
  26066. var path = source.fileName;
  26067. var fileName = path.replace(BEFORE_SLASH_RE, '');
  26068. {
  26069. // In DEV, include code for a common special case:
  26070. // prefer "folder/index.js" instead of just "index.js".
  26071. if (/^index\./.test(fileName)) {
  26072. var match = path.match(BEFORE_SLASH_RE);
  26073. if (match) {
  26074. var pathBeforeSlash = match[1];
  26075. if (pathBeforeSlash) {
  26076. var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, '');
  26077. fileName = folderName + '/' + fileName;
  26078. }
  26079. }
  26080. }
  26081. }
  26082. sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')';
  26083. } else if (ownerName) {
  26084. sourceInfo = ' (created by ' + ownerName + ')';
  26085. }
  26086. return '\n in ' + (name || 'Unknown') + sourceInfo;
  26087. };
  26088. var Resolved = 1;
  26089. function refineResolvedLazyComponent(lazyComponent) {
  26090. return lazyComponent._status === Resolved ? lazyComponent._result : null;
  26091. }
  26092. function getWrappedName(outerType, innerType, wrapperName) {
  26093. var functionName = innerType.displayName || innerType.name || '';
  26094. return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
  26095. }
  26096. function getComponentName(type) {
  26097. if (type == null) {
  26098. // Host root, text node or just invalid type.
  26099. return null;
  26100. }
  26101. {
  26102. if (typeof type.tag === 'number') {
  26103. warningWithoutStack$1(false, 'Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.');
  26104. }
  26105. }
  26106. if (typeof type === 'function') {
  26107. return type.displayName || type.name || null;
  26108. }
  26109. if (typeof type === 'string') {
  26110. return type;
  26111. }
  26112. switch (type) {
  26113. case REACT_CONCURRENT_MODE_TYPE:
  26114. return 'ConcurrentMode';
  26115. case REACT_FRAGMENT_TYPE:
  26116. return 'Fragment';
  26117. case REACT_PORTAL_TYPE:
  26118. return 'Portal';
  26119. case REACT_PROFILER_TYPE:
  26120. return 'Profiler';
  26121. case REACT_STRICT_MODE_TYPE:
  26122. return 'StrictMode';
  26123. case REACT_SUSPENSE_TYPE:
  26124. return 'Suspense';
  26125. }
  26126. if (typeof type === 'object') {
  26127. switch (type.$$typeof) {
  26128. case REACT_CONTEXT_TYPE:
  26129. return 'Context.Consumer';
  26130. case REACT_PROVIDER_TYPE:
  26131. return 'Context.Provider';
  26132. case REACT_FORWARD_REF_TYPE:
  26133. return getWrappedName(type, type.render, 'ForwardRef');
  26134. case REACT_MEMO_TYPE:
  26135. return getComponentName(type.type);
  26136. case REACT_LAZY_TYPE:
  26137. {
  26138. var thenable = type;
  26139. var resolvedThenable = refineResolvedLazyComponent(thenable);
  26140. if (resolvedThenable) {
  26141. return getComponentName(resolvedThenable);
  26142. }
  26143. }
  26144. }
  26145. }
  26146. return null;
  26147. }
  26148. var ReactDebugCurrentFrame = {};
  26149. var currentlyValidatingElement = null;
  26150. function setCurrentlyValidatingElement(element) {
  26151. {
  26152. currentlyValidatingElement = element;
  26153. }
  26154. }
  26155. {
  26156. // Stack implementation injected by the current renderer.
  26157. ReactDebugCurrentFrame.getCurrentStack = null;
  26158. ReactDebugCurrentFrame.getStackAddendum = function () {
  26159. var stack = '';
  26160. // Add an extra top frame while an element is being validated
  26161. if (currentlyValidatingElement) {
  26162. var name = getComponentName(currentlyValidatingElement.type);
  26163. var owner = currentlyValidatingElement._owner;
  26164. stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type));
  26165. }
  26166. // Delegate to the injected renderer-specific implementation
  26167. var impl = ReactDebugCurrentFrame.getCurrentStack;
  26168. if (impl) {
  26169. stack += impl() || '';
  26170. }
  26171. return stack;
  26172. };
  26173. }
  26174. var ReactSharedInternals = {
  26175. ReactCurrentOwner: ReactCurrentOwner,
  26176. // Used by renderers to avoid bundling object-assign twice in UMD bundles:
  26177. assign: _assign
  26178. };
  26179. {
  26180. _assign(ReactSharedInternals, {
  26181. // These should not be included in production.
  26182. ReactDebugCurrentFrame: ReactDebugCurrentFrame,
  26183. // Shim for React DOM 16.0.0 which still destructured (but not used) this.
  26184. // TODO: remove in React 17.0.
  26185. ReactComponentTreeHook: {}
  26186. });
  26187. }
  26188. /**
  26189. * Similar to invariant but only logs a warning if the condition is not met.
  26190. * This can be used to log issues in development environments in critical
  26191. * paths. Removing the logging code for production environments will keep the
  26192. * same logic and follow the same code paths.
  26193. */
  26194. var warning = warningWithoutStack$1;
  26195. {
  26196. warning = function (condition, format) {
  26197. if (condition) {
  26198. return;
  26199. }
  26200. var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
  26201. var stack = ReactDebugCurrentFrame.getStackAddendum();
  26202. // eslint-disable-next-line react-internal/warning-and-invariant-args
  26203. for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
  26204. args[_key - 2] = arguments[_key];
  26205. }
  26206. warningWithoutStack$1.apply(undefined, [false, format + '%s'].concat(args, [stack]));
  26207. };
  26208. }
  26209. var warning$1 = warning;
  26210. var hasOwnProperty = Object.prototype.hasOwnProperty;
  26211. var RESERVED_PROPS = {
  26212. key: true,
  26213. ref: true,
  26214. __self: true,
  26215. __source: true
  26216. };
  26217. var specialPropKeyWarningShown = void 0;
  26218. var specialPropRefWarningShown = void 0;
  26219. function hasValidRef(config) {
  26220. {
  26221. if (hasOwnProperty.call(config, 'ref')) {
  26222. var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
  26223. if (getter && getter.isReactWarning) {
  26224. return false;
  26225. }
  26226. }
  26227. }
  26228. return config.ref !== undefined;
  26229. }
  26230. function hasValidKey(config) {
  26231. {
  26232. if (hasOwnProperty.call(config, 'key')) {
  26233. var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
  26234. if (getter && getter.isReactWarning) {
  26235. return false;
  26236. }
  26237. }
  26238. }
  26239. return config.key !== undefined;
  26240. }
  26241. function defineKeyPropWarningGetter(props, displayName) {
  26242. var warnAboutAccessingKey = function () {
  26243. if (!specialPropKeyWarningShown) {
  26244. specialPropKeyWarningShown = true;
  26245. warningWithoutStack$1(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
  26246. }
  26247. };
  26248. warnAboutAccessingKey.isReactWarning = true;
  26249. Object.defineProperty(props, 'key', {
  26250. get: warnAboutAccessingKey,
  26251. configurable: true
  26252. });
  26253. }
  26254. function defineRefPropWarningGetter(props, displayName) {
  26255. var warnAboutAccessingRef = function () {
  26256. if (!specialPropRefWarningShown) {
  26257. specialPropRefWarningShown = true;
  26258. warningWithoutStack$1(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName);
  26259. }
  26260. };
  26261. warnAboutAccessingRef.isReactWarning = true;
  26262. Object.defineProperty(props, 'ref', {
  26263. get: warnAboutAccessingRef,
  26264. configurable: true
  26265. });
  26266. }
  26267. /**
  26268. * Factory method to create a new React element. This no longer adheres to
  26269. * the class pattern, so do not use new to call it. Also, no instanceof check
  26270. * will work. Instead test $$typeof field against Symbol.for('react.element') to check
  26271. * if something is a React Element.
  26272. *
  26273. * @param {*} type
  26274. * @param {*} key
  26275. * @param {string|object} ref
  26276. * @param {*} self A *temporary* helper to detect places where `this` is
  26277. * different from the `owner` when React.createElement is called, so that we
  26278. * can warn. We want to get rid of owner and replace string `ref`s with arrow
  26279. * functions, and as long as `this` and owner are the same, there will be no
  26280. * change in behavior.
  26281. * @param {*} source An annotation object (added by a transpiler or otherwise)
  26282. * indicating filename, line number, and/or other information.
  26283. * @param {*} owner
  26284. * @param {*} props
  26285. * @internal
  26286. */
  26287. var ReactElement = function (type, key, ref, self, source, owner, props) {
  26288. var element = {
  26289. // This tag allows us to uniquely identify this as a React Element
  26290. $$typeof: REACT_ELEMENT_TYPE,
  26291. // Built-in properties that belong on the element
  26292. type: type,
  26293. key: key,
  26294. ref: ref,
  26295. props: props,
  26296. // Record the component responsible for creating this element.
  26297. _owner: owner
  26298. };
  26299. {
  26300. // The validation flag is currently mutative. We put it on
  26301. // an external backing store so that we can freeze the whole object.
  26302. // This can be replaced with a WeakMap once they are implemented in
  26303. // commonly used development environments.
  26304. element._store = {};
  26305. // To make comparing ReactElements easier for testing purposes, we make
  26306. // the validation flag non-enumerable (where possible, which should
  26307. // include every environment we run tests in), so the test framework
  26308. // ignores it.
  26309. Object.defineProperty(element._store, 'validated', {
  26310. configurable: false,
  26311. enumerable: false,
  26312. writable: true,
  26313. value: false
  26314. });
  26315. // self and source are DEV only properties.
  26316. Object.defineProperty(element, '_self', {
  26317. configurable: false,
  26318. enumerable: false,
  26319. writable: false,
  26320. value: self
  26321. });
  26322. // Two elements created in two different places should be considered
  26323. // equal for testing purposes and therefore we hide it from enumeration.
  26324. Object.defineProperty(element, '_source', {
  26325. configurable: false,
  26326. enumerable: false,
  26327. writable: false,
  26328. value: source
  26329. });
  26330. if (Object.freeze) {
  26331. Object.freeze(element.props);
  26332. Object.freeze(element);
  26333. }
  26334. }
  26335. return element;
  26336. };
  26337. /**
  26338. * Create and return a new ReactElement of the given type.
  26339. * See https://reactjs.org/docs/react-api.html#createelement
  26340. */
  26341. function createElement(type, config, children) {
  26342. var propName = void 0;
  26343. // Reserved names are extracted
  26344. var props = {};
  26345. var key = null;
  26346. var ref = null;
  26347. var self = null;
  26348. var source = null;
  26349. if (config != null) {
  26350. if (hasValidRef(config)) {
  26351. ref = config.ref;
  26352. }
  26353. if (hasValidKey(config)) {
  26354. key = '' + config.key;
  26355. }
  26356. self = config.__self === undefined ? null : config.__self;
  26357. source = config.__source === undefined ? null : config.__source;
  26358. // Remaining properties are added to a new props object
  26359. for (propName in config) {
  26360. if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
  26361. props[propName] = config[propName];
  26362. }
  26363. }
  26364. }
  26365. // Children can be more than one argument, and those are transferred onto
  26366. // the newly allocated props object.
  26367. var childrenLength = arguments.length - 2;
  26368. if (childrenLength === 1) {
  26369. props.children = children;
  26370. } else if (childrenLength > 1) {
  26371. var childArray = Array(childrenLength);
  26372. for (var i = 0; i < childrenLength; i++) {
  26373. childArray[i] = arguments[i + 2];
  26374. }
  26375. {
  26376. if (Object.freeze) {
  26377. Object.freeze(childArray);
  26378. }
  26379. }
  26380. props.children = childArray;
  26381. }
  26382. // Resolve default props
  26383. if (type && type.defaultProps) {
  26384. var defaultProps = type.defaultProps;
  26385. for (propName in defaultProps) {
  26386. if (props[propName] === undefined) {
  26387. props[propName] = defaultProps[propName];
  26388. }
  26389. }
  26390. }
  26391. {
  26392. if (key || ref) {
  26393. var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;
  26394. if (key) {
  26395. defineKeyPropWarningGetter(props, displayName);
  26396. }
  26397. if (ref) {
  26398. defineRefPropWarningGetter(props, displayName);
  26399. }
  26400. }
  26401. }
  26402. return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
  26403. }
  26404. /**
  26405. * Return a function that produces ReactElements of a given type.
  26406. * See https://reactjs.org/docs/react-api.html#createfactory
  26407. */
  26408. function cloneAndReplaceKey(oldElement, newKey) {
  26409. var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
  26410. return newElement;
  26411. }
  26412. /**
  26413. * Clone and return a new ReactElement using element as the starting point.
  26414. * See https://reactjs.org/docs/react-api.html#cloneelement
  26415. */
  26416. function cloneElement(element, config, children) {
  26417. !!(element === null || element === undefined) ? invariant(false, 'React.cloneElement(...): The argument must be a React element, but you passed %s.', element) : void 0;
  26418. var propName = void 0;
  26419. // Original props are copied
  26420. var props = _assign({}, element.props);
  26421. // Reserved names are extracted
  26422. var key = element.key;
  26423. var ref = element.ref;
  26424. // Self is preserved since the owner is preserved.
  26425. var self = element._self;
  26426. // Source is preserved since cloneElement is unlikely to be targeted by a
  26427. // transpiler, and the original source is probably a better indicator of the
  26428. // true owner.
  26429. var source = element._source;
  26430. // Owner will be preserved, unless ref is overridden
  26431. var owner = element._owner;
  26432. if (config != null) {
  26433. if (hasValidRef(config)) {
  26434. // Silently steal the ref from the parent.
  26435. ref = config.ref;
  26436. owner = ReactCurrentOwner.current;
  26437. }
  26438. if (hasValidKey(config)) {
  26439. key = '' + config.key;
  26440. }
  26441. // Remaining properties override existing props
  26442. var defaultProps = void 0;
  26443. if (element.type && element.type.defaultProps) {
  26444. defaultProps = element.type.defaultProps;
  26445. }
  26446. for (propName in config) {
  26447. if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
  26448. if (config[propName] === undefined && defaultProps !== undefined) {
  26449. // Resolve default props
  26450. props[propName] = defaultProps[propName];
  26451. } else {
  26452. props[propName] = config[propName];
  26453. }
  26454. }
  26455. }
  26456. }
  26457. // Children can be more than one argument, and those are transferred onto
  26458. // the newly allocated props object.
  26459. var childrenLength = arguments.length - 2;
  26460. if (childrenLength === 1) {
  26461. props.children = children;
  26462. } else if (childrenLength > 1) {
  26463. var childArray = Array(childrenLength);
  26464. for (var i = 0; i < childrenLength; i++) {
  26465. childArray[i] = arguments[i + 2];
  26466. }
  26467. props.children = childArray;
  26468. }
  26469. return ReactElement(element.type, key, ref, self, source, owner, props);
  26470. }
  26471. /**
  26472. * Verifies the object is a ReactElement.
  26473. * See https://reactjs.org/docs/react-api.html#isvalidelement
  26474. * @param {?object} object
  26475. * @return {boolean} True if `object` is a ReactElement.
  26476. * @final
  26477. */
  26478. function isValidElement(object) {
  26479. return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
  26480. }
  26481. var SEPARATOR = '.';
  26482. var SUBSEPARATOR = ':';
  26483. /**
  26484. * Escape and wrap key so it is safe to use as a reactid
  26485. *
  26486. * @param {string} key to be escaped.
  26487. * @return {string} the escaped key.
  26488. */
  26489. function escape(key) {
  26490. var escapeRegex = /[=:]/g;
  26491. var escaperLookup = {
  26492. '=': '=0',
  26493. ':': '=2'
  26494. };
  26495. var escapedString = ('' + key).replace(escapeRegex, function (match) {
  26496. return escaperLookup[match];
  26497. });
  26498. return '$' + escapedString;
  26499. }
  26500. /**
  26501. * TODO: Test that a single child and an array with one item have the same key
  26502. * pattern.
  26503. */
  26504. var didWarnAboutMaps = false;
  26505. var userProvidedKeyEscapeRegex = /\/+/g;
  26506. function escapeUserProvidedKey(text) {
  26507. return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
  26508. }
  26509. var POOL_SIZE = 10;
  26510. var traverseContextPool = [];
  26511. function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) {
  26512. if (traverseContextPool.length) {
  26513. var traverseContext = traverseContextPool.pop();
  26514. traverseContext.result = mapResult;
  26515. traverseContext.keyPrefix = keyPrefix;
  26516. traverseContext.func = mapFunction;
  26517. traverseContext.context = mapContext;
  26518. traverseContext.count = 0;
  26519. return traverseContext;
  26520. } else {
  26521. return {
  26522. result: mapResult,
  26523. keyPrefix: keyPrefix,
  26524. func: mapFunction,
  26525. context: mapContext,
  26526. count: 0
  26527. };
  26528. }
  26529. }
  26530. function releaseTraverseContext(traverseContext) {
  26531. traverseContext.result = null;
  26532. traverseContext.keyPrefix = null;
  26533. traverseContext.func = null;
  26534. traverseContext.context = null;
  26535. traverseContext.count = 0;
  26536. if (traverseContextPool.length < POOL_SIZE) {
  26537. traverseContextPool.push(traverseContext);
  26538. }
  26539. }
  26540. /**
  26541. * @param {?*} children Children tree container.
  26542. * @param {!string} nameSoFar Name of the key path so far.
  26543. * @param {!function} callback Callback to invoke with each child found.
  26544. * @param {?*} traverseContext Used to pass information throughout the traversal
  26545. * process.
  26546. * @return {!number} The number of children in this subtree.
  26547. */
  26548. function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {
  26549. var type = typeof children;
  26550. if (type === 'undefined' || type === 'boolean') {
  26551. // All of the above are perceived as null.
  26552. children = null;
  26553. }
  26554. var invokeCallback = false;
  26555. if (children === null) {
  26556. invokeCallback = true;
  26557. } else {
  26558. switch (type) {
  26559. case 'string':
  26560. case 'number':
  26561. invokeCallback = true;
  26562. break;
  26563. case 'object':
  26564. switch (children.$$typeof) {
  26565. case REACT_ELEMENT_TYPE:
  26566. case REACT_PORTAL_TYPE:
  26567. invokeCallback = true;
  26568. }
  26569. }
  26570. }
  26571. if (invokeCallback) {
  26572. callback(traverseContext, children,
  26573. // If it's the only child, treat the name as if it was wrapped in an array
  26574. // so that it's consistent if the number of children grows.
  26575. nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);
  26576. return 1;
  26577. }
  26578. var child = void 0;
  26579. var nextName = void 0;
  26580. var subtreeCount = 0; // Count of children found in the current subtree.
  26581. var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;
  26582. if (Array.isArray(children)) {
  26583. for (var i = 0; i < children.length; i++) {
  26584. child = children[i];
  26585. nextName = nextNamePrefix + getComponentKey(child, i);
  26586. subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
  26587. }
  26588. } else {
  26589. var iteratorFn = getIteratorFn(children);
  26590. if (typeof iteratorFn === 'function') {
  26591. {
  26592. // Warn about using Maps as children
  26593. if (iteratorFn === children.entries) {
  26594. !didWarnAboutMaps ? warning$1(false, 'Using Maps as children is unsupported and will likely yield ' + 'unexpected results. Convert it to a sequence/iterable of keyed ' + 'ReactElements instead.') : void 0;
  26595. didWarnAboutMaps = true;
  26596. }
  26597. }
  26598. var iterator = iteratorFn.call(children);
  26599. var step = void 0;
  26600. var ii = 0;
  26601. while (!(step = iterator.next()).done) {
  26602. child = step.value;
  26603. nextName = nextNamePrefix + getComponentKey(child, ii++);
  26604. subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);
  26605. }
  26606. } else if (type === 'object') {
  26607. var addendum = '';
  26608. {
  26609. addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum();
  26610. }
  26611. var childrenString = '' + children;
  26612. invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum);
  26613. }
  26614. }
  26615. return subtreeCount;
  26616. }
  26617. /**
  26618. * Traverses children that are typically specified as `props.children`, but
  26619. * might also be specified through attributes:
  26620. *
  26621. * - `traverseAllChildren(this.props.children, ...)`
  26622. * - `traverseAllChildren(this.props.leftPanelChildren, ...)`
  26623. *
  26624. * The `traverseContext` is an optional argument that is passed through the
  26625. * entire traversal. It can be used to store accumulations or anything else that
  26626. * the callback might find relevant.
  26627. *
  26628. * @param {?*} children Children tree object.
  26629. * @param {!function} callback To invoke upon traversing each child.
  26630. * @param {?*} traverseContext Context for traversal.
  26631. * @return {!number} The number of children in this subtree.
  26632. */
  26633. function traverseAllChildren(children, callback, traverseContext) {
  26634. if (children == null) {
  26635. return 0;
  26636. }
  26637. return traverseAllChildrenImpl(children, '', callback, traverseContext);
  26638. }
  26639. /**
  26640. * Generate a key string that identifies a component within a set.
  26641. *
  26642. * @param {*} component A component that could contain a manual key.
  26643. * @param {number} index Index that is used if a manual key is not provided.
  26644. * @return {string}
  26645. */
  26646. function getComponentKey(component, index) {
  26647. // Do some typechecking here since we call this blindly. We want to ensure
  26648. // that we don't block potential future ES APIs.
  26649. if (typeof component === 'object' && component !== null && component.key != null) {
  26650. // Explicit key
  26651. return escape(component.key);
  26652. }
  26653. // Implicit key determined by the index in the set
  26654. return index.toString(36);
  26655. }
  26656. function forEachSingleChild(bookKeeping, child, name) {
  26657. var func = bookKeeping.func,
  26658. context = bookKeeping.context;
  26659. func.call(context, child, bookKeeping.count++);
  26660. }
  26661. /**
  26662. * Iterates through children that are typically specified as `props.children`.
  26663. *
  26664. * See https://reactjs.org/docs/react-api.html#reactchildrenforeach
  26665. *
  26666. * The provided forEachFunc(child, index) will be called for each
  26667. * leaf child.
  26668. *
  26669. * @param {?*} children Children tree container.
  26670. * @param {function(*, int)} forEachFunc
  26671. * @param {*} forEachContext Context for forEachContext.
  26672. */
  26673. function forEachChildren(children, forEachFunc, forEachContext) {
  26674. if (children == null) {
  26675. return children;
  26676. }
  26677. var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext);
  26678. traverseAllChildren(children, forEachSingleChild, traverseContext);
  26679. releaseTraverseContext(traverseContext);
  26680. }
  26681. function mapSingleChildIntoContext(bookKeeping, child, childKey) {
  26682. var result = bookKeeping.result,
  26683. keyPrefix = bookKeeping.keyPrefix,
  26684. func = bookKeeping.func,
  26685. context = bookKeeping.context;
  26686. var mappedChild = func.call(context, child, bookKeeping.count++);
  26687. if (Array.isArray(mappedChild)) {
  26688. mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) {
  26689. return c;
  26690. });
  26691. } else if (mappedChild != null) {
  26692. if (isValidElement(mappedChild)) {
  26693. mappedChild = cloneAndReplaceKey(mappedChild,
  26694. // Keep both the (mapped) and old keys if they differ, just as
  26695. // traverseAllChildren used to do for objects as children
  26696. keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);
  26697. }
  26698. result.push(mappedChild);
  26699. }
  26700. }
  26701. function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {
  26702. var escapedPrefix = '';
  26703. if (prefix != null) {
  26704. escapedPrefix = escapeUserProvidedKey(prefix) + '/';
  26705. }
  26706. var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context);
  26707. traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);
  26708. releaseTraverseContext(traverseContext);
  26709. }
  26710. /**
  26711. * Maps children that are typically specified as `props.children`.
  26712. *
  26713. * See https://reactjs.org/docs/react-api.html#reactchildrenmap
  26714. *
  26715. * The provided mapFunction(child, key, index) will be called for each
  26716. * leaf child.
  26717. *
  26718. * @param {?*} children Children tree container.
  26719. * @param {function(*, int)} func The map function.
  26720. * @param {*} context Context for mapFunction.
  26721. * @return {object} Object containing the ordered map of results.
  26722. */
  26723. function mapChildren(children, func, context) {
  26724. if (children == null) {
  26725. return children;
  26726. }
  26727. var result = [];
  26728. mapIntoWithKeyPrefixInternal(children, result, null, func, context);
  26729. return result;
  26730. }
  26731. /**
  26732. * Count the number of children that are typically specified as
  26733. * `props.children`.
  26734. *
  26735. * See https://reactjs.org/docs/react-api.html#reactchildrencount
  26736. *
  26737. * @param {?*} children Children tree container.
  26738. * @return {number} The number of children.
  26739. */
  26740. function countChildren(children) {
  26741. return traverseAllChildren(children, function () {
  26742. return null;
  26743. }, null);
  26744. }
  26745. /**
  26746. * Flatten a children object (typically specified as `props.children`) and
  26747. * return an array with appropriately re-keyed children.
  26748. *
  26749. * See https://reactjs.org/docs/react-api.html#reactchildrentoarray
  26750. */
  26751. function toArray(children) {
  26752. var result = [];
  26753. mapIntoWithKeyPrefixInternal(children, result, null, function (child) {
  26754. return child;
  26755. });
  26756. return result;
  26757. }
  26758. /**
  26759. * Returns the first child in a collection of children and verifies that there
  26760. * is only one child in the collection.
  26761. *
  26762. * See https://reactjs.org/docs/react-api.html#reactchildrenonly
  26763. *
  26764. * The current implementation of this function assumes that a single child gets
  26765. * passed without a wrapper, but the purpose of this helper function is to
  26766. * abstract away the particular structure of children.
  26767. *
  26768. * @param {?object} children Child collection structure.
  26769. * @return {ReactElement} The first and only `ReactElement` contained in the
  26770. * structure.
  26771. */
  26772. function onlyChild(children) {
  26773. !isValidElement(children) ? invariant(false, 'React.Children.only expected to receive a single React element child.') : void 0;
  26774. return children;
  26775. }
  26776. function createContext(defaultValue, calculateChangedBits) {
  26777. if (calculateChangedBits === undefined) {
  26778. calculateChangedBits = null;
  26779. } else {
  26780. {
  26781. !(calculateChangedBits === null || typeof calculateChangedBits === 'function') ? warningWithoutStack$1(false, 'createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits) : void 0;
  26782. }
  26783. }
  26784. var context = {
  26785. $$typeof: REACT_CONTEXT_TYPE,
  26786. _calculateChangedBits: calculateChangedBits,
  26787. // As a workaround to support multiple concurrent renderers, we categorize
  26788. // some renderers as primary and others as secondary. We only expect
  26789. // there to be two concurrent renderers at most: React Native (primary) and
  26790. // Fabric (secondary); React DOM (primary) and React ART (secondary).
  26791. // Secondary renderers store their context values on separate fields.
  26792. _currentValue: defaultValue,
  26793. _currentValue2: defaultValue,
  26794. // Used to track how many concurrent renderers this context currently
  26795. // supports within in a single renderer. Such as parallel server rendering.
  26796. _threadCount: 0,
  26797. // These are circular
  26798. Provider: null,
  26799. Consumer: null
  26800. };
  26801. context.Provider = {
  26802. $$typeof: REACT_PROVIDER_TYPE,
  26803. _context: context
  26804. };
  26805. var hasWarnedAboutUsingNestedContextConsumers = false;
  26806. var hasWarnedAboutUsingConsumerProvider = false;
  26807. {
  26808. // A separate object, but proxies back to the original context object for
  26809. // backwards compatibility. It has a different $$typeof, so we can properly
  26810. // warn for the incorrect usage of Context as a Consumer.
  26811. var Consumer = {
  26812. $$typeof: REACT_CONTEXT_TYPE,
  26813. _context: context,
  26814. _calculateChangedBits: context._calculateChangedBits
  26815. };
  26816. // $FlowFixMe: Flow complains about not setting a value, which is intentional here
  26817. Object.defineProperties(Consumer, {
  26818. Provider: {
  26819. get: function () {
  26820. if (!hasWarnedAboutUsingConsumerProvider) {
  26821. hasWarnedAboutUsingConsumerProvider = true;
  26822. warning$1(false, 'Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
  26823. }
  26824. return context.Provider;
  26825. },
  26826. set: function (_Provider) {
  26827. context.Provider = _Provider;
  26828. }
  26829. },
  26830. _currentValue: {
  26831. get: function () {
  26832. return context._currentValue;
  26833. },
  26834. set: function (_currentValue) {
  26835. context._currentValue = _currentValue;
  26836. }
  26837. },
  26838. _currentValue2: {
  26839. get: function () {
  26840. return context._currentValue2;
  26841. },
  26842. set: function (_currentValue2) {
  26843. context._currentValue2 = _currentValue2;
  26844. }
  26845. },
  26846. _threadCount: {
  26847. get: function () {
  26848. return context._threadCount;
  26849. },
  26850. set: function (_threadCount) {
  26851. context._threadCount = _threadCount;
  26852. }
  26853. },
  26854. Consumer: {
  26855. get: function () {
  26856. if (!hasWarnedAboutUsingNestedContextConsumers) {
  26857. hasWarnedAboutUsingNestedContextConsumers = true;
  26858. warning$1(false, 'Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
  26859. }
  26860. return context.Consumer;
  26861. }
  26862. }
  26863. });
  26864. // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
  26865. context.Consumer = Consumer;
  26866. }
  26867. {
  26868. context._currentRenderer = null;
  26869. context._currentRenderer2 = null;
  26870. }
  26871. return context;
  26872. }
  26873. function lazy(ctor) {
  26874. return {
  26875. $$typeof: REACT_LAZY_TYPE,
  26876. _ctor: ctor,
  26877. // React uses these fields to store the result.
  26878. _status: -1,
  26879. _result: null
  26880. };
  26881. }
  26882. function forwardRef(render) {
  26883. {
  26884. if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
  26885. warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
  26886. } else if (typeof render !== 'function') {
  26887. warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
  26888. } else {
  26889. !(
  26890. // Do not warn for 0 arguments because it could be due to usage of the 'arguments' object
  26891. render.length === 0 || render.length === 2) ? warningWithoutStack$1(false, 'forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.') : void 0;
  26892. }
  26893. if (render != null) {
  26894. !(render.defaultProps == null && render.propTypes == null) ? warningWithoutStack$1(false, 'forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?') : void 0;
  26895. }
  26896. }
  26897. return {
  26898. $$typeof: REACT_FORWARD_REF_TYPE,
  26899. render: render
  26900. };
  26901. }
  26902. function isValidElementType(type) {
  26903. return typeof type === 'string' || typeof type === 'function' ||
  26904. // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
  26905. type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
  26906. }
  26907. function memo(type, compare) {
  26908. {
  26909. if (!isValidElementType(type)) {
  26910. warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
  26911. }
  26912. }
  26913. return {
  26914. $$typeof: REACT_MEMO_TYPE,
  26915. type: type,
  26916. compare: compare === undefined ? null : compare
  26917. };
  26918. }
  26919. function resolveDispatcher() {
  26920. var dispatcher = ReactCurrentOwner.currentDispatcher;
  26921. !(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
  26922. return dispatcher;
  26923. }
  26924. function useContext(Context, observedBits) {
  26925. var dispatcher = resolveDispatcher();
  26926. {
  26927. // TODO: add a more generic warning for invalid values.
  26928. if (Context._context !== undefined) {
  26929. var realContext = Context._context;
  26930. // Don't deduplicate because this legitimately causes bugs
  26931. // and nobody should be using this in existing code.
  26932. if (realContext.Consumer === Context) {
  26933. warning$1(false, 'Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?');
  26934. } else if (realContext.Provider === Context) {
  26935. warning$1(false, 'Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?');
  26936. }
  26937. }
  26938. }
  26939. return dispatcher.useContext(Context, observedBits);
  26940. }
  26941. function useState(initialState) {
  26942. var dispatcher = resolveDispatcher();
  26943. return dispatcher.useState(initialState);
  26944. }
  26945. function useReducer(reducer, initialState, initialAction) {
  26946. var dispatcher = resolveDispatcher();
  26947. return dispatcher.useReducer(reducer, initialState, initialAction);
  26948. }
  26949. function useRef(initialValue) {
  26950. var dispatcher = resolveDispatcher();
  26951. return dispatcher.useRef(initialValue);
  26952. }
  26953. function useEffect(create, inputs) {
  26954. var dispatcher = resolveDispatcher();
  26955. return dispatcher.useEffect(create, inputs);
  26956. }
  26957. function useMutationEffect(create, inputs) {
  26958. var dispatcher = resolveDispatcher();
  26959. return dispatcher.useMutationEffect(create, inputs);
  26960. }
  26961. function useLayoutEffect(create, inputs) {
  26962. var dispatcher = resolveDispatcher();
  26963. return dispatcher.useLayoutEffect(create, inputs);
  26964. }
  26965. function useCallback(callback, inputs) {
  26966. var dispatcher = resolveDispatcher();
  26967. return dispatcher.useCallback(callback, inputs);
  26968. }
  26969. function useMemo(create, inputs) {
  26970. var dispatcher = resolveDispatcher();
  26971. return dispatcher.useMemo(create, inputs);
  26972. }
  26973. function useImperativeMethods(ref, create, inputs) {
  26974. var dispatcher = resolveDispatcher();
  26975. return dispatcher.useImperativeMethods(ref, create, inputs);
  26976. }
  26977. /**
  26978. * ReactElementValidator provides a wrapper around a element factory
  26979. * which validates the props passed to the element. This is intended to be
  26980. * used only in DEV and could be replaced by a static type checker for languages
  26981. * that support it.
  26982. */
  26983. var propTypesMisspellWarningShown = void 0;
  26984. {
  26985. propTypesMisspellWarningShown = false;
  26986. }
  26987. function getDeclarationErrorAddendum() {
  26988. if (ReactCurrentOwner.current) {
  26989. var name = getComponentName(ReactCurrentOwner.current.type);
  26990. if (name) {
  26991. return '\n\nCheck the render method of `' + name + '`.';
  26992. }
  26993. }
  26994. return '';
  26995. }
  26996. function getSourceInfoErrorAddendum(elementProps) {
  26997. if (elementProps !== null && elementProps !== undefined && elementProps.__source !== undefined) {
  26998. var source = elementProps.__source;
  26999. var fileName = source.fileName.replace(/^.*[\\\/]/, '');
  27000. var lineNumber = source.lineNumber;
  27001. return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
  27002. }
  27003. return '';
  27004. }
  27005. /**
  27006. * Warn if there's no key explicitly set on dynamic arrays of children or
  27007. * object keys are not valid. This allows us to keep track of children between
  27008. * updates.
  27009. */
  27010. var ownerHasKeyUseWarning = {};
  27011. function getCurrentComponentErrorInfo(parentType) {
  27012. var info = getDeclarationErrorAddendum();
  27013. if (!info) {
  27014. var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
  27015. if (parentName) {
  27016. info = '\n\nCheck the top-level render call using <' + parentName + '>.';
  27017. }
  27018. }
  27019. return info;
  27020. }
  27021. /**
  27022. * Warn if the element doesn't have an explicit key assigned to it.
  27023. * This element is in an array. The array could grow and shrink or be
  27024. * reordered. All children that haven't already been validated are required to
  27025. * have a "key" property assigned to it. Error statuses are cached so a warning
  27026. * will only be shown once.
  27027. *
  27028. * @internal
  27029. * @param {ReactElement} element Element that requires a key.
  27030. * @param {*} parentType element's parent's type.
  27031. */
  27032. function validateExplicitKey(element, parentType) {
  27033. if (!element._store || element._store.validated || element.key != null) {
  27034. return;
  27035. }
  27036. element._store.validated = true;
  27037. var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
  27038. if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
  27039. return;
  27040. }
  27041. ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
  27042. // Usually the current owner is the offender, but if it accepts children as a
  27043. // property, it may be the creator of the child that's responsible for
  27044. // assigning it a key.
  27045. var childOwner = '';
  27046. if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
  27047. // Give the component that originally created this child.
  27048. childOwner = ' It was passed a child from ' + getComponentName(element._owner.type) + '.';
  27049. }
  27050. setCurrentlyValidatingElement(element);
  27051. {
  27052. warning$1(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
  27053. }
  27054. setCurrentlyValidatingElement(null);
  27055. }
  27056. /**
  27057. * Ensure that every element either is passed in a static location, in an
  27058. * array with an explicit keys property defined, or in an object literal
  27059. * with valid key property.
  27060. *
  27061. * @internal
  27062. * @param {ReactNode} node Statically passed child of any type.
  27063. * @param {*} parentType node's parent's type.
  27064. */
  27065. function validateChildKeys(node, parentType) {
  27066. if (typeof node !== 'object') {
  27067. return;
  27068. }
  27069. if (Array.isArray(node)) {
  27070. for (var i = 0; i < node.length; i++) {
  27071. var child = node[i];
  27072. if (isValidElement(child)) {
  27073. validateExplicitKey(child, parentType);
  27074. }
  27075. }
  27076. } else if (isValidElement(node)) {
  27077. // This element was passed in a valid location.
  27078. if (node._store) {
  27079. node._store.validated = true;
  27080. }
  27081. } else if (node) {
  27082. var iteratorFn = getIteratorFn(node);
  27083. if (typeof iteratorFn === 'function') {
  27084. // Entry iterators used to provide implicit keys,
  27085. // but now we print a separate warning for them later.
  27086. if (iteratorFn !== node.entries) {
  27087. var iterator = iteratorFn.call(node);
  27088. var step = void 0;
  27089. while (!(step = iterator.next()).done) {
  27090. if (isValidElement(step.value)) {
  27091. validateExplicitKey(step.value, parentType);
  27092. }
  27093. }
  27094. }
  27095. }
  27096. }
  27097. }
  27098. /**
  27099. * Given an element, validate that its props follow the propTypes definition,
  27100. * provided by the type.
  27101. *
  27102. * @param {ReactElement} element
  27103. */
  27104. function validatePropTypes(element) {
  27105. var type = element.type;
  27106. var name = void 0,
  27107. propTypes = void 0;
  27108. if (typeof type === 'function') {
  27109. // Class or function component
  27110. name = type.displayName || type.name;
  27111. propTypes = type.propTypes;
  27112. } else if (typeof type === 'object' && type !== null && type.$$typeof === REACT_FORWARD_REF_TYPE) {
  27113. // ForwardRef
  27114. var functionName = type.render.displayName || type.render.name || '';
  27115. name = type.displayName || (functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef');
  27116. propTypes = type.propTypes;
  27117. } else {
  27118. return;
  27119. }
  27120. if (propTypes) {
  27121. setCurrentlyValidatingElement(element);
  27122. checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum);
  27123. setCurrentlyValidatingElement(null);
  27124. } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
  27125. propTypesMisspellWarningShown = true;
  27126. warningWithoutStack$1(false, 'Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown');
  27127. }
  27128. if (typeof type.getDefaultProps === 'function') {
  27129. !type.getDefaultProps.isReactClassApproved ? warningWithoutStack$1(false, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
  27130. }
  27131. }
  27132. /**
  27133. * Given a fragment, validate that it can only be provided with fragment props
  27134. * @param {ReactElement} fragment
  27135. */
  27136. function validateFragmentProps(fragment) {
  27137. setCurrentlyValidatingElement(fragment);
  27138. var keys = Object.keys(fragment.props);
  27139. for (var i = 0; i < keys.length; i++) {
  27140. var key = keys[i];
  27141. if (key !== 'children' && key !== 'key') {
  27142. warning$1(false, 'Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
  27143. break;
  27144. }
  27145. }
  27146. if (fragment.ref !== null) {
  27147. warning$1(false, 'Invalid attribute `ref` supplied to `React.Fragment`.');
  27148. }
  27149. setCurrentlyValidatingElement(null);
  27150. }
  27151. function createElementWithValidation(type, props, children) {
  27152. var validType = isValidElementType(type);
  27153. // We warn in this case but don't throw. We expect the element creation to
  27154. // succeed and there will likely be errors in render.
  27155. if (!validType) {
  27156. var info = '';
  27157. if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
  27158. info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
  27159. }
  27160. var sourceInfo = getSourceInfoErrorAddendum(props);
  27161. if (sourceInfo) {
  27162. info += sourceInfo;
  27163. } else {
  27164. info += getDeclarationErrorAddendum();
  27165. }
  27166. var typeString = void 0;
  27167. if (type === null) {
  27168. typeString = 'null';
  27169. } else if (Array.isArray(type)) {
  27170. typeString = 'array';
  27171. } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
  27172. typeString = '<' + (getComponentName(type.type) || 'Unknown') + ' />';
  27173. info = ' Did you accidentally export a JSX literal instead of a component?';
  27174. } else {
  27175. typeString = typeof type;
  27176. }
  27177. warning$1(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);
  27178. }
  27179. var element = createElement.apply(this, arguments);
  27180. // The result can be nullish if a mock or a custom function is used.
  27181. // TODO: Drop this when these are no longer allowed as the type argument.
  27182. if (element == null) {
  27183. return element;
  27184. }
  27185. // Skip key warning if the type isn't valid since our key validation logic
  27186. // doesn't expect a non-string/function type and can throw confusing errors.
  27187. // We don't want exception behavior to differ between dev and prod.
  27188. // (Rendering will throw with a helpful message and as soon as the type is
  27189. // fixed, the key warnings will appear.)
  27190. if (validType) {
  27191. for (var i = 2; i < arguments.length; i++) {
  27192. validateChildKeys(arguments[i], type);
  27193. }
  27194. }
  27195. if (type === REACT_FRAGMENT_TYPE) {
  27196. validateFragmentProps(element);
  27197. } else {
  27198. validatePropTypes(element);
  27199. }
  27200. return element;
  27201. }
  27202. function createFactoryWithValidation(type) {
  27203. var validatedFactory = createElementWithValidation.bind(null, type);
  27204. validatedFactory.type = type;
  27205. // Legacy hook: remove it
  27206. {
  27207. Object.defineProperty(validatedFactory, 'type', {
  27208. enumerable: false,
  27209. get: function () {
  27210. lowPriorityWarning$1(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');
  27211. Object.defineProperty(this, 'type', {
  27212. value: type
  27213. });
  27214. return type;
  27215. }
  27216. });
  27217. }
  27218. return validatedFactory;
  27219. }
  27220. function cloneElementWithValidation(element, props, children) {
  27221. var newElement = cloneElement.apply(this, arguments);
  27222. for (var i = 2; i < arguments.length; i++) {
  27223. validateChildKeys(arguments[i], newElement.type);
  27224. }
  27225. validatePropTypes(newElement);
  27226. return newElement;
  27227. }
  27228. var React = {
  27229. Children: {
  27230. map: mapChildren,
  27231. forEach: forEachChildren,
  27232. count: countChildren,
  27233. toArray: toArray,
  27234. only: onlyChild
  27235. },
  27236. createRef: createRef,
  27237. Component: Component,
  27238. PureComponent: PureComponent,
  27239. createContext: createContext,
  27240. forwardRef: forwardRef,
  27241. lazy: lazy,
  27242. memo: memo,
  27243. Fragment: REACT_FRAGMENT_TYPE,
  27244. StrictMode: REACT_STRICT_MODE_TYPE,
  27245. Suspense: REACT_SUSPENSE_TYPE,
  27246. createElement: createElementWithValidation,
  27247. cloneElement: cloneElementWithValidation,
  27248. createFactory: createFactoryWithValidation,
  27249. isValidElement: isValidElement,
  27250. version: ReactVersion,
  27251. __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
  27252. };
  27253. if (enableStableConcurrentModeAPIs) {
  27254. React.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
  27255. React.Profiler = REACT_PROFILER_TYPE;
  27256. } else {
  27257. React.unstable_ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
  27258. React.unstable_Profiler = REACT_PROFILER_TYPE;
  27259. }
  27260. if (enableHooks) {
  27261. React.useCallback = useCallback;
  27262. React.useContext = useContext;
  27263. React.useEffect = useEffect;
  27264. React.useImperativeMethods = useImperativeMethods;
  27265. React.useLayoutEffect = useLayoutEffect;
  27266. React.useMemo = useMemo;
  27267. React.useMutationEffect = useMutationEffect;
  27268. React.useReducer = useReducer;
  27269. React.useRef = useRef;
  27270. React.useState = useState;
  27271. }
  27272. var React$2 = Object.freeze({
  27273. default: React
  27274. });
  27275. var React$3 = ( React$2 && React ) || React$2;
  27276. // TODO: decide on the top-level export form.
  27277. // This is hacky but makes it work with both Rollup and Jest.
  27278. var react = React$3.default || React$3;
  27279. module.exports = react;
  27280. })();
  27281. }
  27282. /***/ }),
  27283. /***/ "../../node_modules/react/index.js":
  27284. /*!*******************************************************!*\
  27285. !*** D:/Repos/Babylon.js/node_modules/react/index.js ***!
  27286. \*******************************************************/
  27287. /*! no static exports found */
  27288. /***/ (function(module, exports, __webpack_require__) {
  27289. "use strict";
  27290. if (false) {} else {
  27291. module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "../../node_modules/react/cjs/react.development.js");
  27292. }
  27293. /***/ }),
  27294. /***/ "../../node_modules/scheduler/cjs/scheduler-tracing.development.js":
  27295. /*!***************************************************************************************!*\
  27296. !*** D:/Repos/Babylon.js/node_modules/scheduler/cjs/scheduler-tracing.development.js ***!
  27297. \***************************************************************************************/
  27298. /*! no static exports found */
  27299. /***/ (function(module, exports, __webpack_require__) {
  27300. "use strict";
  27301. /** @license React v0.11.3
  27302. * scheduler-tracing.development.js
  27303. *
  27304. * Copyright (c) Facebook, Inc. and its affiliates.
  27305. *
  27306. * This source code is licensed under the MIT license found in the
  27307. * LICENSE file in the root directory of this source tree.
  27308. */
  27309. if (true) {
  27310. (function() {
  27311. 'use strict';
  27312. Object.defineProperty(exports, '__esModule', { value: true });
  27313. // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
  27314. // In some cases, StrictMode should also double-render lifecycles.
  27315. // This can be confusing for tests though,
  27316. // And it can be bad for performance in production.
  27317. // This feature flag can be used to control the behavior:
  27318. // To preserve the "Pause on caught exceptions" behavior of the debugger, we
  27319. // replay the begin phase of a failed component inside invokeGuardedCallback.
  27320. // Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
  27321. // Gather advanced timing metrics for Profiler subtrees.
  27322. // Trace which interactions trigger each commit.
  27323. var enableSchedulerTracing = true;
  27324. // Only used in www builds.
  27325. // Only used in www builds.
  27326. // React Fire: prevent the value and checked attributes from syncing
  27327. // with their related DOM properties
  27328. // These APIs will no longer be "unstable" in the upcoming 16.7 release,
  27329. // Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
  27330. var DEFAULT_THREAD_ID = 0;
  27331. // Counters used to generate unique IDs.
  27332. var interactionIDCounter = 0;
  27333. var threadIDCounter = 0;
  27334. // Set of currently traced interactions.
  27335. // Interactions "stack"–
  27336. // Meaning that newly traced interactions are appended to the previously active set.
  27337. // When an interaction goes out of scope, the previous set (if any) is restored.
  27338. exports.__interactionsRef = null;
  27339. // Listener(s) to notify when interactions begin and end.
  27340. exports.__subscriberRef = null;
  27341. if (enableSchedulerTracing) {
  27342. exports.__interactionsRef = {
  27343. current: new Set()
  27344. };
  27345. exports.__subscriberRef = {
  27346. current: null
  27347. };
  27348. }
  27349. function unstable_clear(callback) {
  27350. if (!enableSchedulerTracing) {
  27351. return callback();
  27352. }
  27353. var prevInteractions = exports.__interactionsRef.current;
  27354. exports.__interactionsRef.current = new Set();
  27355. try {
  27356. return callback();
  27357. } finally {
  27358. exports.__interactionsRef.current = prevInteractions;
  27359. }
  27360. }
  27361. function unstable_getCurrent() {
  27362. if (!enableSchedulerTracing) {
  27363. return null;
  27364. } else {
  27365. return exports.__interactionsRef.current;
  27366. }
  27367. }
  27368. function unstable_getThreadID() {
  27369. return ++threadIDCounter;
  27370. }
  27371. function unstable_trace(name, timestamp, callback) {
  27372. var threadID = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_THREAD_ID;
  27373. if (!enableSchedulerTracing) {
  27374. return callback();
  27375. }
  27376. var interaction = {
  27377. __count: 1,
  27378. id: interactionIDCounter++,
  27379. name: name,
  27380. timestamp: timestamp
  27381. };
  27382. var prevInteractions = exports.__interactionsRef.current;
  27383. // Traced interactions should stack/accumulate.
  27384. // To do that, clone the current interactions.
  27385. // The previous set will be restored upon completion.
  27386. var interactions = new Set(prevInteractions);
  27387. interactions.add(interaction);
  27388. exports.__interactionsRef.current = interactions;
  27389. var subscriber = exports.__subscriberRef.current;
  27390. var returnValue = void 0;
  27391. try {
  27392. if (subscriber !== null) {
  27393. subscriber.onInteractionTraced(interaction);
  27394. }
  27395. } finally {
  27396. try {
  27397. if (subscriber !== null) {
  27398. subscriber.onWorkStarted(interactions, threadID);
  27399. }
  27400. } finally {
  27401. try {
  27402. returnValue = callback();
  27403. } finally {
  27404. exports.__interactionsRef.current = prevInteractions;
  27405. try {
  27406. if (subscriber !== null) {
  27407. subscriber.onWorkStopped(interactions, threadID);
  27408. }
  27409. } finally {
  27410. interaction.__count--;
  27411. // If no async work was scheduled for this interaction,
  27412. // Notify subscribers that it's completed.
  27413. if (subscriber !== null && interaction.__count === 0) {
  27414. subscriber.onInteractionScheduledWorkCompleted(interaction);
  27415. }
  27416. }
  27417. }
  27418. }
  27419. }
  27420. return returnValue;
  27421. }
  27422. function unstable_wrap(callback) {
  27423. var threadID = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_THREAD_ID;
  27424. if (!enableSchedulerTracing) {
  27425. return callback;
  27426. }
  27427. var wrappedInteractions = exports.__interactionsRef.current;
  27428. var subscriber = exports.__subscriberRef.current;
  27429. if (subscriber !== null) {
  27430. subscriber.onWorkScheduled(wrappedInteractions, threadID);
  27431. }
  27432. // Update the pending async work count for the current interactions.
  27433. // Update after calling subscribers in case of error.
  27434. wrappedInteractions.forEach(function (interaction) {
  27435. interaction.__count++;
  27436. });
  27437. var hasRun = false;
  27438. function wrapped() {
  27439. var prevInteractions = exports.__interactionsRef.current;
  27440. exports.__interactionsRef.current = wrappedInteractions;
  27441. subscriber = exports.__subscriberRef.current;
  27442. try {
  27443. var returnValue = void 0;
  27444. try {
  27445. if (subscriber !== null) {
  27446. subscriber.onWorkStarted(wrappedInteractions, threadID);
  27447. }
  27448. } finally {
  27449. try {
  27450. returnValue = callback.apply(undefined, arguments);
  27451. } finally {
  27452. exports.__interactionsRef.current = prevInteractions;
  27453. if (subscriber !== null) {
  27454. subscriber.onWorkStopped(wrappedInteractions, threadID);
  27455. }
  27456. }
  27457. }
  27458. return returnValue;
  27459. } finally {
  27460. if (!hasRun) {
  27461. // We only expect a wrapped function to be executed once,
  27462. // But in the event that it's executed more than once–
  27463. // Only decrement the outstanding interaction counts once.
  27464. hasRun = true;
  27465. // Update pending async counts for all wrapped interactions.
  27466. // If this was the last scheduled async work for any of them,
  27467. // Mark them as completed.
  27468. wrappedInteractions.forEach(function (interaction) {
  27469. interaction.__count--;
  27470. if (subscriber !== null && interaction.__count === 0) {
  27471. subscriber.onInteractionScheduledWorkCompleted(interaction);
  27472. }
  27473. });
  27474. }
  27475. }
  27476. }
  27477. wrapped.cancel = function cancel() {
  27478. subscriber = exports.__subscriberRef.current;
  27479. try {
  27480. if (subscriber !== null) {
  27481. subscriber.onWorkCanceled(wrappedInteractions, threadID);
  27482. }
  27483. } finally {
  27484. // Update pending async counts for all wrapped interactions.
  27485. // If this was the last scheduled async work for any of them,
  27486. // Mark them as completed.
  27487. wrappedInteractions.forEach(function (interaction) {
  27488. interaction.__count--;
  27489. if (subscriber && interaction.__count === 0) {
  27490. subscriber.onInteractionScheduledWorkCompleted(interaction);
  27491. }
  27492. });
  27493. }
  27494. };
  27495. return wrapped;
  27496. }
  27497. var subscribers = null;
  27498. if (enableSchedulerTracing) {
  27499. subscribers = new Set();
  27500. }
  27501. function unstable_subscribe(subscriber) {
  27502. if (enableSchedulerTracing) {
  27503. subscribers.add(subscriber);
  27504. if (subscribers.size === 1) {
  27505. exports.__subscriberRef.current = {
  27506. onInteractionScheduledWorkCompleted: onInteractionScheduledWorkCompleted,
  27507. onInteractionTraced: onInteractionTraced,
  27508. onWorkCanceled: onWorkCanceled,
  27509. onWorkScheduled: onWorkScheduled,
  27510. onWorkStarted: onWorkStarted,
  27511. onWorkStopped: onWorkStopped
  27512. };
  27513. }
  27514. }
  27515. }
  27516. function unstable_unsubscribe(subscriber) {
  27517. if (enableSchedulerTracing) {
  27518. subscribers.delete(subscriber);
  27519. if (subscribers.size === 0) {
  27520. exports.__subscriberRef.current = null;
  27521. }
  27522. }
  27523. }
  27524. function onInteractionTraced(interaction) {
  27525. var didCatchError = false;
  27526. var caughtError = null;
  27527. subscribers.forEach(function (subscriber) {
  27528. try {
  27529. subscriber.onInteractionTraced(interaction);
  27530. } catch (error) {
  27531. if (!didCatchError) {
  27532. didCatchError = true;
  27533. caughtError = error;
  27534. }
  27535. }
  27536. });
  27537. if (didCatchError) {
  27538. throw caughtError;
  27539. }
  27540. }
  27541. function onInteractionScheduledWorkCompleted(interaction) {
  27542. var didCatchError = false;
  27543. var caughtError = null;
  27544. subscribers.forEach(function (subscriber) {
  27545. try {
  27546. subscriber.onInteractionScheduledWorkCompleted(interaction);
  27547. } catch (error) {
  27548. if (!didCatchError) {
  27549. didCatchError = true;
  27550. caughtError = error;
  27551. }
  27552. }
  27553. });
  27554. if (didCatchError) {
  27555. throw caughtError;
  27556. }
  27557. }
  27558. function onWorkScheduled(interactions, threadID) {
  27559. var didCatchError = false;
  27560. var caughtError = null;
  27561. subscribers.forEach(function (subscriber) {
  27562. try {
  27563. subscriber.onWorkScheduled(interactions, threadID);
  27564. } catch (error) {
  27565. if (!didCatchError) {
  27566. didCatchError = true;
  27567. caughtError = error;
  27568. }
  27569. }
  27570. });
  27571. if (didCatchError) {
  27572. throw caughtError;
  27573. }
  27574. }
  27575. function onWorkStarted(interactions, threadID) {
  27576. var didCatchError = false;
  27577. var caughtError = null;
  27578. subscribers.forEach(function (subscriber) {
  27579. try {
  27580. subscriber.onWorkStarted(interactions, threadID);
  27581. } catch (error) {
  27582. if (!didCatchError) {
  27583. didCatchError = true;
  27584. caughtError = error;
  27585. }
  27586. }
  27587. });
  27588. if (didCatchError) {
  27589. throw caughtError;
  27590. }
  27591. }
  27592. function onWorkStopped(interactions, threadID) {
  27593. var didCatchError = false;
  27594. var caughtError = null;
  27595. subscribers.forEach(function (subscriber) {
  27596. try {
  27597. subscriber.onWorkStopped(interactions, threadID);
  27598. } catch (error) {
  27599. if (!didCatchError) {
  27600. didCatchError = true;
  27601. caughtError = error;
  27602. }
  27603. }
  27604. });
  27605. if (didCatchError) {
  27606. throw caughtError;
  27607. }
  27608. }
  27609. function onWorkCanceled(interactions, threadID) {
  27610. var didCatchError = false;
  27611. var caughtError = null;
  27612. subscribers.forEach(function (subscriber) {
  27613. try {
  27614. subscriber.onWorkCanceled(interactions, threadID);
  27615. } catch (error) {
  27616. if (!didCatchError) {
  27617. didCatchError = true;
  27618. caughtError = error;
  27619. }
  27620. }
  27621. });
  27622. if (didCatchError) {
  27623. throw caughtError;
  27624. }
  27625. }
  27626. exports.unstable_clear = unstable_clear;
  27627. exports.unstable_getCurrent = unstable_getCurrent;
  27628. exports.unstable_getThreadID = unstable_getThreadID;
  27629. exports.unstable_trace = unstable_trace;
  27630. exports.unstable_wrap = unstable_wrap;
  27631. exports.unstable_subscribe = unstable_subscribe;
  27632. exports.unstable_unsubscribe = unstable_unsubscribe;
  27633. })();
  27634. }
  27635. /***/ }),
  27636. /***/ "../../node_modules/scheduler/cjs/scheduler.development.js":
  27637. /*!*******************************************************************************!*\
  27638. !*** D:/Repos/Babylon.js/node_modules/scheduler/cjs/scheduler.development.js ***!
  27639. \*******************************************************************************/
  27640. /*! no static exports found */
  27641. /***/ (function(module, exports, __webpack_require__) {
  27642. "use strict";
  27643. /* WEBPACK VAR INJECTION */(function(global) {/** @license React v0.11.3
  27644. * scheduler.development.js
  27645. *
  27646. * Copyright (c) Facebook, Inc. and its affiliates.
  27647. *
  27648. * This source code is licensed under the MIT license found in the
  27649. * LICENSE file in the root directory of this source tree.
  27650. */
  27651. if (true) {
  27652. (function() {
  27653. 'use strict';
  27654. Object.defineProperty(exports, '__esModule', { value: true });
  27655. /* eslint-disable no-var */
  27656. // TODO: Use symbols?
  27657. var ImmediatePriority = 1;
  27658. var UserBlockingPriority = 2;
  27659. var NormalPriority = 3;
  27660. var LowPriority = 4;
  27661. var IdlePriority = 5;
  27662. // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
  27663. // Math.pow(2, 30) - 1
  27664. // 0b111111111111111111111111111111
  27665. var maxSigned31BitInt = 1073741823;
  27666. // Times out immediately
  27667. var IMMEDIATE_PRIORITY_TIMEOUT = -1;
  27668. // Eventually times out
  27669. var USER_BLOCKING_PRIORITY = 250;
  27670. var NORMAL_PRIORITY_TIMEOUT = 5000;
  27671. var LOW_PRIORITY_TIMEOUT = 10000;
  27672. // Never times out
  27673. var IDLE_PRIORITY = maxSigned31BitInt;
  27674. // Callbacks are stored as a circular, doubly linked list.
  27675. var firstCallbackNode = null;
  27676. var currentDidTimeout = false;
  27677. var currentPriorityLevel = NormalPriority;
  27678. var currentEventStartTime = -1;
  27679. var currentExpirationTime = -1;
  27680. // This is set when a callback is being executed, to prevent re-entrancy.
  27681. var isExecutingCallback = false;
  27682. var isHostCallbackScheduled = false;
  27683. var hasNativePerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
  27684. function ensureHostCallbackIsScheduled() {
  27685. if (isExecutingCallback) {
  27686. // Don't schedule work yet; wait until the next time we yield.
  27687. return;
  27688. }
  27689. // Schedule the host callback using the earliest expiration in the list.
  27690. var expirationTime = firstCallbackNode.expirationTime;
  27691. if (!isHostCallbackScheduled) {
  27692. isHostCallbackScheduled = true;
  27693. } else {
  27694. // Cancel the existing host callback.
  27695. cancelHostCallback();
  27696. }
  27697. requestHostCallback(flushWork, expirationTime);
  27698. }
  27699. function flushFirstCallback() {
  27700. var flushedNode = firstCallbackNode;
  27701. // Remove the node from the list before calling the callback. That way the
  27702. // list is in a consistent state even if the callback throws.
  27703. var next = firstCallbackNode.next;
  27704. if (firstCallbackNode === next) {
  27705. // This is the last callback in the list.
  27706. firstCallbackNode = null;
  27707. next = null;
  27708. } else {
  27709. var lastCallbackNode = firstCallbackNode.previous;
  27710. firstCallbackNode = lastCallbackNode.next = next;
  27711. next.previous = lastCallbackNode;
  27712. }
  27713. flushedNode.next = flushedNode.previous = null;
  27714. // Now it's safe to call the callback.
  27715. var callback = flushedNode.callback;
  27716. var expirationTime = flushedNode.expirationTime;
  27717. var priorityLevel = flushedNode.priorityLevel;
  27718. var previousPriorityLevel = currentPriorityLevel;
  27719. var previousExpirationTime = currentExpirationTime;
  27720. currentPriorityLevel = priorityLevel;
  27721. currentExpirationTime = expirationTime;
  27722. var continuationCallback;
  27723. try {
  27724. continuationCallback = callback();
  27725. } finally {
  27726. currentPriorityLevel = previousPriorityLevel;
  27727. currentExpirationTime = previousExpirationTime;
  27728. }
  27729. // A callback may return a continuation. The continuation should be scheduled
  27730. // with the same priority and expiration as the just-finished callback.
  27731. if (typeof continuationCallback === 'function') {
  27732. var continuationNode = {
  27733. callback: continuationCallback,
  27734. priorityLevel: priorityLevel,
  27735. expirationTime: expirationTime,
  27736. next: null,
  27737. previous: null
  27738. };
  27739. // Insert the new callback into the list, sorted by its expiration. This is
  27740. // almost the same as the code in `scheduleCallback`, except the callback
  27741. // is inserted into the list *before* callbacks of equal expiration instead
  27742. // of after.
  27743. if (firstCallbackNode === null) {
  27744. // This is the first callback in the list.
  27745. firstCallbackNode = continuationNode.next = continuationNode.previous = continuationNode;
  27746. } else {
  27747. var nextAfterContinuation = null;
  27748. var node = firstCallbackNode;
  27749. do {
  27750. if (node.expirationTime >= expirationTime) {
  27751. // This callback expires at or after the continuation. We will insert
  27752. // the continuation *before* this callback.
  27753. nextAfterContinuation = node;
  27754. break;
  27755. }
  27756. node = node.next;
  27757. } while (node !== firstCallbackNode);
  27758. if (nextAfterContinuation === null) {
  27759. // No equal or lower priority callback was found, which means the new
  27760. // callback is the lowest priority callback in the list.
  27761. nextAfterContinuation = firstCallbackNode;
  27762. } else if (nextAfterContinuation === firstCallbackNode) {
  27763. // The new callback is the highest priority callback in the list.
  27764. firstCallbackNode = continuationNode;
  27765. ensureHostCallbackIsScheduled();
  27766. }
  27767. var previous = nextAfterContinuation.previous;
  27768. previous.next = nextAfterContinuation.previous = continuationNode;
  27769. continuationNode.next = nextAfterContinuation;
  27770. continuationNode.previous = previous;
  27771. }
  27772. }
  27773. }
  27774. function flushImmediateWork() {
  27775. if (
  27776. // Confirm we've exited the outer most event handler
  27777. currentEventStartTime === -1 && firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority) {
  27778. isExecutingCallback = true;
  27779. try {
  27780. do {
  27781. flushFirstCallback();
  27782. } while (
  27783. // Keep flushing until there are no more immediate callbacks
  27784. firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority);
  27785. } finally {
  27786. isExecutingCallback = false;
  27787. if (firstCallbackNode !== null) {
  27788. // There's still work remaining. Request another callback.
  27789. ensureHostCallbackIsScheduled();
  27790. } else {
  27791. isHostCallbackScheduled = false;
  27792. }
  27793. }
  27794. }
  27795. }
  27796. function flushWork(didTimeout) {
  27797. isExecutingCallback = true;
  27798. var previousDidTimeout = currentDidTimeout;
  27799. currentDidTimeout = didTimeout;
  27800. try {
  27801. if (didTimeout) {
  27802. // Flush all the expired callbacks without yielding.
  27803. while (firstCallbackNode !== null) {
  27804. // Read the current time. Flush all the callbacks that expire at or
  27805. // earlier than that time. Then read the current time again and repeat.
  27806. // This optimizes for as few performance.now calls as possible.
  27807. var currentTime = exports.unstable_now();
  27808. if (firstCallbackNode.expirationTime <= currentTime) {
  27809. do {
  27810. flushFirstCallback();
  27811. } while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime);
  27812. continue;
  27813. }
  27814. break;
  27815. }
  27816. } else {
  27817. // Keep flushing callbacks until we run out of time in the frame.
  27818. if (firstCallbackNode !== null) {
  27819. do {
  27820. flushFirstCallback();
  27821. } while (firstCallbackNode !== null && !shouldYieldToHost());
  27822. }
  27823. }
  27824. } finally {
  27825. isExecutingCallback = false;
  27826. currentDidTimeout = previousDidTimeout;
  27827. if (firstCallbackNode !== null) {
  27828. // There's still work remaining. Request another callback.
  27829. ensureHostCallbackIsScheduled();
  27830. } else {
  27831. isHostCallbackScheduled = false;
  27832. }
  27833. // Before exiting, flush all the immediate work that was scheduled.
  27834. flushImmediateWork();
  27835. }
  27836. }
  27837. function unstable_runWithPriority(priorityLevel, eventHandler) {
  27838. switch (priorityLevel) {
  27839. case ImmediatePriority:
  27840. case UserBlockingPriority:
  27841. case NormalPriority:
  27842. case LowPriority:
  27843. case IdlePriority:
  27844. break;
  27845. default:
  27846. priorityLevel = NormalPriority;
  27847. }
  27848. var previousPriorityLevel = currentPriorityLevel;
  27849. var previousEventStartTime = currentEventStartTime;
  27850. currentPriorityLevel = priorityLevel;
  27851. currentEventStartTime = exports.unstable_now();
  27852. try {
  27853. return eventHandler();
  27854. } finally {
  27855. currentPriorityLevel = previousPriorityLevel;
  27856. currentEventStartTime = previousEventStartTime;
  27857. // Before exiting, flush all the immediate work that was scheduled.
  27858. flushImmediateWork();
  27859. }
  27860. }
  27861. function unstable_wrapCallback(callback) {
  27862. var parentPriorityLevel = currentPriorityLevel;
  27863. return function () {
  27864. // This is a fork of runWithPriority, inlined for performance.
  27865. var previousPriorityLevel = currentPriorityLevel;
  27866. var previousEventStartTime = currentEventStartTime;
  27867. currentPriorityLevel = parentPriorityLevel;
  27868. currentEventStartTime = exports.unstable_now();
  27869. try {
  27870. return callback.apply(this, arguments);
  27871. } finally {
  27872. currentPriorityLevel = previousPriorityLevel;
  27873. currentEventStartTime = previousEventStartTime;
  27874. flushImmediateWork();
  27875. }
  27876. };
  27877. }
  27878. function unstable_scheduleCallback(callback, deprecated_options) {
  27879. var startTime = currentEventStartTime !== -1 ? currentEventStartTime : exports.unstable_now();
  27880. var expirationTime;
  27881. if (typeof deprecated_options === 'object' && deprecated_options !== null && typeof deprecated_options.timeout === 'number') {
  27882. // FIXME: Remove this branch once we lift expiration times out of React.
  27883. expirationTime = startTime + deprecated_options.timeout;
  27884. } else {
  27885. switch (currentPriorityLevel) {
  27886. case ImmediatePriority:
  27887. expirationTime = startTime + IMMEDIATE_PRIORITY_TIMEOUT;
  27888. break;
  27889. case UserBlockingPriority:
  27890. expirationTime = startTime + USER_BLOCKING_PRIORITY;
  27891. break;
  27892. case IdlePriority:
  27893. expirationTime = startTime + IDLE_PRIORITY;
  27894. break;
  27895. case LowPriority:
  27896. expirationTime = startTime + LOW_PRIORITY_TIMEOUT;
  27897. break;
  27898. case NormalPriority:
  27899. default:
  27900. expirationTime = startTime + NORMAL_PRIORITY_TIMEOUT;
  27901. }
  27902. }
  27903. var newNode = {
  27904. callback: callback,
  27905. priorityLevel: currentPriorityLevel,
  27906. expirationTime: expirationTime,
  27907. next: null,
  27908. previous: null
  27909. };
  27910. // Insert the new callback into the list, ordered first by expiration, then
  27911. // by insertion. So the new callback is inserted any other callback with
  27912. // equal expiration.
  27913. if (firstCallbackNode === null) {
  27914. // This is the first callback in the list.
  27915. firstCallbackNode = newNode.next = newNode.previous = newNode;
  27916. ensureHostCallbackIsScheduled();
  27917. } else {
  27918. var next = null;
  27919. var node = firstCallbackNode;
  27920. do {
  27921. if (node.expirationTime > expirationTime) {
  27922. // The new callback expires before this one.
  27923. next = node;
  27924. break;
  27925. }
  27926. node = node.next;
  27927. } while (node !== firstCallbackNode);
  27928. if (next === null) {
  27929. // No callback with a later expiration was found, which means the new
  27930. // callback has the latest expiration in the list.
  27931. next = firstCallbackNode;
  27932. } else if (next === firstCallbackNode) {
  27933. // The new callback has the earliest expiration in the entire list.
  27934. firstCallbackNode = newNode;
  27935. ensureHostCallbackIsScheduled();
  27936. }
  27937. var previous = next.previous;
  27938. previous.next = next.previous = newNode;
  27939. newNode.next = next;
  27940. newNode.previous = previous;
  27941. }
  27942. return newNode;
  27943. }
  27944. function unstable_cancelCallback(callbackNode) {
  27945. var next = callbackNode.next;
  27946. if (next === null) {
  27947. // Already cancelled.
  27948. return;
  27949. }
  27950. if (next === callbackNode) {
  27951. // This is the only scheduled callback. Clear the list.
  27952. firstCallbackNode = null;
  27953. } else {
  27954. // Remove the callback from its position in the list.
  27955. if (callbackNode === firstCallbackNode) {
  27956. firstCallbackNode = next;
  27957. }
  27958. var previous = callbackNode.previous;
  27959. previous.next = next;
  27960. next.previous = previous;
  27961. }
  27962. callbackNode.next = callbackNode.previous = null;
  27963. }
  27964. function unstable_getCurrentPriorityLevel() {
  27965. return currentPriorityLevel;
  27966. }
  27967. function unstable_shouldYield() {
  27968. return !currentDidTimeout && (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime || shouldYieldToHost());
  27969. }
  27970. // The remaining code is essentially a polyfill for requestIdleCallback. It
  27971. // works by scheduling a requestAnimationFrame, storing the time for the start
  27972. // of the frame, then scheduling a postMessage which gets scheduled after paint.
  27973. // Within the postMessage handler do as much work as possible until time + frame
  27974. // rate. By separating the idle call into a separate event tick we ensure that
  27975. // layout, paint and other browser work is counted against the available time.
  27976. // The frame rate is dynamically adjusted.
  27977. // We capture a local reference to any global, in case it gets polyfilled after
  27978. // this module is initially evaluated. We want to be using a
  27979. // consistent implementation.
  27980. var localDate = Date;
  27981. // This initialization code may run even on server environments if a component
  27982. // just imports ReactDOM (e.g. for findDOMNode). Some environments might not
  27983. // have setTimeout or clearTimeout. However, we always expect them to be defined
  27984. // on the client. https://github.com/facebook/react/pull/13088
  27985. var localSetTimeout = typeof setTimeout === 'function' ? setTimeout : undefined;
  27986. var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : undefined;
  27987. // We don't expect either of these to necessarily be defined, but we will error
  27988. // later if they are missing on the client.
  27989. var localRequestAnimationFrame = typeof requestAnimationFrame === 'function' ? requestAnimationFrame : undefined;
  27990. var localCancelAnimationFrame = typeof cancelAnimationFrame === 'function' ? cancelAnimationFrame : undefined;
  27991. // requestAnimationFrame does not run when the tab is in the background. If
  27992. // we're backgrounded we prefer for that work to happen so that the page
  27993. // continues to load in the background. So we also schedule a 'setTimeout' as
  27994. // a fallback.
  27995. // TODO: Need a better heuristic for backgrounded work.
  27996. var ANIMATION_FRAME_TIMEOUT = 100;
  27997. var rAFID;
  27998. var rAFTimeoutID;
  27999. var requestAnimationFrameWithTimeout = function (callback) {
  28000. // schedule rAF and also a setTimeout
  28001. rAFID = localRequestAnimationFrame(function (timestamp) {
  28002. // cancel the setTimeout
  28003. localClearTimeout(rAFTimeoutID);
  28004. callback(timestamp);
  28005. });
  28006. rAFTimeoutID = localSetTimeout(function () {
  28007. // cancel the requestAnimationFrame
  28008. localCancelAnimationFrame(rAFID);
  28009. callback(exports.unstable_now());
  28010. }, ANIMATION_FRAME_TIMEOUT);
  28011. };
  28012. if (hasNativePerformanceNow) {
  28013. var Performance = performance;
  28014. exports.unstable_now = function () {
  28015. return Performance.now();
  28016. };
  28017. } else {
  28018. exports.unstable_now = function () {
  28019. return localDate.now();
  28020. };
  28021. }
  28022. var requestHostCallback;
  28023. var cancelHostCallback;
  28024. var shouldYieldToHost;
  28025. var globalValue = null;
  28026. if (typeof window !== 'undefined') {
  28027. globalValue = window;
  28028. } else if (typeof global !== 'undefined') {
  28029. globalValue = global;
  28030. }
  28031. if (globalValue && globalValue._schedMock) {
  28032. // Dynamic injection, only for testing purposes.
  28033. var globalImpl = globalValue._schedMock;
  28034. requestHostCallback = globalImpl[0];
  28035. cancelHostCallback = globalImpl[1];
  28036. shouldYieldToHost = globalImpl[2];
  28037. exports.unstable_now = globalImpl[3];
  28038. } else if (
  28039. // If Scheduler runs in a non-DOM environment, it falls back to a naive
  28040. // implementation using setTimeout.
  28041. typeof window === 'undefined' ||
  28042. // Check if MessageChannel is supported, too.
  28043. typeof MessageChannel !== 'function') {
  28044. // If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
  28045. // fallback to a naive implementation.
  28046. var _callback = null;
  28047. var _flushCallback = function (didTimeout) {
  28048. if (_callback !== null) {
  28049. try {
  28050. _callback(didTimeout);
  28051. } finally {
  28052. _callback = null;
  28053. }
  28054. }
  28055. };
  28056. requestHostCallback = function (cb, ms) {
  28057. if (_callback !== null) {
  28058. // Protect against re-entrancy.
  28059. setTimeout(requestHostCallback, 0, cb);
  28060. } else {
  28061. _callback = cb;
  28062. setTimeout(_flushCallback, 0, false);
  28063. }
  28064. };
  28065. cancelHostCallback = function () {
  28066. _callback = null;
  28067. };
  28068. shouldYieldToHost = function () {
  28069. return false;
  28070. };
  28071. } else {
  28072. if (typeof console !== 'undefined') {
  28073. // TODO: Remove fb.me link
  28074. if (typeof localRequestAnimationFrame !== 'function') {
  28075. console.error("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
  28076. }
  28077. if (typeof localCancelAnimationFrame !== 'function') {
  28078. console.error("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
  28079. }
  28080. }
  28081. var scheduledHostCallback = null;
  28082. var isMessageEventScheduled = false;
  28083. var timeoutTime = -1;
  28084. var isAnimationFrameScheduled = false;
  28085. var isFlushingHostCallback = false;
  28086. var frameDeadline = 0;
  28087. // We start out assuming that we run at 30fps but then the heuristic tracking
  28088. // will adjust this value to a faster fps if we get more frequent animation
  28089. // frames.
  28090. var previousFrameTime = 33;
  28091. var activeFrameTime = 33;
  28092. shouldYieldToHost = function () {
  28093. return frameDeadline <= exports.unstable_now();
  28094. };
  28095. // We use the postMessage trick to defer idle work until after the repaint.
  28096. var channel = new MessageChannel();
  28097. var port = channel.port2;
  28098. channel.port1.onmessage = function (event) {
  28099. isMessageEventScheduled = false;
  28100. var prevScheduledCallback = scheduledHostCallback;
  28101. var prevTimeoutTime = timeoutTime;
  28102. scheduledHostCallback = null;
  28103. timeoutTime = -1;
  28104. var currentTime = exports.unstable_now();
  28105. var didTimeout = false;
  28106. if (frameDeadline - currentTime <= 0) {
  28107. // There's no time left in this idle period. Check if the callback has
  28108. // a timeout and whether it's been exceeded.
  28109. if (prevTimeoutTime !== -1 && prevTimeoutTime <= currentTime) {
  28110. // Exceeded the timeout. Invoke the callback even though there's no
  28111. // time left.
  28112. didTimeout = true;
  28113. } else {
  28114. // No timeout.
  28115. if (!isAnimationFrameScheduled) {
  28116. // Schedule another animation callback so we retry later.
  28117. isAnimationFrameScheduled = true;
  28118. requestAnimationFrameWithTimeout(animationTick);
  28119. }
  28120. // Exit without invoking the callback.
  28121. scheduledHostCallback = prevScheduledCallback;
  28122. timeoutTime = prevTimeoutTime;
  28123. return;
  28124. }
  28125. }
  28126. if (prevScheduledCallback !== null) {
  28127. isFlushingHostCallback = true;
  28128. try {
  28129. prevScheduledCallback(didTimeout);
  28130. } finally {
  28131. isFlushingHostCallback = false;
  28132. }
  28133. }
  28134. };
  28135. var animationTick = function (rafTime) {
  28136. if (scheduledHostCallback !== null) {
  28137. // Eagerly schedule the next animation callback at the beginning of the
  28138. // frame. If the scheduler queue is not empty at the end of the frame, it
  28139. // will continue flushing inside that callback. If the queue *is* empty,
  28140. // then it will exit immediately. Posting the callback at the start of the
  28141. // frame ensures it's fired within the earliest possible frame. If we
  28142. // waited until the end of the frame to post the callback, we risk the
  28143. // browser skipping a frame and not firing the callback until the frame
  28144. // after that.
  28145. requestAnimationFrameWithTimeout(animationTick);
  28146. } else {
  28147. // No pending work. Exit.
  28148. isAnimationFrameScheduled = false;
  28149. return;
  28150. }
  28151. var nextFrameTime = rafTime - frameDeadline + activeFrameTime;
  28152. if (nextFrameTime < activeFrameTime && previousFrameTime < activeFrameTime) {
  28153. if (nextFrameTime < 8) {
  28154. // Defensive coding. We don't support higher frame rates than 120hz.
  28155. // If the calculated frame time gets lower than 8, it is probably a bug.
  28156. nextFrameTime = 8;
  28157. }
  28158. // If one frame goes long, then the next one can be short to catch up.
  28159. // If two frames are short in a row, then that's an indication that we
  28160. // actually have a higher frame rate than what we're currently optimizing.
  28161. // We adjust our heuristic dynamically accordingly. For example, if we're
  28162. // running on 120hz display or 90hz VR display.
  28163. // Take the max of the two in case one of them was an anomaly due to
  28164. // missed frame deadlines.
  28165. activeFrameTime = nextFrameTime < previousFrameTime ? previousFrameTime : nextFrameTime;
  28166. } else {
  28167. previousFrameTime = nextFrameTime;
  28168. }
  28169. frameDeadline = rafTime + activeFrameTime;
  28170. if (!isMessageEventScheduled) {
  28171. isMessageEventScheduled = true;
  28172. port.postMessage(undefined);
  28173. }
  28174. };
  28175. requestHostCallback = function (callback, absoluteTimeout) {
  28176. scheduledHostCallback = callback;
  28177. timeoutTime = absoluteTimeout;
  28178. if (isFlushingHostCallback || absoluteTimeout < 0) {
  28179. // Don't wait for the next frame. Continue working ASAP, in a new event.
  28180. port.postMessage(undefined);
  28181. } else if (!isAnimationFrameScheduled) {
  28182. // If rAF didn't already schedule one, we need to schedule a frame.
  28183. // TODO: If this rAF doesn't materialize because the browser throttles, we
  28184. // might want to still have setTimeout trigger rIC as a backup to ensure
  28185. // that we keep performing work.
  28186. isAnimationFrameScheduled = true;
  28187. requestAnimationFrameWithTimeout(animationTick);
  28188. }
  28189. };
  28190. cancelHostCallback = function () {
  28191. scheduledHostCallback = null;
  28192. isMessageEventScheduled = false;
  28193. timeoutTime = -1;
  28194. };
  28195. }
  28196. exports.unstable_ImmediatePriority = ImmediatePriority;
  28197. exports.unstable_UserBlockingPriority = UserBlockingPriority;
  28198. exports.unstable_NormalPriority = NormalPriority;
  28199. exports.unstable_IdlePriority = IdlePriority;
  28200. exports.unstable_LowPriority = LowPriority;
  28201. exports.unstable_runWithPriority = unstable_runWithPriority;
  28202. exports.unstable_scheduleCallback = unstable_scheduleCallback;
  28203. exports.unstable_cancelCallback = unstable_cancelCallback;
  28204. exports.unstable_wrapCallback = unstable_wrapCallback;
  28205. exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
  28206. exports.unstable_shouldYield = unstable_shouldYield;
  28207. })();
  28208. }
  28209. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
  28210. /***/ }),
  28211. /***/ "../../node_modules/scheduler/index.js":
  28212. /*!***********************************************************!*\
  28213. !*** D:/Repos/Babylon.js/node_modules/scheduler/index.js ***!
  28214. \***********************************************************/
  28215. /*! no static exports found */
  28216. /***/ (function(module, exports, __webpack_require__) {
  28217. "use strict";
  28218. if (false) {} else {
  28219. module.exports = __webpack_require__(/*! ./cjs/scheduler.development.js */ "../../node_modules/scheduler/cjs/scheduler.development.js");
  28220. }
  28221. /***/ }),
  28222. /***/ "../../node_modules/scheduler/tracing.js":
  28223. /*!*************************************************************!*\
  28224. !*** D:/Repos/Babylon.js/node_modules/scheduler/tracing.js ***!
  28225. \*************************************************************/
  28226. /*! no static exports found */
  28227. /***/ (function(module, exports, __webpack_require__) {
  28228. "use strict";
  28229. if (false) {} else {
  28230. module.exports = __webpack_require__(/*! ./cjs/scheduler-tracing.development.js */ "../../node_modules/scheduler/cjs/scheduler-tracing.development.js");
  28231. }
  28232. /***/ }),
  28233. /***/ "../../node_modules/split.js/dist/split.es.js":
  28234. /*!******************************************************************!*\
  28235. !*** D:/Repos/Babylon.js/node_modules/split.js/dist/split.es.js ***!
  28236. \******************************************************************/
  28237. /*! exports provided: default */
  28238. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  28239. "use strict";
  28240. __webpack_require__.r(__webpack_exports__);
  28241. // The programming goals of Split.js are to deliver readable, understandable and
  28242. // maintainable code, while at the same time manually optimizing for tiny minified file size,
  28243. // browser compatibility without additional requirements, graceful fallback (IE8 is supported)
  28244. // and very few assumptions about the user's page layout.
  28245. var global = window;
  28246. var document = global.document;
  28247. // Save a couple long function names that are used frequently.
  28248. // This optimization saves around 400 bytes.
  28249. var addEventListener = 'addEventListener';
  28250. var removeEventListener = 'removeEventListener';
  28251. var getBoundingClientRect = 'getBoundingClientRect';
  28252. var gutterStartDragging = '_a';
  28253. var aGutterSize = '_b';
  28254. var bGutterSize = '_c';
  28255. var HORIZONTAL = 'horizontal';
  28256. var NOOP = function () { return false; };
  28257. // Figure out if we're in IE8 or not. IE8 will still render correctly,
  28258. // but will be static instead of draggable.
  28259. var isIE8 = global.attachEvent && !global[addEventListener];
  28260. // Helper function determines which prefixes of CSS calc we need.
  28261. // We only need to do this once on startup, when this anonymous function is called.
  28262. //
  28263. // Tests -webkit, -moz and -o prefixes. Modified from StackOverflow:
  28264. // http://stackoverflow.com/questions/16625140/js-feature-detection-to-detect-the-usage-of-webkit-calc-over-calc/16625167#16625167
  28265. var calc = (['', '-webkit-', '-moz-', '-o-']
  28266. .filter(function (prefix) {
  28267. var el = document.createElement('div');
  28268. el.style.cssText = "width:" + prefix + "calc(9px)";
  28269. return !!el.style.length
  28270. })
  28271. .shift()) + "calc";
  28272. // Helper function checks if its argument is a string-like type
  28273. var isString = function (v) { return typeof v === 'string' || v instanceof String; };
  28274. // Helper function allows elements and string selectors to be used
  28275. // interchangeably. In either case an element is returned. This allows us to
  28276. // do `Split([elem1, elem2])` as well as `Split(['#id1', '#id2'])`.
  28277. var elementOrSelector = function (el) {
  28278. if (isString(el)) {
  28279. var ele = document.querySelector(el);
  28280. if (!ele) {
  28281. throw new Error(("Selector " + el + " did not match a DOM element"))
  28282. }
  28283. return ele
  28284. }
  28285. return el
  28286. };
  28287. // Helper function gets a property from the properties object, with a default fallback
  28288. var getOption = function (options, propName, def) {
  28289. var value = options[propName];
  28290. if (value !== undefined) {
  28291. return value
  28292. }
  28293. return def
  28294. };
  28295. var getGutterSize = function (gutterSize, isFirst, isLast, gutterAlign) {
  28296. if (isFirst) {
  28297. if (gutterAlign === 'end') {
  28298. return 0
  28299. }
  28300. if (gutterAlign === 'center') {
  28301. return gutterSize / 2
  28302. }
  28303. } else if (isLast) {
  28304. if (gutterAlign === 'start') {
  28305. return 0
  28306. }
  28307. if (gutterAlign === 'center') {
  28308. return gutterSize / 2
  28309. }
  28310. }
  28311. return gutterSize
  28312. };
  28313. // Default options
  28314. var defaultGutterFn = function (i, gutterDirection) {
  28315. var gut = document.createElement('div');
  28316. gut.className = "gutter gutter-" + gutterDirection;
  28317. return gut
  28318. };
  28319. var defaultElementStyleFn = function (dim, size, gutSize) {
  28320. var style = {};
  28321. if (!isString(size)) {
  28322. if (!isIE8) {
  28323. style[dim] = calc + "(" + size + "% - " + gutSize + "px)";
  28324. } else {
  28325. style[dim] = size + "%";
  28326. }
  28327. } else {
  28328. style[dim] = size;
  28329. }
  28330. return style
  28331. };
  28332. var defaultGutterStyleFn = function (dim, gutSize) {
  28333. var obj;
  28334. return (( obj = {}, obj[dim] = (gutSize + "px"), obj ));
  28335. };
  28336. // The main function to initialize a split. Split.js thinks about each pair
  28337. // of elements as an independant pair. Dragging the gutter between two elements
  28338. // only changes the dimensions of elements in that pair. This is key to understanding
  28339. // how the following functions operate, since each function is bound to a pair.
  28340. //
  28341. // A pair object is shaped like this:
  28342. //
  28343. // {
  28344. // a: DOM element,
  28345. // b: DOM element,
  28346. // aMin: Number,
  28347. // bMin: Number,
  28348. // dragging: Boolean,
  28349. // parent: DOM element,
  28350. // direction: 'horizontal' | 'vertical'
  28351. // }
  28352. //
  28353. // The basic sequence:
  28354. //
  28355. // 1. Set defaults to something sane. `options` doesn't have to be passed at all.
  28356. // 2. Initialize a bunch of strings based on the direction we're splitting.
  28357. // A lot of the behavior in the rest of the library is paramatized down to
  28358. // rely on CSS strings and classes.
  28359. // 3. Define the dragging helper functions, and a few helpers to go with them.
  28360. // 4. Loop through the elements while pairing them off. Every pair gets an
  28361. // `pair` object and a gutter.
  28362. // 5. Actually size the pair elements, insert gutters and attach event listeners.
  28363. var Split = function (idsOption, options) {
  28364. if ( options === void 0 ) options = {};
  28365. var ids = idsOption;
  28366. var dimension;
  28367. var clientAxis;
  28368. var position;
  28369. var positionEnd;
  28370. var clientSize;
  28371. var elements;
  28372. // Allow HTMLCollection to be used as an argument when supported
  28373. if (Array.from) {
  28374. ids = Array.from(ids);
  28375. }
  28376. // All DOM elements in the split should have a common parent. We can grab
  28377. // the first elements parent and hope users read the docs because the
  28378. // behavior will be whacky otherwise.
  28379. var firstElement = elementOrSelector(ids[0]);
  28380. var parent = firstElement.parentNode;
  28381. var parentStyle = getComputedStyle ? getComputedStyle(parent) : null;
  28382. var parentFlexDirection = parentStyle ? parentStyle.flexDirection : null;
  28383. // Set default options.sizes to equal percentages of the parent element.
  28384. var sizes = getOption(options, 'sizes') || ids.map(function () { return 100 / ids.length; });
  28385. // Standardize minSize to an array if it isn't already. This allows minSize
  28386. // to be passed as a number.
  28387. var minSize = getOption(options, 'minSize', 100);
  28388. var minSizes = Array.isArray(minSize) ? minSize : ids.map(function () { return minSize; });
  28389. // Get other options
  28390. var expandToMin = getOption(options, 'expandToMin', false);
  28391. var gutterSize = getOption(options, 'gutterSize', 10);
  28392. var gutterAlign = getOption(options, 'gutterAlign', 'center');
  28393. var snapOffset = getOption(options, 'snapOffset', 30);
  28394. var dragInterval = getOption(options, 'dragInterval', 1);
  28395. var direction = getOption(options, 'direction', HORIZONTAL);
  28396. var cursor = getOption(
  28397. options,
  28398. 'cursor',
  28399. direction === HORIZONTAL ? 'col-resize' : 'row-resize'
  28400. );
  28401. var gutter = getOption(options, 'gutter', defaultGutterFn);
  28402. var elementStyle = getOption(
  28403. options,
  28404. 'elementStyle',
  28405. defaultElementStyleFn
  28406. );
  28407. var gutterStyle = getOption(options, 'gutterStyle', defaultGutterStyleFn);
  28408. // 2. Initialize a bunch of strings based on the direction we're splitting.
  28409. // A lot of the behavior in the rest of the library is paramatized down to
  28410. // rely on CSS strings and classes.
  28411. if (direction === HORIZONTAL) {
  28412. dimension = 'width';
  28413. clientAxis = 'clientX';
  28414. position = 'left';
  28415. positionEnd = 'right';
  28416. clientSize = 'clientWidth';
  28417. } else if (direction === 'vertical') {
  28418. dimension = 'height';
  28419. clientAxis = 'clientY';
  28420. position = 'top';
  28421. positionEnd = 'bottom';
  28422. clientSize = 'clientHeight';
  28423. }
  28424. // 3. Define the dragging helper functions, and a few helpers to go with them.
  28425. // Each helper is bound to a pair object that contains its metadata. This
  28426. // also makes it easy to store references to listeners that that will be
  28427. // added and removed.
  28428. //
  28429. // Even though there are no other functions contained in them, aliasing
  28430. // this to self saves 50 bytes or so since it's used so frequently.
  28431. //
  28432. // The pair object saves metadata like dragging state, position and
  28433. // event listener references.
  28434. function setElementSize(el, size, gutSize, i) {
  28435. // Split.js allows setting sizes via numbers (ideally), or if you must,
  28436. // by string, like '300px'. This is less than ideal, because it breaks
  28437. // the fluid layout that `calc(% - px)` provides. You're on your own if you do that,
  28438. // make sure you calculate the gutter size by hand.
  28439. var style = elementStyle(dimension, size, gutSize, i);
  28440. Object.keys(style).forEach(function (prop) {
  28441. // eslint-disable-next-line no-param-reassign
  28442. el.style[prop] = style[prop];
  28443. });
  28444. }
  28445. function setGutterSize(gutterElement, gutSize, i) {
  28446. var style = gutterStyle(dimension, gutSize, i);
  28447. Object.keys(style).forEach(function (prop) {
  28448. // eslint-disable-next-line no-param-reassign
  28449. gutterElement.style[prop] = style[prop];
  28450. });
  28451. }
  28452. function getSizes() {
  28453. return elements.map(function (element) { return element.size; })
  28454. }
  28455. // Supports touch events, but not multitouch, so only the first
  28456. // finger `touches[0]` is counted.
  28457. function getMousePosition(e) {
  28458. if ('touches' in e) { return e.touches[0][clientAxis] }
  28459. return e[clientAxis]
  28460. }
  28461. // Actually adjust the size of elements `a` and `b` to `offset` while dragging.
  28462. // calc is used to allow calc(percentage + gutterpx) on the whole split instance,
  28463. // which allows the viewport to be resized without additional logic.
  28464. // Element a's size is the same as offset. b's size is total size - a size.
  28465. // Both sizes are calculated from the initial parent percentage,
  28466. // then the gutter size is subtracted.
  28467. function adjust(offset) {
  28468. var a = elements[this.a];
  28469. var b = elements[this.b];
  28470. var percentage = a.size + b.size;
  28471. a.size = (offset / this.size) * percentage;
  28472. b.size = percentage - (offset / this.size) * percentage;
  28473. setElementSize(a.element, a.size, this[aGutterSize], a.i);
  28474. setElementSize(b.element, b.size, this[bGutterSize], b.i);
  28475. }
  28476. // drag, where all the magic happens. The logic is really quite simple:
  28477. //
  28478. // 1. Ignore if the pair is not dragging.
  28479. // 2. Get the offset of the event.
  28480. // 3. Snap offset to min if within snappable range (within min + snapOffset).
  28481. // 4. Actually adjust each element in the pair to offset.
  28482. //
  28483. // ---------------------------------------------------------------------
  28484. // | | <- a.minSize || b.minSize -> | |
  28485. // | | | <- this.snapOffset || this.snapOffset -> | | |
  28486. // | | | || | | |
  28487. // | | | || | | |
  28488. // ---------------------------------------------------------------------
  28489. // | <- this.start this.size -> |
  28490. function drag(e) {
  28491. var offset;
  28492. var a = elements[this.a];
  28493. var b = elements[this.b];
  28494. if (!this.dragging) { return }
  28495. // Get the offset of the event from the first side of the
  28496. // pair `this.start`. Then offset by the initial position of the
  28497. // mouse compared to the gutter size.
  28498. offset =
  28499. getMousePosition(e) -
  28500. this.start +
  28501. (this[aGutterSize] - this.dragOffset);
  28502. if (dragInterval > 1) {
  28503. offset = Math.round(offset / dragInterval) * dragInterval;
  28504. }
  28505. // If within snapOffset of min or max, set offset to min or max.
  28506. // snapOffset buffers a.minSize and b.minSize, so logic is opposite for both.
  28507. // Include the appropriate gutter sizes to prevent overflows.
  28508. if (offset <= a.minSize + snapOffset + this[aGutterSize]) {
  28509. offset = a.minSize + this[aGutterSize];
  28510. } else if (
  28511. offset >=
  28512. this.size - (b.minSize + snapOffset + this[bGutterSize])
  28513. ) {
  28514. offset = this.size - (b.minSize + this[bGutterSize]);
  28515. }
  28516. // Actually adjust the size.
  28517. adjust.call(this, offset);
  28518. // Call the drag callback continously. Don't do anything too intensive
  28519. // in this callback.
  28520. getOption(options, 'onDrag', NOOP)();
  28521. }
  28522. // Cache some important sizes when drag starts, so we don't have to do that
  28523. // continously:
  28524. //
  28525. // `size`: The total size of the pair. First + second + first gutter + second gutter.
  28526. // `start`: The leading side of the first element.
  28527. //
  28528. // ------------------------------------------------
  28529. // | aGutterSize -> ||| |
  28530. // | ||| |
  28531. // | ||| |
  28532. // | ||| <- bGutterSize |
  28533. // ------------------------------------------------
  28534. // | <- start size -> |
  28535. function calculateSizes() {
  28536. // Figure out the parent size minus padding.
  28537. var a = elements[this.a].element;
  28538. var b = elements[this.b].element;
  28539. var aBounds = a[getBoundingClientRect]();
  28540. var bBounds = b[getBoundingClientRect]();
  28541. this.size =
  28542. aBounds[dimension] +
  28543. bBounds[dimension] +
  28544. this[aGutterSize] +
  28545. this[bGutterSize];
  28546. this.start = aBounds[position];
  28547. this.end = aBounds[positionEnd];
  28548. }
  28549. function innerSize(element) {
  28550. // Return nothing if getComputedStyle is not supported (< IE9)
  28551. // Or if parent element has no layout yet
  28552. if (!getComputedStyle) { return null }
  28553. var computedStyle = getComputedStyle(element);
  28554. if (!computedStyle) { return null }
  28555. var size = element[clientSize];
  28556. if (size === 0) { return null }
  28557. if (direction === HORIZONTAL) {
  28558. size -=
  28559. parseFloat(computedStyle.paddingLeft) +
  28560. parseFloat(computedStyle.paddingRight);
  28561. } else {
  28562. size -=
  28563. parseFloat(computedStyle.paddingTop) +
  28564. parseFloat(computedStyle.paddingBottom);
  28565. }
  28566. return size
  28567. }
  28568. // When specifying percentage sizes that are less than the computed
  28569. // size of the element minus the gutter, the lesser percentages must be increased
  28570. // (and decreased from the other elements) to make space for the pixels
  28571. // subtracted by the gutters.
  28572. function trimToMin(sizesToTrim) {
  28573. // Try to get inner size of parent element.
  28574. // If it's no supported, return original sizes.
  28575. var parentSize = innerSize(parent);
  28576. if (parentSize === null) {
  28577. return sizesToTrim
  28578. }
  28579. if (minSizes.reduce(function (a, b) { return a + b; }, 0) > parentSize) {
  28580. return sizesToTrim
  28581. }
  28582. // Keep track of the excess pixels, the amount of pixels over the desired percentage
  28583. // Also keep track of the elements with pixels to spare, to decrease after if needed
  28584. var excessPixels = 0;
  28585. var toSpare = [];
  28586. var pixelSizes = sizesToTrim.map(function (size, i) {
  28587. // Convert requested percentages to pixel sizes
  28588. var pixelSize = (parentSize * size) / 100;
  28589. var elementGutterSize = getGutterSize(
  28590. gutterSize,
  28591. i === 0,
  28592. i === sizesToTrim.length - 1,
  28593. gutterAlign
  28594. );
  28595. var elementMinSize = minSizes[i] + elementGutterSize;
  28596. // If element is too smal, increase excess pixels by the difference
  28597. // and mark that it has no pixels to spare
  28598. if (pixelSize < elementMinSize) {
  28599. excessPixels += elementMinSize - pixelSize;
  28600. toSpare.push(0);
  28601. return elementMinSize
  28602. }
  28603. // Otherwise, mark the pixels it has to spare and return it's original size
  28604. toSpare.push(pixelSize - elementMinSize);
  28605. return pixelSize
  28606. });
  28607. // If nothing was adjusted, return the original sizes
  28608. if (excessPixels === 0) {
  28609. return sizesToTrim
  28610. }
  28611. return pixelSizes.map(function (pixelSize, i) {
  28612. var newPixelSize = pixelSize;
  28613. // While there's still pixels to take, and there's enough pixels to spare,
  28614. // take as many as possible up to the total excess pixels
  28615. if (excessPixels > 0 && toSpare[i] - excessPixels > 0) {
  28616. var takenPixels = Math.min(
  28617. excessPixels,
  28618. toSpare[i] - excessPixels
  28619. );
  28620. // Subtract the amount taken for the next iteration
  28621. excessPixels -= takenPixels;
  28622. newPixelSize = pixelSize - takenPixels;
  28623. }
  28624. // Return the pixel size adjusted as a percentage
  28625. return (newPixelSize / parentSize) * 100
  28626. })
  28627. }
  28628. // stopDragging is very similar to startDragging in reverse.
  28629. function stopDragging() {
  28630. var self = this;
  28631. var a = elements[self.a].element;
  28632. var b = elements[self.b].element;
  28633. if (self.dragging) {
  28634. getOption(options, 'onDragEnd', NOOP)(getSizes());
  28635. }
  28636. self.dragging = false;
  28637. // Remove the stored event listeners. This is why we store them.
  28638. global[removeEventListener]('mouseup', self.stop);
  28639. global[removeEventListener]('touchend', self.stop);
  28640. global[removeEventListener]('touchcancel', self.stop);
  28641. global[removeEventListener]('mousemove', self.move);
  28642. global[removeEventListener]('touchmove', self.move);
  28643. // Clear bound function references
  28644. self.stop = null;
  28645. self.move = null;
  28646. a[removeEventListener]('selectstart', NOOP);
  28647. a[removeEventListener]('dragstart', NOOP);
  28648. b[removeEventListener]('selectstart', NOOP);
  28649. b[removeEventListener]('dragstart', NOOP);
  28650. a.style.userSelect = '';
  28651. a.style.webkitUserSelect = '';
  28652. a.style.MozUserSelect = '';
  28653. a.style.pointerEvents = '';
  28654. b.style.userSelect = '';
  28655. b.style.webkitUserSelect = '';
  28656. b.style.MozUserSelect = '';
  28657. b.style.pointerEvents = '';
  28658. self.gutter.style.cursor = '';
  28659. self.parent.style.cursor = '';
  28660. document.body.style.cursor = '';
  28661. }
  28662. // startDragging calls `calculateSizes` to store the inital size in the pair object.
  28663. // It also adds event listeners for mouse/touch events,
  28664. // and prevents selection while dragging so avoid the selecting text.
  28665. function startDragging(e) {
  28666. // Right-clicking can't start dragging.
  28667. if ('button' in e && e.button !== 0) {
  28668. return
  28669. }
  28670. // Alias frequently used variables to save space. 200 bytes.
  28671. var self = this;
  28672. var a = elements[self.a].element;
  28673. var b = elements[self.b].element;
  28674. // Call the onDragStart callback.
  28675. if (!self.dragging) {
  28676. getOption(options, 'onDragStart', NOOP)(getSizes());
  28677. }
  28678. // Don't actually drag the element. We emulate that in the drag function.
  28679. e.preventDefault();
  28680. // Set the dragging property of the pair object.
  28681. self.dragging = true;
  28682. // Create two event listeners bound to the same pair object and store
  28683. // them in the pair object.
  28684. self.move = drag.bind(self);
  28685. self.stop = stopDragging.bind(self);
  28686. // All the binding. `window` gets the stop events in case we drag out of the elements.
  28687. global[addEventListener]('mouseup', self.stop);
  28688. global[addEventListener]('touchend', self.stop);
  28689. global[addEventListener]('touchcancel', self.stop);
  28690. global[addEventListener]('mousemove', self.move);
  28691. global[addEventListener]('touchmove', self.move);
  28692. // Disable selection. Disable!
  28693. a[addEventListener]('selectstart', NOOP);
  28694. a[addEventListener]('dragstart', NOOP);
  28695. b[addEventListener]('selectstart', NOOP);
  28696. b[addEventListener]('dragstart', NOOP);
  28697. a.style.userSelect = 'none';
  28698. a.style.webkitUserSelect = 'none';
  28699. a.style.MozUserSelect = 'none';
  28700. a.style.pointerEvents = 'none';
  28701. b.style.userSelect = 'none';
  28702. b.style.webkitUserSelect = 'none';
  28703. b.style.MozUserSelect = 'none';
  28704. b.style.pointerEvents = 'none';
  28705. // Set the cursor at multiple levels
  28706. self.gutter.style.cursor = cursor;
  28707. self.parent.style.cursor = cursor;
  28708. document.body.style.cursor = cursor;
  28709. // Cache the initial sizes of the pair.
  28710. calculateSizes.call(self);
  28711. // Determine the position of the mouse compared to the gutter
  28712. self.dragOffset = getMousePosition(e) - self.end;
  28713. }
  28714. // adjust sizes to ensure percentage is within min size and gutter.
  28715. sizes = trimToMin(sizes);
  28716. // 5. Create pair and element objects. Each pair has an index reference to
  28717. // elements `a` and `b` of the pair (first and second elements).
  28718. // Loop through the elements while pairing them off. Every pair gets a
  28719. // `pair` object and a gutter.
  28720. //
  28721. // Basic logic:
  28722. //
  28723. // - Starting with the second element `i > 0`, create `pair` objects with
  28724. // `a = i - 1` and `b = i`
  28725. // - Set gutter sizes based on the _pair_ being first/last. The first and last
  28726. // pair have gutterSize / 2, since they only have one half gutter, and not two.
  28727. // - Create gutter elements and add event listeners.
  28728. // - Set the size of the elements, minus the gutter sizes.
  28729. //
  28730. // -----------------------------------------------------------------------
  28731. // | i=0 | i=1 | i=2 | i=3 |
  28732. // | | | | |
  28733. // | pair 0 pair 1 pair 2 |
  28734. // | | | | |
  28735. // -----------------------------------------------------------------------
  28736. var pairs = [];
  28737. elements = ids.map(function (id, i) {
  28738. // Create the element object.
  28739. var element = {
  28740. element: elementOrSelector(id),
  28741. size: sizes[i],
  28742. minSize: minSizes[i],
  28743. i: i,
  28744. };
  28745. var pair;
  28746. if (i > 0) {
  28747. // Create the pair object with its metadata.
  28748. pair = {
  28749. a: i - 1,
  28750. b: i,
  28751. dragging: false,
  28752. direction: direction,
  28753. parent: parent,
  28754. };
  28755. pair[aGutterSize] = getGutterSize(
  28756. gutterSize,
  28757. i - 1 === 0,
  28758. false,
  28759. gutterAlign
  28760. );
  28761. pair[bGutterSize] = getGutterSize(
  28762. gutterSize,
  28763. false,
  28764. i === ids.length - 1,
  28765. gutterAlign
  28766. );
  28767. // if the parent has a reverse flex-direction, switch the pair elements.
  28768. if (
  28769. parentFlexDirection === 'row-reverse' ||
  28770. parentFlexDirection === 'column-reverse'
  28771. ) {
  28772. var temp = pair.a;
  28773. pair.a = pair.b;
  28774. pair.b = temp;
  28775. }
  28776. }
  28777. // Determine the size of the current element. IE8 is supported by
  28778. // staticly assigning sizes without draggable gutters. Assigns a string
  28779. // to `size`.
  28780. //
  28781. // IE9 and above
  28782. if (!isIE8) {
  28783. // Create gutter elements for each pair.
  28784. if (i > 0) {
  28785. var gutterElement = gutter(i, direction, element.element);
  28786. setGutterSize(gutterElement, gutterSize, i);
  28787. // Save bound event listener for removal later
  28788. pair[gutterStartDragging] = startDragging.bind(pair);
  28789. // Attach bound event listener
  28790. gutterElement[addEventListener](
  28791. 'mousedown',
  28792. pair[gutterStartDragging]
  28793. );
  28794. gutterElement[addEventListener](
  28795. 'touchstart',
  28796. pair[gutterStartDragging]
  28797. );
  28798. parent.insertBefore(gutterElement, element.element);
  28799. pair.gutter = gutterElement;
  28800. }
  28801. }
  28802. setElementSize(
  28803. element.element,
  28804. element.size,
  28805. getGutterSize(
  28806. gutterSize,
  28807. i === 0,
  28808. i === ids.length - 1,
  28809. gutterAlign
  28810. )
  28811. );
  28812. // After the first iteration, and we have a pair object, append it to the
  28813. // list of pairs.
  28814. if (i > 0) {
  28815. pairs.push(pair);
  28816. }
  28817. return element
  28818. });
  28819. function adjustToMin(element) {
  28820. var isLast = element.i === pairs.length;
  28821. var pair = isLast ? pairs[element.i - 1] : pairs[element.i];
  28822. calculateSizes.call(pair);
  28823. var size = isLast
  28824. ? pair.size - element.minSize - pair[bGutterSize]
  28825. : element.minSize + pair[aGutterSize];
  28826. adjust.call(pair, size);
  28827. }
  28828. elements.forEach(function (element) {
  28829. var computedSize = element.element[getBoundingClientRect]()[dimension];
  28830. if (computedSize < element.minSize) {
  28831. if (expandToMin) {
  28832. adjustToMin(element);
  28833. } else {
  28834. // eslint-disable-next-line no-param-reassign
  28835. element.minSize = computedSize;
  28836. }
  28837. }
  28838. });
  28839. function setSizes(newSizes) {
  28840. var trimmed = trimToMin(newSizes);
  28841. trimmed.forEach(function (newSize, i) {
  28842. if (i > 0) {
  28843. var pair = pairs[i - 1];
  28844. var a = elements[pair.a];
  28845. var b = elements[pair.b];
  28846. a.size = trimmed[i - 1];
  28847. b.size = newSize;
  28848. setElementSize(a.element, a.size, pair[aGutterSize]);
  28849. setElementSize(b.element, b.size, pair[bGutterSize]);
  28850. }
  28851. });
  28852. }
  28853. function destroy(preserveStyles, preserveGutter) {
  28854. pairs.forEach(function (pair) {
  28855. if (preserveGutter !== true) {
  28856. pair.parent.removeChild(pair.gutter);
  28857. } else {
  28858. pair.gutter[removeEventListener](
  28859. 'mousedown',
  28860. pair[gutterStartDragging]
  28861. );
  28862. pair.gutter[removeEventListener](
  28863. 'touchstart',
  28864. pair[gutterStartDragging]
  28865. );
  28866. }
  28867. if (preserveStyles !== true) {
  28868. var style = elementStyle(
  28869. dimension,
  28870. pair.a.size,
  28871. pair[aGutterSize]
  28872. );
  28873. Object.keys(style).forEach(function (prop) {
  28874. elements[pair.a].element.style[prop] = '';
  28875. elements[pair.b].element.style[prop] = '';
  28876. });
  28877. }
  28878. });
  28879. }
  28880. if (isIE8) {
  28881. return {
  28882. setSizes: setSizes,
  28883. destroy: destroy,
  28884. }
  28885. }
  28886. return {
  28887. setSizes: setSizes,
  28888. getSizes: getSizes,
  28889. collapse: function collapse(i) {
  28890. adjustToMin(elements[i]);
  28891. },
  28892. destroy: destroy,
  28893. parent: parent,
  28894. pairs: pairs,
  28895. }
  28896. };
  28897. /* harmony default export */ __webpack_exports__["default"] = (Split);
  28898. /***/ }),
  28899. /***/ "../../node_modules/style-loader/lib/addStyles.js":
  28900. /*!**********************************************************************!*\
  28901. !*** D:/Repos/Babylon.js/node_modules/style-loader/lib/addStyles.js ***!
  28902. \**********************************************************************/
  28903. /*! no static exports found */
  28904. /***/ (function(module, exports, __webpack_require__) {
  28905. /*
  28906. MIT License http://www.opensource.org/licenses/mit-license.php
  28907. Author Tobias Koppers @sokra
  28908. */
  28909. var stylesInDom = {};
  28910. var memoize = function (fn) {
  28911. var memo;
  28912. return function () {
  28913. if (typeof memo === "undefined") memo = fn.apply(this, arguments);
  28914. return memo;
  28915. };
  28916. };
  28917. var isOldIE = memoize(function () {
  28918. // Test for IE <= 9 as proposed by Browserhacks
  28919. // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
  28920. // Tests for existence of standard globals is to allow style-loader
  28921. // to operate correctly into non-standard environments
  28922. // @see https://github.com/webpack-contrib/style-loader/issues/177
  28923. return window && document && document.all && !window.atob;
  28924. });
  28925. var getTarget = function (target) {
  28926. return document.querySelector(target);
  28927. };
  28928. var getElement = (function (fn) {
  28929. var memo = {};
  28930. return function(target) {
  28931. // If passing function in options, then use it for resolve "head" element.
  28932. // Useful for Shadow Root style i.e
  28933. // {
  28934. // insertInto: function () { return document.querySelector("#foo").shadowRoot }
  28935. // }
  28936. if (typeof target === 'function') {
  28937. return target();
  28938. }
  28939. if (typeof memo[target] === "undefined") {
  28940. var styleTarget = getTarget.call(this, target);
  28941. // Special case to return head of iframe instead of iframe itself
  28942. if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
  28943. try {
  28944. // This will throw an exception if access to iframe is blocked
  28945. // due to cross-origin restrictions
  28946. styleTarget = styleTarget.contentDocument.head;
  28947. } catch(e) {
  28948. styleTarget = null;
  28949. }
  28950. }
  28951. memo[target] = styleTarget;
  28952. }
  28953. return memo[target]
  28954. };
  28955. })();
  28956. var singleton = null;
  28957. var singletonCounter = 0;
  28958. var stylesInsertedAtTop = [];
  28959. var fixUrls = __webpack_require__(/*! ./urls */ "../../node_modules/style-loader/lib/urls.js");
  28960. module.exports = function(list, options) {
  28961. if (typeof DEBUG !== "undefined" && DEBUG) {
  28962. if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
  28963. }
  28964. options = options || {};
  28965. options.attrs = typeof options.attrs === "object" ? options.attrs : {};
  28966. // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
  28967. // tags it will allow on a page
  28968. if (!options.singleton && typeof options.singleton !== "boolean") options.singleton = isOldIE();
  28969. // By default, add <style> tags to the <head> element
  28970. if (!options.insertInto) options.insertInto = "head";
  28971. // By default, add <style> tags to the bottom of the target
  28972. if (!options.insertAt) options.insertAt = "bottom";
  28973. var styles = listToStyles(list, options);
  28974. addStylesToDom(styles, options);
  28975. return function update (newList) {
  28976. var mayRemove = [];
  28977. for (var i = 0; i < styles.length; i++) {
  28978. var item = styles[i];
  28979. var domStyle = stylesInDom[item.id];
  28980. domStyle.refs--;
  28981. mayRemove.push(domStyle);
  28982. }
  28983. if(newList) {
  28984. var newStyles = listToStyles(newList, options);
  28985. addStylesToDom(newStyles, options);
  28986. }
  28987. for (var i = 0; i < mayRemove.length; i++) {
  28988. var domStyle = mayRemove[i];
  28989. if(domStyle.refs === 0) {
  28990. for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();
  28991. delete stylesInDom[domStyle.id];
  28992. }
  28993. }
  28994. };
  28995. };
  28996. function addStylesToDom (styles, options) {
  28997. for (var i = 0; i < styles.length; i++) {
  28998. var item = styles[i];
  28999. var domStyle = stylesInDom[item.id];
  29000. if(domStyle) {
  29001. domStyle.refs++;
  29002. for(var j = 0; j < domStyle.parts.length; j++) {
  29003. domStyle.parts[j](item.parts[j]);
  29004. }
  29005. for(; j < item.parts.length; j++) {
  29006. domStyle.parts.push(addStyle(item.parts[j], options));
  29007. }
  29008. } else {
  29009. var parts = [];
  29010. for(var j = 0; j < item.parts.length; j++) {
  29011. parts.push(addStyle(item.parts[j], options));
  29012. }
  29013. stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
  29014. }
  29015. }
  29016. }
  29017. function listToStyles (list, options) {
  29018. var styles = [];
  29019. var newStyles = {};
  29020. for (var i = 0; i < list.length; i++) {
  29021. var item = list[i];
  29022. var id = options.base ? item[0] + options.base : item[0];
  29023. var css = item[1];
  29024. var media = item[2];
  29025. var sourceMap = item[3];
  29026. var part = {css: css, media: media, sourceMap: sourceMap};
  29027. if(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});
  29028. else newStyles[id].parts.push(part);
  29029. }
  29030. return styles;
  29031. }
  29032. function insertStyleElement (options, style) {
  29033. var target = getElement(options.insertInto)
  29034. if (!target) {
  29035. throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
  29036. }
  29037. var lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];
  29038. if (options.insertAt === "top") {
  29039. if (!lastStyleElementInsertedAtTop) {
  29040. target.insertBefore(style, target.firstChild);
  29041. } else if (lastStyleElementInsertedAtTop.nextSibling) {
  29042. target.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);
  29043. } else {
  29044. target.appendChild(style);
  29045. }
  29046. stylesInsertedAtTop.push(style);
  29047. } else if (options.insertAt === "bottom") {
  29048. target.appendChild(style);
  29049. } else if (typeof options.insertAt === "object" && options.insertAt.before) {
  29050. var nextSibling = getElement(options.insertInto + " " + options.insertAt.before);
  29051. target.insertBefore(style, nextSibling);
  29052. } else {
  29053. throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
  29054. }
  29055. }
  29056. function removeStyleElement (style) {
  29057. if (style.parentNode === null) return false;
  29058. style.parentNode.removeChild(style);
  29059. var idx = stylesInsertedAtTop.indexOf(style);
  29060. if(idx >= 0) {
  29061. stylesInsertedAtTop.splice(idx, 1);
  29062. }
  29063. }
  29064. function createStyleElement (options) {
  29065. var style = document.createElement("style");
  29066. if(options.attrs.type === undefined) {
  29067. options.attrs.type = "text/css";
  29068. }
  29069. addAttrs(style, options.attrs);
  29070. insertStyleElement(options, style);
  29071. return style;
  29072. }
  29073. function createLinkElement (options) {
  29074. var link = document.createElement("link");
  29075. if(options.attrs.type === undefined) {
  29076. options.attrs.type = "text/css";
  29077. }
  29078. options.attrs.rel = "stylesheet";
  29079. addAttrs(link, options.attrs);
  29080. insertStyleElement(options, link);
  29081. return link;
  29082. }
  29083. function addAttrs (el, attrs) {
  29084. Object.keys(attrs).forEach(function (key) {
  29085. el.setAttribute(key, attrs[key]);
  29086. });
  29087. }
  29088. function addStyle (obj, options) {
  29089. var style, update, remove, result;
  29090. // If a transform function was defined, run it on the css
  29091. if (options.transform && obj.css) {
  29092. result = options.transform(obj.css);
  29093. if (result) {
  29094. // If transform returns a value, use that instead of the original css.
  29095. // This allows running runtime transformations on the css.
  29096. obj.css = result;
  29097. } else {
  29098. // If the transform function returns a falsy value, don't add this css.
  29099. // This allows conditional loading of css
  29100. return function() {
  29101. // noop
  29102. };
  29103. }
  29104. }
  29105. if (options.singleton) {
  29106. var styleIndex = singletonCounter++;
  29107. style = singleton || (singleton = createStyleElement(options));
  29108. update = applyToSingletonTag.bind(null, style, styleIndex, false);
  29109. remove = applyToSingletonTag.bind(null, style, styleIndex, true);
  29110. } else if (
  29111. obj.sourceMap &&
  29112. typeof URL === "function" &&
  29113. typeof URL.createObjectURL === "function" &&
  29114. typeof URL.revokeObjectURL === "function" &&
  29115. typeof Blob === "function" &&
  29116. typeof btoa === "function"
  29117. ) {
  29118. style = createLinkElement(options);
  29119. update = updateLink.bind(null, style, options);
  29120. remove = function () {
  29121. removeStyleElement(style);
  29122. if(style.href) URL.revokeObjectURL(style.href);
  29123. };
  29124. } else {
  29125. style = createStyleElement(options);
  29126. update = applyToTag.bind(null, style);
  29127. remove = function () {
  29128. removeStyleElement(style);
  29129. };
  29130. }
  29131. update(obj);
  29132. return function updateStyle (newObj) {
  29133. if (newObj) {
  29134. if (
  29135. newObj.css === obj.css &&
  29136. newObj.media === obj.media &&
  29137. newObj.sourceMap === obj.sourceMap
  29138. ) {
  29139. return;
  29140. }
  29141. update(obj = newObj);
  29142. } else {
  29143. remove();
  29144. }
  29145. };
  29146. }
  29147. var replaceText = (function () {
  29148. var textStore = [];
  29149. return function (index, replacement) {
  29150. textStore[index] = replacement;
  29151. return textStore.filter(Boolean).join('\n');
  29152. };
  29153. })();
  29154. function applyToSingletonTag (style, index, remove, obj) {
  29155. var css = remove ? "" : obj.css;
  29156. if (style.styleSheet) {
  29157. style.styleSheet.cssText = replaceText(index, css);
  29158. } else {
  29159. var cssNode = document.createTextNode(css);
  29160. var childNodes = style.childNodes;
  29161. if (childNodes[index]) style.removeChild(childNodes[index]);
  29162. if (childNodes.length) {
  29163. style.insertBefore(cssNode, childNodes[index]);
  29164. } else {
  29165. style.appendChild(cssNode);
  29166. }
  29167. }
  29168. }
  29169. function applyToTag (style, obj) {
  29170. var css = obj.css;
  29171. var media = obj.media;
  29172. if(media) {
  29173. style.setAttribute("media", media)
  29174. }
  29175. if(style.styleSheet) {
  29176. style.styleSheet.cssText = css;
  29177. } else {
  29178. while(style.firstChild) {
  29179. style.removeChild(style.firstChild);
  29180. }
  29181. style.appendChild(document.createTextNode(css));
  29182. }
  29183. }
  29184. function updateLink (link, options, obj) {
  29185. var css = obj.css;
  29186. var sourceMap = obj.sourceMap;
  29187. /*
  29188. If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled
  29189. and there is no publicPath defined then lets turn convertToAbsoluteUrls
  29190. on by default. Otherwise default to the convertToAbsoluteUrls option
  29191. directly
  29192. */
  29193. var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;
  29194. if (options.convertToAbsoluteUrls || autoFixUrls) {
  29195. css = fixUrls(css);
  29196. }
  29197. if (sourceMap) {
  29198. // http://stackoverflow.com/a/26603875
  29199. css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
  29200. }
  29201. var blob = new Blob([css], { type: "text/css" });
  29202. var oldSrc = link.href;
  29203. link.href = URL.createObjectURL(blob);
  29204. if(oldSrc) URL.revokeObjectURL(oldSrc);
  29205. }
  29206. /***/ }),
  29207. /***/ "../../node_modules/style-loader/lib/urls.js":
  29208. /*!*****************************************************************!*\
  29209. !*** D:/Repos/Babylon.js/node_modules/style-loader/lib/urls.js ***!
  29210. \*****************************************************************/
  29211. /*! no static exports found */
  29212. /***/ (function(module, exports) {
  29213. /**
  29214. * When source maps are enabled, `style-loader` uses a link element with a data-uri to
  29215. * embed the css on the page. This breaks all relative urls because now they are relative to a
  29216. * bundle instead of the current page.
  29217. *
  29218. * One solution is to only use full urls, but that may be impossible.
  29219. *
  29220. * Instead, this function "fixes" the relative urls to be absolute according to the current page location.
  29221. *
  29222. * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.
  29223. *
  29224. */
  29225. module.exports = function (css) {
  29226. // get current location
  29227. var location = typeof window !== "undefined" && window.location;
  29228. if (!location) {
  29229. throw new Error("fixUrls requires window.location");
  29230. }
  29231. // blank or null?
  29232. if (!css || typeof css !== "string") {
  29233. return css;
  29234. }
  29235. var baseUrl = location.protocol + "//" + location.host;
  29236. var currentDir = baseUrl + location.pathname.replace(/\/[^\/]*$/, "/");
  29237. // convert each url(...)
  29238. /*
  29239. This regular expression is just a way to recursively match brackets within
  29240. a string.
  29241. /url\s*\( = Match on the word "url" with any whitespace after it and then a parens
  29242. ( = Start a capturing group
  29243. (?: = Start a non-capturing group
  29244. [^)(] = Match anything that isn't a parentheses
  29245. | = OR
  29246. \( = Match a start parentheses
  29247. (?: = Start another non-capturing groups
  29248. [^)(]+ = Match anything that isn't a parentheses
  29249. | = OR
  29250. \( = Match a start parentheses
  29251. [^)(]* = Match anything that isn't a parentheses
  29252. \) = Match a end parentheses
  29253. ) = End Group
  29254. *\) = Match anything and then a close parens
  29255. ) = Close non-capturing group
  29256. * = Match anything
  29257. ) = Close capturing group
  29258. \) = Match a close parens
  29259. /gi = Get all matches, not the first. Be case insensitive.
  29260. */
  29261. var fixedCss = css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(fullMatch, origUrl) {
  29262. // strip quotes (if they exist)
  29263. var unquotedOrigUrl = origUrl
  29264. .trim()
  29265. .replace(/^"(.*)"$/, function(o, $1){ return $1; })
  29266. .replace(/^'(.*)'$/, function(o, $1){ return $1; });
  29267. // already a full url? no change
  29268. if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(unquotedOrigUrl)) {
  29269. return fullMatch;
  29270. }
  29271. // convert the url to a full url
  29272. var newUrl;
  29273. if (unquotedOrigUrl.indexOf("//") === 0) {
  29274. //TODO: should we add protocol?
  29275. newUrl = unquotedOrigUrl;
  29276. } else if (unquotedOrigUrl.indexOf("/") === 0) {
  29277. // path should be relative to the base url
  29278. newUrl = baseUrl + unquotedOrigUrl; // already starts with '/'
  29279. } else {
  29280. // path should be relative to current directory
  29281. newUrl = currentDir + unquotedOrigUrl.replace(/^\.\//, ""); // Strip leading './'
  29282. }
  29283. // send back the fixed url(...)
  29284. return "url(" + JSON.stringify(newUrl) + ")";
  29285. });
  29286. // send back the fixed css
  29287. return fixedCss;
  29288. };
  29289. /***/ }),
  29290. /***/ "../../node_modules/tslib/tslib.es6.js":
  29291. /*!***********************************************************!*\
  29292. !*** D:/Repos/Babylon.js/node_modules/tslib/tslib.es6.js ***!
  29293. \***********************************************************/
  29294. /*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */
  29295. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29296. "use strict";
  29297. __webpack_require__.r(__webpack_exports__);
  29298. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__extends", function() { return __extends; });
  29299. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__assign", function() { return __assign; });
  29300. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__rest", function() { return __rest; });
  29301. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__decorate", function() { return __decorate; });
  29302. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__param", function() { return __param; });
  29303. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__metadata", function() { return __metadata; });
  29304. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__awaiter", function() { return __awaiter; });
  29305. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__generator", function() { return __generator; });
  29306. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__exportStar", function() { return __exportStar; });
  29307. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__values", function() { return __values; });
  29308. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__read", function() { return __read; });
  29309. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__spread", function() { return __spread; });
  29310. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__await", function() { return __await; });
  29311. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncGenerator", function() { return __asyncGenerator; });
  29312. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncDelegator", function() { return __asyncDelegator; });
  29313. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__asyncValues", function() { return __asyncValues; });
  29314. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__makeTemplateObject", function() { return __makeTemplateObject; });
  29315. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importStar", function() { return __importStar; });
  29316. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__importDefault", function() { return __importDefault; });
  29317. /*! *****************************************************************************
  29318. Copyright (c) Microsoft Corporation. All rights reserved.
  29319. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  29320. this file except in compliance with the License. You may obtain a copy of the
  29321. License at http://www.apache.org/licenses/LICENSE-2.0
  29322. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  29323. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  29324. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  29325. MERCHANTABLITY OR NON-INFRINGEMENT.
  29326. See the Apache Version 2.0 License for specific language governing permissions
  29327. and limitations under the License.
  29328. ***************************************************************************** */
  29329. /* global Reflect, Promise */
  29330. var extendStatics = function(d, b) {
  29331. extendStatics = Object.setPrototypeOf ||
  29332. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  29333. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  29334. return extendStatics(d, b);
  29335. };
  29336. function __extends(d, b) {
  29337. extendStatics(d, b);
  29338. function __() { this.constructor = d; }
  29339. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  29340. }
  29341. var __assign = function() {
  29342. __assign = Object.assign || function __assign(t) {
  29343. for (var s, i = 1, n = arguments.length; i < n; i++) {
  29344. s = arguments[i];
  29345. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
  29346. }
  29347. return t;
  29348. }
  29349. return __assign.apply(this, arguments);
  29350. }
  29351. function __rest(s, e) {
  29352. var t = {};
  29353. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  29354. t[p] = s[p];
  29355. if (s != null && typeof Object.getOwnPropertySymbols === "function")
  29356. for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
  29357. t[p[i]] = s[p[i]];
  29358. return t;
  29359. }
  29360. function __decorate(decorators, target, key, desc) {
  29361. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  29362. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  29363. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  29364. return c > 3 && r && Object.defineProperty(target, key, r), r;
  29365. }
  29366. function __param(paramIndex, decorator) {
  29367. return function (target, key) { decorator(target, key, paramIndex); }
  29368. }
  29369. function __metadata(metadataKey, metadataValue) {
  29370. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
  29371. }
  29372. function __awaiter(thisArg, _arguments, P, generator) {
  29373. return new (P || (P = Promise))(function (resolve, reject) {
  29374. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  29375. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  29376. function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
  29377. step((generator = generator.apply(thisArg, _arguments || [])).next());
  29378. });
  29379. }
  29380. function __generator(thisArg, body) {
  29381. var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
  29382. return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
  29383. function verb(n) { return function (v) { return step([n, v]); }; }
  29384. function step(op) {
  29385. if (f) throw new TypeError("Generator is already executing.");
  29386. while (_) try {
  29387. if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
  29388. if (y = 0, t) op = [op[0] & 2, t.value];
  29389. switch (op[0]) {
  29390. case 0: case 1: t = op; break;
  29391. case 4: _.label++; return { value: op[1], done: false };
  29392. case 5: _.label++; y = op[1]; op = [0]; continue;
  29393. case 7: op = _.ops.pop(); _.trys.pop(); continue;
  29394. default:
  29395. if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
  29396. if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
  29397. if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
  29398. if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
  29399. if (t[2]) _.ops.pop();
  29400. _.trys.pop(); continue;
  29401. }
  29402. op = body.call(thisArg, _);
  29403. } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
  29404. if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
  29405. }
  29406. }
  29407. function __exportStar(m, exports) {
  29408. for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
  29409. }
  29410. function __values(o) {
  29411. var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
  29412. if (m) return m.call(o);
  29413. return {
  29414. next: function () {
  29415. if (o && i >= o.length) o = void 0;
  29416. return { value: o && o[i++], done: !o };
  29417. }
  29418. };
  29419. }
  29420. function __read(o, n) {
  29421. var m = typeof Symbol === "function" && o[Symbol.iterator];
  29422. if (!m) return o;
  29423. var i = m.call(o), r, ar = [], e;
  29424. try {
  29425. while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  29426. }
  29427. catch (error) { e = { error: error }; }
  29428. finally {
  29429. try {
  29430. if (r && !r.done && (m = i["return"])) m.call(i);
  29431. }
  29432. finally { if (e) throw e.error; }
  29433. }
  29434. return ar;
  29435. }
  29436. function __spread() {
  29437. for (var ar = [], i = 0; i < arguments.length; i++)
  29438. ar = ar.concat(__read(arguments[i]));
  29439. return ar;
  29440. }
  29441. function __await(v) {
  29442. return this instanceof __await ? (this.v = v, this) : new __await(v);
  29443. }
  29444. function __asyncGenerator(thisArg, _arguments, generator) {
  29445. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  29446. var g = generator.apply(thisArg, _arguments || []), i, q = [];
  29447. return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
  29448. function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
  29449. function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
  29450. function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
  29451. function fulfill(value) { resume("next", value); }
  29452. function reject(value) { resume("throw", value); }
  29453. function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
  29454. }
  29455. function __asyncDelegator(o) {
  29456. var i, p;
  29457. return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
  29458. function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
  29459. }
  29460. function __asyncValues(o) {
  29461. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  29462. var m = o[Symbol.asyncIterator], i;
  29463. return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
  29464. function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
  29465. function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
  29466. }
  29467. function __makeTemplateObject(cooked, raw) {
  29468. if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
  29469. return cooked;
  29470. };
  29471. function __importStar(mod) {
  29472. if (mod && mod.__esModule) return mod;
  29473. var result = {};
  29474. if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  29475. result.default = mod;
  29476. return result;
  29477. }
  29478. function __importDefault(mod) {
  29479. return (mod && mod.__esModule) ? mod : { default: mod };
  29480. }
  29481. /***/ }),
  29482. /***/ "../../node_modules/webpack/buildin/global.js":
  29483. /*!***********************************!*\
  29484. !*** (webpack)/buildin/global.js ***!
  29485. \***********************************/
  29486. /*! no static exports found */
  29487. /***/ (function(module, exports) {
  29488. var g;
  29489. // This works in non-strict mode
  29490. g = (function() {
  29491. return this;
  29492. })();
  29493. try {
  29494. // This works if eval is allowed (see CSP)
  29495. g = g || new Function("return this")();
  29496. } catch (e) {
  29497. // This works if the window reference is available
  29498. if (typeof window === "object") g = window;
  29499. }
  29500. // g can still be undefined, but nothing to do about it...
  29501. // We return undefined, instead of nothing here, so it's
  29502. // easier to handle this case. if(!global) { ...}
  29503. module.exports = g;
  29504. /***/ }),
  29505. /***/ "./components/actionTabs/actionTabs.scss":
  29506. /*!***********************************************!*\
  29507. !*** ./components/actionTabs/actionTabs.scss ***!
  29508. \***********************************************/
  29509. /*! no static exports found */
  29510. /***/ (function(module, exports, __webpack_require__) {
  29511. var content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/sass-loader/lib/loader.js!./actionTabs.scss */ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/actionTabs/actionTabs.scss");
  29512. if(typeof content === 'string') content = [[module.i, content, '']];
  29513. var transform;
  29514. var insertInto;
  29515. var options = {"hmr":true}
  29516. options.transform = transform
  29517. options.insertInto = undefined;
  29518. var update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ "../../node_modules/style-loader/lib/addStyles.js")(content, options);
  29519. if(content.locals) module.exports = content.locals;
  29520. if(false) {}
  29521. /***/ }),
  29522. /***/ "./components/actionTabs/actionTabsComponent.tsx":
  29523. /*!*******************************************************!*\
  29524. !*** ./components/actionTabs/actionTabsComponent.tsx ***!
  29525. \*******************************************************/
  29526. /*! exports provided: ActionTabsComponent */
  29527. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29528. "use strict";
  29529. __webpack_require__.r(__webpack_exports__);
  29530. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActionTabsComponent", function() { return ActionTabsComponent; });
  29531. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29532. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29533. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29534. /* harmony import */ var _tabsComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tabsComponent */ "./components/actionTabs/tabsComponent.tsx");
  29535. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  29536. /* harmony import */ var _tabs_statisticsTabComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tabs/statisticsTabComponent */ "./components/actionTabs/tabs/statisticsTabComponent.tsx");
  29537. /* harmony import */ var _tabs_debugTabComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tabs/debugTabComponent */ "./components/actionTabs/tabs/debugTabComponent.tsx");
  29538. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! re-resizable */ "../../node_modules/re-resizable/lib/index.es5.js");
  29539. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(re_resizable__WEBPACK_IMPORTED_MODULE_6__);
  29540. /* harmony import */ var _tabs_propertyGridTabComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./tabs/propertyGridTabComponent */ "./components/actionTabs/tabs/propertyGridTabComponent.tsx");
  29541. /* harmony import */ var _headerComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../headerComponent */ "./components/headerComponent.tsx");
  29542. /* harmony import */ var _tabs_toolsTabComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./tabs/toolsTabComponent */ "./components/actionTabs/tabs/toolsTabComponent.tsx");
  29543. /* harmony import */ var _tabs_settingsTabComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./tabs/settingsTabComponent */ "./components/actionTabs/tabs/settingsTabComponent.tsx");
  29544. __webpack_require__(/*! ./actionTabs.scss */ "./components/actionTabs/actionTabs.scss");
  29545. var ActionTabsComponent = /** @class */ (function (_super) {
  29546. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ActionTabsComponent, _super);
  29547. function ActionTabsComponent(props) {
  29548. var _this = _super.call(this, props) || this;
  29549. _this._once = true;
  29550. var initialIndex = 0;
  29551. if (_this.props.globalState) {
  29552. var validationResutls = _this.props.globalState.validationResults;
  29553. if (validationResutls) {
  29554. if (validationResutls.issues.numErrors || validationResutls.issues.numWarnings) {
  29555. initialIndex = 3;
  29556. }
  29557. }
  29558. }
  29559. _this.state = { selectedEntity: null, selectedIndex: initialIndex };
  29560. return _this;
  29561. }
  29562. ActionTabsComponent.prototype.componentWillMount = function () {
  29563. var _this = this;
  29564. if (this.props.globalState) {
  29565. this._onSelectionChangeObserver = this.props.globalState.onSelectionChangedObservable.add(function (entity) {
  29566. _this.setState({ selectedEntity: entity, selectedIndex: 0 });
  29567. });
  29568. this._onTabChangedObserver = this.props.globalState.onTabChangedObservable.add(function (index) {
  29569. _this.setState({ selectedIndex: index });
  29570. });
  29571. }
  29572. };
  29573. ActionTabsComponent.prototype.componentWillUnmount = function () {
  29574. if (this.props.globalState) {
  29575. if (this._onSelectionChangeObserver) {
  29576. this.props.globalState.onSelectionChangedObservable.remove(this._onSelectionChangeObserver);
  29577. }
  29578. if (this._onTabChangedObserver) {
  29579. this.props.globalState.onTabChangedObservable.remove(this._onTabChangedObserver);
  29580. }
  29581. }
  29582. };
  29583. ActionTabsComponent.prototype.changeSelectedTab = function (index) {
  29584. if (this.props.globalState) {
  29585. this.props.globalState.onTabChangedObservable.notifyObservers(index);
  29586. }
  29587. };
  29588. ActionTabsComponent.prototype.renderContent = function () {
  29589. var _this = this;
  29590. if (this.props.globalState && this.props.scene) {
  29591. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabsComponent__WEBPACK_IMPORTED_MODULE_2__["TabsComponent"], { selectedIndex: this.state.selectedIndex, onSelectedIndexChange: function (value) { return _this.changeSelectedTab(value); } },
  29592. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabs_propertyGridTabComponent__WEBPACK_IMPORTED_MODULE_7__["PropertyGridTabComponent"], { title: "Properties", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faFileAlt"], scene: this.props.scene, selectedEntity: this.state.selectedEntity, globalState: this.props.globalState, onSelectionChangedObservable: this.props.globalState.onSelectionChangedObservable, onPropertyChangedObservable: this.props.globalState.onPropertyChangedObservable }),
  29593. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabs_debugTabComponent__WEBPACK_IMPORTED_MODULE_5__["DebugTabComponent"], { title: "Debug", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faBug"], scene: this.props.scene, globalState: this.props.globalState }),
  29594. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabs_statisticsTabComponent__WEBPACK_IMPORTED_MODULE_4__["StatisticsTabComponent"], { title: "Statistics", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faChartBar"], scene: this.props.scene, globalState: this.props.globalState }),
  29595. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabs_toolsTabComponent__WEBPACK_IMPORTED_MODULE_9__["ToolsTabComponent"], { title: "Tools", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faWrench"], scene: this.props.scene, globalState: this.props.globalState }),
  29596. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tabs_settingsTabComponent__WEBPACK_IMPORTED_MODULE_10__["SettingsTabComponent"], { title: "Settings", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faCog"], scene: this.props.scene, globalState: this.props.globalState })));
  29597. }
  29598. else {
  29599. return null;
  29600. }
  29601. };
  29602. ActionTabsComponent.prototype.onClose = function () {
  29603. if (!this.props.onClose) {
  29604. return;
  29605. }
  29606. this.props.onClose();
  29607. };
  29608. ActionTabsComponent.prototype.onPopup = function () {
  29609. if (!this.props.onPopup) {
  29610. return;
  29611. }
  29612. this.props.onPopup();
  29613. };
  29614. ActionTabsComponent.prototype.render = function () {
  29615. var _this = this;
  29616. if (this.props.popupMode) {
  29617. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "actionTabs" },
  29618. !this.props.noHeader &&
  29619. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_8__["HeaderComponent"], { title: "INSPECTOR", handleBack: true, noClose: this.props.noClose, noExpand: this.props.noExpand, noCommands: this.props.noCommands, onClose: function () { return _this.onClose(); }, onPopup: function () { return _this.onPopup(); }, onSelectionChangedObservable: this.props.globalState ? this.props.globalState.onSelectionChangedObservable : undefined }),
  29620. this.renderContent()));
  29621. }
  29622. if (this._once) {
  29623. this._once = false;
  29624. // A bit hacky but no other way to force the initial width to 300px and not auto
  29625. setTimeout(function () {
  29626. var element = document.getElementById("actionTabs");
  29627. if (!element) {
  29628. return;
  29629. }
  29630. element.style.width = "300px";
  29631. }, 150);
  29632. }
  29633. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](re_resizable__WEBPACK_IMPORTED_MODULE_6___default.a, { id: "actionTabs", minWidth: 300, maxWidth: 600, size: { height: "100%" }, minHeight: "100%", enable: { top: false, right: false, bottom: false, left: true, topRight: false, bottomRight: false, bottomLeft: false, topLeft: false } },
  29634. !this.props.noHeader &&
  29635. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_8__["HeaderComponent"], { title: "INSPECTOR", handleBack: true, noClose: this.props.noClose, noExpand: this.props.noExpand, noCommands: this.props.noCommands, onClose: function () { return _this.onClose(); }, onPopup: function () { return _this.onPopup(); }, onSelectionChangedObservable: this.props.globalState ? this.props.globalState.onSelectionChangedObservable : undefined }),
  29636. this.renderContent()));
  29637. };
  29638. return ActionTabsComponent;
  29639. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29640. /***/ }),
  29641. /***/ "./components/actionTabs/lineContainerComponent.tsx":
  29642. /*!**********************************************************!*\
  29643. !*** ./components/actionTabs/lineContainerComponent.tsx ***!
  29644. \**********************************************************/
  29645. /*! exports provided: LineContainerComponent */
  29646. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29647. "use strict";
  29648. __webpack_require__.r(__webpack_exports__);
  29649. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LineContainerComponent", function() { return LineContainerComponent; });
  29650. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29651. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29652. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29653. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  29654. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  29655. var LineContainerComponent = /** @class */ (function (_super) {
  29656. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](LineContainerComponent, _super);
  29657. function LineContainerComponent(props) {
  29658. var _this = _super.call(this, props) || this;
  29659. var initialState;
  29660. try {
  29661. if (LineContainerComponent._InMemoryStorage && LineContainerComponent._InMemoryStorage[_this.props.title] !== undefined) {
  29662. initialState = LineContainerComponent._InMemoryStorage[_this.props.title];
  29663. }
  29664. else if (typeof (Storage) !== "undefined" && localStorage.getItem(_this.props.title) !== null) {
  29665. initialState = localStorage.getItem(_this.props.title) === "true";
  29666. }
  29667. else {
  29668. initialState = !_this.props.closed;
  29669. }
  29670. }
  29671. catch (e) {
  29672. LineContainerComponent._InMemoryStorage = {};
  29673. LineContainerComponent._InMemoryStorage[_this.props.title] = !_this.props.closed;
  29674. initialState = !_this.props.closed;
  29675. }
  29676. _this.state = { isExpanded: initialState, isHighlighted: false };
  29677. return _this;
  29678. }
  29679. LineContainerComponent.prototype.switchExpandedState = function () {
  29680. var newState = !this.state.isExpanded;
  29681. try {
  29682. if (LineContainerComponent._InMemoryStorage) {
  29683. LineContainerComponent._InMemoryStorage[this.props.title] = newState;
  29684. }
  29685. else if (typeof (Storage) !== "undefined") {
  29686. localStorage.setItem(this.props.title, newState ? "true" : "false");
  29687. }
  29688. }
  29689. catch (e) {
  29690. LineContainerComponent._InMemoryStorage = {};
  29691. LineContainerComponent._InMemoryStorage[this.props.title] = newState;
  29692. }
  29693. this.setState({ isExpanded: newState });
  29694. };
  29695. LineContainerComponent.prototype.componentDidMount = function () {
  29696. var _this = this;
  29697. if (this.props.globalState && !this.props.globalState.selectedLineContainerTitle) {
  29698. return;
  29699. }
  29700. if (this.props.globalState && this.props.globalState.selectedLineContainerTitle === this.props.title) {
  29701. setTimeout(function () {
  29702. _this.props.globalState.selectedLineContainerTitle = "";
  29703. });
  29704. this.setState({ isExpanded: true, isHighlighted: true });
  29705. window.setTimeout(function () {
  29706. _this.setState({ isHighlighted: false });
  29707. }, 5000);
  29708. }
  29709. else {
  29710. this.setState({ isExpanded: false });
  29711. }
  29712. };
  29713. LineContainerComponent.prototype.renderHeader = function () {
  29714. var _this = this;
  29715. var className = this.state.isExpanded ? "collapse" : "collapse closed";
  29716. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "header", onClick: function () { return _this.switchExpandedState(); } },
  29717. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "title" }, this.props.title),
  29718. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: className },
  29719. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faChevronDown"] }))));
  29720. };
  29721. LineContainerComponent.prototype.render = function () {
  29722. if (!this.state.isExpanded) {
  29723. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneContainer" },
  29724. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneContainer-content" }, this.renderHeader())));
  29725. }
  29726. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneContainer" },
  29727. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneContainer-content" },
  29728. this.renderHeader(),
  29729. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneList" }, this.props.children)),
  29730. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "paneContainer-highlight-border" + (!this.state.isHighlighted ? " transparent" : "") })));
  29731. };
  29732. return LineContainerComponent;
  29733. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29734. /***/ }),
  29735. /***/ "./components/actionTabs/lines/booleanLineComponent.tsx":
  29736. /*!**************************************************************!*\
  29737. !*** ./components/actionTabs/lines/booleanLineComponent.tsx ***!
  29738. \**************************************************************/
  29739. /*! exports provided: BooleanLineComponent */
  29740. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29741. "use strict";
  29742. __webpack_require__.r(__webpack_exports__);
  29743. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BooleanLineComponent", function() { return BooleanLineComponent; });
  29744. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29745. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29746. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29747. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  29748. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  29749. var BooleanLineComponent = /** @class */ (function (_super) {
  29750. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](BooleanLineComponent, _super);
  29751. function BooleanLineComponent(props) {
  29752. return _super.call(this, props) || this;
  29753. }
  29754. BooleanLineComponent.prototype.render = function () {
  29755. var check = this.props.value ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faCheck"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faTimesCircle"] });
  29756. var className = this.props.value ? "value check" : "value uncheck";
  29757. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "textLine" },
  29758. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  29759. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: className }, check)));
  29760. };
  29761. return BooleanLineComponent;
  29762. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29763. /***/ }),
  29764. /***/ "./components/actionTabs/lines/buttonLineComponent.tsx":
  29765. /*!*************************************************************!*\
  29766. !*** ./components/actionTabs/lines/buttonLineComponent.tsx ***!
  29767. \*************************************************************/
  29768. /*! exports provided: ButtonLineComponent */
  29769. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29770. "use strict";
  29771. __webpack_require__.r(__webpack_exports__);
  29772. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonLineComponent", function() { return ButtonLineComponent; });
  29773. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29774. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29775. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29776. var ButtonLineComponent = /** @class */ (function (_super) {
  29777. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ButtonLineComponent, _super);
  29778. function ButtonLineComponent(props) {
  29779. return _super.call(this, props) || this;
  29780. }
  29781. ButtonLineComponent.prototype.render = function () {
  29782. var _this = this;
  29783. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "buttonLine" },
  29784. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { onClick: function () { return _this.props.onClick(); } }, this.props.label)));
  29785. };
  29786. return ButtonLineComponent;
  29787. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29788. /***/ }),
  29789. /***/ "./components/actionTabs/lines/checkBoxLineComponent.tsx":
  29790. /*!***************************************************************!*\
  29791. !*** ./components/actionTabs/lines/checkBoxLineComponent.tsx ***!
  29792. \***************************************************************/
  29793. /*! exports provided: CheckBoxLineComponent */
  29794. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29795. "use strict";
  29796. __webpack_require__.r(__webpack_exports__);
  29797. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckBoxLineComponent", function() { return CheckBoxLineComponent; });
  29798. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29799. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29800. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29801. var CheckBoxLineComponent = /** @class */ (function (_super) {
  29802. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CheckBoxLineComponent, _super);
  29803. function CheckBoxLineComponent(props) {
  29804. var _this = _super.call(this, props) || this;
  29805. _this._localChange = false;
  29806. _this._uniqueId = CheckBoxLineComponent._UniqueIdSeed++;
  29807. if (_this.props.isSelected) {
  29808. _this.state = { isSelected: _this.props.isSelected() };
  29809. }
  29810. else {
  29811. _this.state = { isSelected: _this.props.target[_this.props.propertyName] === true };
  29812. }
  29813. return _this;
  29814. }
  29815. CheckBoxLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  29816. var currentState;
  29817. if (this.props.isSelected) {
  29818. currentState = nextProps.isSelected();
  29819. }
  29820. else {
  29821. currentState = nextProps.target[nextProps.propertyName] === true;
  29822. }
  29823. if (currentState !== nextState.isSelected || this._localChange) {
  29824. nextState.isSelected = currentState;
  29825. this._localChange = false;
  29826. return true;
  29827. }
  29828. return false;
  29829. };
  29830. CheckBoxLineComponent.prototype.onChange = function () {
  29831. this._localChange = true;
  29832. if (this.props.onSelect) {
  29833. this.props.onSelect(!this.state.isSelected);
  29834. }
  29835. else {
  29836. if (this.props.onPropertyChangedObservable) {
  29837. this.props.onPropertyChangedObservable.notifyObservers({
  29838. object: this.props.target,
  29839. property: this.props.propertyName,
  29840. value: !this.state.isSelected,
  29841. initialValue: this.state.isSelected
  29842. });
  29843. }
  29844. this.props.target[this.props.propertyName] = !this.state.isSelected;
  29845. }
  29846. if (this.props.onValueChanged) {
  29847. this.props.onValueChanged();
  29848. }
  29849. this.setState({ isSelected: !this.state.isSelected });
  29850. };
  29851. CheckBoxLineComponent.prototype.render = function () {
  29852. var _this = this;
  29853. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "checkBoxLine" },
  29854. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  29855. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "checkBox" },
  29856. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "checkbox", id: "checkbox" + this._uniqueId, className: "cbx hidden", checked: this.state.isSelected, onChange: function () { return _this.onChange(); } }),
  29857. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("label", { htmlFor: "checkbox" + this._uniqueId, className: "lbl" }))));
  29858. };
  29859. CheckBoxLineComponent._UniqueIdSeed = 0;
  29860. return CheckBoxLineComponent;
  29861. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29862. /***/ }),
  29863. /***/ "./components/actionTabs/lines/color3LineComponent.tsx":
  29864. /*!*************************************************************!*\
  29865. !*** ./components/actionTabs/lines/color3LineComponent.tsx ***!
  29866. \*************************************************************/
  29867. /*! exports provided: Color3LineComponent */
  29868. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29869. "use strict";
  29870. __webpack_require__.r(__webpack_exports__);
  29871. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Color3LineComponent", function() { return Color3LineComponent; });
  29872. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29873. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29874. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29875. /* harmony import */ var babylonjs_Maths_math__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Maths/math */ "babylonjs/Misc/observable");
  29876. /* harmony import */ var babylonjs_Maths_math__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Maths_math__WEBPACK_IMPORTED_MODULE_2__);
  29877. /* harmony import */ var _numericInputComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./numericInputComponent */ "./components/actionTabs/lines/numericInputComponent.tsx");
  29878. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  29879. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  29880. var Color3LineComponent = /** @class */ (function (_super) {
  29881. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](Color3LineComponent, _super);
  29882. function Color3LineComponent(props) {
  29883. var _this = _super.call(this, props) || this;
  29884. _this._localChange = false;
  29885. _this.state = { isExpanded: false, color: _this.props.target[_this.props.propertyName].clone() };
  29886. return _this;
  29887. }
  29888. Color3LineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  29889. var currentState = nextProps.target[nextProps.propertyName];
  29890. if (!currentState.equals(nextState.color) || this._localChange) {
  29891. nextState.color = currentState.clone();
  29892. this._localChange = false;
  29893. return true;
  29894. }
  29895. return false;
  29896. };
  29897. Color3LineComponent.prototype.onChange = function (newValue) {
  29898. this._localChange = true;
  29899. var newColor = babylonjs_Maths_math__WEBPACK_IMPORTED_MODULE_2__["Color3"].FromHexString(newValue);
  29900. if (this.props.onPropertyChangedObservable) {
  29901. this.props.onPropertyChangedObservable.notifyObservers({
  29902. object: this.props.target,
  29903. property: this.props.propertyName,
  29904. value: newColor,
  29905. initialValue: this.state.color
  29906. });
  29907. }
  29908. this.props.target[this.props.propertyName] = newColor;
  29909. this.setState({ color: newColor });
  29910. };
  29911. Color3LineComponent.prototype.switchExpandState = function () {
  29912. this._localChange = true;
  29913. this.setState({ isExpanded: !this.state.isExpanded });
  29914. };
  29915. Color3LineComponent.prototype.raiseOnPropertyChanged = function (previousValue) {
  29916. if (!this.props.onPropertyChangedObservable) {
  29917. return;
  29918. }
  29919. this.props.onPropertyChangedObservable.notifyObservers({
  29920. object: this.props.target,
  29921. property: this.props.propertyName,
  29922. value: this.state.color,
  29923. initialValue: previousValue
  29924. });
  29925. };
  29926. Color3LineComponent.prototype.updateStateR = function (value) {
  29927. this._localChange = true;
  29928. var store = this.state.color.clone();
  29929. this.props.target[this.props.propertyName].x = value;
  29930. this.state.color.r = value;
  29931. this.props.target[this.props.propertyName] = this.state.color;
  29932. this.setState({ color: this.state.color });
  29933. this.raiseOnPropertyChanged(store);
  29934. };
  29935. Color3LineComponent.prototype.updateStateG = function (value) {
  29936. this._localChange = true;
  29937. var store = this.state.color.clone();
  29938. this.props.target[this.props.propertyName].g = value;
  29939. this.state.color.g = value;
  29940. this.props.target[this.props.propertyName] = this.state.color;
  29941. this.setState({ color: this.state.color });
  29942. this.raiseOnPropertyChanged(store);
  29943. };
  29944. Color3LineComponent.prototype.updateStateB = function (value) {
  29945. this._localChange = true;
  29946. var store = this.state.color.clone();
  29947. this.props.target[this.props.propertyName].b = value;
  29948. this.state.color.b = value;
  29949. this.props.target[this.props.propertyName] = this.state.color;
  29950. this.setState({ color: this.state.color });
  29951. this.raiseOnPropertyChanged(store);
  29952. };
  29953. Color3LineComponent.prototype.copyToClipboard = function () {
  29954. var element = document.createElement('div');
  29955. element.textContent = this.state.color.toHexString();
  29956. document.body.appendChild(element);
  29957. if (window.getSelection) {
  29958. var range = document.createRange();
  29959. range.selectNode(element);
  29960. window.getSelection().removeAllRanges();
  29961. window.getSelection().addRange(range);
  29962. }
  29963. document.execCommand('copy');
  29964. element.remove();
  29965. };
  29966. Color3LineComponent.prototype.render = function () {
  29967. var _this = this;
  29968. var chevron = this.state.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__["faPlus"] });
  29969. var colorAsColor3 = this.state.color.getClassName() === "Color3" ? this.state.color : new babylonjs_Maths_math__WEBPACK_IMPORTED_MODULE_2__["Color3"](this.state.color.r, this.state.color.g, this.state.color.b);
  29970. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "color3Line" },
  29971. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "firstLine" },
  29972. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  29973. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "color3" },
  29974. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "color", value: colorAsColor3.toHexString(), onChange: function (evt) { return _this.onChange(evt.target.value); } })),
  29975. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "copy hoverIcon", onClick: function () { return _this.copyToClipboard(); }, title: "Copy to clipboard" },
  29976. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__["faCopy"] })),
  29977. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expand hoverIcon", onClick: function () { return _this.switchExpandState(); }, title: "Expand" }, chevron)),
  29978. this.state.isExpanded &&
  29979. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  29980. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_3__["NumericInputComponent"], { label: "r", value: this.state.color.r, onChange: function (value) { return _this.updateStateR(value); } }),
  29981. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_3__["NumericInputComponent"], { label: "g", value: this.state.color.g, onChange: function (value) { return _this.updateStateG(value); } }),
  29982. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_3__["NumericInputComponent"], { label: "b", value: this.state.color.b, onChange: function (value) { return _this.updateStateB(value); } }))));
  29983. };
  29984. return Color3LineComponent;
  29985. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  29986. /***/ }),
  29987. /***/ "./components/actionTabs/lines/fileButtonLineComponent.tsx":
  29988. /*!*****************************************************************!*\
  29989. !*** ./components/actionTabs/lines/fileButtonLineComponent.tsx ***!
  29990. \*****************************************************************/
  29991. /*! exports provided: FileButtonLineComponent */
  29992. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  29993. "use strict";
  29994. __webpack_require__.r(__webpack_exports__);
  29995. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FileButtonLineComponent", function() { return FileButtonLineComponent; });
  29996. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  29997. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  29998. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  29999. var FileButtonLineComponent = /** @class */ (function (_super) {
  30000. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](FileButtonLineComponent, _super);
  30001. function FileButtonLineComponent(props) {
  30002. var _this = _super.call(this, props) || this;
  30003. _this._id = FileButtonLineComponent._IDGenerator++;
  30004. return _this;
  30005. }
  30006. FileButtonLineComponent.prototype.onChange = function (evt) {
  30007. var files = evt.target.files;
  30008. if (files && files.length) {
  30009. this.props.onClick(files[0]);
  30010. }
  30011. evt.target.value = "";
  30012. };
  30013. FileButtonLineComponent.prototype.render = function () {
  30014. var _this = this;
  30015. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "buttonLine" },
  30016. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("label", { htmlFor: "file-upload" + this._id, className: "file-upload" }, this.props.label),
  30017. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { ref: "upload", id: "file-upload" + this._id, type: "file", accept: this.props.accept, onChange: function (evt) { return _this.onChange(evt); } })));
  30018. };
  30019. FileButtonLineComponent._IDGenerator = 0;
  30020. return FileButtonLineComponent;
  30021. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30022. /***/ }),
  30023. /***/ "./components/actionTabs/lines/floatLineComponent.tsx":
  30024. /*!************************************************************!*\
  30025. !*** ./components/actionTabs/lines/floatLineComponent.tsx ***!
  30026. \************************************************************/
  30027. /*! exports provided: FloatLineComponent */
  30028. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30029. "use strict";
  30030. __webpack_require__.r(__webpack_exports__);
  30031. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FloatLineComponent", function() { return FloatLineComponent; });
  30032. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30033. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30034. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30035. /* harmony import */ var _sliderLineComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  30036. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  30037. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_3__);
  30038. var FloatLineComponent = /** @class */ (function (_super) {
  30039. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](FloatLineComponent, _super);
  30040. function FloatLineComponent(props) {
  30041. var _this = _super.call(this, props) || this;
  30042. _this._localChange = false;
  30043. var currentValue = _this.props.target[_this.props.propertyName];
  30044. _this.state = { value: currentValue ? (_this.props.isInteger ? currentValue.toFixed(0) : currentValue.toFixed(_this.props.digits || 3)) : "0" };
  30045. _this._store = currentValue;
  30046. return _this;
  30047. }
  30048. FloatLineComponent.prototype.componentWillUnmount = function () {
  30049. this.unlock();
  30050. };
  30051. FloatLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30052. if (this._localChange) {
  30053. this._localChange = false;
  30054. return true;
  30055. }
  30056. var newValue = nextProps.target[nextProps.propertyName];
  30057. var newValueString = newValue ? this.props.isInteger ? newValue.toFixed(0) : newValue.toFixed(this.props.digits || 3) : "0";
  30058. if (newValueString !== nextState.value) {
  30059. nextState.value = newValueString;
  30060. return true;
  30061. }
  30062. return false;
  30063. };
  30064. FloatLineComponent.prototype.raiseOnPropertyChanged = function (newValue, previousValue) {
  30065. if (this.props.onChange) {
  30066. this.props.onChange(newValue);
  30067. }
  30068. if (!this.props.onPropertyChangedObservable) {
  30069. return;
  30070. }
  30071. this.props.onPropertyChangedObservable.notifyObservers({
  30072. object: this.props.target,
  30073. property: this.props.propertyName,
  30074. value: newValue,
  30075. initialValue: previousValue
  30076. });
  30077. };
  30078. FloatLineComponent.prototype.updateValue = function (valueString) {
  30079. if (/[^0-9\.\-]/g.test(valueString)) {
  30080. return;
  30081. }
  30082. var valueAsNumber;
  30083. if (this.props.isInteger) {
  30084. valueAsNumber = parseInt(valueString);
  30085. }
  30086. else {
  30087. valueAsNumber = parseFloat(valueString);
  30088. }
  30089. this._localChange = true;
  30090. this.setState({ value: valueString });
  30091. if (isNaN(valueAsNumber)) {
  30092. return;
  30093. }
  30094. this.raiseOnPropertyChanged(valueAsNumber, this._store);
  30095. this.props.target[this.props.propertyName] = valueAsNumber;
  30096. this._store = valueAsNumber;
  30097. };
  30098. FloatLineComponent.prototype.lock = function () {
  30099. if (this.props.lockObject) {
  30100. this.props.lockObject.lock = true;
  30101. }
  30102. };
  30103. FloatLineComponent.prototype.unlock = function () {
  30104. if (this.props.lockObject) {
  30105. this.props.lockObject.lock = false;
  30106. }
  30107. };
  30108. FloatLineComponent.prototype.render = function () {
  30109. var _this = this;
  30110. var valueAsNumber;
  30111. if (this.props.isInteger) {
  30112. valueAsNumber = parseInt(this.state.value);
  30113. }
  30114. else {
  30115. valueAsNumber = parseFloat(this.state.value);
  30116. }
  30117. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  30118. !this.props.useEuler &&
  30119. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.props.additionalClass ? this.props.additionalClass + " floatLine" : "floatLine" },
  30120. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30121. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value" },
  30122. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "number", step: this.props.step || "0.01", className: "numeric-input", value: this.state.value, onBlur: function () { return _this.unlock(); }, onFocus: function () { return _this.lock(); }, onChange: function (evt) { return _this.updateValue(evt.target.value); } }))),
  30123. this.props.useEuler &&
  30124. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_2__["SliderLineComponent"], { label: this.props.label, minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_3__["Tools"].ToDegrees(valueAsNumber), onChange: function (value) { return _this.updateValue(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_3__["Tools"].ToRadians(value).toString()); } })));
  30125. };
  30126. return FloatLineComponent;
  30127. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30128. /***/ }),
  30129. /***/ "./components/actionTabs/lines/messageLineComponent.tsx":
  30130. /*!**************************************************************!*\
  30131. !*** ./components/actionTabs/lines/messageLineComponent.tsx ***!
  30132. \**************************************************************/
  30133. /*! exports provided: MessageLineComponent */
  30134. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30135. "use strict";
  30136. __webpack_require__.r(__webpack_exports__);
  30137. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MessageLineComponent", function() { return MessageLineComponent; });
  30138. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30139. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30140. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30141. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  30142. var MessageLineComponent = /** @class */ (function (_super) {
  30143. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](MessageLineComponent, _super);
  30144. function MessageLineComponent(props) {
  30145. return _super.call(this, props) || this;
  30146. }
  30147. MessageLineComponent.prototype.render = function () {
  30148. if (this.props.icon) {
  30149. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "iconMessageLine" },
  30150. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "icon", style: { color: this.props.color ? this.props.color : "" } },
  30151. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: this.props.icon })),
  30152. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value", title: this.props.text }, this.props.text)));
  30153. }
  30154. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "messageLine" },
  30155. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value", title: this.props.text, style: { color: this.props.color ? this.props.color : "" } }, this.props.text)));
  30156. };
  30157. return MessageLineComponent;
  30158. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30159. /***/ }),
  30160. /***/ "./components/actionTabs/lines/numericInputComponent.tsx":
  30161. /*!***************************************************************!*\
  30162. !*** ./components/actionTabs/lines/numericInputComponent.tsx ***!
  30163. \***************************************************************/
  30164. /*! exports provided: NumericInputComponent */
  30165. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30166. "use strict";
  30167. __webpack_require__.r(__webpack_exports__);
  30168. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NumericInputComponent", function() { return NumericInputComponent; });
  30169. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30170. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30171. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30172. var NumericInputComponent = /** @class */ (function (_super) {
  30173. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](NumericInputComponent, _super);
  30174. function NumericInputComponent(props) {
  30175. var _this = _super.call(this, props) || this;
  30176. _this._localChange = false;
  30177. _this.state = { value: _this.props.value.toFixed(3) };
  30178. return _this;
  30179. }
  30180. NumericInputComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30181. if (this._localChange) {
  30182. this._localChange = false;
  30183. return true;
  30184. }
  30185. if (nextProps.value.toString() !== nextState.value) {
  30186. nextState.value = nextProps.value.toFixed(3);
  30187. return true;
  30188. }
  30189. return false;
  30190. };
  30191. NumericInputComponent.prototype.updateValue = function (evt) {
  30192. var value = evt.target.value;
  30193. if (/[^0-9\.\-]/g.test(value)) {
  30194. return;
  30195. }
  30196. var valueAsNumber = parseFloat(value);
  30197. this._localChange = true;
  30198. this.setState({ value: value });
  30199. if (isNaN(valueAsNumber)) {
  30200. return;
  30201. }
  30202. this.props.onChange(valueAsNumber);
  30203. };
  30204. NumericInputComponent.prototype.render = function () {
  30205. var _this = this;
  30206. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "numeric" },
  30207. this.props.label &&
  30208. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "numeric-label" }, this.props.label + ": "),
  30209. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "number", step: this.props.step, className: "numeric-input", value: this.state.value, onChange: function (evt) { return _this.updateValue(evt); } })));
  30210. };
  30211. NumericInputComponent.defaultProps = {
  30212. step: 1,
  30213. };
  30214. return NumericInputComponent;
  30215. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30216. /***/ }),
  30217. /***/ "./components/actionTabs/lines/optionsLineComponent.tsx":
  30218. /*!**************************************************************!*\
  30219. !*** ./components/actionTabs/lines/optionsLineComponent.tsx ***!
  30220. \**************************************************************/
  30221. /*! exports provided: OptionsLineComponent */
  30222. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30223. "use strict";
  30224. __webpack_require__.r(__webpack_exports__);
  30225. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OptionsLineComponent", function() { return OptionsLineComponent; });
  30226. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30227. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30228. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30229. var ListLineOption = /** @class */ (function () {
  30230. function ListLineOption() {
  30231. }
  30232. return ListLineOption;
  30233. }());
  30234. var OptionsLineComponent = /** @class */ (function (_super) {
  30235. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](OptionsLineComponent, _super);
  30236. function OptionsLineComponent(props) {
  30237. var _this = _super.call(this, props) || this;
  30238. _this._localChange = false;
  30239. _this.state = { value: props.target[props.propertyName] };
  30240. return _this;
  30241. }
  30242. OptionsLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30243. if (this._localChange) {
  30244. this._localChange = false;
  30245. return true;
  30246. }
  30247. var newValue = nextProps.target[nextProps.propertyName];
  30248. if (newValue != null && newValue !== nextState.value) {
  30249. nextState.value = newValue;
  30250. return true;
  30251. }
  30252. return false;
  30253. };
  30254. OptionsLineComponent.prototype.raiseOnPropertyChanged = function (newValue, previousValue) {
  30255. if (!this.props.onPropertyChangedObservable) {
  30256. return;
  30257. }
  30258. this.props.onPropertyChangedObservable.notifyObservers({
  30259. object: this.props.target,
  30260. property: this.props.propertyName,
  30261. value: newValue,
  30262. initialValue: previousValue
  30263. });
  30264. };
  30265. OptionsLineComponent.prototype.updateValue = function (valueString) {
  30266. var value = parseInt(valueString);
  30267. this._localChange = true;
  30268. var store = this.state.value;
  30269. if (!this.props.noDirectUpdate) {
  30270. this.props.target[this.props.propertyName] = value;
  30271. }
  30272. this.setState({ value: value });
  30273. this.raiseOnPropertyChanged(value, store);
  30274. if (this.props.onSelect) {
  30275. this.props.onSelect(value);
  30276. }
  30277. };
  30278. OptionsLineComponent.prototype.render = function () {
  30279. var _this = this;
  30280. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "listLine" },
  30281. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30282. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "options" },
  30283. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("select", { onChange: function (evt) { return _this.updateValue(evt.target.value); }, value: this.state.value }, this.props.options.map(function (option) {
  30284. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("option", { key: option.label, value: option.value }, option.label));
  30285. })))));
  30286. };
  30287. return OptionsLineComponent;
  30288. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30289. /***/ }),
  30290. /***/ "./components/actionTabs/lines/quaternionLineComponent.tsx":
  30291. /*!*****************************************************************!*\
  30292. !*** ./components/actionTabs/lines/quaternionLineComponent.tsx ***!
  30293. \*****************************************************************/
  30294. /*! exports provided: QuaternionLineComponent */
  30295. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30296. "use strict";
  30297. __webpack_require__.r(__webpack_exports__);
  30298. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuaternionLineComponent", function() { return QuaternionLineComponent; });
  30299. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30300. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30301. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30302. /* harmony import */ var _numericInputComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./numericInputComponent */ "./components/actionTabs/lines/numericInputComponent.tsx");
  30303. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  30304. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  30305. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  30306. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__);
  30307. /* harmony import */ var _sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  30308. var QuaternionLineComponent = /** @class */ (function (_super) {
  30309. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](QuaternionLineComponent, _super);
  30310. function QuaternionLineComponent(props) {
  30311. var _this = _super.call(this, props) || this;
  30312. _this._localChange = false;
  30313. var quat = _this.props.target[_this.props.propertyName].clone();
  30314. _this.state = { isExpanded: false, value: quat, eulerValue: quat.toEulerAngles() };
  30315. return _this;
  30316. }
  30317. QuaternionLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30318. var nextPropsValue = nextProps.target[nextProps.propertyName];
  30319. if (!nextPropsValue.equals(nextState.value) || this._localChange) {
  30320. nextState.value = nextPropsValue.clone();
  30321. this._localChange = false;
  30322. return true;
  30323. }
  30324. return false;
  30325. };
  30326. QuaternionLineComponent.prototype.switchExpandState = function () {
  30327. this._localChange = true;
  30328. this.setState({ isExpanded: !this.state.isExpanded });
  30329. };
  30330. QuaternionLineComponent.prototype.raiseOnPropertyChanged = function (currentValue, previousValue) {
  30331. if (!this.props.onPropertyChangedObservable) {
  30332. return;
  30333. }
  30334. this.props.onPropertyChangedObservable.notifyObservers({
  30335. object: this.props.target,
  30336. property: this.props.propertyName,
  30337. value: currentValue,
  30338. initialValue: previousValue
  30339. });
  30340. };
  30341. QuaternionLineComponent.prototype.updateQuaternion = function () {
  30342. var store = this.props.target[this.props.propertyName].clone();
  30343. this.props.target[this.props.propertyName] = this.state.value;
  30344. this.setState({ value: store });
  30345. this.raiseOnPropertyChanged(this.state.value, store);
  30346. };
  30347. QuaternionLineComponent.prototype.updateStateX = function (value) {
  30348. this._localChange = true;
  30349. this.state.value.x = value;
  30350. this.updateQuaternion();
  30351. };
  30352. QuaternionLineComponent.prototype.updateStateY = function (value) {
  30353. this._localChange = true;
  30354. this.state.value.y = value;
  30355. this.updateQuaternion();
  30356. };
  30357. QuaternionLineComponent.prototype.updateStateZ = function (value) {
  30358. this._localChange = true;
  30359. this.state.value.z = value;
  30360. this.updateQuaternion();
  30361. };
  30362. QuaternionLineComponent.prototype.updateStateW = function (value) {
  30363. this._localChange = true;
  30364. this.state.value.w = value;
  30365. this.updateQuaternion();
  30366. };
  30367. QuaternionLineComponent.prototype.updateQuaternionFromEuler = function () {
  30368. var quat = this.state.eulerValue.toQuaternion();
  30369. this.state.value.x = quat.x;
  30370. this.state.value.y = quat.y;
  30371. this.state.value.z = quat.z;
  30372. this.state.value.w = quat.w;
  30373. this.updateQuaternion();
  30374. };
  30375. QuaternionLineComponent.prototype.updateStateEulerX = function (value) {
  30376. this._localChange = true;
  30377. this.state.eulerValue.x = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToRadians(value);
  30378. this.updateQuaternionFromEuler();
  30379. };
  30380. QuaternionLineComponent.prototype.updateStateEulerY = function (value) {
  30381. this._localChange = true;
  30382. this.state.eulerValue.y = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToRadians(value);
  30383. this.updateQuaternionFromEuler();
  30384. };
  30385. QuaternionLineComponent.prototype.updateStateEulerZ = function (value) {
  30386. this._localChange = true;
  30387. this.state.eulerValue.z = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToRadians(value);
  30388. this.updateQuaternionFromEuler();
  30389. };
  30390. QuaternionLineComponent.prototype.render = function () {
  30391. var _this = this;
  30392. var chevron = this.state.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faPlus"] });
  30393. var quat = this.state.value;
  30394. var euler = this.state.eulerValue;
  30395. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector3Line" },
  30396. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "firstLine" },
  30397. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30398. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector" },
  30399. !this.props.useEuler &&
  30400. "X: " + quat.x.toFixed(1) + ", Y: " + quat.y.toFixed(1) + ", Z: " + quat.z.toFixed(1) + ", W: " + quat.w.toFixed(1),
  30401. this.props.useEuler &&
  30402. "X: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.x).toFixed(2) + ", Y: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.y).toFixed(2) + ", Z: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.z).toFixed(2)),
  30403. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expand", onClick: function () { return _this.switchExpandState(); } }, chevron)),
  30404. this.state.isExpanded && !this.props.useEuler &&
  30405. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  30406. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "x", value: quat.x, onChange: function (value) { return _this.updateStateX(value); } }),
  30407. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "y", value: quat.y, onChange: function (value) { return _this.updateStateY(value); } }),
  30408. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "z", value: quat.z, onChange: function (value) { return _this.updateStateZ(value); } }),
  30409. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "w", value: quat.w, onChange: function (value) { return _this.updateStateW(value); } })),
  30410. this.state.isExpanded && this.props.useEuler &&
  30411. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  30412. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "x", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.x), onChange: function (value) { return _this.updateStateEulerX(value); } }),
  30413. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "y", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.y), onChange: function (value) { return _this.updateStateEulerY(value); } }),
  30414. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "z", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].ToDegrees(euler.z), onChange: function (value) { return _this.updateStateEulerZ(value); } }))));
  30415. };
  30416. return QuaternionLineComponent;
  30417. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30418. /***/ }),
  30419. /***/ "./components/actionTabs/lines/radioLineComponent.tsx":
  30420. /*!************************************************************!*\
  30421. !*** ./components/actionTabs/lines/radioLineComponent.tsx ***!
  30422. \************************************************************/
  30423. /*! exports provided: RadioButtonLineComponent */
  30424. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30425. "use strict";
  30426. __webpack_require__.r(__webpack_exports__);
  30427. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RadioButtonLineComponent", function() { return RadioButtonLineComponent; });
  30428. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30429. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30430. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30431. var RadioButtonLineComponent = /** @class */ (function (_super) {
  30432. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RadioButtonLineComponent, _super);
  30433. function RadioButtonLineComponent(props) {
  30434. var _this = _super.call(this, props) || this;
  30435. _this.state = { isSelected: _this.props.isSelected() };
  30436. return _this;
  30437. }
  30438. RadioButtonLineComponent.prototype.componentWillMount = function () {
  30439. var _this = this;
  30440. this._onSelectionChangedObserver = this.props.onSelectionChangedObservable.add(function (value) {
  30441. _this.setState({ isSelected: value === _this });
  30442. });
  30443. };
  30444. RadioButtonLineComponent.prototype.componentWillUnmount = function () {
  30445. if (this._onSelectionChangedObserver) {
  30446. this.props.onSelectionChangedObservable.remove(this._onSelectionChangedObserver);
  30447. this._onSelectionChangedObserver = null;
  30448. }
  30449. };
  30450. RadioButtonLineComponent.prototype.onChange = function () {
  30451. this.props.onSelect();
  30452. this.props.onSelectionChangedObservable.notifyObservers(this);
  30453. };
  30454. RadioButtonLineComponent.prototype.render = function () {
  30455. var _this = this;
  30456. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "radioLine" },
  30457. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30458. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "radioContainer" },
  30459. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { id: this.props.label, className: "radio", type: "radio", checked: this.state.isSelected, onChange: function () { return _this.onChange(); } }),
  30460. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("label", { htmlFor: this.props.label, className: "labelForRadio" }))));
  30461. };
  30462. return RadioButtonLineComponent;
  30463. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30464. /***/ }),
  30465. /***/ "./components/actionTabs/lines/sliderLineComponent.tsx":
  30466. /*!*************************************************************!*\
  30467. !*** ./components/actionTabs/lines/sliderLineComponent.tsx ***!
  30468. \*************************************************************/
  30469. /*! exports provided: SliderLineComponent */
  30470. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30471. "use strict";
  30472. __webpack_require__.r(__webpack_exports__);
  30473. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SliderLineComponent", function() { return SliderLineComponent; });
  30474. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30475. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30476. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30477. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  30478. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__);
  30479. var SliderLineComponent = /** @class */ (function (_super) {
  30480. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SliderLineComponent, _super);
  30481. function SliderLineComponent(props) {
  30482. var _this = _super.call(this, props) || this;
  30483. _this._localChange = false;
  30484. if (_this.props.directValue !== undefined) {
  30485. _this.state = {
  30486. value: _this.props.directValue
  30487. };
  30488. }
  30489. else {
  30490. var value = _this.props.target[_this.props.propertyName];
  30491. if (value === undefined) {
  30492. value = _this.props.maximum;
  30493. }
  30494. _this.state = { value: value };
  30495. }
  30496. return _this;
  30497. }
  30498. SliderLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30499. if (nextProps.directValue !== undefined) {
  30500. nextState.value = nextProps.directValue;
  30501. return true;
  30502. }
  30503. var currentState = nextProps.target[nextProps.propertyName];
  30504. if (currentState === undefined) {
  30505. currentState = nextProps.maximum;
  30506. }
  30507. if (currentState !== nextState.value || this._localChange) {
  30508. nextState.value = currentState;
  30509. this._localChange = false;
  30510. return true;
  30511. }
  30512. return false;
  30513. };
  30514. SliderLineComponent.prototype.onChange = function (newValueString) {
  30515. this._localChange = true;
  30516. var newValue = parseFloat(newValueString);
  30517. if (this.props.useEuler) {
  30518. newValue = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].ToRadians(newValue);
  30519. }
  30520. if (this.props.target) {
  30521. if (this.props.onPropertyChangedObservable) {
  30522. this.props.onPropertyChangedObservable.notifyObservers({
  30523. object: this.props.target,
  30524. property: this.props.propertyName,
  30525. value: newValue,
  30526. initialValue: this.state.value
  30527. });
  30528. }
  30529. this.props.target[this.props.propertyName] = newValue;
  30530. }
  30531. if (this.props.onChange) {
  30532. this.props.onChange(newValue);
  30533. }
  30534. this.setState({ value: newValue });
  30535. };
  30536. SliderLineComponent.prototype.onInput = function (newValueString) {
  30537. var newValue = parseFloat(newValueString);
  30538. if (this.props.onInput) {
  30539. this.props.onInput(newValue);
  30540. }
  30541. };
  30542. SliderLineComponent.prototype.prepareDataToRead = function (value) {
  30543. if (this.props.useEuler) {
  30544. return babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].ToDegrees(value);
  30545. }
  30546. return value;
  30547. };
  30548. SliderLineComponent.prototype.render = function () {
  30549. var _this = this;
  30550. var decimalCount = this.props.decimalCount !== undefined ? this.props.decimalCount : 2;
  30551. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "sliderLine" },
  30552. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30553. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "slider" },
  30554. this.state.value ? this.prepareDataToRead(this.state.value).toFixed(decimalCount) : "0",
  30555. "\u00A0",
  30556. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { className: "range", type: "range", step: this.props.step, min: this.prepareDataToRead(this.props.minimum), max: this.prepareDataToRead(this.props.maximum), value: this.prepareDataToRead(this.state.value), onInput: function (evt) { return _this.onInput(evt.target.value); }, onChange: function (evt) { return _this.onChange(evt.target.value); } }))));
  30557. };
  30558. return SliderLineComponent;
  30559. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30560. /***/ }),
  30561. /***/ "./components/actionTabs/lines/textInputLineComponent.tsx":
  30562. /*!****************************************************************!*\
  30563. !*** ./components/actionTabs/lines/textInputLineComponent.tsx ***!
  30564. \****************************************************************/
  30565. /*! exports provided: TextInputLineComponent */
  30566. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30567. "use strict";
  30568. __webpack_require__.r(__webpack_exports__);
  30569. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextInputLineComponent", function() { return TextInputLineComponent; });
  30570. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30571. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30572. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30573. var TextInputLineComponent = /** @class */ (function (_super) {
  30574. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextInputLineComponent, _super);
  30575. function TextInputLineComponent(props) {
  30576. var _this = _super.call(this, props) || this;
  30577. _this._localChange = false;
  30578. _this.state = { value: _this.props.value || _this.props.target[_this.props.propertyName] || "" };
  30579. return _this;
  30580. }
  30581. TextInputLineComponent.prototype.componentWillUnmount = function () {
  30582. this.props.lockObject.lock = false;
  30583. };
  30584. TextInputLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30585. if (this._localChange) {
  30586. this._localChange = false;
  30587. return true;
  30588. }
  30589. var newValue = nextProps.value || nextProps.target[nextProps.propertyName];
  30590. if (newValue !== nextState.value) {
  30591. nextState.value = newValue || "";
  30592. return true;
  30593. }
  30594. return false;
  30595. };
  30596. TextInputLineComponent.prototype.raiseOnPropertyChanged = function (newValue, previousValue) {
  30597. if (this.props.onChange) {
  30598. this.props.onChange(newValue);
  30599. return;
  30600. }
  30601. if (!this.props.onPropertyChangedObservable) {
  30602. return;
  30603. }
  30604. this.props.onPropertyChangedObservable.notifyObservers({
  30605. object: this.props.target,
  30606. property: this.props.propertyName,
  30607. value: newValue,
  30608. initialValue: previousValue
  30609. });
  30610. };
  30611. TextInputLineComponent.prototype.updateValue = function (value) {
  30612. this._localChange = true;
  30613. var store = this.props.value || this.props.target[this.props.propertyName];
  30614. this.setState({ value: value });
  30615. this.raiseOnPropertyChanged(value, store);
  30616. if (this.props.propertyName) {
  30617. this.props.target[this.props.propertyName] = value;
  30618. }
  30619. };
  30620. TextInputLineComponent.prototype.render = function () {
  30621. var _this = this;
  30622. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "textInputLine" },
  30623. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30624. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value" },
  30625. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { value: this.state.value, onBlur: function () { return _this.props.lockObject.lock = false; }, onFocus: function () { return _this.props.lockObject.lock = true; }, onChange: function (evt) { return _this.updateValue(evt.target.value); } }))));
  30626. };
  30627. return TextInputLineComponent;
  30628. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30629. /***/ }),
  30630. /***/ "./components/actionTabs/lines/textLineComponent.tsx":
  30631. /*!***********************************************************!*\
  30632. !*** ./components/actionTabs/lines/textLineComponent.tsx ***!
  30633. \***********************************************************/
  30634. /*! exports provided: TextLineComponent */
  30635. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30636. "use strict";
  30637. __webpack_require__.r(__webpack_exports__);
  30638. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextLineComponent", function() { return TextLineComponent; });
  30639. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30640. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30641. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30642. var TextLineComponent = /** @class */ (function (_super) {
  30643. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextLineComponent, _super);
  30644. function TextLineComponent(props) {
  30645. return _super.call(this, props) || this;
  30646. }
  30647. TextLineComponent.prototype.onLink = function () {
  30648. if (!this.props.onLink) {
  30649. return;
  30650. }
  30651. this.props.onLink();
  30652. };
  30653. TextLineComponent.prototype.renderContent = function () {
  30654. var _this = this;
  30655. if (this.props.onLink) {
  30656. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "link-value", title: this.props.value, onClick: function () { return _this.onLink(); } }, this.props.value || "no name"));
  30657. }
  30658. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value", title: this.props.value, style: { color: this.props.color ? this.props.color : "" } }, this.props.value || "no name"));
  30659. };
  30660. TextLineComponent.prototype.render = function () {
  30661. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.props.underline ? "textLine underline" : "textLine" },
  30662. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  30663. this.renderContent()));
  30664. };
  30665. return TextLineComponent;
  30666. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30667. /***/ }),
  30668. /***/ "./components/actionTabs/lines/textureLineComponent.tsx":
  30669. /*!**************************************************************!*\
  30670. !*** ./components/actionTabs/lines/textureLineComponent.tsx ***!
  30671. \**************************************************************/
  30672. /*! exports provided: TextureLineComponent */
  30673. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30674. "use strict";
  30675. __webpack_require__.r(__webpack_exports__);
  30676. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextureLineComponent", function() { return TextureLineComponent; });
  30677. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30678. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30679. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30680. /* harmony import */ var babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Engines/constants */ "babylonjs/Misc/observable");
  30681. /* harmony import */ var babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__);
  30682. var ChannelToDisplay;
  30683. (function (ChannelToDisplay) {
  30684. ChannelToDisplay[ChannelToDisplay["R"] = 0] = "R";
  30685. ChannelToDisplay[ChannelToDisplay["G"] = 1] = "G";
  30686. ChannelToDisplay[ChannelToDisplay["B"] = 2] = "B";
  30687. ChannelToDisplay[ChannelToDisplay["A"] = 3] = "A";
  30688. ChannelToDisplay[ChannelToDisplay["All"] = 4] = "All";
  30689. })(ChannelToDisplay || (ChannelToDisplay = {}));
  30690. var TextureLineComponent = /** @class */ (function (_super) {
  30691. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextureLineComponent, _super);
  30692. function TextureLineComponent(props) {
  30693. var _this = _super.call(this, props) || this;
  30694. _this.state = {
  30695. channel: ChannelToDisplay.All,
  30696. face: 0
  30697. };
  30698. return _this;
  30699. }
  30700. TextureLineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  30701. return (nextProps.texture !== this.props.texture || nextState.channel !== this.state.channel || nextState.face !== this.state.face);
  30702. };
  30703. TextureLineComponent.prototype.componentDidMount = function () {
  30704. this.updatePreview();
  30705. };
  30706. TextureLineComponent.prototype.componentDidUpdate = function () {
  30707. this.updatePreview();
  30708. };
  30709. TextureLineComponent.prototype.updatePreview = function () {
  30710. var _this = this;
  30711. var texture = this.props.texture;
  30712. if (!texture.isReady() && texture._texture) {
  30713. texture._texture.onLoadedObservable.addOnce(function () {
  30714. _this.updatePreview();
  30715. });
  30716. }
  30717. var scene = texture.getScene();
  30718. var engine = scene.getEngine();
  30719. var size = texture.getSize();
  30720. var ratio = size.width / size.height;
  30721. var width = this.props.width;
  30722. var height = (width / ratio) | 1;
  30723. var passPostProcess;
  30724. if (!texture.isCube) {
  30725. passPostProcess = new babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["PassPostProcess"]("pass", 1, null, babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["Texture"].NEAREST_SAMPLINGMODE, engine, false, babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["Constants"].TEXTURETYPE_UNSIGNED_INT);
  30726. }
  30727. else {
  30728. var passCubePostProcess = new babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["PassCubePostProcess"]("pass", 1, null, babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["Texture"].NEAREST_SAMPLINGMODE, engine, false, babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["Constants"].TEXTURETYPE_UNSIGNED_INT);
  30729. passCubePostProcess.face = this.state.face;
  30730. passPostProcess = passCubePostProcess;
  30731. }
  30732. if (!passPostProcess.getEffect().isReady()) {
  30733. // Try again later
  30734. passPostProcess.dispose();
  30735. setTimeout(function () { return _this.updatePreview(); }, 250);
  30736. return;
  30737. }
  30738. var previewCanvas = this.refs.canvas;
  30739. if (this.props.globalState) {
  30740. this.props.globalState.blockMutationUpdates = true;
  30741. }
  30742. var rtt = new babylonjs_Engines_constants__WEBPACK_IMPORTED_MODULE_2__["RenderTargetTexture"]("temp", { width: width, height: height }, scene, false);
  30743. passPostProcess.onApply = function (effect) {
  30744. effect.setTexture("textureSampler", texture);
  30745. };
  30746. var internalTexture = rtt.getInternalTexture();
  30747. if (internalTexture) {
  30748. scene.postProcessManager.directRender([passPostProcess], internalTexture);
  30749. // Read the contents of the framebuffer
  30750. var numberOfChannelsByLine = width * 4;
  30751. var halfHeight = height / 2;
  30752. //Reading datas from WebGL
  30753. var data = engine.readPixels(0, 0, width, height);
  30754. if (!texture.isCube) {
  30755. if (this.state.channel != ChannelToDisplay.All) {
  30756. for (var i = 0; i < width * height * 4; i += 4) {
  30757. switch (this.state.channel) {
  30758. case ChannelToDisplay.R:
  30759. data[i + 1] = data[i];
  30760. data[i + 2] = data[i];
  30761. data[i + 3] = 255;
  30762. break;
  30763. case ChannelToDisplay.G:
  30764. data[i] = data[i + 1];
  30765. data[i + 2] = data[i];
  30766. data[i + 3] = 255;
  30767. break;
  30768. case ChannelToDisplay.B:
  30769. data[i] = data[i + 2];
  30770. data[i + 1] = data[i + 2];
  30771. data[i + 3] = 255;
  30772. break;
  30773. case ChannelToDisplay.A:
  30774. data[i] = data[i + 3];
  30775. data[i + 1] = data[i + 3];
  30776. data[i + 2] = data[i + 3];
  30777. data[i + 3] = 255;
  30778. break;
  30779. }
  30780. }
  30781. }
  30782. }
  30783. //To flip image on Y axis.
  30784. if (texture.invertY || texture.isCube) {
  30785. for (var i = 0; i < halfHeight; i++) {
  30786. for (var j = 0; j < numberOfChannelsByLine; j++) {
  30787. var currentCell = j + i * numberOfChannelsByLine;
  30788. var targetLine = height - i - 1;
  30789. var targetCell = j + targetLine * numberOfChannelsByLine;
  30790. var temp = data[currentCell];
  30791. data[currentCell] = data[targetCell];
  30792. data[targetCell] = temp;
  30793. }
  30794. }
  30795. }
  30796. previewCanvas.width = width;
  30797. previewCanvas.height = height;
  30798. var context = previewCanvas.getContext('2d');
  30799. if (context) {
  30800. // Copy the pixels to the preview canvas
  30801. var imageData = context.createImageData(width, height);
  30802. var castData = imageData.data;
  30803. castData.set(data);
  30804. context.putImageData(imageData, 0, 0);
  30805. }
  30806. // Unbind
  30807. engine.unBindFramebuffer(internalTexture);
  30808. }
  30809. rtt.dispose();
  30810. passPostProcess.dispose();
  30811. previewCanvas.style.height = height + "px";
  30812. if (this.props.globalState) {
  30813. this.props.globalState.blockMutationUpdates = false;
  30814. }
  30815. };
  30816. TextureLineComponent.prototype.render = function () {
  30817. var _this = this;
  30818. var texture = this.props.texture;
  30819. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "textureLine" },
  30820. !this.props.hideChannelSelect && texture.isCube &&
  30821. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "control3D" },
  30822. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 0 ? "px command selected" : "px command", onClick: function () { return _this.setState({ face: 0 }); } }, "PX"),
  30823. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 1 ? "nx command selected" : "nx command", onClick: function () { return _this.setState({ face: 1 }); } }, "NX"),
  30824. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 2 ? "py command selected" : "py command", onClick: function () { return _this.setState({ face: 2 }); } }, "PY"),
  30825. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 3 ? "ny command selected" : "ny command", onClick: function () { return _this.setState({ face: 3 }); } }, "NY"),
  30826. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 4 ? "pz command selected" : "pz command", onClick: function () { return _this.setState({ face: 4 }); } }, "PZ"),
  30827. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.face === 5 ? "nz command selected" : "nz command", onClick: function () { return _this.setState({ face: 5 }); } }, "NZ")),
  30828. !this.props.hideChannelSelect && !texture.isCube &&
  30829. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "control" },
  30830. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.channel === ChannelToDisplay.R ? "red command selected" : "red command", onClick: function () { return _this.setState({ channel: ChannelToDisplay.R }); } }, "R"),
  30831. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.channel === ChannelToDisplay.G ? "green command selected" : "green command", onClick: function () { return _this.setState({ channel: ChannelToDisplay.G }); } }, "G"),
  30832. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.channel === ChannelToDisplay.B ? "blue command selected" : "blue command", onClick: function () { return _this.setState({ channel: ChannelToDisplay.B }); } }, "B"),
  30833. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.channel === ChannelToDisplay.A ? "alpha command selected" : "alpha command", onClick: function () { return _this.setState({ channel: ChannelToDisplay.A }); } }, "A"),
  30834. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("button", { className: this.state.channel === ChannelToDisplay.All ? "all command selected" : "all command", onClick: function () { return _this.setState({ channel: ChannelToDisplay.All }); } }, "ALL")),
  30835. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("canvas", { ref: "canvas", className: "preview" })));
  30836. };
  30837. return TextureLineComponent;
  30838. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30839. /***/ }),
  30840. /***/ "./components/actionTabs/lines/textureLinkLineComponent.tsx":
  30841. /*!******************************************************************!*\
  30842. !*** ./components/actionTabs/lines/textureLinkLineComponent.tsx ***!
  30843. \******************************************************************/
  30844. /*! exports provided: TextureLinkLineComponent */
  30845. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30846. "use strict";
  30847. __webpack_require__.r(__webpack_exports__);
  30848. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextureLinkLineComponent", function() { return TextureLinkLineComponent; });
  30849. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30850. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30851. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30852. /* harmony import */ var babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Materials/standardMaterial */ "babylonjs/Misc/observable");
  30853. /* harmony import */ var babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2__);
  30854. /* harmony import */ var _textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  30855. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  30856. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  30857. /* harmony import */ var _fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fileButtonLineComponent */ "./components/actionTabs/lines/fileButtonLineComponent.tsx");
  30858. var TextureLinkLineComponent = /** @class */ (function (_super) {
  30859. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextureLinkLineComponent, _super);
  30860. function TextureLinkLineComponent(props) {
  30861. var _this = _super.call(this, props) || this;
  30862. var material = _this.props.material;
  30863. var texture = _this.props.texture;
  30864. _this.state = { isDebugSelected: material && material.reservedDataStore && material.reservedDataStore.debugTexture === texture };
  30865. return _this;
  30866. }
  30867. TextureLinkLineComponent.prototype.componentWillMount = function () {
  30868. var _this = this;
  30869. if (!this.props.onDebugSelectionChangeObservable) {
  30870. return;
  30871. }
  30872. this._onDebugSelectionChangeObserver = this.props.onDebugSelectionChangeObservable.add(function (texture) {
  30873. if (_this.props.texture !== texture) {
  30874. _this.setState({ isDebugSelected: false });
  30875. }
  30876. });
  30877. };
  30878. TextureLinkLineComponent.prototype.componentWillUnmount = function () {
  30879. if (this.props.onDebugSelectionChangeObservable && this._onDebugSelectionChangeObserver) {
  30880. this.props.onDebugSelectionChangeObservable.remove(this._onDebugSelectionChangeObserver);
  30881. }
  30882. };
  30883. TextureLinkLineComponent.prototype.debugTexture = function () {
  30884. if (this.props.customDebugAction) {
  30885. var newState = !this.state.isDebugSelected;
  30886. this.props.customDebugAction(newState);
  30887. this.setState({ isDebugSelected: newState });
  30888. return;
  30889. }
  30890. var texture = this.props.texture;
  30891. var material = this.props.material;
  30892. if (!material || !texture) {
  30893. return;
  30894. }
  30895. var scene = material.getScene();
  30896. if (material.reservedDataStore && material.reservedDataStore.debugTexture === texture) {
  30897. var debugMaterial_1 = material.reservedDataStore.debugMaterial;
  30898. texture.level = material.reservedDataStore.level;
  30899. for (var _i = 0, _a = scene.meshes; _i < _a.length; _i++) {
  30900. var mesh = _a[_i];
  30901. if (mesh.material === debugMaterial_1) {
  30902. mesh.material = material;
  30903. }
  30904. }
  30905. debugMaterial_1.dispose();
  30906. material.reservedDataStore.debugTexture = null;
  30907. material.reservedDataStore.debugMaterial = null;
  30908. this.setState({ isDebugSelected: false });
  30909. return;
  30910. }
  30911. var checkMaterial = material;
  30912. var needToDisposeCheckMaterial = false;
  30913. if (material.reservedDataStore && material.reservedDataStore.debugTexture) {
  30914. checkMaterial = material.reservedDataStore.debugMaterial;
  30915. needToDisposeCheckMaterial = true;
  30916. }
  30917. var debugMaterial = new babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2__["StandardMaterial"]("debugMaterial", scene);
  30918. debugMaterial.disableLighting = true;
  30919. debugMaterial.sideOrientation = material.sideOrientation;
  30920. debugMaterial.emissiveTexture = texture;
  30921. debugMaterial.forceDepthWrite = true;
  30922. debugMaterial.reservedDataStore = { hidden: true };
  30923. for (var _b = 0, _c = scene.meshes; _b < _c.length; _b++) {
  30924. var mesh = _c[_b];
  30925. if (mesh.material === checkMaterial) {
  30926. mesh.material = debugMaterial;
  30927. }
  30928. }
  30929. if (!material.reservedDataStore) {
  30930. material.reservedDataStore = {};
  30931. }
  30932. material.reservedDataStore.debugTexture = texture;
  30933. material.reservedDataStore.debugMaterial = debugMaterial;
  30934. material.reservedDataStore.level = texture.level;
  30935. texture.level = 1.0;
  30936. if (this.props.onDebugSelectionChangeObservable) {
  30937. this.props.onDebugSelectionChangeObservable.notifyObservers(texture);
  30938. }
  30939. if (needToDisposeCheckMaterial) {
  30940. checkMaterial.dispose();
  30941. }
  30942. this.setState({ isDebugSelected: true });
  30943. };
  30944. TextureLinkLineComponent.prototype.onLink = function () {
  30945. if (!this.props.onSelectionChangedObservable) {
  30946. return;
  30947. }
  30948. var texture = this.props.texture;
  30949. this.props.onSelectionChangedObservable.notifyObservers(texture);
  30950. };
  30951. TextureLinkLineComponent.prototype.updateTexture = function (file) {
  30952. var _this = this;
  30953. var material = this.props.material;
  30954. babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2__["Tools"].ReadFile(file, function (data) {
  30955. var blob = new Blob([data], { type: "octet/stream" });
  30956. var url = URL.createObjectURL(blob);
  30957. var texture = new babylonjs_Materials_standardMaterial__WEBPACK_IMPORTED_MODULE_2__["Texture"](url, material.getScene());
  30958. material[_this.props.propertyName] = texture;
  30959. _this.forceUpdate();
  30960. }, undefined, true);
  30961. };
  30962. TextureLinkLineComponent.prototype.render = function () {
  30963. var _this = this;
  30964. var texture = this.props.texture;
  30965. if (!texture) {
  30966. if (this.props.propertyName) {
  30967. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_6__["FileButtonLineComponent"], { label: "Add " + this.props.label + " texture", onClick: function (file) { return _this.updateTexture(file); }, accept: ".jpg, .png, .tga, .dds, .env" }));
  30968. }
  30969. return null;
  30970. }
  30971. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "textureLinkLine" },
  30972. !texture.isCube && this.props.material &&
  30973. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this.state.isDebugSelected ? "debug selected" : "debug", onClick: function () { return _this.debugTexture(); }, title: "Render as main texture" },
  30974. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_4__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__["faWrench"] })),
  30975. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: this.props.label, value: texture.name, onLink: function () { return _this.onLink(); } })));
  30976. };
  30977. return TextureLinkLineComponent;
  30978. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  30979. /***/ }),
  30980. /***/ "./components/actionTabs/lines/valueLineComponent.tsx":
  30981. /*!************************************************************!*\
  30982. !*** ./components/actionTabs/lines/valueLineComponent.tsx ***!
  30983. \************************************************************/
  30984. /*! exports provided: ValueLineComponent */
  30985. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  30986. "use strict";
  30987. __webpack_require__.r(__webpack_exports__);
  30988. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValueLineComponent", function() { return ValueLineComponent; });
  30989. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  30990. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  30991. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  30992. var ValueLineComponent = /** @class */ (function (_super) {
  30993. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ValueLineComponent, _super);
  30994. function ValueLineComponent(props) {
  30995. return _super.call(this, props) || this;
  30996. }
  30997. ValueLineComponent.prototype.render = function () {
  30998. var digits = this.props.fractionDigits !== undefined ? this.props.fractionDigits : 2;
  30999. var value = this.props.value.toFixed(digits) + (this.props.units ? " " + this.props.units : "");
  31000. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "textLine" },
  31001. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  31002. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "value", style: { color: this.props.color ? this.props.color : "" } }, value)));
  31003. };
  31004. return ValueLineComponent;
  31005. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31006. /***/ }),
  31007. /***/ "./components/actionTabs/lines/vector2LineComponent.tsx":
  31008. /*!**************************************************************!*\
  31009. !*** ./components/actionTabs/lines/vector2LineComponent.tsx ***!
  31010. \**************************************************************/
  31011. /*! exports provided: Vector2LineComponent */
  31012. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31013. "use strict";
  31014. __webpack_require__.r(__webpack_exports__);
  31015. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vector2LineComponent", function() { return Vector2LineComponent; });
  31016. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31017. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31018. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31019. /* harmony import */ var _numericInputComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./numericInputComponent */ "./components/actionTabs/lines/numericInputComponent.tsx");
  31020. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  31021. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  31022. var Vector2LineComponent = /** @class */ (function (_super) {
  31023. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](Vector2LineComponent, _super);
  31024. function Vector2LineComponent(props) {
  31025. var _this = _super.call(this, props) || this;
  31026. _this._localChange = false;
  31027. _this.state = { isExpanded: false, value: _this.props.target[_this.props.propertyName].clone() };
  31028. return _this;
  31029. }
  31030. Vector2LineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  31031. var nextPropsValue = nextProps.target[nextProps.propertyName];
  31032. if (!nextPropsValue.equals(nextState.value) || this._localChange) {
  31033. nextState.value = nextPropsValue.clone();
  31034. this._localChange = false;
  31035. return true;
  31036. }
  31037. return false;
  31038. };
  31039. Vector2LineComponent.prototype.switchExpandState = function () {
  31040. this._localChange = true;
  31041. this.setState({ isExpanded: !this.state.isExpanded });
  31042. };
  31043. Vector2LineComponent.prototype.raiseOnPropertyChanged = function (previousValue) {
  31044. if (this.props.onChange) {
  31045. this.props.onChange(this.state.value);
  31046. }
  31047. if (!this.props.onPropertyChangedObservable) {
  31048. return;
  31049. }
  31050. this.props.onPropertyChangedObservable.notifyObservers({
  31051. object: this.props.target,
  31052. property: this.props.propertyName,
  31053. value: this.state.value,
  31054. initialValue: previousValue
  31055. });
  31056. };
  31057. Vector2LineComponent.prototype.updateStateX = function (value) {
  31058. this._localChange = true;
  31059. var store = this.state.value.clone();
  31060. this.props.target[this.props.propertyName].x = value;
  31061. this.state.value.x = value;
  31062. this.setState({ value: this.state.value });
  31063. this.raiseOnPropertyChanged(store);
  31064. };
  31065. Vector2LineComponent.prototype.updateStateY = function (value) {
  31066. this._localChange = true;
  31067. var store = this.state.value.clone();
  31068. this.props.target[this.props.propertyName].y = value;
  31069. this.state.value.y = value;
  31070. this.setState({ value: this.state.value });
  31071. this.raiseOnPropertyChanged(store);
  31072. };
  31073. Vector2LineComponent.prototype.render = function () {
  31074. var _this = this;
  31075. var chevron = this.state.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faPlus"] });
  31076. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector3Line" },
  31077. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "firstLine" },
  31078. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  31079. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector" }, "X: " + this.state.value.x.toFixed(2) + ", Y: " + this.state.value.y.toFixed(2)),
  31080. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expand hoverIcon", onClick: function () { return _this.switchExpandState(); }, title: "Expand" }, chevron)),
  31081. this.state.isExpanded &&
  31082. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  31083. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "x", step: this.props.step, value: this.state.value.x, onChange: function (value) { return _this.updateStateX(value); } }),
  31084. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "y", step: this.props.step, value: this.state.value.y, onChange: function (value) { return _this.updateStateY(value); } }))));
  31085. };
  31086. Vector2LineComponent.defaultProps = {
  31087. step: 0.001,
  31088. };
  31089. return Vector2LineComponent;
  31090. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31091. /***/ }),
  31092. /***/ "./components/actionTabs/lines/vector3LineComponent.tsx":
  31093. /*!**************************************************************!*\
  31094. !*** ./components/actionTabs/lines/vector3LineComponent.tsx ***!
  31095. \**************************************************************/
  31096. /*! exports provided: Vector3LineComponent */
  31097. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31098. "use strict";
  31099. __webpack_require__.r(__webpack_exports__);
  31100. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vector3LineComponent", function() { return Vector3LineComponent; });
  31101. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31102. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31103. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31104. /* harmony import */ var _numericInputComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./numericInputComponent */ "./components/actionTabs/lines/numericInputComponent.tsx");
  31105. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  31106. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  31107. /* harmony import */ var _sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  31108. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  31109. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__);
  31110. var Vector3LineComponent = /** @class */ (function (_super) {
  31111. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](Vector3LineComponent, _super);
  31112. function Vector3LineComponent(props) {
  31113. var _this = _super.call(this, props) || this;
  31114. _this._localChange = false;
  31115. _this.state = { isExpanded: false, value: _this.getCurrentValue().clone() };
  31116. return _this;
  31117. }
  31118. Vector3LineComponent.prototype.getCurrentValue = function () {
  31119. return this.props.target[this.props.propertyName];
  31120. };
  31121. Vector3LineComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  31122. var nextPropsValue = this.getCurrentValue();
  31123. if (!nextPropsValue.equals(nextState.value) || this._localChange) {
  31124. nextState.value = nextPropsValue.clone();
  31125. this._localChange = false;
  31126. return true;
  31127. }
  31128. return false;
  31129. };
  31130. Vector3LineComponent.prototype.switchExpandState = function () {
  31131. this._localChange = true;
  31132. this.setState({ isExpanded: !this.state.isExpanded });
  31133. };
  31134. Vector3LineComponent.prototype.raiseOnPropertyChanged = function (previousValue) {
  31135. if (this.props.onChange) {
  31136. this.props.onChange(this.state.value);
  31137. }
  31138. if (!this.props.onPropertyChangedObservable) {
  31139. return;
  31140. }
  31141. this.props.onPropertyChangedObservable.notifyObservers({
  31142. object: this.props.target,
  31143. property: this.props.propertyName,
  31144. value: this.state.value,
  31145. initialValue: previousValue
  31146. });
  31147. };
  31148. Vector3LineComponent.prototype.updateVector3 = function () {
  31149. var store = this.props.target[this.props.propertyName].clone();
  31150. this.props.target[this.props.propertyName] = this.state.value;
  31151. this.setState({ value: store });
  31152. this.raiseOnPropertyChanged(store);
  31153. };
  31154. Vector3LineComponent.prototype.updateStateX = function (value) {
  31155. this._localChange = true;
  31156. this.state.value.x = value;
  31157. this.updateVector3();
  31158. };
  31159. Vector3LineComponent.prototype.updateStateY = function (value) {
  31160. this._localChange = true;
  31161. this.state.value.y = value;
  31162. this.updateVector3();
  31163. };
  31164. Vector3LineComponent.prototype.updateStateZ = function (value) {
  31165. this._localChange = true;
  31166. this.state.value.z = value;
  31167. this.updateVector3();
  31168. };
  31169. Vector3LineComponent.prototype.render = function () {
  31170. var _this = this;
  31171. var chevron = this.state.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_4__["faPlus"] });
  31172. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector3Line" },
  31173. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "firstLine" },
  31174. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "label" }, this.props.label),
  31175. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "vector" },
  31176. !this.props.useEuler &&
  31177. "X: " + this.state.value.x.toFixed(2) + ", Y: " + this.state.value.y.toFixed(2) + ", Z: " + this.state.value.z.toFixed(2),
  31178. this.props.useEuler &&
  31179. "X: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.x).toFixed(2) + ", Y: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.y).toFixed(2) + ", Z: " + babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.z).toFixed(2)),
  31180. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expand hoverIcon", onClick: function () { return _this.switchExpandState(); }, title: "Expand" }, chevron)),
  31181. this.state.isExpanded && !this.props.useEuler &&
  31182. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  31183. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "x", step: this.props.step, value: this.state.value.x, onChange: function (value) { return _this.updateStateX(value); } }),
  31184. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "y", step: this.props.step, value: this.state.value.y, onChange: function (value) { return _this.updateStateY(value); } }),
  31185. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_numericInputComponent__WEBPACK_IMPORTED_MODULE_2__["NumericInputComponent"], { label: "z", step: this.props.step, value: this.state.value.z, onChange: function (value) { return _this.updateStateZ(value); } })),
  31186. this.state.isExpanded && this.props.useEuler &&
  31187. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "secondLine" },
  31188. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "x", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.x), onChange: function (value) { return _this.updateStateX(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToRadians(value)); } }),
  31189. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "y", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.y), onChange: function (value) { return _this.updateStateY(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToRadians(value)); } }),
  31190. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "z", minimum: 0, maximum: 360, step: 0.1, directValue: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToDegrees(this.state.value.z), onChange: function (value) { return _this.updateStateZ(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_6__["Tools"].ToRadians(value)); } }))));
  31191. };
  31192. Vector3LineComponent.defaultProps = {
  31193. step: 0.001,
  31194. };
  31195. return Vector3LineComponent;
  31196. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31197. /***/ }),
  31198. /***/ "./components/actionTabs/paneComponent.tsx":
  31199. /*!*************************************************!*\
  31200. !*** ./components/actionTabs/paneComponent.tsx ***!
  31201. \*************************************************/
  31202. /*! exports provided: PaneComponent */
  31203. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31204. "use strict";
  31205. __webpack_require__.r(__webpack_exports__);
  31206. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PaneComponent", function() { return PaneComponent; });
  31207. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31208. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31209. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31210. var PaneComponent = /** @class */ (function (_super) {
  31211. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PaneComponent, _super);
  31212. function PaneComponent(props) {
  31213. return _super.call(this, props) || this;
  31214. }
  31215. PaneComponent.prototype.render = function () {
  31216. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" }));
  31217. };
  31218. return PaneComponent;
  31219. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31220. /***/ }),
  31221. /***/ "./components/actionTabs/tabs/debugTabComponent.tsx":
  31222. /*!**********************************************************!*\
  31223. !*** ./components/actionTabs/tabs/debugTabComponent.tsx ***!
  31224. \**********************************************************/
  31225. /*! exports provided: DebugTabComponent */
  31226. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31227. "use strict";
  31228. __webpack_require__.r(__webpack_exports__);
  31229. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugTabComponent", function() { return DebugTabComponent; });
  31230. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31231. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31232. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31233. /* harmony import */ var _paneComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../paneComponent */ "./components/actionTabs/paneComponent.tsx");
  31234. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31235. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  31236. /* harmony import */ var _propertyGrids_renderGridPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./propertyGrids/renderGridPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent.tsx");
  31237. /* harmony import */ var babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! babylonjs/Debug/physicsViewer */ "babylonjs/Misc/observable");
  31238. /* harmony import */ var babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__);
  31239. var DebugTabComponent = /** @class */ (function (_super) {
  31240. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](DebugTabComponent, _super);
  31241. function DebugTabComponent(props) {
  31242. var _this = _super.call(this, props) || this;
  31243. _this._physicsViewersEnabled = false;
  31244. return _this;
  31245. }
  31246. DebugTabComponent.prototype.componentWillMount = function () {
  31247. var scene = this.props.scene;
  31248. if (!scene) {
  31249. return;
  31250. }
  31251. if (!scene.reservedDataStore) {
  31252. scene.reservedDataStore = {};
  31253. }
  31254. this._physicsViewersEnabled = scene.reservedDataStore.physicsViewer != null;
  31255. };
  31256. DebugTabComponent.prototype.componentWillUnmount = function () {
  31257. };
  31258. DebugTabComponent.prototype.switchPhysicsViewers = function () {
  31259. this._physicsViewersEnabled = !this._physicsViewersEnabled;
  31260. var scene = this.props.scene;
  31261. if (this._physicsViewersEnabled) {
  31262. var physicsViewer = new babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["PhysicsViewer"](scene);
  31263. scene.reservedDataStore.physicsViewer = physicsViewer;
  31264. for (var _i = 0, _a = scene.meshes; _i < _a.length; _i++) {
  31265. var mesh = _a[_i];
  31266. if (mesh.physicsImpostor) {
  31267. var debugMesh = physicsViewer.showImpostor(mesh.physicsImpostor, mesh);
  31268. if (debugMesh) {
  31269. debugMesh.reservedDataStore = { hidden: true };
  31270. debugMesh.material.reservedDataStore = { hidden: true };
  31271. }
  31272. }
  31273. }
  31274. }
  31275. else {
  31276. scene.reservedDataStore.physicsViewer.dispose();
  31277. scene.reservedDataStore.physicsViewer = null;
  31278. }
  31279. };
  31280. DebugTabComponent.prototype.render = function () {
  31281. var _this = this;
  31282. var scene = this.props.scene;
  31283. if (!scene) {
  31284. return null;
  31285. }
  31286. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  31287. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "HELPERS" },
  31288. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_renderGridPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__["RenderGridPropertyGridComponent"], { globalState: this.props.globalState, scene: scene }),
  31289. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Physics", isSelected: function () { return _this._physicsViewersEnabled; }, onSelect: function () { return _this.switchPhysicsViewers(); } })),
  31290. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURE CHANNELS" },
  31291. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Diffuse", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].DiffuseTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].DiffuseTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].DiffuseTextureEnabled; } }),
  31292. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Ambient", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].AmbientTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].AmbientTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].AmbientTextureEnabled; } }),
  31293. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Specular", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].SpecularTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].SpecularTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].SpecularTextureEnabled; } }),
  31294. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Emissive", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].EmissiveTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].EmissiveTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].EmissiveTextureEnabled; } }),
  31295. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Bump", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].BumpTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].BumpTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].BumpTextureEnabled; } }),
  31296. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Opacity", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].OpacityTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].OpacityTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].OpacityTextureEnabled; } }),
  31297. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Reflection", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ReflectionTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ReflectionTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ReflectionTextureEnabled; } }),
  31298. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Refraction", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].RefractionTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].RefractionTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].RefractionTextureEnabled; } }),
  31299. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "ColorGrading", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ColorGradingTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ColorGradingTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].ColorGradingTextureEnabled; } }),
  31300. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Lightmap", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].LightmapTextureEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].LightmapTextureEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].LightmapTextureEnabled; } }),
  31301. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Fresnel", isSelected: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].FresnelEnabled; }, onSelect: function () { return babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].FresnelEnabled = !babylonjs_Debug_physicsViewer__WEBPACK_IMPORTED_MODULE_6__["StandardMaterial"].FresnelEnabled; } })),
  31302. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "FEATURES" },
  31303. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Animations", isSelected: function () { return scene.animationsEnabled; }, onSelect: function () { return scene.animationsEnabled = !scene.animationsEnabled; } }),
  31304. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Collisions", isSelected: function () { return scene.collisionsEnabled; }, onSelect: function () { return scene.collisionsEnabled = !scene.collisionsEnabled; } }),
  31305. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Fog", isSelected: function () { return scene.fogEnabled; }, onSelect: function () { return scene.fogEnabled = !scene.fogEnabled; } }),
  31306. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Lens flares", isSelected: function () { return scene.lensFlaresEnabled; }, onSelect: function () { return scene.lensFlaresEnabled = !scene.lensFlaresEnabled; } }),
  31307. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Lights", isSelected: function () { return scene.lightsEnabled; }, onSelect: function () { return scene.lightsEnabled = !scene.lightsEnabled; } }),
  31308. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Particles", isSelected: function () { return scene.particlesEnabled; }, onSelect: function () { return scene.particlesEnabled = !scene.particlesEnabled; } }),
  31309. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Post-processes", isSelected: function () { return scene.postProcessesEnabled; }, onSelect: function () { return scene.postProcessesEnabled = !scene.postProcessesEnabled; } }),
  31310. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Probes", isSelected: function () { return scene.probesEnabled; }, onSelect: function () { return scene.probesEnabled = !scene.probesEnabled; } }),
  31311. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Textures", isSelected: function () { return scene.texturesEnabled; }, onSelect: function () { return scene.texturesEnabled = !scene.texturesEnabled; } }),
  31312. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Procedural textures", isSelected: function () { return scene.proceduralTexturesEnabled; }, onSelect: function () { return scene.proceduralTexturesEnabled = !scene.proceduralTexturesEnabled; } }),
  31313. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Render targets", isSelected: function () { return scene.renderTargetsEnabled; }, onSelect: function () { return scene.renderTargetsEnabled = !scene.renderTargetsEnabled; } }),
  31314. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Shadows", isSelected: function () { return scene.shadowsEnabled; }, onSelect: function () { return scene.shadowsEnabled = !scene.shadowsEnabled; } }),
  31315. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Skeletons", isSelected: function () { return scene.skeletonsEnabled; }, onSelect: function () { return scene.skeletonsEnabled = !scene.skeletonsEnabled; } }),
  31316. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Sprites", isSelected: function () { return scene.spritesEnabled; }, onSelect: function () { return scene.spritesEnabled = !scene.spritesEnabled; } }))));
  31317. };
  31318. return DebugTabComponent;
  31319. }(_paneComponent__WEBPACK_IMPORTED_MODULE_2__["PaneComponent"]));
  31320. /***/ }),
  31321. /***/ "./components/actionTabs/tabs/propertyGridTabComponent.tsx":
  31322. /*!*****************************************************************!*\
  31323. !*** ./components/actionTabs/tabs/propertyGridTabComponent.tsx ***!
  31324. \*****************************************************************/
  31325. /*! exports provided: PropertyGridTabComponent */
  31326. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31327. "use strict";
  31328. __webpack_require__.r(__webpack_exports__);
  31329. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTabComponent", function() { return PropertyGridTabComponent; });
  31330. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31331. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31332. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31333. /* harmony import */ var _paneComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../paneComponent */ "./components/actionTabs/paneComponent.tsx");
  31334. /* harmony import */ var _propertyGrids_materials_materialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./propertyGrids/materials/materialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/materialPropertyGridComponent.tsx");
  31335. /* harmony import */ var _propertyGrids_materials_standardMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./propertyGrids/materials/standardMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/standardMaterialPropertyGridComponent.tsx");
  31336. /* harmony import */ var _propertyGrids_materials_texturePropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./propertyGrids/materials/texturePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent.tsx");
  31337. /* harmony import */ var _propertyGrids_materials_pbrMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./propertyGrids/materials/pbrMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/pbrMaterialPropertyGridComponent.tsx");
  31338. /* harmony import */ var _propertyGrids_scenePropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./propertyGrids/scenePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/scenePropertyGridComponent.tsx");
  31339. /* harmony import */ var _propertyGrids_lights_hemisphericLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./propertyGrids/lights/hemisphericLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/hemisphericLightPropertyGridComponent.tsx");
  31340. /* harmony import */ var _propertyGrids_lights_pointLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./propertyGrids/lights/pointLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/pointLightPropertyGridComponent.tsx");
  31341. /* harmony import */ var _propertyGrids_cameras_freeCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./propertyGrids/cameras/freeCameraPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent.tsx");
  31342. /* harmony import */ var _propertyGrids_cameras_arcRotateCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./propertyGrids/cameras/arcRotateCameraPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/cameras/arcRotateCameraPropertyGridComponent.tsx");
  31343. /* harmony import */ var _propertyGrids_meshes_meshPropertyGridComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./propertyGrids/meshes/meshPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx");
  31344. /* harmony import */ var _propertyGrids_meshes_transformNodePropertyGridComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./propertyGrids/meshes/transformNodePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/meshes/transformNodePropertyGridComponent.tsx");
  31345. /* harmony import */ var _propertyGrids_materials_backgroundMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./propertyGrids/materials/backgroundMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/backgroundMaterialPropertyGridComponent.tsx");
  31346. /* harmony import */ var _propertyGrids_gui_controlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./propertyGrids/gui/controlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/controlPropertyGridComponent.tsx");
  31347. /* harmony import */ var _propertyGrids_gui_textBlockPropertyGridComponent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./propertyGrids/gui/textBlockPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/textBlockPropertyGridComponent.tsx");
  31348. /* harmony import */ var _propertyGrids_gui_inputTextPropertyGridComponent__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./propertyGrids/gui/inputTextPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/inputTextPropertyGridComponent.tsx");
  31349. /* harmony import */ var _propertyGrids_gui_colorPickerPropertyGridComponent__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./propertyGrids/gui/colorPickerPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.tsx");
  31350. /* harmony import */ var _propertyGrids_animationGroupPropertyGridComponent__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./propertyGrids/animationGroupPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/animationGroupPropertyGridComponent.tsx");
  31351. /* harmony import */ var _propertyGrids_lockObject__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./propertyGrids/lockObject */ "./components/actionTabs/tabs/propertyGrids/lockObject.ts");
  31352. /* harmony import */ var _propertyGrids_gui_imagePropertyGridComponent__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./propertyGrids/gui/imagePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/imagePropertyGridComponent.tsx");
  31353. /* harmony import */ var _propertyGrids_gui_sliderPropertyGridComponent__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./propertyGrids/gui/sliderPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/sliderPropertyGridComponent.tsx");
  31354. /* harmony import */ var _propertyGrids_gui_imageBasedSliderPropertyGridComponent__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./propertyGrids/gui/imageBasedSliderPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.tsx");
  31355. /* harmony import */ var _propertyGrids_gui_rectanglePropertyGridComponent__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./propertyGrids/gui/rectanglePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/rectanglePropertyGridComponent.tsx");
  31356. /* harmony import */ var _propertyGrids_gui_ellipsePropertyGridComponent__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./propertyGrids/gui/ellipsePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/ellipsePropertyGridComponent.tsx");
  31357. /* harmony import */ var _propertyGrids_gui_checkboxPropertyGridComponent__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./propertyGrids/gui/checkboxPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/checkboxPropertyGridComponent.tsx");
  31358. /* harmony import */ var _propertyGrids_gui_radioButtonPropertyGridComponent__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./propertyGrids/gui/radioButtonPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.tsx");
  31359. /* harmony import */ var _propertyGrids_gui_linePropertyGridComponent__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./propertyGrids/gui/linePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/linePropertyGridComponent.tsx");
  31360. /* harmony import */ var _propertyGrids_gui_scrollViewerPropertyGridComponent__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./propertyGrids/gui/scrollViewerPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.tsx");
  31361. /* harmony import */ var _propertyGrids_gui_gridPropertyGridComponent__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./propertyGrids/gui/gridPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/gridPropertyGridComponent.tsx");
  31362. /* harmony import */ var _propertyGrids_materials_pbrMetallicRoughnessMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent.tsx");
  31363. /* harmony import */ var _propertyGrids_materials_pbrSpecularGlossinessMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent.tsx");
  31364. /* harmony import */ var _propertyGrids_gui_stackPanelPropertyGridComponent__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./propertyGrids/gui/stackPanelPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.tsx");
  31365. /* harmony import */ var _propertyGrids_postProcesses_postProcessPropertyGridComponent__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./propertyGrids/postProcesses/postProcessPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/postProcessPropertyGridComponent.tsx");
  31366. /* harmony import */ var _propertyGrids_postProcesses_renderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./propertyGrids/postProcesses/renderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/renderingPipelinePropertyGridComponent.tsx");
  31367. /* harmony import */ var _propertyGrids_postProcesses_defaultRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./propertyGrids/postProcesses/defaultRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/defaultRenderingPipelinePropertyGridComponent.tsx");
  31368. /* harmony import */ var _propertyGrids_postProcesses_ssaoRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./propertyGrids/postProcesses/ssaoRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/ssaoRenderingPipelinePropertyGridComponent.tsx");
  31369. /* harmony import */ var _propertyGrids_postProcesses_ssao2RenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./propertyGrids/postProcesses/ssao2RenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/ssao2RenderingPipelinePropertyGridComponent.tsx");
  31370. /* harmony import */ var _propertyGrids_meshes_skeletonPropertyGridComponent__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./propertyGrids/meshes/skeletonPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/meshes/skeletonPropertyGridComponent.tsx");
  31371. /* harmony import */ var _propertyGrids_meshes_bonePropertyGridComponent__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./propertyGrids/meshes/bonePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/meshes/bonePropertyGridComponent.tsx");
  31372. /* harmony import */ var _propertyGrids_lights_directionalLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./propertyGrids/lights/directionalLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/directionalLightPropertyGridComponent.tsx");
  31373. /* harmony import */ var _propertyGrids_lights_spotLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./propertyGrids/lights/spotLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx");
  31374. /* harmony import */ var _propertyGrids_postProcesses_lensRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./propertyGrids/postProcesses/lensRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/lensRenderingPipelinePropertyGridComponent.tsx");
  31375. /* harmony import */ var _propertyGrids_materials_nodeMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./propertyGrids/materials/nodeMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/nodeMaterialPropertyGridComponent.tsx");
  31376. var PropertyGridTabComponent = /** @class */ (function (_super) {
  31377. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PropertyGridTabComponent, _super);
  31378. function PropertyGridTabComponent(props) {
  31379. var _this = _super.call(this, props) || this;
  31380. _this._lockObject = new _propertyGrids_lockObject__WEBPACK_IMPORTED_MODULE_20__["LockObject"]();
  31381. return _this;
  31382. }
  31383. PropertyGridTabComponent.prototype.timerRefresh = function () {
  31384. if (!this._lockObject.lock) {
  31385. this.forceUpdate();
  31386. }
  31387. };
  31388. PropertyGridTabComponent.prototype.componentWillMount = function () {
  31389. var _this = this;
  31390. this._timerIntervalId = window.setInterval(function () { return _this.timerRefresh(); }, 500);
  31391. };
  31392. PropertyGridTabComponent.prototype.componentWillUnmount = function () {
  31393. window.clearInterval(this._timerIntervalId);
  31394. };
  31395. PropertyGridTabComponent.prototype.render = function () {
  31396. var entity = this.props.selectedEntity;
  31397. if (!entity) {
  31398. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "infoMessage" }, "Please select an entity in the scene explorer."));
  31399. }
  31400. if (entity.getClassName) {
  31401. var className = entity.getClassName();
  31402. if (className === "Scene") {
  31403. var scene = entity;
  31404. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_scenePropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["ScenePropertyGridComponent"], { scene: scene, globalState: this.props.globalState, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31405. }
  31406. if (className.indexOf("Mesh") !== -1) {
  31407. var mesh = entity;
  31408. if (mesh.getTotalVertices() > 0) {
  31409. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  31410. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_meshes_meshPropertyGridComponent__WEBPACK_IMPORTED_MODULE_12__["MeshPropertyGridComponent"], { globalState: this.props.globalState, mesh: mesh, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  31411. }
  31412. }
  31413. if (className.indexOf("FreeCamera") !== -1 || className.indexOf("UniversalCamera") !== -1) {
  31414. var freeCamera = entity;
  31415. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_cameras_freeCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_10__["FreeCameraPropertyGridComponent"], { globalState: this.props.globalState, camera: freeCamera, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31416. }
  31417. if (className.indexOf("ArcRotateCamera") !== -1) {
  31418. var arcRotateCamera = entity;
  31419. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_cameras_arcRotateCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_11__["ArcRotateCameraPropertyGridComponent"], { globalState: this.props.globalState, camera: arcRotateCamera, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31420. }
  31421. if (className === "HemisphericLight") {
  31422. var hemisphericLight = entity;
  31423. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_lights_hemisphericLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__["HemisphericLightPropertyGridComponent"], { globalState: this.props.globalState, light: hemisphericLight, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31424. }
  31425. if (className === "PointLight") {
  31426. var pointLight = entity;
  31427. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_lights_pointLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_9__["PointLightPropertyGridComponent"], { globalState: this.props.globalState, light: pointLight, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31428. }
  31429. if (className === "DirectionalLight") {
  31430. var pointLight = entity;
  31431. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_lights_directionalLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_41__["DirectionalLightPropertyGridComponent"], { globalState: this.props.globalState, light: pointLight, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31432. }
  31433. if (className === "SpotLight") {
  31434. var pointLight = entity;
  31435. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_lights_spotLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_42__["SpotLightPropertyGridComponent"], { globalState: this.props.globalState, light: pointLight, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31436. }
  31437. if (className.indexOf("TransformNode") !== -1 || className.indexOf("Mesh") !== -1) {
  31438. var transformNode = entity;
  31439. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_meshes_transformNodePropertyGridComponent__WEBPACK_IMPORTED_MODULE_13__["TransformNodePropertyGridComponent"], { transformNode: transformNode, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31440. }
  31441. if (className === "StandardMaterial") {
  31442. var material = entity;
  31443. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_standardMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_4__["StandardMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31444. }
  31445. if (className === "NodeMaterial") {
  31446. var material = entity;
  31447. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_nodeMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_44__["NodeMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31448. }
  31449. if (className === "PBRMaterial") {
  31450. var material = entity;
  31451. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_pbrMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["PBRMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31452. }
  31453. if (className === "PBRMetallicRoughnessMaterial") {
  31454. var material = entity;
  31455. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_pbrMetallicRoughnessMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_31__["PBRMetallicRoughnessMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31456. }
  31457. if (className === "PBRSpecularGlossinessMaterial") {
  31458. var material = entity;
  31459. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_pbrSpecularGlossinessMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_32__["PBRSpecularGlossinessMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31460. }
  31461. if (className === "BackgroundMaterial") {
  31462. var material = entity;
  31463. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_backgroundMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_14__["BackgroundMaterialPropertyGridComponent"], { globalState: this.props.globalState, material: material, lockObject: this._lockObject, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31464. }
  31465. if (className === "AnimationGroup") {
  31466. var animationGroup = entity;
  31467. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_animationGroupPropertyGridComponent__WEBPACK_IMPORTED_MODULE_19__["AnimationGroupGridComponent"], { globalState: this.props.globalState, animationGroup: animationGroup, scene: this.props.scene, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31468. }
  31469. if (className.indexOf("Material") !== -1) {
  31470. var material = entity;
  31471. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_materialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_3__["MaterialPropertyGridComponent"], { material: material, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31472. }
  31473. if (className.indexOf("DefaultRenderingPipeline") !== -1) {
  31474. var renderPipeline = entity;
  31475. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_defaultRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_36__["DefaultRenderingPipelinePropertyGridComponent"], { renderPipeline: renderPipeline, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31476. }
  31477. if (className.indexOf("LensRenderingPipeline") !== -1) {
  31478. var renderPipeline = entity;
  31479. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_lensRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_43__["LensRenderingPipelinePropertyGridComponent"], { renderPipeline: renderPipeline, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31480. }
  31481. if (className.indexOf("SSAORenderingPipeline") !== -1) {
  31482. var renderPipeline = entity;
  31483. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_ssaoRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_37__["SSAORenderingPipelinePropertyGridComponent"], { renderPipeline: renderPipeline, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31484. }
  31485. if (className.indexOf("SSAO2RenderingPipeline") !== -1) {
  31486. var renderPipeline = entity;
  31487. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_ssao2RenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_38__["SSAO2RenderingPipelinePropertyGridComponent"], { renderPipeline: renderPipeline, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31488. }
  31489. if (className.indexOf("RenderingPipeline") !== -1) {
  31490. var renderPipeline = entity;
  31491. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_renderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_35__["RenderingPipelinePropertyGridComponent"], { renderPipeline: renderPipeline, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31492. }
  31493. if (className.indexOf("PostProcess") !== -1) {
  31494. var postProcess = entity;
  31495. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_postProcesses_postProcessPropertyGridComponent__WEBPACK_IMPORTED_MODULE_34__["PostProcessPropertyGridComponent"], { postProcess: postProcess, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31496. }
  31497. if (className.indexOf("Texture") !== -1) {
  31498. var texture = entity;
  31499. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_materials_texturePropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__["TexturePropertyGridComponent"], { texture: texture, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31500. }
  31501. if (className.indexOf("Skeleton") !== -1) {
  31502. var skeleton = entity;
  31503. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_meshes_skeletonPropertyGridComponent__WEBPACK_IMPORTED_MODULE_39__["SkeletonPropertyGridComponent"], { skeleton: skeleton, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31504. }
  31505. if (className.indexOf("Bone") !== -1) {
  31506. var bone = entity;
  31507. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_meshes_bonePropertyGridComponent__WEBPACK_IMPORTED_MODULE_40__["BonePropertyGridComponent"], { bone: bone, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31508. }
  31509. if (className === "TextBlock") {
  31510. var textBlock = entity;
  31511. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_textBlockPropertyGridComponent__WEBPACK_IMPORTED_MODULE_16__["TextBlockPropertyGridComponent"], { textBlock: textBlock, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31512. }
  31513. if (className === "InputText") {
  31514. var inputText = entity;
  31515. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_inputTextPropertyGridComponent__WEBPACK_IMPORTED_MODULE_17__["InputTextPropertyGridComponent"], { inputText: inputText, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31516. }
  31517. if (className === "ColorPicker") {
  31518. var colorPicker = entity;
  31519. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_colorPickerPropertyGridComponent__WEBPACK_IMPORTED_MODULE_18__["ColorPickerPropertyGridComponent"], { colorPicker: colorPicker, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31520. }
  31521. if (className === "Image") {
  31522. var image = entity;
  31523. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_imagePropertyGridComponent__WEBPACK_IMPORTED_MODULE_21__["ImagePropertyGridComponent"], { image: image, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31524. }
  31525. if (className === "Slider") {
  31526. var slider = entity;
  31527. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_sliderPropertyGridComponent__WEBPACK_IMPORTED_MODULE_22__["SliderPropertyGridComponent"], { slider: slider, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31528. }
  31529. if (className === "ImageBasedSlider") {
  31530. var imageBasedSlider = entity;
  31531. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_imageBasedSliderPropertyGridComponent__WEBPACK_IMPORTED_MODULE_23__["ImageBasedSliderPropertyGridComponent"], { imageBasedSlider: imageBasedSlider, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31532. }
  31533. if (className === "Rectangle") {
  31534. var rectangle = entity;
  31535. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_rectanglePropertyGridComponent__WEBPACK_IMPORTED_MODULE_24__["RectanglePropertyGridComponent"], { rectangle: rectangle, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31536. }
  31537. if (className === "StackPanel") {
  31538. var stackPanel = entity;
  31539. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_stackPanelPropertyGridComponent__WEBPACK_IMPORTED_MODULE_33__["StackPanelPropertyGridComponent"], { stackPanel: stackPanel, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31540. }
  31541. if (className === "Grid") {
  31542. var grid = entity;
  31543. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_gridPropertyGridComponent__WEBPACK_IMPORTED_MODULE_30__["GridPropertyGridComponent"], { grid: grid, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31544. }
  31545. if (className === "ScrollViewer") {
  31546. var scrollViewer = entity;
  31547. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_scrollViewerPropertyGridComponent__WEBPACK_IMPORTED_MODULE_29__["ScrollViewerPropertyGridComponent"], { scrollViewer: scrollViewer, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31548. }
  31549. if (className === "Ellipse") {
  31550. var ellipse = entity;
  31551. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_ellipsePropertyGridComponent__WEBPACK_IMPORTED_MODULE_25__["EllipsePropertyGridComponent"], { ellipse: ellipse, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31552. }
  31553. if (className === "Checkbox") {
  31554. var checkbox = entity;
  31555. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_checkboxPropertyGridComponent__WEBPACK_IMPORTED_MODULE_26__["CheckboxPropertyGridComponent"], { checkbox: checkbox, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31556. }
  31557. if (className === "RadioButton") {
  31558. var radioButton = entity;
  31559. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_radioButtonPropertyGridComponent__WEBPACK_IMPORTED_MODULE_27__["RadioButtonPropertyGridComponent"], { radioButton: radioButton, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31560. }
  31561. if (className === "Line") {
  31562. var line = entity;
  31563. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_linePropertyGridComponent__WEBPACK_IMPORTED_MODULE_28__["LinePropertyGridComponent"], { line: line, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31564. }
  31565. if (entity._host) {
  31566. var control = entity;
  31567. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_propertyGrids_gui_controlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_15__["ControlPropertyGridComponent"], { control: control, globalState: this.props.globalState, lockObject: this._lockObject, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  31568. }
  31569. }
  31570. return null;
  31571. };
  31572. return PropertyGridTabComponent;
  31573. }(_paneComponent__WEBPACK_IMPORTED_MODULE_2__["PaneComponent"]));
  31574. /***/ }),
  31575. /***/ "./components/actionTabs/tabs/propertyGrids/animationGroupPropertyGridComponent.tsx":
  31576. /*!******************************************************************************************!*\
  31577. !*** ./components/actionTabs/tabs/propertyGrids/animationGroupPropertyGridComponent.tsx ***!
  31578. \******************************************************************************************/
  31579. /*! exports provided: AnimationGroupGridComponent */
  31580. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31581. "use strict";
  31582. __webpack_require__.r(__webpack_exports__);
  31583. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationGroupGridComponent", function() { return AnimationGroupGridComponent; });
  31584. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31585. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31586. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31587. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  31588. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31589. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  31590. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  31591. var AnimationGroupGridComponent = /** @class */ (function (_super) {
  31592. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](AnimationGroupGridComponent, _super);
  31593. function AnimationGroupGridComponent(props) {
  31594. var _this = _super.call(this, props) || this;
  31595. var animationGroup = _this.props.animationGroup;
  31596. _this.state = { playButtonText: animationGroup.isPlaying ? "Pause" : "Play", currentFrame: 0 };
  31597. return _this;
  31598. }
  31599. AnimationGroupGridComponent.prototype.disconnect = function (animationGroup) {
  31600. if (this._onAnimationGroupPlayObserver) {
  31601. animationGroup.onAnimationGroupPlayObservable.remove(this._onAnimationGroupPlayObserver);
  31602. this._onAnimationGroupPlayObserver = null;
  31603. }
  31604. if (this._onAnimationGroupPauseObserver) {
  31605. animationGroup.onAnimationGroupPauseObservable.remove(this._onAnimationGroupPauseObserver);
  31606. this._onAnimationGroupPauseObserver = null;
  31607. }
  31608. };
  31609. AnimationGroupGridComponent.prototype.connect = function (animationGroup) {
  31610. var _this = this;
  31611. this._onAnimationGroupPlayObserver = animationGroup.onAnimationGroupPlayObservable.add(function () {
  31612. _this.forceUpdate();
  31613. });
  31614. this._onAnimationGroupPauseObserver = animationGroup.onAnimationGroupPauseObservable.add(function () {
  31615. _this.forceUpdate();
  31616. });
  31617. this.updateCurrentFrame(animationGroup);
  31618. };
  31619. AnimationGroupGridComponent.prototype.updateCurrentFrame = function (animationGroup) {
  31620. var targetedAnimations = animationGroup.targetedAnimations;
  31621. if (targetedAnimations.length > 0) {
  31622. var runtimeAnimations = animationGroup.targetedAnimations[0].animation.runtimeAnimations;
  31623. if (runtimeAnimations.length > 0) {
  31624. this.setState({ currentFrame: runtimeAnimations[0].currentFrame });
  31625. }
  31626. else {
  31627. this.setState({ currentFrame: 0 });
  31628. }
  31629. }
  31630. };
  31631. AnimationGroupGridComponent.prototype.shouldComponentUpdate = function (nextProps) {
  31632. if (this.props.animationGroup !== nextProps.animationGroup) {
  31633. this.disconnect(this.props.animationGroup);
  31634. this.connect(nextProps.animationGroup);
  31635. }
  31636. return true;
  31637. };
  31638. AnimationGroupGridComponent.prototype.componentWillMount = function () {
  31639. var _this = this;
  31640. this.connect(this.props.animationGroup);
  31641. this._onBeforeRenderObserver = this.props.scene.onBeforeRenderObservable.add(function () {
  31642. _this.updateCurrentFrame(_this.props.animationGroup);
  31643. });
  31644. };
  31645. AnimationGroupGridComponent.prototype.componentWillUnmount = function () {
  31646. this.disconnect(this.props.animationGroup);
  31647. if (this._onBeforeRenderObserver) {
  31648. this.props.scene.onBeforeRenderObservable.remove(this._onBeforeRenderObserver);
  31649. this._onBeforeRenderObserver = null;
  31650. }
  31651. };
  31652. AnimationGroupGridComponent.prototype.playOrPause = function () {
  31653. var animationGroup = this.props.animationGroup;
  31654. if (animationGroup.isPlaying) {
  31655. this.setState({ playButtonText: "Play" });
  31656. animationGroup.pause();
  31657. }
  31658. else {
  31659. this.setState({ playButtonText: "Pause" });
  31660. this.props.scene.animationGroups.forEach(function (grp) { return grp.pause(); });
  31661. animationGroup.play(true);
  31662. }
  31663. };
  31664. AnimationGroupGridComponent.prototype.onCurrentFrameChange = function (value) {
  31665. var animationGroup = this.props.animationGroup;
  31666. if (!animationGroup.isPlaying) {
  31667. animationGroup.play(true);
  31668. animationGroup.goToFrame(value);
  31669. animationGroup.pause();
  31670. }
  31671. else {
  31672. animationGroup.goToFrame(value);
  31673. }
  31674. this.setState({ currentFrame: value });
  31675. };
  31676. AnimationGroupGridComponent.prototype.render = function () {
  31677. var _this = this;
  31678. var animationGroup = this.props.animationGroup;
  31679. var playButtonText = animationGroup.isPlaying ? "Pause" : "Play";
  31680. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  31681. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CONTROLS" },
  31682. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_2__["ButtonLineComponent"], { label: playButtonText, onClick: function () { return _this.playOrPause(); } }),
  31683. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Speed ratio", minimum: 0, maximum: 10, step: 0.1, target: animationGroup, propertyName: "speedRatio", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31684. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { ref: "timeline", label: "Current frame", minimum: animationGroup.from, maximum: animationGroup.to, step: (animationGroup.to - animationGroup.from) / 1000.0, directValue: this.state.currentFrame, onInput: function (value) { return _this.onCurrentFrameChange(value); } })),
  31685. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "INFOS" },
  31686. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Animation count", value: animationGroup.targetedAnimations.length.toString() }),
  31687. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "From", value: animationGroup.from.toFixed(2) }),
  31688. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "To", value: animationGroup.to.toFixed(2) }))));
  31689. };
  31690. return AnimationGroupGridComponent;
  31691. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31692. /***/ }),
  31693. /***/ "./components/actionTabs/tabs/propertyGrids/animationPropertyGridComponent.tsx":
  31694. /*!*************************************************************************************!*\
  31695. !*** ./components/actionTabs/tabs/propertyGrids/animationPropertyGridComponent.tsx ***!
  31696. \*************************************************************************************/
  31697. /*! exports provided: AnimationGridComponent */
  31698. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31699. "use strict";
  31700. __webpack_require__.r(__webpack_exports__);
  31701. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationGridComponent", function() { return AnimationGridComponent; });
  31702. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31703. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31704. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31705. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  31706. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31707. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  31708. /* harmony import */ var babylonjs_Animations_animationPropertiesOverride__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! babylonjs/Animations/animationPropertiesOverride */ "babylonjs/Misc/observable");
  31709. /* harmony import */ var babylonjs_Animations_animationPropertiesOverride__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Animations_animationPropertiesOverride__WEBPACK_IMPORTED_MODULE_5__);
  31710. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  31711. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  31712. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  31713. var AnimationGridComponent = /** @class */ (function (_super) {
  31714. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](AnimationGridComponent, _super);
  31715. function AnimationGridComponent(props) {
  31716. var _this = _super.call(this, props) || this;
  31717. _this._animations = null;
  31718. _this._animationControl = {
  31719. from: 0,
  31720. to: 0,
  31721. loop: false
  31722. };
  31723. _this._isPlaying = false;
  31724. _this.state = { currentFrame: 0 };
  31725. var animatableAsAny = _this.props.animatable;
  31726. _this._ranges = animatableAsAny.getAnimationRanges ? animatableAsAny.getAnimationRanges() : [];
  31727. if (animatableAsAny.getAnimatables) {
  31728. var animatables = animatableAsAny.getAnimatables();
  31729. _this._animations = new Array();
  31730. animatables.forEach(function (animatable) {
  31731. var _a;
  31732. if (animatable.animations) {
  31733. (_a = _this._animations).push.apply(_a, animatable.animations);
  31734. }
  31735. });
  31736. // Extract from and to
  31737. if (_this._animations && _this._animations.length) {
  31738. _this._animations.forEach(function (animation) {
  31739. var keys = animation.getKeys();
  31740. if (keys && keys.length > 0) {
  31741. if (keys[0].frame < _this._animationControl.from) {
  31742. _this._animationControl.from = keys[0].frame;
  31743. }
  31744. var lastKeyIndex = keys.length - 1;
  31745. if (keys[lastKeyIndex].frame > _this._animationControl.to) {
  31746. _this._animationControl.to = keys[lastKeyIndex].frame;
  31747. }
  31748. }
  31749. });
  31750. }
  31751. }
  31752. return _this;
  31753. }
  31754. AnimationGridComponent.prototype.playOrPause = function () {
  31755. var animatable = this.props.animatable;
  31756. this._isPlaying = this.props.scene.getAllAnimatablesByTarget(animatable).length > 0;
  31757. if (this._isPlaying) {
  31758. this.props.scene.stopAnimation(this.props.animatable);
  31759. this._runningAnimatable = null;
  31760. }
  31761. else {
  31762. this._runningAnimatable = this.props.scene.beginAnimation(this.props.animatable, this._animationControl.from, this._animationControl.to, this._animationControl.loop);
  31763. }
  31764. this.forceUpdate();
  31765. };
  31766. AnimationGridComponent.prototype.componentWillMount = function () {
  31767. var _this = this;
  31768. this._onBeforeRenderObserver = this.props.scene.onBeforeRenderObservable.add(function () {
  31769. if (!_this._isPlaying || !_this._runningAnimatable) {
  31770. return;
  31771. }
  31772. _this.setState({ currentFrame: _this._runningAnimatable.masterFrame });
  31773. });
  31774. };
  31775. AnimationGridComponent.prototype.componentWillUnmount = function () {
  31776. if (this._onBeforeRenderObserver) {
  31777. this.props.scene.onBeforeRenderObservable.remove(this._onBeforeRenderObserver);
  31778. this._onBeforeRenderObserver = null;
  31779. }
  31780. };
  31781. AnimationGridComponent.prototype.onCurrentFrameChange = function (value) {
  31782. if (!this._runningAnimatable) {
  31783. return;
  31784. }
  31785. this._runningAnimatable.goToFrame(value);
  31786. this.setState({ currentFrame: value });
  31787. };
  31788. AnimationGridComponent.prototype.render = function () {
  31789. var _this = this;
  31790. var animatable = this.props.animatable;
  31791. var animatableAsAny = this.props.animatable;
  31792. var animatablesForTarget = this.props.scene.getAllAnimatablesByTarget(animatable);
  31793. this._isPlaying = animatablesForTarget.length > 0;
  31794. if (this._isPlaying && !this._runningAnimatable) {
  31795. this._runningAnimatable = animatablesForTarget[0];
  31796. }
  31797. if (this._runningAnimatable) {
  31798. this._animationControl.from = this._runningAnimatable.fromFrame;
  31799. this._animationControl.to = this._runningAnimatable.toFrame;
  31800. this._animationControl.loop = this._runningAnimatable.loopAnimation;
  31801. }
  31802. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  31803. (this._ranges.length > 0 || this._animations && this._animations.length > 0) &&
  31804. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ANIMATION OVERRIDE" },
  31805. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Enable override", onSelect: function (value) {
  31806. if (value) {
  31807. animatableAsAny.animationPropertiesOverride = new babylonjs_Animations_animationPropertiesOverride__WEBPACK_IMPORTED_MODULE_5__["AnimationPropertiesOverride"]();
  31808. animatableAsAny.animationPropertiesOverride.blendingSpeed = 0.05;
  31809. }
  31810. else {
  31811. animatableAsAny.animationPropertiesOverride = null;
  31812. }
  31813. _this.forceUpdate();
  31814. }, isSelected: function () { return animatableAsAny.animationPropertiesOverride != null; }, onValueChanged: function () { return _this.forceUpdate(); } }),
  31815. animatableAsAny.animationPropertiesOverride != null &&
  31816. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  31817. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Enable blending", target: animatableAsAny.animationPropertiesOverride, propertyName: "enableBlending", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31818. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Blending speed", target: animatableAsAny.animationPropertiesOverride, propertyName: "blendingSpeed", minimum: 0, maximum: 0.1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  31819. this._ranges.length > 0 &&
  31820. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ANIMATION RANGES" }, this._ranges.map(function (range) {
  31821. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_2__["ButtonLineComponent"], { key: range.name, label: range.name, onClick: function () {
  31822. _this._runningAnimatable = null;
  31823. _this.props.scene.beginAnimation(animatable, range.from, range.to, true);
  31824. } }));
  31825. })),
  31826. this._animations && this._animations.length > 0 &&
  31827. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ANIMATIONS" },
  31828. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "Count", value: this._animations.length.toString() }),
  31829. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_7__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "From", target: this._animationControl, propertyName: "from" }),
  31830. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_7__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "To", target: this._animationControl, propertyName: "to" }),
  31831. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Loop", onSelect: function (value) { return _this._animationControl.loop = value; }, isSelected: function () { return _this._animationControl.loop; } }),
  31832. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_2__["ButtonLineComponent"], { label: this._isPlaying ? "Stop" : "Play", onClick: function () { return _this.playOrPause(); } }),
  31833. this._isPlaying &&
  31834. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { ref: "timeline", label: "Current frame", minimum: this._animationControl.from, maximum: this._animationControl.to, step: (this._animationControl.to - this._animationControl.from) / 1000.0, directValue: this.state.currentFrame, onInput: function (value) { return _this.onCurrentFrameChange(value); } }))));
  31835. };
  31836. return AnimationGridComponent;
  31837. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31838. /***/ }),
  31839. /***/ "./components/actionTabs/tabs/propertyGrids/cameras/arcRotateCameraPropertyGridComponent.tsx":
  31840. /*!***************************************************************************************************!*\
  31841. !*** ./components/actionTabs/tabs/propertyGrids/cameras/arcRotateCameraPropertyGridComponent.tsx ***!
  31842. \***************************************************************************************************/
  31843. /*! exports provided: ArcRotateCameraPropertyGridComponent */
  31844. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31845. "use strict";
  31846. __webpack_require__.r(__webpack_exports__);
  31847. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ArcRotateCameraPropertyGridComponent", function() { return ArcRotateCameraPropertyGridComponent; });
  31848. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31849. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31850. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31851. /* harmony import */ var _commonCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonCameraPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/cameras/commonCameraPropertyGridComponent.tsx");
  31852. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31853. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  31854. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  31855. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  31856. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  31857. var ArcRotateCameraPropertyGridComponent = /** @class */ (function (_super) {
  31858. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ArcRotateCameraPropertyGridComponent, _super);
  31859. function ArcRotateCameraPropertyGridComponent(props) {
  31860. return _super.call(this, props) || this;
  31861. }
  31862. ArcRotateCameraPropertyGridComponent.prototype.render = function () {
  31863. var camera = this.props.camera;
  31864. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  31865. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonCameraPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, camera: camera, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31866. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMS" },
  31867. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_7__["Vector3LineComponent"], { label: "Target", target: camera, propertyName: "target", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31868. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Alpha", useEuler: this.props.globalState.onlyUseEulers, target: camera, propertyName: "alpha", minimum: camera.lowerAlphaLimit || 0, maximum: camera.upperAlphaLimit || 2 * Math.PI, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31869. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Beta", useEuler: this.props.globalState.onlyUseEulers, target: camera, propertyName: "beta", minimum: camera.lowerAlphaLimit || 0, maximum: camera.upperBetaLimit || 2 * Math.PI, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31870. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Radius", target: camera, propertyName: "radius", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31871. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CONTROLS", closed: true },
  31872. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Angular sensitivity X", target: camera, propertyName: "angularSensibilityX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31873. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Angular sensitivity Y", target: camera, propertyName: "angularSensibilityY", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31874. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Panning sensitivity", target: camera, propertyName: "panningSensibility", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31875. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Pinch delta percentage", target: camera, propertyName: "pinchDeltaPercentage", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31876. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Wheel delta percentage", target: camera, propertyName: "wheelDeltaPercentage", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31877. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Speed", target: camera, propertyName: "speed", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31878. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "COLLISIONS", closed: true },
  31879. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Check collisions", target: camera, propertyName: "checkCollisions", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31880. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_7__["Vector3LineComponent"], { label: "Collision radius", target: camera, propertyName: "collisionRadius", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31881. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIMITS", closed: true },
  31882. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Lower alpha limit", target: camera, propertyName: "lowerAlphaLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31883. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Upper alpha limit", target: camera, propertyName: "upperAlphaLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31884. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Lower beta limit", target: camera, propertyName: "lowerBetaLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31885. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Upper beta limit", target: camera, propertyName: "upperBetaLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31886. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Lower radius limit", target: camera, propertyName: "lowerRadiusLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31887. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Upper radius limit", target: camera, propertyName: "upperRadiusLimit", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31888. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "BEHAVIORS", closed: true },
  31889. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Auto rotation", target: camera, propertyName: "useAutoRotationBehavior", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31890. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Bouncing", target: camera, propertyName: "useBouncingBehavior", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31891. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Framing", target: camera, propertyName: "useFramingBehavior", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  31892. };
  31893. return ArcRotateCameraPropertyGridComponent;
  31894. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31895. /***/ }),
  31896. /***/ "./components/actionTabs/tabs/propertyGrids/cameras/commonCameraPropertyGridComponent.tsx":
  31897. /*!************************************************************************************************!*\
  31898. !*** ./components/actionTabs/tabs/propertyGrids/cameras/commonCameraPropertyGridComponent.tsx ***!
  31899. \************************************************************************************************/
  31900. /*! exports provided: CommonCameraPropertyGridComponent */
  31901. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31902. "use strict";
  31903. __webpack_require__.r(__webpack_exports__);
  31904. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonCameraPropertyGridComponent", function() { return CommonCameraPropertyGridComponent; });
  31905. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31906. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31907. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31908. /* harmony import */ var babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Cameras/camera */ "babylonjs/Misc/observable");
  31909. /* harmony import */ var babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__);
  31910. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  31911. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31912. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  31913. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  31914. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  31915. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  31916. var CommonCameraPropertyGridComponent = /** @class */ (function (_super) {
  31917. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonCameraPropertyGridComponent, _super);
  31918. function CommonCameraPropertyGridComponent(props) {
  31919. var _this = _super.call(this, props) || this;
  31920. _this.state = { mode: _this.props.camera.mode };
  31921. return _this;
  31922. }
  31923. CommonCameraPropertyGridComponent.prototype.render = function () {
  31924. var _this = this;
  31925. var camera = this.props.camera;
  31926. var modeOptions = [
  31927. { label: "Perspective", value: babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].PERSPECTIVE_CAMERA },
  31928. { label: "Orthographic", value: babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].ORTHOGRAPHIC_CAMERA }
  31929. ];
  31930. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  31931. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: camera, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31932. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  31933. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "ID", value: camera.id }),
  31934. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "Unique ID", value: camera.uniqueId.toString() }),
  31935. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "Class", value: camera.getClassName() }),
  31936. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Near plane", target: camera, propertyName: "minZ", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31937. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Far plane", target: camera, propertyName: "maxZ", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31938. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Inertia", target: camera, propertyName: "inertia", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31939. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Mode", options: modeOptions, target: camera, propertyName: "mode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }),
  31940. camera.mode === babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].PERSPECTIVE_CAMERA &&
  31941. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Field of view", target: camera, useEuler: this.props.globalState.onlyUseEulers, propertyName: "fov", minimum: 0.1, maximum: Math.PI, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31942. camera.mode === babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].ORTHOGRAPHIC_CAMERA &&
  31943. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Left", target: camera, propertyName: "orthoLeft", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31944. camera.mode === babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].ORTHOGRAPHIC_CAMERA &&
  31945. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Top", target: camera, propertyName: "orthoTop", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31946. camera.mode === babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].ORTHOGRAPHIC_CAMERA &&
  31947. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Right", target: camera, propertyName: "orthoRight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31948. camera.mode === babylonjs_Cameras_camera__WEBPACK_IMPORTED_MODULE_2__["Camera"].ORTHOGRAPHIC_CAMERA &&
  31949. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Bottom", target: camera, propertyName: "orthoBottom", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  31950. };
  31951. return CommonCameraPropertyGridComponent;
  31952. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31953. /***/ }),
  31954. /***/ "./components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent.tsx":
  31955. /*!**********************************************************************************************!*\
  31956. !*** ./components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent.tsx ***!
  31957. \**********************************************************************************************/
  31958. /*! exports provided: FreeCameraPropertyGridComponent */
  31959. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  31960. "use strict";
  31961. __webpack_require__.r(__webpack_exports__);
  31962. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FreeCameraPropertyGridComponent", function() { return FreeCameraPropertyGridComponent; });
  31963. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  31964. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  31965. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  31966. /* harmony import */ var _commonCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonCameraPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/cameras/commonCameraPropertyGridComponent.tsx");
  31967. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  31968. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  31969. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  31970. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  31971. var FreeCameraPropertyGridComponent = /** @class */ (function (_super) {
  31972. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](FreeCameraPropertyGridComponent, _super);
  31973. function FreeCameraPropertyGridComponent(props) {
  31974. return _super.call(this, props) || this;
  31975. }
  31976. FreeCameraPropertyGridComponent.prototype.render = function () {
  31977. var camera = this.props.camera;
  31978. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  31979. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonCameraPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonCameraPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, camera: camera, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31980. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMS" },
  31981. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Position", target: camera, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31982. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CONTROLS", closed: true },
  31983. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Angular sensitivity", target: camera, propertyName: "angularSensibility", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31984. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Speed", target: camera, propertyName: "speed", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  31985. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "COLLISIONS", closed: true },
  31986. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Check collisions", target: camera, propertyName: "checkCollisions", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31987. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Apply gravity", target: camera, propertyName: "applyGravity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31988. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Ellipsoid", target: camera, propertyName: "ellipsoid", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  31989. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Ellipsoid offset", target: camera, propertyName: "ellipsoidOffset", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  31990. };
  31991. return FreeCameraPropertyGridComponent;
  31992. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  31993. /***/ }),
  31994. /***/ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx":
  31995. /*!**********************************************************************************!*\
  31996. !*** ./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx ***!
  31997. \**********************************************************************************/
  31998. /*! exports provided: CustomPropertyGridComponent */
  31999. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32000. "use strict";
  32001. __webpack_require__.r(__webpack_exports__);
  32002. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomPropertyGridComponent", function() { return CustomPropertyGridComponent; });
  32003. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32004. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32005. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32006. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  32007. /* harmony import */ var babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs/Misc/iInspectable */ "babylonjs/Misc/observable");
  32008. /* harmony import */ var babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__);
  32009. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32010. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  32011. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  32012. /* harmony import */ var _lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../lines/quaternionLineComponent */ "./components/actionTabs/lines/quaternionLineComponent.tsx");
  32013. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32014. var CustomPropertyGridComponent = /** @class */ (function (_super) {
  32015. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CustomPropertyGridComponent, _super);
  32016. function CustomPropertyGridComponent(props) {
  32017. var _this = _super.call(this, props) || this;
  32018. _this.state = { mode: 0 };
  32019. return _this;
  32020. }
  32021. CustomPropertyGridComponent.prototype.renderInspectable = function (inspectable) {
  32022. switch (inspectable.type) {
  32023. case babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__["InspectableType"].Checkbox:
  32024. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { key: inspectable.label, label: inspectable.label, target: this.props.target, propertyName: inspectable.propertyName, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  32025. case babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__["InspectableType"].Slider:
  32026. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { key: inspectable.label, label: inspectable.label, target: this.props.target, propertyName: inspectable.propertyName, step: inspectable.step !== undefined ? inspectable.step : 0.1, minimum: inspectable.min !== undefined ? inspectable.min : 0, maximum: inspectable.max !== undefined ? inspectable.max : 1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  32027. case babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__["InspectableType"].Vector3:
  32028. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector3LineComponent"], { key: inspectable.label, label: inspectable.label, target: this.props.target, propertyName: inspectable.propertyName, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  32029. case babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__["InspectableType"].Quaternion:
  32030. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_7__["QuaternionLineComponent"], { useEuler: this.props.globalState.onlyUseEulers, key: inspectable.label, label: inspectable.label, target: this.props.target, propertyName: inspectable.propertyName, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  32031. case babylonjs_Misc_iInspectable__WEBPACK_IMPORTED_MODULE_3__["InspectableType"].Color3:
  32032. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_2__["Color3LineComponent"], { key: inspectable.label, label: inspectable.label, target: this.props.target, propertyName: inspectable.propertyName, onPropertyChangedObservable: this.props.onPropertyChangedObservable }));
  32033. }
  32034. return null;
  32035. };
  32036. CustomPropertyGridComponent.prototype.render = function () {
  32037. var _this = this;
  32038. var inspectables = this.props.target.inspectableCustomProperties;
  32039. if (!inspectables || inspectables.length === 0) {
  32040. return null;
  32041. }
  32042. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_8__["LineContainerComponent"], { title: "CUSTOM", globalState: this.props.globalState }, inspectables.map(function (inspectable) {
  32043. return _this.renderInspectable(inspectable);
  32044. })));
  32045. };
  32046. return CustomPropertyGridComponent;
  32047. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32048. /***/ }),
  32049. /***/ "./components/actionTabs/tabs/propertyGrids/fogPropertyGridComponent.tsx":
  32050. /*!*******************************************************************************!*\
  32051. !*** ./components/actionTabs/tabs/propertyGrids/fogPropertyGridComponent.tsx ***!
  32052. \*******************************************************************************/
  32053. /*! exports provided: FogPropertyGridComponent */
  32054. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32055. "use strict";
  32056. __webpack_require__.r(__webpack_exports__);
  32057. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FogPropertyGridComponent", function() { return FogPropertyGridComponent; });
  32058. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32059. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32060. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32061. /* harmony import */ var babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/scene */ "babylonjs/Misc/observable");
  32062. /* harmony import */ var babylonjs_scene__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__);
  32063. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  32064. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32065. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  32066. var FogPropertyGridComponent = /** @class */ (function (_super) {
  32067. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](FogPropertyGridComponent, _super);
  32068. function FogPropertyGridComponent(props) {
  32069. var _this = _super.call(this, props) || this;
  32070. _this.state = { mode: 0 };
  32071. return _this;
  32072. }
  32073. FogPropertyGridComponent.prototype.render = function () {
  32074. var _this = this;
  32075. var scene = this.props.scene;
  32076. var fogModeOptions = [
  32077. { label: "None", value: babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_NONE },
  32078. { label: "Linear", value: babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_LINEAR },
  32079. { label: "Exp", value: babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_EXP },
  32080. { label: "Exp2", value: babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_EXP2 },
  32081. ];
  32082. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  32083. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__["OptionsLineComponent"], { label: "Fog mode", options: fogModeOptions, target: scene, propertyName: "fogMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }),
  32084. this.state.mode !== babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_NONE &&
  32085. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_3__["Color3LineComponent"], { label: "Fog color", target: scene, propertyName: "fogColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32086. (this.state.mode === babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_EXP || this.state.mode === babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_EXP2) &&
  32087. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Fog density", target: scene, propertyName: "fogDensity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32088. this.state.mode === babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_LINEAR &&
  32089. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Fog start", target: scene, propertyName: "fogStart", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32090. this.state.mode === babylonjs_scene__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_LINEAR &&
  32091. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Fog end", target: scene, propertyName: "fogEnd", onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  32092. };
  32093. return FogPropertyGridComponent;
  32094. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32095. /***/ }),
  32096. /***/ "./components/actionTabs/tabs/propertyGrids/gui/checkboxPropertyGridComponent.tsx":
  32097. /*!****************************************************************************************!*\
  32098. !*** ./components/actionTabs/tabs/propertyGrids/gui/checkboxPropertyGridComponent.tsx ***!
  32099. \****************************************************************************************/
  32100. /*! exports provided: CheckboxPropertyGridComponent */
  32101. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32102. "use strict";
  32103. __webpack_require__.r(__webpack_exports__);
  32104. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckboxPropertyGridComponent", function() { return CheckboxPropertyGridComponent; });
  32105. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32106. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32107. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32108. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32109. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32110. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32111. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32112. var CheckboxPropertyGridComponent = /** @class */ (function (_super) {
  32113. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CheckboxPropertyGridComponent, _super);
  32114. function CheckboxPropertyGridComponent(props) {
  32115. return _super.call(this, props) || this;
  32116. }
  32117. CheckboxPropertyGridComponent.prototype.render = function () {
  32118. var checkbox = this.props.checkbox;
  32119. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32120. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: checkbox, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32121. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CHECKBOX" },
  32122. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Check size ratio", target: checkbox, propertyName: "checkSizeRatio", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32123. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Checked", target: checkbox, propertyName: "isChecked", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32124. };
  32125. return CheckboxPropertyGridComponent;
  32126. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32127. /***/ }),
  32128. /***/ "./components/actionTabs/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.tsx":
  32129. /*!*******************************************************************************************!*\
  32130. !*** ./components/actionTabs/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.tsx ***!
  32131. \*******************************************************************************************/
  32132. /*! exports provided: ColorPickerPropertyGridComponent */
  32133. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32134. "use strict";
  32135. __webpack_require__.r(__webpack_exports__);
  32136. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColorPickerPropertyGridComponent", function() { return ColorPickerPropertyGridComponent; });
  32137. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32138. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32139. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32140. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32141. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32142. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  32143. var ColorPickerPropertyGridComponent = /** @class */ (function (_super) {
  32144. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ColorPickerPropertyGridComponent, _super);
  32145. function ColorPickerPropertyGridComponent(props) {
  32146. return _super.call(this, props) || this;
  32147. }
  32148. ColorPickerPropertyGridComponent.prototype.render = function () {
  32149. var colorPicker = this.props.colorPicker;
  32150. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32151. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: colorPicker, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32152. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "COLORPICKER" },
  32153. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Color", target: colorPicker, propertyName: "value", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32154. };
  32155. return ColorPickerPropertyGridComponent;
  32156. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32157. /***/ }),
  32158. /***/ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx":
  32159. /*!*********************************************************************************************!*\
  32160. !*** ./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx ***!
  32161. \*********************************************************************************************/
  32162. /*! exports provided: CommonControlPropertyGridComponent */
  32163. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32164. "use strict";
  32165. __webpack_require__.r(__webpack_exports__);
  32166. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonControlPropertyGridComponent", function() { return CommonControlPropertyGridComponent; });
  32167. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32168. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32169. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32170. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32171. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  32172. /* harmony import */ var babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/control */ "babylonjs-gui/2D/controls/image");
  32173. /* harmony import */ var babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__);
  32174. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  32175. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32176. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32177. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  32178. var CommonControlPropertyGridComponent = /** @class */ (function (_super) {
  32179. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonControlPropertyGridComponent, _super);
  32180. function CommonControlPropertyGridComponent(props) {
  32181. return _super.call(this, props) || this;
  32182. }
  32183. CommonControlPropertyGridComponent.prototype.renderGridInformation = function () {
  32184. var control = this.props.control;
  32185. if (!control.parent) {
  32186. return null;
  32187. }
  32188. var gridParent = control.parent;
  32189. if (gridParent.rowCount === undefined) {
  32190. return null;
  32191. }
  32192. var grid = gridParent;
  32193. var childCellInfo = grid.getChildCellInfo(control);
  32194. if (childCellInfo === undefined) {
  32195. return null;
  32196. }
  32197. var cellInfos = childCellInfo.split(":");
  32198. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GRID" },
  32199. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Row", value: cellInfos[0] }),
  32200. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Column", value: cellInfos[1] })));
  32201. };
  32202. CommonControlPropertyGridComponent.prototype.render = function () {
  32203. var control = this.props.control;
  32204. var horizontalOptions = [
  32205. { label: "Left", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].HORIZONTAL_ALIGNMENT_LEFT },
  32206. { label: "Right", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].HORIZONTAL_ALIGNMENT_RIGHT },
  32207. { label: "Center", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].HORIZONTAL_ALIGNMENT_CENTER },
  32208. ];
  32209. var verticalOptions = [
  32210. { label: "Top", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].VERTICAL_ALIGNMENT_TOP },
  32211. { label: "Bottom", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].VERTICAL_ALIGNMENT_BOTTOM },
  32212. { label: "Center", value: babylonjs_gui_2D_controls_control__WEBPACK_IMPORTED_MODULE_4__["Control"].VERTICAL_ALIGNMENT_CENTER },
  32213. ];
  32214. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  32215. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  32216. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Class", value: control.getClassName() }),
  32217. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Unique ID", value: control.uniqueId.toString() }),
  32218. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Alpha", target: control, propertyName: "alpha", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32219. control.color !== undefined &&
  32220. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Color", target: control, propertyName: "color", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32221. control.background !== undefined &&
  32222. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Background", target: control, propertyName: "background", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32223. this.renderGridInformation(),
  32224. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "ALIGNMENT" },
  32225. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_8__["OptionsLineComponent"], { label: "Horizontal", options: horizontalOptions, target: control, propertyName: "horizontalAlignment", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32226. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_8__["OptionsLineComponent"], { label: "Vertical", options: verticalOptions, target: control, propertyName: "verticalAlignment", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32227. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "POSITION" },
  32228. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Left", target: control, propertyName: "left", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32229. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Top", target: control, propertyName: "top", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32230. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Width", target: control, propertyName: "width", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32231. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Height", target: control, propertyName: "height", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32232. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Padding left", target: control, propertyName: "paddingLeft", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32233. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Padding top", target: control, propertyName: "paddingTop", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32234. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Padding right", target: control, propertyName: "paddingRight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32235. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Padding bottom", target: control, propertyName: "paddingBottom", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32236. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMATION", closed: true },
  32237. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "ScaleX", target: control, propertyName: "scaleX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32238. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "ScaleY", target: control, propertyName: "scaleY", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32239. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Rotation", target: control, propertyName: "rotation", minimum: 0, maximum: 2 * Math.PI, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32240. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Transform center X", target: control, propertyName: "transformCenterX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32241. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Transform center Y", target: control, propertyName: "transformCenterY", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32242. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "FONT", closed: true },
  32243. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Family", target: control, propertyName: "fontFamily", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32244. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Size", target: control, propertyName: "fontSize", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32245. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Weight", target: control, propertyName: "fontWeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32246. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Style", target: control, propertyName: "fontStyle", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32247. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHADOWS", closed: true },
  32248. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Color", target: control, propertyName: "shadowColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32249. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Offset X", target: control, propertyName: "shadowOffsetX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32250. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Offset Y", target: control, propertyName: "shadowOffsetY", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32251. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Blur", target: control, propertyName: "shadowBlur", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32252. };
  32253. return CommonControlPropertyGridComponent;
  32254. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32255. /***/ }),
  32256. /***/ "./components/actionTabs/tabs/propertyGrids/gui/controlPropertyGridComponent.tsx":
  32257. /*!***************************************************************************************!*\
  32258. !*** ./components/actionTabs/tabs/propertyGrids/gui/controlPropertyGridComponent.tsx ***!
  32259. \***************************************************************************************/
  32260. /*! exports provided: ControlPropertyGridComponent */
  32261. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32262. "use strict";
  32263. __webpack_require__.r(__webpack_exports__);
  32264. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ControlPropertyGridComponent", function() { return ControlPropertyGridComponent; });
  32265. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32266. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32267. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32268. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32269. var ControlPropertyGridComponent = /** @class */ (function (_super) {
  32270. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ControlPropertyGridComponent, _super);
  32271. function ControlPropertyGridComponent(props) {
  32272. return _super.call(this, props) || this;
  32273. }
  32274. ControlPropertyGridComponent.prototype.render = function () {
  32275. var control = this.props.control;
  32276. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32277. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: control, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  32278. };
  32279. return ControlPropertyGridComponent;
  32280. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32281. /***/ }),
  32282. /***/ "./components/actionTabs/tabs/propertyGrids/gui/ellipsePropertyGridComponent.tsx":
  32283. /*!***************************************************************************************!*\
  32284. !*** ./components/actionTabs/tabs/propertyGrids/gui/ellipsePropertyGridComponent.tsx ***!
  32285. \***************************************************************************************/
  32286. /*! exports provided: EllipsePropertyGridComponent */
  32287. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32288. "use strict";
  32289. __webpack_require__.r(__webpack_exports__);
  32290. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EllipsePropertyGridComponent", function() { return EllipsePropertyGridComponent; });
  32291. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32292. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32293. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32294. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32295. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32296. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32297. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32298. var EllipsePropertyGridComponent = /** @class */ (function (_super) {
  32299. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](EllipsePropertyGridComponent, _super);
  32300. function EllipsePropertyGridComponent(props) {
  32301. return _super.call(this, props) || this;
  32302. }
  32303. EllipsePropertyGridComponent.prototype.render = function () {
  32304. var ellipse = this.props.ellipse;
  32305. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32306. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: ellipse, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32307. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ELLIPSE" },
  32308. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Clip children", target: ellipse, propertyName: "clipChildren", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32309. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Thickness", target: ellipse, propertyName: "thickness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32310. };
  32311. return EllipsePropertyGridComponent;
  32312. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32313. /***/ }),
  32314. /***/ "./components/actionTabs/tabs/propertyGrids/gui/gridPropertyGridComponent.tsx":
  32315. /*!************************************************************************************!*\
  32316. !*** ./components/actionTabs/tabs/propertyGrids/gui/gridPropertyGridComponent.tsx ***!
  32317. \************************************************************************************/
  32318. /*! exports provided: GridPropertyGridComponent */
  32319. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32320. "use strict";
  32321. __webpack_require__.r(__webpack_exports__);
  32322. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GridPropertyGridComponent", function() { return GridPropertyGridComponent; });
  32323. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32324. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32325. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32326. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32327. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32328. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  32329. var GridPropertyGridComponent = /** @class */ (function (_super) {
  32330. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](GridPropertyGridComponent, _super);
  32331. function GridPropertyGridComponent(props) {
  32332. return _super.call(this, props) || this;
  32333. }
  32334. GridPropertyGridComponent.prototype.renderRows = function () {
  32335. var grid = this.props.grid;
  32336. var rows = [];
  32337. for (var index = 0; index < grid.rowCount; index++) {
  32338. rows.push(grid.getRowDefinition(index));
  32339. }
  32340. return (rows.map(function (rd, i) {
  32341. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { key: "r" + i, label: "Row " + i, value: rd.toString(grid.host, 2), underline: i === grid.rowCount - 1 }));
  32342. }));
  32343. };
  32344. GridPropertyGridComponent.prototype.renderColumns = function () {
  32345. var grid = this.props.grid;
  32346. var cols = [];
  32347. for (var index = 0; index < grid.columnCount; index++) {
  32348. cols.push(grid.getColumnDefinition(index));
  32349. }
  32350. return (cols.map(function (cd, i) {
  32351. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { key: "c" + i, label: "Column " + i, value: cd.toString(grid.host, 2) }));
  32352. }));
  32353. };
  32354. GridPropertyGridComponent.prototype.render = function () {
  32355. var grid = this.props.grid;
  32356. var cols = [];
  32357. for (var index = 0; index < grid.rowCount; index++) {
  32358. cols.push(grid.getColumnDefinition(index));
  32359. }
  32360. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32361. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: grid, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32362. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "GRID" },
  32363. this.renderRows(),
  32364. this.renderColumns())));
  32365. };
  32366. return GridPropertyGridComponent;
  32367. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32368. /***/ }),
  32369. /***/ "./components/actionTabs/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.tsx":
  32370. /*!************************************************************************************************!*\
  32371. !*** ./components/actionTabs/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.tsx ***!
  32372. \************************************************************************************************/
  32373. /*! exports provided: ImageBasedSliderPropertyGridComponent */
  32374. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32375. "use strict";
  32376. __webpack_require__.r(__webpack_exports__);
  32377. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageBasedSliderPropertyGridComponent", function() { return ImageBasedSliderPropertyGridComponent; });
  32378. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32379. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32380. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32381. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32382. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32383. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32384. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32385. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32386. var ImageBasedSliderPropertyGridComponent = /** @class */ (function (_super) {
  32387. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ImageBasedSliderPropertyGridComponent, _super);
  32388. function ImageBasedSliderPropertyGridComponent(props) {
  32389. return _super.call(this, props) || this;
  32390. }
  32391. ImageBasedSliderPropertyGridComponent.prototype.render = function () {
  32392. var imageBasedSlider = this.props.imageBasedSlider;
  32393. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32394. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: imageBasedSlider, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32395. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "IMAGE BASED SLIDER" },
  32396. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Display thumb", target: imageBasedSlider, propertyName: "displayThumb", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32397. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Vertical", target: imageBasedSlider, propertyName: "isVertical", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32398. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Thumb clamped", target: imageBasedSlider, propertyName: "isThumbClamped", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32399. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Bar offset", target: imageBasedSlider, propertyName: "barOffset", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32400. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Thumb width", target: imageBasedSlider, propertyName: "thumbWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32401. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Minimum", target: imageBasedSlider, propertyName: "minimum", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32402. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Maximum", target: imageBasedSlider, propertyName: "maximum", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32403. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Value", target: imageBasedSlider, propertyName: "value", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32404. };
  32405. return ImageBasedSliderPropertyGridComponent;
  32406. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32407. /***/ }),
  32408. /***/ "./components/actionTabs/tabs/propertyGrids/gui/imagePropertyGridComponent.tsx":
  32409. /*!*************************************************************************************!*\
  32410. !*** ./components/actionTabs/tabs/propertyGrids/gui/imagePropertyGridComponent.tsx ***!
  32411. \*************************************************************************************/
  32412. /*! exports provided: ImagePropertyGridComponent */
  32413. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32414. "use strict";
  32415. __webpack_require__.r(__webpack_exports__);
  32416. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImagePropertyGridComponent", function() { return ImagePropertyGridComponent; });
  32417. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32418. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32419. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32420. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32421. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32422. /* harmony import */ var babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! babylonjs-gui/2D/controls/image */ "babylonjs-gui/2D/controls/image");
  32423. /* harmony import */ var babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__);
  32424. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32425. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32426. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  32427. var ImagePropertyGridComponent = /** @class */ (function (_super) {
  32428. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ImagePropertyGridComponent, _super);
  32429. function ImagePropertyGridComponent(props) {
  32430. return _super.call(this, props) || this;
  32431. }
  32432. ImagePropertyGridComponent.prototype.render = function () {
  32433. var _this = this;
  32434. var image = this.props.image;
  32435. var stretchOptions = [
  32436. { label: "None", value: babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__["Image"].STRETCH_NONE },
  32437. { label: "Fill", value: babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__["Image"].STRETCH_FILL },
  32438. { label: "Uniform", value: babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__["Image"].STRETCH_UNIFORM },
  32439. { label: "Extend", value: babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__["Image"].STRETCH_EXTEND },
  32440. { label: "NinePatch", value: babylonjs_gui_2D_controls_image__WEBPACK_IMPORTED_MODULE_4__["Image"].STRETCH_NINE_PATCH }
  32441. ];
  32442. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32443. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: image, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32444. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "IMAGE" },
  32445. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Source left", target: image, propertyName: "sourceLeft", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32446. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Source top", target: image, propertyName: "sourceTop", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32447. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Source width", target: image, propertyName: "sourceWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32448. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Source height", target: image, propertyName: "sourceHeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32449. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Autoscale", target: image, propertyName: "autoScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32450. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Stretch", options: stretchOptions, target: image, propertyName: "stretch", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } })),
  32451. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ANIMATION SHEET" },
  32452. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Cell Id", isInteger: true, target: image, propertyName: "cellId", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32453. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Cell width", target: image, propertyName: "cellWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32454. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_5__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Cell height", target: image, propertyName: "cellHeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32455. };
  32456. return ImagePropertyGridComponent;
  32457. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32458. /***/ }),
  32459. /***/ "./components/actionTabs/tabs/propertyGrids/gui/inputTextPropertyGridComponent.tsx":
  32460. /*!*****************************************************************************************!*\
  32461. !*** ./components/actionTabs/tabs/propertyGrids/gui/inputTextPropertyGridComponent.tsx ***!
  32462. \*****************************************************************************************/
  32463. /*! exports provided: InputTextPropertyGridComponent */
  32464. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32465. "use strict";
  32466. __webpack_require__.r(__webpack_exports__);
  32467. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InputTextPropertyGridComponent", function() { return InputTextPropertyGridComponent; });
  32468. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32469. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32470. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32471. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32472. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32473. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32474. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  32475. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32476. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32477. var InputTextPropertyGridComponent = /** @class */ (function (_super) {
  32478. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](InputTextPropertyGridComponent, _super);
  32479. function InputTextPropertyGridComponent(props) {
  32480. return _super.call(this, props) || this;
  32481. }
  32482. InputTextPropertyGridComponent.prototype.render = function () {
  32483. var inputText = this.props.inputText;
  32484. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32485. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: inputText, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32486. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "INPUTTEXT" },
  32487. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Text", target: inputText, propertyName: "text", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32488. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Prompt", target: inputText, propertyName: "promptMessage", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32489. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Max width", target: inputText, propertyName: "maxWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32490. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Highlight color", target: inputText, propertyName: "textHighlightColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32491. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Highligher opacity", minimum: 0, maximum: 1, step: 0.01, target: inputText, propertyName: "highligherOpacity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32492. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "On focus select all", target: inputText, propertyName: "onFocusSelectAll", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32493. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Focused background", target: inputText, propertyName: "focusedBackground", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32494. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Max width", target: inputText, propertyName: "maxWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32495. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Margin", target: inputText, propertyName: "margin", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32496. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Auto stretch width", target: inputText, propertyName: "autoStretchWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32497. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_7__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Thickness", target: inputText, propertyName: "thickness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32498. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Placeholder text", target: inputText, propertyName: "placeholderText", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32499. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Placeholder color", target: inputText, propertyName: "placeholderColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32500. };
  32501. return InputTextPropertyGridComponent;
  32502. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32503. /***/ }),
  32504. /***/ "./components/actionTabs/tabs/propertyGrids/gui/linePropertyGridComponent.tsx":
  32505. /*!************************************************************************************!*\
  32506. !*** ./components/actionTabs/tabs/propertyGrids/gui/linePropertyGridComponent.tsx ***!
  32507. \************************************************************************************/
  32508. /*! exports provided: LinePropertyGridComponent */
  32509. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32510. "use strict";
  32511. __webpack_require__.r(__webpack_exports__);
  32512. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LinePropertyGridComponent", function() { return LinePropertyGridComponent; });
  32513. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32514. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32515. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32516. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32517. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32518. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32519. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32520. var LinePropertyGridComponent = /** @class */ (function (_super) {
  32521. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](LinePropertyGridComponent, _super);
  32522. function LinePropertyGridComponent(props) {
  32523. return _super.call(this, props) || this;
  32524. }
  32525. LinePropertyGridComponent.prototype.onDashChange = function (value) {
  32526. var line = this.props.line;
  32527. var split = value.split(",");
  32528. line.dash = [];
  32529. split.forEach(function (v) {
  32530. var int = parseInt(v);
  32531. if (isNaN(int)) {
  32532. return;
  32533. }
  32534. line.dash.push(int);
  32535. });
  32536. };
  32537. LinePropertyGridComponent.prototype.render = function () {
  32538. var _this = this;
  32539. var line = this.props.line;
  32540. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32541. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: line, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32542. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LINE" },
  32543. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Line width", target: line, propertyName: "lineWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32544. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "X1", target: line, propertyName: "x1", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32545. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Y1", target: line, propertyName: "y1", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32546. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "X2", target: line, propertyName: "x2", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32547. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Y2", target: line, propertyName: "y2", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32548. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Dash pattern", target: line, value: line.dash.join(","), onChange: function (newValue) { return _this.onDashChange(newValue); } }))));
  32549. };
  32550. return LinePropertyGridComponent;
  32551. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32552. /***/ }),
  32553. /***/ "./components/actionTabs/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.tsx":
  32554. /*!*******************************************************************************************!*\
  32555. !*** ./components/actionTabs/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.tsx ***!
  32556. \*******************************************************************************************/
  32557. /*! exports provided: RadioButtonPropertyGridComponent */
  32558. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32559. "use strict";
  32560. __webpack_require__.r(__webpack_exports__);
  32561. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RadioButtonPropertyGridComponent", function() { return RadioButtonPropertyGridComponent; });
  32562. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32563. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32564. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32565. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32566. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32567. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32568. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32569. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32570. var RadioButtonPropertyGridComponent = /** @class */ (function (_super) {
  32571. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RadioButtonPropertyGridComponent, _super);
  32572. function RadioButtonPropertyGridComponent(props) {
  32573. return _super.call(this, props) || this;
  32574. }
  32575. RadioButtonPropertyGridComponent.prototype.render = function () {
  32576. var radioButton = this.props.radioButton;
  32577. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32578. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: radioButton, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32579. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RADIO BUTTON" },
  32580. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Thickness", target: radioButton, propertyName: "thickness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32581. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Check size ratio", target: radioButton, propertyName: "checkSizeRatio", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32582. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Group", target: radioButton, propertyName: "group", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32583. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Checked", target: radioButton, propertyName: "isChecked", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32584. };
  32585. return RadioButtonPropertyGridComponent;
  32586. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32587. /***/ }),
  32588. /***/ "./components/actionTabs/tabs/propertyGrids/gui/rectanglePropertyGridComponent.tsx":
  32589. /*!*****************************************************************************************!*\
  32590. !*** ./components/actionTabs/tabs/propertyGrids/gui/rectanglePropertyGridComponent.tsx ***!
  32591. \*****************************************************************************************/
  32592. /*! exports provided: RectanglePropertyGridComponent */
  32593. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32594. "use strict";
  32595. __webpack_require__.r(__webpack_exports__);
  32596. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RectanglePropertyGridComponent", function() { return RectanglePropertyGridComponent; });
  32597. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32598. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32599. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32600. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32601. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32602. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32603. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32604. var RectanglePropertyGridComponent = /** @class */ (function (_super) {
  32605. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RectanglePropertyGridComponent, _super);
  32606. function RectanglePropertyGridComponent(props) {
  32607. return _super.call(this, props) || this;
  32608. }
  32609. RectanglePropertyGridComponent.prototype.render = function () {
  32610. var rectangle = this.props.rectangle;
  32611. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32612. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: rectangle, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32613. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RECTANGLE" },
  32614. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Clip children", target: rectangle, propertyName: "clipChildren", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32615. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Thickness", target: rectangle, propertyName: "thickness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32616. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Corner radius", target: rectangle, propertyName: "cornerRadius", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32617. };
  32618. return RectanglePropertyGridComponent;
  32619. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32620. /***/ }),
  32621. /***/ "./components/actionTabs/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.tsx":
  32622. /*!********************************************************************************************!*\
  32623. !*** ./components/actionTabs/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.tsx ***!
  32624. \********************************************************************************************/
  32625. /*! exports provided: ScrollViewerPropertyGridComponent */
  32626. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32627. "use strict";
  32628. __webpack_require__.r(__webpack_exports__);
  32629. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScrollViewerPropertyGridComponent", function() { return ScrollViewerPropertyGridComponent; });
  32630. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32631. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32632. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32633. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32634. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32635. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32636. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32637. var ScrollViewerPropertyGridComponent = /** @class */ (function (_super) {
  32638. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ScrollViewerPropertyGridComponent, _super);
  32639. function ScrollViewerPropertyGridComponent(props) {
  32640. return _super.call(this, props) || this;
  32641. }
  32642. ScrollViewerPropertyGridComponent.prototype.render = function () {
  32643. var scrollViewer = this.props.scrollViewer;
  32644. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32645. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: scrollViewer, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32646. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RECTANGLE" },
  32647. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Thickness", target: scrollViewer, propertyName: "thickness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32648. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Corner radius", target: scrollViewer, propertyName: "cornerRadius", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32649. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SCROLLVIEWER" },
  32650. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Bar size", target: scrollViewer, propertyName: "barSize", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32651. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Bar color", target: scrollViewer, propertyName: "barColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32652. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Bar background", target: scrollViewer, propertyName: "barBackground", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32653. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Wheel precision", target: scrollViewer, propertyName: "wheelPrecision", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32654. };
  32655. return ScrollViewerPropertyGridComponent;
  32656. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32657. /***/ }),
  32658. /***/ "./components/actionTabs/tabs/propertyGrids/gui/sliderPropertyGridComponent.tsx":
  32659. /*!**************************************************************************************!*\
  32660. !*** ./components/actionTabs/tabs/propertyGrids/gui/sliderPropertyGridComponent.tsx ***!
  32661. \**************************************************************************************/
  32662. /*! exports provided: SliderPropertyGridComponent */
  32663. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32664. "use strict";
  32665. __webpack_require__.r(__webpack_exports__);
  32666. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SliderPropertyGridComponent", function() { return SliderPropertyGridComponent; });
  32667. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32668. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32669. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32670. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32671. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32672. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32673. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32674. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32675. var SliderPropertyGridComponent = /** @class */ (function (_super) {
  32676. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SliderPropertyGridComponent, _super);
  32677. function SliderPropertyGridComponent(props) {
  32678. return _super.call(this, props) || this;
  32679. }
  32680. SliderPropertyGridComponent.prototype.render = function () {
  32681. var slider = this.props.slider;
  32682. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32683. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: slider, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32684. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SLIDER" },
  32685. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Border color", target: slider, propertyName: "borderColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32686. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Display thumb", target: slider, propertyName: "displayThumb", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32687. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Thumb circle", target: slider, propertyName: "isThumbCircle", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32688. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Vertical", target: slider, propertyName: "isVertical", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32689. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Thumb clamped", target: slider, propertyName: "isThumbClamped", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32690. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Bar offset", target: slider, propertyName: "barOffset", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32691. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Thumb width", target: slider, propertyName: "thumbWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32692. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Minimum", target: slider, propertyName: "minimum", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32693. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Maximum", target: slider, propertyName: "maximum", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32694. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Value", target: slider, propertyName: "value", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32695. };
  32696. return SliderPropertyGridComponent;
  32697. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32698. /***/ }),
  32699. /***/ "./components/actionTabs/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.tsx":
  32700. /*!******************************************************************************************!*\
  32701. !*** ./components/actionTabs/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.tsx ***!
  32702. \******************************************************************************************/
  32703. /*! exports provided: StackPanelPropertyGridComponent */
  32704. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32705. "use strict";
  32706. __webpack_require__.r(__webpack_exports__);
  32707. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StackPanelPropertyGridComponent", function() { return StackPanelPropertyGridComponent; });
  32708. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32709. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32710. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32711. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32712. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32713. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32714. var StackPanelPropertyGridComponent = /** @class */ (function (_super) {
  32715. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](StackPanelPropertyGridComponent, _super);
  32716. function StackPanelPropertyGridComponent(props) {
  32717. return _super.call(this, props) || this;
  32718. }
  32719. StackPanelPropertyGridComponent.prototype.render = function () {
  32720. var stackPanel = this.props.stackPanel;
  32721. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32722. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: stackPanel, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32723. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "STACKPANEL" },
  32724. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Clip children", target: stackPanel, propertyName: "clipChildren", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32725. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_4__["CheckBoxLineComponent"], { label: "Vertical", target: stackPanel, propertyName: "isVertical", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32726. };
  32727. return StackPanelPropertyGridComponent;
  32728. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32729. /***/ }),
  32730. /***/ "./components/actionTabs/tabs/propertyGrids/gui/textBlockPropertyGridComponent.tsx":
  32731. /*!*****************************************************************************************!*\
  32732. !*** ./components/actionTabs/tabs/propertyGrids/gui/textBlockPropertyGridComponent.tsx ***!
  32733. \*****************************************************************************************/
  32734. /*! exports provided: TextBlockPropertyGridComponent */
  32735. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32736. "use strict";
  32737. __webpack_require__.r(__webpack_exports__);
  32738. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextBlockPropertyGridComponent", function() { return TextBlockPropertyGridComponent; });
  32739. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32740. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32741. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32742. /* harmony import */ var _commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonControlPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/gui/commonControlPropertyGridComponent.tsx");
  32743. /* harmony import */ var babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs-gui/2D/controls/textBlock */ "babylonjs-gui/2D/controls/image");
  32744. /* harmony import */ var babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__);
  32745. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32746. /* harmony import */ var _lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textInputLineComponent */ "./components/actionTabs/lines/textInputLineComponent.tsx");
  32747. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  32748. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32749. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32750. var TextBlockPropertyGridComponent = /** @class */ (function (_super) {
  32751. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextBlockPropertyGridComponent, _super);
  32752. function TextBlockPropertyGridComponent(props) {
  32753. return _super.call(this, props) || this;
  32754. }
  32755. TextBlockPropertyGridComponent.prototype.render = function () {
  32756. var textBlock = this.props.textBlock;
  32757. var horizontalOptions = [
  32758. { label: "Left", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].HORIZONTAL_ALIGNMENT_LEFT },
  32759. { label: "Right", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].HORIZONTAL_ALIGNMENT_RIGHT },
  32760. { label: "Center", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].HORIZONTAL_ALIGNMENT_CENTER },
  32761. ];
  32762. var verticalOptions = [
  32763. { label: "Top", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].VERTICAL_ALIGNMENT_TOP },
  32764. { label: "Bottom", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].VERTICAL_ALIGNMENT_BOTTOM },
  32765. { label: "Center", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["Control"].VERTICAL_ALIGNMENT_CENTER },
  32766. ];
  32767. var wrappingOptions = [
  32768. { label: "Clip", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["TextWrapping"].Clip },
  32769. { label: "Ellipsis", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["TextWrapping"].Ellipsis },
  32770. { label: "Word wrap", value: babylonjs_gui_2D_controls_textBlock__WEBPACK_IMPORTED_MODULE_3__["TextWrapping"].WordWrap },
  32771. ];
  32772. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32773. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonControlPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonControlPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, control: textBlock, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32774. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTBLOCK" },
  32775. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Text", target: textBlock, propertyName: "text", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32776. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_6__["OptionsLineComponent"], { label: "Horizontal text alignment", options: horizontalOptions, target: textBlock, propertyName: "textHorizontalAlignment", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32777. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_6__["OptionsLineComponent"], { label: "Vertical text alignment", options: verticalOptions, target: textBlock, propertyName: "textVerticalAlignment", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32778. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_7__["CheckBoxLineComponent"], { label: "Resize to fit", target: textBlock, propertyName: "resizeToFit", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32779. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_6__["OptionsLineComponent"], { label: "Wrapping", options: wrappingOptions, target: textBlock, propertyName: "textWrapping", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32780. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Line spacing", target: textBlock, propertyName: "lineSpacing", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32781. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "OUTLINE" },
  32782. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Outline width", target: textBlock, propertyName: "outlineWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32783. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textInputLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextInputLineComponent"], { lockObject: this.props.lockObject, label: "Outline color", target: textBlock, propertyName: "outlineColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32784. };
  32785. return TextBlockPropertyGridComponent;
  32786. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32787. /***/ }),
  32788. /***/ "./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx":
  32789. /*!**********************************************************************************************!*\
  32790. !*** ./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx ***!
  32791. \**********************************************************************************************/
  32792. /*! exports provided: CommonLightPropertyGridComponent */
  32793. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32794. "use strict";
  32795. __webpack_require__.r(__webpack_exports__);
  32796. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonLightPropertyGridComponent", function() { return CommonLightPropertyGridComponent; });
  32797. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32798. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32799. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32800. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32801. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32802. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  32803. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  32804. var CommonLightPropertyGridComponent = /** @class */ (function (_super) {
  32805. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonLightPropertyGridComponent, _super);
  32806. function CommonLightPropertyGridComponent(props) {
  32807. return _super.call(this, props) || this;
  32808. }
  32809. CommonLightPropertyGridComponent.prototype.render = function () {
  32810. var light = this.props.light;
  32811. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  32812. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32813. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  32814. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "ID", value: light.id }),
  32815. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Unique ID", value: light.uniqueId.toString() }),
  32816. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Class", value: light.getClassName() }),
  32817. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_3__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Intensity", target: light, propertyName: "intensity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32818. };
  32819. return CommonLightPropertyGridComponent;
  32820. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32821. /***/ }),
  32822. /***/ "./components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.tsx":
  32823. /*!****************************************************************************************************!*\
  32824. !*** ./components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.tsx ***!
  32825. \****************************************************************************************************/
  32826. /*! exports provided: CommonShadowLightPropertyGridComponent */
  32827. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32828. "use strict";
  32829. __webpack_require__.r(__webpack_exports__);
  32830. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonShadowLightPropertyGridComponent", function() { return CommonShadowLightPropertyGridComponent; });
  32831. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32832. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32833. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32834. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32835. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  32836. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  32837. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  32838. /* harmony import */ var babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! babylonjs/Lights/Shadows/shadowGenerator */ "babylonjs/Misc/observable");
  32839. /* harmony import */ var babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__);
  32840. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  32841. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  32842. var CommonShadowLightPropertyGridComponent = /** @class */ (function (_super) {
  32843. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonShadowLightPropertyGridComponent, _super);
  32844. function CommonShadowLightPropertyGridComponent(props) {
  32845. return _super.call(this, props) || this;
  32846. }
  32847. CommonShadowLightPropertyGridComponent.prototype.createShadowGenerator = function () {
  32848. var light = this.props.light;
  32849. var scene = light.getScene();
  32850. var generator = new babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"](512, light);
  32851. scene.meshes.forEach(function (m) {
  32852. generator.addShadowCaster(m);
  32853. m.receiveShadows = true;
  32854. });
  32855. this.forceUpdate();
  32856. };
  32857. CommonShadowLightPropertyGridComponent.prototype.render = function () {
  32858. var _this = this;
  32859. var light = this.props.light;
  32860. var generator = light.getShadowGenerator() || null;
  32861. var blurModeOptions = [
  32862. { label: "None", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_NONE },
  32863. { label: "PCF", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_PCF },
  32864. { label: "PCSS", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_PCSS },
  32865. { label: "Poisson", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_POISSONSAMPLING },
  32866. { label: "Exponential", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_EXPONENTIALSHADOWMAP },
  32867. { label: "Blurred exponential", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP },
  32868. { label: "Close exponential", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_CLOSEEXPONENTIALSHADOWMAP },
  32869. { label: "Blurred close exponential", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLURCLOSEEXPONENTIALSHADOWMAP },
  32870. ];
  32871. var filteringQualityOptions = [
  32872. { label: "Low", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].QUALITY_LOW },
  32873. { label: "Medium", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].QUALITY_MEDIUM },
  32874. { label: "High", value: babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].QUALITY_HIGH }
  32875. ];
  32876. var filter = generator ? generator.filter : 0;
  32877. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  32878. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHADOWS" },
  32879. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Shadows enabled", target: light, propertyName: "shadowEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32880. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Shadows near plane", target: light, propertyName: "shadowMinZ", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32881. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Shadows far plane", target: light, propertyName: "shadowMaxZ", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32882. generator == null &&
  32883. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHADOW GENERATOR" },
  32884. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_8__["ButtonLineComponent"], { label: "Create generator", onClick: function () { return _this.createShadowGenerator(); } })),
  32885. generator !== null &&
  32886. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHADOW GENERATOR" },
  32887. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, digits: 4, step: "0.0001", label: "Bias", target: generator, propertyName: "bias", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32888. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Normal bias", target: generator, propertyName: "normalBias", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32889. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Darkness", target: generator, minimum: 0, maximum: 1, step: 0.01, propertyName: "darkness", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32890. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Allow transparent shadows", target: generator, propertyName: "transparencyShadow", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32891. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__["OptionsLineComponent"], { label: "Filter", options: blurModeOptions, onSelect: function () {
  32892. _this.forceUpdate();
  32893. }, target: generator, propertyName: "filter", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32894. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_PCF || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_PCSS) &&
  32895. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__["OptionsLineComponent"], { label: "Filtering quality", options: filteringQualityOptions, onSelect: function () {
  32896. _this.forceUpdate();
  32897. }, target: generator, propertyName: "filteringQuality", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32898. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_PCSS) &&
  32899. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Penumbra ratio", minimum: 0, maximum: 0.5, step: 0.001, target: generator, propertyName: "contactHardeningLightSizeUVRatio", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32900. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLURCLOSEEXPONENTIALSHADOWMAP) &&
  32901. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Use kernel blur", target: generator, propertyName: "useKernelBlur", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32902. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLURCLOSEEXPONENTIALSHADOWMAP) &&
  32903. !generator.useKernelBlur &&
  32904. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Blur box offset", target: generator, propertyName: "blurBoxOffset", minimum: 1, maximum: 64, step: 1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32905. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLURCLOSEEXPONENTIALSHADOWMAP) &&
  32906. generator.useKernelBlur &&
  32907. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Blur kernel", target: generator, propertyName: "blurKernel", minimum: 1, maximum: 64, step: 1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32908. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_EXPONENTIALSHADOWMAP) &&
  32909. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Depth scale", target: generator, propertyName: "depthScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32910. (filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_BLUREXPONENTIALSHADOWMAP || filter === babylonjs_Lights_Shadows_shadowGenerator__WEBPACK_IMPORTED_MODULE_6__["ShadowGenerator"].FILTER_EXPONENTIALSHADOWMAP) &&
  32911. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Blur scale", target: generator, propertyName: "blurScale", minimum: 1, maximum: 4, step: 1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32912. };
  32913. return CommonShadowLightPropertyGridComponent;
  32914. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32915. /***/ }),
  32916. /***/ "./components/actionTabs/tabs/propertyGrids/lights/directionalLightPropertyGridComponent.tsx":
  32917. /*!***************************************************************************************************!*\
  32918. !*** ./components/actionTabs/tabs/propertyGrids/lights/directionalLightPropertyGridComponent.tsx ***!
  32919. \***************************************************************************************************/
  32920. /*! exports provided: DirectionalLightPropertyGridComponent */
  32921. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32922. "use strict";
  32923. __webpack_require__.r(__webpack_exports__);
  32924. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DirectionalLightPropertyGridComponent", function() { return DirectionalLightPropertyGridComponent; });
  32925. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32926. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32927. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32928. /* harmony import */ var _commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx");
  32929. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32930. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  32931. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  32932. /* harmony import */ var _commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commonShadowLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.tsx");
  32933. var DirectionalLightPropertyGridComponent = /** @class */ (function (_super) {
  32934. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](DirectionalLightPropertyGridComponent, _super);
  32935. function DirectionalLightPropertyGridComponent(props) {
  32936. return _super.call(this, props) || this;
  32937. }
  32938. DirectionalLightPropertyGridComponent.prototype.render = function () {
  32939. var light = this.props.light;
  32940. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32941. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32942. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SETUP" },
  32943. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: light, propertyName: "diffuse", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32944. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Specular", target: light, propertyName: "specular", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32945. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Position", target: light, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32946. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Direction", target: light, propertyName: "direction", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  32947. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["CommonShadowLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  32948. };
  32949. return DirectionalLightPropertyGridComponent;
  32950. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32951. /***/ }),
  32952. /***/ "./components/actionTabs/tabs/propertyGrids/lights/hemisphericLightPropertyGridComponent.tsx":
  32953. /*!***************************************************************************************************!*\
  32954. !*** ./components/actionTabs/tabs/propertyGrids/lights/hemisphericLightPropertyGridComponent.tsx ***!
  32955. \***************************************************************************************************/
  32956. /*! exports provided: HemisphericLightPropertyGridComponent */
  32957. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32958. "use strict";
  32959. __webpack_require__.r(__webpack_exports__);
  32960. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HemisphericLightPropertyGridComponent", function() { return HemisphericLightPropertyGridComponent; });
  32961. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32962. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32963. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32964. /* harmony import */ var _commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx");
  32965. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32966. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  32967. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  32968. var HemisphericLightPropertyGridComponent = /** @class */ (function (_super) {
  32969. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](HemisphericLightPropertyGridComponent, _super);
  32970. function HemisphericLightPropertyGridComponent(props) {
  32971. return _super.call(this, props) || this;
  32972. }
  32973. HemisphericLightPropertyGridComponent.prototype.render = function () {
  32974. var light = this.props.light;
  32975. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  32976. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32977. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SETUP" },
  32978. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: light, propertyName: "diffuse", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32979. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Ground", target: light, propertyName: "groundColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  32980. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Direction", target: light, propertyName: "direction", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  32981. };
  32982. return HemisphericLightPropertyGridComponent;
  32983. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  32984. /***/ }),
  32985. /***/ "./components/actionTabs/tabs/propertyGrids/lights/pointLightPropertyGridComponent.tsx":
  32986. /*!*********************************************************************************************!*\
  32987. !*** ./components/actionTabs/tabs/propertyGrids/lights/pointLightPropertyGridComponent.tsx ***!
  32988. \*********************************************************************************************/
  32989. /*! exports provided: PointLightPropertyGridComponent */
  32990. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  32991. "use strict";
  32992. __webpack_require__.r(__webpack_exports__);
  32993. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PointLightPropertyGridComponent", function() { return PointLightPropertyGridComponent; });
  32994. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  32995. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  32996. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  32997. /* harmony import */ var _commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx");
  32998. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  32999. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33000. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  33001. /* harmony import */ var _commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commonShadowLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.tsx");
  33002. var PointLightPropertyGridComponent = /** @class */ (function (_super) {
  33003. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PointLightPropertyGridComponent, _super);
  33004. function PointLightPropertyGridComponent(props) {
  33005. return _super.call(this, props) || this;
  33006. }
  33007. PointLightPropertyGridComponent.prototype.render = function () {
  33008. var light = this.props.light;
  33009. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33010. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33011. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SETUP" },
  33012. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: light, propertyName: "diffuse", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33013. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Specular", target: light, propertyName: "specular", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33014. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Position", target: light, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33015. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["CommonShadowLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33016. };
  33017. return PointLightPropertyGridComponent;
  33018. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33019. /***/ }),
  33020. /***/ "./components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx":
  33021. /*!********************************************************************************************!*\
  33022. !*** ./components/actionTabs/tabs/propertyGrids/lights/spotLightPropertyGridComponent.tsx ***!
  33023. \********************************************************************************************/
  33024. /*! exports provided: SpotLightPropertyGridComponent */
  33025. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33026. "use strict";
  33027. __webpack_require__.r(__webpack_exports__);
  33028. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotLightPropertyGridComponent", function() { return SpotLightPropertyGridComponent; });
  33029. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33030. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33031. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33032. /* harmony import */ var _commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonLightPropertyGridComponent.tsx");
  33033. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33034. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33035. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  33036. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  33037. /* harmony import */ var _commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./commonShadowLightPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/lights/commonShadowLightPropertyGridComponent.tsx");
  33038. var SpotLightPropertyGridComponent = /** @class */ (function (_super) {
  33039. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SpotLightPropertyGridComponent, _super);
  33040. function SpotLightPropertyGridComponent(props) {
  33041. return _super.call(this, props) || this;
  33042. }
  33043. SpotLightPropertyGridComponent.prototype.render = function () {
  33044. var light = this.props.light;
  33045. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33046. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33047. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SETUP" },
  33048. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: light, propertyName: "diffuse", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33049. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Specular", target: light, propertyName: "specular", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33050. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Position", target: light, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33051. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Vector3LineComponent"], { label: "Direction", target: light, propertyName: "direction", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33052. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, useEuler: this.props.globalState.onlyUseEulers, label: "Angle", target: light, propertyName: "angle", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33053. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, useEuler: this.props.globalState.onlyUseEulers, label: "Inner angle", target: light, propertyName: "innerAngle", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33054. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_6__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Exponent", target: light, propertyName: "exponent", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33055. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonShadowLightPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["CommonShadowLightPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, light: light, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33056. };
  33057. return SpotLightPropertyGridComponent;
  33058. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33059. /***/ }),
  33060. /***/ "./components/actionTabs/tabs/propertyGrids/lockObject.ts":
  33061. /*!****************************************************************!*\
  33062. !*** ./components/actionTabs/tabs/propertyGrids/lockObject.ts ***!
  33063. \****************************************************************/
  33064. /*! exports provided: LockObject */
  33065. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33066. "use strict";
  33067. __webpack_require__.r(__webpack_exports__);
  33068. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LockObject", function() { return LockObject; });
  33069. /**
  33070. * Class used to provide lock mechanism
  33071. */
  33072. var LockObject = /** @class */ (function () {
  33073. function LockObject() {
  33074. /**
  33075. * Gets or set if the lock is engaged
  33076. */
  33077. this.lock = false;
  33078. }
  33079. return LockObject;
  33080. }());
  33081. /***/ }),
  33082. /***/ "./components/actionTabs/tabs/propertyGrids/materials/backgroundMaterialPropertyGridComponent.tsx":
  33083. /*!********************************************************************************************************!*\
  33084. !*** ./components/actionTabs/tabs/propertyGrids/materials/backgroundMaterialPropertyGridComponent.tsx ***!
  33085. \********************************************************************************************************/
  33086. /*! exports provided: BackgroundMaterialPropertyGridComponent */
  33087. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33088. "use strict";
  33089. __webpack_require__.r(__webpack_exports__);
  33090. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BackgroundMaterialPropertyGridComponent", function() { return BackgroundMaterialPropertyGridComponent; });
  33091. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33092. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33093. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33094. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  33095. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  33096. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33097. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33098. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33099. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33100. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33101. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  33102. var BackgroundMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33103. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](BackgroundMaterialPropertyGridComponent, _super);
  33104. function BackgroundMaterialPropertyGridComponent(props) {
  33105. var _this = _super.call(this, props) || this;
  33106. _this._onDebugSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  33107. return _this;
  33108. }
  33109. BackgroundMaterialPropertyGridComponent.prototype.renderTextures = function () {
  33110. var material = this.props.material;
  33111. var onDebugSelectionChangeObservable = this._onDebugSelectionChangeObservable;
  33112. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURES" },
  33113. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextureLinkLineComponent"], { label: "Diffuse", texture: material.diffuseTexture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33114. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextureLinkLineComponent"], { label: "Reflection", texture: material.reflectionTexture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33115. material.reflectionTexture &&
  33116. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Reflection blur", target: material, propertyName: "reflectionBlur", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33117. };
  33118. BackgroundMaterialPropertyGridComponent.prototype.render = function () {
  33119. var material = this.props.material;
  33120. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33121. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33122. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIGHTING & COLORS" },
  33123. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Primary", target: material, propertyName: "primaryColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33124. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Shadow level", target: material, propertyName: "primaryColorShadowLevel", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33125. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Highlight level", target: material, propertyName: "primaryColorHighlightLevel", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33126. this.renderTextures(),
  33127. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RENDERING", closed: true },
  33128. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enable noise", target: material, propertyName: "enableNoise", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33129. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Opacity fresnel", target: material, propertyName: "opacityFresnel", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33130. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Reflection fresnel", target: material, propertyName: "reflectionFresnel", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33131. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Reflection amount", target: material, propertyName: "reflectionAmount", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33132. };
  33133. return BackgroundMaterialPropertyGridComponent;
  33134. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33135. /***/ }),
  33136. /***/ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx":
  33137. /*!****************************************************************************************************!*\
  33138. !*** ./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx ***!
  33139. \****************************************************************************************************/
  33140. /*! exports provided: CommonMaterialPropertyGridComponent */
  33141. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33142. "use strict";
  33143. __webpack_require__.r(__webpack_exports__);
  33144. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonMaterialPropertyGridComponent", function() { return CommonMaterialPropertyGridComponent; });
  33145. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33146. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33147. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33148. /* harmony import */ var babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Materials/material */ "babylonjs/Misc/observable");
  33149. /* harmony import */ var babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__);
  33150. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33151. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33152. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33153. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  33154. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  33155. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  33156. var CommonMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33157. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonMaterialPropertyGridComponent, _super);
  33158. function CommonMaterialPropertyGridComponent(props) {
  33159. return _super.call(this, props) || this;
  33160. }
  33161. CommonMaterialPropertyGridComponent.prototype.render = function () {
  33162. var _this = this;
  33163. var material = this.props.material;
  33164. var orientationOptions = [
  33165. { label: "Clockwise", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Material"].ClockWiseSideOrientation },
  33166. { label: "Counterclockwise", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Material"].CounterClockWiseSideOrientation }
  33167. ];
  33168. var transparencyModeOptions = [
  33169. { label: "Opaque", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["PBRMaterial"].PBRMATERIAL_OPAQUE },
  33170. { label: "Alpha test", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["PBRMaterial"].PBRMATERIAL_ALPHATEST },
  33171. { label: "Alpha blend", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["PBRMaterial"].PBRMATERIAL_ALPHABLEND },
  33172. { label: "Alpha blend and test", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["PBRMaterial"].PBRMATERIAL_ALPHATESTANDBLEND },
  33173. ];
  33174. var alphaModeOptions = [
  33175. { label: "Combine", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_COMBINE },
  33176. { label: "One one", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_ONEONE },
  33177. { label: "Add", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_ADD },
  33178. { label: "Subtract", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_SUBTRACT },
  33179. { label: "Multiply", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_MULTIPLY },
  33180. { label: "Maximized", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_MAXIMIZED },
  33181. { label: "Pre-multiplied", value: babylonjs_Materials_material__WEBPACK_IMPORTED_MODULE_2__["Engine"].ALPHA_PREMULTIPLIED },
  33182. ];
  33183. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  33184. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_8__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33185. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_5__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  33186. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "ID", value: material.id }),
  33187. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "Unique ID", value: material.uniqueId.toString() }),
  33188. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_6__["TextLineComponent"], { label: "Class", value: material.getClassName() }),
  33189. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Backface culling", target: material, propertyName: "backFaceCulling", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33190. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Orientation", options: orientationOptions, target: material, propertyName: "sideOrientation", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }),
  33191. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Disable lighting", target: material, propertyName: "disableLighting", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33192. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Disable depth write", target: material, propertyName: "disableDepthWrite", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33193. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Need depth pre-pass", target: material, propertyName: "needDepthPrePass", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33194. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Wireframe", target: material, propertyName: "wireframe", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33195. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Point cloud", target: material, propertyName: "pointsCloud", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33196. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Point size", target: material, propertyName: "pointSize", minimum: 0, maximum: 100, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33197. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Z-offset", target: material, propertyName: "zOffset", minimum: -10, maximum: 10, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33198. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_5__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSPARENCY" },
  33199. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Alpha", target: material, propertyName: "alpha", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33200. material.transparencyMode !== undefined &&
  33201. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Transparency mode", options: transparencyModeOptions, target: material, propertyName: "transparencyMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ transparencyMode: value }); } }),
  33202. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Alpha mode", options: alphaModeOptions, target: material, propertyName: "alphaMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ alphaMode: value }); } }),
  33203. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Separate culling pass", target: material, propertyName: "separateCullingPass", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33204. };
  33205. return CommonMaterialPropertyGridComponent;
  33206. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33207. /***/ }),
  33208. /***/ "./components/actionTabs/tabs/propertyGrids/materials/materialPropertyGridComponent.tsx":
  33209. /*!**********************************************************************************************!*\
  33210. !*** ./components/actionTabs/tabs/propertyGrids/materials/materialPropertyGridComponent.tsx ***!
  33211. \**********************************************************************************************/
  33212. /*! exports provided: MaterialPropertyGridComponent */
  33213. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33214. "use strict";
  33215. __webpack_require__.r(__webpack_exports__);
  33216. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaterialPropertyGridComponent", function() { return MaterialPropertyGridComponent; });
  33217. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33218. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33219. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33220. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33221. var MaterialPropertyGridComponent = /** @class */ (function (_super) {
  33222. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](MaterialPropertyGridComponent, _super);
  33223. function MaterialPropertyGridComponent(props) {
  33224. return _super.call(this, props) || this;
  33225. }
  33226. MaterialPropertyGridComponent.prototype.render = function () {
  33227. var material = this.props.material;
  33228. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33229. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33230. };
  33231. return MaterialPropertyGridComponent;
  33232. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33233. /***/ }),
  33234. /***/ "./components/actionTabs/tabs/propertyGrids/materials/nodeMaterialPropertyGridComponent.tsx":
  33235. /*!**************************************************************************************************!*\
  33236. !*** ./components/actionTabs/tabs/propertyGrids/materials/nodeMaterialPropertyGridComponent.tsx ***!
  33237. \**************************************************************************************************/
  33238. /*! exports provided: NodeMaterialPropertyGridComponent */
  33239. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33240. "use strict";
  33241. __webpack_require__.r(__webpack_exports__);
  33242. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NodeMaterialPropertyGridComponent", function() { return NodeMaterialPropertyGridComponent; });
  33243. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33244. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33245. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33246. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33247. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33248. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  33249. var NodeMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33250. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](NodeMaterialPropertyGridComponent, _super);
  33251. function NodeMaterialPropertyGridComponent(props) {
  33252. return _super.call(this, props) || this;
  33253. }
  33254. NodeMaterialPropertyGridComponent.prototype.edit = function () {
  33255. this.props.material.edit();
  33256. };
  33257. NodeMaterialPropertyGridComponent.prototype.render = function () {
  33258. var _this = this;
  33259. var material = this.props.material;
  33260. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33261. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_3__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33262. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "EDITOR" },
  33263. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Edit", onClick: function () { return _this.edit(); } }))));
  33264. };
  33265. return NodeMaterialPropertyGridComponent;
  33266. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33267. /***/ }),
  33268. /***/ "./components/actionTabs/tabs/propertyGrids/materials/pbrMaterialPropertyGridComponent.tsx":
  33269. /*!*************************************************************************************************!*\
  33270. !*** ./components/actionTabs/tabs/propertyGrids/materials/pbrMaterialPropertyGridComponent.tsx ***!
  33271. \*************************************************************************************************/
  33272. /*! exports provided: PBRMaterialPropertyGridComponent */
  33273. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33274. "use strict";
  33275. __webpack_require__.r(__webpack_exports__);
  33276. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PBRMaterialPropertyGridComponent", function() { return PBRMaterialPropertyGridComponent; });
  33277. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33278. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33279. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33280. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  33281. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  33282. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33283. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33284. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33285. /* harmony import */ var _lines_vector2LineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/vector2LineComponent */ "./components/actionTabs/lines/vector2LineComponent.tsx");
  33286. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33287. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  33288. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33289. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  33290. var PBRMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33291. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PBRMaterialPropertyGridComponent, _super);
  33292. function PBRMaterialPropertyGridComponent(props) {
  33293. var _this = _super.call(this, props) || this;
  33294. _this._onDebugSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  33295. return _this;
  33296. }
  33297. PBRMaterialPropertyGridComponent.prototype.switchAmbientMode = function (state) {
  33298. this.props.material.debugMode = state ? 21 : 0;
  33299. };
  33300. PBRMaterialPropertyGridComponent.prototype.switchMetallicMode = function (state) {
  33301. this.props.material.debugMode = state ? 62 : 0;
  33302. };
  33303. PBRMaterialPropertyGridComponent.prototype.renderTextures = function (onDebugSelectionChangeObservable) {
  33304. var _this = this;
  33305. var material = this.props.material;
  33306. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURES" },
  33307. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Albedo", texture: material.albedoTexture, propertyName: "albedoTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33308. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { customDebugAction: function (state) { return _this.switchMetallicMode(state); }, label: "Metallic", texture: material.metallicTexture, propertyName: "metallicTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33309. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Reflection", texture: material.reflectionTexture, propertyName: "reflectionTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33310. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Refraction", texture: material.refractionTexture, propertyName: "refractionTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33311. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Micro-surface", texture: material.microSurfaceTexture, propertyName: "microSurfaceTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33312. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Bump", texture: material.bumpTexture, propertyName: "bumpTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33313. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Emissive", texture: material.emissiveTexture, propertyName: "emissiveTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33314. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Opacity", texture: material.opacityTexture, propertyName: "opacityTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33315. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { customDebugAction: function (state) { return _this.switchAmbientMode(state); }, label: "Ambient", texture: material.ambientTexture, propertyName: "ambientTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33316. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Lightmap", texture: material.lightmapTexture, propertyName: "lightmapTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33317. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Use lightmap as shadowmap", target: material, propertyName: "useLightmapAsShadowmap ", onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33318. };
  33319. PBRMaterialPropertyGridComponent.prototype.render = function () {
  33320. var _this = this;
  33321. var material = this.props.material;
  33322. var debugMode = [
  33323. { label: "None", value: 0 },
  33324. // Geometry
  33325. { label: "Normalized position", value: 1 },
  33326. { label: "Normals", value: 2 },
  33327. { label: "Tangents", value: 3 },
  33328. { label: "Bitangents", value: 4 },
  33329. { label: "Bump Normals", value: 5 },
  33330. { label: "UV1", value: 6 },
  33331. { label: "UV2", value: 7 },
  33332. { label: "ClearCoat Normals", value: 8 },
  33333. { label: "ClearCoat Tangents", value: 9 },
  33334. { label: "ClearCoat Bitangents", value: 10 },
  33335. { label: "Anisotropic Normals", value: 11 },
  33336. { label: "Anisotropic Tangents", value: 12 },
  33337. { label: "Anisotropic Bitangents", value: 13 },
  33338. // Maps
  33339. { label: "Albdeo Map", value: 20 },
  33340. { label: "Ambient Map", value: 21 },
  33341. { label: "Opacity Map", value: 22 },
  33342. { label: "Emissive Map", value: 23 },
  33343. { label: "Light Map", value: 24 },
  33344. { label: "Metallic Map", value: 25 },
  33345. { label: "Reflectivity Map", value: 26 },
  33346. { label: "ClearCoat Map", value: 27 },
  33347. { label: "ClearCoat Tint Map", value: 28 },
  33348. { label: "Sheen Map", value: 29 },
  33349. { label: "Anisotropic Map", value: 30 },
  33350. { label: "Thickness Map", value: 31 },
  33351. // Env
  33352. { label: "Env Refraction", value: 40 },
  33353. { label: "Env Reflection", value: 41 },
  33354. { label: "Env Clear Coat", value: 42 },
  33355. // Lighting
  33356. { label: "Direct Diffuse", value: 50 },
  33357. { label: "Direct Specular", value: 51 },
  33358. { label: "Direct Clear Coat", value: 52 },
  33359. { label: "Direct Sheen", value: 53 },
  33360. { label: "Env Irradiance", value: 54 },
  33361. // Lighting Params
  33362. { label: "Surface Albedo", value: 60 },
  33363. { label: "Reflectance 0", value: 61 },
  33364. { label: "Metallic", value: 62 },
  33365. { label: "Roughness", value: 63 },
  33366. { label: "AlphaG", value: 64 },
  33367. { label: "NdotV", value: 65 },
  33368. { label: "ClearCoat Color", value: 66 },
  33369. { label: "ClearCoat Roughness", value: 67 },
  33370. { label: "ClearCoat NdotV", value: 68 },
  33371. { label: "Transmittance", value: 69 },
  33372. { label: "Refraction Transmittance", value: 70 },
  33373. // Misc
  33374. { label: "SEO", value: 80 },
  33375. { label: "EHO", value: 81 },
  33376. { label: "Energy Factor", value: 82 },
  33377. { label: "Specular Reflectance", value: 83 },
  33378. { label: "Clear Coat Reflectance", value: 84 },
  33379. { label: "Sheen Reflectance", value: 85 },
  33380. { label: "Luminance Over Alpha", value: 86 },
  33381. { label: "Alpha", value: 87 },
  33382. ];
  33383. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33384. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_9__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33385. this.renderTextures(this._onDebugSelectionChangeObservable),
  33386. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIGHTING & COLORS" },
  33387. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Albedo", target: material, propertyName: "albedoColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33388. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Reflectivity", target: material, propertyName: "reflectivityColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33389. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Micro-surface", target: material, propertyName: "microSurface", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33390. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Emissive", target: material, propertyName: "emissiveColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33391. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Ambient", target: material, propertyName: "ambientColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33392. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Use physical light falloff", target: material, propertyName: "usePhysicalLightFalloff ", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33393. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "METALLIC WORKFLOW" },
  33394. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Metallic", target: material, propertyName: "metallic", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33395. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Roughness", target: material, propertyName: "roughness", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33396. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CLEAR COAT" },
  33397. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: material.clearCoat, propertyName: "isEnabled", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33398. material.clearCoat.isEnabled &&
  33399. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "fragment" },
  33400. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Intensity", target: material.clearCoat, propertyName: "intensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33401. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Roughness", target: material.clearCoat, propertyName: "roughness", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33402. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "IOR", target: material.clearCoat, propertyName: "indexOfRefraction", minimum: 1.0, maximum: 3, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33403. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Texture", texture: material.clearCoat.texture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }),
  33404. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Bump", texture: material.clearCoat.bumpTexture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }),
  33405. material.clearCoat.bumpTexture &&
  33406. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Bump strength", target: material.clearCoat.bumpTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33407. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Tint", target: material.clearCoat, propertyName: "isTintEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33408. material.clearCoat.isEnabled && material.clearCoat.isTintEnabled &&
  33409. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Tint Color", target: material.clearCoat, propertyName: "tintColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33410. material.clearCoat.isEnabled && material.clearCoat.isTintEnabled &&
  33411. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "At Distance", target: material.clearCoat, propertyName: "tintColorAtDistance", minimum: 0, maximum: 20, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33412. material.clearCoat.isEnabled && material.clearCoat.isTintEnabled &&
  33413. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Tint Thickness", target: material.clearCoat, propertyName: "tintThickness", minimum: 0, maximum: 20, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33414. material.clearCoat.isEnabled && material.clearCoat.isTintEnabled &&
  33415. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Tint Texture", texture: material.clearCoat.tintTexture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }))),
  33416. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ANISOTROPIC" },
  33417. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: material.anisotropy, propertyName: "isEnabled", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33418. material.anisotropy.isEnabled &&
  33419. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "fragment" },
  33420. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Intensity", target: material.anisotropy, propertyName: "intensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33421. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector2LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector2LineComponent"], { label: "Direction", target: material.anisotropy, propertyName: "direction", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33422. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Texture", texture: material.anisotropy.texture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }))),
  33423. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHEEN" },
  33424. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: material.sheen, propertyName: "isEnabled", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33425. material.sheen.isEnabled &&
  33426. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "fragment" },
  33427. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Link to Albedo", target: material.sheen, propertyName: "linkSheenWithAlbedo", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33428. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Intensity", target: material.sheen, propertyName: "intensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33429. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Color", target: material.sheen, propertyName: "color", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33430. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Texture", texture: material.sheen.texture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }))),
  33431. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SUBSURFACE" },
  33432. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_10__["TextureLinkLineComponent"], { label: "Thickness", texture: material.subSurface.thicknessTexture, material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: this._onDebugSelectionChangeObservable }),
  33433. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Min Thickness", target: material.subSurface, propertyName: "minimumThickness", minimum: 0, maximum: 10, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33434. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Max Thickness", target: material.subSurface, propertyName: "maximumThickness", minimum: 0, maximum: 10, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33435. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Mask From Thickness", target: material.subSurface, propertyName: "useMaskFromThicknessTexture", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33436. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Tint Color", target: material.subSurface, propertyName: "tintColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33437. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Refraction Enabled", target: material.subSurface, propertyName: "isRefractionEnabled", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33438. material.subSurface.isRefractionEnabled &&
  33439. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "fragment" },
  33440. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Intensity", target: material.subSurface, propertyName: "refractionIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33441. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Index of Refraction", target: material.subSurface, propertyName: "indexOfRefraction", minimum: 1, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33442. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Tint at Distance", target: material.subSurface, propertyName: "tintColorAtDistance", minimum: 0, maximum: 10, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33443. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Link refraction with transparency", target: material.subSurface, propertyName: "linkRefractionWithTransparency", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33444. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Transluency Enabled", target: material.subSurface, propertyName: "isTranslucencyEnabled", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33445. material.subSurface.isTranslucencyEnabled &&
  33446. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "fragment" },
  33447. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Intensity", target: material.subSurface, propertyName: "translucencyIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33448. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffusion Distance", target: material.subSurface, propertyName: "diffusionDistance", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  33449. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LEVELS", closed: true },
  33450. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Environment", target: material, propertyName: "environmentIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33451. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Specular", target: material, propertyName: "specularIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33452. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Emissive", target: material, propertyName: "emissiveIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33453. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Direct", target: material, propertyName: "directIntensity", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33454. material.bumpTexture &&
  33455. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Bump strength", target: material.bumpTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33456. material.ambientTexture &&
  33457. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Ambient strength", target: material, propertyName: "ambientTextureStrength", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33458. material.reflectionTexture &&
  33459. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Reflection strength", target: material.reflectionTexture, propertyName: "level", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33460. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RENDERING", closed: true },
  33461. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Alpha from albedo", target: material, propertyName: "useAlphaFromAlbedoTexture", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33462. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Ambient in grayscale", target: material, propertyName: "useAmbientInGrayScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33463. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Radiance over alpha", target: material, propertyName: "useRadianceOverAlpha", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33464. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Micro-surface from ref. map alpha", target: material, propertyName: "useMicroSurfaceFromReflectivityMapAlpha", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33465. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Specular over alpha", target: material, propertyName: "useSpecularOverAlpha", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33466. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Specular anti-aliasing", target: material, propertyName: "enableSpecularAntiAliasing", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33467. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ADVANCED", closed: true },
  33468. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Energy Conservation", target: material.brdf, propertyName: "useEnergyConservation", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33469. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Spherical Harmonics", target: material.brdf, propertyName: "useSphericalHarmonics", onValueChanged: function () { return _this.forceUpdate(); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33470. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Radiance occlusion", target: material, propertyName: "useRadianceOcclusion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33471. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Horizon occlusion ", target: material, propertyName: "useHorizonOcclusion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33472. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Unlit", target: material, propertyName: "unlit", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33473. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "DEBUG", closed: true },
  33474. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_8__["OptionsLineComponent"], { label: "Debug mode", options: debugMode, target: material, propertyName: "debugMode" }),
  33475. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Split position", target: material, propertyName: "debugLimit", minimum: -1, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33476. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Output factor", target: material, propertyName: "debugFactor", minimum: 0, maximum: 5, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33477. };
  33478. return PBRMaterialPropertyGridComponent;
  33479. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33480. /***/ }),
  33481. /***/ "./components/actionTabs/tabs/propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent.tsx":
  33482. /*!******************************************************************************************************************!*\
  33483. !*** ./components/actionTabs/tabs/propertyGrids/materials/pbrMetallicRoughnessMaterialPropertyGridComponent.tsx ***!
  33484. \******************************************************************************************************************/
  33485. /*! exports provided: PBRMetallicRoughnessMaterialPropertyGridComponent */
  33486. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33487. "use strict";
  33488. __webpack_require__.r(__webpack_exports__);
  33489. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PBRMetallicRoughnessMaterialPropertyGridComponent", function() { return PBRMetallicRoughnessMaterialPropertyGridComponent; });
  33490. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33491. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33492. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33493. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  33494. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  33495. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33496. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33497. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33498. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33499. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  33500. var PBRMetallicRoughnessMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33501. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PBRMetallicRoughnessMaterialPropertyGridComponent, _super);
  33502. function PBRMetallicRoughnessMaterialPropertyGridComponent(props) {
  33503. var _this = _super.call(this, props) || this;
  33504. _this._onDebugSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  33505. return _this;
  33506. }
  33507. PBRMetallicRoughnessMaterialPropertyGridComponent.prototype.renderTextures = function () {
  33508. var material = this.props.material;
  33509. var onDebugSelectionChangeObservable = this._onDebugSelectionChangeObservable;
  33510. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURES" },
  33511. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Base", texture: material.baseTexture, propertyName: "baseTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33512. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Metallic roughness", texture: material.metallicRoughnessTexture, propertyName: "metallicRoughnessTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33513. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Normal", texture: material.normalTexture, propertyName: "normalTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33514. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Environment", texture: material.environmentTexture, propertyName: "environmentTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33515. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Emissive", texture: material.emissiveTexture, propertyName: "emissiveTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33516. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Lightmap", texture: material.lightmapTexture, propertyName: "lightmapTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable })));
  33517. };
  33518. PBRMetallicRoughnessMaterialPropertyGridComponent.prototype.render = function () {
  33519. var material = this.props.material;
  33520. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33521. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33522. this.renderTextures(),
  33523. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIGHTING & COLORS" },
  33524. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Base", target: material, propertyName: "baseColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33525. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Emissive", target: material, propertyName: "emissiveColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33526. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LEVELS", closed: true },
  33527. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Metallic", target: material, propertyName: "metallic", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33528. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Roughness", target: material, propertyName: "roughness", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33529. };
  33530. return PBRMetallicRoughnessMaterialPropertyGridComponent;
  33531. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33532. /***/ }),
  33533. /***/ "./components/actionTabs/tabs/propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent.tsx":
  33534. /*!*******************************************************************************************************************!*\
  33535. !*** ./components/actionTabs/tabs/propertyGrids/materials/pbrSpecularGlossinessMaterialPropertyGridComponent.tsx ***!
  33536. \*******************************************************************************************************************/
  33537. /*! exports provided: PBRSpecularGlossinessMaterialPropertyGridComponent */
  33538. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33539. "use strict";
  33540. __webpack_require__.r(__webpack_exports__);
  33541. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PBRSpecularGlossinessMaterialPropertyGridComponent", function() { return PBRSpecularGlossinessMaterialPropertyGridComponent; });
  33542. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33543. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33544. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33545. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  33546. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  33547. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33548. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33549. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33550. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33551. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  33552. var PBRSpecularGlossinessMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33553. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PBRSpecularGlossinessMaterialPropertyGridComponent, _super);
  33554. function PBRSpecularGlossinessMaterialPropertyGridComponent(props) {
  33555. var _this = _super.call(this, props) || this;
  33556. _this._onDebugSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  33557. return _this;
  33558. }
  33559. PBRSpecularGlossinessMaterialPropertyGridComponent.prototype.renderTextures = function () {
  33560. var material = this.props.material;
  33561. var onDebugSelectionChangeObservable = this._onDebugSelectionChangeObservable;
  33562. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURES" },
  33563. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Diffuse", texture: material.diffuseTexture, propertyName: "diffuseTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33564. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Specular glossiness", texture: material.specularGlossinessTexture, propertyName: "specularGlossinessTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33565. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Normal", texture: material.normalTexture, propertyName: "normalTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33566. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Environment", texture: material.environmentTexture, propertyName: "environmentTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33567. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Emissive", texture: material.emissiveTexture, propertyName: "emissiveTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33568. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Lightmap", texture: material.lightmapTexture, propertyName: "lightmapTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable })));
  33569. };
  33570. PBRSpecularGlossinessMaterialPropertyGridComponent.prototype.render = function () {
  33571. var material = this.props.material;
  33572. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33573. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33574. this.renderTextures(),
  33575. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIGHTING & COLORS" },
  33576. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: material, propertyName: "diffuseColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33577. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Specular", target: material, propertyName: "specularColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33578. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LEVELS", closed: true },
  33579. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Glossiness", target: material, propertyName: "glossiness", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33580. };
  33581. return PBRSpecularGlossinessMaterialPropertyGridComponent;
  33582. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33583. /***/ }),
  33584. /***/ "./components/actionTabs/tabs/propertyGrids/materials/standardMaterialPropertyGridComponent.tsx":
  33585. /*!******************************************************************************************************!*\
  33586. !*** ./components/actionTabs/tabs/propertyGrids/materials/standardMaterialPropertyGridComponent.tsx ***!
  33587. \******************************************************************************************************/
  33588. /*! exports provided: StandardMaterialPropertyGridComponent */
  33589. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33590. "use strict";
  33591. __webpack_require__.r(__webpack_exports__);
  33592. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StandardMaterialPropertyGridComponent", function() { return StandardMaterialPropertyGridComponent; });
  33593. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33594. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33595. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33596. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  33597. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  33598. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33599. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33600. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33601. /* harmony import */ var _commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./commonMaterialPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/materials/commonMaterialPropertyGridComponent.tsx");
  33602. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  33603. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33604. var StandardMaterialPropertyGridComponent = /** @class */ (function (_super) {
  33605. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](StandardMaterialPropertyGridComponent, _super);
  33606. function StandardMaterialPropertyGridComponent(props) {
  33607. var _this = _super.call(this, props) || this;
  33608. _this._onDebugSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  33609. return _this;
  33610. }
  33611. StandardMaterialPropertyGridComponent.prototype.renderTextures = function () {
  33612. var material = this.props.material;
  33613. var onDebugSelectionChangeObservable = this._onDebugSelectionChangeObservable;
  33614. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TEXTURES" },
  33615. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Diffuse", texture: material.diffuseTexture, propertyName: "diffuseTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33616. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Specular", texture: material.specularTexture, propertyName: "specularTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33617. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Reflection", texture: material.reflectionTexture, propertyName: "reflectionTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33618. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Refraction", texture: material.refractionTexture, propertyName: "refractionTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33619. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Emissive", texture: material.emissiveTexture, propertyName: "emissiveTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33620. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Bump", texture: material.bumpTexture, propertyName: "bumpTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33621. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Opacity", texture: material.opacityTexture, propertyName: "opacityTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33622. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Ambient", texture: material.ambientTexture, propertyName: "ambientTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33623. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLinkLineComponent"], { label: "Lightmap", texture: material.lightmapTexture, propertyName: "lightmapTexture", material: material, onSelectionChangedObservable: this.props.onSelectionChangedObservable, onDebugSelectionChangeObservable: onDebugSelectionChangeObservable }),
  33624. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_8__["CheckBoxLineComponent"], { label: "Use lightmap as shadowmap", target: material, propertyName: "useLightmapAsShadowmap ", onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  33625. };
  33626. StandardMaterialPropertyGridComponent.prototype.render = function () {
  33627. var material = this.props.material;
  33628. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33629. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonMaterialPropertyGridComponent__WEBPACK_IMPORTED_MODULE_6__["CommonMaterialPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, material: material, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33630. this.renderTextures(),
  33631. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LIGHTING & COLORS" },
  33632. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Diffuse", target: material, propertyName: "diffuseColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33633. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Specular", target: material, propertyName: "specularColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33634. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Specular power", target: material, propertyName: "specularPower", minimum: 0, maximum: 128, step: 0.1, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33635. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Emissive", target: material, propertyName: "emissiveColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33636. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Color3LineComponent"], { label: "Ambient", target: material, propertyName: "ambientColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33637. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "LEVELS", closed: true },
  33638. material.diffuseTexture &&
  33639. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Diffuse level", target: material.diffuseTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33640. material.specularTexture &&
  33641. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Specular level", target: material.specularTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33642. material.reflectionTexture &&
  33643. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Reflection level", target: material.reflectionTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33644. material.refractionTexture &&
  33645. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Refraction level", target: material.refractionTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33646. material.emissiveTexture &&
  33647. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Emissive level", target: material.emissiveTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33648. material.bumpTexture &&
  33649. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Bump level", target: material.bumpTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33650. material.opacityTexture &&
  33651. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Opacity level", target: material.opacityTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33652. material.ambientTexture &&
  33653. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Ambient level", target: material.ambientTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33654. material.lightmapTexture &&
  33655. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_5__["SliderLineComponent"], { label: "Lightmap level", target: material.lightmapTexture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33656. };
  33657. return StandardMaterialPropertyGridComponent;
  33658. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33659. /***/ }),
  33660. /***/ "./components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent.tsx":
  33661. /*!*********************************************************************************************!*\
  33662. !*** ./components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent.tsx ***!
  33663. \*********************************************************************************************/
  33664. /*! exports provided: TexturePropertyGridComponent */
  33665. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33666. "use strict";
  33667. __webpack_require__.r(__webpack_exports__);
  33668. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TexturePropertyGridComponent", function() { return TexturePropertyGridComponent; });
  33669. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33670. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33671. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33672. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  33673. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__);
  33674. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33675. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33676. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  33677. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33678. /* harmony import */ var _lines_textureLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/textureLineComponent */ "./components/actionTabs/lines/textureLineComponent.tsx");
  33679. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  33680. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  33681. /* harmony import */ var _lines_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../lines/fileButtonLineComponent */ "./components/actionTabs/lines/fileButtonLineComponent.tsx");
  33682. /* harmony import */ var _lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../lines/valueLineComponent */ "./components/actionTabs/lines/valueLineComponent.tsx");
  33683. /* harmony import */ var babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! babylonjs-gui/2D/adtInstrumentation */ "babylonjs-gui/2D/controls/image");
  33684. /* harmony import */ var babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__);
  33685. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  33686. var TexturePropertyGridComponent = /** @class */ (function (_super) {
  33687. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TexturePropertyGridComponent, _super);
  33688. function TexturePropertyGridComponent(props) {
  33689. return _super.call(this, props) || this;
  33690. }
  33691. TexturePropertyGridComponent.prototype.componentWillMount = function () {
  33692. var texture = this.props.texture;
  33693. if (!texture || !texture.rootContainer) {
  33694. return;
  33695. }
  33696. var adt = texture;
  33697. this._adtInstrumentation = new babylonjs_gui_2D_adtInstrumentation__WEBPACK_IMPORTED_MODULE_12__["AdvancedDynamicTextureInstrumentation"](adt);
  33698. this._adtInstrumentation.captureRenderTime = true;
  33699. this._adtInstrumentation.captureLayoutTime = true;
  33700. };
  33701. TexturePropertyGridComponent.prototype.componentWillUnmount = function () {
  33702. if (this._adtInstrumentation) {
  33703. this._adtInstrumentation.dispose();
  33704. this._adtInstrumentation = null;
  33705. }
  33706. };
  33707. TexturePropertyGridComponent.prototype.updateTexture = function (file) {
  33708. var _this = this;
  33709. var texture = this.props.texture;
  33710. babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].ReadFile(file, function (data) {
  33711. var blob = new Blob([data], { type: "octet/stream" });
  33712. var url = URL.createObjectURL(blob);
  33713. if (texture.isCube) {
  33714. var extension = undefined;
  33715. if (file.name.toLowerCase().indexOf(".dds") > 0) {
  33716. extension = ".dds";
  33717. }
  33718. else if (file.name.toLowerCase().indexOf(".env") > 0) {
  33719. extension = ".env";
  33720. }
  33721. texture.updateURL(url, extension, function () { return _this.forceUpdate(); });
  33722. }
  33723. else {
  33724. texture.updateURL(url, null, function () { return _this.forceUpdate(); });
  33725. }
  33726. }, undefined, true);
  33727. };
  33728. TexturePropertyGridComponent.prototype.render = function () {
  33729. var _this = this;
  33730. var texture = this.props.texture;
  33731. var samplingMode = [
  33732. { label: "Nearest", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].NEAREST_NEAREST },
  33733. { label: "Nearest & linear mip", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].NEAREST_LINEAR },
  33734. { label: "Linear", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].LINEAR_LINEAR_MIPLINEAR },
  33735. ];
  33736. var coordinatesMode = [
  33737. { label: "Explicit", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].EXPLICIT_MODE },
  33738. { label: "Cubic", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].CUBIC_MODE },
  33739. { label: "Inverse cubic", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].INVCUBIC_MODE },
  33740. { label: "Equirectangular", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].EQUIRECTANGULAR_MODE },
  33741. { label: "Fixed equirectangular", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].FIXED_EQUIRECTANGULAR_MODE },
  33742. { label: "Fixed equirectangular mirrored", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].FIXED_EQUIRECTANGULAR_MIRRORED_MODE },
  33743. { label: "Planar", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].PLANAR_MODE },
  33744. { label: "Projection", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].PROJECTION_MODE },
  33745. { label: "Skybox", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].SKYBOX_MODE },
  33746. { label: "Spherical", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].SPHERICAL_MODE },
  33747. ];
  33748. var extension = "";
  33749. var url = texture.url;
  33750. if (url) {
  33751. for (var index = url.length - 1; index >= 0; index--) {
  33752. if (url[index] === ".") {
  33753. break;
  33754. }
  33755. extension = url[index] + extension;
  33756. }
  33757. }
  33758. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33759. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "PREVIEW" },
  33760. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLineComponent__WEBPACK_IMPORTED_MODULE_7__["TextureLineComponent"], { texture: texture, width: 256, height: 256, globalState: this.props.globalState }),
  33761. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_10__["FileButtonLineComponent"], { label: "Replace texture", onClick: function (file) { return _this.updateTexture(file); }, accept: ".jpg, .png, .tga, .dds, .env" })),
  33762. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_13__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: texture, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33763. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  33764. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Width", value: texture.getSize().width.toString() }),
  33765. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Height", value: texture.getSize().height.toString() }),
  33766. extension &&
  33767. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "File format", value: extension }),
  33768. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Unique ID", value: texture.uniqueId.toString() }),
  33769. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Class", value: texture.getClassName() }),
  33770. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Has alpha", value: texture.hasAlpha ? "Yes" : "No" }),
  33771. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Is 3D", value: texture.is3D ? "Yes" : "No" }),
  33772. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Is cube", value: texture.isCube ? "Yes" : "No" }),
  33773. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Is render target", value: texture.isRenderTarget ? "Yes" : "No" }),
  33774. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Has mipmaps", value: !texture.noMipmap ? "Yes" : "No" }),
  33775. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "UV set", target: texture, propertyName: "coordinatesIndex", minimum: 0, maximum: 3, step: 1, onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 0 }),
  33776. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_9__["OptionsLineComponent"], { label: "Mode", options: coordinatesMode, target: texture, propertyName: "coordinatesMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return texture.updateSamplingMode(value); } }),
  33777. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Level", target: texture, propertyName: "level", minimum: 0, maximum: 2, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33778. texture.updateSamplingMode &&
  33779. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_9__["OptionsLineComponent"], { label: "Sampling", options: samplingMode, target: texture, noDirectUpdate: true, propertyName: "samplingMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return texture.updateSamplingMode(value); } })),
  33780. texture.rootContainer &&
  33781. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ADVANCED TEXTURE PROPERTIES" },
  33782. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_11__["ValueLineComponent"], { label: "Last layout time", value: this._adtInstrumentation.renderTimeCounter.current, units: "ms" }),
  33783. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_11__["ValueLineComponent"], { label: "Last render time", value: this._adtInstrumentation.layoutTimeCounter.current, units: "ms" }),
  33784. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Render scale", minimum: 0.1, maximum: 5, step: 0.1, target: texture, propertyName: "renderScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33785. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Premultiply alpha", target: texture, propertyName: "premulAlpha", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33786. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Ideal width", target: texture, propertyName: "idealWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33787. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Ideal height", target: texture, propertyName: "idealHeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33788. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Use smallest ideal", target: texture, propertyName: "useSmallestIdeal", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33789. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Render at ideal size", target: texture, propertyName: "renderAtIdealSize", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33790. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Invalidate Rect optimization", target: texture, propertyName: "useInvalidateRectOptimization", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  33791. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORM" },
  33792. !texture.isCube &&
  33793. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  33794. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "U offset", target: texture, propertyName: "uOffset", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33795. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "V offset", target: texture, propertyName: "vOffset", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33796. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "U scale", target: texture, propertyName: "uScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33797. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "V scale", target: texture, propertyName: "vScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33798. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "U angle", useEuler: this.props.globalState.onlyUseEulers, target: texture, propertyName: "uAng", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33799. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "V angle", useEuler: this.props.globalState.onlyUseEulers, target: texture, propertyName: "vAng", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33800. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_8__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "W angle", useEuler: this.props.globalState.onlyUseEulers, target: texture, propertyName: "wAng", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33801. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Clamp U", isSelected: function () { return texture.wrapU === babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].CLAMP_ADDRESSMODE; }, onSelect: function (value) { return texture.wrapU = value ? babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].CLAMP_ADDRESSMODE : babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].WRAP_ADDRESSMODE; } }),
  33802. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Clamp V", isSelected: function () { return texture.wrapV === babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].CLAMP_ADDRESSMODE; }, onSelect: function (value) { return texture.wrapV = value ? babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].CLAMP_ADDRESSMODE : babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"].WRAP_ADDRESSMODE; } })),
  33803. texture.isCube &&
  33804. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  33805. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Rotation Y", useEuler: this.props.globalState.onlyUseEulers, minimum: 0, maximum: 2 * Math.PI, step: 0.1, target: texture, propertyName: "rotationY" })))));
  33806. };
  33807. return TexturePropertyGridComponent;
  33808. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33809. /***/ }),
  33810. /***/ "./components/actionTabs/tabs/propertyGrids/meshes/bonePropertyGridComponent.tsx":
  33811. /*!***************************************************************************************!*\
  33812. !*** ./components/actionTabs/tabs/propertyGrids/meshes/bonePropertyGridComponent.tsx ***!
  33813. \***************************************************************************************/
  33814. /*! exports provided: BonePropertyGridComponent */
  33815. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33816. "use strict";
  33817. __webpack_require__.r(__webpack_exports__);
  33818. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BonePropertyGridComponent", function() { return BonePropertyGridComponent; });
  33819. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33820. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33821. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33822. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33823. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  33824. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  33825. /* harmony import */ var _lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/quaternionLineComponent */ "./components/actionTabs/lines/quaternionLineComponent.tsx");
  33826. var BonePropertyGridComponent = /** @class */ (function (_super) {
  33827. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](BonePropertyGridComponent, _super);
  33828. function BonePropertyGridComponent(props) {
  33829. return _super.call(this, props) || this;
  33830. }
  33831. BonePropertyGridComponent.prototype.render = function () {
  33832. var bone = this.props.bone;
  33833. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  33834. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  33835. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "ID", value: bone.id }),
  33836. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Unique ID", value: bone.uniqueId.toString() })),
  33837. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMATIONS" },
  33838. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Position", target: bone, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33839. !bone.rotationQuaternion &&
  33840. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: bone, propertyName: "rotation", step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33841. bone.rotationQuaternion &&
  33842. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_5__["QuaternionLineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: bone, propertyName: "rotationQuaternion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  33843. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Scaling", target: bone, propertyName: "scaling", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  33844. };
  33845. return BonePropertyGridComponent;
  33846. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  33847. /***/ }),
  33848. /***/ "./components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx":
  33849. /*!***************************************************************************************!*\
  33850. !*** ./components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx ***!
  33851. \***************************************************************************************/
  33852. /*! exports provided: MeshPropertyGridComponent */
  33853. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  33854. "use strict";
  33855. __webpack_require__.r(__webpack_exports__);
  33856. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MeshPropertyGridComponent", function() { return MeshPropertyGridComponent; });
  33857. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  33858. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  33859. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  33860. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  33861. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__);
  33862. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  33863. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  33864. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  33865. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  33866. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  33867. /* harmony import */ var _lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../lines/quaternionLineComponent */ "./components/actionTabs/lines/quaternionLineComponent.tsx");
  33868. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  33869. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  33870. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  33871. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  33872. var MeshPropertyGridComponent = /** @class */ (function (_super) {
  33873. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](MeshPropertyGridComponent, _super);
  33874. function MeshPropertyGridComponent(props) {
  33875. var _this = _super.call(this, props) || this;
  33876. _this.state = {
  33877. displayNormals: false
  33878. };
  33879. return _this;
  33880. }
  33881. MeshPropertyGridComponent.prototype.renderWireframeOver = function () {
  33882. var mesh = this.props.mesh;
  33883. var scene = mesh.getScene();
  33884. if (mesh.reservedDataStore && mesh.reservedDataStore.wireframeOver) {
  33885. mesh.reservedDataStore.wireframeOver.dispose(false, true);
  33886. mesh.reservedDataStore.wireframeOver = null;
  33887. this.forceUpdate();
  33888. return;
  33889. }
  33890. var wireframeOver = mesh.clone();
  33891. wireframeOver.reservedDataStore = { hidden: true };
  33892. wireframeOver.position = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Vector3"].Zero();
  33893. wireframeOver.setParent(mesh);
  33894. var material = new babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["StandardMaterial"]("wireframeOver", scene);
  33895. material.reservedDataStore = { hidden: true };
  33896. wireframeOver.material = material;
  33897. material.zOffset = 1;
  33898. material.disableLighting = true;
  33899. material.backFaceCulling = false;
  33900. material.emissiveColor = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Color3"].White();
  33901. material.wireframe = true;
  33902. if (!mesh.reservedDataStore) {
  33903. mesh.reservedDataStore = {};
  33904. }
  33905. mesh.reservedDataStore.wireframeOver = wireframeOver;
  33906. this.forceUpdate();
  33907. };
  33908. MeshPropertyGridComponent.prototype.renderNormalVectors = function () {
  33909. var mesh = this.props.mesh;
  33910. var scene = mesh.getScene();
  33911. if (mesh.reservedDataStore && mesh.reservedDataStore.normalLines) {
  33912. mesh.reservedDataStore.normalLines.dispose();
  33913. mesh.reservedDataStore.normalLines = null;
  33914. this.forceUpdate();
  33915. return;
  33916. }
  33917. var normals = mesh.getVerticesData(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].NormalKind);
  33918. var positions = mesh.getVerticesData(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].PositionKind);
  33919. var color = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Color3"].White();
  33920. var size = mesh.getBoundingInfo().diagonalLength * 0.05;
  33921. var lines = [];
  33922. for (var i = 0; i < normals.length; i += 3) {
  33923. var v1 = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Vector3"].FromArray(positions, i);
  33924. var v2 = v1.add(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Vector3"].FromArray(normals, i).scaleInPlace(size));
  33925. lines.push([v1, v2]);
  33926. }
  33927. var normalLines = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["LinesBuilder"].CreateLineSystem("normalLines", { lines: lines }, scene);
  33928. normalLines.color = color;
  33929. normalLines.parent = mesh;
  33930. normalLines.reservedDataStore = { hidden: true };
  33931. if (!mesh.reservedDataStore) {
  33932. mesh.reservedDataStore = {};
  33933. }
  33934. mesh.reservedDataStore.normalLines = normalLines;
  33935. this.forceUpdate();
  33936. };
  33937. MeshPropertyGridComponent.prototype.displayNormals = function () {
  33938. var _this = this;
  33939. var mesh = this.props.mesh;
  33940. var scene = mesh.getScene();
  33941. if (!mesh.material) {
  33942. return;
  33943. }
  33944. if (mesh.material.getClassName() === "NormalMaterial") {
  33945. mesh.material.dispose();
  33946. mesh.material = mesh.reservedDataStore.originalMaterial;
  33947. mesh.reservedDataStore.originalMaterial = null;
  33948. this.setState({ displayNormals: false });
  33949. }
  33950. else {
  33951. if (!BABYLON.NormalMaterial) {
  33952. this.setState({ displayNormals: true });
  33953. babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].LoadScript("https://preview.babylonjs.com/materialsLibrary/babylonjs.materials.js", function () {
  33954. _this.displayNormals();
  33955. });
  33956. return;
  33957. }
  33958. if (!mesh.reservedDataStore) {
  33959. mesh.reservedDataStore = {};
  33960. }
  33961. mesh.reservedDataStore.originalMaterial = mesh.material;
  33962. var normalMaterial = new BABYLON.NormalMaterial("normalMaterial", scene);
  33963. normalMaterial.disableLighting = true;
  33964. normalMaterial.sideOrientation = mesh.material.sideOrientation;
  33965. normalMaterial.reservedDataStore = { hidden: true };
  33966. mesh.material = normalMaterial;
  33967. this.setState({ displayNormals: true });
  33968. }
  33969. };
  33970. MeshPropertyGridComponent.prototype.onMaterialLink = function () {
  33971. if (!this.props.onSelectionChangedObservable) {
  33972. return;
  33973. }
  33974. var mesh = this.props.mesh;
  33975. this.props.onSelectionChangedObservable.notifyObservers(mesh.material);
  33976. };
  33977. MeshPropertyGridComponent.prototype.onSourceMeshLink = function () {
  33978. if (!this.props.onSelectionChangedObservable) {
  33979. return;
  33980. }
  33981. var instanceMesh = this.props.mesh;
  33982. this.props.onSelectionChangedObservable.notifyObservers(instanceMesh.sourceMesh);
  33983. };
  33984. MeshPropertyGridComponent.prototype.convertPhysicsTypeToString = function () {
  33985. var mesh = this.props.mesh;
  33986. switch (mesh.physicsImpostor.type) {
  33987. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].NoImpostor:
  33988. return "No impostor";
  33989. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].SphereImpostor:
  33990. return "Sphere";
  33991. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].BoxImpostor:
  33992. return "Box";
  33993. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].PlaneImpostor:
  33994. return "Plane";
  33995. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].MeshImpostor:
  33996. return "Mesh";
  33997. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].CylinderImpostor:
  33998. return "Cylinder";
  33999. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].ParticleImpostor:
  34000. return "Particle";
  34001. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].HeightmapImpostor:
  34002. return "Heightmap";
  34003. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].ConvexHullImpostor:
  34004. return "Convex hull";
  34005. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].RopeImpostor:
  34006. return "Rope";
  34007. case babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["PhysicsImpostor"].SoftbodyImpostor:
  34008. return "Soft body";
  34009. }
  34010. return "Unknown";
  34011. };
  34012. MeshPropertyGridComponent.prototype.render = function () {
  34013. var _this = this;
  34014. var mesh = this.props.mesh;
  34015. var scene = mesh.getScene();
  34016. var displayNormals = mesh.material != null && mesh.material.getClassName() === "NormalMaterial";
  34017. var renderNormalVectors = (mesh.reservedDataStore && mesh.reservedDataStore.normalLines) ? true : false;
  34018. var renderWireframeOver = (mesh.reservedDataStore && mesh.reservedDataStore.wireframeOver) ? true : false;
  34019. var morphTargets = [];
  34020. if (mesh.morphTargetManager) {
  34021. for (var index = 0; index < mesh.morphTargetManager.numTargets; index++) {
  34022. morphTargets.push(mesh.morphTargetManager.getTarget(index));
  34023. }
  34024. }
  34025. var algorithmOptions = [
  34026. { label: "Accurate", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["AbstractMesh"].OCCLUSION_ALGORITHM_TYPE_ACCURATE },
  34027. { label: "Conservative", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["AbstractMesh"].OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE },
  34028. ];
  34029. var occlusionTypeOptions = [
  34030. { label: "None", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["AbstractMesh"].OCCLUSION_TYPE_NONE },
  34031. { label: "Optimistic", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["AbstractMesh"].OCCLUSION_TYPE_OPTIMISTIC },
  34032. { label: "Strict", value: babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["AbstractMesh"].OCCLUSION_TYPE_STRICT },
  34033. ];
  34034. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34035. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_10__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: mesh, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34036. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  34037. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "ID", value: mesh.id }),
  34038. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Unique ID", value: mesh.uniqueId.toString() }),
  34039. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Class", value: mesh.getClassName() }),
  34040. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Vertices", value: mesh.getTotalVertices().toString() }),
  34041. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Faces", value: (mesh.getTotalIndices() / 3).toFixed(0) }),
  34042. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Sub-meshes", value: mesh.subMeshes ? mesh.subMeshes.length.toString() : "0" }),
  34043. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has skeleton", value: mesh.skeleton ? "Yes" : "No" }),
  34044. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Is enabled", isSelected: function () { return mesh.isEnabled(); }, onSelect: function (value) { return mesh.setEnabled(value); } }),
  34045. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Is pickable", target: mesh, propertyName: "isPickable", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34046. mesh.material &&
  34047. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Material", value: mesh.material.name, onLink: function () { return _this.onMaterialLink(); } }),
  34048. mesh.isAnInstance &&
  34049. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Source", value: mesh.sourceMesh.name, onLink: function () { return _this.onSourceMeshLink(); } })),
  34050. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMS" },
  34051. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector3LineComponent"], { label: "Position", target: mesh, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34052. !mesh.rotationQuaternion &&
  34053. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector3LineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: mesh, propertyName: "rotation", step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34054. mesh.rotationQuaternion &&
  34055. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_8__["QuaternionLineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: mesh, propertyName: "rotationQuaternion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34056. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector3LineComponent"], { label: "Scaling", target: mesh, propertyName: "scaling", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34057. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "DISPLAY", closed: true },
  34058. !mesh.isAnInstance &&
  34059. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Visibility", target: mesh, propertyName: "visibility", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34060. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_9__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Alpha index", target: mesh, propertyName: "alphaIndex", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34061. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Receive shadows", target: mesh, propertyName: "receiveShadows", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34062. mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].ColorKind) &&
  34063. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Use vertex colors", target: mesh, propertyName: "useVertexColors", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34064. scene.fogMode !== babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Scene"].FOGMODE_NONE &&
  34065. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Apply fog", target: mesh, propertyName: "applyFog", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34066. !mesh.parent &&
  34067. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Infinite distance", target: mesh, propertyName: "infiniteDistance", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34068. mesh.morphTargetManager != null &&
  34069. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "MORPH TARGETS", closed: true }, morphTargets.map(function (mt, i) {
  34070. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: mt.name, target: mt, propertyName: "influence", minimum: 0, maximum: 1, step: 0.01, onPropertyChangedObservable: _this.props.onPropertyChangedObservable }));
  34071. })),
  34072. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ADVANCED", closed: true },
  34073. mesh.useBones &&
  34074. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Compute bones using shaders", target: mesh, propertyName: "computeBonesUsingShaders", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34075. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Collisions", target: mesh, propertyName: "checkCollisions", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34076. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has normals", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].NormalKind) ? "Yes" : "No" }),
  34077. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has vertex colors", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].ColorKind) ? "Yes" : "No" }),
  34078. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has UV set 0", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].UVKind) ? "Yes" : "No" }),
  34079. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has UV set 1", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].UV2Kind) ? "Yes" : "No" }),
  34080. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has UV set 2", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].UV3Kind) ? "Yes" : "No" }),
  34081. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has UV set 3", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].UV4Kind) ? "Yes" : "No" }),
  34082. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has tangents", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].TangentKind) ? "Yes" : "No" }),
  34083. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has matrix weights", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].MatricesWeightsKind) ? "Yes" : "No" }),
  34084. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Has matrix indices", value: mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].MatricesIndicesKind) ? "Yes" : "No" })),
  34085. mesh.physicsImpostor != null &&
  34086. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "PHYSICS", closed: true },
  34087. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_9__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Mass", target: mesh.physicsImpostor, propertyName: "mass", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34088. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_9__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Friction", target: mesh.physicsImpostor, propertyName: "friction", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34089. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_9__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Restitution", target: mesh.physicsImpostor, propertyName: "restitution", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34090. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Type", value: this.convertPhysicsTypeToString() })),
  34091. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "OCCLUSIONS", closed: true },
  34092. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_12__["OptionsLineComponent"], { label: "Type", options: occlusionTypeOptions, target: mesh, propertyName: "occlusionType", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34093. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Retry count", minimum: -1, maximum: 10, decimalCount: 0, step: 1, target: mesh, propertyName: "occlusionRetryCount", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34094. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_12__["OptionsLineComponent"], { label: "Algorithm", options: algorithmOptions, target: mesh, propertyName: "occlusionQueryAlgorithmType", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34095. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "EDGE RENDERING", closed: true },
  34096. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enable", target: mesh, isSelected: function () { return mesh.edgesRenderer != null; }, onSelect: function (value) {
  34097. if (value) {
  34098. mesh.enableEdgesRendering();
  34099. }
  34100. else {
  34101. mesh.disableEdgesRendering();
  34102. }
  34103. } }),
  34104. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_7__["SliderLineComponent"], { label: "Edge width", minimum: 0, maximum: 10, step: 0.1, target: mesh, propertyName: "edgesWidth", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34105. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_11__["Color3LineComponent"], { label: "Edge color", target: mesh, propertyName: "edgesColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34106. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "OUTLINE & OVERLAY", closed: true },
  34107. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Render overlay", target: mesh, propertyName: "renderOverlay", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34108. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_11__["Color3LineComponent"], { label: "Overlay color", target: mesh, propertyName: "overlayColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34109. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Render outline", target: mesh, propertyName: "renderOutline", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34110. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_11__["Color3LineComponent"], { label: "Outline color", target: mesh, propertyName: "outlineColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34111. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "DEBUG", closed: true },
  34112. mesh.material &&
  34113. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Display normals", isSelected: function () { return displayNormals; }, onSelect: function () { return _this.displayNormals(); } }),
  34114. mesh.isVerticesDataPresent(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["VertexBuffer"].NormalKind) &&
  34115. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Render vertex normals", isSelected: function () { return renderNormalVectors; }, onSelect: function () { return _this.renderNormalVectors(); } }),
  34116. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Render wireframe over mesh", isSelected: function () { return renderWireframeOver; }, onSelect: function () { return _this.renderWireframeOver(); } }))));
  34117. };
  34118. return MeshPropertyGridComponent;
  34119. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34120. /***/ }),
  34121. /***/ "./components/actionTabs/tabs/propertyGrids/meshes/skeletonPropertyGridComponent.tsx":
  34122. /*!*******************************************************************************************!*\
  34123. !*** ./components/actionTabs/tabs/propertyGrids/meshes/skeletonPropertyGridComponent.tsx ***!
  34124. \*******************************************************************************************/
  34125. /*! exports provided: SkeletonPropertyGridComponent */
  34126. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34127. "use strict";
  34128. __webpack_require__.r(__webpack_exports__);
  34129. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SkeletonPropertyGridComponent", function() { return SkeletonPropertyGridComponent; });
  34130. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34131. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34132. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34133. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34134. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34135. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  34136. /* harmony import */ var _animationPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../animationPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/animationPropertyGridComponent.tsx");
  34137. /* harmony import */ var babylonjs_Debug_skeletonViewer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! babylonjs/Debug/skeletonViewer */ "babylonjs/Misc/observable");
  34138. /* harmony import */ var babylonjs_Debug_skeletonViewer__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Debug_skeletonViewer__WEBPACK_IMPORTED_MODULE_6__);
  34139. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  34140. var SkeletonPropertyGridComponent = /** @class */ (function (_super) {
  34141. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SkeletonPropertyGridComponent, _super);
  34142. function SkeletonPropertyGridComponent(props) {
  34143. var _this = _super.call(this, props) || this;
  34144. _this._skeletonViewersEnabled = false;
  34145. _this._skeletonViewers = new Array();
  34146. return _this;
  34147. }
  34148. SkeletonPropertyGridComponent.prototype.switchSkeletonViewers = function () {
  34149. this._skeletonViewersEnabled = !this._skeletonViewersEnabled;
  34150. var scene = this.props.skeleton.getScene();
  34151. if (this._skeletonViewersEnabled) {
  34152. for (var _i = 0, _a = scene.meshes; _i < _a.length; _i++) {
  34153. var mesh = _a[_i];
  34154. if (mesh.skeleton === this.props.skeleton) {
  34155. var found = false;
  34156. for (var sIndex = 0; sIndex < this._skeletonViewers.length; sIndex++) {
  34157. if (this._skeletonViewers[sIndex].skeleton === mesh.skeleton) {
  34158. found = true;
  34159. break;
  34160. }
  34161. }
  34162. if (found) {
  34163. continue;
  34164. }
  34165. var viewer = new babylonjs_Debug_skeletonViewer__WEBPACK_IMPORTED_MODULE_6__["SkeletonViewer"](mesh.skeleton, mesh, scene, true, 0);
  34166. viewer.isEnabled = true;
  34167. this._skeletonViewers.push(viewer);
  34168. if (!mesh.reservedDataStore) {
  34169. mesh.reservedDataStore = {};
  34170. }
  34171. mesh.reservedDataStore.skeletonViewer = viewer;
  34172. }
  34173. }
  34174. }
  34175. else {
  34176. for (var index = 0; index < this._skeletonViewers.length; index++) {
  34177. this._skeletonViewers[index].mesh.reservedDataStore.skeletonViewer = null;
  34178. this._skeletonViewers[index].dispose();
  34179. }
  34180. this._skeletonViewers = [];
  34181. }
  34182. };
  34183. SkeletonPropertyGridComponent.prototype.checkSkeletonViewerState = function (props) {
  34184. var scene = props.skeleton.getScene();
  34185. this._skeletonViewers = [];
  34186. if (!scene) {
  34187. return;
  34188. }
  34189. for (var _i = 0, _a = scene.meshes; _i < _a.length; _i++) {
  34190. var mesh = _a[_i];
  34191. if (mesh.skeleton === props.skeleton && mesh.reservedDataStore && mesh.reservedDataStore.skeletonViewer) {
  34192. this._skeletonViewers.push(mesh.reservedDataStore.skeletonViewer);
  34193. }
  34194. }
  34195. this._skeletonViewersEnabled = (this._skeletonViewers.length > 0);
  34196. };
  34197. SkeletonPropertyGridComponent.prototype.componentWillMount = function () {
  34198. this.checkSkeletonViewerState(this.props);
  34199. };
  34200. SkeletonPropertyGridComponent.prototype.shouldComponentUpdate = function (nextProps) {
  34201. if (nextProps.skeleton !== this.props.skeleton) {
  34202. this.checkSkeletonViewerState(nextProps);
  34203. }
  34204. return true;
  34205. };
  34206. SkeletonPropertyGridComponent.prototype.render = function () {
  34207. var _this = this;
  34208. var skeleton = this.props.skeleton;
  34209. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34210. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: skeleton, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34211. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  34212. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "ID", value: skeleton.id }),
  34213. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Bone count", value: skeleton.bones.length.toString() }),
  34214. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Use texture to store matrices", target: skeleton, propertyName: "useTextureToStoreBoneMatrices", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34215. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Debug mode", isSelected: function () { return _this._skeletonViewersEnabled; }, onSelect: function () { return _this.switchSkeletonViewers(); } })),
  34216. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_animationPropertyGridComponent__WEBPACK_IMPORTED_MODULE_5__["AnimationGridComponent"], { globalState: this.props.globalState, animatable: skeleton, scene: skeleton.getScene(), lockObject: this.props.lockObject })));
  34217. };
  34218. return SkeletonPropertyGridComponent;
  34219. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34220. /***/ }),
  34221. /***/ "./components/actionTabs/tabs/propertyGrids/meshes/transformNodePropertyGridComponent.tsx":
  34222. /*!************************************************************************************************!*\
  34223. !*** ./components/actionTabs/tabs/propertyGrids/meshes/transformNodePropertyGridComponent.tsx ***!
  34224. \************************************************************************************************/
  34225. /*! exports provided: TransformNodePropertyGridComponent */
  34226. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34227. "use strict";
  34228. __webpack_require__.r(__webpack_exports__);
  34229. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransformNodePropertyGridComponent", function() { return TransformNodePropertyGridComponent; });
  34230. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34231. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34232. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34233. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34234. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34235. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  34236. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  34237. /* harmony import */ var _lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/quaternionLineComponent */ "./components/actionTabs/lines/quaternionLineComponent.tsx");
  34238. /* harmony import */ var _customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../customPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/customPropertyGridComponent.tsx");
  34239. var TransformNodePropertyGridComponent = /** @class */ (function (_super) {
  34240. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TransformNodePropertyGridComponent, _super);
  34241. function TransformNodePropertyGridComponent(props) {
  34242. return _super.call(this, props) || this;
  34243. }
  34244. TransformNodePropertyGridComponent.prototype.render = function () {
  34245. var transformNode = this.props.transformNode;
  34246. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34247. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_customPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["CustomPropertyGridComponent"], { globalState: this.props.globalState, target: transformNode, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34248. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  34249. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "ID", value: transformNode.id }),
  34250. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Unique ID", value: transformNode.uniqueId.toString() }),
  34251. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_5__["TextLineComponent"], { label: "Class", value: transformNode.getClassName() }),
  34252. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "IsEnabled", isSelected: function () { return transformNode.isEnabled(); }, onSelect: function (value) { return transformNode.setEnabled(value); } })),
  34253. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "TRANSFORMATIONS" },
  34254. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Position", target: transformNode, propertyName: "position", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34255. !transformNode.rotationQuaternion &&
  34256. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: transformNode, propertyName: "rotation", step: 0.01, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34257. transformNode.rotationQuaternion &&
  34258. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_quaternionLineComponent__WEBPACK_IMPORTED_MODULE_6__["QuaternionLineComponent"], { label: "Rotation", useEuler: this.props.globalState.onlyUseEulers, target: transformNode, propertyName: "rotationQuaternion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34259. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_4__["Vector3LineComponent"], { label: "Scaling", target: transformNode, propertyName: "scaling", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  34260. };
  34261. return TransformNodePropertyGridComponent;
  34262. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34263. /***/ }),
  34264. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonPostProcessPropertyGridComponent.tsx":
  34265. /*!***********************************************************************************************************!*\
  34266. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/commonPostProcessPropertyGridComponent.tsx ***!
  34267. \***********************************************************************************************************/
  34268. /*! exports provided: CommonPostProcessPropertyGridComponent */
  34269. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34270. "use strict";
  34271. __webpack_require__.r(__webpack_exports__);
  34272. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonPostProcessPropertyGridComponent", function() { return CommonPostProcessPropertyGridComponent; });
  34273. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34274. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34275. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34276. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34277. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34278. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  34279. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  34280. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34281. var CommonPostProcessPropertyGridComponent = /** @class */ (function (_super) {
  34282. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonPostProcessPropertyGridComponent, _super);
  34283. function CommonPostProcessPropertyGridComponent(props) {
  34284. return _super.call(this, props) || this;
  34285. }
  34286. CommonPostProcessPropertyGridComponent.prototype.render = function () {
  34287. var postProcess = this.props.postProcess;
  34288. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34289. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  34290. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Class", value: postProcess.getClassName() }),
  34291. postProcess.width &&
  34292. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Width", value: postProcess.width.toString() }),
  34293. postProcess.height &&
  34294. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Height", value: postProcess.height.toString() }),
  34295. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_2__["CheckBoxLineComponent"], { label: "Auto clear", target: postProcess, propertyName: "autoClear", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34296. postProcess.clearColor &&
  34297. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Color3LineComponent"], { label: "Clear color", target: postProcess, propertyName: "clearColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34298. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_2__["CheckBoxLineComponent"], { label: "Pixel perfect", target: postProcess, propertyName: "enablePixelPerfectMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34299. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_2__["CheckBoxLineComponent"], { label: "Fullscreen viewport", target: postProcess, propertyName: "forceFullscreenViewport", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34300. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_6__["SliderLineComponent"], { label: "Samples", target: postProcess, propertyName: "samples", minimum: 1, maximum: 8, step: 1, decimalCount: 0, onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  34301. };
  34302. return CommonPostProcessPropertyGridComponent;
  34303. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34304. /***/ }),
  34305. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx":
  34306. /*!*****************************************************************************************************************!*\
  34307. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx ***!
  34308. \*****************************************************************************************************************/
  34309. /*! exports provided: CommonRenderingPipelinePropertyGridComponent */
  34310. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34311. "use strict";
  34312. __webpack_require__.r(__webpack_exports__);
  34313. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonRenderingPipelinePropertyGridComponent", function() { return CommonRenderingPipelinePropertyGridComponent; });
  34314. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34315. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34316. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34317. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34318. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  34319. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34320. var CommonRenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34321. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CommonRenderingPipelinePropertyGridComponent, _super);
  34322. function CommonRenderingPipelinePropertyGridComponent(props) {
  34323. return _super.call(this, props) || this;
  34324. }
  34325. CommonRenderingPipelinePropertyGridComponent.prototype.render = function () {
  34326. var renderPipeline = this.props.renderPipeline;
  34327. var renderPipelineAsAny = renderPipeline;
  34328. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34329. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GENERAL" },
  34330. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Class", value: renderPipeline.getClassName() }),
  34331. renderPipelineAsAny.samples !== undefined &&
  34332. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_4__["SliderLineComponent"], { label: "Samples", minimum: 1, maximum: 8, step: 1, decimalCount: 0, target: renderPipeline, propertyName: "samples", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  34333. };
  34334. return CommonRenderingPipelinePropertyGridComponent;
  34335. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34336. /***/ }),
  34337. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/defaultRenderingPipelinePropertyGridComponent.tsx":
  34338. /*!******************************************************************************************************************!*\
  34339. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/defaultRenderingPipelinePropertyGridComponent.tsx ***!
  34340. \******************************************************************************************************************/
  34341. /*! exports provided: DefaultRenderingPipelinePropertyGridComponent */
  34342. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34343. "use strict";
  34344. __webpack_require__.r(__webpack_exports__);
  34345. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DefaultRenderingPipelinePropertyGridComponent", function() { return DefaultRenderingPipelinePropertyGridComponent; });
  34346. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34347. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34348. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34349. /* harmony import */ var _commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx");
  34350. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34351. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34352. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34353. /* harmony import */ var _lines_vector2LineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../lines/vector2LineComponent */ "./components/actionTabs/lines/vector2LineComponent.tsx");
  34354. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  34355. /* harmony import */ var babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! babylonjs/Materials/imageProcessingConfiguration */ "babylonjs/Misc/observable");
  34356. /* harmony import */ var babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__);
  34357. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  34358. var DefaultRenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34359. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](DefaultRenderingPipelinePropertyGridComponent, _super);
  34360. function DefaultRenderingPipelinePropertyGridComponent(props) {
  34361. return _super.call(this, props) || this;
  34362. }
  34363. DefaultRenderingPipelinePropertyGridComponent.prototype.render = function () {
  34364. var _this = this;
  34365. var renderPipeline = this.props.renderPipeline;
  34366. var camera = renderPipeline.scene.activeCamera;
  34367. var toneMappingOptions = [
  34368. { label: "Standard", value: babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__["ImageProcessingConfiguration"].TONEMAPPING_STANDARD },
  34369. { label: "ACES", value: babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__["ImageProcessingConfiguration"].TONEMAPPING_ACES }
  34370. ];
  34371. var vignetteModeOptions = [
  34372. { label: "Multiply", value: babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__["ImageProcessingConfiguration"].VIGNETTEMODE_MULTIPLY },
  34373. { label: "Opaque", value: babylonjs_Materials_imageProcessingConfiguration__WEBPACK_IMPORTED_MODULE_8__["ImageProcessingConfiguration"].VIGNETTEMODE_OPAQUE }
  34374. ];
  34375. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34376. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonRenderingPipelinePropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, renderPipeline: renderPipeline, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34377. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "BLOOM" },
  34378. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "bloomEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34379. renderPipeline.bloomEnabled &&
  34380. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34381. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Threshold", minimum: 0, maximum: 1, step: 0.05, target: renderPipeline, propertyName: "bloomThreshold", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34382. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Weight", minimum: 0, maximum: 1, step: 0.05, target: renderPipeline, propertyName: "bloomWeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34383. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Kernel", minimum: 0, maximum: 128, step: 1, target: renderPipeline, propertyName: "bloomKernel", onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 0 }),
  34384. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Scale", minimum: 0, maximum: 1, step: 0.25, target: renderPipeline, propertyName: "bloomScale", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  34385. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "CHROMATIC ABERRATION" },
  34386. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "chromaticAberrationEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34387. renderPipeline.chromaticAberrationEnabled &&
  34388. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34389. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "aberrationAmount", minimum: 0, maximum: 128, step: 0.1, target: renderPipeline.chromaticAberration, propertyName: "aberrationAmount", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34390. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Radial intensity", minimum: 0, maximum: 1, step: 0.01, target: renderPipeline.chromaticAberration, propertyName: "radialIntensity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34391. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector2LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector2LineComponent"], { label: "Center", target: renderPipeline.chromaticAberration, propertyName: "centerPosition", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34392. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector2LineComponent__WEBPACK_IMPORTED_MODULE_6__["Vector2LineComponent"], { label: "Direction", target: renderPipeline.chromaticAberration, propertyName: "direction", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  34393. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "DEPTH OF FIELD" },
  34394. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "depthOfFieldEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34395. renderPipeline.depthOfFieldEnabled &&
  34396. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34397. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Focal length", minimum: 0, maximum: camera.maxZ, step: 0.1, target: renderPipeline.depthOfField, propertyName: "focalLength", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34398. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "fStop", minimum: 0, maximum: 32, step: 0.1, target: renderPipeline.depthOfField, propertyName: "fStop", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34399. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Distance", minimum: 0, maximum: camera.maxZ, step: 0.1, target: renderPipeline.depthOfField, propertyName: "focusDistance", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34400. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Lens size", minimum: 0, maximum: 1000, step: 1, target: renderPipeline.depthOfField, propertyName: "lensSize", onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 0 }))),
  34401. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "FXAA" },
  34402. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, propertyName: "fxaaEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34403. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "GLOW LAYER" },
  34404. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, propertyName: "glowLayerEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34405. renderPipeline.glowLayerEnabled &&
  34406. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34407. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Blur kernel size", minimum: 1, maximum: 128, step: 1, decimalCount: 0, target: renderPipeline.glowLayer, propertyName: "blurKernelSize", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34408. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Intensity", minimum: 0, maximum: 10, step: 0.1, target: renderPipeline.glowLayer, propertyName: "intensity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  34409. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "GRAIN" },
  34410. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "grainEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34411. renderPipeline.grainEnabled &&
  34412. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34413. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Animated", target: renderPipeline.grain, propertyName: "animated", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34414. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Intensity", minimum: 0, maximum: 50, step: 0.1, target: renderPipeline.grain, propertyName: "intensity", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))),
  34415. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "IMAGE PROCESSING" },
  34416. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "imageProcessingEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34417. renderPipeline.imageProcessing &&
  34418. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34419. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Contrast", target: renderPipeline.imageProcessing, propertyName: "contrast", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34420. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Exposure", target: renderPipeline.imageProcessing, propertyName: "exposure", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34421. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Tone mapping", target: renderPipeline.imageProcessing, propertyName: "toneMappingEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34422. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Tone mapping type", options: toneMappingOptions, target: renderPipeline.imageProcessing, propertyName: "toneMappingType", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }),
  34423. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Vignette", target: renderPipeline.imageProcessing, propertyName: "vignetteEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34424. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Vignette weight", target: renderPipeline.imageProcessing, propertyName: "vignetteWeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34425. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette stretch", target: renderPipeline.imageProcessing, propertyName: "vignetteStretch", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34426. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: Math.PI, step: 0.1, label: "Vignette FOV", target: renderPipeline.imageProcessing, propertyName: "vignetteCameraFov", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34427. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette center X", target: renderPipeline.imageProcessing, propertyName: "vignetteCentreX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34428. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette center Y", target: renderPipeline.imageProcessing, propertyName: "vignetteCentreY", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34429. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_9__["Color3LineComponent"], { label: "Vignette color", target: renderPipeline.imageProcessing, propertyName: "vignetteColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34430. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_7__["OptionsLineComponent"], { label: "Vignette blend mode", options: vignetteModeOptions, target: renderPipeline.imageProcessing, propertyName: "vignetteBlendMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }))),
  34431. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHARPEN" },
  34432. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Enabled", target: renderPipeline, onValueChanged: function () { return _this.forceUpdate(); }, propertyName: "sharpenEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34433. renderPipeline.sharpenEnabled &&
  34434. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34435. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Color amount", minimum: 0, maximum: 1, step: 0.05, target: renderPipeline.sharpen, propertyName: "colorAmount", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34436. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Edge amount", minimum: 0, maximum: 5, step: 0.05, target: renderPipeline.sharpen, propertyName: "edgeAmount", onPropertyChangedObservable: this.props.onPropertyChangedObservable })))));
  34437. };
  34438. return DefaultRenderingPipelinePropertyGridComponent;
  34439. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34440. /***/ }),
  34441. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/lensRenderingPipelinePropertyGridComponent.tsx":
  34442. /*!***************************************************************************************************************!*\
  34443. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/lensRenderingPipelinePropertyGridComponent.tsx ***!
  34444. \***************************************************************************************************************/
  34445. /*! exports provided: LensRenderingPipelinePropertyGridComponent */
  34446. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34447. "use strict";
  34448. __webpack_require__.r(__webpack_exports__);
  34449. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LensRenderingPipelinePropertyGridComponent", function() { return LensRenderingPipelinePropertyGridComponent; });
  34450. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34451. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34452. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34453. /* harmony import */ var _commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx");
  34454. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34455. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34456. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34457. var LensRenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34458. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](LensRenderingPipelinePropertyGridComponent, _super);
  34459. function LensRenderingPipelinePropertyGridComponent(props) {
  34460. return _super.call(this, props) || this;
  34461. }
  34462. LensRenderingPipelinePropertyGridComponent.prototype.render = function () {
  34463. var renderPipeline = this.props.renderPipeline;
  34464. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34465. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonRenderingPipelinePropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, renderPipeline: renderPipeline, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34466. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "OPTIONS" },
  34467. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Edge blur", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "edgeBlur", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34468. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Edge distortion", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "edgeDistortion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34469. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Grain amount", minimum: 0, maximum: 1, step: 0.1, target: renderPipeline, propertyName: "grainAmount", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34470. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Chromatic aberration", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "chromaticAberration", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34471. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Darken out of focus", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "darkenOutOfFocus", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34472. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Blur noise", target: renderPipeline, propertyName: "blurNoise", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34473. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "DEPTH OF FIELD" },
  34474. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Aperture", minimum: 0, maximum: 10, step: 0.1, target: renderPipeline, propertyName: "dofAperture", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34475. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Distortion", minimum: 0, maximum: 10, step: 0.1, target: renderPipeline, propertyName: "dofDistortion", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34476. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_5__["CheckBoxLineComponent"], { label: "Pentagon bokeh", target: renderPipeline, propertyName: "pentagonBokeh", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34477. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Highlight gain", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "highlightsGain", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34478. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Highlight threshold", minimum: 0, maximum: 5, step: 0.1, target: renderPipeline, propertyName: "highlightsThreshold", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  34479. };
  34480. return LensRenderingPipelinePropertyGridComponent;
  34481. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34482. /***/ }),
  34483. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/postProcessPropertyGridComponent.tsx":
  34484. /*!*****************************************************************************************************!*\
  34485. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/postProcessPropertyGridComponent.tsx ***!
  34486. \*****************************************************************************************************/
  34487. /*! exports provided: PostProcessPropertyGridComponent */
  34488. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34489. "use strict";
  34490. __webpack_require__.r(__webpack_exports__);
  34491. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PostProcessPropertyGridComponent", function() { return PostProcessPropertyGridComponent; });
  34492. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34493. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34494. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34495. /* harmony import */ var _commonPostProcessPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonPostProcessPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonPostProcessPropertyGridComponent.tsx");
  34496. var PostProcessPropertyGridComponent = /** @class */ (function (_super) {
  34497. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PostProcessPropertyGridComponent, _super);
  34498. function PostProcessPropertyGridComponent(props) {
  34499. return _super.call(this, props) || this;
  34500. }
  34501. PostProcessPropertyGridComponent.prototype.render = function () {
  34502. var postProcess = this.props.postProcess;
  34503. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34504. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonPostProcessPropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonPostProcessPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, postProcess: postProcess, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  34505. };
  34506. return PostProcessPropertyGridComponent;
  34507. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34508. /***/ }),
  34509. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/renderingPipelinePropertyGridComponent.tsx":
  34510. /*!***********************************************************************************************************!*\
  34511. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/renderingPipelinePropertyGridComponent.tsx ***!
  34512. \***********************************************************************************************************/
  34513. /*! exports provided: RenderingPipelinePropertyGridComponent */
  34514. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34515. "use strict";
  34516. __webpack_require__.r(__webpack_exports__);
  34517. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenderingPipelinePropertyGridComponent", function() { return RenderingPipelinePropertyGridComponent; });
  34518. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34519. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34520. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34521. /* harmony import */ var _commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx");
  34522. var RenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34523. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RenderingPipelinePropertyGridComponent, _super);
  34524. function RenderingPipelinePropertyGridComponent(props) {
  34525. return _super.call(this, props) || this;
  34526. }
  34527. RenderingPipelinePropertyGridComponent.prototype.render = function () {
  34528. var renderPipeline = this.props.renderPipeline;
  34529. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34530. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonRenderingPipelinePropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, renderPipeline: renderPipeline, onPropertyChangedObservable: this.props.onPropertyChangedObservable })));
  34531. };
  34532. return RenderingPipelinePropertyGridComponent;
  34533. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34534. /***/ }),
  34535. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/ssao2RenderingPipelinePropertyGridComponent.tsx":
  34536. /*!****************************************************************************************************************!*\
  34537. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/ssao2RenderingPipelinePropertyGridComponent.tsx ***!
  34538. \****************************************************************************************************************/
  34539. /*! exports provided: SSAO2RenderingPipelinePropertyGridComponent */
  34540. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34541. "use strict";
  34542. __webpack_require__.r(__webpack_exports__);
  34543. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SSAO2RenderingPipelinePropertyGridComponent", function() { return SSAO2RenderingPipelinePropertyGridComponent; });
  34544. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34545. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34546. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34547. /* harmony import */ var _commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx");
  34548. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34549. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34550. var SSAO2RenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34551. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SSAO2RenderingPipelinePropertyGridComponent, _super);
  34552. function SSAO2RenderingPipelinePropertyGridComponent(props) {
  34553. return _super.call(this, props) || this;
  34554. }
  34555. SSAO2RenderingPipelinePropertyGridComponent.prototype.render = function () {
  34556. var renderPipeline = this.props.renderPipeline;
  34557. var camera = renderPipeline.scene.activeCamera;
  34558. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34559. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonRenderingPipelinePropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, renderPipeline: renderPipeline, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34560. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "SSAO" },
  34561. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Strength", minimum: 0, maximum: 2, step: 0.05, target: renderPipeline, propertyName: "totalStrength", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34562. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Base", minimum: 0, maximum: 1, step: 0.05, target: renderPipeline, propertyName: "base", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34563. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Max Z", minimum: 0, maximum: camera.maxZ, step: 1, target: renderPipeline, propertyName: "maxZ", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34564. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Min Z aspect", minimum: 0, maximum: 0.5, step: 0.01, target: renderPipeline, propertyName: "minZAspect", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34565. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Radius", minimum: 0, maximum: 10, step: 0.05, target: renderPipeline, propertyName: "radius", onPropertyChangedObservable: this.props.onPropertyChangedObservable }))));
  34566. };
  34567. return SSAO2RenderingPipelinePropertyGridComponent;
  34568. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34569. /***/ }),
  34570. /***/ "./components/actionTabs/tabs/propertyGrids/postProcesses/ssaoRenderingPipelinePropertyGridComponent.tsx":
  34571. /*!***************************************************************************************************************!*\
  34572. !*** ./components/actionTabs/tabs/propertyGrids/postProcesses/ssaoRenderingPipelinePropertyGridComponent.tsx ***!
  34573. \***************************************************************************************************************/
  34574. /*! exports provided: SSAORenderingPipelinePropertyGridComponent */
  34575. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34576. "use strict";
  34577. __webpack_require__.r(__webpack_exports__);
  34578. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SSAORenderingPipelinePropertyGridComponent", function() { return SSAORenderingPipelinePropertyGridComponent; });
  34579. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34580. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34581. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34582. /* harmony import */ var _commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./commonRenderingPipelinePropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/postProcesses/commonRenderingPipelinePropertyGridComponent.tsx");
  34583. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34584. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34585. var SSAORenderingPipelinePropertyGridComponent = /** @class */ (function (_super) {
  34586. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SSAORenderingPipelinePropertyGridComponent, _super);
  34587. function SSAORenderingPipelinePropertyGridComponent(props) {
  34588. return _super.call(this, props) || this;
  34589. }
  34590. SSAORenderingPipelinePropertyGridComponent.prototype.render = function () {
  34591. var renderPipeline = this.props.renderPipeline;
  34592. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34593. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_commonRenderingPipelinePropertyGridComponent__WEBPACK_IMPORTED_MODULE_2__["CommonRenderingPipelinePropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, renderPipeline: renderPipeline, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34594. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "SSAO" },
  34595. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Strength", minimum: 0, maximum: 2, step: 0.05, target: renderPipeline, propertyName: "totalStrength", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34596. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Base", minimum: 0, maximum: 1, step: 0.05, target: renderPipeline, propertyName: "base", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34597. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Radius", minimum: 0.0001, maximum: 0.001, step: 0.0001, target: renderPipeline, propertyName: "radius", onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 4 }),
  34598. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Area", minimum: 0.0001, maximum: 0.01, step: 0.0001, target: renderPipeline, propertyName: "area", onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 4 }),
  34599. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_3__["SliderLineComponent"], { label: "Falloff", minimum: 0, maximum: 0.00001, step: 0.000001, target: renderPipeline, propertyName: "fallOff", onPropertyChangedObservable: this.props.onPropertyChangedObservable, decimalCount: 6 }))));
  34600. };
  34601. return SSAORenderingPipelinePropertyGridComponent;
  34602. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34603. /***/ }),
  34604. /***/ "./components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent.tsx":
  34605. /*!**************************************************************************************!*\
  34606. !*** ./components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent.tsx ***!
  34607. \**************************************************************************************/
  34608. /*! exports provided: RenderGridPropertyGridComponent */
  34609. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34610. "use strict";
  34611. __webpack_require__.r(__webpack_exports__);
  34612. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenderGridPropertyGridComponent", function() { return RenderGridPropertyGridComponent; });
  34613. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34614. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34615. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34616. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  34617. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__);
  34618. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34619. var RenderGridPropertyGridComponent = /** @class */ (function (_super) {
  34620. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RenderGridPropertyGridComponent, _super);
  34621. function RenderGridPropertyGridComponent(props) {
  34622. var _this = _super.call(this, props) || this;
  34623. _this.state = { isEnabled: false };
  34624. return _this;
  34625. }
  34626. RenderGridPropertyGridComponent.prototype.componentWillMount = function () {
  34627. var scene = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["UtilityLayerRenderer"].DefaultKeepDepthUtilityLayer.utilityLayerScene;
  34628. for (var _i = 0, _a = scene.meshes; _i < _a.length; _i++) {
  34629. var mesh = _a[_i];
  34630. if (mesh.reservedDataStore && mesh.reservedDataStore.isInspectorGrid) {
  34631. this._gridMesh = mesh;
  34632. this.setState({ isEnabled: true });
  34633. return;
  34634. }
  34635. }
  34636. };
  34637. RenderGridPropertyGridComponent.prototype.addOrRemoveGrid = function () {
  34638. var _this = this;
  34639. var scene = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["UtilityLayerRenderer"].DefaultKeepDepthUtilityLayer.utilityLayerScene;
  34640. if (!BABYLON.GridMaterial) {
  34641. this.setState({ isEnabled: true });
  34642. babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].LoadScript("https://preview.babylonjs.com/materialsLibrary/babylonjs.materials.min.js", function () {
  34643. _this.addOrRemoveGrid();
  34644. });
  34645. return;
  34646. }
  34647. if (!this._gridMesh) {
  34648. var extend = this.props.scene.getWorldExtends();
  34649. var width = (extend.max.x - extend.min.x) * 5.0;
  34650. var depth = (extend.max.z - extend.min.z) * 5.0;
  34651. this._gridMesh = babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Mesh"].CreateGround("grid", 1.0, 1.0, 1, scene);
  34652. if (!this._gridMesh.reservedDataStore) {
  34653. this._gridMesh.reservedDataStore = {};
  34654. }
  34655. this._gridMesh.scaling.x = Math.max(width, depth);
  34656. this._gridMesh.scaling.z = this._gridMesh.scaling.x;
  34657. this._gridMesh.reservedDataStore.isInspectorGrid = true;
  34658. this._gridMesh.isPickable = false;
  34659. var groundMaterial = new BABYLON.GridMaterial("GridMaterial", scene);
  34660. groundMaterial.majorUnitFrequency = 10;
  34661. groundMaterial.minorUnitVisibility = 0.3;
  34662. groundMaterial.gridRatio = 0.01;
  34663. groundMaterial.backFaceCulling = false;
  34664. groundMaterial.mainColor = new babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Color3"](1, 1, 1);
  34665. groundMaterial.lineColor = new babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Color3"](1.0, 1.0, 1.0);
  34666. groundMaterial.opacity = 0.8;
  34667. groundMaterial.zOffset = 1.0;
  34668. groundMaterial.opacityTexture = new babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_2__["Texture"]("https://assets.babylonjs.com/environments/backgroundGround.png", scene);
  34669. this._gridMesh.material = groundMaterial;
  34670. this.setState({ isEnabled: true });
  34671. return;
  34672. }
  34673. this.setState({ isEnabled: !this.state.isEnabled });
  34674. this._gridMesh.dispose(true, true);
  34675. this._gridMesh = null;
  34676. };
  34677. RenderGridPropertyGridComponent.prototype.render = function () {
  34678. var _this = this;
  34679. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  34680. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Render grid", isSelected: function () { return _this.state.isEnabled; }, onSelect: function () { return _this.addOrRemoveGrid(); } })));
  34681. };
  34682. return RenderGridPropertyGridComponent;
  34683. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34684. /***/ }),
  34685. /***/ "./components/actionTabs/tabs/propertyGrids/scenePropertyGridComponent.tsx":
  34686. /*!*********************************************************************************!*\
  34687. !*** ./components/actionTabs/tabs/propertyGrids/scenePropertyGridComponent.tsx ***!
  34688. \*********************************************************************************/
  34689. /*! exports provided: ScenePropertyGridComponent */
  34690. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34691. "use strict";
  34692. __webpack_require__.r(__webpack_exports__);
  34693. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ScenePropertyGridComponent", function() { return ScenePropertyGridComponent; });
  34694. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34695. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34696. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34697. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  34698. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__);
  34699. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34700. /* harmony import */ var _lines_radioLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/radioLineComponent */ "./components/actionTabs/lines/radioLineComponent.tsx");
  34701. /* harmony import */ var _lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../lines/color3LineComponent */ "./components/actionTabs/lines/color3LineComponent.tsx");
  34702. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34703. /* harmony import */ var _fogPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./fogPropertyGridComponent */ "./components/actionTabs/tabs/propertyGrids/fogPropertyGridComponent.tsx");
  34704. /* harmony import */ var _lines_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../lines/fileButtonLineComponent */ "./components/actionTabs/lines/fileButtonLineComponent.tsx");
  34705. /* harmony import */ var _lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../lines/textureLinkLineComponent */ "./components/actionTabs/lines/textureLinkLineComponent.tsx");
  34706. /* harmony import */ var _lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../lines/vector3LineComponent */ "./components/actionTabs/lines/vector3LineComponent.tsx");
  34707. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  34708. /* harmony import */ var _lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../lines/sliderLineComponent */ "./components/actionTabs/lines/sliderLineComponent.tsx");
  34709. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  34710. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  34711. var ScenePropertyGridComponent = /** @class */ (function (_super) {
  34712. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ScenePropertyGridComponent, _super);
  34713. function ScenePropertyGridComponent(props) {
  34714. var _this = _super.call(this, props) || this;
  34715. _this._renderingModeGroupObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Observable"]();
  34716. return _this;
  34717. }
  34718. ScenePropertyGridComponent.prototype.setRenderingModes = function (point, wireframe) {
  34719. var scene = this.props.scene;
  34720. scene.forcePointsCloud = point;
  34721. scene.forceWireframe = wireframe;
  34722. };
  34723. ScenePropertyGridComponent.prototype.switchIBL = function () {
  34724. var scene = this.props.scene;
  34725. if (scene.environmentTexture) {
  34726. this._storedEnvironmentTexture = scene.environmentTexture;
  34727. scene.environmentTexture = null;
  34728. }
  34729. else {
  34730. scene.environmentTexture = this._storedEnvironmentTexture;
  34731. this._storedEnvironmentTexture = null;
  34732. }
  34733. };
  34734. ScenePropertyGridComponent.prototype.updateEnvironmentTexture = function (file) {
  34735. var isFileDDS = file.name.toLowerCase().indexOf(".dds") > 0;
  34736. var isFileEnv = file.name.toLowerCase().indexOf(".env") > 0;
  34737. if (!isFileDDS && !isFileEnv) {
  34738. console.error("Unable to update environment texture. Please select a dds or env file.");
  34739. return;
  34740. }
  34741. var scene = this.props.scene;
  34742. babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["Tools"].ReadFile(file, function (data) {
  34743. var blob = new Blob([data], { type: "octet/stream" });
  34744. var url = URL.createObjectURL(blob);
  34745. if (isFileDDS) {
  34746. scene.environmentTexture = babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["CubeTexture"].CreateFromPrefilteredData(url, scene, ".dds");
  34747. }
  34748. else {
  34749. scene.environmentTexture = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["CubeTexture"](url, scene, undefined, undefined, undefined, function () {
  34750. }, function (message) {
  34751. if (message) {
  34752. console.error(message);
  34753. }
  34754. }, undefined, undefined, ".env");
  34755. }
  34756. }, undefined, true);
  34757. };
  34758. ScenePropertyGridComponent.prototype.updateGravity = function (newValue) {
  34759. var scene = this.props.scene;
  34760. var physicsEngine = scene.getPhysicsEngine();
  34761. physicsEngine.setGravity(newValue);
  34762. };
  34763. ScenePropertyGridComponent.prototype.updateTimeStep = function (newValue) {
  34764. var scene = this.props.scene;
  34765. var physicsEngine = scene.getPhysicsEngine();
  34766. physicsEngine.setTimeStep(newValue);
  34767. };
  34768. ScenePropertyGridComponent.prototype.normalizeScene = function () {
  34769. var scene = this.props.scene;
  34770. scene.meshes.forEach(function (mesh) {
  34771. mesh.normalizeToUnitCube(true);
  34772. mesh.computeWorldMatrix(true);
  34773. });
  34774. };
  34775. ScenePropertyGridComponent.prototype.render = function () {
  34776. var _this = this;
  34777. var scene = this.props.scene;
  34778. var physicsEngine = scene.getPhysicsEngine();
  34779. var dummy = null;
  34780. if (physicsEngine) {
  34781. dummy = {
  34782. gravity: physicsEngine.gravity,
  34783. timeStep: physicsEngine.getTimeStep()
  34784. };
  34785. }
  34786. var imageProcessing = scene.imageProcessingConfiguration;
  34787. var toneMappingOptions = [
  34788. { label: "Standard", value: babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["ImageProcessingConfiguration"].TONEMAPPING_STANDARD },
  34789. { label: "ACES", value: babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["ImageProcessingConfiguration"].TONEMAPPING_ACES }
  34790. ];
  34791. var vignetteModeOptions = [
  34792. { label: "Multiply", value: babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["ImageProcessingConfiguration"].VIGNETTEMODE_MULTIPLY },
  34793. { label: "Opaque", value: babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_2__["ImageProcessingConfiguration"].VIGNETTEMODE_OPAQUE }
  34794. ];
  34795. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34796. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "RENDERING MODE" },
  34797. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_radioLineComponent__WEBPACK_IMPORTED_MODULE_4__["RadioButtonLineComponent"], { onSelectionChangedObservable: this._renderingModeGroupObservable, label: "Point", isSelected: function () { return scene.forcePointsCloud; }, onSelect: function () { return _this.setRenderingModes(true, false); } }),
  34798. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_radioLineComponent__WEBPACK_IMPORTED_MODULE_4__["RadioButtonLineComponent"], { onSelectionChangedObservable: this._renderingModeGroupObservable, label: "Wireframe", isSelected: function () { return scene.forceWireframe; }, onSelect: function () { return _this.setRenderingModes(false, true); } }),
  34799. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_radioLineComponent__WEBPACK_IMPORTED_MODULE_4__["RadioButtonLineComponent"], { onSelectionChangedObservable: this._renderingModeGroupObservable, label: "Solid", isSelected: function () { return !scene.forcePointsCloud && !scene.forceWireframe; }, onSelect: function () { return _this.setRenderingModes(false, false); } })),
  34800. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "ENVIRONMENT" },
  34801. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Color3LineComponent"], { label: "Clear color", target: scene, propertyName: "clearColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34802. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Clear color enabled", target: scene, propertyName: "autoClear", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34803. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Color3LineComponent"], { label: "Ambient color", target: scene, propertyName: "ambientColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34804. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Environment texture (IBL)", isSelected: function () { return scene.environmentTexture != null; }, onSelect: function () { return _this.switchIBL(); } }),
  34805. scene.environmentTexture &&
  34806. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textureLinkLineComponent__WEBPACK_IMPORTED_MODULE_9__["TextureLinkLineComponent"], { label: "Env. texture", texture: scene.environmentTexture, onSelectionChangedObservable: this.props.onSelectionChangedObservable }),
  34807. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_fileButtonLineComponent__WEBPACK_IMPORTED_MODULE_8__["FileButtonLineComponent"], { label: "Update environment texture", onClick: function (file) { return _this.updateEnvironmentTexture(file); }, accept: ".dds, .env" }),
  34808. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fogPropertyGridComponent__WEBPACK_IMPORTED_MODULE_7__["FogPropertyGridComponent"], { globalState: this.props.globalState, lockObject: this.props.lockObject, scene: scene, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34809. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "MATERIAL IMAGE PROCESSING" },
  34810. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Contrast", target: imageProcessing, propertyName: "contrast", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34811. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Exposure", target: imageProcessing, propertyName: "exposure", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34812. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Tone mapping", target: imageProcessing, propertyName: "toneMappingEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34813. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_13__["OptionsLineComponent"], { label: "Tone mapping type", options: toneMappingOptions, target: imageProcessing, propertyName: "toneMappingType", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } }),
  34814. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_6__["CheckBoxLineComponent"], { label: "Vignette", target: imageProcessing, propertyName: "vignetteEnabled", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34815. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 4, step: 0.1, label: "Vignette weight", target: imageProcessing, propertyName: "vignetteWeight", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34816. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette stretch", target: imageProcessing, propertyName: "vignetteStretch", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34817. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: Math.PI, step: 0.1, label: "Vignette FOV", target: imageProcessing, propertyName: "vignetteCameraFov", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34818. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette center X", target: imageProcessing, propertyName: "vignetteCentreX", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34819. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_sliderLineComponent__WEBPACK_IMPORTED_MODULE_12__["SliderLineComponent"], { minimum: 0, maximum: 1, step: 0.1, label: "Vignette center Y", target: imageProcessing, propertyName: "vignetteCentreY", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34820. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_color3LineComponent__WEBPACK_IMPORTED_MODULE_5__["Color3LineComponent"], { label: "Vignette color", target: imageProcessing, propertyName: "vignetteColor", onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34821. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_13__["OptionsLineComponent"], { label: "Vignette blend mode", options: vignetteModeOptions, target: imageProcessing, propertyName: "vignetteBlendMode", onPropertyChangedObservable: this.props.onPropertyChangedObservable, onSelect: function (value) { return _this.setState({ mode: value }); } })),
  34822. dummy !== null &&
  34823. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "PHYSICS", closed: true },
  34824. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_11__["FloatLineComponent"], { lockObject: this.props.lockObject, label: "Time step", target: dummy, propertyName: "timeStep", onChange: function (newValue) { return _this.updateTimeStep(newValue); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable }),
  34825. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_10__["Vector3LineComponent"], { label: "Gravity", target: dummy, propertyName: "gravity", onChange: function (newValue) { return _this.updateGravity(newValue); }, onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34826. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "COLLISIONS", closed: true },
  34827. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_vector3LineComponent__WEBPACK_IMPORTED_MODULE_10__["Vector3LineComponent"], { label: "Gravity", target: scene, propertyName: "gravity", onPropertyChangedObservable: this.props.onPropertyChangedObservable })),
  34828. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SHADOWS", closed: true },
  34829. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_14__["ButtonLineComponent"], { label: "Normalize scene", onClick: function () { return _this.normalizeScene(); } }))));
  34830. };
  34831. return ScenePropertyGridComponent;
  34832. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  34833. /***/ }),
  34834. /***/ "./components/actionTabs/tabs/settingsTabComponent.tsx":
  34835. /*!*************************************************************!*\
  34836. !*** ./components/actionTabs/tabs/settingsTabComponent.tsx ***!
  34837. \*************************************************************/
  34838. /*! exports provided: SettingsTabComponent */
  34839. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34840. "use strict";
  34841. __webpack_require__.r(__webpack_exports__);
  34842. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SettingsTabComponent", function() { return SettingsTabComponent; });
  34843. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34844. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34845. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34846. /* harmony import */ var _paneComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../paneComponent */ "./components/actionTabs/paneComponent.tsx");
  34847. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34848. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34849. var SettingsTabComponent = /** @class */ (function (_super) {
  34850. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SettingsTabComponent, _super);
  34851. function SettingsTabComponent(props) {
  34852. return _super.call(this, props) || this;
  34853. }
  34854. SettingsTabComponent.prototype.render = function () {
  34855. var state = this.props.globalState;
  34856. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34857. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "UI" },
  34858. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Only display Euler values", target: state, propertyName: "onlyUseEulers" }),
  34859. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Ignore backfaces when picking", target: state, propertyName: "ignoreBackfacesForPicking" }))));
  34860. };
  34861. return SettingsTabComponent;
  34862. }(_paneComponent__WEBPACK_IMPORTED_MODULE_2__["PaneComponent"]));
  34863. /***/ }),
  34864. /***/ "./components/actionTabs/tabs/statisticsTabComponent.tsx":
  34865. /*!***************************************************************!*\
  34866. !*** ./components/actionTabs/tabs/statisticsTabComponent.tsx ***!
  34867. \***************************************************************/
  34868. /*! exports provided: StatisticsTabComponent */
  34869. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34870. "use strict";
  34871. __webpack_require__.r(__webpack_exports__);
  34872. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StatisticsTabComponent", function() { return StatisticsTabComponent; });
  34873. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34874. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34875. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34876. /* harmony import */ var _paneComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../paneComponent */ "./components/actionTabs/paneComponent.tsx");
  34877. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  34878. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34879. /* harmony import */ var babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! babylonjs/Instrumentation/engineInstrumentation */ "babylonjs/Misc/observable");
  34880. /* harmony import */ var babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5__);
  34881. /* harmony import */ var _lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../lines/valueLineComponent */ "./components/actionTabs/lines/valueLineComponent.tsx");
  34882. /* harmony import */ var _lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../lines/booleanLineComponent */ "./components/actionTabs/lines/booleanLineComponent.tsx");
  34883. var StatisticsTabComponent = /** @class */ (function (_super) {
  34884. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](StatisticsTabComponent, _super);
  34885. function StatisticsTabComponent(props) {
  34886. return _super.call(this, props) || this;
  34887. }
  34888. StatisticsTabComponent.prototype.componentWillMount = function () {
  34889. var _this = this;
  34890. var scene = this.props.scene;
  34891. if (!scene) {
  34892. return;
  34893. }
  34894. this._sceneInstrumentation = new babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5__["SceneInstrumentation"](scene);
  34895. this._sceneInstrumentation.captureActiveMeshesEvaluationTime = true;
  34896. this._sceneInstrumentation.captureRenderTargetsRenderTime = true;
  34897. this._sceneInstrumentation.captureFrameTime = true;
  34898. this._sceneInstrumentation.captureRenderTime = true;
  34899. this._sceneInstrumentation.captureInterFrameTime = true;
  34900. this._sceneInstrumentation.captureParticlesRenderTime = true;
  34901. this._sceneInstrumentation.captureSpritesRenderTime = true;
  34902. this._sceneInstrumentation.capturePhysicsTime = true;
  34903. this._sceneInstrumentation.captureAnimationsTime = true;
  34904. this._engineInstrumentation = new babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5__["EngineInstrumentation"](scene.getEngine());
  34905. this._engineInstrumentation.captureGPUFrameTime = true;
  34906. this._timerIntervalId = window.setInterval(function () { return _this.forceUpdate(); }, 500);
  34907. };
  34908. StatisticsTabComponent.prototype.componentWillUnmount = function () {
  34909. if (this._sceneInstrumentation) {
  34910. this._sceneInstrumentation.dispose();
  34911. this._sceneInstrumentation = null;
  34912. }
  34913. if (this._engineInstrumentation) {
  34914. this._engineInstrumentation.dispose();
  34915. this._engineInstrumentation = null;
  34916. }
  34917. window.clearInterval(this._timerIntervalId);
  34918. };
  34919. StatisticsTabComponent.prototype.render = function () {
  34920. var scene = this.props.scene;
  34921. if (!scene || !this._sceneInstrumentation || !this._engineInstrumentation) {
  34922. return null;
  34923. }
  34924. var engine = scene.getEngine();
  34925. var sceneInstrumentation = this._sceneInstrumentation;
  34926. var engineInstrumentation = this._engineInstrumentation;
  34927. var caps = engine.getCaps();
  34928. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  34929. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Version", value: babylonjs_Instrumentation_engineInstrumentation__WEBPACK_IMPORTED_MODULE_5__["Engine"].Version, color: "rgb(113, 159, 255)" }),
  34930. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "FPS", value: engine.getFps(), fractionDigits: 0 }),
  34931. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "COUNT" },
  34932. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Total meshes", value: scene.meshes.length.toString() }),
  34933. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Active meshes", value: scene.getActiveMeshes().length.toString() }),
  34934. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Active indices", value: scene.getActiveIndices().toString() }),
  34935. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Active faces", value: (scene.getActiveIndices() / 3).toString() }),
  34936. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Active bones", value: scene.getActiveBones().toString() }),
  34937. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Active particles", value: scene.getActiveParticles().toString() }),
  34938. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Draw calls", value: sceneInstrumentation.drawCallsCounter.current.toString() }),
  34939. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Total lights", value: scene.lights.length.toString() }),
  34940. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Total vertices", value: scene.getTotalVertices().toString() }),
  34941. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Total materials", value: scene.materials.length.toString() }),
  34942. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Total textures", value: scene.textures.length.toString() })),
  34943. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "FRAME STEPS DURATION" },
  34944. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Absolute FPS", value: 1000.0 / this._sceneInstrumentation.frameTimeCounter.current, fractionDigits: 0 }),
  34945. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Meshes selection", value: sceneInstrumentation.activeMeshesEvaluationTimeCounter.current, units: "ms" }),
  34946. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Render targets", value: sceneInstrumentation.renderTargetsRenderTimeCounter.current, units: "ms" }),
  34947. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Particles", value: sceneInstrumentation.particlesRenderTimeCounter.current, units: "ms" }),
  34948. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Sprites", value: sceneInstrumentation.spritesRenderTimeCounter.current, units: "ms" }),
  34949. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Animations", value: sceneInstrumentation.animationsTimeCounter.current, units: "ms" }),
  34950. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Physics", value: sceneInstrumentation.physicsTimeCounter.current, units: "ms" }),
  34951. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Render", value: sceneInstrumentation.renderTimeCounter.current, units: "ms" }),
  34952. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Frame total", value: sceneInstrumentation.frameTimeCounter.current, units: "ms" }),
  34953. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Inter-frame", value: sceneInstrumentation.interFrameTimeCounter.current, units: "ms" }),
  34954. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "GPU Frame time", value: engineInstrumentation.gpuFrameTimeCounter.current * 0.000001, units: "ms" }),
  34955. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "GPU Frame time (average)", value: engineInstrumentation.gpuFrameTimeCounter.average * 0.000001, units: "ms" })),
  34956. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_4__["LineContainerComponent"], { globalState: this.props.globalState, title: "SYSTEM INFO" },
  34957. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Resolution", value: engine.getRenderWidth() + "x" + engine.getRenderHeight() }),
  34958. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "WebGL version", value: engine.webGLVersion.toString() }),
  34959. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Std derivatives", value: caps.standardDerivatives }),
  34960. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Compressed textures", value: caps.s3tc !== undefined }),
  34961. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Hardware instances", value: caps.instancedArrays }),
  34962. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Texture float", value: caps.textureFloat }),
  34963. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Texture half-float", value: caps.textureHalfFloat }),
  34964. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Render to texture float", value: caps.textureFloatRender }),
  34965. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Render to texture half-float", value: caps.textureHalfFloatRender }),
  34966. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "32bits indices", value: caps.uintIndices }),
  34967. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Fragment depth", value: caps.fragmentDepthSupported }),
  34968. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "High precision shaders", value: caps.highPrecisionShaderSupported }),
  34969. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Draw buffers", value: caps.drawBuffersExtension }),
  34970. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Vertex array object", value: caps.vertexArrayObject }),
  34971. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Timer query", value: caps.timerQuery !== undefined }),
  34972. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Stencil", value: engine.isStencilEnable }),
  34973. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_booleanLineComponent__WEBPACK_IMPORTED_MODULE_7__["BooleanLineComponent"], { label: "Parallel shader compilation", value: caps.parallelShaderCompile != null }),
  34974. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Max textures units", value: caps.maxTexturesImageUnits, fractionDigits: 0 }),
  34975. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Max textures size", value: caps.maxTextureSize, fractionDigits: 0 }),
  34976. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_valueLineComponent__WEBPACK_IMPORTED_MODULE_6__["ValueLineComponent"], { label: "Max anisotropy", value: caps.maxAnisotropy, fractionDigits: 0 }),
  34977. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextLineComponent"], { label: "Driver", value: engine.getGlInfo().renderer }))));
  34978. };
  34979. return StatisticsTabComponent;
  34980. }(_paneComponent__WEBPACK_IMPORTED_MODULE_2__["PaneComponent"]));
  34981. /***/ }),
  34982. /***/ "./components/actionTabs/tabs/tools/gltfComponent.tsx":
  34983. /*!************************************************************!*\
  34984. !*** ./components/actionTabs/tabs/tools/gltfComponent.tsx ***!
  34985. \************************************************************/
  34986. /*! exports provided: GLTFComponent */
  34987. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  34988. "use strict";
  34989. __webpack_require__.r(__webpack_exports__);
  34990. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GLTFComponent", function() { return GLTFComponent; });
  34991. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  34992. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  34993. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  34994. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  34995. /* harmony import */ var _lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../lines/checkBoxLineComponent */ "./components/actionTabs/lines/checkBoxLineComponent.tsx");
  34996. /* harmony import */ var _lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../lines/floatLineComponent */ "./components/actionTabs/lines/floatLineComponent.tsx");
  34997. /* harmony import */ var _lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../lines/optionsLineComponent */ "./components/actionTabs/lines/optionsLineComponent.tsx");
  34998. /* harmony import */ var _lines_messageLineComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../lines/messageLineComponent */ "./components/actionTabs/lines/messageLineComponent.tsx");
  34999. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35000. /* harmony import */ var _lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../lines/textLineComponent */ "./components/actionTabs/lines/textLineComponent.tsx");
  35001. /* harmony import */ var babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! babylonjs-loaders/glTF/index */ "babylonjs-loaders/glTF/index");
  35002. /* harmony import */ var babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__);
  35003. var GLTFComponent = /** @class */ (function (_super) {
  35004. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](GLTFComponent, _super);
  35005. function GLTFComponent(props) {
  35006. var _this = _super.call(this, props) || this;
  35007. var extensionStates = _this.props.globalState.glTFLoaderExtensionDefaults;
  35008. extensionStates["MSFT_lod"] = extensionStates["MSFT_lod"] || { enabled: true, maxLODsToLoad: Number.MAX_VALUE };
  35009. extensionStates["MSFT_minecraftMesh"] = extensionStates["MSFT_minecraftMesh"] || { enabled: true };
  35010. extensionStates["MSFT_sRGBFactors"] = extensionStates["MSFT_sRGBFactors"] || { enabled: true };
  35011. extensionStates["MSFT_audio_emitter"] = extensionStates["MSFT_audio_emitter"] || { enabled: true };
  35012. extensionStates["KHR_draco_mesh_compression"] = extensionStates["KHR_draco_mesh_compression"] || { enabled: true };
  35013. extensionStates["KHR_materials_pbrSpecularGlossiness"] = extensionStates["KHR_materials_pbrSpecularGlossiness"] || { enabled: true };
  35014. extensionStates["KHR_materials_unlit"] = extensionStates["KHR_materials_unlit"] || { enabled: true };
  35015. extensionStates["KHR_lights_punctual"] = extensionStates["KHR_lights_punctual"] || { enabled: true };
  35016. extensionStates["KHR_texture_transform"] = extensionStates["KHR_texture_transform"] || { enabled: true };
  35017. extensionStates["EXT_lights_image_based"] = extensionStates["EXT_lights_image_based"] || { enabled: true };
  35018. var loaderState = _this.props.globalState.glTFLoaderDefaults;
  35019. if (loaderState["animationStartMode"] === undefined) {
  35020. loaderState["animationStartMode"] = babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderAnimationStartMode"].FIRST;
  35021. }
  35022. loaderState["capturePerformanceCounters"] = loaderState["capturePerformanceCounters"] || false;
  35023. loaderState["compileMaterials"] = loaderState["compileMaterials"] || false;
  35024. loaderState["compileShadowGenerators"] = loaderState["compileShadowGenerators"] || false;
  35025. loaderState["coordinateSystemMode"] = loaderState["coordinateSystemMode"] || babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderCoordinateSystemMode"].AUTO;
  35026. loaderState["loggingEnabled"] = loaderState["loggingEnabled"] || false;
  35027. loaderState["transparencyAsCoverage"] = loaderState["transparencyAsCoverage"] || false;
  35028. loaderState["useClipPlane"] = loaderState["useClipPlane"] || false;
  35029. loaderState["validate"] = loaderState["validate"] || true;
  35030. return _this;
  35031. }
  35032. GLTFComponent.prototype.openValidationDetails = function () {
  35033. var validationResults = this.props.globalState.validationResults;
  35034. var win = window.open("", "_blank");
  35035. if (win) {
  35036. // TODO: format this better and use generator registry (https://github.com/KhronosGroup/glTF-Generator-Registry)
  35037. win.document.title = "glTF Validation Results";
  35038. win.document.body.innerText = JSON.stringify(validationResults, null, 2);
  35039. win.document.body.style.whiteSpace = "pre";
  35040. win.document.body.style.fontFamily = "monospace";
  35041. win.document.body.style.fontSize = "14px";
  35042. win.focus();
  35043. }
  35044. };
  35045. GLTFComponent.prototype.prepareText = function (singularForm, count) {
  35046. if (count) {
  35047. return count + " " + singularForm + "s";
  35048. }
  35049. return "" + singularForm;
  35050. };
  35051. GLTFComponent.prototype.renderValidation = function () {
  35052. var _this = this;
  35053. var validationResults = this.props.globalState.validationResults;
  35054. var issues = validationResults.issues;
  35055. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GLTF VALIDATION", closed: !issues.numErrors && !issues.numWarnings },
  35056. issues.numErrors !== 0 &&
  35057. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_messageLineComponent__WEBPACK_IMPORTED_MODULE_6__["MessageLineComponent"], { text: "Your file has some validation issues", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__["faTimesCircle"], color: "Red" }),
  35058. issues.numErrors === 0 &&
  35059. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_messageLineComponent__WEBPACK_IMPORTED_MODULE_6__["MessageLineComponent"], { text: "Your file is a valid glTF file", icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_7__["faCheck"], color: "Green" }),
  35060. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "Errors", value: issues.numErrors.toString() }),
  35061. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "Warnings", value: issues.numWarnings.toString() }),
  35062. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "Infos", value: issues.numInfos.toString() }),
  35063. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "Hints", value: issues.numHints.toString() }),
  35064. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_textLineComponent__WEBPACK_IMPORTED_MODULE_8__["TextLineComponent"], { label: "More details", value: "Click here", onLink: function () { return _this.openValidationDetails(); } })));
  35065. };
  35066. GLTFComponent.prototype.render = function () {
  35067. var extensionStates = this.props.globalState.glTFLoaderExtensionDefaults;
  35068. var loaderState = this.props.globalState.glTFLoaderDefaults;
  35069. var animationStartMode = [
  35070. { label: "None", value: babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderAnimationStartMode"].NONE },
  35071. { label: "First", value: babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderAnimationStartMode"].FIRST },
  35072. { label: "ALL", value: babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderAnimationStartMode"].ALL }
  35073. ];
  35074. var coordinateSystemMode = [
  35075. { label: "Auto", value: babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderCoordinateSystemMode"].AUTO },
  35076. { label: "Right handed", value: babylonjs_loaders_glTF_index__WEBPACK_IMPORTED_MODULE_9__["GLTFLoaderCoordinateSystemMode"].FORCE_RIGHT_HANDED }
  35077. ];
  35078. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  35079. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GLTF LOADER", closed: true },
  35080. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__["OptionsLineComponent"], { label: "Animation start mode", options: animationStartMode, target: loaderState, propertyName: "animationStartMode" }),
  35081. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Capture performance counters", target: loaderState, propertyName: "capturePerformanceCounters" }),
  35082. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Compile materials", target: loaderState, propertyName: "compileMaterials" }),
  35083. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Compile shadow generators", target: loaderState, propertyName: "compileShadowGenerators" }),
  35084. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_optionsLineComponent__WEBPACK_IMPORTED_MODULE_5__["OptionsLineComponent"], { label: "Coordinate system", options: coordinateSystemMode, target: loaderState, propertyName: "coordinateSystemMode" }),
  35085. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Enable logging", target: loaderState, propertyName: "loggingEnabled" }),
  35086. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Transparency as coverage", target: loaderState, propertyName: "transparencyAsCoverage" }),
  35087. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Use clip plane", target: loaderState, propertyName: "useClipPlane" }),
  35088. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "Validate", target: loaderState, propertyName: "validate" }),
  35089. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_messageLineComponent__WEBPACK_IMPORTED_MODULE_6__["MessageLineComponent"], { text: "You need to reload your file to see these changes" })),
  35090. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_2__["LineContainerComponent"], { globalState: this.props.globalState, title: "GLTF EXTENSIONS", closed: true },
  35091. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "MSFT_lod", isSelected: function () { return extensionStates["MSFT_lod"].enabled; }, onSelect: function (value) { return extensionStates["MSFT_lod"].enabled = value; } }),
  35092. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_floatLineComponent__WEBPACK_IMPORTED_MODULE_4__["FloatLineComponent"], { label: "Maximum LODs", target: extensionStates["MSFT_lod"], propertyName: "maxLODsToLoad", additionalClass: "gltf-extension-property" }),
  35093. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "MSFT_minecraftMesh", isSelected: function () { return extensionStates["MSFT_minecraftMesh"].enabled; }, onSelect: function (value) { return extensionStates["MSFT_minecraftMesh"].enabled = value; } }),
  35094. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "MSFT_sRGBFactors", isSelected: function () { return extensionStates["MSFT_sRGBFactors"].enabled; }, onSelect: function (value) { return extensionStates["MSFT_sRGBFactors"].enabled = value; } }),
  35095. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "MSFT_audio_emitter", isSelected: function () { return extensionStates["MSFT_audio_emitter"].enabled; }, onSelect: function (value) { return extensionStates["MSFT_audio_emitter"].enabled = value; } }),
  35096. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "KHR_draco_mesh_compression", isSelected: function () { return extensionStates["KHR_draco_mesh_compression"].enabled; }, onSelect: function (value) { return extensionStates["KHR_draco_mesh_compression"].enabled = value; } }),
  35097. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "KHR_materials_pbrSpecularGlossiness", isSelected: function () { return extensionStates["KHR_materials_pbrSpecularGlossiness"].enabled; }, onSelect: function (value) { return extensionStates["KHR_materials_pbrSpecularGlossiness"].enabled = value; } }),
  35098. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "KHR_materials_unlit", isSelected: function () { return extensionStates["KHR_materials_unlit"].enabled; }, onSelect: function (value) { return extensionStates["KHR_materials_unlit"].enabled = value; } }),
  35099. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "KHR_lights_punctual", isSelected: function () { return extensionStates["KHR_lights_punctual"].enabled; }, onSelect: function (value) { return extensionStates["KHR_lights_punctual"].enabled = value; } }),
  35100. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "KHR_texture_transform", isSelected: function () { return extensionStates["KHR_texture_transform"].enabled; }, onSelect: function (value) { return extensionStates["KHR_texture_transform"].enabled = value; } }),
  35101. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_checkBoxLineComponent__WEBPACK_IMPORTED_MODULE_3__["CheckBoxLineComponent"], { label: "EXT_lights_image_based", isSelected: function () { return extensionStates["EXT_lights_image_based"].enabled; }, onSelect: function (value) { return extensionStates["EXT_lights_image_based"].enabled = value; } }),
  35102. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_messageLineComponent__WEBPACK_IMPORTED_MODULE_6__["MessageLineComponent"], { text: "You need to reload your file to see these changes" })),
  35103. loaderState["validate"] && this.props.globalState.validationResults &&
  35104. this.renderValidation()));
  35105. };
  35106. return GLTFComponent;
  35107. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  35108. /***/ }),
  35109. /***/ "./components/actionTabs/tabs/toolsTabComponent.tsx":
  35110. /*!**********************************************************!*\
  35111. !*** ./components/actionTabs/tabs/toolsTabComponent.tsx ***!
  35112. \**********************************************************/
  35113. /*! exports provided: ToolsTabComponent */
  35114. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35115. "use strict";
  35116. __webpack_require__.r(__webpack_exports__);
  35117. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ToolsTabComponent", function() { return ToolsTabComponent; });
  35118. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35119. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35120. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  35121. /* harmony import */ var _paneComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../paneComponent */ "./components/actionTabs/paneComponent.tsx");
  35122. /* harmony import */ var _lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../lineContainerComponent */ "./components/actionTabs/lineContainerComponent.tsx");
  35123. /* harmony import */ var _lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../lines/buttonLineComponent */ "./components/actionTabs/lines/buttonLineComponent.tsx");
  35124. /* harmony import */ var babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! babylonjs/Misc/videoRecorder */ "babylonjs/Misc/observable");
  35125. /* harmony import */ var babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__);
  35126. /* harmony import */ var _tools_gltfComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tools/gltfComponent */ "./components/actionTabs/tabs/tools/gltfComponent.tsx");
  35127. /* harmony import */ var babylonjs_serializers_glTF_2_0_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! babylonjs-serializers/glTF/2.0/index */ "babylonjs-serializers/glTF/2.0/index");
  35128. /* harmony import */ var babylonjs_serializers_glTF_2_0_index__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(babylonjs_serializers_glTF_2_0_index__WEBPACK_IMPORTED_MODULE_7__);
  35129. var ToolsTabComponent = /** @class */ (function (_super) {
  35130. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ToolsTabComponent, _super);
  35131. function ToolsTabComponent(props) {
  35132. var _this = _super.call(this, props) || this;
  35133. _this.state = { tag: "Record video" };
  35134. return _this;
  35135. }
  35136. ToolsTabComponent.prototype.componentWillMount = function () {
  35137. if (!BABYLON.GLTF2Export) {
  35138. babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Tools"].LoadScript("https://preview.babylonjs.com/serializers/babylonjs.serializers.min.js", function () {
  35139. });
  35140. return;
  35141. }
  35142. };
  35143. ToolsTabComponent.prototype.componentWillUnmount = function () {
  35144. if (this._videoRecorder) {
  35145. this._videoRecorder.stopRecording();
  35146. this._videoRecorder.dispose();
  35147. this._videoRecorder = null;
  35148. }
  35149. };
  35150. ToolsTabComponent.prototype.captureScreenshot = function () {
  35151. var scene = this.props.scene;
  35152. if (scene.activeCamera) {
  35153. babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Tools"].CreateScreenshot(scene.getEngine(), scene.activeCamera, { precision: 1.0 });
  35154. }
  35155. };
  35156. ToolsTabComponent.prototype.recordVideo = function () {
  35157. var _this = this;
  35158. if (this._videoRecorder && this._videoRecorder.isRecording) {
  35159. this._videoRecorder.stopRecording();
  35160. return;
  35161. }
  35162. var scene = this.props.scene;
  35163. if (!this._videoRecorder) {
  35164. this._videoRecorder = new babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["VideoRecorder"](scene.getEngine());
  35165. }
  35166. this._videoRecorder.startRecording().then(function () {
  35167. _this.setState({ tag: "Record video" });
  35168. });
  35169. this.setState({ tag: "Stop recording" });
  35170. };
  35171. ToolsTabComponent.prototype.shouldExport = function (node) {
  35172. // No skybox
  35173. if (node instanceof babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Mesh"]) {
  35174. if (node.material) {
  35175. var material = node.material;
  35176. var reflectionTexture = material.reflectionTexture;
  35177. if (reflectionTexture && reflectionTexture.coordinatesMode === babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Texture"].SKYBOX_MODE) {
  35178. return false;
  35179. }
  35180. }
  35181. }
  35182. return true;
  35183. };
  35184. ToolsTabComponent.prototype.exportGLTF = function () {
  35185. var _this = this;
  35186. var scene = this.props.scene;
  35187. babylonjs_serializers_glTF_2_0_index__WEBPACK_IMPORTED_MODULE_7__["GLTF2Export"].GLBAsync(scene, "scene", {
  35188. shouldExportNode: function (node) { return _this.shouldExport(node); }
  35189. }).then(function (glb) {
  35190. glb.downloadFiles();
  35191. });
  35192. };
  35193. ToolsTabComponent.prototype.exportBabylon = function () {
  35194. var scene = this.props.scene;
  35195. var strScene = JSON.stringify(babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["SceneSerializer"].Serialize(scene));
  35196. var blob = new Blob([strScene], { type: "octet/stream" });
  35197. babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Tools"].Download(blob, "scene.babylon");
  35198. };
  35199. ToolsTabComponent.prototype.createEnvTexture = function () {
  35200. var scene = this.props.scene;
  35201. babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["EnvironmentTextureTools"].CreateEnvTextureAsync(scene.environmentTexture)
  35202. .then(function (buffer) {
  35203. var blob = new Blob([buffer], { type: "octet/stream" });
  35204. babylonjs_Misc_videoRecorder__WEBPACK_IMPORTED_MODULE_5__["Tools"].Download(blob, "environment.env");
  35205. })
  35206. .catch(function (error) {
  35207. console.error(error);
  35208. alert(error);
  35209. });
  35210. };
  35211. ToolsTabComponent.prototype.resetReplay = function () {
  35212. this.props.globalState.recorder.reset();
  35213. };
  35214. ToolsTabComponent.prototype.exportReplay = function () {
  35215. this.props.globalState.recorder.export();
  35216. };
  35217. ToolsTabComponent.prototype.render = function () {
  35218. var _this = this;
  35219. var scene = this.props.scene;
  35220. if (!scene) {
  35221. return null;
  35222. }
  35223. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "pane" },
  35224. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "CAPTURE" },
  35225. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Screenshot", onClick: function () { return _this.captureScreenshot(); } }),
  35226. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: this.state.tag, onClick: function () { return _this.recordVideo(); } })),
  35227. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "REPLAY" },
  35228. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Generate replay code", onClick: function () { return _this.exportReplay(); } }),
  35229. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Reset", onClick: function () { return _this.resetReplay(); } })),
  35230. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lineContainerComponent__WEBPACK_IMPORTED_MODULE_3__["LineContainerComponent"], { globalState: this.props.globalState, title: "SCENE EXPORT" },
  35231. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Export to GLB", onClick: function () { return _this.exportGLTF(); } }),
  35232. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Export to Babylon", onClick: function () { return _this.exportBabylon(); } }),
  35233. !scene.getEngine().premultipliedAlpha && scene.environmentTexture && scene.environmentTexture.isPrefiltered && scene.activeCamera &&
  35234. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_lines_buttonLineComponent__WEBPACK_IMPORTED_MODULE_4__["ButtonLineComponent"], { label: "Generate .env texture", onClick: function () { return _this.createEnvTexture(); } })),
  35235. BABYLON.GLTFFileLoader &&
  35236. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_tools_gltfComponent__WEBPACK_IMPORTED_MODULE_6__["GLTFComponent"], { scene: scene, globalState: this.props.globalState })));
  35237. };
  35238. return ToolsTabComponent;
  35239. }(_paneComponent__WEBPACK_IMPORTED_MODULE_2__["PaneComponent"]));
  35240. /***/ }),
  35241. /***/ "./components/actionTabs/tabsComponent.tsx":
  35242. /*!*************************************************!*\
  35243. !*** ./components/actionTabs/tabsComponent.tsx ***!
  35244. \*************************************************/
  35245. /*! exports provided: TabsComponent */
  35246. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35247. "use strict";
  35248. __webpack_require__.r(__webpack_exports__);
  35249. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TabsComponent", function() { return TabsComponent; });
  35250. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35251. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35252. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  35253. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35254. var TabsComponent = /** @class */ (function (_super) {
  35255. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TabsComponent, _super);
  35256. function TabsComponent(props) {
  35257. return _super.call(this, props) || this;
  35258. }
  35259. TabsComponent.prototype.onSelect = function (index) {
  35260. this.props.onSelectedIndexChange(index);
  35261. };
  35262. TabsComponent.prototype.renderLabel = function (child, index) {
  35263. var _this = this;
  35264. var activeClass = (this.props.selectedIndex === index ? 'label active' : 'label');
  35265. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: activeClass, key: index, onClick: function () { return _this.onSelect(index); }, title: child.props.title },
  35266. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  35267. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: child.props.icon }))));
  35268. };
  35269. TabsComponent.prototype.render = function () {
  35270. var _this = this;
  35271. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "tabs", onContextMenu: function (e) { return e.preventDefault(); } },
  35272. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "labels" }, this.props.children.map(function (child, index) {
  35273. return _this.renderLabel(child, index);
  35274. })),
  35275. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "panes" }, this.props.children[this.props.selectedIndex])));
  35276. };
  35277. return TabsComponent;
  35278. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  35279. /***/ }),
  35280. /***/ "./components/embedHost/embedHost.scss":
  35281. /*!*********************************************!*\
  35282. !*** ./components/embedHost/embedHost.scss ***!
  35283. \*********************************************/
  35284. /*! no static exports found */
  35285. /***/ (function(module, exports, __webpack_require__) {
  35286. var content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/sass-loader/lib/loader.js!./embedHost.scss */ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/embedHost/embedHost.scss");
  35287. if(typeof content === 'string') content = [[module.i, content, '']];
  35288. var transform;
  35289. var insertInto;
  35290. var options = {"hmr":true}
  35291. options.transform = transform
  35292. options.insertInto = undefined;
  35293. var update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ "../../node_modules/style-loader/lib/addStyles.js")(content, options);
  35294. if(content.locals) module.exports = content.locals;
  35295. if(false) {}
  35296. /***/ }),
  35297. /***/ "./components/embedHost/embedHostComponent.tsx":
  35298. /*!*****************************************************!*\
  35299. !*** ./components/embedHost/embedHostComponent.tsx ***!
  35300. \*****************************************************/
  35301. /*! exports provided: EmbedHostComponent */
  35302. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35303. "use strict";
  35304. __webpack_require__.r(__webpack_exports__);
  35305. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmbedHostComponent", function() { return EmbedHostComponent; });
  35306. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35307. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35308. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  35309. /* harmony import */ var _headerComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../headerComponent */ "./components/headerComponent.tsx");
  35310. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! re-resizable */ "../../node_modules/re-resizable/lib/index.es5.js");
  35311. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(re_resizable__WEBPACK_IMPORTED_MODULE_3__);
  35312. /* harmony import */ var _sceneExplorer_sceneExplorerComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sceneExplorer/sceneExplorerComponent */ "./components/sceneExplorer/sceneExplorerComponent.tsx");
  35313. /* harmony import */ var _actionTabs_actionTabsComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../actionTabs/actionTabsComponent */ "./components/actionTabs/actionTabsComponent.tsx");
  35314. var Split = __webpack_require__(/*! split.js */ "../../node_modules/split.js/dist/split.es.js").default;
  35315. __webpack_require__(/*! ./embedHost.scss */ "./components/embedHost/embedHost.scss");
  35316. var EmbedHostComponent = /** @class */ (function (_super) {
  35317. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](EmbedHostComponent, _super);
  35318. function EmbedHostComponent(props) {
  35319. var _this = _super.call(this, props) || this;
  35320. _this._once = true;
  35321. return _this;
  35322. }
  35323. EmbedHostComponent.prototype.componentDidMount = function () {
  35324. var container = this.refs.split;
  35325. if (!container) {
  35326. return;
  35327. }
  35328. Split([this.refs.topPart, this.refs.bottomPart], {
  35329. direction: "vertical",
  35330. minSize: [200, 200],
  35331. gutterSize: 4
  35332. });
  35333. };
  35334. EmbedHostComponent.prototype.renderContent = function () {
  35335. if (this.props.popupMode) {
  35336. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "split", className: "splitPopup" },
  35337. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "topPart" },
  35338. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sceneExplorer_sceneExplorerComponent__WEBPACK_IMPORTED_MODULE_4__["SceneExplorerComponent"], { scene: this.props.scene, popupMode: true, globalState: this.props.globalState, noHeader: true })),
  35339. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "separator" }),
  35340. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "bottomPart", style: { marginTop: "4px", overflow: "hidden" } },
  35341. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_actionTabs_actionTabsComponent__WEBPACK_IMPORTED_MODULE_5__["ActionTabsComponent"], { scene: this.props.scene, popupMode: true, globalState: this.props.globalState, noHeader: true }))));
  35342. }
  35343. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { ref: "split", id: "split", className: "noPopup" },
  35344. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "topPart", ref: "topPart" },
  35345. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sceneExplorer_sceneExplorerComponent__WEBPACK_IMPORTED_MODULE_4__["SceneExplorerComponent"], { scene: this.props.scene, globalState: this.props.globalState, popupMode: true, noHeader: true })),
  35346. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "bottomPart", ref: "bottomPart", style: { marginTop: "4px", overflow: "hidden" } },
  35347. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_actionTabs_actionTabsComponent__WEBPACK_IMPORTED_MODULE_5__["ActionTabsComponent"], { scene: this.props.scene, globalState: this.props.globalState, popupMode: true, noHeader: true }))));
  35348. };
  35349. EmbedHostComponent.prototype.render = function () {
  35350. var _this = this;
  35351. if (this.props.popupMode) {
  35352. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "embed" },
  35353. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_2__["HeaderComponent"], { title: "INSPECTOR", noClose: this.props.noClose, noExpand: this.props.noExpand, handleBack: true, onClose: function () { return _this.props.onClose(); }, onPopup: function () { return _this.props.onPopup(); }, onSelectionChangedObservable: this.props.globalState.onSelectionChangedObservable }),
  35354. this.renderContent()));
  35355. }
  35356. if (this._once) {
  35357. this._once = false;
  35358. // A bit hacky but no other way to force the initial width to 300px and not auto
  35359. setTimeout(function () {
  35360. var element = document.getElementById("embed");
  35361. if (!element) {
  35362. return;
  35363. }
  35364. element.style.width = "300px";
  35365. }, 150);
  35366. }
  35367. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](re_resizable__WEBPACK_IMPORTED_MODULE_3___default.a, { id: "embed", minWidth: 300, maxWidth: 600, size: { height: "100%" }, minHeight: "100%", enable: { top: false, right: false, bottom: false, left: true, topRight: false, bottomRight: false, bottomLeft: false, topLeft: false } },
  35368. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_2__["HeaderComponent"], { title: "INSPECTOR", noClose: this.props.noClose, noExpand: this.props.noExpand, handleBack: true, onClose: function () { return _this.props.onClose(); }, onPopup: function () { return _this.props.onPopup(); }, onSelectionChangedObservable: this.props.globalState.onSelectionChangedObservable }),
  35369. this.renderContent()));
  35370. };
  35371. return EmbedHostComponent;
  35372. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  35373. /***/ }),
  35374. /***/ "./components/globalState.ts":
  35375. /*!***********************************!*\
  35376. !*** ./components/globalState.ts ***!
  35377. \***********************************/
  35378. /*! exports provided: GlobalState */
  35379. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35380. "use strict";
  35381. __webpack_require__.r(__webpack_exports__);
  35382. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GlobalState", function() { return GlobalState; });
  35383. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  35384. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__);
  35385. /* harmony import */ var _replayRecorder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./replayRecorder */ "./components/replayRecorder.ts");
  35386. /* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../tools */ "./tools.ts");
  35387. var GlobalState = /** @class */ (function () {
  35388. function GlobalState() {
  35389. this.onInspectorClosedObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__["Observable"]();
  35390. this.onTabChangedObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__["Observable"]();
  35391. this.onValidationResultsUpdatedObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__["Observable"]();
  35392. this.glTFLoaderExtensionDefaults = {};
  35393. this.glTFLoaderDefaults = { "validate": true };
  35394. this.blockMutationUpdates = false;
  35395. this.selectedLineContainerTitle = "";
  35396. this.recorder = new _replayRecorder__WEBPACK_IMPORTED_MODULE_1__["ReplayRecorder"]();
  35397. this._onlyUseEulers = null;
  35398. this._ignoreBackfacesForPicking = null;
  35399. // Light gizmos
  35400. this.lightGizmos = [];
  35401. }
  35402. Object.defineProperty(GlobalState.prototype, "onlyUseEulers", {
  35403. get: function () {
  35404. if (this._onlyUseEulers === null) {
  35405. this._onlyUseEulers = _tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].ReadLocalBooleanSettings("settings_onlyUseEulers", true);
  35406. }
  35407. return this._onlyUseEulers;
  35408. },
  35409. set: function (value) {
  35410. this._onlyUseEulers = value;
  35411. _tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].StoreLocalBooleanSettings("settings_onlyUseEulers", value);
  35412. },
  35413. enumerable: true,
  35414. configurable: true
  35415. });
  35416. Object.defineProperty(GlobalState.prototype, "ignoreBackfacesForPicking", {
  35417. get: function () {
  35418. if (this._ignoreBackfacesForPicking === null) {
  35419. this._ignoreBackfacesForPicking = _tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].ReadLocalBooleanSettings("settings_ignoreBackfacesForPicking", false);
  35420. }
  35421. return this._ignoreBackfacesForPicking;
  35422. },
  35423. set: function (value) {
  35424. this._ignoreBackfacesForPicking = value;
  35425. _tools__WEBPACK_IMPORTED_MODULE_2__["Tools"].StoreLocalBooleanSettings("settings_ignoreBackfacesForPicking", value);
  35426. },
  35427. enumerable: true,
  35428. configurable: true
  35429. });
  35430. GlobalState.prototype.init = function (propertyChangedObservable) {
  35431. var _this = this;
  35432. this.onPropertyChangedObservable = propertyChangedObservable;
  35433. propertyChangedObservable.add(function (event) {
  35434. _this.recorder.record(event);
  35435. });
  35436. };
  35437. GlobalState.prototype.prepareGLTFPlugin = function (loader) {
  35438. var _this = this;
  35439. var loaderState = this.glTFLoaderDefaults;
  35440. if (loaderState !== undefined) {
  35441. for (var key in loaderState) {
  35442. loader[key] = loaderState[key];
  35443. }
  35444. }
  35445. loader.onExtensionLoadedObservable.add(function (extension) {
  35446. var extensionState = _this.glTFLoaderExtensionDefaults[extension.name];
  35447. if (extensionState !== undefined) {
  35448. for (var key in extensionState) {
  35449. extension[key] = extensionState[key];
  35450. }
  35451. }
  35452. });
  35453. loader.onValidatedObservable.add(function (results) {
  35454. _this.validationResults = results;
  35455. _this.onValidationResultsUpdatedObservable.notifyObservers(results);
  35456. if (results.issues.numErrors || results.issues.numWarnings) {
  35457. _this.onTabChangedObservable.notifyObservers(3);
  35458. }
  35459. });
  35460. };
  35461. GlobalState.prototype.enableLightGizmo = function (light, enable) {
  35462. if (enable === void 0) { enable = true; }
  35463. if (enable) {
  35464. if (!light.reservedDataStore) {
  35465. light.reservedDataStore = {};
  35466. }
  35467. if (!light.reservedDataStore.lightGizmo) {
  35468. light.reservedDataStore.lightGizmo = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_0__["LightGizmo"]();
  35469. this.lightGizmos.push(light.reservedDataStore.lightGizmo);
  35470. light.reservedDataStore.lightGizmo.light = light;
  35471. }
  35472. }
  35473. else if (light.reservedDataStore && light.reservedDataStore.lightGizmo) {
  35474. this.lightGizmos.splice(this.lightGizmos.indexOf(light.reservedDataStore.lightGizmo), 1);
  35475. light.reservedDataStore.lightGizmo.dispose();
  35476. light.reservedDataStore.lightGizmo = null;
  35477. }
  35478. };
  35479. return GlobalState;
  35480. }());
  35481. /***/ }),
  35482. /***/ "./components/headerComponent.tsx":
  35483. /*!****************************************!*\
  35484. !*** ./components/headerComponent.tsx ***!
  35485. \****************************************/
  35486. /*! exports provided: HeaderComponent */
  35487. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35488. "use strict";
  35489. __webpack_require__.r(__webpack_exports__);
  35490. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderComponent", function() { return HeaderComponent; });
  35491. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35492. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35493. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35494. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35495. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
  35496. var HeaderComponent = /** @class */ (function (_super) {
  35497. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](HeaderComponent, _super);
  35498. function HeaderComponent(props) {
  35499. var _this = _super.call(this, props) || this;
  35500. _this._backStack = new Array();
  35501. _this.state = { isBackVisible: false };
  35502. return _this;
  35503. }
  35504. HeaderComponent.prototype.componentWillMount = function () {
  35505. var _this = this;
  35506. if (!this.props.onSelectionChangedObservable) {
  35507. return;
  35508. }
  35509. this._onSelectionChangeObserver = this.props.onSelectionChangedObservable.add(function (entity) {
  35510. if (_this._backStack.length === 0 || entity !== _this._backStack[_this._backStack.length - 1]) {
  35511. _this._backStack.push(entity);
  35512. _this.setState({ isBackVisible: _this._backStack.length > 1 });
  35513. }
  35514. });
  35515. };
  35516. HeaderComponent.prototype.componentWillUnmount = function () {
  35517. if (this._onSelectionChangeObserver) {
  35518. this.props.onSelectionChangedObservable.remove(this._onSelectionChangeObserver);
  35519. }
  35520. };
  35521. HeaderComponent.prototype.goBack = function () {
  35522. this._backStack.pop(); // remove current
  35523. var entity = this._backStack[this._backStack.length - 1];
  35524. if (this.props.onSelectionChangedObservable) {
  35525. this.props.onSelectionChangedObservable.notifyObservers(entity);
  35526. }
  35527. this.setState({ isBackVisible: this._backStack.length > 1 });
  35528. };
  35529. HeaderComponent.prototype.renderLogo = function () {
  35530. var _this = this;
  35531. if (this.props.noCommands) {
  35532. return null;
  35533. }
  35534. if (this.props.handleBack) {
  35535. if (!this.state.isBackVisible) {
  35536. return null;
  35537. }
  35538. return (react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { id: "back", onClick: function () { return _this.goBack(); } },
  35539. react__WEBPACK_IMPORTED_MODULE_3__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faArrowLeft"] })));
  35540. }
  35541. return (react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("img", { id: "logo", style: { top: "0%" }, src: "https://www.babylonjs.com/Assets/logo-babylonjs-social-twitter.png" }));
  35542. };
  35543. HeaderComponent.prototype.render = function () {
  35544. var _this = this;
  35545. return (react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { id: "header" },
  35546. this.renderLogo(),
  35547. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { id: "title" }, this.props.title),
  35548. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { id: "commands" },
  35549. !this.props.noCommands && !this.props.noExpand &&
  35550. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { className: "expand", onClick: function () { return _this.props.onPopup(); } },
  35551. react__WEBPACK_IMPORTED_MODULE_3__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faWindowRestore"] })),
  35552. !this.props.noCommands && !this.props.noClose &&
  35553. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { className: "close", onClick: function () { return _this.props.onClose(); } },
  35554. react__WEBPACK_IMPORTED_MODULE_3__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faTimes"] })))));
  35555. };
  35556. return HeaderComponent;
  35557. }(react__WEBPACK_IMPORTED_MODULE_3__["Component"]));
  35558. /***/ }),
  35559. /***/ "./components/propertyChangedEvent.ts":
  35560. /*!********************************************!*\
  35561. !*** ./components/propertyChangedEvent.ts ***!
  35562. \********************************************/
  35563. /*! exports provided: PropertyChangedEvent */
  35564. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35565. "use strict";
  35566. __webpack_require__.r(__webpack_exports__);
  35567. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyChangedEvent", function() { return PropertyChangedEvent; });
  35568. var PropertyChangedEvent = /** @class */ (function () {
  35569. function PropertyChangedEvent() {
  35570. }
  35571. return PropertyChangedEvent;
  35572. }());
  35573. /***/ }),
  35574. /***/ "./components/replayRecorder.ts":
  35575. /*!**************************************!*\
  35576. !*** ./components/replayRecorder.ts ***!
  35577. \**************************************/
  35578. /*! exports provided: ReplayRecorder */
  35579. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35580. "use strict";
  35581. __webpack_require__.r(__webpack_exports__);
  35582. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReplayRecorder", function() { return ReplayRecorder; });
  35583. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babylonjs/Misc/tools */ "babylonjs/Misc/observable");
  35584. /* harmony import */ var babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_0__);
  35585. var ReplayRecorder = /** @class */ (function () {
  35586. function ReplayRecorder() {
  35587. }
  35588. ReplayRecorder.prototype.reset = function () {
  35589. this._recordedCodeLines = [];
  35590. this._previousObject = null;
  35591. this._previousProperty = "";
  35592. };
  35593. ReplayRecorder.prototype.record = function (event) {
  35594. if (!this._recordedCodeLines) {
  35595. this._recordedCodeLines = [];
  35596. }
  35597. if (this._previousObject === event.object && this._previousProperty === event.property) {
  35598. this._recordedCodeLines.pop();
  35599. }
  35600. var value = event.value;
  35601. if (value.w !== undefined) { // Quaternion
  35602. value = "new BABYLON.Quaternion(" + value.x + ", " + value.y + ", " + value.z + ", " + value.w + ")";
  35603. }
  35604. else if (value.z !== undefined) { // Vector3
  35605. value = "new BABYLON.Vector3(" + value.x + ", " + value.y + ", " + value.z + ")";
  35606. }
  35607. else if (value.y !== undefined) { // Vector2
  35608. value = "new BABYLON.Vector2(" + value.x + ", " + value.y + ")";
  35609. }
  35610. else if (value.a !== undefined) { // Color4
  35611. value = "new BABYLON.Color4(" + value.r + ", " + value.g + ", " + value.b + ", " + value.a + ")";
  35612. }
  35613. else if (value.b !== undefined) { // Color3
  35614. value = "new BABYLON.Color3(" + value.r + ", " + value.g + ", " + value.b + ")";
  35615. }
  35616. var target = event.object.getClassName().toLowerCase();
  35617. if (event.object.id) {
  35618. if (target === "Scene") {
  35619. target = "scene";
  35620. }
  35621. else if (target.indexOf("camera") > -1) {
  35622. target = "scene.getCameraByID(\"" + event.object.id + "\")";
  35623. }
  35624. else if (target.indexOf("mesh") > -1) {
  35625. target = "scene.getMeshByID(\"" + event.object.id + "\")";
  35626. }
  35627. else if (target.indexOf("light") > -1) {
  35628. target = "scene.getLightByID(\"" + event.object.id + "\")";
  35629. }
  35630. else if (target === "transformnode") {
  35631. target = "scene.getTransformNodeByID(\"" + event.object.id + "\")";
  35632. }
  35633. else if (target === "skeleton") {
  35634. target = "scene.getSkeletonById(\"" + event.object.id + "\")";
  35635. }
  35636. else if (target.indexOf("material") > -1) {
  35637. target = "scene.getMaterialByID(\"" + event.object.id + "\")";
  35638. }
  35639. }
  35640. this._recordedCodeLines.push(target + "." + event.property + " = " + value + ";");
  35641. this._previousObject = event.object;
  35642. this._previousProperty = event.property;
  35643. };
  35644. ReplayRecorder.prototype.export = function () {
  35645. var content = "// Code generated by babylon.js Inspector\r\n// Please keep in mind to define the 'scene' variable before using that code\r\n\r\n";
  35646. if (this._recordedCodeLines) {
  35647. content += this._recordedCodeLines.join("\r\n");
  35648. }
  35649. babylonjs_Misc_tools__WEBPACK_IMPORTED_MODULE_0__["Tools"].Download(new Blob([content]), "pseudo-code.txt");
  35650. };
  35651. return ReplayRecorder;
  35652. }());
  35653. /***/ }),
  35654. /***/ "./components/sceneExplorer/entities/animationGroupTreeItemComponent.tsx":
  35655. /*!*******************************************************************************!*\
  35656. !*** ./components/sceneExplorer/entities/animationGroupTreeItemComponent.tsx ***!
  35657. \*******************************************************************************/
  35658. /*! exports provided: AnimationGroupItemComponent */
  35659. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35660. "use strict";
  35661. __webpack_require__.r(__webpack_exports__);
  35662. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnimationGroupItemComponent", function() { return AnimationGroupItemComponent; });
  35663. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35664. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35665. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35666. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35667. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35668. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  35669. var AnimationGroupItemComponent = /** @class */ (function (_super) {
  35670. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](AnimationGroupItemComponent, _super);
  35671. function AnimationGroupItemComponent(props) {
  35672. return _super.call(this, props) || this;
  35673. }
  35674. AnimationGroupItemComponent.prototype.render = function () {
  35675. var _this = this;
  35676. var animationGroup = this.props.animationGroup;
  35677. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "animationGroupTools" },
  35678. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: animationGroup.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faFilm"], color: "cornflowerblue" }),
  35679. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: animationGroup, extensibilityGroups: this.props.extensibilityGroups })));
  35680. };
  35681. return AnimationGroupItemComponent;
  35682. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  35683. /***/ }),
  35684. /***/ "./components/sceneExplorer/entities/boneTreeItemComponent.tsx":
  35685. /*!*********************************************************************!*\
  35686. !*** ./components/sceneExplorer/entities/boneTreeItemComponent.tsx ***!
  35687. \*********************************************************************/
  35688. /*! exports provided: BoneTreeItemComponent */
  35689. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35690. "use strict";
  35691. __webpack_require__.r(__webpack_exports__);
  35692. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BoneTreeItemComponent", function() { return BoneTreeItemComponent; });
  35693. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35694. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35695. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35696. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35697. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35698. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  35699. var BoneTreeItemComponent = /** @class */ (function (_super) {
  35700. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](BoneTreeItemComponent, _super);
  35701. function BoneTreeItemComponent(props) {
  35702. return _super.call(this, props) || this;
  35703. }
  35704. BoneTreeItemComponent.prototype.render = function () {
  35705. var _this = this;
  35706. var bone = this.props.bone;
  35707. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "skeletonTools" },
  35708. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: bone.name || "no name", onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faBone"], color: "lightgray" }),
  35709. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: bone, extensibilityGroups: this.props.extensibilityGroups })));
  35710. };
  35711. return BoneTreeItemComponent;
  35712. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  35713. /***/ }),
  35714. /***/ "./components/sceneExplorer/entities/cameraTreeItemComponent.tsx":
  35715. /*!***********************************************************************!*\
  35716. !*** ./components/sceneExplorer/entities/cameraTreeItemComponent.tsx ***!
  35717. \***********************************************************************/
  35718. /*! exports provided: CameraTreeItemComponent */
  35719. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35720. "use strict";
  35721. __webpack_require__.r(__webpack_exports__);
  35722. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CameraTreeItemComponent", function() { return CameraTreeItemComponent; });
  35723. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35724. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35725. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35726. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35727. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35728. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35729. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
  35730. var CameraTreeItemComponent = /** @class */ (function (_super) {
  35731. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CameraTreeItemComponent, _super);
  35732. function CameraTreeItemComponent(props) {
  35733. var _this = _super.call(this, props) || this;
  35734. var camera = _this.props.camera;
  35735. var scene = camera.getScene();
  35736. _this.state = { isActive: scene.activeCamera === camera };
  35737. return _this;
  35738. }
  35739. CameraTreeItemComponent.prototype.setActive = function () {
  35740. var camera = this.props.camera;
  35741. var scene = camera.getScene();
  35742. scene.activeCamera = camera;
  35743. camera.attachControl(scene.getEngine().getRenderingCanvas(), true);
  35744. this.setState({ isActive: true });
  35745. };
  35746. CameraTreeItemComponent.prototype.componentWillMount = function () {
  35747. var _this = this;
  35748. var camera = this.props.camera;
  35749. var scene = camera.getScene();
  35750. this._onActiveCameraObserver = scene.onActiveCameraChanged.add(function () {
  35751. // This will deactivate the previous camera when the camera is changed. Multiple camera's cycle frequently so only do this for single cameras
  35752. if (_this.state.isActive && scene.activeCameras.length <= 1) {
  35753. camera.detachControl(scene.getEngine().getRenderingCanvas());
  35754. }
  35755. _this.setState({ isActive: scene.activeCamera === camera });
  35756. });
  35757. };
  35758. CameraTreeItemComponent.prototype.componentWillUnmount = function () {
  35759. if (this._onActiveCameraObserver) {
  35760. var camera = this.props.camera;
  35761. var scene = camera.getScene();
  35762. scene.onActiveCameraChanged.remove(this._onActiveCameraObserver);
  35763. }
  35764. };
  35765. CameraTreeItemComponent.prototype.render = function () {
  35766. var _this = this;
  35767. var isActiveElement = this.state.isActive ? react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faVideo"] }) : react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faVideo"], className: "isNotActive" });
  35768. var scene = this.props.camera.getScene();
  35769. return (react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "cameraTools" },
  35770. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemLabelComponent"], { label: this.props.camera.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faCamera"], color: "green" }),
  35771. (!scene.activeCameras || scene.activeCameras.length === 0) &&
  35772. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "activeCamera icon", onClick: function () { return _this.setActive(); }, title: "Set as main camera" }, isActiveElement),
  35773. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_4__["ExtensionsComponent"], { target: this.props.camera, extensibilityGroups: this.props.extensibilityGroups })));
  35774. };
  35775. return CameraTreeItemComponent;
  35776. }(react__WEBPACK_IMPORTED_MODULE_5__["Component"]));
  35777. /***/ }),
  35778. /***/ "./components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent.tsx":
  35779. /*!*******************************************************************************************!*\
  35780. !*** ./components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent.tsx ***!
  35781. \*******************************************************************************************/
  35782. /*! exports provided: AdvancedDynamicTextureTreeItemComponent */
  35783. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35784. "use strict";
  35785. __webpack_require__.r(__webpack_exports__);
  35786. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AdvancedDynamicTextureTreeItemComponent", function() { return AdvancedDynamicTextureTreeItemComponent; });
  35787. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35788. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35789. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35790. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35791. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35792. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  35793. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35794. var AdvancedDynamicTextureTreeItemComponent = /** @class */ (function (_super) {
  35795. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](AdvancedDynamicTextureTreeItemComponent, _super);
  35796. function AdvancedDynamicTextureTreeItemComponent(props) {
  35797. var _this = _super.call(this, props) || this;
  35798. _this.state = { isInPickingMode: false };
  35799. return _this;
  35800. }
  35801. AdvancedDynamicTextureTreeItemComponent.prototype.componentWillUnmount = function () {
  35802. var adt = this.props.texture;
  35803. if (this._onControlPickedObserver) {
  35804. adt.onControlPickedObservable.remove(this._onControlPickedObserver);
  35805. this._onControlPickedObserver = null;
  35806. }
  35807. };
  35808. AdvancedDynamicTextureTreeItemComponent.prototype.onPickingMode = function () {
  35809. var _this = this;
  35810. var adt = this.props.texture;
  35811. if (this._onControlPickedObserver) {
  35812. adt.onControlPickedObservable.remove(this._onControlPickedObserver);
  35813. this._onControlPickedObserver = null;
  35814. }
  35815. if (!this.state.isInPickingMode) {
  35816. this._onControlPickedObserver = adt.onControlPickedObservable.add(function (control) {
  35817. if (!_this.props.onSelectionChangedObservable) {
  35818. return;
  35819. }
  35820. if (control.getClassName() === "ScrollViewerWindow") {
  35821. control = control.getAscendantOfClass("ScrollViewer");
  35822. }
  35823. _this.props.onSelectionChangedObservable.notifyObservers(control);
  35824. });
  35825. }
  35826. this.setState({ isInPickingMode: !this.state.isInPickingMode });
  35827. };
  35828. AdvancedDynamicTextureTreeItemComponent.prototype.render = function () {
  35829. var _this = this;
  35830. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "adtextureTools" },
  35831. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: this.props.texture.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faImage"], color: "mediumpurple" }),
  35832. react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: this.state.isInPickingMode ? "pickingMode selected icon" : "pickingMode icon", onClick: function () { return _this.onPickingMode(); }, title: "Turn picking mode on/off" },
  35833. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faCrosshairs"] })),
  35834. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: this.props.texture, extensibilityGroups: this.props.extensibilityGroups })));
  35835. };
  35836. return AdvancedDynamicTextureTreeItemComponent;
  35837. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  35838. /***/ }),
  35839. /***/ "./components/sceneExplorer/entities/gui/controlTreeItemComponent.tsx":
  35840. /*!****************************************************************************!*\
  35841. !*** ./components/sceneExplorer/entities/gui/controlTreeItemComponent.tsx ***!
  35842. \****************************************************************************/
  35843. /*! exports provided: ControlTreeItemComponent */
  35844. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35845. "use strict";
  35846. __webpack_require__.r(__webpack_exports__);
  35847. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ControlTreeItemComponent", function() { return ControlTreeItemComponent; });
  35848. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35849. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35850. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35851. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35852. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35853. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  35854. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35855. var ControlTreeItemComponent = /** @class */ (function (_super) {
  35856. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ControlTreeItemComponent, _super);
  35857. function ControlTreeItemComponent(props) {
  35858. var _this = _super.call(this, props) || this;
  35859. var control = _this.props.control;
  35860. _this.state = { isActive: control.isHighlighted, isVisible: control.isVisible };
  35861. return _this;
  35862. }
  35863. ControlTreeItemComponent.prototype.highlight = function () {
  35864. var control = this.props.control;
  35865. control.isHighlighted = !control.isHighlighted;
  35866. this.setState({ isActive: control.isHighlighted });
  35867. };
  35868. ControlTreeItemComponent.prototype.switchVisibility = function () {
  35869. var newState = !this.state.isVisible;
  35870. this.setState({ isVisible: newState });
  35871. this.props.control.isVisible = newState;
  35872. };
  35873. ControlTreeItemComponent.prototype.render = function () {
  35874. var _this = this;
  35875. var control = this.props.control;
  35876. var name = (control.name || "No name") + (" [" + control.getClassName() + "]");
  35877. var isActiveElement = this.state.isActive ? react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faHighlighter"] }) : react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faHighlighter"], className: "isNotActive" });
  35878. var visibilityElement = this.state.isVisible ? react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faEye"] }) : react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faEyeSlash"], className: "isNotActive" });
  35879. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "controlTools" },
  35880. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faObjectGroup"], color: "greenyellow" }),
  35881. react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "highlight icon", onClick: function () { return _this.highlight(); }, title: "Highlight this control" }, isActiveElement),
  35882. react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "visibility icon", onClick: function () { return _this.switchVisibility(); }, title: "Show/Hide control" }, visibilityElement),
  35883. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: control, extensibilityGroups: this.props.extensibilityGroups })));
  35884. };
  35885. return ControlTreeItemComponent;
  35886. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  35887. /***/ }),
  35888. /***/ "./components/sceneExplorer/entities/lightTreeItemComponent.tsx":
  35889. /*!**********************************************************************!*\
  35890. !*** ./components/sceneExplorer/entities/lightTreeItemComponent.tsx ***!
  35891. \**********************************************************************/
  35892. /*! exports provided: LightTreeItemComponent */
  35893. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35894. "use strict";
  35895. __webpack_require__.r(__webpack_exports__);
  35896. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LightTreeItemComponent", function() { return LightTreeItemComponent; });
  35897. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35898. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35899. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35900. /* harmony import */ var _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-regular-svg-icons */ "../../node_modules/@fortawesome/free-regular-svg-icons/index.es.js");
  35901. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35902. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35903. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35904. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
  35905. var LightTreeItemComponent = /** @class */ (function (_super) {
  35906. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](LightTreeItemComponent, _super);
  35907. function LightTreeItemComponent(props) {
  35908. var _this = _super.call(this, props) || this;
  35909. var light = _this.props.light;
  35910. _this.state = { isEnabled: light.isEnabled(), isGizmoEnabled: (light.reservedDataStore && light.reservedDataStore.lightGizmo) };
  35911. return _this;
  35912. }
  35913. LightTreeItemComponent.prototype.switchIsEnabled = function () {
  35914. var light = this.props.light;
  35915. light.setEnabled(!light.isEnabled());
  35916. this.setState({ isEnabled: light.isEnabled() });
  35917. };
  35918. LightTreeItemComponent.prototype.toggleGizmo = function () {
  35919. var light = this.props.light;
  35920. if (light.reservedDataStore && light.reservedDataStore.lightGizmo) {
  35921. if (light.getScene().reservedDataStore && light.getScene().reservedDataStore.gizmoManager) {
  35922. light.getScene().reservedDataStore.gizmoManager.attachToMesh(null);
  35923. }
  35924. this.props.globalState.enableLightGizmo(light, false);
  35925. this.setState({ isGizmoEnabled: false });
  35926. }
  35927. else {
  35928. this.props.globalState.enableLightGizmo(light, true);
  35929. this.setState({ isGizmoEnabled: true });
  35930. }
  35931. };
  35932. LightTreeItemComponent.prototype.render = function () {
  35933. var _this = this;
  35934. var isEnabledElement = this.state.isEnabled ? react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faLightbulb"] }) : react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faLightbulb"], className: "isNotActive" });
  35935. var isGizmoEnabled = (this.state.isGizmoEnabled || (this.props.light && this.props.light.reservedDataStore && this.props.light.reservedDataStore.lightGizmo)) ? react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faEye"] }) : react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faEye"], className: "isNotActive" });
  35936. return (react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "lightTools" },
  35937. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__["TreeItemLabelComponent"], { label: this.props.light.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faLightbulb"], color: "yellow" }),
  35938. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "visibility icon", onClick: function () { return _this.switchIsEnabled(); }, title: "Turn on/off the light" }, isEnabledElement),
  35939. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "enableGizmo icon", onClick: function () { return _this.toggleGizmo(); }, title: "Turn on/off the light's gizmo" }, isGizmoEnabled),
  35940. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_5__["ExtensionsComponent"], { target: this.props.light, extensibilityGroups: this.props.extensibilityGroups })));
  35941. };
  35942. return LightTreeItemComponent;
  35943. }(react__WEBPACK_IMPORTED_MODULE_6__["Component"]));
  35944. /***/ }),
  35945. /***/ "./components/sceneExplorer/entities/materialTreeItemComponent.tsx":
  35946. /*!*************************************************************************!*\
  35947. !*** ./components/sceneExplorer/entities/materialTreeItemComponent.tsx ***!
  35948. \*************************************************************************/
  35949. /*! exports provided: MaterialTreeItemComponent */
  35950. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35951. "use strict";
  35952. __webpack_require__.r(__webpack_exports__);
  35953. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaterialTreeItemComponent", function() { return MaterialTreeItemComponent; });
  35954. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35955. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35956. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35957. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35958. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35959. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  35960. var MaterialTreeItemComponent = /** @class */ (function (_super) {
  35961. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](MaterialTreeItemComponent, _super);
  35962. function MaterialTreeItemComponent(props) {
  35963. return _super.call(this, props) || this;
  35964. }
  35965. MaterialTreeItemComponent.prototype.render = function () {
  35966. var _this = this;
  35967. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "materialTools" },
  35968. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: this.props.material.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faBrush"], color: "orange" }),
  35969. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: this.props.material, extensibilityGroups: this.props.extensibilityGroups })));
  35970. };
  35971. return MaterialTreeItemComponent;
  35972. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  35973. /***/ }),
  35974. /***/ "./components/sceneExplorer/entities/meshTreeItemComponent.tsx":
  35975. /*!*********************************************************************!*\
  35976. !*** ./components/sceneExplorer/entities/meshTreeItemComponent.tsx ***!
  35977. \*********************************************************************/
  35978. /*! exports provided: MeshTreeItemComponent */
  35979. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  35980. "use strict";
  35981. __webpack_require__.r(__webpack_exports__);
  35982. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MeshTreeItemComponent", function() { return MeshTreeItemComponent; });
  35983. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  35984. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  35985. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  35986. /* harmony import */ var _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-regular-svg-icons */ "../../node_modules/@fortawesome/free-regular-svg-icons/index.es.js");
  35987. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  35988. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  35989. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  35990. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
  35991. var MeshTreeItemComponent = /** @class */ (function (_super) {
  35992. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](MeshTreeItemComponent, _super);
  35993. function MeshTreeItemComponent(props) {
  35994. var _this = _super.call(this, props) || this;
  35995. var mesh = _this.props.mesh;
  35996. _this.state = { isBoundingBoxEnabled: mesh.showBoundingBox, isVisible: _this.props.mesh.isVisible };
  35997. return _this;
  35998. }
  35999. MeshTreeItemComponent.prototype.showBoundingBox = function () {
  36000. var mesh = this.props.mesh;
  36001. mesh.showBoundingBox = !this.state.isBoundingBoxEnabled;
  36002. this.setState({ isBoundingBoxEnabled: !this.state.isBoundingBoxEnabled });
  36003. };
  36004. MeshTreeItemComponent.prototype.switchVisibility = function () {
  36005. var newState = !this.state.isVisible;
  36006. this.setState({ isVisible: newState });
  36007. this.props.mesh.isVisible = newState;
  36008. };
  36009. MeshTreeItemComponent.prototype.render = function () {
  36010. var _this = this;
  36011. var mesh = this.props.mesh;
  36012. var visibilityElement = this.state.isVisible ? react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faEye"] }) : react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faEyeSlash"], className: "isNotActive" });
  36013. return (react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "meshTools" },
  36014. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__["TreeItemLabelComponent"], { label: mesh.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faCube"], color: "dodgerblue" }),
  36015. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: this.state.isBoundingBoxEnabled ? "bounding-box selected icon" : "bounding-box icon", onClick: function () { return _this.showBoundingBox(); }, title: "Show/Hide bounding box" },
  36016. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faSquare"] })),
  36017. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "visibility icon", onClick: function () { return _this.switchVisibility(); }, title: "Show/Hide mesh" }, visibilityElement),
  36018. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_5__["ExtensionsComponent"], { target: mesh, extensibilityGroups: this.props.extensibilityGroups })));
  36019. };
  36020. return MeshTreeItemComponent;
  36021. }(react__WEBPACK_IMPORTED_MODULE_6__["Component"]));
  36022. /***/ }),
  36023. /***/ "./components/sceneExplorer/entities/postProcessTreeItemComponent.tsx":
  36024. /*!****************************************************************************!*\
  36025. !*** ./components/sceneExplorer/entities/postProcessTreeItemComponent.tsx ***!
  36026. \****************************************************************************/
  36027. /*! exports provided: PostProcessItemComponent */
  36028. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36029. "use strict";
  36030. __webpack_require__.r(__webpack_exports__);
  36031. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PostProcessItemComponent", function() { return PostProcessItemComponent; });
  36032. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36033. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36034. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  36035. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36036. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36037. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  36038. var PostProcessItemComponent = /** @class */ (function (_super) {
  36039. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](PostProcessItemComponent, _super);
  36040. function PostProcessItemComponent(props) {
  36041. return _super.call(this, props) || this;
  36042. }
  36043. PostProcessItemComponent.prototype.render = function () {
  36044. var _this = this;
  36045. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "postProcessTools" },
  36046. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: this.props.postProcess.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faMagic"], color: "red" }),
  36047. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: this.props.postProcess, extensibilityGroups: this.props.extensibilityGroups })));
  36048. };
  36049. return PostProcessItemComponent;
  36050. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  36051. /***/ }),
  36052. /***/ "./components/sceneExplorer/entities/renderingPipelineTreeItemComponent.tsx":
  36053. /*!**********************************************************************************!*\
  36054. !*** ./components/sceneExplorer/entities/renderingPipelineTreeItemComponent.tsx ***!
  36055. \**********************************************************************************/
  36056. /*! exports provided: RenderingPipelineItemComponent */
  36057. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36058. "use strict";
  36059. __webpack_require__.r(__webpack_exports__);
  36060. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RenderingPipelineItemComponent", function() { return RenderingPipelineItemComponent; });
  36061. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36062. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36063. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  36064. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36065. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36066. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  36067. var RenderingPipelineItemComponent = /** @class */ (function (_super) {
  36068. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](RenderingPipelineItemComponent, _super);
  36069. function RenderingPipelineItemComponent(props) {
  36070. return _super.call(this, props) || this;
  36071. }
  36072. RenderingPipelineItemComponent.prototype.render = function () {
  36073. var _this = this;
  36074. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "postProcessTools" },
  36075. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: this.props.renderPipeline.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faMagic"], color: "orangered" }),
  36076. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: this.props.renderPipeline, extensibilityGroups: this.props.extensibilityGroups })));
  36077. };
  36078. return RenderingPipelineItemComponent;
  36079. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  36080. /***/ }),
  36081. /***/ "./components/sceneExplorer/entities/sceneTreeItemComponent.tsx":
  36082. /*!**********************************************************************!*\
  36083. !*** ./components/sceneExplorer/entities/sceneTreeItemComponent.tsx ***!
  36084. \**********************************************************************/
  36085. /*! exports provided: SceneTreeItemComponent */
  36086. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36087. "use strict";
  36088. __webpack_require__.r(__webpack_exports__);
  36089. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SceneTreeItemComponent", function() { return SceneTreeItemComponent; });
  36090. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36091. /* harmony import */ var babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babylonjs/Events/pointerEvents */ "babylonjs/Misc/observable");
  36092. /* harmony import */ var babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__);
  36093. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  36094. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36095. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36096. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36097. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
  36098. /* harmony import */ var _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../components/propertyChangedEvent */ "./components/propertyChangedEvent.ts");
  36099. var SceneTreeItemComponent = /** @class */ (function (_super) {
  36100. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SceneTreeItemComponent, _super);
  36101. function SceneTreeItemComponent(props) {
  36102. var _this = _super.call(this, props) || this;
  36103. _this._posDragEnd = null;
  36104. _this._scaleDragEnd = null;
  36105. _this._rotateDragEnd = null;
  36106. var scene = _this.props.scene;
  36107. var gizmoMode = 0;
  36108. if (scene.reservedDataStore && scene.reservedDataStore.gizmoManager) {
  36109. var manager = scene.reservedDataStore.gizmoManager;
  36110. if (manager.positionGizmoEnabled) {
  36111. gizmoMode = 1;
  36112. }
  36113. else if (manager.rotationGizmoEnabled) {
  36114. gizmoMode = 2;
  36115. }
  36116. else if (manager.scaleGizmoEnabled) {
  36117. gizmoMode = 3;
  36118. }
  36119. else if (manager.boundingBoxGizmoEnabled) {
  36120. gizmoMode = 4;
  36121. }
  36122. }
  36123. _this.state = { isSelected: false, isInPickingMode: false, gizmoMode: gizmoMode };
  36124. return _this;
  36125. }
  36126. SceneTreeItemComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  36127. if (nextProps.selectedEntity) {
  36128. if (nextProps.scene === nextProps.selectedEntity) {
  36129. nextState.isSelected = true;
  36130. return true;
  36131. }
  36132. else {
  36133. nextState.isSelected = false;
  36134. }
  36135. }
  36136. return true;
  36137. };
  36138. SceneTreeItemComponent.prototype.componentWillMount = function () {
  36139. var _this = this;
  36140. if (!this.props.onSelectionChangedObservable) {
  36141. return;
  36142. }
  36143. var scene = this.props.scene;
  36144. this._onSelectionChangeObserver = this.props.onSelectionChangedObservable.add(function (entity) {
  36145. _this._selectedEntity = entity;
  36146. if (scene.reservedDataStore && scene.reservedDataStore.gizmoManager) {
  36147. var manager = scene.reservedDataStore.gizmoManager;
  36148. var className = entity.getClassName();
  36149. if (className === "TransformNode" || className.indexOf("Mesh") !== -1) {
  36150. manager.attachToMesh(entity);
  36151. }
  36152. else if (className.indexOf("Light") !== -1) {
  36153. if (!_this._selectedEntity.reservedDataStore || !_this._selectedEntity.reservedDataStore.lightGizmo) {
  36154. _this.props.globalState.enableLightGizmo(_this._selectedEntity, true);
  36155. _this.forceUpdate();
  36156. }
  36157. manager.attachToMesh(_this._selectedEntity.reservedDataStore.lightGizmo.attachedMesh);
  36158. }
  36159. else {
  36160. manager.attachToMesh(null);
  36161. }
  36162. }
  36163. });
  36164. };
  36165. SceneTreeItemComponent.prototype.componentWillUnmount = function () {
  36166. var scene = this.props.scene;
  36167. if (this._onPointerObserver) {
  36168. scene.onPointerObservable.remove(this._onPointerObserver);
  36169. this._onPointerObserver = null;
  36170. }
  36171. if (this._gizmoLayerOnPointerObserver) {
  36172. scene.onPointerObservable.remove(this._gizmoLayerOnPointerObserver);
  36173. this._gizmoLayerOnPointerObserver = null;
  36174. }
  36175. if (this._onSelectionChangeObserver && this.props.onSelectionChangedObservable) {
  36176. this.props.onSelectionChangedObservable.remove(this._onSelectionChangeObserver);
  36177. }
  36178. };
  36179. SceneTreeItemComponent.prototype.onSelect = function () {
  36180. if (!this.props.onSelectionChangedObservable) {
  36181. return;
  36182. }
  36183. var scene = this.props.scene;
  36184. this.props.onSelectionChangedObservable.notifyObservers(scene);
  36185. };
  36186. SceneTreeItemComponent.prototype.onPickingMode = function () {
  36187. var _this = this;
  36188. var scene = this.props.scene;
  36189. if (this._onPointerObserver) {
  36190. scene.onPointerObservable.remove(this._onPointerObserver);
  36191. this._onPointerObserver = null;
  36192. }
  36193. if (!this.state.isInPickingMode) {
  36194. this._onPointerObserver = scene.onPointerObservable.add(function () {
  36195. var pickPosition = scene.unTranslatedPointer;
  36196. var pickInfo = scene.pick(pickPosition.x, pickPosition.y, function (mesh) { return mesh.isEnabled() && mesh.isVisible && mesh.getTotalVertices() > 0; }, false, undefined, function (p0, p1, p2, ray) {
  36197. if (!_this.props.globalState.ignoreBackfacesForPicking) {
  36198. return true;
  36199. }
  36200. var p0p1 = babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["Tmp"].Vector3[0];
  36201. var p1p2 = babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["Tmp"].Vector3[1];
  36202. var normal = babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["Tmp"].Vector3[2];
  36203. p1.subtractToRef(p0, p0p1);
  36204. p2.subtractToRef(p1, p1p2);
  36205. normal = babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["Vector3"].Cross(p0p1, p1p2);
  36206. return babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["Vector3"].Dot(normal, ray.direction) < 0;
  36207. });
  36208. // Pick light gizmos first
  36209. if (_this.props.globalState.lightGizmos.length > 0) {
  36210. var gizmoScene = _this.props.globalState.lightGizmos[0].gizmoLayer.utilityLayerScene;
  36211. var pickInfo_1 = gizmoScene.pick(pickPosition.x, pickPosition.y, function (m) {
  36212. for (var _i = 0, _a = _this.props.globalState.lightGizmos; _i < _a.length; _i++) {
  36213. var g = _a[_i];
  36214. if (g.attachedMesh == m) {
  36215. return true;
  36216. }
  36217. }
  36218. return false;
  36219. });
  36220. if (pickInfo_1 && pickInfo_1.hit && _this.props.onSelectionChangedObservable) {
  36221. _this.props.onSelectionChangedObservable.notifyObservers(pickInfo_1.pickedMesh);
  36222. return;
  36223. }
  36224. }
  36225. if (pickInfo && pickInfo.hit && _this.props.onSelectionChangedObservable) {
  36226. _this.props.onSelectionChangedObservable.notifyObservers(pickInfo.pickedMesh);
  36227. }
  36228. }, babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["PointerEventTypes"].POINTERTAP);
  36229. }
  36230. this.setState({ isInPickingMode: !this.state.isInPickingMode });
  36231. };
  36232. SceneTreeItemComponent.prototype.setGizmoMode = function (mode) {
  36233. var _this = this;
  36234. var scene = this.props.scene;
  36235. if (!scene.reservedDataStore) {
  36236. scene.reservedDataStore = {};
  36237. }
  36238. if (this._gizmoLayerOnPointerObserver) {
  36239. scene.onPointerObservable.remove(this._gizmoLayerOnPointerObserver);
  36240. this._gizmoLayerOnPointerObserver = null;
  36241. }
  36242. if (!scene.reservedDataStore.gizmoManager) {
  36243. scene.reservedDataStore.gizmoManager = new babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["GizmoManager"](scene);
  36244. }
  36245. var manager = scene.reservedDataStore.gizmoManager;
  36246. // Allow picking of light gizmo when a gizmo mode is selected
  36247. this._gizmoLayerOnPointerObserver = babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["UtilityLayerRenderer"].DefaultUtilityLayer.utilityLayerScene.onPointerObservable.add(function (pointerInfo) {
  36248. if (pointerInfo.type == babylonjs_Events_pointerEvents__WEBPACK_IMPORTED_MODULE_1__["PointerEventTypes"].POINTERDOWN) {
  36249. if (pointerInfo.pickInfo && pointerInfo.pickInfo.pickedMesh) {
  36250. var node = pointerInfo.pickInfo.pickedMesh;
  36251. // Attach to the most parent node
  36252. while (node && node.parent != null) {
  36253. node = node.parent;
  36254. }
  36255. for (var _i = 0, _a = _this.props.globalState.lightGizmos; _i < _a.length; _i++) {
  36256. var gizmo = _a[_i];
  36257. if (gizmo._rootMesh == node) {
  36258. manager.attachToMesh(gizmo.attachedMesh);
  36259. }
  36260. }
  36261. }
  36262. }
  36263. });
  36264. manager.boundingBoxGizmoEnabled = false;
  36265. manager.positionGizmoEnabled = false;
  36266. manager.rotationGizmoEnabled = false;
  36267. manager.scaleGizmoEnabled = false;
  36268. if (this.state.gizmoMode === mode) {
  36269. mode = 0;
  36270. manager.dispose();
  36271. scene.reservedDataStore.gizmoManager = null;
  36272. }
  36273. else {
  36274. switch (mode) {
  36275. case 1:
  36276. manager.positionGizmoEnabled = true;
  36277. if (!this._posDragEnd) {
  36278. // Record movement for generating replay code
  36279. this._posDragEnd = manager.gizmos.positionGizmo.onDragEndObservable.add(function () {
  36280. if (manager.gizmos.positionGizmo && manager.gizmos.positionGizmo.attachedMesh) {
  36281. var lightGizmo = manager.gizmos.positionGizmo.attachedMesh.reservedDataStore.lightGizmo;
  36282. var obj = (lightGizmo && lightGizmo.light) ? lightGizmo.light : manager.gizmos.positionGizmo.attachedMesh;
  36283. if (obj.position) {
  36284. var e = new _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__["PropertyChangedEvent"]();
  36285. e.object = obj;
  36286. e.property = "position";
  36287. e.value = obj.position;
  36288. _this.props.globalState.onPropertyChangedObservable.notifyObservers(e);
  36289. }
  36290. }
  36291. });
  36292. }
  36293. break;
  36294. case 2:
  36295. manager.rotationGizmoEnabled = true;
  36296. if (!this._rotateDragEnd) {
  36297. // Record movement for generating replay code
  36298. this._rotateDragEnd = manager.gizmos.rotationGizmo.onDragEndObservable.add(function () {
  36299. if (manager.gizmos.rotationGizmo && manager.gizmos.rotationGizmo.attachedMesh) {
  36300. var lightGizmo = manager.gizmos.rotationGizmo.attachedMesh.reservedDataStore.lightGizmo;
  36301. var obj = (lightGizmo && lightGizmo.light) ? lightGizmo.light : manager.gizmos.rotationGizmo.attachedMesh;
  36302. if (obj.rotationQuaternion) {
  36303. var e = new _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__["PropertyChangedEvent"]();
  36304. e.object = obj;
  36305. e.property = "rotationQuaternion";
  36306. e.value = obj.rotationQuaternion;
  36307. _this.props.globalState.onPropertyChangedObservable.notifyObservers(e);
  36308. }
  36309. else if (obj.rotation) {
  36310. var e = new _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__["PropertyChangedEvent"]();
  36311. e.object = obj;
  36312. e.property = "rotation";
  36313. e.value = obj.rotation;
  36314. _this.props.globalState.onPropertyChangedObservable.notifyObservers(e);
  36315. }
  36316. else if (obj.direction) {
  36317. var e = new _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__["PropertyChangedEvent"]();
  36318. e.object = obj;
  36319. e.property = "direction";
  36320. e.value = obj.direction;
  36321. _this.props.globalState.onPropertyChangedObservable.notifyObservers(e);
  36322. }
  36323. }
  36324. });
  36325. }
  36326. break;
  36327. case 3:
  36328. manager.scaleGizmoEnabled = true;
  36329. if (!this._scaleDragEnd) {
  36330. // Record movement for generating replay code
  36331. this._scaleDragEnd = manager.gizmos.scaleGizmo.onDragEndObservable.add(function () {
  36332. if (manager.gizmos.scaleGizmo && manager.gizmos.scaleGizmo.attachedMesh) {
  36333. var lightGizmo = manager.gizmos.scaleGizmo.attachedMesh.reservedDataStore.lightGizmo;
  36334. var obj = (lightGizmo && lightGizmo.light) ? lightGizmo.light : manager.gizmos.scaleGizmo.attachedMesh;
  36335. if (obj.scaling) {
  36336. var e = new _components_propertyChangedEvent__WEBPACK_IMPORTED_MODULE_6__["PropertyChangedEvent"]();
  36337. e.object = obj;
  36338. e.property = "scaling";
  36339. e.value = obj.scaling;
  36340. _this.props.globalState.onPropertyChangedObservable.notifyObservers(e);
  36341. }
  36342. }
  36343. });
  36344. }
  36345. break;
  36346. case 4:
  36347. manager.boundingBoxGizmoEnabled = true;
  36348. if (manager.gizmos.boundingBoxGizmo) {
  36349. manager.gizmos.boundingBoxGizmo.fixedDragMeshScreenSize = true;
  36350. }
  36351. break;
  36352. }
  36353. if (this._selectedEntity && this._selectedEntity.getClassName) {
  36354. var className = this._selectedEntity.getClassName();
  36355. if (className === "TransformNode" || className.indexOf("Mesh") !== -1) {
  36356. manager.attachToMesh(this._selectedEntity);
  36357. }
  36358. else if (className.indexOf("Light") !== -1) {
  36359. if (!this._selectedEntity.reservedDataStore || !this._selectedEntity.reservedDataStore.lightGizmo) {
  36360. this.props.globalState.enableLightGizmo(this._selectedEntity, true);
  36361. this.forceUpdate();
  36362. }
  36363. manager.attachToMesh(this._selectedEntity.reservedDataStore.lightGizmo.attachedMesh);
  36364. }
  36365. }
  36366. }
  36367. this.setState({ gizmoMode: mode });
  36368. };
  36369. SceneTreeItemComponent.prototype.render = function () {
  36370. var _this = this;
  36371. return (react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.isSelected ? "itemContainer selected" : "itemContainer" },
  36372. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "sceneNode" },
  36373. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "sceneTitle", onClick: function () { return _this.onSelect(); } },
  36374. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faImage"] }),
  36375. "\u00A0Scene"),
  36376. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.gizmoMode === 1 ? "translation selected icon" : "translation icon", onClick: function () { return _this.setGizmoMode(1); }, title: "Enable/Disable position mode" },
  36377. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faArrowsAlt"] })),
  36378. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.gizmoMode === 2 ? "rotation selected icon" : "rotation icon", onClick: function () { return _this.setGizmoMode(2); }, title: "Enable/Disable rotation mode" },
  36379. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faRedoAlt"] })),
  36380. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.gizmoMode === 3 ? "scaling selected icon" : "scaling icon", onClick: function () { return _this.setGizmoMode(3); }, title: "Enable/Disable scaling mode" },
  36381. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faCompress"] })),
  36382. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.gizmoMode === 4 ? "bounding selected icon" : "bounding icon", onClick: function () { return _this.setGizmoMode(4); }, title: "Enable/Disable bounding box mode" },
  36383. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faVectorSquare"] })),
  36384. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "separator" }),
  36385. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: this.state.isInPickingMode ? "pickingMode selected icon" : "pickingMode icon", onClick: function () { return _this.onPickingMode(); }, title: "Turn picking mode on/off" },
  36386. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faCrosshairs"] })),
  36387. react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", { className: "refresh icon", onClick: function () { return _this.props.onRefresh(); }, title: "Refresh the explorer" },
  36388. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faSyncAlt"] })),
  36389. react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_4__["ExtensionsComponent"], { target: this.props.scene, extensibilityGroups: this.props.extensibilityGroups }))));
  36390. };
  36391. return SceneTreeItemComponent;
  36392. }(react__WEBPACK_IMPORTED_MODULE_5__["Component"]));
  36393. /***/ }),
  36394. /***/ "./components/sceneExplorer/entities/skeletonTreeItemComponent.tsx":
  36395. /*!*************************************************************************!*\
  36396. !*** ./components/sceneExplorer/entities/skeletonTreeItemComponent.tsx ***!
  36397. \*************************************************************************/
  36398. /*! exports provided: SkeletonTreeItemComponent */
  36399. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36400. "use strict";
  36401. __webpack_require__.r(__webpack_exports__);
  36402. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SkeletonTreeItemComponent", function() { return SkeletonTreeItemComponent; });
  36403. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36404. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36405. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  36406. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36407. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36408. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  36409. var SkeletonTreeItemComponent = /** @class */ (function (_super) {
  36410. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SkeletonTreeItemComponent, _super);
  36411. function SkeletonTreeItemComponent(props) {
  36412. return _super.call(this, props) || this;
  36413. }
  36414. SkeletonTreeItemComponent.prototype.render = function () {
  36415. var _this = this;
  36416. var skeleton = this.props.skeleton;
  36417. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "skeletonTools" },
  36418. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: skeleton.name || "no name", onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faSkull"], color: "gray" }),
  36419. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: skeleton, extensibilityGroups: this.props.extensibilityGroups })));
  36420. };
  36421. return SkeletonTreeItemComponent;
  36422. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  36423. /***/ }),
  36424. /***/ "./components/sceneExplorer/entities/textureTreeItemComponent.tsx":
  36425. /*!************************************************************************!*\
  36426. !*** ./components/sceneExplorer/entities/textureTreeItemComponent.tsx ***!
  36427. \************************************************************************/
  36428. /*! exports provided: TextureTreeItemComponent */
  36429. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36430. "use strict";
  36431. __webpack_require__.r(__webpack_exports__);
  36432. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TextureTreeItemComponent", function() { return TextureTreeItemComponent; });
  36433. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36434. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36435. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  36436. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36437. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36438. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  36439. var TextureTreeItemComponent = /** @class */ (function (_super) {
  36440. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TextureTreeItemComponent, _super);
  36441. function TextureTreeItemComponent(props) {
  36442. return _super.call(this, props) || this;
  36443. }
  36444. TextureTreeItemComponent.prototype.render = function () {
  36445. var _this = this;
  36446. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "textureTools" },
  36447. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: this.props.texture.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faImage"], color: "mediumpurple" }),
  36448. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: this.props.texture, extensibilityGroups: this.props.extensibilityGroups })));
  36449. };
  36450. return TextureTreeItemComponent;
  36451. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  36452. /***/ }),
  36453. /***/ "./components/sceneExplorer/entities/transformNodeTreeItemComponent.tsx":
  36454. /*!******************************************************************************!*\
  36455. !*** ./components/sceneExplorer/entities/transformNodeTreeItemComponent.tsx ***!
  36456. \******************************************************************************/
  36457. /*! exports provided: TransformNodeItemComponent */
  36458. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36459. "use strict";
  36460. __webpack_require__.r(__webpack_exports__);
  36461. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransformNodeItemComponent", function() { return TransformNodeItemComponent; });
  36462. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36463. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36464. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  36465. /* harmony import */ var _extensionsComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../extensionsComponent */ "./components/sceneExplorer/extensionsComponent.tsx");
  36466. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36467. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
  36468. var TransformNodeItemComponent = /** @class */ (function (_super) {
  36469. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TransformNodeItemComponent, _super);
  36470. function TransformNodeItemComponent(props) {
  36471. return _super.call(this, props) || this;
  36472. }
  36473. TransformNodeItemComponent.prototype.render = function () {
  36474. var _this = this;
  36475. var transformNode = this.props.transformNode;
  36476. return (react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", { className: "transformNodeTools" },
  36477. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_2__["TreeItemLabelComponent"], { label: transformNode.name, onClick: function () { return _this.props.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_1__["faCodeBranch"], color: "cornflowerblue" }),
  36478. react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_extensionsComponent__WEBPACK_IMPORTED_MODULE_3__["ExtensionsComponent"], { target: transformNode, extensibilityGroups: this.props.extensibilityGroups })));
  36479. };
  36480. return TransformNodeItemComponent;
  36481. }(react__WEBPACK_IMPORTED_MODULE_4__["Component"]));
  36482. /***/ }),
  36483. /***/ "./components/sceneExplorer/extensionsComponent.tsx":
  36484. /*!**********************************************************!*\
  36485. !*** ./components/sceneExplorer/extensionsComponent.tsx ***!
  36486. \**********************************************************/
  36487. /*! exports provided: ExtensionsComponent */
  36488. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36489. "use strict";
  36490. __webpack_require__.r(__webpack_exports__);
  36491. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExtensionsComponent", function() { return ExtensionsComponent; });
  36492. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36493. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  36494. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36495. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36496. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
  36497. var ExtensionsComponent = /** @class */ (function (_super) {
  36498. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](ExtensionsComponent, _super);
  36499. function ExtensionsComponent(props) {
  36500. var _this = _super.call(this, props) || this;
  36501. _this.state = { popupVisible: false };
  36502. return _this;
  36503. }
  36504. ExtensionsComponent.prototype.showPopup = function () {
  36505. this.setState({ popupVisible: true });
  36506. };
  36507. ExtensionsComponent.prototype.componentDidMount = function () {
  36508. if (!this._popup) {
  36509. return;
  36510. }
  36511. this._popup.focus();
  36512. };
  36513. ExtensionsComponent.prototype.componentDidUpdate = function () {
  36514. if (!this._popup) {
  36515. return;
  36516. }
  36517. this._popup.focus();
  36518. };
  36519. ExtensionsComponent.prototype.render = function () {
  36520. var _this = this;
  36521. if (!this.props.extensibilityGroups) {
  36522. return null;
  36523. }
  36524. var options = [];
  36525. for (var _i = 0, _a = this.props.extensibilityGroups; _i < _a.length; _i++) {
  36526. var group = _a[_i];
  36527. if (group.predicate(this.props.target)) {
  36528. options.push.apply(options, group.entries);
  36529. }
  36530. }
  36531. if (options.length === 0) {
  36532. return null;
  36533. }
  36534. return (react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { ref: "extensions", className: "extensions", onClick: function () { return _this.showPopup(); } },
  36535. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { title: "Additional options", className: "icon" },
  36536. react__WEBPACK_IMPORTED_MODULE_3__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_2__["faEllipsisH"] })),
  36537. react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { ref: function (input) { _this._popup = input; }, tabIndex: -1, className: this.state.popupVisible ? "popup show" : "popup", onBlur: function () { return _this.setState({ popupVisible: false }); } }, options.map(function (extensibility) {
  36538. return (react__WEBPACK_IMPORTED_MODULE_3__["createElement"]("div", { key: extensibility.label, className: "popupMenu", onClick: function () { return extensibility.action(_this.props.target); } }, extensibility.label));
  36539. }))));
  36540. };
  36541. return ExtensionsComponent;
  36542. }(react__WEBPACK_IMPORTED_MODULE_3__["Component"]));
  36543. /***/ }),
  36544. /***/ "./components/sceneExplorer/sceneExplorer.scss":
  36545. /*!*****************************************************!*\
  36546. !*** ./components/sceneExplorer/sceneExplorer.scss ***!
  36547. \*****************************************************/
  36548. /*! no static exports found */
  36549. /***/ (function(module, exports, __webpack_require__) {
  36550. var content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/sass-loader/lib/loader.js!./sceneExplorer.scss */ "../../node_modules/css-loader/index.js!../../node_modules/sass-loader/lib/loader.js!./components/sceneExplorer/sceneExplorer.scss");
  36551. if(typeof content === 'string') content = [[module.i, content, '']];
  36552. var transform;
  36553. var insertInto;
  36554. var options = {"hmr":true}
  36555. options.transform = transform
  36556. options.insertInto = undefined;
  36557. var update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ "../../node_modules/style-loader/lib/addStyles.js")(content, options);
  36558. if(content.locals) module.exports = content.locals;
  36559. if(false) {}
  36560. /***/ }),
  36561. /***/ "./components/sceneExplorer/sceneExplorerComponent.tsx":
  36562. /*!*************************************************************!*\
  36563. !*** ./components/sceneExplorer/sceneExplorerComponent.tsx ***!
  36564. \*************************************************************/
  36565. /*! exports provided: SceneExplorerFilterComponent, SceneExplorerComponent */
  36566. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36567. "use strict";
  36568. __webpack_require__.r(__webpack_exports__);
  36569. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SceneExplorerFilterComponent", function() { return SceneExplorerFilterComponent; });
  36570. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SceneExplorerComponent", function() { return SceneExplorerComponent; });
  36571. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36572. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36573. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  36574. /* harmony import */ var babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babylonjs/Engines/engineStore */ "babylonjs/Misc/observable");
  36575. /* harmony import */ var babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__);
  36576. /* harmony import */ var _treeItemComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./treeItemComponent */ "./components/sceneExplorer/treeItemComponent.tsx");
  36577. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! re-resizable */ "../../node_modules/re-resizable/lib/index.es5.js");
  36578. /* harmony import */ var re_resizable__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(re_resizable__WEBPACK_IMPORTED_MODULE_4__);
  36579. /* harmony import */ var _headerComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../headerComponent */ "./components/headerComponent.tsx");
  36580. /* harmony import */ var _entities_sceneTreeItemComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./entities/sceneTreeItemComponent */ "./components/sceneExplorer/entities/sceneTreeItemComponent.tsx");
  36581. /* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../tools */ "./tools.ts");
  36582. __webpack_require__(/*! ./sceneExplorer.scss */ "./components/sceneExplorer/sceneExplorer.scss");
  36583. var SceneExplorerFilterComponent = /** @class */ (function (_super) {
  36584. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SceneExplorerFilterComponent, _super);
  36585. function SceneExplorerFilterComponent(props) {
  36586. return _super.call(this, props) || this;
  36587. }
  36588. SceneExplorerFilterComponent.prototype.render = function () {
  36589. var _this = this;
  36590. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "filter" },
  36591. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("input", { type: "text", placeholder: "Filter", onChange: function (evt) { return _this.props.onFilter(evt.target.value); } })));
  36592. };
  36593. return SceneExplorerFilterComponent;
  36594. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  36595. var SceneExplorerComponent = /** @class */ (function (_super) {
  36596. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](SceneExplorerComponent, _super);
  36597. function SceneExplorerComponent(props) {
  36598. var _this = _super.call(this, props) || this;
  36599. _this._once = true;
  36600. _this._hooked = false;
  36601. _this.state = { filter: null, selectedEntity: null, scene: _this.props.scene };
  36602. _this.sceneMutationFunc = _this.processMutation.bind(_this);
  36603. return _this;
  36604. }
  36605. SceneExplorerComponent.prototype.processMutation = function () {
  36606. if (this.props.globalState.blockMutationUpdates) {
  36607. return;
  36608. }
  36609. this.forceUpdate();
  36610. };
  36611. SceneExplorerComponent.prototype.componentWillMount = function () {
  36612. var _this = this;
  36613. this._onSelectionChangeObserver = this.props.globalState.onSelectionChangedObservable.add(function (entity) {
  36614. if (_this.state.selectedEntity !== entity) {
  36615. _this.setState({ selectedEntity: entity });
  36616. }
  36617. });
  36618. };
  36619. SceneExplorerComponent.prototype.componentWillUnmount = function () {
  36620. if (this._onSelectionChangeObserver) {
  36621. this.props.globalState.onSelectionChangedObservable.remove(this._onSelectionChangeObserver);
  36622. }
  36623. if (this._onNewSceneAddedObserver) {
  36624. babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["EngineStore"].LastCreatedEngine.onNewSceneAddedObservable.remove(this._onNewSceneAddedObserver);
  36625. }
  36626. var scene = this.state.scene;
  36627. scene.onNewSkeletonAddedObservable.removeCallback(this.sceneMutationFunc);
  36628. scene.onNewCameraAddedObservable.removeCallback(this.sceneMutationFunc);
  36629. scene.onNewLightAddedObservable.removeCallback(this.sceneMutationFunc);
  36630. scene.onNewMaterialAddedObservable.removeCallback(this.sceneMutationFunc);
  36631. scene.onNewMeshAddedObservable.removeCallback(this.sceneMutationFunc);
  36632. scene.onNewTextureAddedObservable.removeCallback(this.sceneMutationFunc);
  36633. scene.onNewTransformNodeAddedObservable.removeCallback(this.sceneMutationFunc);
  36634. scene.onSkeletonRemovedObservable.removeCallback(this.sceneMutationFunc);
  36635. scene.onMeshRemovedObservable.removeCallback(this.sceneMutationFunc);
  36636. scene.onCameraRemovedObservable.removeCallback(this.sceneMutationFunc);
  36637. scene.onLightRemovedObservable.removeCallback(this.sceneMutationFunc);
  36638. scene.onMaterialRemovedObservable.removeCallback(this.sceneMutationFunc);
  36639. scene.onTransformNodeRemovedObservable.removeCallback(this.sceneMutationFunc);
  36640. scene.onTextureRemovedObservable.removeCallback(this.sceneMutationFunc);
  36641. };
  36642. SceneExplorerComponent.prototype.filterContent = function (filter) {
  36643. this.setState({ filter: filter });
  36644. };
  36645. SceneExplorerComponent.prototype.findSiblings = function (parent, items, target, goNext, data) {
  36646. if (!items) {
  36647. return false;
  36648. }
  36649. var sortedItems = _tools__WEBPACK_IMPORTED_MODULE_7__["Tools"].SortAndFilter(parent, items);
  36650. if (!items || sortedItems.length === 0) {
  36651. return false;
  36652. }
  36653. for (var _i = 0, sortedItems_1 = sortedItems; _i < sortedItems_1.length; _i++) {
  36654. var item = sortedItems_1[_i];
  36655. if (item === target) { // found the current selection!
  36656. data.found = true;
  36657. if (!goNext) {
  36658. if (data.previousOne) {
  36659. this.props.globalState.onSelectionChangedObservable.notifyObservers(data.previousOne);
  36660. }
  36661. return true;
  36662. }
  36663. }
  36664. else {
  36665. if (data.found) {
  36666. this.props.globalState.onSelectionChangedObservable.notifyObservers(item);
  36667. return true;
  36668. }
  36669. data.previousOne = item;
  36670. }
  36671. if (item.getChildren && item.reservedDataStore && item.reservedDataStore.isExpanded) {
  36672. if (this.findSiblings(item, item.getChildren(), target, goNext, data)) {
  36673. return true;
  36674. }
  36675. }
  36676. }
  36677. return false;
  36678. };
  36679. SceneExplorerComponent.prototype.processKeys = function (keyEvent) {
  36680. if (!this.state.selectedEntity) {
  36681. return;
  36682. }
  36683. var scene = this.state.scene;
  36684. var search = false;
  36685. var goNext = false;
  36686. if (keyEvent.keyCode === 38) { // up
  36687. search = true;
  36688. }
  36689. else if (keyEvent.keyCode === 40) { // down
  36690. goNext = true;
  36691. search = true;
  36692. }
  36693. else if (keyEvent.keyCode === 13 || keyEvent.keyCode === 39) { // enter or right
  36694. var reservedDataStore = this.state.selectedEntity.reservedDataStore;
  36695. if (reservedDataStore && reservedDataStore.setExpandedState) {
  36696. reservedDataStore.setExpandedState(true);
  36697. }
  36698. keyEvent.preventDefault();
  36699. return;
  36700. }
  36701. else if (keyEvent.keyCode === 37) { // left
  36702. var reservedDataStore = this.state.selectedEntity.reservedDataStore;
  36703. if (reservedDataStore && reservedDataStore.setExpandedState) {
  36704. reservedDataStore.setExpandedState(false);
  36705. }
  36706. keyEvent.preventDefault();
  36707. return;
  36708. }
  36709. if (!search) {
  36710. return;
  36711. }
  36712. keyEvent.preventDefault();
  36713. var data = {};
  36714. if (!this.findSiblings(null, scene.rootNodes, this.state.selectedEntity, goNext, data)) {
  36715. if (!this.findSiblings(null, scene.materials, this.state.selectedEntity, goNext, data)) {
  36716. this.findSiblings(null, scene.textures, this.state.selectedEntity, goNext, data);
  36717. }
  36718. }
  36719. };
  36720. SceneExplorerComponent.prototype.renderContent = function () {
  36721. var _this = this;
  36722. var scene = this.state.scene;
  36723. if (!scene) {
  36724. this._onNewSceneAddedObserver = babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["EngineStore"].LastCreatedEngine.onNewSceneAddedObservable.addOnce(function (scene) { return _this.setState({ scene: scene }); });
  36725. return null;
  36726. }
  36727. if (!this._hooked) {
  36728. this._hooked = true;
  36729. scene.onNewSkeletonAddedObservable.add(this.sceneMutationFunc);
  36730. scene.onNewCameraAddedObservable.add(this.sceneMutationFunc);
  36731. scene.onNewLightAddedObservable.add(this.sceneMutationFunc);
  36732. scene.onNewMaterialAddedObservable.add(this.sceneMutationFunc);
  36733. scene.onNewMeshAddedObservable.add(this.sceneMutationFunc);
  36734. scene.onNewTextureAddedObservable.add(this.sceneMutationFunc);
  36735. scene.onNewTransformNodeAddedObservable.add(this.sceneMutationFunc);
  36736. scene.onSkeletonRemovedObservable.add(this.sceneMutationFunc);
  36737. scene.onMeshRemovedObservable.add(this.sceneMutationFunc);
  36738. scene.onCameraRemovedObservable.add(this.sceneMutationFunc);
  36739. scene.onLightRemovedObservable.add(this.sceneMutationFunc);
  36740. scene.onMaterialRemovedObservable.add(this.sceneMutationFunc);
  36741. scene.onTransformNodeRemovedObservable.add(this.sceneMutationFunc);
  36742. scene.onTextureRemovedObservable.add(this.sceneMutationFunc);
  36743. }
  36744. var guiElements = scene.textures.filter(function (t) { return t.getClassName() === "AdvancedDynamicTexture"; });
  36745. var textures = scene.textures.filter(function (t) { return t.getClassName() !== "AdvancedDynamicTexture"; });
  36746. var postProcessses = scene.postProcesses;
  36747. var pipelines = scene.postProcessRenderPipelineManager.supportedPipelines;
  36748. // Context menus
  36749. var pipelineContextMenus = [];
  36750. if (scene.activeCamera) {
  36751. if (!pipelines.some(function (p) { return p.getClassName() === "DefaultRenderingPipeline"; })) {
  36752. pipelineContextMenus.push({
  36753. label: "Add new Default Rendering Pipeline",
  36754. action: function () {
  36755. var newPipeline = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["DefaultRenderingPipeline"]("Default rendering pipeline", true, scene, [scene.activeCamera]);
  36756. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newPipeline);
  36757. }
  36758. });
  36759. }
  36760. if (!pipelines.some(function (p) { return p.getClassName() === "SSAORenderingPipeline"; })) {
  36761. pipelineContextMenus.push({
  36762. label: "Add new SSAO Rendering Pipeline",
  36763. action: function () {
  36764. var newPipeline = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["SSAORenderingPipeline"]("SSAO rendering pipeline", scene, 1, [scene.activeCamera]);
  36765. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newPipeline);
  36766. }
  36767. });
  36768. }
  36769. if (scene.getEngine().webGLVersion > 1 && !pipelines.some(function (p) { return p.getClassName() === "SSAORenderingPipeline"; })) {
  36770. pipelineContextMenus.push({
  36771. label: "Add new SSAO2 Rendering Pipeline",
  36772. action: function () {
  36773. var newPipeline = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["SSAORenderingPipeline"]("SSAO2 rendering pipeline", scene, 1, [scene.activeCamera]);
  36774. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newPipeline);
  36775. }
  36776. });
  36777. }
  36778. }
  36779. var nodeContextMenus = [];
  36780. nodeContextMenus.push({
  36781. label: "Add new point light",
  36782. action: function () {
  36783. var newPointLight = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["PointLight"]("point light", babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["Vector3"].Zero(), scene);
  36784. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newPointLight);
  36785. }
  36786. });
  36787. nodeContextMenus.push({
  36788. label: "Add new directional light",
  36789. action: function () {
  36790. var newDirectionalLight = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["DirectionalLight"]("directional light", new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["Vector3"](-1, -1, -0.5), scene);
  36791. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newDirectionalLight);
  36792. }
  36793. });
  36794. nodeContextMenus.push({
  36795. label: "Add new free camera",
  36796. action: function () {
  36797. var newFreeCamera = new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["FreeCamera"]("free camera", scene.activeCamera ? scene.activeCamera.globalPosition : new babylonjs_Engines_engineStore__WEBPACK_IMPORTED_MODULE_2__["Vector3"](0, 0, -5), scene);
  36798. _this.props.globalState.onSelectionChangedObservable.notifyObservers(newFreeCamera);
  36799. }
  36800. });
  36801. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "tree", onContextMenu: function (e) { return e.preventDefault(); } },
  36802. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](SceneExplorerFilterComponent, { onFilter: function (filter) { return _this.filterContent(filter); } }),
  36803. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_entities_sceneTreeItemComponent__WEBPACK_IMPORTED_MODULE_6__["SceneTreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, scene: scene, onRefresh: function () { return _this.forceUpdate(); }, onSelectionChangedObservable: this.props.globalState.onSelectionChangedObservable }),
  36804. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, contextMenuItems: nodeContextMenus, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: scene.rootNodes, label: "Nodes", offset: 1, filter: this.state.filter }),
  36805. scene.skeletons.length > 0 &&
  36806. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: scene.skeletons, label: "Skeletons", offset: 1, filter: this.state.filter }),
  36807. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: scene.materials, label: "Materials", offset: 1, filter: this.state.filter }),
  36808. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: textures, label: "Textures", offset: 1, filter: this.state.filter }),
  36809. postProcessses.length > 0 &&
  36810. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: postProcessses, label: "Post-processes", offset: 1, filter: this.state.filter }),
  36811. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, contextMenuItems: pipelineContextMenus, selectedEntity: this.state.selectedEntity, items: pipelines, label: "Rendering pipelines", offset: 1, filter: this.state.filter }),
  36812. guiElements && guiElements.length > 0 &&
  36813. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: guiElements, label: "GUI", offset: 1, filter: this.state.filter }),
  36814. scene.animationGroups.length > 0 &&
  36815. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemComponent__WEBPACK_IMPORTED_MODULE_3__["TreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, selectedEntity: this.state.selectedEntity, items: scene.animationGroups, label: "Animation groups", offset: 1, filter: this.state.filter })));
  36816. };
  36817. SceneExplorerComponent.prototype.onClose = function () {
  36818. if (!this.props.onClose) {
  36819. return;
  36820. }
  36821. this.props.onClose();
  36822. };
  36823. SceneExplorerComponent.prototype.onPopup = function () {
  36824. if (!this.props.onPopup) {
  36825. return;
  36826. }
  36827. this.props.onPopup();
  36828. };
  36829. SceneExplorerComponent.prototype.render = function () {
  36830. var _this = this;
  36831. if (this.props.popupMode) {
  36832. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { id: "sceneExplorer" },
  36833. !this.props.noHeader &&
  36834. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_5__["HeaderComponent"], { title: "SCENE EXPLORER", noClose: this.props.noClose, noExpand: this.props.noExpand, noCommands: this.props.noCommands, onClose: function () { return _this.onClose(); }, onPopup: function () { return _this.onPopup(); } }),
  36835. this.renderContent()));
  36836. }
  36837. if (this._once) {
  36838. this._once = false;
  36839. // A bit hacky but no other way to force the initial width to 300px and not auto
  36840. setTimeout(function () {
  36841. var element = document.getElementById("sceneExplorer");
  36842. if (!element) {
  36843. return;
  36844. }
  36845. element.style.width = "300px";
  36846. }, 150);
  36847. }
  36848. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](re_resizable__WEBPACK_IMPORTED_MODULE_4___default.a, { tabIndex: -1, id: "sceneExplorer", ref: "sceneExplorer", size: { height: "100%" }, minWidth: 300, maxWidth: 600, minHeight: "100%", enable: { top: false, right: true, bottom: false, left: false, topRight: false, bottomRight: false, bottomLeft: false, topLeft: false }, onKeyDown: function (keyEvent) { return _this.processKeys(keyEvent); } },
  36849. !this.props.noHeader &&
  36850. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_headerComponent__WEBPACK_IMPORTED_MODULE_5__["HeaderComponent"], { title: "SCENE EXPLORER", noClose: this.props.noClose, noExpand: this.props.noExpand, noCommands: this.props.noCommands, onClose: function () { return _this.onClose(); }, onPopup: function () { return _this.onPopup(); } }),
  36851. this.renderContent()));
  36852. };
  36853. return SceneExplorerComponent;
  36854. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  36855. /***/ }),
  36856. /***/ "./components/sceneExplorer/treeItemComponent.tsx":
  36857. /*!********************************************************!*\
  36858. !*** ./components/sceneExplorer/treeItemComponent.tsx ***!
  36859. \********************************************************/
  36860. /*! exports provided: TreeItemComponent */
  36861. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36862. "use strict";
  36863. __webpack_require__.r(__webpack_exports__);
  36864. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItemComponent", function() { return TreeItemComponent; });
  36865. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36866. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36867. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  36868. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  36869. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  36870. /* harmony import */ var _treeItemSelectableComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./treeItemSelectableComponent */ "./components/sceneExplorer/treeItemSelectableComponent.tsx");
  36871. /* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../tools */ "./tools.ts");
  36872. /* harmony import */ var react_contextmenu__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-contextmenu */ "../../node_modules/react-contextmenu/es6/index.js");
  36873. var TreeItemExpandableHeaderComponent = /** @class */ (function (_super) {
  36874. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemExpandableHeaderComponent, _super);
  36875. function TreeItemExpandableHeaderComponent(props) {
  36876. return _super.call(this, props) || this;
  36877. }
  36878. TreeItemExpandableHeaderComponent.prototype.expandAll = function () {
  36879. this.props.onExpandAll(!this.props.isExpanded);
  36880. };
  36881. TreeItemExpandableHeaderComponent.prototype.render = function () {
  36882. var _this = this;
  36883. var chevron = this.props.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faPlus"] });
  36884. var expandAll = this.props.isExpanded ? react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faCompress"] }) : react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faExpandArrowsAlt"] });
  36885. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expandableHeader" },
  36886. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "text" },
  36887. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "arrow icon", onClick: function () { return _this.props.onClick(); } }, chevron),
  36888. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "text-value" }, this.props.label)),
  36889. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expandAll icon", onClick: function () { return _this.expandAll(); }, title: this.props.isExpanded ? "Collapse all" : "Expand all" }, expandAll)));
  36890. };
  36891. return TreeItemExpandableHeaderComponent;
  36892. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  36893. var TreeItemRootHeaderComponent = /** @class */ (function (_super) {
  36894. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemRootHeaderComponent, _super);
  36895. function TreeItemRootHeaderComponent(props) {
  36896. return _super.call(this, props) || this;
  36897. }
  36898. TreeItemRootHeaderComponent.prototype.render = function () {
  36899. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "expandableHeader" },
  36900. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "text" },
  36901. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "arrow icon" },
  36902. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faBan"] })),
  36903. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "text-value" }, this.props.label))));
  36904. };
  36905. return TreeItemRootHeaderComponent;
  36906. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  36907. var TreeItemComponent = /** @class */ (function (_super) {
  36908. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemComponent, _super);
  36909. function TreeItemComponent(props) {
  36910. var _this = _super.call(this, props) || this;
  36911. _this.state = { isExpanded: false, mustExpand: false };
  36912. return _this;
  36913. }
  36914. TreeItemComponent.prototype.switchExpandedState = function () {
  36915. this.setState({ isExpanded: !this.state.isExpanded, mustExpand: false });
  36916. };
  36917. TreeItemComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  36918. if (!nextState.isExpanded && this.state.isExpanded) {
  36919. return true;
  36920. }
  36921. var items = nextProps.items;
  36922. if (items && items.length) {
  36923. if (nextProps.selectedEntity) {
  36924. for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {
  36925. var item = items_1[_i];
  36926. if (_tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].LookForItem(item, nextProps.selectedEntity)) {
  36927. nextState.isExpanded = true;
  36928. return true;
  36929. }
  36930. }
  36931. }
  36932. }
  36933. return true;
  36934. };
  36935. TreeItemComponent.prototype.expandAll = function (expand) {
  36936. this.setState({ isExpanded: expand, mustExpand: expand });
  36937. };
  36938. TreeItemComponent.prototype.renderContextMenu = function () {
  36939. if (!this.props.contextMenuItems) {
  36940. TreeItemComponent._ContextMenuUniqueIdGenerator++;
  36941. return null;
  36942. }
  36943. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_contextmenu__WEBPACK_IMPORTED_MODULE_6__["ContextMenu"], { id: "contextmenu#" + TreeItemComponent._ContextMenuUniqueIdGenerator++, className: "context-menu" }, this.props.contextMenuItems.map(function (c) {
  36944. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_contextmenu__WEBPACK_IMPORTED_MODULE_6__["MenuItem"], { onClick: function () { return c.action(); }, key: c.label }, c.label));
  36945. })));
  36946. };
  36947. TreeItemComponent.prototype.render = function () {
  36948. var _this = this;
  36949. var items = this.props.items;
  36950. var marginStyle = {
  36951. paddingLeft: (10 * (this.props.offset + 0.5)) + "px"
  36952. };
  36953. if (!items) {
  36954. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "groupContainer", style: marginStyle },
  36955. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null, this.props.label)));
  36956. }
  36957. if (!items.length) {
  36958. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "groupContainer", style: marginStyle },
  36959. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_contextmenu__WEBPACK_IMPORTED_MODULE_6__["ContextMenuTrigger"], { id: "contextmenu#" + TreeItemComponent._ContextMenuUniqueIdGenerator },
  36960. this.renderContextMenu(),
  36961. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](TreeItemRootHeaderComponent, { label: this.props.label }))));
  36962. }
  36963. if (!this.state.isExpanded) {
  36964. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "groupContainer", style: marginStyle },
  36965. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_contextmenu__WEBPACK_IMPORTED_MODULE_6__["ContextMenuTrigger"], { id: "contextmenu#" + TreeItemComponent._ContextMenuUniqueIdGenerator },
  36966. this.renderContextMenu(),
  36967. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](TreeItemExpandableHeaderComponent, { isExpanded: false, label: this.props.label, onClick: function () { return _this.switchExpandedState(); }, onExpandAll: function (expand) { return _this.expandAll(expand); } }))));
  36968. }
  36969. var sortedItems = _tools__WEBPACK_IMPORTED_MODULE_5__["Tools"].SortAndFilter(null, items);
  36970. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
  36971. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "groupContainer", style: marginStyle },
  36972. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_contextmenu__WEBPACK_IMPORTED_MODULE_6__["ContextMenuTrigger"], { id: "contextmenu#" + TreeItemComponent._ContextMenuUniqueIdGenerator },
  36973. this.renderContextMenu(),
  36974. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](TreeItemExpandableHeaderComponent, { isExpanded: this.state.isExpanded, label: this.props.label, onClick: function () { return _this.switchExpandedState(); }, onExpandAll: function (expand) { return _this.expandAll(expand); } }))),
  36975. sortedItems.map(function (item) {
  36976. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_treeItemSelectableComponent__WEBPACK_IMPORTED_MODULE_4__["TreeItemSelectableComponent"], { mustExpand: _this.state.mustExpand, extensibilityGroups: _this.props.extensibilityGroups, key: item.uniqueId || item.name, offset: _this.props.offset + 1, selectedEntity: _this.props.selectedEntity, entity: item, globalState: _this.props.globalState, filter: _this.props.filter }));
  36977. })));
  36978. };
  36979. TreeItemComponent._ContextMenuUniqueIdGenerator = 0;
  36980. return TreeItemComponent;
  36981. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  36982. /***/ }),
  36983. /***/ "./components/sceneExplorer/treeItemLabelComponent.tsx":
  36984. /*!*************************************************************!*\
  36985. !*** ./components/sceneExplorer/treeItemLabelComponent.tsx ***!
  36986. \*************************************************************/
  36987. /*! exports provided: TreeItemLabelComponent */
  36988. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  36989. "use strict";
  36990. __webpack_require__.r(__webpack_exports__);
  36991. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItemLabelComponent", function() { return TreeItemLabelComponent; });
  36992. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  36993. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  36994. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  36995. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  36996. var TreeItemLabelComponent = /** @class */ (function (_super) {
  36997. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemLabelComponent, _super);
  36998. function TreeItemLabelComponent(props) {
  36999. return _super.call(this, props) || this;
  37000. }
  37001. TreeItemLabelComponent.prototype.onClick = function () {
  37002. if (!this.props.onClick) {
  37003. return;
  37004. }
  37005. this.props.onClick();
  37006. };
  37007. TreeItemLabelComponent.prototype.render = function () {
  37008. var _this = this;
  37009. return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "title", onClick: function () { return _this.onClick(); } },
  37010. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "titleIcon" },
  37011. react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: this.props.icon, color: this.props.color })),
  37012. react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "titleText" }, this.props.label || "no name")));
  37013. };
  37014. return TreeItemLabelComponent;
  37015. }(react__WEBPACK_IMPORTED_MODULE_1__["Component"]));
  37016. /***/ }),
  37017. /***/ "./components/sceneExplorer/treeItemSelectableComponent.tsx":
  37018. /*!******************************************************************!*\
  37019. !*** ./components/sceneExplorer/treeItemSelectableComponent.tsx ***!
  37020. \******************************************************************/
  37021. /*! exports provided: TreeItemSelectableComponent */
  37022. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37023. "use strict";
  37024. __webpack_require__.r(__webpack_exports__);
  37025. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItemSelectableComponent", function() { return TreeItemSelectableComponent; });
  37026. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  37027. /* harmony import */ var _treeItemSpecializedComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./treeItemSpecializedComponent */ "./components/sceneExplorer/treeItemSpecializedComponent.tsx");
  37028. /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ "../../node_modules/@fortawesome/react-fontawesome/index.es.js");
  37029. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  37030. /* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../tools */ "./tools.ts");
  37031. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "../../node_modules/react-dom/index.js");
  37032. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_5__);
  37033. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  37034. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
  37035. var TreeItemSelectableComponent = /** @class */ (function (_super) {
  37036. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemSelectableComponent, _super);
  37037. function TreeItemSelectableComponent(props) {
  37038. var _this = _super.call(this, props) || this;
  37039. _this._wasSelected = false;
  37040. _this.state = { isSelected: _this.props.entity === _this.props.selectedEntity, isExpanded: _this.props.mustExpand || _tools__WEBPACK_IMPORTED_MODULE_4__["Tools"].LookForItem(_this.props.entity, _this.props.selectedEntity) };
  37041. return _this;
  37042. }
  37043. TreeItemSelectableComponent.prototype.switchExpandedState = function () {
  37044. this.setState({ isExpanded: !this.state.isExpanded });
  37045. };
  37046. TreeItemSelectableComponent.prototype.shouldComponentUpdate = function (nextProps, nextState) {
  37047. if (!nextState.isExpanded && this.state.isExpanded) {
  37048. return true;
  37049. }
  37050. if (nextProps.selectedEntity) {
  37051. if (nextProps.entity === nextProps.selectedEntity) {
  37052. nextState.isSelected = true;
  37053. return true;
  37054. }
  37055. else {
  37056. nextState.isSelected = false;
  37057. }
  37058. if (_tools__WEBPACK_IMPORTED_MODULE_4__["Tools"].LookForItem(nextProps.entity, nextProps.selectedEntity)) {
  37059. nextState.isExpanded = true;
  37060. return true;
  37061. }
  37062. }
  37063. return true;
  37064. };
  37065. TreeItemSelectableComponent.prototype.scrollIntoView = function () {
  37066. var element = react_dom__WEBPACK_IMPORTED_MODULE_5__["findDOMNode"](this);
  37067. if (element) {
  37068. element.scrollIntoView(false);
  37069. }
  37070. };
  37071. TreeItemSelectableComponent.prototype.componentDidMount = function () {
  37072. if (this.state.isSelected) {
  37073. this.scrollIntoView();
  37074. }
  37075. };
  37076. TreeItemSelectableComponent.prototype.componentDidUpdate = function () {
  37077. if (this.state.isSelected && !this._wasSelected) {
  37078. this.scrollIntoView();
  37079. }
  37080. this._wasSelected = false;
  37081. };
  37082. TreeItemSelectableComponent.prototype.onSelect = function () {
  37083. if (!this.props.globalState.onSelectionChangedObservable) {
  37084. return;
  37085. }
  37086. this._wasSelected = true;
  37087. var entity = this.props.entity;
  37088. this.props.globalState.onSelectionChangedObservable.notifyObservers(entity);
  37089. };
  37090. TreeItemSelectableComponent.prototype.renderChildren = function () {
  37091. var _this = this;
  37092. var entity = this.props.entity;
  37093. if (!entity.getChildren && !entity.children || !this.state.isExpanded) {
  37094. return null;
  37095. }
  37096. var children = _tools__WEBPACK_IMPORTED_MODULE_4__["Tools"].SortAndFilter(entity, entity.getChildren ? entity.getChildren() : entity.children);
  37097. return (children.map(function (item) {
  37098. return (react__WEBPACK_IMPORTED_MODULE_6__["createElement"](TreeItemSelectableComponent, { globalState: _this.props.globalState, mustExpand: _this.props.mustExpand, extensibilityGroups: _this.props.extensibilityGroups, selectedEntity: _this.props.selectedEntity, key: item.uniqueId, offset: _this.props.offset + 2, entity: item, filter: _this.props.filter }));
  37099. }));
  37100. };
  37101. TreeItemSelectableComponent.prototype.render = function () {
  37102. var _this = this;
  37103. var marginStyle = {
  37104. paddingLeft: (10 * (this.props.offset + 0.5)) + "px"
  37105. };
  37106. var entity = this.props.entity;
  37107. var chevron = this.state.isExpanded ? react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faMinus"] }) : react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeIcon"], { icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_3__["faPlus"] });
  37108. var children = _tools__WEBPACK_IMPORTED_MODULE_4__["Tools"].SortAndFilter(entity, entity.getChildren ? entity.getChildren() : entity.children);
  37109. var hasChildren = children.length > 0;
  37110. if (!entity.reservedDataStore) {
  37111. entity.reservedDataStore = {};
  37112. }
  37113. entity.reservedDataStore.setExpandedState = function (value) {
  37114. _this.setState({ isExpanded: value });
  37115. };
  37116. entity.reservedDataStore.isExpanded = this.state.isExpanded;
  37117. if (this.props.filter) {
  37118. var lowerCaseFilter_1 = this.props.filter.toLowerCase();
  37119. if (!entity.name || entity.name.toLowerCase().indexOf(lowerCaseFilter_1) === -1) {
  37120. if (!hasChildren) {
  37121. return null;
  37122. }
  37123. if (entity.getDescendants) {
  37124. if (entity.getDescendants(false, function (n) {
  37125. console.log(n.name);
  37126. return n.name && n.name.toLowerCase().indexOf(lowerCaseFilter_1) !== -1;
  37127. }).length === 0) {
  37128. return null;
  37129. }
  37130. }
  37131. }
  37132. }
  37133. return (react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", null,
  37134. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: this.state.isSelected ? "itemContainer selected" : "itemContainer", style: marginStyle },
  37135. hasChildren &&
  37136. react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", { className: "arrow icon", onClick: function () { return _this.switchExpandedState(); } }, chevron),
  37137. react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_treeItemSpecializedComponent__WEBPACK_IMPORTED_MODULE_1__["TreeItemSpecializedComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, label: entity.name, entity: entity, onClick: function () { return _this.onSelect(); } })),
  37138. this.renderChildren()));
  37139. };
  37140. return TreeItemSelectableComponent;
  37141. }(react__WEBPACK_IMPORTED_MODULE_6__["Component"]));
  37142. /***/ }),
  37143. /***/ "./components/sceneExplorer/treeItemSpecializedComponent.tsx":
  37144. /*!*******************************************************************!*\
  37145. !*** ./components/sceneExplorer/treeItemSpecializedComponent.tsx ***!
  37146. \*******************************************************************/
  37147. /*! exports provided: TreeItemSpecializedComponent */
  37148. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37149. "use strict";
  37150. __webpack_require__.r(__webpack_exports__);
  37151. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TreeItemSpecializedComponent", function() { return TreeItemSpecializedComponent; });
  37152. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  37153. /* harmony import */ var _entities_meshTreeItemComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities/meshTreeItemComponent */ "./components/sceneExplorer/entities/meshTreeItemComponent.tsx");
  37154. /* harmony import */ var _entities_cameraTreeItemComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./entities/cameraTreeItemComponent */ "./components/sceneExplorer/entities/cameraTreeItemComponent.tsx");
  37155. /* harmony import */ var _entities_lightTreeItemComponent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./entities/lightTreeItemComponent */ "./components/sceneExplorer/entities/lightTreeItemComponent.tsx");
  37156. /* harmony import */ var _treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./treeItemLabelComponent */ "./components/sceneExplorer/treeItemLabelComponent.tsx");
  37157. /* harmony import */ var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons */ "../../node_modules/@fortawesome/free-solid-svg-icons/index.es.js");
  37158. /* harmony import */ var _entities_materialTreeItemComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./entities/materialTreeItemComponent */ "./components/sceneExplorer/entities/materialTreeItemComponent.tsx");
  37159. /* harmony import */ var _entities_textureTreeItemComponent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./entities/textureTreeItemComponent */ "./components/sceneExplorer/entities/textureTreeItemComponent.tsx");
  37160. /* harmony import */ var _entities_transformNodeTreeItemComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./entities/transformNodeTreeItemComponent */ "./components/sceneExplorer/entities/transformNodeTreeItemComponent.tsx");
  37161. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  37162. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);
  37163. /* harmony import */ var _entities_gui_controlTreeItemComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./entities/gui/controlTreeItemComponent */ "./components/sceneExplorer/entities/gui/controlTreeItemComponent.tsx");
  37164. /* harmony import */ var _entities_gui_advancedDynamicTextureTreeItemComponent__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./entities/gui/advancedDynamicTextureTreeItemComponent */ "./components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent.tsx");
  37165. /* harmony import */ var _entities_animationGroupTreeItemComponent__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./entities/animationGroupTreeItemComponent */ "./components/sceneExplorer/entities/animationGroupTreeItemComponent.tsx");
  37166. /* harmony import */ var _entities_postProcessTreeItemComponent__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./entities/postProcessTreeItemComponent */ "./components/sceneExplorer/entities/postProcessTreeItemComponent.tsx");
  37167. /* harmony import */ var _entities_renderingPipelineTreeItemComponent__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./entities/renderingPipelineTreeItemComponent */ "./components/sceneExplorer/entities/renderingPipelineTreeItemComponent.tsx");
  37168. /* harmony import */ var _entities_skeletonTreeItemComponent__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./entities/skeletonTreeItemComponent */ "./components/sceneExplorer/entities/skeletonTreeItemComponent.tsx");
  37169. /* harmony import */ var _entities_boneTreeItemComponent__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./entities/boneTreeItemComponent */ "./components/sceneExplorer/entities/boneTreeItemComponent.tsx");
  37170. var TreeItemSpecializedComponent = /** @class */ (function (_super) {
  37171. tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](TreeItemSpecializedComponent, _super);
  37172. function TreeItemSpecializedComponent(props) {
  37173. return _super.call(this, props) || this;
  37174. }
  37175. TreeItemSpecializedComponent.prototype.onClick = function () {
  37176. if (!this.props.onClick) {
  37177. return;
  37178. }
  37179. this.props.onClick();
  37180. };
  37181. TreeItemSpecializedComponent.prototype.render = function () {
  37182. var _this = this;
  37183. var entity = this.props.entity;
  37184. if (entity && entity.getClassName) {
  37185. var className = entity.getClassName();
  37186. if (className.indexOf("Mesh") !== -1) {
  37187. var mesh = entity;
  37188. if (mesh.isAnInstance || mesh.getTotalVertices() > 0) {
  37189. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_meshTreeItemComponent__WEBPACK_IMPORTED_MODULE_1__["MeshTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, mesh: mesh, onClick: function () { return _this.onClick(); } }));
  37190. }
  37191. else {
  37192. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_transformNodeTreeItemComponent__WEBPACK_IMPORTED_MODULE_8__["TransformNodeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, transformNode: entity, onClick: function () { return _this.onClick(); } }));
  37193. }
  37194. }
  37195. if (className.indexOf("Skeleton") !== -1) {
  37196. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_skeletonTreeItemComponent__WEBPACK_IMPORTED_MODULE_15__["SkeletonTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, skeleton: entity, onClick: function () { return _this.onClick(); } }));
  37197. }
  37198. if (className.indexOf("Bone") !== -1) {
  37199. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_boneTreeItemComponent__WEBPACK_IMPORTED_MODULE_16__["BoneTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, bone: entity, onClick: function () { return _this.onClick(); } }));
  37200. }
  37201. if (className.indexOf("TransformNode") !== -1) {
  37202. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_transformNodeTreeItemComponent__WEBPACK_IMPORTED_MODULE_8__["TransformNodeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, transformNode: entity, onClick: function () { return _this.onClick(); } }));
  37203. }
  37204. if (className.indexOf("Camera") !== -1) {
  37205. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_cameraTreeItemComponent__WEBPACK_IMPORTED_MODULE_2__["CameraTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, camera: entity, onClick: function () { return _this.onClick(); } }));
  37206. }
  37207. if (className.indexOf("Light") !== -1) {
  37208. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_lightTreeItemComponent__WEBPACK_IMPORTED_MODULE_3__["LightTreeItemComponent"], { globalState: this.props.globalState, extensibilityGroups: this.props.extensibilityGroups, light: entity, onClick: function () { return _this.onClick(); } }));
  37209. }
  37210. if (className.indexOf("Material") !== -1) {
  37211. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_materialTreeItemComponent__WEBPACK_IMPORTED_MODULE_6__["MaterialTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, material: entity, onClick: function () { return _this.onClick(); } }));
  37212. }
  37213. if (className === "AdvancedDynamicTexture") {
  37214. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_gui_advancedDynamicTextureTreeItemComponent__WEBPACK_IMPORTED_MODULE_11__["AdvancedDynamicTextureTreeItemComponent"], { onSelectionChangedObservable: this.props.globalState.onSelectionChangedObservable, extensibilityGroups: this.props.extensibilityGroups, texture: entity, onClick: function () { return _this.onClick(); } }));
  37215. }
  37216. if (className === "AnimationGroup") {
  37217. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_animationGroupTreeItemComponent__WEBPACK_IMPORTED_MODULE_12__["AnimationGroupItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, animationGroup: entity, onClick: function () { return _this.onClick(); } }));
  37218. }
  37219. if (className.indexOf("Texture") !== -1) {
  37220. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_textureTreeItemComponent__WEBPACK_IMPORTED_MODULE_7__["TextureTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, texture: entity, onClick: function () { return _this.onClick(); } }));
  37221. }
  37222. if (className.indexOf("RenderingPipeline") !== -1) {
  37223. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_renderingPipelineTreeItemComponent__WEBPACK_IMPORTED_MODULE_14__["RenderingPipelineItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, renderPipeline: entity, onClick: function () { return _this.onClick(); } }));
  37224. }
  37225. if (className.indexOf("PostProcess") !== -1) {
  37226. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_postProcessTreeItemComponent__WEBPACK_IMPORTED_MODULE_13__["PostProcessItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, postProcess: entity, onClick: function () { return _this.onClick(); } }));
  37227. }
  37228. if (entity._host) {
  37229. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_entities_gui_controlTreeItemComponent__WEBPACK_IMPORTED_MODULE_10__["ControlTreeItemComponent"], { extensibilityGroups: this.props.extensibilityGroups, control: entity, onClick: function () { return _this.onClick(); } }));
  37230. }
  37231. }
  37232. return (react__WEBPACK_IMPORTED_MODULE_9__["createElement"]("div", { className: "meshTools" },
  37233. react__WEBPACK_IMPORTED_MODULE_9__["createElement"](_treeItemLabelComponent__WEBPACK_IMPORTED_MODULE_4__["TreeItemLabelComponent"], { label: entity.name, onClick: function () { return _this.onClick(); }, icon: _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_5__["faProjectDiagram"], color: "cornflowerblue" })));
  37234. };
  37235. return TreeItemSpecializedComponent;
  37236. }(react__WEBPACK_IMPORTED_MODULE_9__["Component"]));
  37237. /***/ }),
  37238. /***/ "./index.ts":
  37239. /*!******************!*\
  37240. !*** ./index.ts ***!
  37241. \******************/
  37242. /*! exports provided: Inspector */
  37243. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37244. "use strict";
  37245. __webpack_require__.r(__webpack_exports__);
  37246. /* harmony import */ var _inspector__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./inspector */ "./inspector.ts");
  37247. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Inspector", function() { return _inspector__WEBPACK_IMPORTED_MODULE_0__["Inspector"]; });
  37248. /***/ }),
  37249. /***/ "./inspector.ts":
  37250. /*!**********************!*\
  37251. !*** ./inspector.ts ***!
  37252. \**********************/
  37253. /*! exports provided: Inspector */
  37254. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37255. "use strict";
  37256. __webpack_require__.r(__webpack_exports__);
  37257. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Inspector", function() { return Inspector; });
  37258. /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../node_modules/tslib/tslib.es6.js");
  37259. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
  37260. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  37261. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ "../../node_modules/react-dom/index.js");
  37262. /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_2__);
  37263. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babylonjs/Misc/observable */ "babylonjs/Misc/observable");
  37264. /* harmony import */ var babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__);
  37265. /* harmony import */ var _components_actionTabs_actionTabsComponent__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/actionTabs/actionTabsComponent */ "./components/actionTabs/actionTabsComponent.tsx");
  37266. /* harmony import */ var _components_sceneExplorer_sceneExplorerComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/sceneExplorer/sceneExplorerComponent */ "./components/sceneExplorer/sceneExplorerComponent.tsx");
  37267. /* harmony import */ var _components_embedHost_embedHostComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/embedHost/embedHostComponent */ "./components/embedHost/embedHostComponent.tsx");
  37268. /* harmony import */ var _components_globalState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/globalState */ "./components/globalState.ts");
  37269. var Inspector = /** @class */ (function () {
  37270. function Inspector() {
  37271. }
  37272. Inspector.MarkLineContainerTitleForHighlighting = function (title) {
  37273. this._GlobalState.selectedLineContainerTitle = title;
  37274. };
  37275. Inspector._CopyStyles = function (sourceDoc, targetDoc) {
  37276. for (var index = 0; index < sourceDoc.styleSheets.length; index++) {
  37277. var styleSheet = sourceDoc.styleSheets[index];
  37278. try {
  37279. if (styleSheet.cssRules) { // for <style> elements
  37280. var newStyleEl = sourceDoc.createElement('style');
  37281. for (var _i = 0, _a = styleSheet.cssRules; _i < _a.length; _i++) {
  37282. var cssRule = _a[_i];
  37283. // write the text of each rule into the body of the style element
  37284. newStyleEl.appendChild(sourceDoc.createTextNode(cssRule.cssText));
  37285. }
  37286. targetDoc.head.appendChild(newStyleEl);
  37287. }
  37288. else if (styleSheet.href) { // for <link> elements loading CSS from a URL
  37289. var newLinkEl = sourceDoc.createElement('link');
  37290. newLinkEl.rel = 'stylesheet';
  37291. newLinkEl.href = styleSheet.href;
  37292. targetDoc.head.appendChild(newLinkEl);
  37293. }
  37294. }
  37295. catch (e) {
  37296. console.log(e);
  37297. }
  37298. }
  37299. };
  37300. Inspector._CreateSceneExplorer = function (scene, options, parentControlExplorer) {
  37301. var _this = this;
  37302. // Duplicating the options as they can be different for each pane
  37303. if (options.original) {
  37304. options = {
  37305. original: false,
  37306. popup: options.popup,
  37307. overlay: options.overlay,
  37308. showExplorer: options.showExplorer,
  37309. showInspector: options.showInspector,
  37310. embedMode: options.embedMode,
  37311. handleResize: options.handleResize,
  37312. enablePopup: options.enablePopup,
  37313. enableClose: options.enableClose,
  37314. explorerExtensibility: options.explorerExtensibility
  37315. };
  37316. }
  37317. // Prepare the scene explorer host
  37318. if (parentControlExplorer) {
  37319. this._SceneExplorerHost = parentControlExplorer.ownerDocument.createElement("div");
  37320. this._SceneExplorerHost.id = "scene-explorer-host";
  37321. this._SceneExplorerHost.style.width = options.explorerWidth || "auto";
  37322. if (!options.popup) {
  37323. parentControlExplorer.insertBefore(this._SceneExplorerHost, this._NewCanvasContainer);
  37324. }
  37325. else {
  37326. parentControlExplorer.appendChild(this._SceneExplorerHost);
  37327. }
  37328. if (!options.overlay) {
  37329. this._SceneExplorerHost.style.position = "relative";
  37330. }
  37331. }
  37332. // Scene
  37333. if (this._SceneExplorerHost) {
  37334. this._OpenedPane++;
  37335. var sceneExplorerElement = react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_components_sceneExplorer_sceneExplorerComponent__WEBPACK_IMPORTED_MODULE_5__["SceneExplorerComponent"], {
  37336. scene: scene, globalState: this._GlobalState,
  37337. extensibilityGroups: options.explorerExtensibility,
  37338. noClose: !options.enableClose,
  37339. noExpand: !options.enablePopup, popupMode: options.popup, onPopup: function () {
  37340. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._SceneExplorerHost);
  37341. _this._RemoveElementFromDOM(_this._SceneExplorerHost);
  37342. if (options.popup) {
  37343. _this._SceneExplorerWindow.close();
  37344. }
  37345. options.popup = !options.popup;
  37346. options.showExplorer = true;
  37347. options.showInspector = false;
  37348. options.explorerWidth = options.popup ? "100%" : "300px";
  37349. Inspector.Show(scene, options);
  37350. }, onClose: function () {
  37351. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._SceneExplorerHost);
  37352. Inspector._OpenedPane--;
  37353. _this._RemoveElementFromDOM(_this._SceneExplorerHost);
  37354. _this._Cleanup();
  37355. if (options.popup) {
  37356. _this._SceneExplorerWindow.close();
  37357. }
  37358. }
  37359. });
  37360. react_dom__WEBPACK_IMPORTED_MODULE_2__["render"](sceneExplorerElement, this._SceneExplorerHost);
  37361. }
  37362. };
  37363. Inspector._CreateActionTabs = function (scene, options, parentControlActions) {
  37364. var _this = this;
  37365. options.original = false;
  37366. // Prepare the inspector host
  37367. if (parentControlActions) {
  37368. var host = parentControlActions.ownerDocument.createElement("div");
  37369. host.id = "inspector-host";
  37370. host.style.width = options.inspectorWidth || "auto";
  37371. parentControlActions.appendChild(host);
  37372. this._ActionTabsHost = host;
  37373. if (!options.overlay) {
  37374. this._ActionTabsHost.style.position = "relative";
  37375. }
  37376. }
  37377. if (this._ActionTabsHost) {
  37378. this._OpenedPane++;
  37379. var actionTabsElement = react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_components_actionTabs_actionTabsComponent__WEBPACK_IMPORTED_MODULE_4__["ActionTabsComponent"], {
  37380. globalState: this._GlobalState, scene: scene,
  37381. noClose: !options.enableClose,
  37382. noExpand: !options.enablePopup, popupMode: options.popup, onPopup: function () {
  37383. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._ActionTabsHost);
  37384. _this._RemoveElementFromDOM(_this._ActionTabsHost);
  37385. if (options.popup) {
  37386. _this._ActionTabsWindow.close();
  37387. }
  37388. options.popup = !options.popup;
  37389. options.showExplorer = false;
  37390. options.showInspector = true;
  37391. options.inspectorWidth = options.popup ? "100%" : "300px";
  37392. Inspector.Show(scene, options);
  37393. }, onClose: function () {
  37394. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._ActionTabsHost);
  37395. Inspector._OpenedPane--;
  37396. _this._Cleanup();
  37397. _this._RemoveElementFromDOM(_this._ActionTabsHost);
  37398. if (options.popup) {
  37399. _this._ActionTabsWindow.close();
  37400. }
  37401. }
  37402. });
  37403. react_dom__WEBPACK_IMPORTED_MODULE_2__["render"](actionTabsElement, this._ActionTabsHost);
  37404. }
  37405. };
  37406. Inspector._CreateEmbedHost = function (scene, options, parentControl, onSelectionChangedObservable) {
  37407. var _this = this;
  37408. // Prepare the inspector host
  37409. if (parentControl) {
  37410. var host = parentControl.ownerDocument.createElement("div");
  37411. host.id = "embed-host";
  37412. host.style.width = options.embedHostWidth || "auto";
  37413. parentControl.appendChild(host);
  37414. this._EmbedHost = host;
  37415. if (!options.overlay) {
  37416. this._EmbedHost.style.position = "relative";
  37417. }
  37418. }
  37419. if (this._EmbedHost) {
  37420. this._OpenedPane++;
  37421. var embedHostElement = react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_components_embedHost_embedHostComponent__WEBPACK_IMPORTED_MODULE_6__["EmbedHostComponent"], {
  37422. globalState: this._GlobalState, scene: scene,
  37423. noExpand: !options.enablePopup,
  37424. noClose: !options.enableClose,
  37425. popupMode: options.popup, onPopup: function () {
  37426. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._EmbedHost);
  37427. if (options.popup) {
  37428. _this._EmbedHostWindow.close();
  37429. }
  37430. _this._RemoveElementFromDOM(_this._EmbedHost);
  37431. options.popup = !options.popup;
  37432. options.embedMode = true;
  37433. options.showExplorer = true;
  37434. options.showInspector = true;
  37435. options.embedHostWidth = options.popup ? "100%" : "auto";
  37436. Inspector.Show(scene, options);
  37437. }, onClose: function () {
  37438. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](_this._EmbedHost);
  37439. _this._OpenedPane = 0;
  37440. _this._Cleanup();
  37441. _this._RemoveElementFromDOM(_this._EmbedHost);
  37442. if (options.popup) {
  37443. _this._EmbedHostWindow.close();
  37444. }
  37445. }
  37446. });
  37447. react_dom__WEBPACK_IMPORTED_MODULE_2__["render"](embedHostElement, this._EmbedHost);
  37448. }
  37449. };
  37450. Inspector._CreatePopup = function (title, windowVariableName, width, height) {
  37451. if (width === void 0) { width = 300; }
  37452. if (height === void 0) { height = 800; }
  37453. var windowCreationOptionsList = {
  37454. width: width,
  37455. height: height,
  37456. top: (window.innerHeight - width) / 2 + window.screenY,
  37457. left: (window.innerWidth - height) / 2 + window.screenX
  37458. };
  37459. var windowCreationOptions = Object.keys(windowCreationOptionsList)
  37460. .map(function (key) { return key + '=' + windowCreationOptionsList[key]; })
  37461. .join(',');
  37462. var popupWindow = window.open("", title, windowCreationOptions);
  37463. if (!popupWindow) {
  37464. return null;
  37465. }
  37466. var parentDocument = popupWindow.document;
  37467. parentDocument.title = title;
  37468. parentDocument.body.style.width = "100%";
  37469. parentDocument.body.style.height = "100%";
  37470. parentDocument.body.style.margin = "0";
  37471. parentDocument.body.style.padding = "0";
  37472. var parentControl = parentDocument.createElement("div");
  37473. parentControl.style.width = "100%";
  37474. parentControl.style.height = "100%";
  37475. parentControl.style.margin = "0";
  37476. parentControl.style.padding = "0";
  37477. popupWindow.document.body.appendChild(parentControl);
  37478. this._CopyStyles(window.document, parentDocument);
  37479. this[windowVariableName] = popupWindow;
  37480. return parentControl;
  37481. };
  37482. Object.defineProperty(Inspector, "IsVisible", {
  37483. get: function () {
  37484. return this._OpenedPane > 0;
  37485. },
  37486. enumerable: true,
  37487. configurable: true
  37488. });
  37489. Inspector.EarlyAttachToLoader = function () {
  37490. var _this = this;
  37491. if (!this._GlobalState.onPluginActivatedObserver) {
  37492. this._GlobalState.onPluginActivatedObserver = babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["SceneLoader"].OnPluginActivatedObservable.add(function (rawLoader) {
  37493. var loader = rawLoader;
  37494. if (loader.name === "gltf") {
  37495. _this._GlobalState.prepareGLTFPlugin(loader);
  37496. }
  37497. });
  37498. }
  37499. };
  37500. Inspector.Show = function (scene, userOptions) {
  37501. var options = tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"]({ original: true, popup: false, overlay: false, showExplorer: true, showInspector: true, embedMode: false, enableClose: true, handleResize: true, enablePopup: true }, userOptions);
  37502. // Prepare state
  37503. if (!this._GlobalState.onPropertyChangedObservable) {
  37504. this._GlobalState.init(this.OnPropertyChangedObservable);
  37505. }
  37506. if (!this._GlobalState.onSelectionChangedObservable) {
  37507. this._GlobalState.onSelectionChangedObservable = this.OnSelectionChangeObservable;
  37508. }
  37509. // Make sure it is not already opened
  37510. if (this.IsVisible && options.original) {
  37511. this.Hide();
  37512. }
  37513. if (!scene) {
  37514. scene = babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["EngineStore"].LastCreatedScene;
  37515. }
  37516. this._Scene = scene;
  37517. var canvas = scene ? scene.getEngine().getRenderingCanvas() : babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["EngineStore"].LastCreatedEngine.getRenderingCanvas();
  37518. if (options.embedMode && options.showExplorer && options.showInspector) {
  37519. if (options.popup) {
  37520. this._CreateEmbedHost(scene, options, this._CreatePopup("INSPECTOR", "_EmbedHostWindow"), Inspector.OnSelectionChangeObservable);
  37521. }
  37522. else {
  37523. var parentControl = (options.globalRoot ? options.globalRoot : canvas.parentElement);
  37524. if (!options.overlay && !this._NewCanvasContainer) {
  37525. this._CreateCanvasContainer(parentControl);
  37526. }
  37527. else if (!options.overlay && this._NewCanvasContainer && this._NewCanvasContainer.parentElement) {
  37528. // the root is now the parent of the canvas container
  37529. parentControl = this._NewCanvasContainer.parentElement;
  37530. }
  37531. if (this._NewCanvasContainer) {
  37532. // If we move things around, let's control the resize
  37533. if (options.handleResize && scene) {
  37534. this._OnBeforeRenderObserver = scene.onBeforeRenderObservable.add(function () {
  37535. scene.getEngine().resize();
  37536. });
  37537. }
  37538. }
  37539. this._CreateEmbedHost(scene, options, parentControl, Inspector.OnSelectionChangeObservable);
  37540. }
  37541. }
  37542. else if (options.popup) {
  37543. if (options.showExplorer) {
  37544. if (this._SceneExplorerHost) {
  37545. this._SceneExplorerHost.style.width = "0";
  37546. }
  37547. this._CreateSceneExplorer(scene, options, this._CreatePopup("SCENE EXPLORER", "_SceneExplorerWindow"));
  37548. }
  37549. if (options.showInspector) {
  37550. if (this._ActionTabsHost) {
  37551. this._ActionTabsHost.style.width = "0";
  37552. }
  37553. this._CreateActionTabs(scene, options, this._CreatePopup("INSPECTOR", "_ActionTabsWindow"));
  37554. }
  37555. }
  37556. else {
  37557. var parentControl = (options.globalRoot ? options.globalRoot : canvas.parentElement);
  37558. if (!options.overlay && !this._NewCanvasContainer) {
  37559. this._CreateCanvasContainer(parentControl);
  37560. }
  37561. else if (!options.overlay && this._NewCanvasContainer && this._NewCanvasContainer.parentElement) {
  37562. // the root is now the parent of the canvas container
  37563. parentControl = this._NewCanvasContainer.parentElement;
  37564. }
  37565. if (this._NewCanvasContainer) {
  37566. // If we move things around, let's control the resize
  37567. if (options.handleResize && scene) {
  37568. this._OnBeforeRenderObserver = scene.onBeforeRenderObservable.add(function () {
  37569. scene.getEngine().resize();
  37570. });
  37571. }
  37572. }
  37573. if (options.showExplorer) {
  37574. this._CreateSceneExplorer(scene, options, parentControl);
  37575. }
  37576. if (options.showInspector) {
  37577. this._CreateActionTabs(scene, options, parentControl);
  37578. }
  37579. }
  37580. };
  37581. Inspector._CreateCanvasContainer = function (parentControl) {
  37582. // Create a container for previous elements
  37583. this._NewCanvasContainer = parentControl.ownerDocument.createElement("div");
  37584. this._NewCanvasContainer.style.display = parentControl.style.display;
  37585. parentControl.style.display = "flex";
  37586. while (parentControl.childElementCount > 0) {
  37587. var child = parentControl.childNodes[0];
  37588. parentControl.removeChild(child);
  37589. this._NewCanvasContainer.appendChild(child);
  37590. }
  37591. parentControl.appendChild(this._NewCanvasContainer);
  37592. this._NewCanvasContainer.style.width = "100%";
  37593. this._NewCanvasContainer.style.height = "100%";
  37594. };
  37595. Inspector._DestroyCanvasContainer = function () {
  37596. var parentControl = this._NewCanvasContainer.parentElement;
  37597. while (this._NewCanvasContainer.childElementCount > 0) {
  37598. var child = this._NewCanvasContainer.childNodes[0];
  37599. this._NewCanvasContainer.removeChild(child);
  37600. parentControl.appendChild(child);
  37601. }
  37602. parentControl.removeChild(this._NewCanvasContainer);
  37603. parentControl.style.display = this._NewCanvasContainer.style.display;
  37604. delete this._NewCanvasContainer;
  37605. };
  37606. Inspector._Cleanup = function () {
  37607. var _this = this;
  37608. if (Inspector._OpenedPane !== 0) {
  37609. return;
  37610. }
  37611. // Gizmo disposal
  37612. this._GlobalState.lightGizmos.forEach(function (g) {
  37613. if (g.light) {
  37614. _this._GlobalState.enableLightGizmo(g.light, false);
  37615. }
  37616. });
  37617. if (this._Scene && this._Scene.reservedDataStore && this._Scene.reservedDataStore.gizmoManager) {
  37618. this._Scene.reservedDataStore.gizmoManager.dispose();
  37619. this._Scene.reservedDataStore.gizmoManager = null;
  37620. }
  37621. if (this._NewCanvasContainer) {
  37622. this._DestroyCanvasContainer();
  37623. }
  37624. if (this._OnBeforeRenderObserver && this._Scene) {
  37625. this._Scene.onBeforeRenderObservable.remove(this._OnBeforeRenderObserver);
  37626. this._OnBeforeRenderObserver = null;
  37627. this._Scene.getEngine().resize();
  37628. }
  37629. this._GlobalState.onInspectorClosedObservable.notifyObservers(this._Scene);
  37630. };
  37631. Inspector._RemoveElementFromDOM = function (element) {
  37632. if (element && element.parentElement) {
  37633. element.parentElement.removeChild(element);
  37634. }
  37635. };
  37636. Inspector.Hide = function () {
  37637. if (this._ActionTabsHost) {
  37638. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](this._ActionTabsHost);
  37639. this._RemoveElementFromDOM(this._ActionTabsHost);
  37640. this._ActionTabsHost = null;
  37641. }
  37642. if (this._SceneExplorerHost) {
  37643. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](this._SceneExplorerHost);
  37644. if (this._SceneExplorerHost.parentElement) {
  37645. this._SceneExplorerHost.parentElement.removeChild(this._SceneExplorerHost);
  37646. }
  37647. this._SceneExplorerHost = null;
  37648. }
  37649. if (this._EmbedHost) {
  37650. react_dom__WEBPACK_IMPORTED_MODULE_2__["unmountComponentAtNode"](this._EmbedHost);
  37651. if (this._EmbedHost.parentElement) {
  37652. this._EmbedHost.parentElement.removeChild(this._EmbedHost);
  37653. }
  37654. this._EmbedHost = null;
  37655. }
  37656. Inspector._OpenedPane = 0;
  37657. this._Cleanup();
  37658. if (!this._GlobalState.onPluginActivatedObserver) {
  37659. babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["SceneLoader"].OnPluginActivatedObservable.remove(this._GlobalState.onPluginActivatedObserver);
  37660. this._GlobalState.onPluginActivatedObserver = null;
  37661. }
  37662. };
  37663. Inspector._OpenedPane = 0;
  37664. Inspector.OnSelectionChangeObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["Observable"]();
  37665. Inspector.OnPropertyChangedObservable = new babylonjs_Misc_observable__WEBPACK_IMPORTED_MODULE_3__["Observable"]();
  37666. Inspector._GlobalState = new _components_globalState__WEBPACK_IMPORTED_MODULE_7__["GlobalState"]();
  37667. return Inspector;
  37668. }());
  37669. Inspector.EarlyAttachToLoader();
  37670. /***/ }),
  37671. /***/ "./legacy/legacy.ts":
  37672. /*!**************************!*\
  37673. !*** ./legacy/legacy.ts ***!
  37674. \**************************/
  37675. /*! exports provided: Inspector */
  37676. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37677. "use strict";
  37678. __webpack_require__.r(__webpack_exports__);
  37679. /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../index */ "./index.ts");
  37680. /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Inspector", function() { return _index__WEBPACK_IMPORTED_MODULE_0__["Inspector"]; });
  37681. var globalObject = (typeof global !== 'undefined') ? global : ((typeof window !== 'undefined') ? window : undefined);
  37682. if (typeof globalObject !== "undefined") {
  37683. globalObject.BABYLON = globalObject.BABYLON || {};
  37684. globalObject.BABYLON.Inspector = _index__WEBPACK_IMPORTED_MODULE_0__["Inspector"];
  37685. }
  37686. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/webpack/buildin/global.js */ "../../node_modules/webpack/buildin/global.js")))
  37687. /***/ }),
  37688. /***/ "./tools.ts":
  37689. /*!******************!*\
  37690. !*** ./tools.ts ***!
  37691. \******************/
  37692. /*! exports provided: Tools */
  37693. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  37694. "use strict";
  37695. __webpack_require__.r(__webpack_exports__);
  37696. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tools", function() { return Tools; });
  37697. var Tools = /** @class */ (function () {
  37698. function Tools() {
  37699. }
  37700. Tools.StoreLocalBooleanSettings = function (key, value) {
  37701. if (typeof (Storage) !== "undefined") {
  37702. localStorage.setItem(key, value ? "true" : "false");
  37703. }
  37704. };
  37705. Tools.ReadLocalBooleanSettings = function (key, defaultValue) {
  37706. if (typeof (Storage) !== "undefined" && localStorage.getItem(key) !== null) {
  37707. return localStorage.getItem(key) === "true";
  37708. }
  37709. else {
  37710. return defaultValue;
  37711. }
  37712. };
  37713. Tools.LookForItem = function (item, selectedEntity) {
  37714. if (item === selectedEntity) {
  37715. return true;
  37716. }
  37717. var children = item.getChildren ? item.getChildren() : item.children;
  37718. if (children) {
  37719. for (var _i = 0, children_1 = children; _i < children_1.length; _i++) {
  37720. var child = children_1[_i];
  37721. if (Tools.LookForItem(child, selectedEntity)) {
  37722. return true;
  37723. }
  37724. }
  37725. }
  37726. return false;
  37727. };
  37728. Tools._RecursiveRemoveHiddenMeshesAndHoistChildren = function (items) {
  37729. var result = [];
  37730. for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {
  37731. var i = items_1[_i];
  37732. // If the mesh is hidden, add it's children that are not hidden, this will handle the case of bounding box parenting for bounding box gizmo
  37733. if (i.reservedDataStore && i.reservedDataStore.hidden && i.getChildMeshes) {
  37734. Tools._RecursiveRemoveHiddenMeshesAndHoistChildren(i.getChildMeshes()).forEach(function (m) {
  37735. result.push(m);
  37736. });
  37737. }
  37738. else if (!i.reservedDataStore || !i.reservedDataStore.hidden) {
  37739. result.push(i);
  37740. }
  37741. }
  37742. return result;
  37743. };
  37744. Tools.SortAndFilter = function (parent, items) {
  37745. if (!items) {
  37746. return [];
  37747. }
  37748. var finalArray = Tools._RecursiveRemoveHiddenMeshesAndHoistChildren(items);
  37749. if (parent && parent.reservedDataStore && parent.reservedDataStore.detachedChildren) {
  37750. finalArray.push.apply(finalArray, parent.reservedDataStore.detachedChildren);
  37751. }
  37752. return finalArray.sort(function (a, b) {
  37753. var lowerCaseA = (a.name || "").toLowerCase();
  37754. var lowerCaseB = (b.name || "").toLowerCase();
  37755. if (lowerCaseA === lowerCaseB) {
  37756. return 0;
  37757. }
  37758. if (lowerCaseA > lowerCaseB) {
  37759. return 1;
  37760. }
  37761. return -1;
  37762. });
  37763. };
  37764. return Tools;
  37765. }());
  37766. /***/ }),
  37767. /***/ "babylonjs-gui/2D/controls/image":
  37768. /*!************************************************************************************************************************!*\
  37769. !*** external {"root":["BABYLON","GUI"],"commonjs":"babylonjs-gui","commonjs2":"babylonjs-gui","amd":"babylonjs-gui"} ***!
  37770. \************************************************************************************************************************/
  37771. /*! no static exports found */
  37772. /***/ (function(module, exports) {
  37773. module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_gui_2D_controls_image__;
  37774. /***/ }),
  37775. /***/ "babylonjs-loaders/glTF/index":
  37776. /*!****************************************************************************************************************************!*\
  37777. !*** external {"root":"BABYLON","commonjs":"babylonjs-loaders","commonjs2":"babylonjs-loaders","amd":"babylonjs-loaders"} ***!
  37778. \****************************************************************************************************************************/
  37779. /*! no static exports found */
  37780. /***/ (function(module, exports) {
  37781. module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_loaders_glTF_index__;
  37782. /***/ }),
  37783. /***/ "babylonjs-serializers/glTF/2.0/index":
  37784. /*!****************************************************************************************************************************************!*\
  37785. !*** external {"root":"BABYLON","commonjs":"babylonjs-serializers","commonjs2":"babylonjs-serializers","amd":"babylonjs-serializers"} ***!
  37786. \****************************************************************************************************************************************/
  37787. /*! no static exports found */
  37788. /***/ (function(module, exports) {
  37789. module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_serializers_glTF_2_0_index__;
  37790. /***/ }),
  37791. /***/ "babylonjs/Misc/observable":
  37792. /*!****************************************************************************************************!*\
  37793. !*** external {"root":"BABYLON","commonjs":"babylonjs","commonjs2":"babylonjs","amd":"babylonjs"} ***!
  37794. \****************************************************************************************************/
  37795. /*! no static exports found */
  37796. /***/ (function(module, exports) {
  37797. module.exports = __WEBPACK_EXTERNAL_MODULE_babylonjs_Misc_observable__;
  37798. /***/ })
  37799. /******/ });
  37800. });
  37801. //# sourceMappingURL=babylon.inspector.bundle.max.js.map